[go: up one dir, main page]

WO2022199497A1 - Method for cooperatively waking up first electronic device and first electronic device - Google Patents

Method for cooperatively waking up first electronic device and first electronic device Download PDF

Info

Publication number
WO2022199497A1
WO2022199497A1 PCT/CN2022/081795 CN2022081795W WO2022199497A1 WO 2022199497 A1 WO2022199497 A1 WO 2022199497A1 CN 2022081795 W CN2022081795 W CN 2022081795W WO 2022199497 A1 WO2022199497 A1 WO 2022199497A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
power consumption
low power
wake
consumption state
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.)
Ceased
Application number
PCT/CN2022/081795
Other languages
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2022199497A1 publication Critical patent/WO2022199497A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/02Non-electrical signal transmission systems, e.g. optical systems using infrasonic, sonic or ultrasonic waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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

Definitions

  • the present application relates to the field of terminals, and in particular, to a method for coordinating wake-up of a first electronic device and the first electronic device.
  • Electronic devices can be divided into electronic devices that are powered on for a long period of time and electronic devices that are not powered on for a long time according to whether they have been powered on for a long period of time.
  • the first electronic device that is not powered on for a long time can be automatically powered off and shut down; after that, if the first electronic device that is not powered on for a long time is used again
  • the user usually needs to touch the relevant start or restart button, which not only takes a long time, but also leads to cumbersome operations for the user and poor user experience. Take a smart speaker that is not powered on for a long time as an example.
  • the smart speaker supports voice control. If the smart speaker is not used for a certain period of time, the smart speaker will automatically power off and shut down. If it is used again, the user needs to move to the front of the smart speaker and touch
  • the related start or restart button takes a long time, takes up a lot of time of the user, is inconvenient for the user, and has a poor user experience.
  • the present application provides a method for coordinating wake-up of a first electronic device and the first electronic device.
  • the technical solution provided by the present application can enable the first electronic device that is not powered on for a long time to be quickly awakened through the cooperation of the second electronic device that is powered on for a long time after entering a low power consumption state. In this way, the user does not need to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, which results in shorter time consumption, convenience for the user, and improved user experience.
  • a second electronic device In a first aspect, a second electronic device is provided.
  • the second electronic device and the first electronic device pre-negotiate a first manner of waking up the first electronic device when the first electronic device is in a low power consumption state.
  • the duration of the second electronic device being in the working state is longer than the duration of the first electronic device being in the working state.
  • the second electronic device determines that the first electronic device is in a low power consumption state.
  • the second electronic device includes: a processor; a memory; and a computer program, wherein the computer program is stored on the memory, and when the computer program is executed by the processor, causes the second electronic device to perform the following steps: receiving a voice input; method, sending a wake-up signal to the first electronic device; the wake-up signal is used to wake up the first electronic device from a low power consumption state to a working state; wherein, the power consumption of the first electronic device in the low power consumption state is lower than that of the first electronic device The power consumption of the device in the working state; the voice input includes a wake-up word of the first electronic device or a word indicating execution by the first electronic device; wherein the first mode is different from the voice output mode.
  • the working state of the second electronic device may include, but is not limited to, a state in which the second electronic device is running normally and a standby state.
  • the second electronic device is still powered on all the time.
  • the second electronic device is a smart TV
  • the working state of the smart TV includes but is not limited to: the smart TV normally plays video, audio, office, Internet access, etc., and the smart TV is in a standby state. That is, in the working state of the smart TV, the smart TV is still powered on. More specifically, the second electronic device can still receive voice input in the working state; while the first electronic device cannot receive the voice input in the working state, and can only receive signals through the first method.
  • the working state of the second electronic device may be different from the working state of the first electronic device.
  • the second electronic device can send a wake-up signal to the first electronic device in the low power consumption state in the first manner, so as to wake up the first electronic device and make the first electronic device from the low power consumption state Switch to working state.
  • the user does not need to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, thereby shortening the time consumption, making the user feel convenient, and improving the user experience.
  • the duration of the second electronic device being in the working state is longer than the duration of the first electronic device being in the working state, including but not limited to: the duration that the second electronic device has been powered on is longer than the duration of the first electronic device The duration of the power-on; or, the available power of the second electronic device is more sufficient than the available power of the first electronic device.
  • the second electronic device is charged through a socket, and the first electronic device is charged through a battery. The second electronic device can be charged through the socket at any time, and the available power is sufficient; the available power of the first electronic device charged through the battery is insufficient, and needs to be used sparingly to avoid running out too quickly.
  • the working state of the first electronic device and the working state of the second electronic device may be different.
  • the working state that the first electronic device is in can be a state in which the first electronic device is powered on to perform some or some functions; the working state that the second electronic device is in can be that the second electronic device can be powered on, but not.
  • the second electronic device determines that the first electronic device is in a low power consumption state; including: the second electronic device receives a first notification message from the first electronic device; the first notification message is used to notify the first electronic device The device enters a low power state.
  • the second electronic device can determine, based on the first notification message, that the first electronic device is in a low power consumption state; after that, the second electronic device sends a wake-up signal to the first electronic device; thereby waking up the first electronic device for the second electronic device provided the possibility.
  • the second electronic device after sending the wake-up signal to the first electronic device in the first manner, the second electronic device further executes: sending a voice input instruction to the first electronic device Voice command; the voice command is used to instruct the first electronic device to perform a specific operation.
  • the first electronic device can perform a specific operation based on the voice command indicated by the voice input sent by the second electronic device; even after the first electronic device enters the working state from the low power consumption state, the first electronic device does not receive Voice input, also cannot perform the corresponding operation.
  • the first manner includes at least one of the following: a Bluetooth manner and an ultrasonic manner.
  • a first channel is pre-established between the second electronic device and the first electronic device, and the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel channel; the second electronic device receives the first notification message through the first channel.
  • a first channel is pre-established between the first electronic device and the second electronic device, and the second electronic device can receive the first notification message through the first channel, which provides the possibility for the second electronic device to receive the first notification message.
  • a first channel is pre-established between the second electronic device and the first electronic device, and the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel channel; the second electronic device sends a first notification message to the first electronic device through the first channel, where the first notification message includes device type and/or capability information of the second electronic device.
  • the second electronic device and the first electronic device may negotiate a first manner for the second electronic device to wake up the first electronic device according to the device type and/or capability information of the second electronic device included in the first notification message.
  • the second electronic device may negotiate with the first electronic device a first manner for the second electronic device to wake up the first electronic device according to the device type and/or capability information of the second electronic device included in the first notification message. If the capability of the second electronic device is different or the device type is different, the first way for the second electronic device to wake up the first electronic device is different. Therefore, the second electronic device can wake up the first electronic device based on the negotiated first way, which helps Wake up the first electronic device on the second electronic device.
  • the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice.
  • whether the second electronic device has the ability to be woken up by voice may be whether the second electronic device supports voice control.
  • a second electronic device in a second aspect, includes: a processor; a memory; and a computer program, wherein the computer program is stored on the memory, and when the computer program is executed by the processor, causes the second electronic device to perform the following steps: receiving the first electronic device from the first electronic device a message; sending a first response message to the first electronic device in response to the first message; establishing a first channel with the first electronic device; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; An electronic device negotiates and determines that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first way of the first electronic device; receives the first notification message from the first electronic device; the first notification message uses When the first electronic device enters a low power consumption state; a voice input is received; a wake-up signal is sent to the first electronic device through the first method; the wake-up signal is used to wake up the first electronic device from the low power consumption state to work state; wherein
  • the first electronic device when the user does not use the first electronic device for a long time, the first electronic device can enter a low power consumption state, and the first electronic device in the low power consumption state can receive the wake-up signal sent by the second electronic device in the first manner, In this way, the first electronic device in the low power consumption state can be woken up cooperatively by the second electronic device. In this way, the user does not need to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, which results in shorter time consumption, convenience for the user, and improved user experience.
  • the second electronic device may negotiate with the first electronic device based on the first channel to determine, when the first electronic device is in a low power consumption state, the first manner in which the second electronic device wakes up the first electronic device; based on The first channel receives a first notification message from the first electronic device.
  • negotiating with the first electronic device to determine the first manner in which the second electronic device wakes up the first electronic device when the first electronic device is in a low power consumption state which includes: sending a first notification message to the first electronic device, where the first notification message includes at least one of capability information and device type of the second electronic device.
  • the first electronic device negotiates with the first electronic device and determines, based on at least one of capability information and device type of the second electronic device, that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first electronic device the first way.
  • the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second At least one of whether the electronic device has the ability to be awakened by voice.
  • a first electronic device in a third aspect, includes: the first electronic device and the second electronic device negotiate in advance that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first electronic device.
  • the first method of the electronic device the second electronic device is in the working state for longer than the first electronic device is in the working state; the second electronic device determines that the first electronic device is in the low power consumption state.
  • the first electronic device includes: a processor; a memory; and a computer program, wherein the computer program is stored in the memory, and when the computer program is executed by the processor, the first electronic device causes the first electronic device to perform the following steps: after the last user command is executed Within a preset period of time, the user input is not received, and a first notification message is sent to the second electronic device; the first notification message is used to inform the first electronic device to enter a low power consumption state; the first electronic device enters a low power consumption state; In the first manner, a wake-up signal from the second electronic device is received; in response to the wake-up signal, the first electronic device switches from the low power consumption state to the working state; wherein, in the low power consumption state, the first electronic device The electronic device can only receive signals, and can only receive signals transmitted through the first mode; wherein, the first mode is different from the voice output mode.
  • the first electronic device when the first electronic device has finished executing the last user command within the first preset time period and no user input is received, the first electronic device sends a first notification message to the second electronic device, and the first electronic device sends the second electronic device a first notification message.
  • the device enters a low power consumption state after sending the first notification message. In this way, the energy consumption of the first electronic device can be saved.
  • the first electronic device can receive the wake-up signal through the first method negotiated with the second electronic device in advance, and switch from the low-power state to the working state, so that the first electronic device in the low-power state can be woken up cooperatively by the second electronic device.
  • Electronic equipment In this way, the user does not need to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, which results in shorter time consumption, convenience for the user, and improved user experience.
  • the first electronic device after the first electronic device switches from the low power consumption state to the working state, the first electronic device further executes: receiving a voice command indicated by a voice input from the second electronic device; An electronic device executes the specific operation indicated by the voice command.
  • the first electronic device can perform specific operations according to the voice command indicated by the voice input sent by the second electronic device; thus, it is avoided that even after the first electronic device enters the working state from the low power consumption state, the first electronic device A situation where no voice input is received and the corresponding action cannot be performed.
  • the first manner includes at least one of the following: a Bluetooth manner and an ultrasonic manner.
  • the first electronic device and the second electronic device can negotiate in advance that the first method for the second electronic device to wake up the first electronic device is at least one of the Bluetooth method and the ultrasonic method, so that the second electronic device can use the Bluetooth method and the ultrasonic method to wake up the first electronic device.
  • at least one of the manners sends a wake-up signal to the first electronic device.
  • the first electronic device further performs: receiving a first notification message sent by the second electronic device, where the first notification message includes the device type of the second electronic device and/or or capability information.
  • the first electronic device negotiates with the second electronic device according to the device type and/or capability information of the second electronic device included in the first notification message, and wakes up the second electronic device to wake up the first electronic device.
  • the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice.
  • whether the second electronic device has the ability to be awakened by voice may be understood as whether the second electronic device supports voice control.
  • a first electronic device in a fourth aspect, includes: a processor; a memory; and a computer program, wherein the computer program is stored on the memory and, when executed by the processor, causes the first electronic device to perform the steps of: receiving an input; responding to the input , broadcast the first message; receive the first response message from the second electronic device; establish a first channel with the second electronic device; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; The electronic device negotiates and determines that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first way of the first electronic device; within the first preset time period after the last user command is executed, no user command is received.
  • the first notification message is used to notify the first electronic device to enter a low power consumption state; the first electronic device enters a low power consumption state; A wake-up signal of the electronic device; in response to the wake-up signal, the first electronic device switches from a low power consumption state to a working state; wherein, in the low power consumption state, the first electronic device can only receive signals, and can only receive signals through the first electronic device A signal transmitted in one way; the first way is different from that of speech input. In this way, the energy consumption of the first electronic device can be saved, and the first electronic device in a low power consumption state can be awakened cooperatively through the second electronic device. The user no longer needs to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, which results in a shorter time-consuming, convenient user experience, and improved user experience.
  • the first message and the first response message may be Bluetooth messages; or the first message and the first response message may be Wi-Fi messages.
  • the first manner may be a Bluetooth manner or an ultrasonic manner.
  • the first electronic device after receiving the first response message from the second electronic device and before establishing the first channel with the second electronic device, the first electronic device further Execution: It is determined that the first electronic device and the second electronic device are in the same room or the same house. In this way, the first electronic device only establishes the first channel with the second electronic device in the same room or the same house as the first electronic device, and the second electronic device can be determined as the device that wakes up the first electronic device. In this way, it can be ensured that only the second electronic device in the same room or the same house can wake up the first electronic device.
  • the first electronic device after the first electronic device switches from the low power consumption state to the working state, the first electronic device further executes: receiving a voice input from the second electronic device Indicated voice instruction; in response to the voice instruction, the first electronic device performs the specific operation indicated by the voice instruction.
  • a method for cooperatively waking up a first electronic device is provided, which is applied to a second electronic device.
  • the second electronic device and the first electronic device pre-negotiate a first method for waking up the first electronic device when the first electronic device is in a low power consumption state; the second electronic device is in the working state for a longer time than the first electronic device the duration that the device is in a working state; the second electronic device determines that the first electronic device is in a low power consumption state; the method includes: the second electronic device receives a voice input; The electronic device sends a wake-up signal; the wake-up signal is used to wake up the first electronic device from a low power consumption state to a working state; wherein, the power consumption of the first electronic device in the low power consumption state is lower than that in the working state of the first electronic device The power consumption of the first electronic device; the voice input includes the wake-up word of the first electronic device or the word indicating the execution by the first electronic device; the first way is different from the way of
  • the duration that the second electronic device is in the working state is longer than the duration that the first electronic device is in the working state, including but not limited to: the duration that the second electronic device has been powered on is longer than the duration of the first electronic device The duration of the power-on; or, the available power of the second electronic device is more sufficient than the available power of the first electronic device.
  • the second electronic device is charged through a socket, and the first electronic device is charged through a battery. The second electronic device can be charged through the socket at any time, and the available power is sufficient; the available power of the first electronic device charged through the battery is insufficient, and needs to be used sparingly to avoid running out too quickly.
  • the second electronic device determines that the first electronic device is in a low power consumption state; including: the second electronic device receives the first notification from the first electronic device message; the first notification message is used to notify the first electronic device to enter a low power consumption state.
  • the method further includes: sending a voice instruction of a voice input indication to the first electronic device ;
  • the voice command is used to instruct the first electronic device to perform a specific operation.
  • the first manner includes at least one of the following: a Bluetooth manner and an ultrasonic manner.
  • the second electronic device and the first electronic device have a first channel pre-established, and the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel channel; the second electronic device receives the first notification message through the first channel.
  • the second electronic device and the first electronic device have a first channel pre-established, and the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel A channel, the second electronic device sends a first notification message to the first electronic device through the first channel, where the first notification message includes device type and/or capability information of the second electronic device.
  • the second electronic device and the first electronic device may negotiate a first manner for the second electronic device to wake up the first electronic device according to the device type and/or capability information of the second electronic device included in the first notification message.
  • the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice.
  • whether the second electronic device has the ability to be woken up by voice may be whether the second electronic device supports voice control.
  • a method for cooperatively waking up a first electronic device is provided, which is applied to a second electronic device.
  • the method includes: the second electronic device receives a first message from the first electronic device; in response to the first message, the second electronic device sends a first response message to the first electronic device; the second electronic device communicates with the first electronic device establishing a first channel; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; the second electronic device negotiates with the first electronic device to determine that when the first electronic device is in a low power consumption state, the second electronic device The first way for the device to wake up the first electronic device; the second electronic device receives the first notification message from the first electronic device; the first notification message is used to inform the first electronic device to enter a low power consumption state; the second electronic device receives to a voice input; the second electronic device sends a wake-up signal to the first electronic device in the first manner; the wake-up signal is used to wake up the first electronic device from a low power consumption
  • the second electronic device may negotiate with the first electronic device based on the first channel to determine, when the first electronic device is in a low power consumption state, the first manner in which the second electronic device wakes up the first electronic device; based on The first channel receives the first notification message from the first electronic device.
  • the second electronic device negotiates with the first electronic device to determine that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first electronic device
  • the first method includes: the second electronic device sends a first notification message to the first electronic device through the first channel; the first notification message includes at least one of capability information and device type of the second electronic device.
  • the first electronic device negotiates with the first electronic device and determines, based on at least one of capability information and device type of the second electronic device, that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first electronic device the first way.
  • the capability information of the second electronic device is used to indicate whether the second electronic device has the capability to wake up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice.
  • a method for cooperatively waking up a first electronic device is provided, which is applied to the first electronic device.
  • the first electronic device and the second electronic device have negotiated in advance a first way for the second electronic device to wake up the first electronic device when the first electronic device is in a low power consumption state; the first electronic device is in a working state; the second electronic device determines that the first electronic device is in a low power consumption state; the method includes: the first electronic device executes the last user command within a first preset time period , no user input is received, and a first notification message is sent to the second electronic device; the first notification message is used to inform the first electronic device to enter a low power consumption state; the first electronic device enters a low power consumption state; the first electronic device passes In the first manner, a wake-up signal from the second electronic device is received; in response to the wake-up signal, the first electronic device switches from a low power consumption state to a working state; wherein, in the low power consumption state, the first electronic device can only receive signal,
  • the method further includes: the first electronic device receives a voice command indicated by a voice input from the second electronic device; in response to the voice command, The first electronic device performs the specific operation indicated by the voice instruction.
  • the first manner includes at least one of the following: a Bluetooth manner and an ultrasonic manner.
  • the method further includes: the first electronic device receives a first notification message sent by the second electronic device, where the first notification message includes a device type of the second electronic device and/or capability information.
  • the first electronic device negotiates with the second electronic device according to the device type and/or capability information of the second electronic device, and the second electronic device wakes up the first way of the first electronic device.
  • the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice.
  • whether the second electronic device has the ability to be awakened by voice may be understood as whether the second electronic device supports voice control.
  • a method for cooperatively waking up a first electronic device is provided, which is applied to the first electronic device.
  • the method includes: the first electronic device receives an input; in response to the input, the first electronic device broadcasts a first message; the first electronic device receives a first response message from the second electronic device; The two electronic devices establish a first channel; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; the first electronic device negotiates with the second electronic device to determine that when the first electronic device is in a low power consumption state, The first way for the second electronic device to wake up the first electronic device; the first electronic device sends a first notification message to the second electronic device without receiving user input within the first preset time period after the last user command is executed; The first notification message is used to inform the first electronic device to enter a low power consumption state; the first electronic device enters a low power consumption state; through the first method, the first electronic device receives a wake-up signal from the second electronic device; in response to the wake-up signal
  • the first message and the first response message may be Bluetooth messages; or the first message and the first response message may be Wi-Fi messages.
  • the first manner may be a Bluetooth manner or an ultrasonic manner.
  • the method further includes: It is determined that the first electronic device and the second electronic device are in the same space.
  • the same space includes the same room or the same house.
  • the first electronic device after the first electronic device switches from the low power consumption state to the working state, the first electronic device further performs: receiving a voice input from the second electronic device Indicated voice instruction; in response to the voice instruction, the first electronic device performs the specific operation indicated by the voice instruction.
  • a computer-readable storage medium stores a computer program (also referred to as instructions or codes), which, when executed by a computer, causes the computer to perform the method of the fifth aspect and any one of the embodiments of the fifth aspect.
  • a computer program also referred to as instructions or codes
  • a computer-readable storage medium stores a computer program (also referred to as an instruction or code), and when the computer program is executed by a computer, causes the computer to execute any one of the sixth aspect and the sixth aspect, the seventh aspect and the The method of any one of the implementations of the seventh aspect, the eighth aspect, and any one of the implementations of the eighth aspect.
  • a computer program also referred to as an instruction or code
  • a chip in an eleventh aspect, includes a processor and a memory, and the processor is configured to read and execute a computer program stored in the memory, so as to execute any one of the implementation manners of the fifth aspect and the fifth aspect, any implementation manner of the sixth aspect and the sixth aspect, The seventh aspect and any implementation manner of the seventh aspect, and the eighth aspect and any implementation manner of the eighth aspect.
  • a twelfth aspect provides a computer program product.
  • the computer program product includes a computer program (also referred to as instructions or codes), which, when executed by a computer, causes the computer to execute any one of the implementation manners of the fifth aspect and the fifth aspect, and any one of the sixth aspect and the sixth aspect An implementation manner, the seventh aspect and any one implementation manner of the seventh aspect, and the eighth aspect and any one implementation manner of the eighth aspect.
  • FIG. 1 is a schematic diagram of a scenario of a method for cooperatively waking up a first electronic device provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a hardware structure of a second electronic device according to an embodiment of the present application.
  • FIG. 3 is an interaction flow chart of initialization steps in a method for cooperatively waking up a first electronic device provided by an embodiment of the present application.
  • FIG. 4 is an interaction flowchart of a coordinated wake-up step in a method for coordinated wake-up of a first electronic device provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of some steps in a method for cooperatively waking up a first electronic device provided by an embodiment of the present application.
  • 6A-6D are schematic diagrams illustrating changes in power consumption states of related circuits of the first electronic device in the method for cooperatively waking up the first electronic device provided by the embodiments of the present application.
  • FIGS. 7A-7C are schematic diagrams of power consumption state changes of related circuits of the first electronic device when the first electronic device is woken up in the method for cooperatively waking up the first electronic device provided by the embodiments of the present application.
  • FIG. 8 is a schematic waveform diagram of a wake-up signal output by a second electronic device in the method for coordinating wake-up of a first electronic device provided by an embodiment of the present application.
  • references in this specification to "one embodiment” or “some embodiments” and the like mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
  • the term “connected” includes both direct and indirect connections unless otherwise specified. "First” and “second” are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features.
  • words such as “exemplarily” or “for example” are used to represent examples, illustrations or illustrations. Any embodiment or design described in the embodiments of the present application as “exemplarily” or “such as” should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as “exemplarily” or “such as” is intended to present the related concepts in a specific manner.
  • Electronic devices can be divided into electronic devices that are powered on for a long time and electronic devices that are not powered on for a long time according to whether they have been powered on for a long time.
  • the first electronic device that is not powered on for a long time is not used for a certain period of time, the first electronic device that is not powered on for a long time can be automatically powered off and shut down; after that, if the first electronic device that is not powered on for a long time is used again
  • the user usually needs to touch the relevant start or restart button, which not only takes a long time, but also leads to cumbersome operations for the user and poor user experience.
  • Take a smart speaker that is not powered on for a long time as an example.
  • the smart speaker supports voice control.
  • the smart speaker will automatically power off and shut down; if it is used again, the user needs to move to the front of the smart speaker. Touching the relevant start or restart button takes a long time, takes up a lot of time for the user, is inconvenient for the user, and has a poor user experience.
  • the present application provides a method for coordinating wake-up of a first electronic device and the first electronic device.
  • the first electronic device 100 that is not powered on for a long time enters a low power consumption state, it can be quickly woken up through the cooperation of the second electronic device 200 that is powered on for a long time. .
  • the user does not need to move to the first electronic device 100 that is not powered on for a long time to touch the relevant start or restart button, which results in shorter time consumption, convenience for the user, and improved user experience.
  • FIG. 2 shows a schematic diagram of the hardware structure of the second electronic device 200 .
  • the second electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, The battery 242, the antenna 1, the antenna 2, the wireless communication module 250, the sensor module 260, the sound pickup module 270, etc.
  • USB universal serial bus
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the second electronic device 200 .
  • the second electronic device 200 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • Processor 210 may include one or more processing units.
  • the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video Codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc.
  • different processing units may be independent components, or may be integrated in one or more processors.
  • the second electronic device 200 may also include one or more processors 210 .
  • the controller can generate the operation control signal according to the instruction operation code and the timing signal, and complete the control of fetching and executing the instruction.
  • the processor 210 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, SIM card interface, and/or USB interface, etc.
  • the USB interface 230 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 230 can be used to connect a charger to charge the second electronic device 200, and can also be used to transmit data between the second electronic device 200 and peripheral devices.
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the second electronic device 200 .
  • the second electronic device 200 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the wireless communication function of the second electronic device 200 may be implemented by the antenna 1 , the antenna 2 , the wireless communication module 250 and the like.
  • the wireless communication module 250 can provide Wi-Fi (including Wi-Fi perception and Wi-Fi AP), Bluetooth (Bluetooth, BT), wireless data transmission modules (for example, 433MHz, 868MHz, 915MHz), UWB and other wireless communication solutions.
  • the wireless communication module 250 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 250 receives the electromagnetic wave via the antenna 1 or the antenna 2 (or, the antenna 1 and the antenna 2 ), filters and frequency modulates the electromagnetic wave signal, and sends the processed signal to the processor 210 .
  • the wireless communication module 250 can also receive the signal to be sent from the processor 210 , perform frequency modulation on it, amplify it, and then convert it into electromagnetic waves and radiate it out through the antenna 1 or the antenna 2 .
  • the external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the second electronic device 200.
  • the external memory card communicates with the processor 210 through the external memory interface 220 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 221 may be used to store one or more computer programs including instructions.
  • the processor 210 may execute the above-mentioned instructions stored in the internal memory 221, thereby causing the second electronic device 200 to execute the method for waking up the first electronic device provided in some embodiments of the present application.
  • the internal memory 221 may include a code storage area and a data storage area. Among them, the code storage area can store the operating system.
  • the data storage area may store data and the like created during the use of the second electronic device 200 .
  • the internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage components, flash memory components, universal flash storage (UFS), and the like.
  • the processor 210 may execute the instructions stored in the internal memory 221 and/or the instructions stored in the memory provided in the processor 210 to cause the second electronic device 200 to execute the instructions in the embodiments of the present application.
  • the sensor module 260 is used for collecting sensor data
  • the sound pickup module 270 is used for pickup, for example, receiving a voice control instruction input by a user.
  • the second electronic device 200 includes, but is not limited to, a tablet computer, a desktop computer, a portable electronic device (such as a laptop computer, Laptop), a smart TV, a car computer, a smart speaker, an augmented reality (AR) device, a virtual reality ( virtual reality, VR) devices, other smart devices with displays, and other smart devices with speakers, etc.
  • exemplary embodiments of the second electronic device include, but are not limited to, onboard Portable electronic devices with Linux or other operating systems.
  • the structure of the first electronic device 100 may be similar to the structure of the second electronic device 200 in FIG. 2 , and in order to avoid redundant description, the embodiments of the present application will not describe in detail.
  • the operating system run by the first electronic device 100 may be Linux or other operating systems; this application does not limit it.
  • the method for cooperatively waking up the first electronic device will be described in detail below with reference to FIG. 3 to FIG. 8 .
  • the method for cooperatively waking up the first electronic device may include an initialization step and a cooperatively waking up step.
  • 3 is an interaction flowchart of an initialization step in a method for cooperatively waking up a first electronic device provided by an embodiment of the present application.
  • FIG. 4 is an interaction flowchart of a coordinated wake-up step in a method for coordinated wake-up of a first electronic device provided by an embodiment of the present application.
  • both the first electronic device 100 and the second electronic device 200 support voice control.
  • the first electronic device 100 is in a working state
  • the first electronic device 100 is an electronic device that is not powered on for a long time
  • the second electronic device 200 is an electronic device that is powered on for a long time.
  • the initialization step 300 may include:
  • the first electronic device 100 broadcasts a first message.
  • the first message includes a media access control (media access control, MAC) address of the first electronic device 100.
  • media access control media access control, MAC
  • the first message may be broadcast through Bluetooth, and the first message includes a Bluetooth MAC address. If the first electronic device 100 includes a Wi-Fi module, the first message may be broadcast over Wi-Fi, and the first message includes a Wi-Fi MAC address. If the first electronic device 100 includes a Bluetooth module and a Wi-Fi module, the first message can be broadcast through Bluetooth, broadcast through Wi-Fi, or broadcast through Bluetooth and Wi-Fi (ie, through two-way broadcast). Correspondingly, the first message broadcast through Bluetooth includes the Bluetooth MAC address, and the first message broadcast through Wi-Fi includes the Wi-Fi MAC address.
  • first electronic device 100 and the second electronic device 200 may be different electronic devices under the same user account. If the first electronic device 100 and the second electronic device 200 do not belong to electronic devices of the same user account, the initialization step 300 needs to be performed after mutual authorization.
  • the first electronic device 100 may broadcast the first message periodically.
  • the second electronic device 200 executes S302.
  • the second electronic device 200 sends a first response message to the first electronic device 100 .
  • the first response message includes the Bluetooth MAC address and/or the Wi-Fi MAC address of the second electronic device.
  • the first electronic device 100 After the first electronic device 100 receives the first response message, the first electronic device 100 executes S303 , or executes S304 with the second electronic device 200 .
  • the first electronic device 100 determines that the second electronic device 200 and the first electronic device 100 are in the same space.
  • the first electronic device 100 may determine whether the second electronic device 200 and the first electronic device 100 are in the same space by using an ultrasonic technology and/or an ultra wideband (UWB) communication technology.
  • UWB ultra wideband
  • the first electronic device 100 may obtain the location information of the second electronic device 200 from a cloud server connected to it in communication, and determine the relationship between the first electronic device 100 and the second electronic device according to the location information of the second electronic device 200 . Whether the device 200 is in the same space.
  • S304 is performed with the second electronic device 200.
  • the initialization step is exited.
  • S303 is an optional step. That is, in some embodiments, the first electronic device 100 does not need to determine whether the second electronic device 200 and the first electronic device 100 are in the same space. For example, if the first electronic device 100 is in the living room and the second electronic device 200 is in the bedroom, the second electronic device 200 can also wake up the first electronic device 100 .
  • the first electronic device 100 establishes a first channel with the second electronic device 200, where the first channel includes a Bluetooth channel and/or a Wi-Fi channel.
  • the first channel is the Bluetooth channel in S304; if the first message is broadcast through Wi-Fi, the first channel is the Wi-Fi channel in S304; if The first message is broadcast through both Bluetooth and Wi-Fi, then in S304 the first channel includes a Bluetooth channel and a Wi-Fi channel.
  • the second electronic device 200 sends a first notification message to the first electronic device 100 through the first channel, where the first notification message includes device type and/or capability information of the second electronic device 200 .
  • the capability information of the second electronic device 200 is used to indicate whether the second electronic device 200 has the ability to wake up the first electronic device 100 through Bluetooth or ultrasonic, and whether the second electronic device 200 has the ability to be woken up by voice at least one of .
  • whether the second electronic device 200 has the ability to be awakened by voice can be understood as whether the second electronic device supports voice control.
  • the first electronic device 100 receives the device type of the second electronic device 200 and/or the capability information of the second electronic device 200 sent by the second electronic device 200 through the channel in S304 .
  • the first electronic device 100 may determine the electronic device closer to the first electronic device 100 as the wake-up device among the plurality of electronic devices capable of waking up the first electronic device 100 through the ultrasonic technology or the UWB technology The electronic device of the first electronic device 100 .
  • the smart TV and smart speakers in the user's home both receive the first message broadcast by the first electronic device 100, and both send the first response message to the first electronic device 100, and the first electronic device 100 determines that the smart TV, smart The speakers are all in the same space as the first electronic device 100 , and both the smart TV and the smart speaker send their respective device types and/or their respective capability information to the first electronic device 100 .
  • the first electronic device 100 determines that both the smart TV and the smart speaker have the ability to wake up the first electronic device 100 according to the respective device types and/or respective capability information of the smart TV and the smart speaker.
  • the first electronic device 100 determines an electronic device closest to the first electronic device 100 according to the location information of the smart TV and the smart speaker. For example, it is determined that the smart TV is an electronic device closest to the first electronic device 100 . Then, the first electronic device 100 determines the smart TV as the second electronic device 200 .
  • the first electronic device 100 obtains, from the cloud server communicatively connected to the first electronic device, the location information, device type and/or location information of each electronic device in the house or living room where the first electronic device is located. Capability information, the first electronic device 100 selects the second electronic device 200 that wakes up the first electronic device 100 from each electronic device according to the acquired location information, device type and capability information of each electronic device. After that, S306 is executed.
  • the first electronic device 100 negotiates with the second electronic device 200 how the second electronic device 200 wakes up the first electronic device 100 through the first channel according to the device type and/or capability information of the second electronic device 200 .
  • the first electronic device 100 negotiates with the second electronic device 200 on a way to wake up the first electronic device 100 .
  • Case 1 In S305, the second electronic device 200 only sends the device type of the second electronic device 200 to the first electronic device 100;
  • the first electronic device 100 may determine, according to the device type of the second electronic device 200, that the second electronic device 200 can wake up the first electronic device 100 through a Bluetooth method or an ultrasonic method. If the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 by bluetooth and cannot wake up the first electronic device 100 by ultrasonic, the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 The way of the electronic device 100 is to wake up by means of Bluetooth.
  • the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 through ultrasonic waves and cannot wake up the first electronic device 100 through Bluetooth
  • the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100
  • the way of the electronic device 100 is to wake up by means of ultrasonic waves.
  • the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 through ultrasonic waves and can also wake up the first electronic device 100 through Bluetooth
  • the first electronic device 100 negotiates with the second electronic device 200 to wake up the first electronic device 100 .
  • the method of an electronic device 100 is to wake up by ultrasonic wave, or wake up by bluetooth.
  • Case 2 In S305, the second electronic device 200 only sends the capability information of the second electronic device 200 to the first electronic device 100;
  • the first electronic device 100 may determine, according to the capability information of the second electronic device 200, that the second electronic device 200 can wake up the first electronic device 100 through Bluetooth or ultrasound. If the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 by bluetooth and cannot wake up the first electronic device 100 by ultrasonic, the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 The way of the electronic device 100 is to wake up by means of Bluetooth.
  • the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 by means of ultrasonic waves and cannot wake up the first electronic device 100 by means of Bluetooth, the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 The way of the electronic device 100 is to wake up by means of ultrasonic waves. If the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 through ultrasonic waves and can also wake up the first electronic device 100 through Bluetooth, the first electronic device 100 negotiates with the second electronic device 200 to wake up the first electronic device 100 The method of an electronic device 100 is to wake up by ultrasonic wave, or wake up by bluetooth.
  • Case 3 In S305, the second electronic device 200 sends the device type and capability information of the second electronic device 200 to the first electronic device 100;
  • the first electronic device 100 may determine, according to the device type and capability information of the second electronic device 200, that the second electronic device 200 can wake up the first electronic device 100 by means of Bluetooth and/or ultrasonic waves. At this time, the present application does not limit the manner in which the first electronic device 100 and the second electronic device 200 negotiate and wake up the first electronic device 100 .
  • the second electronic device 200 wakes up the first electronic device 100 in a way that the second electronic device 200 wakes up the first electronic device through Bluetooth. 100; and, if the first electronic device 100 and the second electronic device 200 establish a Bluetooth channel in S304, then the second electronic device 200 and the first electronic device 100 can obtain the Bluetooth MAC address of the other party; and, if in S304 After the first electronic device 100 and the second electronic device 200 establish a Wi-Fi channel, the second electronic device 200 and the first electronic device 100 can also obtain the Bluetooth MAC address sent by the other party through the Wi-Fi channel.
  • the first electronic device 100 negotiates with the second electronic device 200, the second electronic device 200 wakes up the first electronic device 100 by means of an ultrasonic wave for the second electronic device 200 to wake up the first electronic device. 100, then, the first electronic device 100 and the second electronic device 200 can negotiate the frequency information of the ultrasonic wave.
  • the specific process of the negotiation between the second electronic device 200 and the first electronic device 100 may be that the first electronic device 100 sends a negotiation message, the second electronic device 200 sends a response message to the negotiation message, or the second electronic device 200 sends a negotiation message.
  • the device 200 sends a negotiation message, and the first electronic device 100 sends a response message to the negotiation message.
  • the first electronic device 100 may be a smart speaker
  • the second electronic device 200 may be a smart TV.
  • the first electronic device 100 and the second electronic device 200 may also be other devices.
  • the second electronic device 200 is a smart refrigerator that is powered on for a long time
  • the first electronic device 100 is a cleaning robot that is not powered on for a long time.
  • the specific types of the first electronic device and the second electronic device are not limited in this embodiment of the present application.
  • the initialization step 300 is only executed once when the method for coordinating waking up the first electronic device is executed for the first time, and does not need to be executed every time in the method for coordinating waking up the first electronic device.
  • the cooperative wake-up step 400 may include:
  • the first electronic device 100 does not receive a user input within a first preset time period after executing the last user command, and the first electronic device 100 is ready to enter a low power consumption state.
  • the user input may include one of the following: touch input, voice input.
  • the first electronic device is a smart speaker
  • the last user command instructs the smart speaker to play a song, and within the first preset time period after the song is played, no user input is received, then the first electronic device is ready to enter. Low power state.
  • the first electronic device 100 sends a first notification message to the second electronic device 200, where the first notification message is used to notify the first electronic device 100 to enter a low power consumption state.
  • the first electronic device 100 sends the first notification message to the second electronic device 200 through the first channel.
  • S402 is for the second electronic device 200 to wake up the first electronic device 100 when the first electronic device 100 is to be woken up.
  • S402 is not a required step, and may be an optional step.
  • the first electronic device 100 may not send the first notification message to the second electronic device 200 .
  • the second electronic device 200 may determine that the first electronic device 100 enters the low power consumption state by other means. For example, the second electronic device 200 sends a detection message in a broadcast manner, and if no response is received from the first electronic device 100, the second electronic device 200 may determine that the first electronic device 100 enters a low power consumption state.
  • the second electronic device 200 does not need to know whether the first electronic device 100 enters the low power consumption state, and can also directly execute the steps after S404.
  • the second electronic device 200 receives a voice input from the user.
  • the second electronic device 200 is powered on for a long time, and the sound pickup module 270 of the second electronic device 200 is in a working state at this time; therefore, the voice input can be obtained in real time.
  • the pickup module 270 may include a microphone, a microphone ADC, and a voice activity detection (VAD) module.
  • sequence between S403 and S404 may be: S403 first, then S404; S404 first, then S403; S403 and S404 are executed simultaneously, and so on. This application does not limit this.
  • the first electronic device 100 enters a low power consumption state.
  • the first electronic device 100 After the first electronic device 100 sends the first notification message, it will enter the low power consumption state immediately.
  • the first electronic device 100 only needs the duration of one or more instructions from sending the first notification message to entering the low power consumption state, and the required duration is extremely short.
  • the second electronic device 200 receives a voice input from the user, the required time is longer, which is much longer than the time for the first electronic device 100 to execute the above-mentioned one or more instructions; the units of the two time lengths correspond to different magnitudes , such as a level corresponding to the level of milliseconds (ms) or even lower units, and a level corresponding to seconds (s). That is, after the second electronic device 200 receives a voice input from the user, the first electronic device 100 has entered a low power consumption state.
  • ms milliseconds
  • s level corresponding to seconds
  • the module for sending a wake-up signal included in the second electronic device 200 is powered on and started, and other modules unrelated to the wake-up signal remain unchanged.
  • the processor, the communication module and the memory of the second electronic device 200 are powered on and started, the processor, the communication module and the memory may cooperate to send a wake-up signal to the first electronic device 100, that is, S405 is performed.
  • the second electronic device 200 sends a wake-up signal to the first electronic device 100 according to the negotiated manner of waking up the first electronic device 100 .
  • the second electronic device 200 sends a wake-up signal to the first electronic device 100 according to the Bluetooth MAC address of the counterparty.
  • the wake-up signal may include the device type and Bluetooth MAC address of the second electronic device 200 , and the Bluetooth MAC address and command word of the first electronic device 100 .
  • the command word is 0x959595, which is used to indicate that the wake-up signal is to wake up the first electronic device 100 from a low power consumption state to a working state.
  • the second electronic device 200 sends ultrasonic waves to the first electronic device 100 according to the negotiated ultrasonic frequency information.
  • wake-up signal For example, the wake-up signal waveform may be a rectangular wave as shown in FIG. 8 , and the frequency information of the rectangular wave is 25 KHz (kilohertz).
  • the waveform of the wake-up signal may also be other waveforms, such as a square wave. The present application does not limit the waveform of the wake-up signal.
  • the second electronic device 200 uses the ultrasonic mode to A wake-up signal is sent to the first electronic device 100 .
  • the second electronic device 200 sends a wake-up signal to the first electronic device 100 in a Bluetooth manner according to the Bluetooth MAC address of the other party.
  • the first electronic device 100 enters a working state from a low power consumption state.
  • the first electronic device 100 switches from the low power consumption state to the working state after receiving the wake-up signal from the second electronic device 200 .
  • the first electronic device 100 sends a second notification to the second electronic device The message is used to notify the second electronic device 200 that the first electronic device 100 has been switched to the working state.
  • the second electronic device 200 sends the voice command of the voice input to the first electronic device 100 .
  • the second electronic device 200 sends the voice command of the voice input to the first electronic device 100 only after a second preset time period after sending the wake-up signal to the first electronic device 100.
  • the second preset duration is a preset duration.
  • the second electronic device 200 sends the voice input voice instruction to the first electronic device 100 .
  • the second electronic device 200 after sending the wake-up signal to the first electronic device 100, the second electronic device 200 sends the voice command of the voice input to the first electronic device 100; the second preset time period does not pass.
  • the second electronic device 200 still sends the voice command of the voice input to the first electronic device 100 through the first channel.
  • the second electronic device 200 and the first electronic device 100 may renegotiate the second channel, so that the second electronic device 200 sends the voice command of the voice input to the first electronic device 100 through the second channel.
  • the first electronic device 100 executes the operation indicated by the voice instruction.
  • the first electronic device 100 After receiving the voice command from the second electronic device 200, the first electronic device 100 executes the operation indicated by the voice command.
  • S407-S408 are optional steps. That is, after S406, the first electronic device 100 has been woken up. However, considering that the user generally uses a voice input to both wake up the first electronic device 100 and control the first electronic device 100 to perform an operation by voice. For example, the voice input is "Xiaoyi Xiaoyi, only mother in the world is good". Among them, "Xiaoyi Xiaoyi" is a wake-up word, and “playing the world is only good for mother” is a voice command. The second electronic device 200 learns that the first electronic device 100 is to be woken up through "Xiaoyi Xiaoyi", and then sends a wake-up signal to the first electronic device 100; to the first electronic device 100 .
  • the second electronic device 200 can learn that the first electronic device 100 is made to perform the operation of playing "Only mother is good in the world” through “playing the world is only good for mother", or it can directly analyze the voice command of the voice input.
  • the voice instruction is sent to the first electronic device 100 .
  • S407-S408 may or may not be steps of the cooperative wake-up method.
  • the first electronic device 100 is an electronic device that is not powered on for a long time
  • the second electronic device 200 is an electronic device that is powered on for a long time.
  • the first electronic device 100 and the second electronic device 200 have established a first channel in advance, and negotiated a way to wake up the first electronic device 100 .
  • the first electronic device 100 does not receive a new user input.
  • An electronic device 100 enters a low power consumption state. Before the first electronic device 100 enters the low power consumption state, the first electronic device 100 sends the first notification message to the second electronic device 200 . After that, the first electronic device 100 enters a low power consumption state.
  • the user When the user needs to use the first electronic device 100 again, the user will issue a voice input.
  • the second electronic device 200 that has been powered on for a long time sends a wake-up signal to the first electronic device 100 to wake up the first electronic device 100 in a pre-negotiated manner.
  • the first electronic device 100 switches from the low power consumption state to the working state, that is, the first electronic device 100 is woken up through the cooperation of the second electronic device 200 .
  • the second electronic device 200 sends the voice command of the voice input to the first electronic device 100 .
  • the first electronic device 100 performs the operation indicated by the voice command.
  • the characteristic that the second electronic device 200 is powered on for a long time and the first electronic device 100 is not powered on for a long time is used to reduce the energy consumption of the first electronic device 100 and prolong the use time of the first electronic device 100, so that the overall energy consumption is reduced. consumption is reduced.
  • the first electronic device 100 is preferably a smart speaker; the second electronic device 200 is preferably a smart TV.
  • both the first electronic device 100 and the second electronic device 200 can be replaced with other electronic devices.
  • the second electronic device 200 may be a smart refrigerator that is powered on for a long time
  • the first electronic device 100 may be a cleaning robot that is not powered on for a long time. This embodiment of the present application does not limit this.
  • Step 400 may independently be a method flow for coordinating waking up the first electronic device.
  • the cooperative wake-up step 400 further includes steps S501-S507 as shown in FIG. 5:
  • the second electronic device 200 determines whether the voice input designates the first electronic device 100 .
  • the voice input is "Xiaoyi Xiaoyi plays through the first electronic device that only mother is good in the world"
  • the second electronic device 200 receives the voice input and learns that the first electronic device is to be used, then the second electronic device 200 Execute S405.
  • the second electronic device 200 determines the distance between the user and the second electronic device 200 and the distance between the user and the first electronic device 100 .
  • the sound pickup module 270 of the second electronic device 200 can determine the position of the user according to the sound source localization technology.
  • the second electronic device 200 may acquire the locations of the first electronic device 100 and the second electronic device 200 from the cloud server with which it communicates. Therefore, the second electronic device 200 can determine the distance between the user and the first electronic device 100 and the distance between the user and the first electronic device 200 .
  • the sound pickup module 270 of the second electronic device 200 can determine the position of the user according to the sound source localization technology.
  • the second electronic device 200 may acquire the location of the first electronic device 100 and the location of the second electronic device 200 according to the interaction between the second electronic device 200 and the first electronic device 100 . Therefore, the second electronic device 200 can determine the distance between the user and the first electronic device 100 and the distance between the user and the second electronic device 200 .
  • the second electronic device 200 determines whether the distance between the user and the first electronic device 100 is smaller than the distance between the user and the second electronic device 200 .
  • the second electronic device 200 determines whether the first electronic device 100 can perform the operation indicated by the voice instruction.
  • the second electronic device 200 makes the determination according to the capability information of the first electronic device 100 .
  • the second electronic device 200 may acquire capability information of the first electronic device 100 from a cloud server; the capability information of the first electronic device 100 may indicate the capability of the first electronic device 100 .
  • the second electronic device 200 determines whether the first electronic device 100 can perform the playback of "Only mother in the world” according to the capability information of the first electronic device 100 If the first electronic device 100 can perform the operation of playing "Only mother is good in the world", then execute S405.
  • the second electronic device 200 may acquire capability information of the first electronic device 100 according to the interaction between the second electronic device 200 and the first electronic device 100 ; the capability information of the first electronic device 100 may indicate the first electronic device 100 Whether the operation indicated by the voice command can be performed.
  • the second electronic device 200 determines whether the second electronic device 200 and the first electronic device 100 can execute the voice command according to the capability information of the second electronic device 200 and the capability information of the first electronic device 100 the indicated action. If both the second electronic device 200 and the first electronic device 100 have the operation indicated by the voice command, the second electronic device 200 may determine that the second electronic device 200 performs the operation indicated by the voice command, or determine that the first electronic device 100 executes the voice command the indicated action. This embodiment of the present application does not limit this.
  • the second electronic device 200 determines whether the second electronic device 200 can perform the operation indicated by the voice instruction.
  • the second electronic device 200 makes the determination according to the capability information of the second electronic device 200 .
  • the second electronic device 200 needs to determine whether the second electronic device 200 has the function of playing music according to the capability information of the second electronic device 200 , if the second electronic device 200 has the function of playing music, execute S506.
  • the second electronic device 200 responds to the voice instruction and executes the operation indicated by the voice instruction.
  • S501 is an optional step.
  • the flow shown in FIG. 5 may not include S501. That is, the second electronic device 200 directly executes S502-S507; wherein, the branches involved in S503-S504 may involve S405.
  • S502 and S503 are optional steps.
  • the flow shown in FIG. 5 may not include S502-S503. That is, the second electronic device 200 directly executes S501, S504-S507; wherein, the branches involved in S501 and S504 may involve S405.
  • the flow shown in FIG. 5 may also not include S501-S503. That is, the second electronic device 200 directly executes S504-S507; wherein, the branch involved in S504 may involve S405.
  • FIG. 6A shows an internal circuit block diagram of the first electronic device 100 .
  • the first electronic device 100 includes a central processing unit (CPU), a microphone, a microphone analog-to-digital converter (ADC), and a voice activity detection (VAD) module , Bluetooth module, Wi-Fi module, random access memory (RAM), speaker, speaker power amplification (power amplification, PA) module and flash memory (FLASH).
  • CPU central processing unit
  • ADC microphone analog-to-digital converter
  • VAD voice activity detection
  • the first electronic device 100 may further include more or less modules than those shown in FIG. 6A , which is not limited in this application. For example, if the first electronic device 100 does not support Wi-Fi, it may not include a Wi-Fi module.
  • the first electronic device 100 enters a low power consumption state, and is described in three cases.
  • the low power consumption state entered by the first electronic device 100 is specifically:
  • the Bluetooth module is in a power-on working state; the CPU enters a low-power state of waiting for interruption (WFI); the RAM enters a low-power self-refresh state; the remaining microphones and microphone ADCs , VAD module, Wi-Fi module, speaker, speaker PA and PLASH are all powered off.
  • the Bluetooth module receiving the wake-up signal is in a working state
  • the CPU and RAM are in a low power consumption state
  • the remaining modules are in a power-off state. In this way, the power consumption of the first electronic device 100 can be saved.
  • the microphone, microphone ADC and VAD module are in the power-on working state; the CPU enters the low-power state of WFI; the RAM enters the low-power self-refresh state; the remaining Bluetooth modules, VAD modules, Wi-Fi modules , speaker, speaker PA and PLASH are all powered off.
  • the microphone, the microphone ADC and the VAD of the first electronic device 100 are in a powered-on working state.
  • the microphone, the microphone ADC, and the VAD module are in a powered-on working state, the CPU and RAM are in a low power consumption state, and the remaining modules are in a powered-off state. In this way, the power consumption of the first electronic device 100 can be saved.
  • the low power consumption state entered by the first electronic device 100 is specifically:
  • the Bluetooth module, the microphone, the microphone ADC and the VAD module are in the power-on working state; the CPU is in the low-power state of WFI; the RAM is in the low-power self-refresh state; the remaining VAD modules, Wi-Fi modules , speaker, speaker PA and PLASH are all powered off.
  • both the CPU and RAM are in a low power consumption state; the remaining modules are in a power-off state. In this way, the power consumption of the first electronic device 100 can be saved.
  • FIGS. 7A-7C are schematic diagrams of power consumption state changes of related circuits of the first electronic device when the first electronic device is woken up in the method for cooperatively waking up the first electronic device provided by the embodiments of the present application.
  • the wake-up process is as shown in FIG. 7A .
  • the Bluetooth module sends an interrupt signal to the CPU, and the interrupt signal is used to wake the CPU from the WFI state to the working state.
  • the CPU enters the working state from the WFI state, and further drives other modules of the first electronic device 100 to enter the working state.
  • the interrupt signal can also be understood as a pulse signal.
  • the wake-up process is as shown in FIG. 7B .
  • the VAD module sends an interrupt signal to the CPU, and the interrupt signal is used to wake up the CPU from the WFI state to the working state.
  • the CPU enters the working state from the WFI state according to the interrupt signal, and further drives other modules of the first electronic device 100 to enter the working state.
  • the interrupt signal can also be understood as a pulse signal.
  • the process of waking up the first electronic device 100 is shown in FIG. 7C .
  • the VAD module sends an interrupt signal to the CPU
  • the Bluetooth module also sends an interrupt signal to the CPU
  • the interrupt signal is used to wake the CPU from the WFI state to the working state.
  • the CPU enters the working state from the WFI state according to the received at least one interrupt signal, and further drives other modules of the first electronic device 100 to enter the working state.
  • the interrupt signal can also be understood as a pulse signal.
  • the first electronic device and the second electronic device provided by the embodiments of the present application are used to execute the above-mentioned method for coordinating wake-up of the first electronic device, and thus can achieve the same effect as the above-mentioned implementation method.
  • the first electronic device and the second electronic device may include a processing module, a storage module and a communication module, respectively.
  • the processing module may be used to control and manage the actions of the first electronic device or the second electronic device.
  • the storage module may be used to support the first electronic device and the second electronic device to execute stored program codes, data, and the like.
  • the communication module can be used to support the communication between the first electronic device and the second electronic device, and the communication between the first electronic device or the second electronic device and other electronic devices.
  • a processing module may be a processor or controller; it may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this application.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and the like.
  • the storage module may be a memory.
  • the communication module may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
  • the processing module may be the processor 210 in FIG. 2
  • the storage module may be the internal memory 221 in FIG. 2
  • the communication module may be the wireless communication module 250 in FIG. 2 .
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed on the first electronic device or the second electronic device, the first electronic device or the second electronic device is executed.
  • the electronic device executes the method for cooperatively waking up the first electronic device in the above embodiments.
  • Embodiments of the present application also provide a computer program product, which, when the computer program product runs on a computer, enables the computer to execute the method for coordinating wake-up of the first electronic device in the foregoing embodiments.
  • the embodiments of the present application further provide an apparatus.
  • the device may be a chip, an assembly or a module.
  • the device may include a processor and a memory connected together; wherein, the memory is used to store computer-executed instructions, and when the device is running, the processor may execute the computer-executed instructions stored in the memory, so that the chip executes the above-mentioned embodiment to cooperatively wake up the first electronic device. device method.
  • the first electronic device, the second electronic device, the computer-readable storage medium, the computer program product, or the chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects in the corresponding methods provided above, which will not be repeated here.
  • Units described as separate components may or may not be physically separate.
  • a component shown as a unit can be one physical unit or multiple physical units. That is, it can be located in one place, or it can be distributed in many different places. According to actual needs, some or all of the units can be selected to achieve the purpose of this solution.
  • each functional unit in the various embodiments of the present application may be integrated in a processing unit; may also exist physically independently; or some units may be integrated in one unit, and some units may physically exist independently.
  • the above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium.
  • the software product is stored on a storage medium.
  • the software product includes several instructions for causing a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Telephone Function (AREA)

Abstract

The present application provides a method for cooperatively waking up a first electronic device and a first electronic device. A second electronic device negotiates with the first electronic device in advance about a first manner of waking up the first electronic device when the first electronic device is in a low power state; after receiving a voice input, the second electronic device sends a wake-up signal to the first electronic device by using the first manner; and the first electronic device switches from the low power state to a working state on the basis of the wake-up signal. In the low power state, the first electronic device can only receive a signal transmitted by using the first manner. As such, a user does not need to move to a first electronic device that is not powered on for a long time so as to touch a related power-on or restart button. The described method consumes a relatively short period of time, brings convenience to a user, and improves user experience.

Description

一种协同唤醒第一电子设备的方法及第一电子设备A method for coordinating wake-up of a first electronic device and the first electronic device

本申请要求于2021年03月22日提交国家知识产权局、申请号为202110304436.X、申请名称为“一种协同唤醒第一电子设备的方法及第一电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on March 22, 2021, the application number is 202110304436.X, and the application name is "A method for coordinating wake-up of a first electronic device and the first electronic device" , the entire contents of which are incorporated herein by reference.

技术领域technical field

本申请涉及终端领域,尤其涉及一种协同唤醒第一电子设备的方法及第一电子设备。The present application relates to the field of terminals, and in particular, to a method for coordinating wake-up of a first electronic device and the first electronic device.

背景技术Background technique

电子设备按照是否在较长的时长内一直上电,可以划分为长上电的电子设备,以及不长上电的电子设备,上述的上电能够使电子设备运行其正常功能。为了节省功耗,如果不长上电的第一电子设备在一定时长内没有被使用,则不长上电的第一电子设备可自动下电关机;之后,如果再次使用不长上电的第一电子设备,则通常需要用户触摸相关的开启或重启按钮,不但导致耗时较长,而且导致用户操作繁琐,用户体验较差。以不长上电的智能音箱为例,智能音箱支持语音控制,如果在一定时长内智能音箱没有被使用,则智能音箱会自动下电关机再次使用的话,则需要用户移动至智能音箱前,触摸相关的开启或重启按钮,耗时较长,占用用户较多时间,用户感受不便利,用户体验较差。Electronic devices can be divided into electronic devices that are powered on for a long period of time and electronic devices that are not powered on for a long time according to whether they have been powered on for a long period of time. In order to save power consumption, if the first electronic device that is not powered on for a long time is not used for a certain period of time, the first electronic device that is not powered on for a long time can be automatically powered off and shut down; after that, if the first electronic device that is not powered on for a long time is used again For an electronic device, the user usually needs to touch the relevant start or restart button, which not only takes a long time, but also leads to cumbersome operations for the user and poor user experience. Take a smart speaker that is not powered on for a long time as an example. The smart speaker supports voice control. If the smart speaker is not used for a certain period of time, the smart speaker will automatically power off and shut down. If it is used again, the user needs to move to the front of the smart speaker and touch The related start or restart button takes a long time, takes up a lot of time of the user, is inconvenient for the user, and has a poor user experience.

发明内容SUMMARY OF THE INVENTION

为了解决上述的技术问题,本申请提供了一种协同唤醒第一电子设备的方法及第一电子设备。本申请提供的技术方案,能够使得不长上电的第一电子设备在进入低功耗状态后,通过长上电的第二电子设备的协同,迅速得到唤醒。这样,用户无需再移动至不长上电的第一电子设备处触摸相关的开启或重启按钮,从而导致耗时较短,用户感受便利,提高用户体验。In order to solve the above technical problems, the present application provides a method for coordinating wake-up of a first electronic device and the first electronic device. The technical solution provided by the present application can enable the first electronic device that is not powered on for a long time to be quickly awakened through the cooperation of the second electronic device that is powered on for a long time after entering a low power consumption state. In this way, the user does not need to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, which results in shorter time consumption, convenience for the user, and improved user experience.

第一方面,提供了一种第二电子设备。第二电子设备与第一电子设备预先协商有在第一电子设备处于低功耗状态下,唤醒第一电子设备的第一方式。第二电子设备处于工作状态下的时长,多于第一电子设备处于工作状态下的时长。第二电子设备确定第一电子设备处于低功耗状态下。第二电子设备包括:处理器;存储器;以及计算机程序,其中计算机程序存储在存储器上,当计算机程序被处理器执行时,使得第二电子设备执行以下步骤:接收到一个语音输入;通过第一方式,向第一电子设备发送唤醒信号;唤醒信号用于将第一电子设备从低功耗状态唤醒为工作状态;其中,第一电子设备在低功耗状态下的功耗低于第一电子设备在工作状态下的功耗;语音输入包括第一电子设备的唤醒词或指示由第一电子设备执行的词;其中,第一方式不同于语音输出的方式。示例性地,第二电子设备处于的工作状态,可以包括但不限于:第二电子设备正常运行的状态、待机状态。在第二电子设备处于工作状态时,第二电子设备 仍一直上电。示例性地,第二电子设备为智能电视,智能电视的工作状态包括但不限于:智能电视正常播放视频、音频、办公、上网等的状态以及智能电视的待机状态。即在智能电视的工作状态下,智能电视仍处于上电状态。进一步具体地说,第二电子设备在工作状态下,仍可接收语音输入;而第一电子设备在工作状态下,不能接收语音输入,只能通过第一方式接收信号。可选地,第二电子设备处于的工作状态,可以不同于第一电子设备处于的工作状态。这样,第二电子设备接收到语音输入之后,可以通过第一方式,向处于低功耗状态的第一电子设备发送唤醒信号,从而唤醒第一电子设备,使得第一电子设备从低功耗状态切换至工作状态。这样,用户无需再移动至不长上电的第一电子设备处触摸相关的开启或重启按钮,从而缩短耗时,用户感受便利,提高用户体验。In a first aspect, a second electronic device is provided. The second electronic device and the first electronic device pre-negotiate a first manner of waking up the first electronic device when the first electronic device is in a low power consumption state. The duration of the second electronic device being in the working state is longer than the duration of the first electronic device being in the working state. The second electronic device determines that the first electronic device is in a low power consumption state. The second electronic device includes: a processor; a memory; and a computer program, wherein the computer program is stored on the memory, and when the computer program is executed by the processor, causes the second electronic device to perform the following steps: receiving a voice input; method, sending a wake-up signal to the first electronic device; the wake-up signal is used to wake up the first electronic device from a low power consumption state to a working state; wherein, the power consumption of the first electronic device in the low power consumption state is lower than that of the first electronic device The power consumption of the device in the working state; the voice input includes a wake-up word of the first electronic device or a word indicating execution by the first electronic device; wherein the first mode is different from the voice output mode. Exemplarily, the working state of the second electronic device may include, but is not limited to, a state in which the second electronic device is running normally and a standby state. When the second electronic device is in a working state, the second electronic device is still powered on all the time. Exemplarily, the second electronic device is a smart TV, and the working state of the smart TV includes but is not limited to: the smart TV normally plays video, audio, office, Internet access, etc., and the smart TV is in a standby state. That is, in the working state of the smart TV, the smart TV is still powered on. More specifically, the second electronic device can still receive voice input in the working state; while the first electronic device cannot receive the voice input in the working state, and can only receive signals through the first method. Optionally, the working state of the second electronic device may be different from the working state of the first electronic device. In this way, after the second electronic device receives the voice input, it can send a wake-up signal to the first electronic device in the low power consumption state in the first manner, so as to wake up the first electronic device and make the first electronic device from the low power consumption state Switch to working state. In this way, the user does not need to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, thereby shortening the time consumption, making the user feel convenient, and improving the user experience.

根据第一方面,第二电子设备处于工作状态下的时长,多于第一电子设备处于工作状态下的时长,包括但不限于:第二电子设备一直上电的时长,多于第一电子设备一直上电的时长;或者,第二电子设备的可用电相较于第一电子设备的可用电更充足。示例性地,第二电子设备通过插座充电,第一电子设备通过电池充电。第二电子设备随时都可以通过插座充电,可用电充足;通过电池充电的第一电子设备的可用电则不充足,需要节约使用,避免过快用完。According to the first aspect, the duration of the second electronic device being in the working state is longer than the duration of the first electronic device being in the working state, including but not limited to: the duration that the second electronic device has been powered on is longer than the duration of the first electronic device The duration of the power-on; or, the available power of the second electronic device is more sufficient than the available power of the first electronic device. Exemplarily, the second electronic device is charged through a socket, and the first electronic device is charged through a battery. The second electronic device can be charged through the socket at any time, and the available power is sufficient; the available power of the first electronic device charged through the battery is insufficient, and needs to be used sparingly to avoid running out too quickly.

根据第一方面,或者以上第一方面的任意一种实现方式,第一电子设备处于的工作状态和第二电子设备处于的工作状态可以不同。第一电子设备处于的工作状态,可以为第一电子设备上电启动之后执行某个或某些功能的状态;第二电子设备处于的工作状态,可以为第二电子设备能够上电,但不要求第二电子设备一定执行某个或某些功能的状态。According to the first aspect, or any implementation manner of the above first aspect, the working state of the first electronic device and the working state of the second electronic device may be different. The working state that the first electronic device is in can be a state in which the first electronic device is powered on to perform some or some functions; the working state that the second electronic device is in can be that the second electronic device can be powered on, but not. A state that requires the second electronic device to perform a certain function or functions.

根据第一方面,第二电子设备确定第一电子设备处于低功耗状态下;包括:第二电子设备接收到来自第一电子设备的第一告知消息;第一告知消息用于告知第一电子设备进入低功耗状态。这样,第二电子设备可以基于第一告知消息,确定第一电子设备处于低功耗状态;之后,第二电子设备向第一电子设备发送唤醒信号;从而为第二电子设备唤醒第一电子设备提供了可能。According to the first aspect, the second electronic device determines that the first electronic device is in a low power consumption state; including: the second electronic device receives a first notification message from the first electronic device; the first notification message is used to notify the first electronic device The device enters a low power state. In this way, the second electronic device can determine, based on the first notification message, that the first electronic device is in a low power consumption state; after that, the second electronic device sends a wake-up signal to the first electronic device; thereby waking up the first electronic device for the second electronic device provided the possibility.

根据第一方面,或者以上第一方面的任意一种实现方式,在通过第一方式,向第一电子设备发送唤醒信号之后,第二电子设备还执行:向第一电子设备发送语音输入指示的语音指令;该语音指令用于指示述第一电子设备执行具体的操作。这样,第一电子设备可以基于第二电子设备发送的语音输入指示的语音指令执行具体的操作;避免了即使第一电子设备从低功耗状态进入工作状态之后,由于第一电子设备没有接收到语音输入,也无法执行相应的操作的情形。According to the first aspect, or any implementation manner of the above first aspect, after sending the wake-up signal to the first electronic device in the first manner, the second electronic device further executes: sending a voice input instruction to the first electronic device Voice command; the voice command is used to instruct the first electronic device to perform a specific operation. In this way, the first electronic device can perform a specific operation based on the voice command indicated by the voice input sent by the second electronic device; even after the first electronic device enters the working state from the low power consumption state, the first electronic device does not receive Voice input, also cannot perform the corresponding operation.

根据第一方面,或者以上第一方面的任意一种实现方式,第一方式包括以下的至少一种:蓝牙方式和超声波方式。According to the first aspect, or any implementation manner of the above first aspect, the first manner includes at least one of the following: a Bluetooth manner and an ultrasonic manner.

根据第一方面,或者以上第一方面的任意一种实现方式,第二电子设备与第一电子设备预先建立有第一通道,且第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;第二电子设备通过第一通道,接收第一告知消息。这样,第一电子设备与第二电子设备预先建立有第一通道,第二电子设备可以通过第一通道接收第一告知消息,为第二电子设备接收第一告知消息提供了可能。According to the first aspect, or any implementation manner of the above first aspect, a first channel is pre-established between the second electronic device and the first electronic device, and the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel channel; the second electronic device receives the first notification message through the first channel. In this way, a first channel is pre-established between the first electronic device and the second electronic device, and the second electronic device can receive the first notification message through the first channel, which provides the possibility for the second electronic device to receive the first notification message.

根据第一方面,或者以上第一方面的任意一种实现方式,第二电子设备与第一电子设备预先建立有第一通道,且第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;第二电子设备通过第一通道向第一电子设备发送第一通知消息,第一通知消息包括第二电子设备的设备类型和/或能力信息。第二电子设备和第一电子设备可以根据第一通知消息包括的第二电子设备的设备类型和/或能力信息,协商第二电子设备唤醒第一电子设备的第一方式。这样,第二电子设备可以与第一电子设备,根据第一通知消息包括的第二电子设备的设备类型和/或能力信息,协商第二电子设备唤醒第一电子设备的第一方式。第二电子设备的能力不同或者设备类型不同,则第二电子设备唤醒第一电子设备的第一方式不同,因此,第二电子设备可以基于协商好的第一方式唤醒第一电子设备,有助于第二电子设备唤醒第一电子设备。According to the first aspect, or any implementation manner of the above first aspect, a first channel is pre-established between the second electronic device and the first electronic device, and the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel channel; the second electronic device sends a first notification message to the first electronic device through the first channel, where the first notification message includes device type and/or capability information of the second electronic device. The second electronic device and the first electronic device may negotiate a first manner for the second electronic device to wake up the first electronic device according to the device type and/or capability information of the second electronic device included in the first notification message. In this way, the second electronic device may negotiate with the first electronic device a first manner for the second electronic device to wake up the first electronic device according to the device type and/or capability information of the second electronic device included in the first notification message. If the capability of the second electronic device is different or the device type is different, the first way for the second electronic device to wake up the first electronic device is different. Therefore, the second electronic device can wake up the first electronic device based on the negotiated first way, which helps Wake up the first electronic device on the second electronic device.

根据第一方面,或者以上第一方面的任意一种实现方式,第二电子设备的能力信息用于指示第二电子设备是否具有通过蓝牙方式或超声波方式唤醒第一电子设备的能力,及第二电子设备是否具有被语音唤醒的能力中的至少一项。其中,第二电子设备是否具有被语音唤醒的能力可以为第二电子设备是否支持语音控制。According to the first aspect, or any implementation manner of the above first aspect, the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice. Wherein, whether the second electronic device has the ability to be woken up by voice may be whether the second electronic device supports voice control.

第二方面,提供了一种第二电子设备。第二电子设备包括:处理器;存储器;以及计算机程序,其中计算机程序存储在存储器上,当计算机程序被处理器执行时,使得第二电子设备执行以下步骤:接收到来自第一电子设备的第一消息;响应于第一消息,向第一电子设备发送第一响应消息;与第一电子设备建立第一通道;第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;与第一电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式;接收到来自第一电子设备的第一告知消息;第一告知消息用于所述第一电子设备进入低功耗状态;接收到一个语音输入;通过第一方式,向第一电子设备发送唤醒信号;唤醒信号用于将第一电子设备从低功耗状态唤醒为工作状态;其中,第一电子设备在低功耗状态下的功耗低于第一电子设备在工作状态下的功耗;语音输入包括第一电子设备的唤醒词或指示由第一电子设备执行的词;第一方式不同于语音输出的方式。这样,当用户长时间不使用第一电子设备时,第一电子设备可以进入低功耗状态,处于低功耗状态的第一电子设备能够接收第二电子设备通过第一方式发送的唤醒信号,这样,可以通过第二电子设备协同唤醒低功耗状态的第一电子设备。这样,用户无需再移动至不长上电的第一电子设备处触摸相关的开启或重启按钮,从而导致耗时较短,用户感受便利,提高用户体验。In a second aspect, a second electronic device is provided. The second electronic device includes: a processor; a memory; and a computer program, wherein the computer program is stored on the memory, and when the computer program is executed by the processor, causes the second electronic device to perform the following steps: receiving the first electronic device from the first electronic device a message; sending a first response message to the first electronic device in response to the first message; establishing a first channel with the first electronic device; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; An electronic device negotiates and determines that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first way of the first electronic device; receives the first notification message from the first electronic device; the first notification message uses When the first electronic device enters a low power consumption state; a voice input is received; a wake-up signal is sent to the first electronic device through the first method; the wake-up signal is used to wake up the first electronic device from the low power consumption state to work state; wherein, the power consumption of the first electronic device in the low power consumption state is lower than the power consumption of the first electronic device in the working state; the voice input includes the wake-up word of the first electronic device or indicates that the first electronic device performs a word; the first way is different from the way of speech output. In this way, when the user does not use the first electronic device for a long time, the first electronic device can enter a low power consumption state, and the first electronic device in the low power consumption state can receive the wake-up signal sent by the second electronic device in the first manner, In this way, the first electronic device in the low power consumption state can be woken up cooperatively by the second electronic device. In this way, the user does not need to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, which results in shorter time consumption, convenience for the user, and improved user experience.

根据第二方面,第二电子设备可以基于第一通道,与第一电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式;基于第一通道,接收到来自所述第一电子设备的第一告知消息。According to the second aspect, the second electronic device may negotiate with the first electronic device based on the first channel to determine, when the first electronic device is in a low power consumption state, the first manner in which the second electronic device wakes up the first electronic device; based on The first channel receives a first notification message from the first electronic device.

根据第二方面,或者以上第二方面的任意一种实现方式,与第一电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式,包括:向第一电子设备发送第一通知消息,第一通知消息包括第二电子设备的能力信息和设备类型中的至少一种。第一电子设备基于第二电子设备的能力信息和设备类型中的至少一种,与第一电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式。According to the second aspect, or any one of the implementation manners of the above second aspect, negotiating with the first electronic device to determine the first manner in which the second electronic device wakes up the first electronic device when the first electronic device is in a low power consumption state , which includes: sending a first notification message to the first electronic device, where the first notification message includes at least one of capability information and device type of the second electronic device. The first electronic device negotiates with the first electronic device and determines, based on at least one of capability information and device type of the second electronic device, that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first electronic device the first way.

根据第二方面,或者以上第二方面的任意一种实现方式,第二电子设备的能力信息用于指示第二电子设备是否具有通过蓝牙方式或超声波方式唤醒第一电子设备的能力,及第二电子设备是否具有被语音唤醒的能力中的至少一项。According to the second aspect, or any implementation manner of the above second aspect, the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second At least one of whether the electronic device has the ability to be awakened by voice.

第三方面,提供了一种第一电子设备,第一电子设备包括:第一电子设备与第二电子设备预先协商有在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式;第二电子设备处于工作状态下的时长,多于第一电子设备处于工作状态下的时长;第二电子设备确定第一电子设备处于低功耗状态下。第一电子设备包括:处理器;存储器;以及计算机程序,其中计算机程序存储在存储器上,当计算机程序被处理器执行时,使得第一电子设备执行以下步骤:在执行完最后一个用户命令的第一预设时长内,未接收到用户输入,向第二电子设备发送第一告知消息;第一告知消息用于告知第一电子设备进入低功耗状态;第一电子设备进入低功耗状态;通过第一方式,接收到来自所述第二电子设备的唤醒信号;响应于唤醒信号,第一电子设备从所述低功耗状态切换至工作状态;其中,在低功耗状态下,第一电子设备仅能接收信号,且仅能接收通过第一方式传输的信号;其中,第一方式不同于语音输出的方式。这样,当第一电子设备执行完最后一个用户命令的第一预设时长内,未收到用户输入,第一电子设备向第二电子设备发送第一告知消息,第一电子设备向第二电子设备发送第一告知消息之后进入低功耗状态。这样,可以节省第一电子设备的能耗。第一电子设备可以通过预先与第二电子设备协商好的第一方式接收唤醒信号,并从低功耗状态切换至工作状态,这样,可以通过第二电子设备协同唤醒低功耗状态的第一电子设备。这样,用户无需再移动至不长上电的第一电子设备处触摸相关的开启或重启按钮,从而导致耗时较短,用户感受便利,提高用户体验。In a third aspect, a first electronic device is provided. The first electronic device includes: the first electronic device and the second electronic device negotiate in advance that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first electronic device. The first method of the electronic device; the second electronic device is in the working state for longer than the first electronic device is in the working state; the second electronic device determines that the first electronic device is in the low power consumption state. The first electronic device includes: a processor; a memory; and a computer program, wherein the computer program is stored in the memory, and when the computer program is executed by the processor, the first electronic device causes the first electronic device to perform the following steps: after the last user command is executed Within a preset period of time, the user input is not received, and a first notification message is sent to the second electronic device; the first notification message is used to inform the first electronic device to enter a low power consumption state; the first electronic device enters a low power consumption state; In the first manner, a wake-up signal from the second electronic device is received; in response to the wake-up signal, the first electronic device switches from the low power consumption state to the working state; wherein, in the low power consumption state, the first electronic device The electronic device can only receive signals, and can only receive signals transmitted through the first mode; wherein, the first mode is different from the voice output mode. In this way, when the first electronic device has finished executing the last user command within the first preset time period and no user input is received, the first electronic device sends a first notification message to the second electronic device, and the first electronic device sends the second electronic device a first notification message. The device enters a low power consumption state after sending the first notification message. In this way, the energy consumption of the first electronic device can be saved. The first electronic device can receive the wake-up signal through the first method negotiated with the second electronic device in advance, and switch from the low-power state to the working state, so that the first electronic device in the low-power state can be woken up cooperatively by the second electronic device. Electronic equipment. In this way, the user does not need to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, which results in shorter time consumption, convenience for the user, and improved user experience.

根据第三方面,在第一电子设备从低功耗状态切换至工作状态之后,第一电子设备还执行:收到来自第二电子设备的语音输入指示的语音指令;响应于该语音指令,第一电子设备执行该语音指令指示的具体的操作。这样,第一电子设备可以根据第二电子设备发送的语音输入指示的语音指令,执行具体的操作;从而避免了,即使第一电子设备从低功耗状态进入工作状态之后,由于第一电子设备没有接收到语音输入,也无法执行相应的操作的情形。According to the third aspect, after the first electronic device switches from the low power consumption state to the working state, the first electronic device further executes: receiving a voice command indicated by a voice input from the second electronic device; An electronic device executes the specific operation indicated by the voice command. In this way, the first electronic device can perform specific operations according to the voice command indicated by the voice input sent by the second electronic device; thus, it is avoided that even after the first electronic device enters the working state from the low power consumption state, the first electronic device A situation where no voice input is received and the corresponding action cannot be performed.

根据第三方面,或者以上第三方面的任意一种实现方式,第一方式包括以下的至少一种:蓝牙方式和超声波方式。这样,第一电子设备和第二电子设备可以提前协商第二电子设备唤醒第一电子设备的第一方式为蓝牙方式和超声波方式中的至少一种,从而第二电子设备可以通过蓝牙方式和超声波方式中的至少一种向第一电子设备发送唤醒信号。According to the third aspect, or any implementation manner of the above third aspect, the first manner includes at least one of the following: a Bluetooth manner and an ultrasonic manner. In this way, the first electronic device and the second electronic device can negotiate in advance that the first method for the second electronic device to wake up the first electronic device is at least one of the Bluetooth method and the ultrasonic method, so that the second electronic device can use the Bluetooth method and the ultrasonic method to wake up the first electronic device. at least one of the manners sends a wake-up signal to the first electronic device.

根据第三方面,或者以上第三方面的任意一种实现方式,第一电子设备还执行:接收第二电子设备发送的第一通知消息,第一通知消息包括第二电子设备的设备类型和/或能力信息。第一电子设备根据第一通知消息包括的第二电子设备的设备类型和/或能力信息与第二电子设备协商,唤醒第二电子设备唤醒第一电子设备的第一方式。According to the third aspect, or any implementation manner of the above third aspect, the first electronic device further performs: receiving a first notification message sent by the second electronic device, where the first notification message includes the device type of the second electronic device and/or or capability information. The first electronic device negotiates with the second electronic device according to the device type and/or capability information of the second electronic device included in the first notification message, and wakes up the second electronic device to wake up the first electronic device.

根据第三方面,或者以上第三方面的任意一种实现方式,第二电子设备的能力信息用于指示第二电子设备是否具有通过蓝牙方式或超声波方式唤醒第一电子设备的能力,及第二电子设备是否具有被语音唤醒的能力中的至少一项。其中,第二电子设备 是否具有被语音唤醒的能力可以理解为第二电子设备是否支持语音控制。According to the third aspect, or any one of the implementation manners of the above third aspect, the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice. Wherein, whether the second electronic device has the ability to be awakened by voice may be understood as whether the second electronic device supports voice control.

第四方面,提供了一种第一电子设备。第一电子设备包括:处理器;存储器;以及计算机程序,其中计算机程序存储在存储器上,当计算机程序被处理器执行时,使得第一电子设备执行以下步骤:接收到一个输入;响应于该输入,广播第一消息;接收到来自第二电子设备的第一响应消息;与第二电子设备建立第一通道;第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;与第二电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式;在执行完最后一个用户命令的第一预设时长内,未接收到用户输入,向第二电子设备发送第一告知消息;第一告知消息用于告知第一电子设备进入低功耗状态;第一电子设备进入低功耗状态;通过第一方式,接收到来自第二电子设备的唤醒信号;响应于该唤醒信号,第一电子设备从低功耗状态切换至工作状态;其中,在低功耗状态下,第一电子设备仅能接收信号,且仅能接收通过第一方式传输的信号;第一方式不同于语音输入的方式。这样,可以节省第一电子设备的能耗,还可以通过第二电子设备协同唤醒低功耗状态的第一电子设备。用户无需再移动至不长上电的第一电子设备处触摸相关的开启或重启按钮,从而导致耗时较短,用户感受便利,提高用户体验。In a fourth aspect, a first electronic device is provided. The first electronic device includes: a processor; a memory; and a computer program, wherein the computer program is stored on the memory and, when executed by the processor, causes the first electronic device to perform the steps of: receiving an input; responding to the input , broadcast the first message; receive the first response message from the second electronic device; establish a first channel with the second electronic device; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; The electronic device negotiates and determines that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first way of the first electronic device; within the first preset time period after the last user command is executed, no user command is received. input, send a first notification message to the second electronic device; the first notification message is used to notify the first electronic device to enter a low power consumption state; the first electronic device enters a low power consumption state; A wake-up signal of the electronic device; in response to the wake-up signal, the first electronic device switches from a low power consumption state to a working state; wherein, in the low power consumption state, the first electronic device can only receive signals, and can only receive signals through the first electronic device A signal transmitted in one way; the first way is different from that of speech input. In this way, the energy consumption of the first electronic device can be saved, and the first electronic device in a low power consumption state can be awakened cooperatively through the second electronic device. The user no longer needs to move to the first electronic device that is not powered on for a long time to touch the relevant start or restart button, which results in a shorter time-consuming, convenient user experience, and improved user experience.

根据第四方面,第一消息和第一响应消息可以为蓝牙消息;或者第一消息和第一响应消息可以为Wi-Fi消息。According to the fourth aspect, the first message and the first response message may be Bluetooth messages; or the first message and the first response message may be Wi-Fi messages.

根据第四方面,或者以上第四方面的任意一种实现方式,第一方式可以为蓝牙方式或者超声波方式。According to the fourth aspect, or any implementation manner of the above fourth aspect, the first manner may be a Bluetooth manner or an ultrasonic manner.

根据第四方面,或者以上第四方面的任意一种实现方式,在接收到来自第二电子设备的第一响应消息之后,且在与第二电子设备建立第一通道之前,第一电子设备还执行:确定第一电子设备与第二电子设备处于同一房间或同一房屋。这样,第一电子设备只与第一电子设备在同一房间或者同一房屋的第二电子设备建立第一通道,且可以将第二电子设备确定为唤醒第一电子设备的设备。这样,可以保证只有在同一个房间或者同一房屋的第二电子设备才可以唤醒第一电子设备。According to the fourth aspect, or any implementation manner of the above fourth aspect, after receiving the first response message from the second electronic device and before establishing the first channel with the second electronic device, the first electronic device further Execution: It is determined that the first electronic device and the second electronic device are in the same room or the same house. In this way, the first electronic device only establishes the first channel with the second electronic device in the same room or the same house as the first electronic device, and the second electronic device can be determined as the device that wakes up the first electronic device. In this way, it can be ensured that only the second electronic device in the same room or the same house can wake up the first electronic device.

根据第四方面,或者以上第四方面的任意一种实现方式,在第一电子设备从低功耗状态切换至工作状态之后,第一电子设备还执行:接收到来自第二电子设备的语音输入指示的语音指令;响应于语音指令,第一电子设备执行语音指令指示的具体的操作。According to the fourth aspect, or any implementation manner of the above fourth aspect, after the first electronic device switches from the low power consumption state to the working state, the first electronic device further executes: receiving a voice input from the second electronic device Indicated voice instruction; in response to the voice instruction, the first electronic device performs the specific operation indicated by the voice instruction.

第五方面,提供了一种协同唤醒第一电子设备的方法,应用于第二电子设备。第二电子设备与第一电子设备预先协商有在第一电子设备处于低功耗状态下,唤醒第一电子设备的第一方式;第二电子设备处于工作状态下的时长,多于第一电子设备处于工作状态下的时长;第二电子设备确定第一电子设备处于低功耗状态下;该方法包括:第二电子设备接收到一个语音输入;第二电子设备通过第一方式,向第一电子设备发送唤醒信号;唤醒信号用于将第一电子设备从低功耗状态唤醒为工作状态;其中,第一电子设备在低功耗状态下的功耗低于第一电子设备在工作状态下的功耗;语音输入包括第一电子设备的唤醒词或指示由第一电子设备执行的词;第一方式不同于语音输出的方式。In a fifth aspect, a method for cooperatively waking up a first electronic device is provided, which is applied to a second electronic device. The second electronic device and the first electronic device pre-negotiate a first method for waking up the first electronic device when the first electronic device is in a low power consumption state; the second electronic device is in the working state for a longer time than the first electronic device the duration that the device is in a working state; the second electronic device determines that the first electronic device is in a low power consumption state; the method includes: the second electronic device receives a voice input; The electronic device sends a wake-up signal; the wake-up signal is used to wake up the first electronic device from a low power consumption state to a working state; wherein, the power consumption of the first electronic device in the low power consumption state is lower than that in the working state of the first electronic device The power consumption of the first electronic device; the voice input includes the wake-up word of the first electronic device or the word indicating the execution by the first electronic device; the first way is different from the way of the voice output.

根据第五方面,第二电子设备处于工作状态下的时长,多于第一电子设备处于工 作状态下的时长,包括但不限于:第二电子设备一直上电的时长,多于第一电子设备一直上电的时长;或者,第二电子设备的可用电相较于第一电子设备的可用电更充足。示例性地,第二电子设备通过插座充电,第一电子设备通过电池充电。第二电子设备随时都可以通过插座充电,可用电充足;通过电池充电的第一电子设备的可用电则不充足,需要节约使用,避免过快用完。According to the fifth aspect, the duration that the second electronic device is in the working state is longer than the duration that the first electronic device is in the working state, including but not limited to: the duration that the second electronic device has been powered on is longer than the duration of the first electronic device The duration of the power-on; or, the available power of the second electronic device is more sufficient than the available power of the first electronic device. Exemplarily, the second electronic device is charged through a socket, and the first electronic device is charged through a battery. The second electronic device can be charged through the socket at any time, and the available power is sufficient; the available power of the first electronic device charged through the battery is insufficient, and needs to be used sparingly to avoid running out too quickly.

根据第五方面,或者以上第五方面的任意一种实现方式,第二电子设备确定第一电子设备处于低功耗状态下;包括:第二电子设备接收到来自第一电子设备的第一告知消息;第一告知消息用于告知第一电子设备进入低功耗状态。According to the fifth aspect, or any implementation manner of the above fifth aspect, the second electronic device determines that the first electronic device is in a low power consumption state; including: the second electronic device receives the first notification from the first electronic device message; the first notification message is used to notify the first electronic device to enter a low power consumption state.

根据第五方面,或者以上第五方面的任意一种实现方式,在通过第一方式,向第一电子设备发送唤醒信号之后,该方法还包括:向第一电子设备发送语音输入指示的语音指令;语音指令用于指示第一电子设备执行具体的操作。According to the fifth aspect, or any one of the implementation manners of the above fifth aspect, after sending the wake-up signal to the first electronic device in the first manner, the method further includes: sending a voice instruction of a voice input indication to the first electronic device ; The voice command is used to instruct the first electronic device to perform a specific operation.

根据第五方面,或者以上第五方面的任意一种实现方式,第一方式包括以下的至少一种:蓝牙方式和超声波方式。According to the fifth aspect, or any implementation manner of the above fifth aspect, the first manner includes at least one of the following: a Bluetooth manner and an ultrasonic manner.

根据第五方面,或者以上第五方面的任意一种实现方式,第二电子设备与第一电子设备预先建立有第一通道,且第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;第二电子设备通过第一通道,接收第一告知消息。According to the fifth aspect, or any implementation manner of the above fifth aspect, the second electronic device and the first electronic device have a first channel pre-established, and the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel channel; the second electronic device receives the first notification message through the first channel.

根据第五方面,或者以上第五方面的任意一种实现方式,第二电子设备与第一电子设备预先建立有第一通道,且第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道,第二电子设备通过第一通道向第一电子设备发送第一通知消息,第一通知消息包括第二电子设备的设备类型和/或能力信息。第二电子设备和第一电子设备可以根据第一通知消息包括的第二电子设备的设备类型和/或能力信息,协商第二电子设备唤醒第一电子设备的第一方式。According to the fifth aspect, or any implementation manner of the above fifth aspect, the second electronic device and the first electronic device have a first channel pre-established, and the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel A channel, the second electronic device sends a first notification message to the first electronic device through the first channel, where the first notification message includes device type and/or capability information of the second electronic device. The second electronic device and the first electronic device may negotiate a first manner for the second electronic device to wake up the first electronic device according to the device type and/or capability information of the second electronic device included in the first notification message.

根据第五方面,或者以上第五方面的任意一种实现方式,第二电子设备的能力信息用于指示第二电子设备是否具有通过蓝牙方式或超声波方式唤醒第一电子设备的能力,及第二电子设备是否具有被语音唤醒的能力中的至少一项。其中,第二电子设备是否具有被语音唤醒的能力可以为第二电子设备是否支持语音控制。According to the fifth aspect, or any one of the implementation manners of the fifth aspect above, the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice. Wherein, whether the second electronic device has the ability to be woken up by voice may be whether the second electronic device supports voice control.

第五方面或者第五方面的任意一种实现方式所对应的技术效果,可参见上述第一方面或者第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。For the technical effect corresponding to the fifth aspect or any implementation manner of the fifth aspect, reference may be made to the technical effect corresponding to the first aspect or any implementation manner of the first aspect, which will not be repeated here.

第六方面,提供了一种协同唤醒第一电子设备的方法,应用于第二电子设备。该方法包括:第二电子设备接收到来自第一电子设备的第一消息;响应于第一消息,第二电子设备向第一电子设备发送第一响应消息;第二电子设备与第一电子设备建立第一通道;第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;第二电子设备与第一电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式;第二电子设备接收到来自第一电子设备的第一告知消息;第一告知消息用于告知第一电子设备进入低功耗状态;第二电子设备接收到一个语音输入;第二电子设备通过第一方式,向第一电子设备发送唤醒信号;唤醒信号用于将第一电子设备从低功耗状态唤醒为工作状态;其中,第一电子设备在低功耗状态下的功耗低于第一电子设备在工作状态下的功耗;语音输入包括第一电子设备的唤醒词或指示由第一电子设备执行的词;第一方式不同于语音输出的方式。In a sixth aspect, a method for cooperatively waking up a first electronic device is provided, which is applied to a second electronic device. The method includes: the second electronic device receives a first message from the first electronic device; in response to the first message, the second electronic device sends a first response message to the first electronic device; the second electronic device communicates with the first electronic device establishing a first channel; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; the second electronic device negotiates with the first electronic device to determine that when the first electronic device is in a low power consumption state, the second electronic device The first way for the device to wake up the first electronic device; the second electronic device receives the first notification message from the first electronic device; the first notification message is used to inform the first electronic device to enter a low power consumption state; the second electronic device receives to a voice input; the second electronic device sends a wake-up signal to the first electronic device in the first manner; the wake-up signal is used to wake up the first electronic device from a low power consumption state to a working state; wherein, the first electronic device is in a low power consumption state. The power consumption in the power consumption state is lower than the power consumption of the first electronic device in the working state; the voice input includes a wake-up word of the first electronic device or a word indicating execution by the first electronic device; the first mode is different from the voice output Way.

根据第六方面,第二电子设备可以基于第一通道,与第一电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式;基于第一通道,接收到来自第一电子设备的第一告知消息。According to the sixth aspect, the second electronic device may negotiate with the first electronic device based on the first channel to determine, when the first electronic device is in a low power consumption state, the first manner in which the second electronic device wakes up the first electronic device; based on The first channel receives the first notification message from the first electronic device.

根据第六方面,或者以上第六方面的任意一种实现方式,第二电子设备与第一电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式,包括:第二电子设备通过第一通道,向第一电子设备发送第一通知消息;第一通知消息包括第二电子设备的能力信息和设备类型中的至少一种。第一电子设备基于第二电子设备的能力信息和设备类型中的至少一种,与第一电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式。According to the sixth aspect, or any implementation manner of the above sixth aspect, the second electronic device negotiates with the first electronic device to determine that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first electronic device The first method includes: the second electronic device sends a first notification message to the first electronic device through the first channel; the first notification message includes at least one of capability information and device type of the second electronic device. The first electronic device negotiates with the first electronic device and determines, based on at least one of capability information and device type of the second electronic device, that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first electronic device the first way.

根据第六方面,或者以上第六方面的任意一种实现方式,第二电子设备的能力信息用于指示第二电子设备是否具有通过蓝牙方式或超声波方式唤醒第一电子设备的能力,及第二电子设备是否具有被语音唤醒的能力中的至少一项。According to the sixth aspect, or any one of the implementation manners of the above sixth aspect, the capability information of the second electronic device is used to indicate whether the second electronic device has the capability to wake up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice.

第六方面或者第六方面的任意一种实现方式所对应的技术效果,可参见上述第二方面或者第二方面的任意一种实现方式所对应的技术效果,此处不再赘述。For the technical effect corresponding to the sixth aspect or any implementation manner of the sixth aspect, reference may be made to the technical effect corresponding to the second aspect or any implementation manner of the second aspect, which will not be repeated here.

第七方面,提供了一种协同唤醒第一电子设备的方法,应用于第一电子设备。第一电子设备与第二电子设备预先协商有在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式;第二电子设备处于工作状态下的时长,多于第一电子设备处于工作状态下的时长;第二电子设备确定第一电子设备处于低功耗状态下;该方法包括:第一电子设备在执行完最后一个用户命令的第一预设时长内,未接收到用户输入,向第二电子设备发送第一告知消息;第一告知消息用于告知第一电子设备进入低功耗状态;第一电子设备进入低功耗状态;第一电子设备通过第一方式,接收到来自第二电子设备的唤醒信号;响应于唤醒信号,第一电子设备从低功耗状态切换至工作状态;其中,在低功耗状态下,第一电子设备仅能接收信号,且仅能接收通过第一方式传输的信号;第一方式不同于语音输入的方式。In a seventh aspect, a method for cooperatively waking up a first electronic device is provided, which is applied to the first electronic device. The first electronic device and the second electronic device have negotiated in advance a first way for the second electronic device to wake up the first electronic device when the first electronic device is in a low power consumption state; the first electronic device is in a working state; the second electronic device determines that the first electronic device is in a low power consumption state; the method includes: the first electronic device executes the last user command within a first preset time period , no user input is received, and a first notification message is sent to the second electronic device; the first notification message is used to inform the first electronic device to enter a low power consumption state; the first electronic device enters a low power consumption state; the first electronic device passes In the first manner, a wake-up signal from the second electronic device is received; in response to the wake-up signal, the first electronic device switches from a low power consumption state to a working state; wherein, in the low power consumption state, the first electronic device can only receive signal, and can only receive the signal transmitted through the first method; the first method is different from the method of voice input.

根据第七方面,在第一电子设备从低功耗状态切换至工作状态之后,该方法还包括:第一电子设备接收到来自第二电子设备的语音输入指示的语音指令;响应于语音指令,第一电子设备执行语音指令指示的具体的操作。According to the seventh aspect, after the first electronic device is switched from the low power consumption state to the working state, the method further includes: the first electronic device receives a voice command indicated by a voice input from the second electronic device; in response to the voice command, The first electronic device performs the specific operation indicated by the voice instruction.

根据第七方面,或者以上第七方面的任意一种实现方式,第一方式包括以下的至少一种:蓝牙方式和超声波方式。According to the seventh aspect, or any implementation manner of the above seventh aspect, the first manner includes at least one of the following: a Bluetooth manner and an ultrasonic manner.

根据第七方面,或者以上第七方面的任意一种实现方式,该方法还包括:第一电子设备接收第二电子设备发送的第一通知消息,第一通知消息包括第二电子设备的设备类型和/或能力信息。第一电子设备根据第二电子设备的设备类型和/或能力信息,与第二电子设备协商,第二电子设备唤醒第一电子设备的第一方式。According to the seventh aspect, or any implementation manner of the above seventh aspect, the method further includes: the first electronic device receives a first notification message sent by the second electronic device, where the first notification message includes a device type of the second electronic device and/or capability information. The first electronic device negotiates with the second electronic device according to the device type and/or capability information of the second electronic device, and the second electronic device wakes up the first way of the first electronic device.

根据第七方面,或者以上第七方面的任意一种实现方式,第二电子设备的能力信息用于指示第二电子设备是否具有通过蓝牙方式或超声波方式唤醒第一电子设备的能力,及第二电子设备是否具有被语音唤醒的能力中的至少一项。其中,第二电子设备是否具有被语音唤醒的能力可以理解为第二电子设备是否支持语音控制。According to the seventh aspect, or any implementation manner of the above seventh aspect, the capability information of the second electronic device is used to indicate whether the second electronic device has the capability of waking up the first electronic device by means of Bluetooth or ultrasonic waves, and the second electronic device At least one of whether the electronic device has the ability to be awakened by voice. Wherein, whether the second electronic device has the ability to be awakened by voice may be understood as whether the second electronic device supports voice control.

第七方面或者第七方面的任意一种实现方式所对应的技术效果,可参见上述第三方面或者第三方面的任意一种实现方式所对应的技术效果,此处不再赘述。For the technical effects corresponding to the seventh aspect or any implementation manner of the seventh aspect, reference may be made to the technical effects corresponding to the third aspect or any implementation manner of the third aspect, which will not be repeated here.

第八方面,提供了一种协同唤醒第一电子设备的方法,应用于第一电子设备。该方法包括:第一电子设备接收到一个输入;响应于该输入,第一电子设备广播第一消息;第一电子设备接收到来自第二电子设备的第一响应消息;第一电子设备与第二电子设备建立第一通道;第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;第一电子设备与第二电子设备协商确定,在第一电子设备处于低功耗状态下,第二电子设备唤醒第一电子设备的第一方式;第一电子设备在执行完最后一个用户命令的第一预设时长内,未接收到用户输入,向第二电子设备发送第一告知消息;第一告知消息用于告知第一电子设备进入低功耗状态;第一电子设备进入低功耗状态;通过第一方式,第一电子设备接收到来自第二电子设备的唤醒信号;响应于唤醒信号,第一电子设备从低功耗状态切换至工作状态;其中,在低功耗状态下,第一电子设备仅能接收信号,且仅能接收通过所述第一方式传输的信号;第一方式不同于语音输入的方式。In an eighth aspect, a method for cooperatively waking up a first electronic device is provided, which is applied to the first electronic device. The method includes: the first electronic device receives an input; in response to the input, the first electronic device broadcasts a first message; the first electronic device receives a first response message from the second electronic device; The two electronic devices establish a first channel; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; the first electronic device negotiates with the second electronic device to determine that when the first electronic device is in a low power consumption state, The first way for the second electronic device to wake up the first electronic device; the first electronic device sends a first notification message to the second electronic device without receiving user input within the first preset time period after the last user command is executed; The first notification message is used to inform the first electronic device to enter a low power consumption state; the first electronic device enters a low power consumption state; through the first method, the first electronic device receives a wake-up signal from the second electronic device; in response to the wake-up signal, the first electronic device switches from the low power consumption state to the working state; wherein, in the low power consumption state, the first electronic device can only receive signals, and can only receive signals transmitted by the first method; the first The way is different from the way of voice input.

根据第八方面,第一消息和第一响应消息可以为蓝牙消息;或者第一消息和第一响应消息可以为Wi-Fi消息。According to the eighth aspect, the first message and the first response message may be Bluetooth messages; or the first message and the first response message may be Wi-Fi messages.

根据第八方面,或者以上第八方面的任意一种实现方式,第一方式可以为蓝牙方式或者超声波方式。According to the eighth aspect, or any implementation manner of the above eighth aspect, the first manner may be a Bluetooth manner or an ultrasonic manner.

根据第八方面,或者以上第八方面的任意一种实现方式,在接收到来自第二电子设备的第一响应消息之后,且在与第二电子设备建立第一通道之前,该方法还包括:确定第一电子设备与第二电子设备处于同一空间。优选地,同一空间包括同一房间或同一房屋。According to the eighth aspect, or any implementation manner of the above eighth aspect, after receiving the first response message from the second electronic device and before establishing the first channel with the second electronic device, the method further includes: It is determined that the first electronic device and the second electronic device are in the same space. Preferably, the same space includes the same room or the same house.

根据第八方面,或者以上第八方面的任意一种实现方式,在第一电子设备从低功耗状态切换至工作状态之后,第一电子设备还执行:接收到来自第二电子设备的语音输入指示的语音指令;响应于语音指令,第一电子设备执行语音指令指示的具体的操作。According to the eighth aspect, or any implementation manner of the above eighth aspect, after the first electronic device switches from the low power consumption state to the working state, the first electronic device further performs: receiving a voice input from the second electronic device Indicated voice instruction; in response to the voice instruction, the first electronic device performs the specific operation indicated by the voice instruction.

第八方面以及第八方面的任意一种实现方式所对应的技术效果,可参见上述第四方面或者第四方面的任意一种实现方式所对应的技术效果,此处不再赘述。For the technical effects corresponding to the eighth aspect and any implementation manner of the eighth aspect, reference may be made to the technical effects corresponding to the fourth aspect or any implementation manner of the fourth aspect, which will not be repeated here.

第九方面,提供一种计算机可读存储介质。计算机可读存储介质存储有计算机程序(也可称为指令或代码),当该计算机程序被计算机执行时,使得该计算机执行第五方面及第五方面中任意一种实施方式的方法。In a ninth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as instructions or codes), which, when executed by a computer, causes the computer to perform the method of the fifth aspect and any one of the embodiments of the fifth aspect.

第九方面以及第九方面中任意一种实现方式所对应的技术效果,可参见上述第五方面及第五方面中任意一种实现方式所对应的技术效果,此处不再赘述。For the technical effect corresponding to the ninth aspect and any implementation manner of the ninth aspect, reference may be made to the technical effect corresponding to any implementation manner of the fifth aspect and the fifth aspect, which will not be repeated here.

第十方面,提供一种计算机可读存储介质。计算机可读存储介质存储有计算机程序(也可称为指令或代码),当该计算机程序被计算机执行时,使得该计算机执行第六方面及第六方面中任意一种实施方式、第七方面及第七方面中任意一种实施方式、第八方面及第八方面中任意一种实施方式的方法。In a tenth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as an instruction or code), and when the computer program is executed by a computer, causes the computer to execute any one of the sixth aspect and the sixth aspect, the seventh aspect and the The method of any one of the implementations of the seventh aspect, the eighth aspect, and any one of the implementations of the eighth aspect.

第十方面以及第十方面的任意一种实现方式所对应的技术效果,可参见上述第六方面及第六方面的任意一种实现方式、第七方面及第七方面中任意一种实施方式、第八方面及第八方面中任意一种实施方式所对应的技术效果,此处不再赘述。For the technical effects corresponding to the tenth aspect and any implementation manner of the tenth aspect, reference may be made to any implementation manner of the sixth aspect and the sixth aspect, any implementation manner of the seventh aspect and the seventh aspect, The technical effects corresponding to the eighth aspect and any one of the implementation manners of the eighth aspect will not be repeated here.

第十一方面,提供一种芯片。该芯片包括处理器和存储器,处理器用于读取并执行存储器中存储的计算机程序,以执行第五方面及第五方面任意一种实现方式、第六 方面及第六方面任意一种实现方式、第七方面及第七方面任意一种实现方式、第八方面及第八方面任意一种实现方式的方法。In an eleventh aspect, a chip is provided. The chip includes a processor and a memory, and the processor is configured to read and execute a computer program stored in the memory, so as to execute any one of the implementation manners of the fifth aspect and the fifth aspect, any implementation manner of the sixth aspect and the sixth aspect, The seventh aspect and any implementation manner of the seventh aspect, and the eighth aspect and any implementation manner of the eighth aspect.

第十一方面以及第十一方面中任意一种实现方式所对应的技术效果,可参见上述第五方面以及第五方面中任意一种实现方式、第六方面及第六方面任意一种实现方式、第七方面及第七方面任意一种实现方式、第八方面及第八方面任意一种实现方式所对应的技术效果,此处不再赘述。For the technical effect corresponding to any one of the implementation manners of the eleventh aspect and the eleventh aspect, reference may be made to any implementation manner of the fifth aspect and the fifth aspect, and any implementation manner of the sixth aspect and the sixth aspect , any implementation manner of the seventh aspect and the seventh aspect, and technical effects corresponding to any implementation manner of the eighth aspect and the eighth aspect, which will not be repeated here.

第十二方面,提供一种计算机程序产品。该计算机程序产品包括计算机程序(也可称为指令或代码),该计算机程序被计算机执行时,使得计算机执行第五方面及第五方面任意一种实现方式、第六方面及第六方面任意一种实现方式、第七方面及第七方面任意一种实现方式、第八方面及第八方面任意一种实现方式的方法。A twelfth aspect provides a computer program product. The computer program product includes a computer program (also referred to as instructions or codes), which, when executed by a computer, causes the computer to execute any one of the implementation manners of the fifth aspect and the fifth aspect, and any one of the sixth aspect and the sixth aspect An implementation manner, the seventh aspect and any one implementation manner of the seventh aspect, and the eighth aspect and any one implementation manner of the eighth aspect.

第十二方面以及第十二方面中任意一种实现方式所对应的技术效果,可参见上述第五方面及第五方面中任意一种实现方式、第六方面及第六方面任意一种实现方式、第七方面及第七方面任意一种实现方式、第八方面及第八方面任意一种实现方式所对应的技术效果,此处不再赘述。For the technical effects corresponding to the twelfth aspect and any implementation manner of the twelfth aspect, reference may be made to any implementation manner of the fifth aspect and the fifth aspect, and any implementation manner of the sixth aspect and the sixth aspect , any implementation manner of the seventh aspect and the seventh aspect, and technical effects corresponding to any implementation manner of the eighth aspect and the eighth aspect, which will not be repeated here.

附图说明Description of drawings

图1为本申请实施例提供的协同唤醒第一电子设备的方法的场景示意图。FIG. 1 is a schematic diagram of a scenario of a method for cooperatively waking up a first electronic device provided by an embodiment of the present application.

图2为本申请实施例提供的第二电子设备的硬件结构示意图。FIG. 2 is a schematic diagram of a hardware structure of a second electronic device according to an embodiment of the present application.

图3为本申请实施例提供的协同唤醒第一电子设备的方法中初始化步骤的交互流程图。FIG. 3 is an interaction flow chart of initialization steps in a method for cooperatively waking up a first electronic device provided by an embodiment of the present application.

图4为本申请实施例提供的协同唤醒第一电子设备的方法中协同唤醒步骤的交互流程图。FIG. 4 is an interaction flowchart of a coordinated wake-up step in a method for coordinated wake-up of a first electronic device provided by an embodiment of the present application.

图5为本申请实施例提供的协同唤醒第一电子设备的方法中的部分步骤的流程示意图。FIG. 5 is a schematic flowchart of some steps in a method for cooperatively waking up a first electronic device provided by an embodiment of the present application.

图6A-图6D为本申请实施例提供的协同唤醒第一电子设备的方法中,第一电子设备相关电路的功耗状态变化的示意图。6A-6D are schematic diagrams illustrating changes in power consumption states of related circuits of the first electronic device in the method for cooperatively waking up the first electronic device provided by the embodiments of the present application.

图7A-图7C为本申请实施例提供的协同唤醒第一电子设备的方法中第一电子设备在被唤醒时,第一电子设备相关电路的功耗状态变化示意图。7A-7C are schematic diagrams of power consumption state changes of related circuits of the first electronic device when the first electronic device is woken up in the method for cooperatively waking up the first electronic device provided by the embodiments of the present application.

图8为本申请实施例提供的协同唤醒第一电子设备的方法中,第二电子设备输出的唤醒信号的波形示意图。FIG. 8 is a schematic waveform diagram of a wake-up signal output by a second electronic device in the method for coordinating wake-up of a first electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个或两个以上(包含两个)。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations of the present application. As used in the specification of this application and the appended claims, the singular expressions "a," "an," "the," "above," "the," and "the" are intended to include Such expressions as "one or more" unless the context clearly dictates otherwise. It should also be understood that, in the following embodiments of the present application, "at least one" and "one or more" refer to one or more than two (including two).

在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多 个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。术语“连接”包括直接连接和间接连接,除非另外说明。“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。References in this specification to "one embodiment" or "some embodiments" and the like mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically emphasized otherwise. The terms "including", "including", "having" and their variants mean "including but not limited to" unless specifically emphasized otherwise. The term "connected" includes both direct and indirect connections unless otherwise specified. "First" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features.

在本申请实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplarily" or "for example" are used to represent examples, illustrations or illustrations. Any embodiment or design described in the embodiments of the present application as "exemplarily" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "such as" is intended to present the related concepts in a specific manner.

电子设备按照是否在较长时间内一直上电,可以划分为长上电的电子设备,以及不长上电的电子设备。为了节省功耗,如果不长上电的第一电子设备在一定时长内没有被使用,则不长上电的第一电子设备可自动下电关机;之后,如果再次使用不长上电的第一电子设备,则通常需要用户触摸相关的开启或重启按钮,不但导致耗时较长,而且导致用户操作繁琐,用户体验较差。以不长上电的智能音箱为例,智能音箱支持语音控制,如果在一定时长内智能音箱没有被使用,则智能音箱会自动下电关机;再次使用的话,则需要用户移动至智能音箱前,触摸相关的开启或重启按钮,耗时较长,占用用户较多时间,用户感受不便利,用户体验较差。Electronic devices can be divided into electronic devices that are powered on for a long time and electronic devices that are not powered on for a long time according to whether they have been powered on for a long time. In order to save power consumption, if the first electronic device that is not powered on for a long time is not used for a certain period of time, the first electronic device that is not powered on for a long time can be automatically powered off and shut down; after that, if the first electronic device that is not powered on for a long time is used again For an electronic device, the user usually needs to touch the relevant start or restart button, which not only takes a long time, but also leads to cumbersome operations for the user and poor user experience. Take a smart speaker that is not powered on for a long time as an example. The smart speaker supports voice control. If the smart speaker is not used for a certain period of time, the smart speaker will automatically power off and shut down; if it is used again, the user needs to move to the front of the smart speaker. Touching the relevant start or restart button takes a long time, takes up a lot of time for the user, is inconvenient for the user, and has a poor user experience.

为了解决上述的技术问题,本申请提供了一种协同唤醒第一电子设备的方法及第一电子设备。如图1所示,本申请提供的技术方案中,能够使得不长上电的第一电子设备100在进入低功耗状态后,通过长上电的第二电子设备200的协同,迅速得到唤醒。这样,用户无需再移动至不长上电的第一电子设备100处触摸相关的开启或重启按钮,从而导致耗时较短,用户感受便利,提高用户体验。In order to solve the above technical problems, the present application provides a method for coordinating wake-up of a first electronic device and the first electronic device. As shown in FIG. 1 , in the technical solution provided by this application, after the first electronic device 100 that is not powered on for a long time enters a low power consumption state, it can be quickly woken up through the cooperation of the second electronic device 200 that is powered on for a long time. . In this way, the user does not need to move to the first electronic device 100 that is not powered on for a long time to touch the relevant start or restart button, which results in shorter time consumption, convenience for the user, and improved user experience.

示例性地,图2示出了第二电子设备200的硬件结构示意图。如图2所示,第二电子设备200可包括处理器210,外部存储器接口220,内部存储器221,通用串行总线(universal serial bus,USB)接口230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,无线通信模块250,传感器模块260和拾音模块270等。Exemplarily, FIG. 2 shows a schematic diagram of the hardware structure of the second electronic device 200 . As shown in FIG. 2, the second electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, The battery 242, the antenna 1, the antenna 2, the wireless communication module 250, the sensor module 260, the sound pickup module 270, etc.

可以理解的是,本申请实施例示意的结构并不构成对第二电子设备200的具体限定。在本申请另一些实施例中,第二电子设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the second electronic device 200 . In other embodiments of the present application, the second electronic device 200 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

处理器210可以包括一个或多个处理单元。例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,第二电子设备200也可以包括一个或多个处理器210。其中,控制器可以根据指令操作码和时序信号,产生操作控 制信号,完成取指令和执行指令的控制。Processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video Codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent components, or may be integrated in one or more processors. In some embodiments, the second electronic device 200 may also include one or more processors 210 . Among them, the controller can generate the operation control signal according to the instruction operation code and the timing signal, and complete the control of fetching and executing the instruction.

在一些实施例中,处理器210可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口,集成电路间音频(integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,SIM卡接口,和/或USB接口等。其中,USB接口230是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口230可以用于连接充电器为第二电子设备200充电,也可以用于第二电子设备200与外围设备之间传输数据。In some embodiments, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, SIM card interface, and/or USB interface, etc. Among them, the USB interface 230 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 230 can be used to connect a charger to charge the second electronic device 200, and can also be used to transmit data between the second electronic device 200 and peripheral devices.

可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对第二电子设备200的结构限定。在本申请另一些实施例中,第二电子设备200也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the second electronic device 200 . In other embodiments of the present application, the second electronic device 200 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.

第二电子设备200的无线通信功能可以通过天线1,天线2以及无线通信模块250等实现。The wireless communication function of the second electronic device 200 may be implemented by the antenna 1 , the antenna 2 , the wireless communication module 250 and the like.

无线通信模块250可以提供应用在第二电子设备200上的包括Wi-Fi(包括Wi-Fi感知和Wi-Fi AP),蓝牙(bluetooth,BT),无线数传模块(例如,433MHz,868MHz,915MHz),UWB等无线通信的解决方案。无线通信模块250可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块250经由天线1或者天线2(或者,天线1和天线2)接收电磁波,将电磁波信号滤波以及调频处理,将处理后的信号发送到处理器210。无线通信模块250还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线1或者天线2转为电磁波辐射出去。The wireless communication module 250 can provide Wi-Fi (including Wi-Fi perception and Wi-Fi AP), Bluetooth (Bluetooth, BT), wireless data transmission modules (for example, 433MHz, 868MHz, 915MHz), UWB and other wireless communication solutions. The wireless communication module 250 may be one or more devices integrating at least one communication processing module. The wireless communication module 250 receives the electromagnetic wave via the antenna 1 or the antenna 2 (or, the antenna 1 and the antenna 2 ), filters and frequency modulates the electromagnetic wave signal, and sends the processed signal to the processor 210 . The wireless communication module 250 can also receive the signal to be sent from the processor 210 , perform frequency modulation on it, amplify it, and then convert it into electromagnetic waves and radiate it out through the antenna 1 or the antenna 2 .

外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展第二电子设备200的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the second electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to realize the data storage function. For example to save files like music, video etc in external memory card.

内部存储器221可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器210可以通过运行存储在内部存储器221的上述指令,从而使得第二电子设备200执行本申请一些实施例中所提供的唤醒第一电子设备的方法。内部存储器221可以包括代码存储区和数据存储区。其中,代码存储区可存储操作系统。数据存储区可存储第二电子设备200使用过程中所创建的数据等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器210可以通过运行存储在内部存储器221的指令,和/或存储在设置于处理器210中的存储器的指令,来使得第二电子设备200执行本申请实施例中所提供的唤醒第一电子设备的方法,以及其他应用及数据处理。Internal memory 221 may be used to store one or more computer programs including instructions. The processor 210 may execute the above-mentioned instructions stored in the internal memory 221, thereby causing the second electronic device 200 to execute the method for waking up the first electronic device provided in some embodiments of the present application. The internal memory 221 may include a code storage area and a data storage area. Among them, the code storage area can store the operating system. The data storage area may store data and the like created during the use of the second electronic device 200 . In addition, the internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage components, flash memory components, universal flash storage (UFS), and the like. In some embodiments, the processor 210 may execute the instructions stored in the internal memory 221 and/or the instructions stored in the memory provided in the processor 210 to cause the second electronic device 200 to execute the instructions in the embodiments of the present application. Provided is a method for waking up a first electronic device, as well as other applications and data processing.

传感器模块260用于采集传感器数据,拾音模块270用于拾音,例如接收用户输入的语音控制指令。The sensor module 260 is used for collecting sensor data, and the sound pickup module 270 is used for pickup, for example, receiving a voice control instruction input by a user.

第二电子设备200包括但不限于平板电脑、台式计算机、便携式电子设备(如膝上型计算机,Laptop)、智能电视、车载电脑、智能音箱、增强现实(augmented reality,AR) 设备、虚拟现实(virtual reality,VR)设备、其他带有显示屏的智能设备、以及其他带有扬声器的智能设备等。第二电子设备的示例性实施例包括但不限于搭载

Figure PCTCN2022081795-appb-000001
Figure PCTCN2022081795-appb-000002
Linux或者其它操作系统的便携式电子设备。 The second electronic device 200 includes, but is not limited to, a tablet computer, a desktop computer, a portable electronic device (such as a laptop computer, Laptop), a smart TV, a car computer, a smart speaker, an augmented reality (AR) device, a virtual reality ( virtual reality, VR) devices, other smart devices with displays, and other smart devices with speakers, etc. Exemplary embodiments of the second electronic device include, but are not limited to, onboard
Figure PCTCN2022081795-appb-000001
Figure PCTCN2022081795-appb-000002
Portable electronic devices with Linux or other operating systems.

需要说明的是,第一电子设备100的结构可以与图2中的第二电子设备200的结构类似,为了避免赘述,本申请实施例不详细描述。It should be noted that the structure of the first electronic device 100 may be similar to the structure of the second electronic device 200 in FIG. 2 , and in order to avoid redundant description, the embodiments of the present application will not describe in detail.

需要说明的是,第一电子设备100运行的操作系统可以为

Figure PCTCN2022081795-appb-000003
Figure PCTCN2022081795-appb-000004
Linux或者其它操作系统;本申请对此不予限定。 It should be noted that the operating system run by the first electronic device 100 may be
Figure PCTCN2022081795-appb-000003
Figure PCTCN2022081795-appb-000004
Linux or other operating systems; this application does not limit it.

下面结合图3-图8来详细阐述协同唤醒第一电子设备的方法。协同唤醒第一电子设备的方法可以包括初始化步骤和协同唤醒步骤。其中,图3为本申请实施例提供的协同唤醒第一电子设备的方法中初始化步骤的交互流程图。图4为本申请实施例提供的协同唤醒第一电子设备的方法中协同唤醒步骤的交互流程图。The method for cooperatively waking up the first electronic device will be described in detail below with reference to FIG. 3 to FIG. 8 . The method for cooperatively waking up the first electronic device may include an initialization step and a cooperatively waking up step. 3 is an interaction flowchart of an initialization step in a method for cooperatively waking up a first electronic device provided by an embodiment of the present application. FIG. 4 is an interaction flowchart of a coordinated wake-up step in a method for coordinated wake-up of a first electronic device provided by an embodiment of the present application.

如图3所示,第一电子设备100和第二电子设备200都支持语音控制。第一电子设备100处于工作状态,第一电子设备100为不长上电的电子设备,第二电子设备200为长上电的电子设备。该初始化步骤300,可以包括:As shown in FIG. 3 , both the first electronic device 100 and the second electronic device 200 support voice control. The first electronic device 100 is in a working state, the first electronic device 100 is an electronic device that is not powered on for a long time, and the second electronic device 200 is an electronic device that is powered on for a long time. The initialization step 300 may include:

S301,第一电子设备100广播第一消息。S301, the first electronic device 100 broadcasts a first message.

示例性地,第一消息包括第一电子设备100的媒体接入控制(media access control,MAC)地址。Exemplarily, the first message includes a media access control (media access control, MAC) address of the first electronic device 100.

具体地,如果第一电子设备100包括蓝牙模块,第一消息可以通过蓝牙广播,且第一消息包括蓝牙MAC地址。如果第一电子设备100包括Wi-Fi模块,第一消息可以通过Wi-Fi广播,且第一消息包括Wi-Fi MAC地址。如果第一电子设备100包括蓝牙模块和Wi-Fi模块,第一消息可以通过蓝牙广播,也可以通过Wi-Fi广播,还可以通过蓝牙广播和Wi-Fi广播(即通过两路广播)。相应地,通过蓝牙广播的第一消息包括蓝牙MAC地址,通过Wi-Fi广播的第一消息包括Wi-Fi MAC地址。Specifically, if the first electronic device 100 includes a Bluetooth module, the first message may be broadcast through Bluetooth, and the first message includes a Bluetooth MAC address. If the first electronic device 100 includes a Wi-Fi module, the first message may be broadcast over Wi-Fi, and the first message includes a Wi-Fi MAC address. If the first electronic device 100 includes a Bluetooth module and a Wi-Fi module, the first message can be broadcast through Bluetooth, broadcast through Wi-Fi, or broadcast through Bluetooth and Wi-Fi (ie, through two-way broadcast). Correspondingly, the first message broadcast through Bluetooth includes the Bluetooth MAC address, and the first message broadcast through Wi-Fi includes the Wi-Fi MAC address.

需要说明的是,第一电子设备100与第二电子设备200可以为同一用户账号下的不同电子设备。如果第一电子设备100与第二电子设备200不属于同一用户账号的电子设备,则需要互相授权之后才执行初始化步骤300。It should be noted that the first electronic device 100 and the second electronic device 200 may be different electronic devices under the same user account. If the first electronic device 100 and the second electronic device 200 do not belong to electronic devices of the same user account, the initialization step 300 needs to be performed after mutual authorization.

可选地,第一电子设备100可以周期性地广播第一消息。Optionally, the first electronic device 100 may broadcast the first message periodically.

在第二电子设备200接收到第一消息后,第二电子设备200执行S302。After the second electronic device 200 receives the first message, the second electronic device 200 executes S302.

S302,第二电子设备200向第一电子设备100发送第一响应消息。S302 , the second electronic device 200 sends a first response message to the first electronic device 100 .

可选地,第一响应消息包括第二电子设备的蓝牙MAC地址和/或Wi-Fi MAC地址。Optionally, the first response message includes the Bluetooth MAC address and/or the Wi-Fi MAC address of the second electronic device.

在第一电子设备100接收到第一响应消息后,第一电子设备100执行S303,或者与第二电子设备200执行S304。After the first electronic device 100 receives the first response message, the first electronic device 100 executes S303 , or executes S304 with the second electronic device 200 .

S303,第一电子设备100确定第二电子设备200与第一电子设备100在同一个空间。S303 , the first electronic device 100 determines that the second electronic device 200 and the first electronic device 100 are in the same space.

可选地,第一电子设备100可以通过超声波技术和/或超宽带(ultra wideband,UWB)通信技术,确定第二电子设备200与第一电子设备100是否在同一个空间。Optionally, the first electronic device 100 may determine whether the second electronic device 200 and the first electronic device 100 are in the same space by using an ultrasonic technology and/or an ultra wideband (UWB) communication technology.

可选地,第一电子设备100可以从与之通信连接的云服务器,获取第二电子设备200的位置信息,根据第二电子设备200的位置信息,来确定第一电子设备100与第二电子设备200是否在同一个空间。Optionally, the first electronic device 100 may obtain the location information of the second electronic device 200 from a cloud server connected to it in communication, and determine the relationship between the first electronic device 100 and the second electronic device according to the location information of the second electronic device 200 . Whether the device 200 is in the same space.

可选地,在第一电子设备100确定第二电子设备200与第一电子设备100在同一个空 间后,与第二电子设备200执行S304。Optionally, after the first electronic device 100 determines that the second electronic device 200 and the first electronic device 100 are in the same space, S304 is performed with the second electronic device 200.

可选地,在第一电子设备100确定第二电子设备200与第一电子设备100在同一个空间后,退出该初始化步骤。Optionally, after the first electronic device 100 determines that the second electronic device 200 and the first electronic device 100 are in the same space, the initialization step is exited.

需要说明的是,在初始化步骤300中,S303为可选的一个步骤。也就是说,在一些实施例中,第一电子设备100无需确定第二电子设备200与第一电子设备100是否在同一个空间。比如,第一电子设备100在客厅中,第二电子设备200在卧室中,第二电子设备200也可以唤醒第一电子设备100。It should be noted that, in the initialization step 300, S303 is an optional step. That is, in some embodiments, the first electronic device 100 does not need to determine whether the second electronic device 200 and the first electronic device 100 are in the same space. For example, if the first electronic device 100 is in the living room and the second electronic device 200 is in the bedroom, the second electronic device 200 can also wake up the first electronic device 100 .

S304,第一电子设备100与第二电子设备200建立第一通道,第一通道包括蓝牙通道和/或Wi-Fi通道。S304, the first electronic device 100 establishes a first channel with the second electronic device 200, where the first channel includes a Bluetooth channel and/or a Wi-Fi channel.

具体地,在S301中,若第一消息通过蓝牙广播,则在S304中第一通道为蓝牙通道;若第一消息通过Wi-Fi广播,则在S304中第一通道为Wi-Fi通道;若第一消息通过蓝牙和Wi-Fi都广播,则在S304中第一通道包括蓝牙通道和Wi-Fi通道。Specifically, in S301, if the first message is broadcast through Bluetooth, the first channel is the Bluetooth channel in S304; if the first message is broadcast through Wi-Fi, the first channel is the Wi-Fi channel in S304; if The first message is broadcast through both Bluetooth and Wi-Fi, then in S304 the first channel includes a Bluetooth channel and a Wi-Fi channel.

S305,第二电子设备200通过第一通道,向第一电子设备100发送第一通知消息,第一通知消息包括第二电子设备200的设备类型和/或能力信息。S305 , the second electronic device 200 sends a first notification message to the first electronic device 100 through the first channel, where the first notification message includes device type and/or capability information of the second electronic device 200 .

示例性地,第二电子设备200的能力信息用于指示第二电子设备200是否具有通过蓝牙方式或超声波方式唤醒第一电子设备100的能力,及第二电子设备200是否具有被语音唤醒的能力中的至少一项。其中,第二电子设备200是否具有被语音唤醒的能力可以理解为第二电子设备是否支持语音控制。Exemplarily, the capability information of the second electronic device 200 is used to indicate whether the second electronic device 200 has the ability to wake up the first electronic device 100 through Bluetooth or ultrasonic, and whether the second electronic device 200 has the ability to be woken up by voice at least one of . Wherein, whether the second electronic device 200 has the ability to be awakened by voice can be understood as whether the second electronic device supports voice control.

第一电子设备100通过S304中的通道接收第二电子设备200发送的第二电子设备200的设备类型和/或第二电子设备200的能力信息。The first electronic device 100 receives the device type of the second electronic device 200 and/or the capability information of the second electronic device 200 sent by the second electronic device 200 through the channel in S304 .

在另一种可能的实现方式中,第一电子设备100可以通过超声波技术或者UWB技术在多个能够唤醒第一电子设备100的电子设备中确定离第一电子设备100较近的电子设备作为唤醒第一电子设备100的电子设备。In another possible implementation manner, the first electronic device 100 may determine the electronic device closer to the first electronic device 100 as the wake-up device among the plurality of electronic devices capable of waking up the first electronic device 100 through the ultrasonic technology or the UWB technology The electronic device of the first electronic device 100 .

可选地,用户家里的智能电视、智能音箱都接收到第一电子设备100广播的第一消息,都向第一电子设备100发送了第一响应消息,第一电子设备100确定智能电视、智能音箱都与第一电子设备100在同一个空间,智能电视、智能音箱都向第一电子设备100发送各自的设备类型和/或各自的能力信息。第一电子设备100根据智能电视和智能音箱的各自的设备类型和/或各自的能力信息,确定智能电视和智能音箱都具有唤醒第一电子设备100的能力。第一电子设备100根据智能电视和智能音箱的位置信息,确定距离第一电子设备100最近的一个电子设备。比如,确定智能电视为距离第一电子设备100最近的一个电子设备。那么,第一电子设备100将智能电视确定为第二电子设备200。Optionally, the smart TV and smart speakers in the user's home both receive the first message broadcast by the first electronic device 100, and both send the first response message to the first electronic device 100, and the first electronic device 100 determines that the smart TV, smart The speakers are all in the same space as the first electronic device 100 , and both the smart TV and the smart speaker send their respective device types and/or their respective capability information to the first electronic device 100 . The first electronic device 100 determines that both the smart TV and the smart speaker have the ability to wake up the first electronic device 100 according to the respective device types and/or respective capability information of the smart TV and the smart speaker. The first electronic device 100 determines an electronic device closest to the first electronic device 100 according to the location information of the smart TV and the smart speaker. For example, it is determined that the smart TV is an electronic device closest to the first electronic device 100 . Then, the first electronic device 100 determines the smart TV as the second electronic device 200 .

作为S301-S305的可替换方式,第一电子设备100从与之通信连接的云服务器处,获取到第一电子设备所处的房屋或客厅中,各个电子设备的位置信息、设备类型和/或能力信息,第一电子设备100根据获取到的各个电子设备的位置信息、设备类型和能力信息,从各个电子设备中筛选出唤醒第一电子设备100的第二电子设备200。之后,执行S306。As an alternative to S301-S305, the first electronic device 100 obtains, from the cloud server communicatively connected to the first electronic device, the location information, device type and/or location information of each electronic device in the house or living room where the first electronic device is located. Capability information, the first electronic device 100 selects the second electronic device 200 that wakes up the first electronic device 100 from each electronic device according to the acquired location information, device type and capability information of each electronic device. After that, S306 is executed.

S306,第一电子设备100根据第二电子设备200的设备类型和/或能力信息,通过第一通道,与第二电子设备200协商第二电子设备200唤醒第一电子设备100的方式。S306 , the first electronic device 100 negotiates with the second electronic device 200 how the second electronic device 200 wakes up the first electronic device 100 through the first channel according to the device type and/or capability information of the second electronic device 200 .

可选地,若第二电子设备200的能力信息指示第二电子设备200具有被语音唤醒的能力,则第一电子设备100与第二电子设备200协商唤醒第一电子设备100的方式。Optionally, if the capability information of the second electronic device 200 indicates that the second electronic device 200 has the ability to be woken up by voice, the first electronic device 100 negotiates with the second electronic device 200 on a way to wake up the first electronic device 100 .

有关第一电子设备100与第二电子设备200协商唤醒第一电子设备100的方式,可以有如下三种情况:Regarding the manner in which the first electronic device 100 negotiates with the second electronic device 200 to wake up the first electronic device 100, there may be the following three situations:

情况一、在S305中,第二电子设备200只向第一电子设备100发送了第二电子设备200的设备类型;Case 1: In S305, the second electronic device 200 only sends the device type of the second electronic device 200 to the first electronic device 100;

第一电子设备100可以根据第二电子设备200的设备类型,确定第二电子设备200能够通过蓝牙方式或超声波方式来唤醒第一电子设备100。若第一电子设备100确定第二电子设备200能够通过蓝牙方式唤醒第一电子设备100,不能通过超声波方式唤醒第一电子设备100,则第一电子设备100与第二电子设备200协商唤醒第一电子设备100的方式为通过蓝牙方式唤醒。若第一电子设备100确定第二电子设备200能够通过超声波方式唤醒第一电子设备100,不能通过蓝牙方式唤醒第一电子设备100,则第一电子设备100与第二电子设备200协商唤醒第一电子设备100的方式为通过超声波方式唤醒。若第一电子设备100确定第二电子设备200能够通过超声波方式唤醒第一电子设备100,也能通过蓝牙方式唤醒第一电子设备100,则第一电子设备100与第二电子设备200协商唤醒第一电子设备100的方式为通过超声波方式唤醒,或通过蓝牙方式唤醒。The first electronic device 100 may determine, according to the device type of the second electronic device 200, that the second electronic device 200 can wake up the first electronic device 100 through a Bluetooth method or an ultrasonic method. If the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 by bluetooth and cannot wake up the first electronic device 100 by ultrasonic, the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 The way of the electronic device 100 is to wake up by means of Bluetooth. If the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 through ultrasonic waves and cannot wake up the first electronic device 100 through Bluetooth, the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 The way of the electronic device 100 is to wake up by means of ultrasonic waves. If the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 through ultrasonic waves and can also wake up the first electronic device 100 through Bluetooth, the first electronic device 100 negotiates with the second electronic device 200 to wake up the first electronic device 100 . The method of an electronic device 100 is to wake up by ultrasonic wave, or wake up by bluetooth.

情况二、在S305中,第二电子设备200只向第一电子设备100发送了第二电子设备200的能力信息;Case 2: In S305, the second electronic device 200 only sends the capability information of the second electronic device 200 to the first electronic device 100;

与情况一的处理类似,第一电子设备100可以根据第二电子设备200的能力信息,确定第二电子设备200能够通过蓝牙方式或超声波方式来唤醒第一电子设备100。若第一电子设备100确定第二电子设备200能够通过蓝牙方式唤醒第一电子设备100,不能通过超声波方式唤醒第一电子设备100,则第一电子设备100与第二电子设备200协商唤醒第一电子设备100的方式为通过蓝牙方式唤醒。若第一电子设备100确定第二电子设备200能够通过超声波方式唤醒第一电子设备100,不能通过蓝牙方式唤醒第一电子设备100,则第一电子设备100与第二电子设备200协商唤醒第一电子设备100的方式为通过超声波方式唤醒。若第一电子设备100确定第二电子设备200能够通过超声波方式唤醒第一电子设备100,也能通过蓝牙方式唤醒第一电子设备100,则第一电子设备100与第二电子设备200协商唤醒第一电子设备100的方式为通过超声波方式唤醒,或通过蓝牙方式唤醒。Similar to the processing in case 1, the first electronic device 100 may determine, according to the capability information of the second electronic device 200, that the second electronic device 200 can wake up the first electronic device 100 through Bluetooth or ultrasound. If the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 by bluetooth and cannot wake up the first electronic device 100 by ultrasonic, the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 The way of the electronic device 100 is to wake up by means of Bluetooth. If the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 by means of ultrasonic waves and cannot wake up the first electronic device 100 by means of Bluetooth, the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 The way of the electronic device 100 is to wake up by means of ultrasonic waves. If the first electronic device 100 determines that the second electronic device 200 can wake up the first electronic device 100 through ultrasonic waves and can also wake up the first electronic device 100 through Bluetooth, the first electronic device 100 negotiates with the second electronic device 200 to wake up the first electronic device 100 The method of an electronic device 100 is to wake up by ultrasonic wave, or wake up by bluetooth.

情况三、在S305中,第二电子设备200向第一电子设备100发送了第二电子设备200的设备类型和能力信息;Case 3: In S305, the second electronic device 200 sends the device type and capability information of the second electronic device 200 to the first electronic device 100;

第一电子设备100可以根据第二电子设备200的设备类型和能力信息,确定第二电子设备200能够通过蓝牙方式和/或超声波方式来唤醒第一电子设备100。此时,对于第一电子设备100与第二电子设备200有关协商唤醒第一电子设备100的方式,本申请对此不做限定。The first electronic device 100 may determine, according to the device type and capability information of the second electronic device 200, that the second electronic device 200 can wake up the first electronic device 100 by means of Bluetooth and/or ultrasonic waves. At this time, the present application does not limit the manner in which the first electronic device 100 and the second electronic device 200 negotiate and wake up the first electronic device 100 .

可选地,若在S306中,第一电子设备100与第二电子设备200协商,第二电子设备200唤醒第一电子设备100的方式,为第二电子设备200通过蓝牙方式唤醒第一电子设备100;并且,如果在S304中第一电子设备100与第二电子设备200建立了蓝牙通道,那么第二电子设备200、第一电子设备100能够获取对方的蓝牙MAC地址;并且,如果在S304中第一电子设备100与第二电子设备200建立了Wi-Fi通道,那么第二电子设备200、第一电子设备100也能通过Wi-Fi通道,获取对方发送的蓝牙MAC地址。Optionally, if the first electronic device 100 negotiates with the second electronic device 200 in S306, the second electronic device 200 wakes up the first electronic device 100 in a way that the second electronic device 200 wakes up the first electronic device through Bluetooth. 100; and, if the first electronic device 100 and the second electronic device 200 establish a Bluetooth channel in S304, then the second electronic device 200 and the first electronic device 100 can obtain the Bluetooth MAC address of the other party; and, if in S304 After the first electronic device 100 and the second electronic device 200 establish a Wi-Fi channel, the second electronic device 200 and the first electronic device 100 can also obtain the Bluetooth MAC address sent by the other party through the Wi-Fi channel.

可选地,若在S306中,第一电子设备100与第二电子设备200协商,第二电子设备 200唤醒第一电子设备100的方式,为第二电子设备200通过超声波方式唤醒第一电子设备100,那么,第一电子设备100、第二电子设备200可以协商好超声波的频率信息。Optionally, if in S306, the first electronic device 100 negotiates with the second electronic device 200, the second electronic device 200 wakes up the first electronic device 100 by means of an ultrasonic wave for the second electronic device 200 to wake up the first electronic device. 100, then, the first electronic device 100 and the second electronic device 200 can negotiate the frequency information of the ultrasonic wave.

可选地,在S306中,第二电子设备200与第一电子设备100协商的具体过程可以为第一电子设备100发送协商消息,第二电子设备200发送协商消息的响应消息,或者第二电子设备200发送协商消息,第一电子设备100发送协商消息的响应消息。Optionally, in S306, the specific process of the negotiation between the second electronic device 200 and the first electronic device 100 may be that the first electronic device 100 sends a negotiation message, the second electronic device 200 sends a response message to the negotiation message, or the second electronic device 200 sends a negotiation message. The device 200 sends a negotiation message, and the first electronic device 100 sends a response message to the negotiation message.

示例性地,在本申请实施例中,第一电子设备100可以为智能音箱,第二电子设备200可以为智能电视。可替换地,第一电子设备100和第二电子设备200还可以为其他的设备。例如,第二电子设备200为长上电的智能冰箱,第一电子设备100为不长上电的扫地机器人。本申请实施例对第一电子设备和第二电子设备的具体类型,不作任何限定。Exemplarily, in this embodiment of the present application, the first electronic device 100 may be a smart speaker, and the second electronic device 200 may be a smart TV. Alternatively, the first electronic device 100 and the second electronic device 200 may also be other devices. For example, the second electronic device 200 is a smart refrigerator that is powered on for a long time, and the first electronic device 100 is a cleaning robot that is not powered on for a long time. The specific types of the first electronic device and the second electronic device are not limited in this embodiment of the present application.

需要说明的是,初始化步骤300仅在首次执行该协同唤醒第一电子设备的方法时,执行一次,无需在协同唤醒第一电子设备的方法中每次都执行。It should be noted that the initialization step 300 is only executed once when the method for coordinating waking up the first electronic device is executed for the first time, and does not need to be executed every time in the method for coordinating waking up the first electronic device.

如图4所示,协同唤醒步骤400,可以包括:As shown in FIG. 4 , the cooperative wake-up step 400 may include:

S401,第一电子设备100在执行完最后一个用户命令后的第一预设时长内,未接收到用户输入,第一电子设备100准备进入低功耗状态。S401 , the first electronic device 100 does not receive a user input within a first preset time period after executing the last user command, and the first electronic device 100 is ready to enter a low power consumption state.

可选地,用户输入可以包括以下一种:触摸输入、语音输入。Optionally, the user input may include one of the following: touch input, voice input.

示例性地,第一电子设备为智能音箱,最后一个用户命令指示智能音箱播放一首歌曲,在歌曲播放完后的第一预设时长内,未接收到用户输入,则第一电子设备准备进入低功耗状态。Exemplarily, the first electronic device is a smart speaker, and the last user command instructs the smart speaker to play a song, and within the first preset time period after the song is played, no user input is received, then the first electronic device is ready to enter. Low power state.

S402,第一电子设备100向第二电子设备200发送第一告知消息,第一告知消息用于告知第一电子设备100进入低功耗状态。S402, the first electronic device 100 sends a first notification message to the second electronic device 200, where the first notification message is used to notify the first electronic device 100 to enter a low power consumption state.

可选地,第一电子设备100通过第一通道,向第二电子设备200发送第一告知消息。Optionally, the first electronic device 100 sends the first notification message to the second electronic device 200 through the first channel.

换句话说,S402是为了在要唤醒第一电子设备100的时候,第二电子设备200可以唤醒第一电子设备100。In other words, S402 is for the second electronic device 200 to wake up the first electronic device 100 when the first electronic device 100 is to be woken up.

可选地,S402不是必需的步骤,可以为可选的步骤。Optionally, S402 is not a required step, and may be an optional step.

第一电子设备100可以不向第二电子设备200发送第一告知消息。第二电子设备200可以通过其他方式,判断第一电子设备100进入低功耗状态。例如,第二电子设备200以广播的方式,发送探测消息,若没有收到第一电子设备100的响应,则第二电子设备200可以确定第一电子设备100进入低功耗状态。The first electronic device 100 may not send the first notification message to the second electronic device 200 . The second electronic device 200 may determine that the first electronic device 100 enters the low power consumption state by other means. For example, the second electronic device 200 sends a detection message in a broadcast manner, and if no response is received from the first electronic device 100, the second electronic device 200 may determine that the first electronic device 100 enters a low power consumption state.

可选地,第二电子设备200无需了解第一电子设备100是否进入低功耗状态,也可以直接执行S404之后的步骤。Optionally, the second electronic device 200 does not need to know whether the first electronic device 100 enters the low power consumption state, and can also directly execute the steps after S404.

S403,第二电子设备200接收到来自用户的一个语音输入。S403, the second electronic device 200 receives a voice input from the user.

第二电子设备200长上电,此时第二电子设备200的拾音模块270处于工作状态;因此,可以即时地获取到语音输入。拾音模块270,可以包括麦克风、麦克风ADC和语音活性检测(voice activity detection,VAD)模块。The second electronic device 200 is powered on for a long time, and the sound pickup module 270 of the second electronic device 200 is in a working state at this time; therefore, the voice input can be obtained in real time. The pickup module 270 may include a microphone, a microphone ADC, and a voice activity detection (VAD) module.

需要说明的是,S403与S404两者之间的顺序可以为:先S403,后S404;先S404,后S403;S403和S404同时执行等。本申请对此不做限定。It should be noted that the sequence between S403 and S404 may be: S403 first, then S404; S404 first, then S403; S403 and S404 are executed simultaneously, and so on. This application does not limit this.

S404,第一电子设备100进入低功耗状态。S404, the first electronic device 100 enters a low power consumption state.

需要说明的是,在第一电子设备100发送第一告知消息后,会马上进入低功耗状态。第一电子设备100从发送第一告知消息,到执行进入低功耗状态,仅需一个或多个指令的 时长,所需时长极短。而第二电子设备200接收到来自用户的一个语音输入,所需时长较长,远远大于第一电子设备100执行上述的一个或多个指令的时长;两个时长的单位对应不同的量级,比如一个对应着毫秒(ms)的级别甚至更低单位的级别,一个对应着秒(s)的级别。也就是说,在第二电子设备200接收到来自用户的一个语音输入后,第一电子设备100已经进入低功耗状态。It should be noted that, after the first electronic device 100 sends the first notification message, it will enter the low power consumption state immediately. The first electronic device 100 only needs the duration of one or more instructions from sending the first notification message to entering the low power consumption state, and the required duration is extremely short. On the other hand, when the second electronic device 200 receives a voice input from the user, the required time is longer, which is much longer than the time for the first electronic device 100 to execute the above-mentioned one or more instructions; the units of the two time lengths correspond to different magnitudes , such as a level corresponding to the level of milliseconds (ms) or even lower units, and a level corresponding to seconds (s). That is, after the second electronic device 200 receives a voice input from the user, the first electronic device 100 has entered a low power consumption state.

可选地,在S404之后,如果第二电子设备200处于工作状态,则执行S405。Optionally, after S404, if the second electronic device 200 is in a working state, perform S405.

可选地,在S404之后,第二电子设备200除了拾音模块270处于工作状态之后,第二电子设备200的其他模块也处于低功耗状态,则第二电子设备200在接收到语音输入之后,从低功耗状态进入工作状态之后,执行S405;即此时第二电子设备200的所有模块都上电启动。Optionally, after S404, after the second electronic device 200 is in a working state except the sound pickup module 270, other modules of the second electronic device 200 are also in a low power consumption state, then after the second electronic device 200 receives the voice input , after entering the working state from the low power consumption state, execute S405; that is, all modules of the second electronic device 200 are powered on and started at this time.

可选地,在S404之后,第二电子设备200除了拾音模块270处于工作状态之后,第二电子设备200的其他模块也处于低功耗状态,则第二电子设备200在接收到语音输入之后,第二电子设备200包括的用于发送唤醒信号的模块上电启动,其他与唤醒信号无关的模块保持不变。例如,第二电子设备200的处理器、通信模块和存储器上电启动,处理器、通信模块和存储器可以协作将唤醒信号发送给第一电子设备100,即执行S405。Optionally, after S404, after the second electronic device 200 is in a working state except the sound pickup module 270, other modules of the second electronic device 200 are also in a low power consumption state, then after the second electronic device 200 receives the voice input , the module for sending a wake-up signal included in the second electronic device 200 is powered on and started, and other modules unrelated to the wake-up signal remain unchanged. For example, when the processor, the communication module and the memory of the second electronic device 200 are powered on and started, the processor, the communication module and the memory may cooperate to send a wake-up signal to the first electronic device 100, that is, S405 is performed.

S405,第二电子设备200按照协商的唤醒第一电子设备100的方式,向第一电子设备100发送唤醒信号。S405 , the second electronic device 200 sends a wake-up signal to the first electronic device 100 according to the negotiated manner of waking up the first electronic device 100 .

示例性地,如果之前协商唤醒第一电子设备100的方式为通过蓝牙方式,则在S405中,第二电子设备200根据对方的蓝牙MAC地址向第一电子设备100发送唤醒信号。Exemplarily, if the previously negotiated way to wake up the first electronic device 100 is through Bluetooth, in S405, the second electronic device 200 sends a wake-up signal to the first electronic device 100 according to the Bluetooth MAC address of the counterparty.

可选地,唤醒信号可以包括第二电子设备200的设备类型和蓝牙MAC地址,第一电子设备100的蓝牙MAC地址和命令字。例如,命令字为0x959595,其用于表示该唤醒信号是为了将第一电子设备100从低功耗状态唤醒为工作状态。Optionally, the wake-up signal may include the device type and Bluetooth MAC address of the second electronic device 200 , and the Bluetooth MAC address and command word of the first electronic device 100 . For example, the command word is 0x959595, which is used to indicate that the wake-up signal is to wake up the first electronic device 100 from a low power consumption state to a working state.

示例性地,如果之前协商唤醒第一电子设备100的方式为通过超声波方式,则在S405中,第二电子设备200按照协商好的超声波的频率信息,以超声波的方式向第一电子设备100发送唤醒信号。比如,唤醒信号波形可以为如图8所示的矩形波,该矩形波的频率信息为25KHz(千赫兹)。当然,唤醒信号的波形还可以为其他的波形,比如方波等。本申请对唤醒信号的波形,不作限定。Exemplarily, if the previously negotiated method for waking up the first electronic device 100 is to use ultrasonic waves, then in S405, the second electronic device 200 sends ultrasonic waves to the first electronic device 100 according to the negotiated ultrasonic frequency information. wake-up signal. For example, the wake-up signal waveform may be a rectangular wave as shown in FIG. 8 , and the frequency information of the rectangular wave is 25 KHz (kilohertz). Of course, the waveform of the wake-up signal may also be other waveforms, such as a square wave. The present application does not limit the waveform of the wake-up signal.

示例性地,如果之前协商唤醒第一电子设备100的方式为通过超声波方式和通过蓝牙方式两者,则在S405中,第二电子设备200按照协商好的超声波的频率信息,以超声波的方式,向第一电子设备100发送唤醒信号。并且,第二电子设备200根据对方的蓝牙MAC地址,以蓝牙的方式,向第一电子设备100发送唤醒信号。Exemplarily, if the previously negotiated methods for waking up the first electronic device 100 are both the ultrasonic mode and the Bluetooth mode, in S405, the second electronic device 200, according to the negotiated ultrasonic frequency information, uses the ultrasonic mode to A wake-up signal is sent to the first electronic device 100 . In addition, the second electronic device 200 sends a wake-up signal to the first electronic device 100 in a Bluetooth manner according to the Bluetooth MAC address of the other party.

S406,第一电子设备100从低功耗状态进入工作状态。S406, the first electronic device 100 enters a working state from a low power consumption state.

具体地,第一电子设备100在接收到来自第二电子设备200的唤醒信号后,从低功耗状态切换到工作状态。Specifically, the first electronic device 100 switches from the low power consumption state to the working state after receiving the wake-up signal from the second electronic device 200 .

可选地,在第一电子设备100接收到第二电子设备的唤醒信号,第一电子设备100从低功耗状态切换到工作状态之后,第一电子设备100向第二电子设备发送第二通知消息,用于通知第二电子设备200,第一电子设备100已经切换到工作状态。Optionally, after the first electronic device 100 receives the wake-up signal of the second electronic device and the first electronic device 100 switches from the low power consumption state to the working state, the first electronic device 100 sends a second notification to the second electronic device The message is used to notify the second electronic device 200 that the first electronic device 100 has been switched to the working state.

S407,第二电子设备200向第一电子设备100发送该语音输入的语音指令。S407 , the second electronic device 200 sends the voice command of the voice input to the first electronic device 100 .

可选地,在向第一电子设备100发送唤醒信号之后的第二预设时长后,第二电子设备 200才向第一电子设备100发送该语音输入的语音指令。第二预设时长为预先设置的一个时长。Optionally, the second electronic device 200 sends the voice command of the voice input to the first electronic device 100 only after a second preset time period after sending the wake-up signal to the first electronic device 100. The second preset duration is a preset duration.

可选地,在第二电子设备接收到第二通知消息之后,第二电子设备200才向第一电子设备100发送该语音输入的语音指令。Optionally, after the second electronic device receives the second notification message, the second electronic device 200 sends the voice input voice instruction to the first electronic device 100 .

可选地,在向第一电子设备100发送唤醒信号之后,第二电子设备200即向第一电子设备100发送该语音输入的语音指令;并不经过第二预设时长。Optionally, after sending the wake-up signal to the first electronic device 100, the second electronic device 200 sends the voice command of the voice input to the first electronic device 100; the second preset time period does not pass.

可选地,第二电子设备200仍然是通过第一通道,向第一电子设备100发送该语音输入的语音指令。Optionally, the second electronic device 200 still sends the voice command of the voice input to the first electronic device 100 through the first channel.

可替换地,第二电子设备200与第一电子设备100可以重新协商第二通道,从而第二电子设备200通过第二通道,向第一电子设备100发送该语音输入的语音指令。Alternatively, the second electronic device 200 and the first electronic device 100 may renegotiate the second channel, so that the second electronic device 200 sends the voice command of the voice input to the first electronic device 100 through the second channel.

S408,第一电子设备100执行该语音指令指示的操作。S408, the first electronic device 100 executes the operation indicated by the voice instruction.

第一电子设备100在接收到来自第二电子设备200的语音指令后,执行该语音指令指示的操作。After receiving the voice command from the second electronic device 200, the first electronic device 100 executes the operation indicated by the voice command.

需要说明的是,S407-S408为可选的步骤。即在S406之后,第一电子设备100即已唤醒。不过,考虑到用户一般是通过一个语音输入,既唤醒第一电子设备100,又语音控制第一电子设备100执行一个操作。比如,语音输入为“小艺小艺,播放世上只有妈妈好”。其中,“小艺小艺”为唤醒词,“播放世上只有妈妈好”是语音指令。第二电子设备200通过“小艺小艺”,得知要唤醒第一电子设备100,进而向第一电子设备100发送唤醒信号;之后,将“播放世上只有妈妈好”这一语音指令,发送给第一电子设备100。It should be noted that S407-S408 are optional steps. That is, after S406, the first electronic device 100 has been woken up. However, considering that the user generally uses a voice input to both wake up the first electronic device 100 and control the first electronic device 100 to perform an operation by voice. For example, the voice input is "Xiaoyi Xiaoyi, only mother in the world is good". Among them, "Xiaoyi Xiaoyi" is a wake-up word, and "playing the world is only good for mother" is a voice command. The second electronic device 200 learns that the first electronic device 100 is to be woken up through "Xiaoyi Xiaoyi", and then sends a wake-up signal to the first electronic device 100; to the first electronic device 100 .

可选地,第二电子设备200可以通过“播放世上只有妈妈好”,得知让第一电子设备100执行播放“世上只有妈妈好”的操作,也可以不对该语音输入的语音指令分析,直接将该语音指令发送给第一电子设备100。Optionally, the second electronic device 200 can learn that the first electronic device 100 is made to perform the operation of playing "Only mother is good in the world" through "playing the world is only good for mother", or it can directly analyze the voice command of the voice input. The voice instruction is sent to the first electronic device 100 .

因此,S407-S408可以为协同唤醒方法的步骤,也可以不为协同唤醒方法的步骤。Therefore, S407-S408 may or may not be steps of the cooperative wake-up method.

综上,在本申请实施例中,第一电子设备100为不长上电的电子设备,第二电子设备200为长上电的电子设备。第一电子设备100与第二电子设备200预先建立好第一通道,以及协商好唤醒第一电子设备100的方式。在第一电子设备100执行完最后一个用户命令的第一预设时长内,第一电子设备100未接收到新的用户输入,为了节约不长上电的第一电子设备100的能耗,第一电子设备100进入低功耗状态。在第一电子设备100进入低功耗状态之前,第一电子设备100向第二电子设备200发送第一告知消息。之后,第一电子设备100进入低功耗状态。To sum up, in the embodiment of the present application, the first electronic device 100 is an electronic device that is not powered on for a long time, and the second electronic device 200 is an electronic device that is powered on for a long time. The first electronic device 100 and the second electronic device 200 have established a first channel in advance, and negotiated a way to wake up the first electronic device 100 . Within the first preset time period after the first electronic device 100 executes the last user command, the first electronic device 100 does not receive a new user input. An electronic device 100 enters a low power consumption state. Before the first electronic device 100 enters the low power consumption state, the first electronic device 100 sends the first notification message to the second electronic device 200 . After that, the first electronic device 100 enters a low power consumption state.

当用户需要再次使用第一电子设备100时,用户会发出语音输入。长上电的第二电子设备200接收到来自用户的一个语音输入后,按照预先协商好的方式,向第一电子设备100发送唤醒第一电子设备100的唤醒信号。第一电子设备100在接收到第二电子设备200的唤醒信号后,从低功耗状态切换至工作状态,即通过第二电子设备200的协同,实现了对第一电子设备100的唤醒。When the user needs to use the first electronic device 100 again, the user will issue a voice input. After receiving a voice input from the user, the second electronic device 200 that has been powered on for a long time sends a wake-up signal to the first electronic device 100 to wake up the first electronic device 100 in a pre-negotiated manner. After receiving the wake-up signal from the second electronic device 200 , the first electronic device 100 switches from the low power consumption state to the working state, that is, the first electronic device 100 is woken up through the cooperation of the second electronic device 200 .

可选地,在此之后,第二电子设备200向第一电子设备100发送该语音输入的语音指令。第一电子设备100在接收到该语音输入的语音指令后,执行该语音指令指示的操作。Optionally, after that, the second electronic device 200 sends the voice command of the voice input to the first electronic device 100 . After receiving the voice command input by the voice, the first electronic device 100 performs the operation indicated by the voice command.

这样,就利用第二电子设备200长上电,第一电子设备100不长上电的特性,减少第一电子设备100的能耗,延长第一电子设备100的使用时长,从而使得整体的能耗得以降 低。In this way, the characteristic that the second electronic device 200 is powered on for a long time and the first electronic device 100 is not powered on for a long time is used to reduce the energy consumption of the first electronic device 100 and prolong the use time of the first electronic device 100, so that the overall energy consumption is reduced. consumption is reduced.

需要说明的是,在实际场景中,并非只有一个第一电子设备100,可以有多个第一电子设备100与一个第二电子设备200。这样,就使得多个第一电子设备100的能耗都得以降低,节能效果更为显著。另外,在用户需要再次开启第一电子设备100时,也无需移动至第一电子设备面前,触摸相关的开启或重启按钮,从而用户的耗时较短,用户操作便捷,效率提升,用户体验较好。尤其在多个第一电子设备100的场景下,效果更为明显。本申请实施例为了方便说明,仅以一个第一电子设备100和一个第二电子设备200为例阐明。It should be noted that, in an actual scenario, there may be not only one first electronic device 100 , but multiple first electronic devices 100 and one second electronic device 200 . In this way, the energy consumption of the plurality of first electronic devices 100 is reduced, and the energy saving effect is more significant. In addition, when the user needs to turn on the first electronic device 100 again, he does not need to move to the front of the first electronic device and touch the relevant turn-on or restart button, so that the time-consuming for the user is shorter, the user's operation is convenient, the efficiency is improved, and the user experience is better. it is good. Especially in the scenario of multiple first electronic devices 100, the effect is more obvious. For the convenience of description, the embodiments of the present application only take one first electronic device 100 and one second electronic device 200 as examples for illustration.

示例性地,第一电子设备100优选为智能音箱;第二电子设备200优选为智能电视。Exemplarily, the first electronic device 100 is preferably a smart speaker; the second electronic device 200 is preferably a smart TV.

可替换地,第一电子设备100和第二电子设备200均可被替换为其他的电子设备。例如,第二电子设备200可以为长上电的智能冰箱,第一电子设备100可以为不长上电的扫地机器人。本申请实施例对此不作限定。Alternatively, both the first electronic device 100 and the second electronic device 200 can be replaced with other electronic devices. For example, the second electronic device 200 may be a smart refrigerator that is powered on for a long time, and the first electronic device 100 may be a cleaning robot that is not powered on for a long time. This embodiment of the present application does not limit this.

需要说明的是,在第一电子设备100与第二电子设备200预先建立好第一通道,且第一电子设备100与第二电子设备200协商好唤醒第一电子设备100的方式后,协同唤醒步骤400可以单独成为协同唤醒第一电子设备的方法流程。It should be noted that, after the first electronic device 100 and the second electronic device 200 have established the first channel in advance, and the first electronic device 100 and the second electronic device 200 have negotiated the method of waking up the first electronic device 100, the coordinated wake-up is performed. Step 400 may independently be a method flow for coordinating waking up the first electronic device.

可选地,在上述的S404和S405之间,协同唤醒步骤400还包括如图5所示的步骤S501-S507:Optionally, between the above-mentioned S404 and S405, the cooperative wake-up step 400 further includes steps S501-S507 as shown in FIG. 5:

S501,第二电子设备200判断语音输入是否指定第一电子设备100。S501 , the second electronic device 200 determines whether the voice input designates the first electronic device 100 .

若指定第一电子设备100,则执行S405;若未指定第一电子设备100,则执行S502。If the first electronic device 100 is specified, execute S405; if the first electronic device 100 is not specified, execute S502.

示例性地,语音输入为“小艺小艺通过第一电子设备播放世上只有妈妈好”,第二电子设备200接收到该语音输入,得知要使用第一电子设备,则第二电子设备200执行S405。Exemplarily, the voice input is "Xiaoyi Xiaoyi plays through the first electronic device that only mother is good in the world", the second electronic device 200 receives the voice input and learns that the first electronic device is to be used, then the second electronic device 200 Execute S405.

S502,第二电子设备200确定用户距第二电子设备200的距离以及用户距第一电子设备100的距离。S502 , the second electronic device 200 determines the distance between the user and the second electronic device 200 and the distance between the user and the first electronic device 100 .

可选地,第二电子设备200的拾音模块270接收到来自用户的语音输入后,可以根据声源定位技术确定用户的位置。第二电子设备200可以从与之通信的云服务器处,获取第一电子设备100和第二电子设备200的位置。因此第二电子设备200可以确定用户距第一电子设备100的距离,以及用户距第一电子设备200的距离。Optionally, after receiving the voice input from the user, the sound pickup module 270 of the second electronic device 200 can determine the position of the user according to the sound source localization technology. The second electronic device 200 may acquire the locations of the first electronic device 100 and the second electronic device 200 from the cloud server with which it communicates. Therefore, the second electronic device 200 can determine the distance between the user and the first electronic device 100 and the distance between the user and the first electronic device 200 .

可选地,第二电子设备200的拾音模块270接收到来自用户的语音输入后,可以根据声源定位技术确定用户的位置。第二电子设备200可以根据第二电子设备200与第一电子设备100的交互,获取第一电子设备100的位置和第二电子设备200的位置。因此第二电子设备200可以确定用户距第一电子设备100的距离,以及用户距第二电子设备200的距离。Optionally, after receiving the voice input from the user, the sound pickup module 270 of the second electronic device 200 can determine the position of the user according to the sound source localization technology. The second electronic device 200 may acquire the location of the first electronic device 100 and the location of the second electronic device 200 according to the interaction between the second electronic device 200 and the first electronic device 100 . Therefore, the second electronic device 200 can determine the distance between the user and the first electronic device 100 and the distance between the user and the second electronic device 200 .

S503,第二电子设备200确定用户距第一电子设备100的距离是否小于用户距第二电子设备200的距离。S503 , the second electronic device 200 determines whether the distance between the user and the first electronic device 100 is smaller than the distance between the user and the second electronic device 200 .

若是,则执行S405;若否,则执行S504。If yes, execute S405; if not, execute S504.

S504,第二电子设备200确定第一电子设备100是否能执行语音指令指示的操作。S504, the second electronic device 200 determines whether the first electronic device 100 can perform the operation indicated by the voice instruction.

示例性地,第二电子设备200根据第一电子设备100的能力信息进行确定。Exemplarily, the second electronic device 200 makes the determination according to the capability information of the first electronic device 100 .

若是,则执行S405;若否,则执行S505。If yes, execute S405; if not, execute S505.

可选地,第二电子设备200可以从云服务器处,获取第一电子设备100的能力信息;第一电子设备100的能力信息可以指示第一电子设备100的能力。Optionally, the second electronic device 200 may acquire capability information of the first electronic device 100 from a cloud server; the capability information of the first electronic device 100 may indicate the capability of the first electronic device 100 .

例如,当语音输入为“小艺小艺,播放一首世上只有妈妈好”,第二电子设备200要根据第一电子设备100的能力信息,确定第一电子设备100是否能执行播放“世上只有妈妈好”的操作,若第一电子设备100能执行播放“世上只有妈妈好”的操作,则执行S405。For example, when the voice input is "Xiaoyi Xiaoyi, play a song that only mother is good in the world", the second electronic device 200 determines whether the first electronic device 100 can perform the playback of "Only mother in the world" according to the capability information of the first electronic device 100 If the first electronic device 100 can perform the operation of playing "Only mother is good in the world", then execute S405.

可选地,第二电子设备200可以根据第二电子设备200与第一电子设备100的交互,获取第一电子设备100的能力信息;第一电子设备100的能力信息可以指示第一电子设备100是否能够执行语音指令指示的操作。Optionally, the second electronic device 200 may acquire capability information of the first electronic device 100 according to the interaction between the second electronic device 200 and the first electronic device 100 ; the capability information of the first electronic device 100 may indicate the first electronic device 100 Whether the operation indicated by the voice command can be performed.

作为S504和S505可替换的方式,第二电子设备200根据第二电子设备200的能力信息和第一电子设备100的能力信息,确定第二电子设备200和第一电子设备100是否能够执行语音指令指示的操作。如果第二电子设备200和第一电子设备100都具有语音指令指示的操作,则第二电子设备200可以确定第二电子设备200执行语音指令指示的操作,或者确定第一电子设备100执行语音指令指示的操作。本申请实施例对此不作限定。As an alternative to S504 and S505, the second electronic device 200 determines whether the second electronic device 200 and the first electronic device 100 can execute the voice command according to the capability information of the second electronic device 200 and the capability information of the first electronic device 100 the indicated action. If both the second electronic device 200 and the first electronic device 100 have the operation indicated by the voice command, the second electronic device 200 may determine that the second electronic device 200 performs the operation indicated by the voice command, or determine that the first electronic device 100 executes the voice command the indicated action. This embodiment of the present application does not limit this.

S505,第二电子设备200确定第二电子设备200是否能执行语音指令指示的操作。S505, the second electronic device 200 determines whether the second electronic device 200 can perform the operation indicated by the voice instruction.

示例性地,第二电子设备200根据第二电子设备200的能力信息进行确定。Exemplarily, the second electronic device 200 makes the determination according to the capability information of the second electronic device 200 .

若是,则执行S506,否则执行S507。If yes, execute S506; otherwise, execute S507.

例如,当语音输入为“小艺小艺,给我播一首世上只有妈妈好”则第二电子设备200需要根据第二电子设备200的能力信息确定第二电子设备200是否具有播放音乐的功能,若第二电子设备200具有播放音乐的功能,则执行S506。For example, when the voice input is "Xiaoyi Xiaoyi, play me a song that only mother is good in the world", the second electronic device 200 needs to determine whether the second electronic device 200 has the function of playing music according to the capability information of the second electronic device 200 , if the second electronic device 200 has the function of playing music, execute S506.

S506,第二电子设备200响应语音指令,执行语音指令指示的操作。S506, the second electronic device 200 responds to the voice instruction and executes the operation indicated by the voice instruction.

S507,结束。S507, end.

需要说明的是,S501为可选的步骤。图5所示的流程可以不包括S501。即第二电子设备200直接执行S502-S507;其中,S503-S504涉及的分支可能涉及S405。It should be noted that S501 is an optional step. The flow shown in FIG. 5 may not include S501. That is, the second electronic device 200 directly executes S502-S507; wherein, the branches involved in S503-S504 may involve S405.

可选地,S502和S503为可选的步骤。图5所示的流程可以不包括S502-S503。即第二电子设备200直接执行S501,S504-S507;其中,S501和S504涉及的分支可能涉及S405。图5所示的流程也可以不包括S501-S503。即第二电子设备200直接执行S504-S507;其中,S504涉及的分支可能涉及S405。Optionally, S502 and S503 are optional steps. The flow shown in FIG. 5 may not include S502-S503. That is, the second electronic device 200 directly executes S501, S504-S507; wherein, the branches involved in S501 and S504 may involve S405. The flow shown in FIG. 5 may also not include S501-S503. That is, the second electronic device 200 directly executes S504-S507; wherein, the branch involved in S504 may involve S405.

为了进一步阐明第一电子设备100的低功耗状态和工作状态,下面结合图6A-图6D详细说明。In order to further clarify the low power consumption state and the working state of the first electronic device 100, a detailed description is given below with reference to FIGS. 6A-6D.

示例性地,图6A示出了第一电子设备100的内部电路框图。如图6A所示,第一电子设备100包括中央处理器(central processing unit,CPU)、麦克风、麦克风模数转换器(analog to digital converter,ADC)、语音活性检测(voice activity detection,VAD)模块、蓝牙模块、Wi-Fi模块、随机存储器(random access memory,RAM)、喇叭、喇叭功率放大(power amplification,PA)模块和闪存(FLASH)。Exemplarily, FIG. 6A shows an internal circuit block diagram of the first electronic device 100 . As shown in FIG. 6A , the first electronic device 100 includes a central processing unit (CPU), a microphone, a microphone analog-to-digital converter (ADC), and a voice activity detection (VAD) module , Bluetooth module, Wi-Fi module, random access memory (RAM), speaker, speaker power amplification (power amplification, PA) module and flash memory (FLASH).

需要说明的是,第一电子设备100还可以包括比图6A所示的模块更多或者更少的模块,本申请对此不予限定。例如,若第一电子设备100不支持Wi-Fi,则也可以不包括Wi-Fi模块。It should be noted that the first electronic device 100 may further include more or less modules than those shown in FIG. 6A , which is not limited in this application. For example, if the first electronic device 100 does not support Wi-Fi, it may not include a Wi-Fi module.

下面对第一电子设备100进入低功耗状态,分三种情况说明。In the following, the first electronic device 100 enters a low power consumption state, and is described in three cases.

情况A,如果第一电子设备100与第二电子设备200,协商唤醒第一电子设备100的方式为通过蓝牙方式,那么第一电子设备100进入的低功耗状态具体为:In case A, if the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 through Bluetooth, the low power consumption state entered by the first electronic device 100 is specifically:

如图6B所示,蓝牙模块处于上电的工作状态;CPU进入到等待被打断(wait for interrupt, WFI)的低功耗状态;RAM进入低功耗自刷新状态;剩余的麦克风、麦克风ADC、VAD模块、Wi-Fi模块、喇叭、喇叭PA和PLASH都处于下电状态。As shown in Figure 6B, the Bluetooth module is in a power-on working state; the CPU enters a low-power state of waiting for interruption (WFI); the RAM enters a low-power self-refresh state; the remaining microphones and microphone ADCs , VAD module, Wi-Fi module, speaker, speaker PA and PLASH are all powered off.

也即在情况A中,接收唤醒信号的蓝牙模块处于工作状态,CPU和RAM处于低功耗状态,剩余模块处于下电状态。这样,可以节省第一电子设备100的功耗。That is, in case A, the Bluetooth module receiving the wake-up signal is in a working state, the CPU and RAM are in a low power consumption state, and the remaining modules are in a power-off state. In this way, the power consumption of the first electronic device 100 can be saved.

情况B,如果第一电子设备100与第二电子设备200,协商唤醒第一电子设备100的方式为通过超声波方式唤醒,那么第一电子设备100进入的低功耗状态具体为:In case B, if the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 by means of ultrasonic wake-up, then the low power consumption state entered by the first electronic device 100 is specifically:

如图6C所示,麦克风、麦克风ADC和VAD模块处于上电的工作状态;CPU进入到WFI的低功耗状态;RAM进入低功耗自刷新状态;剩余的蓝牙模块、VAD模块Wi-Fi模块、喇叭、喇叭PA和PLASH都处于下电状态。As shown in Figure 6C, the microphone, microphone ADC and VAD module are in the power-on working state; the CPU enters the low-power state of WFI; the RAM enters the low-power self-refresh state; the remaining Bluetooth modules, VAD modules, Wi-Fi modules , speaker, speaker PA and PLASH are all powered off.

在情况B中,第一电子设备100的麦克风、麦克风ADC和VAD处于上电的工作状态。In case B, the microphone, the microphone ADC and the VAD of the first electronic device 100 are in a powered-on working state.

也即在情况B中,麦克风、麦克风ADC和VAD模块处于上电的工作状态,CPU和RAM处于低功耗状态,剩余模块处于下电状态。这样,可以节省第一电子设备100的功耗。That is, in case B, the microphone, the microphone ADC, and the VAD module are in a powered-on working state, the CPU and RAM are in a low power consumption state, and the remaining modules are in a powered-off state. In this way, the power consumption of the first electronic device 100 can be saved.

情况C,如果第一电子设备100与第二电子设备200,协商唤醒第一电子设备100的方式为通过超声波方式和通过蓝牙方式,那么第一电子设备100进入的低功耗状态具体为:In case C, if the first electronic device 100 and the second electronic device 200 negotiate to wake up the first electronic device 100 through ultrasonic mode and Bluetooth mode, then the low power consumption state entered by the first electronic device 100 is specifically:

如图6D所示,蓝牙模块、麦克风、麦克风ADC和VAD模块处于上电的工作状态;CPU处于WFI的低功耗状态;RAM处于低功耗自刷新状态;剩余的VAD模块、Wi-Fi模块、喇叭、喇叭PA和PLASH都处于下电状态。As shown in Figure 6D, the Bluetooth module, the microphone, the microphone ADC and the VAD module are in the power-on working state; the CPU is in the low-power state of WFI; the RAM is in the low-power self-refresh state; the remaining VAD modules, Wi-Fi modules , speaker, speaker PA and PLASH are all powered off.

也即在情况C中,CPU和RAM都处于低功耗状态;剩余模块处于下电状态。这样,可以节省第一电子设备100的功耗。That is, in case C, both the CPU and RAM are in a low power consumption state; the remaining modules are in a power-off state. In this way, the power consumption of the first electronic device 100 can be saved.

为了进一步阐明第一电子设备100的唤醒过程,下面结合图7A-图7C详细说明。In order to further clarify the wake-up process of the first electronic device 100, a detailed description is given below with reference to FIGS. 7A-7C.

图7A-图7C为本申请实施例提供的协同唤醒第一电子设备的方法中第一电子设备在被唤醒时,第一电子设备相关电路的功耗状态变化示意图。7A-7C are schematic diagrams of power consumption state changes of related circuits of the first electronic device when the first electronic device is woken up in the method for cooperatively waking up the first electronic device provided by the embodiments of the present application.

在第一电子设备100的低功耗状态如图6B所示时,唤醒的过程为图7A所示。如图7A所示,蓝牙模块向CPU发送中断信号,中断信号用于将CPU从WFI状态唤醒为工作状态。CPU从WFI状态进入工作状态,进而驱动第一电子设备100的其他模块都进入工作状态。其中,中断信号也可以理解为脉冲信号。When the low power consumption state of the first electronic device 100 is shown in FIG. 6B , the wake-up process is as shown in FIG. 7A . As shown in FIG. 7A , the Bluetooth module sends an interrupt signal to the CPU, and the interrupt signal is used to wake the CPU from the WFI state to the working state. The CPU enters the working state from the WFI state, and further drives other modules of the first electronic device 100 to enter the working state. Among them, the interrupt signal can also be understood as a pulse signal.

在第一电子设备100的低功耗状态为图6C所示时,唤醒的过程为图7B所示。如图7B所示,VAD模块向CPU发送中断信号,中断信号用于将CPU从WFI状态唤醒为工作状态。CPU根据中断信号从WFI状态进入工作状态,进而驱动第一电子设备100的其他模块都进入工作状态。其中,中断信号也可以理解为脉冲信号。When the low power consumption state of the first electronic device 100 is as shown in FIG. 6C , the wake-up process is as shown in FIG. 7B . As shown in FIG. 7B , the VAD module sends an interrupt signal to the CPU, and the interrupt signal is used to wake up the CPU from the WFI state to the working state. The CPU enters the working state from the WFI state according to the interrupt signal, and further drives other modules of the first electronic device 100 to enter the working state. Among them, the interrupt signal can also be understood as a pulse signal.

在第一电子设备100的低功耗状态为图6D所示时,第一电子设备100唤醒的过程为图7C所示。如图7C所示,VAD模块向CPU发送中断信号,蓝牙模块也向CPU发送中断信号,中断信号用于将所述CPU从WFI状态唤醒为工作状态。CPU根据接收到的至少一个个中断信号从WFI状态进入工作状态,进而驱动第一电子设备100的其他模块都进入工作状态。其中,中断信号也可以理解为脉冲信号。When the low power consumption state of the first electronic device 100 is shown in FIG. 6D , the process of waking up the first electronic device 100 is shown in FIG. 7C . As shown in FIG. 7C , the VAD module sends an interrupt signal to the CPU, and the Bluetooth module also sends an interrupt signal to the CPU, and the interrupt signal is used to wake the CPU from the WFI state to the working state. The CPU enters the working state from the WFI state according to the received at least one interrupt signal, and further drives other modules of the first electronic device 100 to enter the working state. Among them, the interrupt signal can also be understood as a pulse signal.

本申请实施例提供的第一电子设备和第二电子设备,用于执行上述的协同唤醒第一电子设备的方法,因此可以达到与上述实现方法相同的效果。在采用集成的单元的情况下, 第一电子设备和第二电子设备分别可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对第一电子设备或第二电子设备的动作进行控制管理。存储模块可以用于支持第一电子设备和第二电子设备执行存储程序代码和数据等。通信模块,可以用于支持第一电子设备和第二电子设备两者之间的通信,及第一电子设备或第二电子设备与其他电子设备的通信。The first electronic device and the second electronic device provided by the embodiments of the present application are used to execute the above-mentioned method for coordinating wake-up of the first electronic device, and thus can achieve the same effect as the above-mentioned implementation method. Where an integrated unit is employed, the first electronic device and the second electronic device may include a processing module, a storage module and a communication module, respectively. The processing module may be used to control and manage the actions of the first electronic device or the second electronic device. The storage module may be used to support the first electronic device and the second electronic device to execute stored program codes, data, and the like. The communication module can be used to support the communication between the first electronic device and the second electronic device, and the communication between the first electronic device or the second electronic device and other electronic devices.

其中,处理模块可以是处理器或控制器;其可以实现或执行结合本申请所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。示例性地,处理模块可以为图2的处理器210,存储模块为图2的内部存储器221,通信模块可以为图2中的无线通信模块250。Among other things, a processing module may be a processor or controller; it may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and the like. The storage module may be a memory. The communication module may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip. Exemplarily, the processing module may be the processor 210 in FIG. 2 , the storage module may be the internal memory 221 in FIG. 2 , and the communication module may be the wireless communication module 250 in FIG. 2 .

本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当计算机程序在第一电子设备或第二电子设备上运行时,使得第一电子设备或第二电子设备执行上述实施例中协同唤醒第一电子设备的方法。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed on the first electronic device or the second electronic device, the first electronic device or the second electronic device is executed. The electronic device executes the method for cooperatively waking up the first electronic device in the above embodiments.

本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述实施例中协同唤醒第一电子设备的方法。Embodiments of the present application also provide a computer program product, which, when the computer program product runs on a computer, enables the computer to execute the method for coordinating wake-up of the first electronic device in the foregoing embodiments.

另外,本申请的实施例还提供一种装置。该装置具体可以为芯片,组件或模块。该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述实施例中协同唤醒第一电子设备的方法。In addition, the embodiments of the present application further provide an apparatus. Specifically, the device may be a chip, an assembly or a module. The device may include a processor and a memory connected together; wherein, the memory is used to store computer-executed instructions, and when the device is running, the processor may execute the computer-executed instructions stored in the memory, so that the chip executes the above-mentioned embodiment to cooperatively wake up the first electronic device. device method.

其中,本申请实施例提供的第一电子设备、第二电子设备、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法。因此,其所能达到的有益效果,可参考上文所提供的对应的方法中的有益效果,此处不再赘述。The first electronic device, the second electronic device, the computer-readable storage medium, the computer program product, or the chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects in the corresponding methods provided above, which will not be repeated here.

通过以上实施方式的描述,所属技术领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明。实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can understand that, for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to requirements, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

应该理解到,本申请所提供的几个实施例中所揭露的装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的。例如,模块或单元的划分,仅仅为一种逻辑功能划分。实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置。另外,一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。It should be understood that the apparatuses and methods disclosed in the several embodiments provided in this application may be implemented in other manners. The apparatus embodiments described above are merely illustrative. For example, the division of modules or units is only for one logical function. In actual implementation, there may be other division manners, for example, multiple units or components may be combined or integrated into another device. Additionally, some features can be ignored, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是物理上分开的,也可以不是物理上分开的。作为单元显示的部件可以是一个物理单元或多个物理单元。即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要,选择其中的部分或者全部单元来实现本方案的目的。Units described as separate components may or may not be physically separate. A component shown as a unit can be one physical unit or multiple physical units. That is, it can be located in one place, or it can be distributed in many different places. According to actual needs, some or all of the units can be selected to achieve the purpose of this solution.

另外,本申请各个实施例中的各功能单元,可以集成在一个处理单元中;也可以单独物理存在;还可以是部分单元集成在一个单元中,部分单元单独物理存在。上述集成的单 元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in the various embodiments of the present application may be integrated in a processing unit; may also exist physically independently; or some units may be integrated in one unit, and some units may physically exist independently. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software functional units.

集成的单元若以软件功能单元的形式实现,并作为独立的产品销售或使用时,则可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例技术方案的全部或部分可以以软件产品的形式体现出来。该软件产品存储在一个存储介质中。该软件产品包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium. Based on such understanding, all or part of the technical solutions of the embodiments of the present application may be embodied in the form of software products. The software product is stored on a storage medium. The software product includes several instructions for causing a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

需要说明的是,本申请提供的上述各个实施例的全部或部分(比如,任意特征的部分或全部),均可以任意地、相互地组合或结合使用。组合或结合后的技术方案也属于本申请记载的方案。It should be noted that, all or part of the above-mentioned embodiments provided in this application (for example, part or all of any feature) can be arbitrarily, mutually combined or used in combination. The combined or combined technical solutions also belong to the solutions described in this application.

以上内容仅为本申请的具体实施方式,但本申请的保护范围并不局限于此。任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。The above contents are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application, which should be covered by the protection scope of this application.

Claims (24)

一种第二电子设备,其特征在于,所述第二电子设备与第一电子设备预先协商有在所述第一电子设备处于低功耗状态下,唤醒所述第一电子设备的第一方式;所述第二电子设备处于工作状态下的时长,多于所述第一电子设备处于工作状态下的时长;所述第二电子设备确定所述第一电子设备处于低功耗状态下;所述第二电子设备包括:A second electronic device, characterized in that the second electronic device and the first electronic device pre-negotiate a first method for waking up the first electronic device when the first electronic device is in a low power consumption state ; the duration that the second electronic device is in a working state is longer than the duration that the first electronic device is in a working state; the second electronic device determines that the first electronic device is in a low power consumption state; The second electronic device includes: 处理器;processor; 存储器;memory; 以及计算机程序,其中所述计算机程序存储在所述存储器上,当所述计算机程序被所述处理器执行时,使得所述第二电子设备执行以下步骤:and a computer program, wherein the computer program is stored on the memory and, when executed by the processor, causes the second electronic device to perform the following steps: 接收到一个语音输入;received a voice input; 通过所述第一方式,向所述第一电子设备发送唤醒信号;所述唤醒信号用于将所述第一电子设备从低功耗状态唤醒为工作状态;In the first manner, a wake-up signal is sent to the first electronic device; the wake-up signal is used to wake up the first electronic device from a low power consumption state to a working state; 其中,所述第一电子设备在低功耗状态下的功耗低于所述第一电子设备在工作状态下的功耗;所述语音输入包括所述第一电子设备的唤醒词或指示由所述第一电子设备执行的词;所述第一方式不同于语音输出的方式。Wherein, the power consumption of the first electronic device in the low power consumption state is lower than the power consumption of the first electronic device in the working state; the voice input includes a wake-up word or an instruction of the first electronic device by Words executed by the first electronic device; the first manner is different from the manner of voice output. 根据权利要求1所述的第二电子设备,其特征在于,所述第二电子设备确定所述第一电子设备处于低功耗状态下;包括:The second electronic device according to claim 1, wherein the second electronic device determines that the first electronic device is in a low power consumption state; comprising: 所述第二电子设备接收到来自所述第一电子设备的第一告知消息;所述第一告知消息用于告知所述第一电子设备进入低功耗状态。The second electronic device receives a first notification message from the first electronic device; the first notification message is used to notify the first electronic device to enter a low power consumption state. 根据权利要求1或2所述的第二电子设备,其特征在于,在通过所述第一方式,向所述第一电子设备发送唤醒信号之后,所述第二电子设备还执行:The second electronic device according to claim 1 or 2, wherein after sending a wake-up signal to the first electronic device through the first method, the second electronic device further executes: 向所述第一电子设备发送所述语音输入指示的语音指令;所述语音指令用于指示所述第一电子设备执行具体的操作。Send a voice instruction indicated by the voice input to the first electronic device; the voice instruction is used to instruct the first electronic device to perform a specific operation. 根据权利要求1-3中任意一项所述的第二电子设备,其特征在于,所述第一方式包括以下的至少一种:蓝牙方式和超声波方式。The second electronic device according to any one of claims 1-3, wherein the first method includes at least one of the following: a Bluetooth method and an ultrasonic method. 根据权利要求1-4中任意一项所述的第二电子设备,其特征在于,所述第二电子设备与第一电子设备预先建立有第一通道,且所述第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;所述第二电子设备通过所述第一通道,接收所述第一告知消息。The second electronic device according to any one of claims 1-4, wherein a first channel is pre-established between the second electronic device and the first electronic device, and the first channel includes at least the following: One: a Bluetooth channel and a Wi-Fi channel; the second electronic device receives the first notification message through the first channel. 一种第二电子设备,其特征在于,所述第二电子设备包括:A second electronic device, characterized in that the second electronic device comprises: 处理器;processor; 存储器;memory; 以及计算机程序,其中所述计算机程序存储在所述存储器上,当所述计算机程序被所述处理器执行时,使得所述第二电子设备执行以下步骤:and a computer program, wherein the computer program is stored on the memory and, when executed by the processor, causes the second electronic device to perform the following steps: 接收到来自第一电子设备的第一消息;receiving a first message from a first electronic device; 响应于所述第一消息,向所述第一电子设备发送第一响应消息;In response to the first message, sending a first response message to the first electronic device; 与所述第一电子设备建立第一通道;所述第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;establishing a first channel with the first electronic device; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; 与所述第一电子设备协商确定,在所述第一电子设备处于低功耗状态下,所述第 二电子设备唤醒所述第一电子设备的第一方式;negotiating with the first electronic device to determine, when the first electronic device is in a low power consumption state, the first manner in which the second electronic device wakes up the first electronic device; 接收到来自所述第一电子设备的第一告知消息;所述第一告知消息用于告知所述第一电子设备进入低功耗状态;receiving a first notification message from the first electronic device; the first notification message is used to notify the first electronic device to enter a low power consumption state; 接收到一个语音输入;received a voice input; 通过所述第一方式,向所述第一电子设备发送唤醒信号;所述唤醒信号用于将所述第一电子设备从低功耗状态唤醒为工作状态;In the first manner, a wake-up signal is sent to the first electronic device; the wake-up signal is used to wake up the first electronic device from a low power consumption state to a working state; 其中,所述第一电子设备在低功耗状态下的功耗低于所述第一电子设备在工作状态下的功耗;所述语音输入包括所述第一电子设备的唤醒词或指示由所述第一电子设备执行的词;所述第一方式不同于语音输出的方式。Wherein, the power consumption of the first electronic device in the low power consumption state is lower than the power consumption of the first electronic device in the working state; the voice input includes a wake-up word or an instruction of the first electronic device by Words executed by the first electronic device; the first manner is different from the manner of voice output. 一种第一电子设备,其特征在于,所述第一电子设备与第二电子设备预先协商有在所述第一电子设备处于低功耗状态下,所述第二电子设备唤醒所述第一电子设备的第一方式;所述第二电子设备处于工作状态下的时长,多于所述第一电子设备处于工作状态下的时长;所述第二电子设备确定所述第一电子设备处于低功耗状态下;所述第一电子设备包括:A first electronic device, characterized in that the first electronic device and the second electronic device negotiate in advance that when the first electronic device is in a low power consumption state, the second electronic device wakes up the first electronic device The first mode of the electronic device; the duration of the second electronic device in the working state is longer than the duration of the first electronic device in the working state; the second electronic device determines that the first electronic device is in a low state In a power consumption state; the first electronic device includes: 处理器;processor; 存储器;memory; 以及计算机程序,其中所述计算机程序存储在所述存储器上,当所述计算机程序被所述处理器执行时,使得所述第一电子设备执行以下步骤:and a computer program, wherein the computer program is stored on the memory and, when executed by the processor, causes the first electronic device to perform the following steps: 在执行完最后一个用户命令的第一预设时长内,未接收到用户输入,向所述第二电子设备发送第一告知消息;所述第一告知消息用于告知所述第一电子设备进入低功耗状态;If no user input is received within the first preset time period after the last user command is executed, a first notification message is sent to the second electronic device; the first notification message is used to notify the first electronic device to enter the low power state; 所述第一电子设备进入低功耗状态;the first electronic device enters a low power consumption state; 通过所述第一方式,接收到来自所述第二电子设备的唤醒信号;receiving a wake-up signal from the second electronic device in the first manner; 响应于所述唤醒信号,所述第一电子设备从所述低功耗状态切换至所述工作状态;In response to the wake-up signal, the first electronic device switches from the low power consumption state to the working state; 其中,在所述低功耗状态下,所述第一电子设备仅能接收信号,且仅能接收通过所述第一方式传输的信号;所述第一方式不同于语音输入的方式。Wherein, in the low power consumption state, the first electronic device can only receive signals, and can only receive signals transmitted through the first mode; the first mode is different from the voice input mode. 根据权利要求7所述的第一电子设备,其特征在于,在第一电子设备从所述低功耗状态切换至所述工作状态之后,所述第一电子设备还执行:The first electronic device according to claim 7, wherein after the first electronic device switches from the low power consumption state to the working state, the first electronic device further executes: 接收到来自所述第二电子设备的所述语音输入指示的语音指令;receiving a voice instruction indicated by the voice input from the second electronic device; 响应于所述语音指令,所述第一电子设备执行所述语音指令指示的具体的操作。In response to the voice instruction, the first electronic device performs the specific operation indicated by the voice instruction. 根据权利要求7或8所述的第一电子设备,其特征在于,所述第一方式包括以下的至少一种:蓝牙方式和超声波方式。The first electronic device according to claim 7 or 8, wherein the first method includes at least one of the following: a Bluetooth method and an ultrasonic method. 一种第一电子设备,其特征在于,所述第一电子设备包括:A first electronic device, characterized in that the first electronic device comprises: 处理器;processor; 存储器;memory; 以及计算机程序,其中所述计算机程序存储在所述存储器上,当所述计算机程序被所述处理器执行时,使得所述第一电子设备执行以下步骤:and a computer program, wherein the computer program is stored on the memory and, when executed by the processor, causes the first electronic device to perform the following steps: 接收到一个输入;received an input; 响应于所述输入,广播第一消息;in response to the input, broadcasting a first message; 接收到来自第二电子设备的第一响应消息;receiving a first response message from the second electronic device; 与所述第二电子设备建立第一通道;所述第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;establishing a first channel with the second electronic device; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; 与所述第二电子设备协商确定,在所述第一电子设备处于低功耗状态下,所述第二电子设备唤醒所述第一电子设备的第一方式;negotiating with the second electronic device to determine, when the first electronic device is in a low power consumption state, the first manner in which the second electronic device wakes up the first electronic device; 在执行完最后一个用户命令的第一预设时长内,未接收到用户输入,向所述第二电子设备发送第一告知消息;所述第一告知消息用于告知所述第一电子设备进入低功耗状态;If no user input is received within the first preset time period after the last user command is executed, a first notification message is sent to the second electronic device; the first notification message is used to notify the first electronic device to enter the low power state; 所述第一电子设备进入低功耗状态;the first electronic device enters a low power consumption state; 通过所述第一方式,接收到来自所述第二电子设备的唤醒信号;receiving a wake-up signal from the second electronic device in the first manner; 响应于所述唤醒信号,所述第一电子设备从所述低功耗状态切换至工作状态;In response to the wake-up signal, the first electronic device switches from the low power consumption state to an operating state; 其中,在所述低功耗状态下,所述第一电子设备仅能接收信号,且仅能接收通过所述第一方式传输的信号;所述第一方式不同于语音输入的方式。Wherein, in the low power consumption state, the first electronic device can only receive signals, and can only receive signals transmitted through the first mode; the first mode is different from the voice input mode. 根据权利要求10所述的第一电子设备,其特征在于,在接收到来自所述第二电子设备的第一响应消息之后,且在与所述第二电子设备建立第一通道之前,所述第一电子设备还执行:The first electronic device according to claim 10, wherein after receiving the first response message from the second electronic device and before establishing the first channel with the second electronic device, the The first electronic device also performs: 确定所述第一电子设备与所述第二电子设备处于同一房间或同一房屋。It is determined that the first electronic device and the second electronic device are in the same room or the same house. 一种协同唤醒第一电子设备的方法,应用于第二电子设备;其特征在于,所述第二电子设备与第一电子设备预先协商有在所述第一电子设备处于低功耗状态下,唤醒所述第一电子设备的第一方式;所述第二电子设备处于工作状态下的时长,多于所述第一电子设备处于工作状态下的时长;所述第二电子设备确定所述第一电子设备处于低功耗状态下;所述方法包括:A method for collaboratively waking up a first electronic device, applied to a second electronic device; characterized in that, the second electronic device and the first electronic device pre-negotiate that when the first electronic device is in a low power consumption state, a first way to wake up the first electronic device; the duration of the second electronic device in a working state is longer than the duration of the first electronic device in a working state; the second electronic device determines the first electronic device An electronic device is in a low power consumption state; the method includes: 所述第二电子设备接收到一个语音输入;the second electronic device receives a voice input; 所述第二电子设备通过所述第一方式,向所述第一电子设备发送唤醒信号;所述唤醒信号用于将所述第一电子设备从低功耗状态唤醒为工作状态;The second electronic device sends a wake-up signal to the first electronic device in the first manner; the wake-up signal is used to wake up the first electronic device from a low power consumption state to a working state; 其中,所述第一电子设备在低功耗状态下的功耗低于所述第一电子设备在工作状态下的功耗;所述语音输入包括所述第一电子设备的唤醒词或指示由所述第一电子设备执行的词;所述第一方式不同于语音输出的方式。Wherein, the power consumption of the first electronic device in the low power consumption state is lower than the power consumption of the first electronic device in the working state; the voice input includes a wake-up word or an instruction of the first electronic device by Words executed by the first electronic device; the first manner is different from the manner of voice output. 根据权利要求12所述的方法,其特征在于,所述第二电子设备确定所述第一电子设备处于低功耗状态下;包括:The method according to claim 12, wherein the second electronic device determines that the first electronic device is in a low power consumption state; comprising: 所述第二电子设备接收到来自所述第一电子设备的第一告知消息;所述第一告知消息用于告知所述第一电子设备进入低功耗状态。The second electronic device receives a first notification message from the first electronic device; the first notification message is used to notify the first electronic device to enter a low power consumption state. 根据权利要求12或13所述的方法,其特征在于,在通过所述第一方式,向所述第一电子设备发送唤醒信号之后,所述方法还包括:The method according to claim 12 or 13, wherein after the wake-up signal is sent to the first electronic device in the first manner, the method further comprises: 向所述第一电子设备发送所述语音输入指示的语音指令;所述语音指令用于指示所述第一电子设备执行具体的操作。Send a voice instruction indicated by the voice input to the first electronic device; the voice instruction is used to instruct the first electronic device to perform a specific operation. 根据权利要求12-14中任意一项所述的方法,其特征在于,所述第一方式包括以下的至少一种:蓝牙方式和超声波方式。The method according to any one of claims 12-14, wherein the first method includes at least one of the following: a Bluetooth method and an ultrasonic method. 根据权利要求12-15中任意一项所述的方法,其特征在于,所述第二电子设 备与第一电子设备预先建立有第一通道,且所述第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;所述第二电子设备通过所述第一通道,接收所述第一告知消息。The method according to any one of claims 12-15, wherein a first channel is pre-established between the second electronic device and the first electronic device, and the first channel includes at least one of the following: A Bluetooth channel and a Wi-Fi channel; the second electronic device receives the first notification message through the first channel. 一种协同唤醒第一电子设备的方法,应用于第二电子设备;其特征在于,所述方法包括:A method for cooperatively waking up a first electronic device, applied to a second electronic device; characterized in that the method comprises: 所述第二电子设备接收到来自第一电子设备的第一消息;the second electronic device receives the first message from the first electronic device; 响应于所述第一消息,所述第二电子设备向所述第一电子设备发送第一响应消息;In response to the first message, the second electronic device sends a first response message to the first electronic device; 所述第二电子设备与所述第一电子设备建立第一通道;所述第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;The second electronic device establishes a first channel with the first electronic device; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; 所述第二电子设备与所述第一电子设备协商确定,在所述第一电子设备处于低功耗状态下,所述第二电子设备唤醒所述第一电子设备的第一方式;The second electronic device negotiates with the first electronic device to determine, when the first electronic device is in a low power consumption state, the first manner in which the second electronic device wakes up the first electronic device; 所述第二电子设备接收到来自所述第一电子设备的第一告知消息;所述第一告知消息用于告知所述第一电子设备进入低功耗状态;the second electronic device receives a first notification message from the first electronic device; the first notification message is used to notify the first electronic device to enter a low power consumption state; 所述第二电子设备接收到一个语音输入;the second electronic device receives a voice input; 所述第二电子设备通过所述第一方式,向所述第一电子设备发送唤醒信号;所述唤醒信号用于将所述第一电子设备从低功耗状态唤醒为工作状态;The second electronic device sends a wake-up signal to the first electronic device in the first manner; the wake-up signal is used to wake up the first electronic device from a low power consumption state to a working state; 其中,所述第一电子设备在低功耗状态下的功耗低于所述第一电子设备在工作状态下的功耗;所述语音输入包括所述第一电子设备的唤醒词或指示由所述第一电子设备执行的词;所述第一方式不同于语音输出的方式。Wherein, the power consumption of the first electronic device in the low power consumption state is lower than the power consumption of the first electronic device in the working state; the voice input includes a wake-up word or an instruction of the first electronic device by Words executed by the first electronic device; the first manner is different from the manner of voice output. 一种协同唤醒第一电子设备的方法,应用于第一电子设备;其特征在于,所述第一电子设备与第二电子设备预先协商有在所述第一电子设备处于低功耗状态下,所述第二电子设备唤醒所述第一电子设备的第一方式;所述第二电子设备处于工作状态下的时长,多于所述第一电子设备处于工作状态下的时长;所述第二电子设备确定所述第一电子设备处于低功耗状态下;所述方法包括:A method for coordinating wake-up of a first electronic device, applied to the first electronic device; a first way for the second electronic device to wake up the first electronic device; the duration of the second electronic device being in a working state is longer than the duration of the first electronic device being in a working state; the second electronic device is in a working state The electronic device determines that the first electronic device is in a low power consumption state; the method includes: 所述第一电子设备在执行完最后一个用户命令的第一预设时长内,未接收到用户输入,向所述第二电子设备发送第一告知消息;所述第一告知消息用于告知所述第一电子设备进入低功耗状态;The first electronic device does not receive user input within the first preset time period after the last user command is executed, and sends a first notification message to the second electronic device; the first notification message is used to notify all the first electronic device enters a low power consumption state; 所述第一电子设备进入低功耗状态;the first electronic device enters a low power consumption state; 所述第一电子设备通过所述第一方式,接收到来自所述第二电子设备的唤醒信号;The first electronic device receives a wake-up signal from the second electronic device in the first manner; 响应于所述唤醒信号,所述第一电子设备从所述低功耗状态切换至所述工作状态;In response to the wake-up signal, the first electronic device switches from the low power consumption state to the working state; 其中,在所述低功耗状态下,所述第一电子设备仅能接收信号,且仅能接收通过所述第一方式传输的信号;所述第一方式不同于语音输入的方式。Wherein, in the low power consumption state, the first electronic device can only receive signals, and can only receive signals transmitted through the first mode; the first mode is different from the voice input mode. 根据权利要求18所述的方法,其特征在于,在第一电子设备从所述低功耗状态切换至所述工作状态之后,所述方法还包括:The method according to claim 18, wherein after the first electronic device is switched from the low power consumption state to the working state, the method further comprises: 所述第一电子设备接收到来自所述第二电子设备的所述语音输入指示的语音指令;the first electronic device receives a voice instruction indicated by the voice input from the second electronic device; 响应于所述语音指令,所述第一电子设备执行所述语音指令指示的具体的操作。In response to the voice instruction, the first electronic device performs the specific operation indicated by the voice instruction. 根据权利要求18或19所述的方法,其特征在于,所述第一方式包括以下的至少一种:蓝牙方式和超声波方式。The method according to claim 18 or 19, wherein the first method comprises at least one of the following: a Bluetooth method and an ultrasonic method. 一种协同唤醒第一电子设备的方法,应用于第一电子设备;其特征在于,所述方法包括:A method for collaboratively waking up a first electronic device, applied to the first electronic device; characterized in that the method comprises: 所述第一电子设备接收到一个输入;the first electronic device receives an input; 响应于所述输入,所述第一电子设备广播第一消息;In response to the input, the first electronic device broadcasts a first message; 所述第一电子设备接收到来自第二电子设备的第一响应消息;the first electronic device receives the first response message from the second electronic device; 所述第一电子设备与所述第二电子设备建立第一通道;所述第一通道包括以下的至少一种:蓝牙通道和Wi-Fi通道;The first electronic device establishes a first channel with the second electronic device; the first channel includes at least one of the following: a Bluetooth channel and a Wi-Fi channel; 所述第一电子设备与所述第二电子设备协商确定,在所述第一电子设备处于低功耗状态下,所述第二电子设备唤醒所述第一电子设备的第一方式;The first electronic device negotiates with the second electronic device to determine, when the first electronic device is in a low power consumption state, the first manner in which the second electronic device wakes up the first electronic device; 所述第一电子设备在执行完最后一个用户命令的第一预设时长内,未接收到用户输入,向所述第二电子设备发送第一告知消息;所述第一告知消息用于告知所述第一电子设备进入低功耗状态;The first electronic device does not receive user input within the first preset time period after the last user command is executed, and sends a first notification message to the second electronic device; the first notification message is used to notify all the first electronic device enters a low power consumption state; 所述第一电子设备进入低功耗状态;the first electronic device enters a low power consumption state; 通过所述第一方式,所述第一电子设备接收到来自所述第二电子设备的唤醒信号;In the first manner, the first electronic device receives a wake-up signal from the second electronic device; 响应于所述唤醒信号,所述第一电子设备从所述低功耗状态切换至工作状态;In response to the wake-up signal, the first electronic device switches from the low power consumption state to an operating state; 其中,在所述低功耗状态下,所述第一电子设备仅能接收信号,且仅能接收通过所述第一方式传输的信号;所述第一方式不同于语音输入的方式。Wherein, in the low power consumption state, the first electronic device can only receive signals, and can only receive signals transmitted through the first mode; the first mode is different from the voice input mode. 根据权利要求21所述的方法,其特征在于,在接收到来自所述第二电子设备的第一响应消息之后,且在与所述第二电子设备建立第一通道之前,所述方法还包括:The method of claim 21, wherein after receiving the first response message from the second electronic device and before establishing the first channel with the second electronic device, the method further comprises : 确定所述第一电子设备与所述第二电子设备处于同一房间或同一房屋。It is determined that the first electronic device and the second electronic device are in the same room or the same house. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序在第二电子设备上运行时,使得所述第二电子设备执行如权利要求12-17中任意一项所述的方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed on a second electronic device, the second electronic device is made to execute the method as claimed in claim 12 - The method of any one of 17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序在第一电子设备上运行时,使得所述第一电子设备执行如权利要求18-21中任意一项所述的方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, when the computer program is executed on a first electronic device, the first electronic device is made to execute the method as claimed in claim 18 - The method of any one of 21.
PCT/CN2022/081795 2021-03-22 2022-03-18 Method for cooperatively waking up first electronic device and first electronic device Ceased WO2022199497A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110304436.X 2021-03-22
CN202110304436.XA CN115116438A (en) 2021-03-22 2021-03-22 Method for cooperatively waking up first electronic device and first electronic device

Publications (1)

Publication Number Publication Date
WO2022199497A1 true WO2022199497A1 (en) 2022-09-29

Family

ID=83322803

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/081795 Ceased WO2022199497A1 (en) 2021-03-22 2022-03-18 Method for cooperatively waking up first electronic device and first electronic device

Country Status (2)

Country Link
CN (1) CN115116438A (en)
WO (1) WO2022199497A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119418695A (en) * 2022-11-16 2025-02-11 荣耀终端有限公司 Method for waking up application program and electronic device
CN116719401A (en) * 2023-08-10 2023-09-08 北京小米移动软件有限公司 Power supply control method and device, electronic equipment, storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107919119A (en) * 2017-11-16 2018-04-17 百度在线网络技术(北京)有限公司 Method, apparatus, equipment and the computer-readable medium of more equipment interaction collaborations
CN108564947A (en) * 2018-03-23 2018-09-21 北京小米移动软件有限公司 The method, apparatus and storage medium that far field voice wakes up
CN109377987A (en) * 2018-08-31 2019-02-22 百度在线网络技术(北京)有限公司 Exchange method, device, equipment and the storage medium of intelligent sound equipment room
CN110459221A (en) * 2019-08-27 2019-11-15 苏州思必驰信息科技有限公司 Method and device for multi-device cooperative voice interaction
US20200219485A1 (en) * 2019-01-03 2020-07-09 Realtek Semiconductor Corporation Processing system and voice detection method
CN111724780A (en) * 2020-06-12 2020-09-29 北京小米松果电子有限公司 Device awakening method and device, electronic device and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888556B (en) * 2012-12-24 2017-07-14 华为终端有限公司 A kind of control method of domestic terminal apparatus and domestic terminal apparatus
CN106027806A (en) * 2016-07-25 2016-10-12 乐视控股(北京)有限公司 Smart home device control method and mobile terminal
US10373630B2 (en) * 2017-03-31 2019-08-06 Intel Corporation Systems and methods for energy efficient and low power distributed automatic speech recognition on wearable devices
CN116364076A (en) * 2017-07-04 2023-06-30 阿里巴巴集团控股有限公司 Processing method, control method, identification method and device thereof, and electronic equipment
WO2019031870A1 (en) * 2017-08-09 2019-02-14 엘지전자 주식회사 Method and apparatus for calling voice recognition service by using bluetooth low energy technology
CN110223691A (en) * 2019-06-11 2019-09-10 苏州思必驰信息科技有限公司 Voice wakes up the method for handover control and device of identification

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107919119A (en) * 2017-11-16 2018-04-17 百度在线网络技术(北京)有限公司 Method, apparatus, equipment and the computer-readable medium of more equipment interaction collaborations
CN108564947A (en) * 2018-03-23 2018-09-21 北京小米移动软件有限公司 The method, apparatus and storage medium that far field voice wakes up
CN109377987A (en) * 2018-08-31 2019-02-22 百度在线网络技术(北京)有限公司 Exchange method, device, equipment and the storage medium of intelligent sound equipment room
US20200219485A1 (en) * 2019-01-03 2020-07-09 Realtek Semiconductor Corporation Processing system and voice detection method
CN110459221A (en) * 2019-08-27 2019-11-15 苏州思必驰信息科技有限公司 Method and device for multi-device cooperative voice interaction
CN111724780A (en) * 2020-06-12 2020-09-29 北京小米松果电子有限公司 Device awakening method and device, electronic device and storage medium

Also Published As

Publication number Publication date
CN115116438A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
JP6742465B2 (en) Method, device and bluetooth speaker for continuous wakeup delay reduction in bluetooth speaker
CN112996089B (en) Data transmission method, device, storage medium and electronic device
CN115243398A (en) WiFi link sleep wake-up method, electronic device and system
CN111792465B (en) An elevator control system and method
JP2012501014A (en) USB remote wakeup
JP5773288B2 (en) Wake-up method, hot-swap method, and device based on high-speed interchip HSIC interface
KR20170012182A (en) Circuit, method and device for waking up master mcu
CN110018976B (en) Method for USB master device to respond to USB slave device and related device
WO2022199497A1 (en) Method for cooperatively waking up first electronic device and first electronic device
WO2020237946A1 (en) Bluetooth headset, communication method, system, electronic device, and computer medium
CN103746819B (en) A kind of terminal power-economizing method and terminal, system
CN114816026A (en) Low-power-consumption standby method, electronic equipment and computer-readable storage medium
CN110545499A (en) Communication method, device and chip thereof, device to be charged and system
CN109005582A (en) Transmission power adjusting method, device, electronic equipment and storage medium
JP2019185771A (en) Method, device for processing data of bluetooth speaker, and bluetooth speaker
US11061464B2 (en) Electronic device, method for reducing power consumption, and apparatus
CN113031749A (en) Electronic device
CN114245443A (en) Wake-up alignment method, system and related device
US20240205577A1 (en) Control method and electronic device
CN116886119A (en) Control method of vehicle-mounted intercom terminal, vehicle-mounted intercom terminal and storage medium
CN116419359A (en) Bluetooth control method and device
CN117116258A (en) Voice awakening method and electronic equipment
WO2015007028A1 (en) Control method and control device for sensors
CN115309691A (en) Audio playback method, device, equipment, storage medium and program product
CN114898745A (en) Voice interaction method and device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22774158

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22774158

Country of ref document: EP

Kind code of ref document: A1