CN113900714A - Electronic equipment and nearby awakening method and device thereof - Google Patents

Electronic equipment and nearby awakening method and device thereof Download PDF

Info

Publication number
CN113900714A
CN113900714A CN202010575291.2A CN202010575291A CN113900714A CN 113900714 A CN113900714 A CN 113900714A CN 202010575291 A CN202010575291 A CN 202010575291A CN 113900714 A CN113900714 A CN 113900714A
Authority
CN
China
Prior art keywords
wake
communication link
information
awakening
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010575291.2A
Other languages
Chinese (zh)
Inventor
罗奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010575291.2A priority Critical patent/CN113900714A/en
Publication of CN113900714A publication Critical patent/CN113900714A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the specification relates to a nearby awakening method and device for electronic equipment and the electronic equipment. The method comprises the following steps: receiving wake-up information from a plurality of slave devices; wherein the wake-up information at least comprises a device ID of the slave device and a wake-up information energy value; the wake-up information is sent by the slave device through a first communication link and a second communication link; the communication time of the first communication link and the second communication link is different; comparing the awakening information energy values of the slave devices, and determining the slave device with the largest awakening information energy value as a device to be awakened; and sending a wake-up message to each slave device, wherein the wake-up message comprises the device ID of the device to be woken up. According to the embodiment of the specification, the awakening time of the electronic equipment can be shortened, the communication reliability is improved, and therefore the user experience is improved.

Description

Electronic equipment and nearby awakening method and device thereof
Technical Field
The embodiment of the present specification relates to the technical field of network communication, and more particularly, to a nearby wake-up method for an electronic device, a nearby wake-up apparatus for an electronic device, and a computer-readable storage medium.
Background
The nearby wake-up means that when a user is in the range of a plurality of intelligent devices, only the intelligent device closest to the user responds to the user, so that the situation that all the devices respond to the user when the user wakes up the intelligent devices is avoided.
When a plurality of intelligent devices are in the same local area network, each intelligent device can perform local communication through a wireless router, wherein one intelligent device serves as a master device, other intelligent devices serve as slave devices, and the master device is used for analyzing messages and deciding which device is awakened.
However, in the actual use process of the user, the data forwarding delay is often too long due to the overload of the wireless router, so that the timeout wake-up time of the smart device needs to be set longer to wait for the decision message of the main device, so as to avoid that multiple smart devices are simultaneously woken up. In addition, some wireless routers have an AP isolation mode, which may cause the intelligent devices in the wireless lan to be unable to communicate with each other through the wireless router, and further cause the nearby wake-up function to fail.
The above-mentioned problems of the prior art may result in a poor user experience. Therefore, there is a need to provide a new method for waking up an electronic device nearby.
Disclosure of Invention
It is an object of embodiments of the present specification to provide a new solution for a nearby wake-up of an electronic device.
According to a first aspect of embodiments herein, there is provided a method for nearby wake-up of an electronic device, including:
receiving wake-up information from a plurality of slave devices;
wherein the wake-up information at least comprises a device ID of the slave device and a wake-up information energy value; the wake-up information is sent by the slave device through a first communication link and a second communication link; the communication time of the first communication link and the second communication link is different;
comparing the awakening information energy values of the slave devices, and determining the slave device with the largest awakening information energy value as a device to be awakened;
and sending a wake-up message to each slave device, wherein the wake-up message comprises the device ID of the device to be woken up.
Optionally, the step of comparing the magnitudes of the wakeup information energy values of the slave devices includes:
and for the awakening information with the same equipment ID, carrying out relatively small processing by using the energy value of the awakening information in the awakening information received firstly.
Optionally, the step of sending a wake-up message to each slave device includes:
sending the wake-up message to each of the slave devices over the first communication link and the second communication link.
Optionally, wherein the first communication link is a wireless local area network communication link; the second communication link is a WiFi Mesh network communication link.
According to a second aspect of embodiments herein, there is provided a method of nearby wake-up of an electronic device, comprising:
acquiring an awakening information energy value;
sending wake-up information to the main device through the first communication link and the second communication link; the awakening information at least comprises a device ID and an awakening information energy value;
receiving a wake-up message from the main device, wherein the wake-up message comprises a device ID of the device to be woken up;
and executing equipment awakening operation according to the awakening message.
Optionally, the step of performing a device wake-up operation according to the wake-up message includes:
judging whether the equipment ID of the equipment to be awakened in the awakening message is the same as the equipment ID of the equipment to be awakened;
if the equipment awakening operation is the same as the equipment awakening operation, executing the equipment awakening operation according to the awakening message;
and if not, not executing the equipment awakening operation.
Optionally, wherein the first communication link is a wireless local area network communication link; the second communication link is a WiFi Mesh network communication link.
According to a third aspect of embodiments herein, there is provided a nearby wake-up apparatus of an electronic device, comprising:
a receiving module, configured to receive wake-up information from a plurality of slave devices;
wherein the wake-up information at least comprises a device ID of the slave device and a wake-up information energy value; the wake-up information is sent by the slave device through a first communication link and a second communication link; the communication time of the first communication link and the second communication link is different;
the comparison module is used for comparing the sizes of the awakening information energy values of the slave devices and determining the slave device with the largest awakening information energy value as the device to be awakened;
a sending module, configured to send a wake-up message to each slave device, where the wake-up message includes a device ID of the device to be woken up.
According to a fourth aspect of embodiments herein, there is provided a nearby wake-up apparatus of an electronic device, comprising:
the acquisition module is used for acquiring the energy value of the awakening information;
the sending module is used for sending the awakening information to the main equipment through the first communication link and the second communication link; the awakening information at least comprises a device ID and an awakening information energy value;
a receiving module, configured to receive a wake-up message from the master device, where the wake-up message includes a device ID of the device to be woken up;
and the awakening module is used for executing equipment awakening operation according to the awakening message.
According to a fifth aspect of embodiments herein, there is provided an electronic device including the nearby wake-up apparatus of the electronic device according to the third aspect of embodiments herein, or the electronic device includes:
a memory for storing executable commands;
a processor configured to execute the method of waking up an electronic device in proximity according to any of the first aspect of the embodiments of the present specification, under the control of the executable command.
According to a sixth aspect of embodiments herein, there is provided an electronic device including the nearby wake-up apparatus of the electronic device as described in the fourth aspect of embodiments herein, or the electronic device includes:
a memory for storing executable commands;
a processor configured to execute the method of waking up an electronic device in proximity according to any of the second aspect of the embodiments of the present specification under the control of the executable command.
According to a seventh aspect of the embodiments of the present specification, there is further provided a computer-readable storage medium storing executable instructions, which when executed by a processor, perform the method for waking up an electronic device nearby according to the first aspect of the embodiments of the present specification.
According to an eighth aspect of the embodiments of the present specification, there is also provided a computer-readable storage medium storing executable instructions that, when executed by a processor, perform the method for waking up an electronic device nearby according to the second aspect of the embodiments of the present specification.
One advantage of the embodiments of the present specification is that the method of the present embodiment receives wake-up information from a plurality of slave devices; wherein the wake-up information at least comprises a device ID of the slave device and a wake-up information energy value; the wake-up information is sent by the slave device through a first communication link and a second communication link; the communication time of the first communication link and the second communication link is different; comparing the awakening information energy values of the slave devices, and determining the slave device with the largest awakening information energy value as a device to be awakened; and sending a wake-up message to each slave device, wherein the wake-up message comprises the device ID of the device to be woken up. According to the embodiment of the specification, the awakening time of the electronic equipment can be shortened, the communication reliability is improved, and therefore the user experience is improved.
Other features of embodiments of the present specification and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description, serve to explain the principles of the embodiments of the specification.
FIG. 1 is a schematic view of a scenario of a wake-up scenario of an electronic device in the prior art;
fig. 2 is a schematic view of a scenario of a method for waking up an electronic device nearby in an embodiment of the present specification;
fig. 3 is a block diagram showing a hardware configuration of an electronic apparatus 1000 that can implement an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for waking up an electronic device nearby, which is performed by a main device in an embodiment of the present specification;
FIG. 5 is a schematic block diagram of a nearby wake-up unit of an electronic device disposed within a host device in accordance with an embodiment of the present description;
FIG. 6 shows a schematic block diagram of an electronic device according to the method embodiment of FIG. 4;
fig. 7 is a flowchart illustrating a method for waking up an electronic device nearby performed by a slave device in an embodiment of the present specification;
FIG. 8 is a schematic block diagram of a nearby wake-up unit of an electronic device disposed within a slave device in accordance with an embodiment of the present description;
fig. 9 shows a schematic block diagram of an electronic device according to the method embodiment of fig. 7.
Detailed Description
Various exemplary embodiments of the present specification will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the embodiments of the present specification unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the embodiments, their application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a schematic view of a scenario of a wake-up scheme of an electronic device in the related art.
Referring to fig. 1, a wireless router, a slave device 1, a slave device 2, and a master device are included in a wireless local area network. When the user wants to wake up the electronic device, the slave device 1 and the slave device 2 respectively transmit the energy value of the wake-up information to the wireless router through the wireless lan communication channels R2 and R3, and the wake-up information is forwarded to the master device by the wireless router through the wireless lan communication channel R1. The master device makes a wake-up decision by comparing the wake-up information energy value received by the master device itself with the wake-up information energy values sent from the slave device 1 and the slave device 2, that is, determines the device to be woken up. Assuming that the wake-up information energy value of slave device 1 is maximum, the master device informs the wake-up decision to slave device 1 and slave device 2 over the wireless lan communication links R1+ R2, R1+ R3. The slave device 1 performs a wake-up operation according to the received wake-up decision.
However, in the above scheme, the magnitude of the delay of communication or the possibility of communication between the slave device and the master device depends on the function of the wireless router. If the communication channel of the wireless router fails, the slave device cannot communicate with the master device at this time, so that the nearby wake-up function fails.
Based on this, the embodiments of the present specification propose a new method for waking up an electronic device nearby. Fig. 2 is a schematic view of a scenario of a method for waking up an electronic device nearby in an embodiment of the present disclosure.
As shown in fig. 2, the slave device 1 can communicate with the master device not only through the wireless local area network communication channel R2+ R1, but also through the communication channels M1, M2+ M3 of the WiFi Mesh network. Similarly, the slave device 2 may communicate with the master device through the wireless local area network communication channel R3+ R1, or may communicate with the master device through the WiFi Mesh communication channels M3 and M2+ M1.
Taking the slave device 1 as an example, the communication time of the direct communication link M1 will be shorter than the communication time of the wireless local area network communication link R2+ R1. The wake-up time of the electronic device can be shortened. Meanwhile, the master device and the slave device communicate with each other through the communication link of the wireless local area network and the WiFi Mesh network at the same time, so that the awakening information energy value of the slave device can be sent to the master device through the communication channel of the WiFi Mesh network when the wireless router fails; when a communication channel of the WiFi Mesh network fails, the awakening information energy value of the slave equipment can be sent to the master equipment through the wireless local area network communication channel. Therefore, the communication reliability is improved, and the user experience is improved.
Fig. 3 is a block diagram showing a hardware configuration of an electronic apparatus 1000 that can implement an embodiment of the present invention.
The electronic device 1000 may be a device having a wake-up function in the near vicinity, such as a smart device. As shown in fig. 3, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like.
The processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1400 is capable of wired or wireless communication, for example, and may specifically include Wifi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. A user can input/output voice information through the speaker 1700 and the microphone 1800.
The electronic device shown in fig. 3 is merely illustrative and is in no way meant to limit the invention, its application, or uses. In an embodiment of the present invention, the memory 1200 of the electronic device 1000 is used for storing instructions for controlling the processor 1100 to operate so as to execute the method for waking up an electronic device nearby provided by any one of the embodiments of the present invention. The electronic device 1000 may be a master device or a slave device when applied, and is not particularly limited herein.
It will be appreciated by those skilled in the art that although a plurality of means are shown for the electronic device 1000 in fig. 1, the present invention may relate to only some of the means therein, e.g. the electronic device 1000 relates to only the processor 1100 and the storage means 1200. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
< host device embodiment >
< method >
The present embodiment provides a method for waking up an electronic device nearby, which may be performed by the electronic device 1000 as shown in fig. 3, for example, where the electronic device 1000 is a master device when the method of the present embodiment is performed.
As shown in FIG. 4, the method comprises the following steps 2000-2200:
in step 2000, wake-up information from a plurality of slave devices is received.
It should be noted that the master device and the slave device may be set by a user, for example, the user may set according to a position relationship between the devices, or may determine after electing between the devices, which is not specifically limited in this embodiment.
The wake-up information received by the electronic device 1000 is obtained from the device when the device wake-up information is received. Wherein the wake-up information at least includes a device ID of the slave device and a wake-up information energy value. The device wake-up information is information for waking up the electronic device 1000, and in practical application, the device wake-up information may be, for example, a pre-agreed device wake-up word, and accordingly, the energy value of the wake-up information is an energy value of the wake-up word; the device wake-up information may also be, for example, infrared detection information, and correspondingly, the wake-up word energy value may be an infrared energy value; the device wake-up information may also be, for example, visual detection information and, correspondingly, the wake-up information energy value may be a visual image information energy value. And is not particularly limited herein.
The wake-up information received by the electronic device 1000 is sent by the slave device over the first communication link and the second communication link. The communication time of the first communication link and the second communication link may be different. The purpose of sending the wake-up information from the slave device to the master device via different communication links is to avoid that one of the communication links fails to communicate with the master device successfully.
In one example, the first communication link may be a wireless local area network communication link; the second communication link may be a WiFi Mesh network communication link. It should be noted that, the communication method between the devices may also be p2p/Softap communication, or bluetooth Mesh/Zigbee communication method, and an appropriate protocol may be selected for communication according to the actual application needs and the conditions of the devices themselves, which is not limited herein.
For example, after receiving the device wake-up information from both the slave device 1 and the slave device 2 and acquiring the corresponding wake-up information energy value, the slave device 1 transmits the wake-up information to the electronic device 1000 through the first communication link and the second communication link, and similarly, the slave device 2 also transmits the wake-up information to the electronic device 1000 through the first communication link and the second communication link. The wake-up information sent by the slave device 1 includes the device ID1 of the slave device 1 and a wake-up information energy value 1; the wake-up information transmitted from the slave device 2 includes the device ID2 of the slave device 2 and the wake-up information energy value 2.
In step 2100, comparing the wake-up information energy values of the slave devices, and determining the slave device with the largest wake-up information energy value as the device to be woken up.
For example, if the wake-up information energy value 1 of the slave device 1 is greater than the wake-up information energy value 2 of the slave device 2, the slave device 1 is determined as the device to be woken up. If the wakeup information energy value 1 of the slave device 1 is smaller than the wakeup information energy value 2 of the slave device 2, the slave device 2 is determined as a device to be woken up.
Since in practical applications both the slave device 1 and the slave device 2 have transmitted the wake-up information via the first communication link and the second communication link, the electronic device 1000 can receive the wake-up information from both the slave device 1 and the slave device 2 twice when neither the first communication link nor the second communication link has failed.
Therefore, in order to avoid the duplicate determination, the electronic device 1000 performs relatively small processing on the wake-up information having the same device ID, which is included therein, using the wake-up information energy value in the wake-up information received earlier.
For example, if the electronic device 1000 receives the wake-up message transmitted from the device 1 through the first communication link and the wake-up message transmitted from the device 2 through the second communication link, the electronic device receives the wake-up message energy value transmitted from the device 1 through the second communication link and the wake-up message transmitted from the device 2 through the first communication link. The electronic device 1000 compares the wakeup information energy value in the wakeup information transmitted from the device 1 through the first communication link with the wakeup information energy value in the wakeup information transmitted from the device 2 through the second communication link, and determines the device to be woken up according to the comparison result.
It is understood that the electronic device 1000 may directly discard the later received wake-up information energy value transmitted from the device 1 through the second communication link and the wake-up information transmitted from the device 2 through the first communication link.
Step 2200, sending a wake-up message to each slave device, where the wake-up message includes the device ID of the device to be woken up.
Specifically, the electronic device 1000 sends the wake-up message to each slave device through the first communication link and the second communication link. After receiving the wake-up message, each slave device judges whether to be woken up according to the device ID of the device to be woken up in the wake-up message. Thereby completing the nearby wake-up of the electronic device.
< apparatus >
The present embodiment provides a nearby wake-up device for an electronic device, which is, for example, the nearby wake-up device 3000 for an electronic device shown in fig. 5. As shown in fig. 5, the nearby wake-up apparatus 3000 of the electronic device may include a receiving module 3100, a comparing module 3200, and a transmitting module 3300.
The receiving module 3100 is configured to receive wake-up information from a plurality of slave devices; wherein, the wake-up message at least comprises the device ID of the slave device and the wake-up message energy value; the wake-up information is sent by the slave device through a first communication link and a second communication link; the first communication link and the second communication link have different communication times.
The comparing module 3200 is configured to compare the magnitudes of the wake-up information energy values of the slave devices, and determine the slave device with the largest wake-up information energy value as the device to be woken up.
A sending module 3300, configured to send a wake-up message to each slave device, where the wake-up message includes a device ID of the device to be woken up.
Wherein, the first communication link is a wireless local area network communication link; the second communication link is a WiFi Mesh network communication link.
In an example, the comparing module 3200 can be specifically configured to perform relatively small processing on the wake-up messages with the same device ID by using the energy value of the wake-up message in the wake-up message received first.
In an example, the sending module 3300 may be specifically configured to send the wake-up message to each slave device through the first communication link and the second communication link.
The nearby wake-up device of the electronic device of this embodiment may be used to implement the technical solutions of the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.
< electronic apparatus >
In this embodiment, an electronic device is further provided, where the electronic device includes the nearby wake-up device 3000 of the electronic device described in the apparatus embodiment of this specification; alternatively, the electronic device is the electronic device 4000 shown in fig. 6, and includes:
a memory 4100 for storing executable commands.
Processor 4200 is configured to perform methods described in any of the method embodiments herein under the control of executable commands stored in memory 4100.
< computer-readable storage Medium >
The present embodiments provide a computer-readable storage medium having stored therein an executable command that, when executed by a processor, performs a method described in any of the method embodiments of the present specification.
The method, apparatus and device of the present embodiments have been described with reference to the accompanying drawings and specific examples. The master device receives wake-up information from a plurality of slave devices; wherein, the wake-up message at least comprises the device ID of the slave device and the wake-up message energy value; the wake-up information is sent by the slave device through a first communication link and a second communication link; the first communication link and the second communication link have different communication times; comparing the sizes of the awakening information energy values of the slave devices, and determining the slave device with the largest awakening information energy value as a device to be awakened; and sending a wake-up message to each slave device, wherein the wake-up message comprises the device ID of the device to be woken up. According to the embodiment of the specification, the awakening time of the electronic equipment can be shortened, the communication reliability is improved, and therefore the user experience is improved.
< Slave device embodiment >
< method >
The present embodiment provides a method for waking up an electronic device nearby, which may be performed by the electronic device 1000 as shown in fig. 3, for example, where the electronic device 1000 is a slave device when the method of the present embodiment is performed.
As shown in FIG. 7, the method comprises the following steps of 5000-5300:
and step 5000, acquiring an awakening information energy value.
Specifically, the electronic device 1000 acquires the wakeup information energy value when receiving the device wakeup information. For example, when the user speaks a wake-up word within the sound pickup range of the electronic device 1000, the electronic device 1000 obtains a wake-up word energy value according to the wake-up word.
Step 5100, sending wake-up information to the master device through the first communication link and the second communication link; the wake-up message at least includes a device ID and a wake-up message energy value.
In one example, the first communication link is a wireless local area network communication link; the second communication link is a WiFi Mesh network communication link. It should be noted that, the communication method between the devices may also be p2p/Softap communication, or bluetooth Mesh/Zigbee communication method, and an appropriate protocol may be selected for communication according to the actual application needs and the conditions of the devices themselves, which is not limited herein. Thereby avoiding the failure of one of the communication links to successfully communicate with the master device when it fails. That is, it is ensured that the electronic device 1000 can successfully transmit the wake-up information energy value to the main device.
Step 5200, receiving a wake-up message from the master device, where the wake-up message includes the device ID of the device to be woken up.
Step 5300, perform a device wake-up operation according to the wake-up message.
After receiving the wake-up message, the electronic device 1000 determines whether the device ID of the device to be woken up in the wake-up message is the same as the device ID of the electronic device itself; if the same, executing the equipment awakening operation according to the awakening message; if not, the device wake-up operation is not performed.
For example, the device ID of the electronic device 1000 is 1. If the device ID of the device to be wakened in the wake-up message received by the electronic device 1000 is 1, the electronic device 1000 executes a wake-up operation. If the device ID of the device to be wakened in the wake-up message received by the electronic device 1000 is 2, which indicates that the device to be wakened is not the electronic device 1000 but another slave device in the network, the electronic device 1000 does not perform the wake-up operation.
< apparatus >
The present embodiment provides a nearby wake-up device of an electronic device, which is, for example, a nearby wake-up device 6000 of an electronic device shown in fig. 8. As shown in fig. 8, the nearby wake-up apparatus 6000 of the electronic device may include an obtaining module 6100, a sending module 6200, a receiving module 6300, and a wake-up module 6400.
The obtaining module 6100 is configured to obtain the energy value of the wake-up information.
A sending module 6200, configured to send the wake-up information to the primary device through the first communication link and the second communication link; the wake-up message at least includes a device ID and a wake-up message energy value.
A receiving module 6300, configured to receive a wake-up message from the master device, where the wake-up message includes a device ID of the device to be woken up.
And the wakeup module 6400 is configured to perform a device wakeup operation according to the wakeup message.
Wherein, the first communication link is a wireless local area network communication link; the second communication link is a WiFi Mesh network communication link.
In an example, the wake-up module 6400 may be specifically configured to determine whether the device ID of the device to be wakened in the wake-up message is the same as the device ID of the device itself; if the same, executing the equipment awakening operation according to the awakening message; if not, the device wake-up operation is not performed.
The nearby wake-up device of the electronic device of this embodiment may be used to implement the technical solutions of the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.
< electronic apparatus >
In this embodiment, an electronic device is further provided, where the electronic device includes a nearby wake-up device 6000 of the electronic device described in the apparatus embodiment of this specification; alternatively, the electronic device is the electronic device 7000 shown in fig. 9, and includes:
a memory 7100 for storing executable commands.
A processor 7200 configured to perform the methods described in any of the method embodiments of the specification under the control of executable commands stored in memory 7100.
< computer-readable storage Medium >
The present embodiments provide a computer-readable storage medium having stored therein an executable command that, when executed by a processor, performs a method described in any of the method embodiments of the present specification.
The method, apparatus and device of the present embodiments have been described with reference to the accompanying drawings and specific examples. The electronic equipment sends the awakening information to the main equipment through the first communication link and the second communication link by acquiring the awakening information energy value; the wake-up message at least comprises a device ID and a wake-up information energy value, and receives a wake-up message from the main device, wherein the wake-up message comprises the device ID of the device to be woken up and executes a device wake-up operation according to the wake-up message. Because the wake-up information is sent to the main device through the two different communication links, the main device can also receive the wake-up information when one communication link fails, so that the communication reliability is improved, and the user experience is improved.
< example >
The application scenario of this example can be specifically referred to as shown in fig. 2.
In this application scenario, the electronic device is, for example, a smart speaker device, as shown in fig. 2, and includes a smart speaker device 1, a smart speaker device 2, and a smart speaker device 3, where the smart speaker device 1 is a master device, the smart speaker device 2 is a slave device 1, and the smart speaker device 3 is a slave device 2, and communication among the smart speaker devices 1, 2, and 3 adopts a scheme in which a WiFi Mesh and a wireless local area network communication link coexist. The preset device wake-up information is, for example, a wake-up word, and the wake-up information includes an energy value of the wake-up word and a device ID when the smart speaker device receives the wake-up word.
Suppose that the user speaks a wake-up word at a position close to the smart speaker device 2, the smart speaker devices 1, 2, and 3 can all be woken up by the wake-up word, the smart speaker device 1 can determine the wake-up information received by itself, and the smart speaker devices 2 and 3 can simultaneously send the wake-up information to the smart speaker device 1 through the WiFi Mesh communication link and the wireless lan communication link.
In this example, if one of the two communication links fails, for example, if the wireless local area network communication link fails, the smart sound box device 1 may receive the wake-up message and send the wake-up message through the WiFi Mesh communication link. If the WiFi Mesh communication link fails, the smart speaker device 1 may receive the wake-up message and send the wake-up message through the wireless lan communication link. Therefore, by adopting the scheme that the WiFi Mesh and the wireless local area network communication link coexist, the failure rate of the awakening message can be greatly reduced.
If both the WiFi Mesh communication link and the wireless local area network communication link have no fault, the wake-up information can be sent on both communication links. The smart sound box device 1 may preferentially process the wake-up message that arrives first, and discard the repeated wake-up message that arrives later.
As shown in fig. 2, when the wake-up information of the smart sound box device 2 reaches the main device in the wireless lan network, the communication link is R1+ R2, and in the WiFi Mesh network, the smart sound box device 2 and the smart sound box device 1 may directly communicate with each other, and the communication link is M1. Situations such as the following occur:
A. the communication time of direct communication link M1 will be better than wireless lan link R1+ R2, and then the wake-up information of smart sound box device 2 will preferentially arrive at smart sound box device 1 through communication link M1, and smart sound box device 1 will preferentially process, while discarding the wake-up information of smart sound box device 2 through communication link R1+ R2. After the smart sound box device 1 compares the wakeup word energy value of itself with the wakeup word energy value of the smart sound box device 2 and the wakeup word energy value of the smart sound box device 3, the smart sound box device with the large wakeup word energy value is firstly awakened, the result is immediately fed back to all devices, and the awakening is performed by the maximum energy value, so that the shorter the consumption of the visible link is, the shorter the decision time is, and the faster the response time is.
B. Direct communication link M1 and wireless local area network link R1+ R2 lead to the communication failure because of the signal is weak, but in the wiFi Mesh network, intelligent audio amplifier device can forward data, namely, intelligent audio amplifier device 2 can send the information of awakening up to intelligent audio amplifier device 1 through intelligent audio amplifier device 3 and carry out the comparison decision, similarly, intelligent audio amplifier device 3 can send the information of awakening up to intelligent audio amplifier device 1 through intelligent audio amplifier device 2, very big guarantee the reliability of communication link, avoid the decision inefficacy.
Embodiments of the present description may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement aspects of embodiments of the specification.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations for embodiments of the present description may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), can execute computer-readable program instructions to implement various aspects of embodiments of the present specification by utilizing state information of the computer-readable program instructions to personalize the electronic circuit.
Aspects of embodiments of the present specification are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present description. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
The foregoing description of the embodiments of the present specification has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of embodiments of the present description is defined by the appended claims.

Claims (13)

1. A method of nearby wake-up of an electronic device, comprising:
receiving wake-up information from a plurality of slave devices;
wherein the wake-up information at least comprises a device ID of the slave device and a wake-up information energy value; the wake-up information is sent by the slave device through a first communication link and a second communication link; the communication time of the first communication link and the second communication link is different;
comparing the awakening information energy values of the slave devices, and determining the slave device with the largest awakening information energy value as a device to be awakened;
and sending a wake-up message to each slave device, wherein the wake-up message comprises the device ID of the device to be woken up.
2. The method of claim 1, wherein the step of comparing the magnitudes of the wakeup information energy values of the slave devices comprises:
and for the awakening information with the same equipment ID, carrying out relatively small processing by using the energy value of the awakening information in the awakening information received firstly.
3. The method of claim 1, wherein the step of sending a wake-up message to each slave device comprises:
sending the wake-up message to each of the slave devices over the first communication link and the second communication link.
4. The method of claim 1, wherein the first communication link is a wireless local area network communication link; the second communication link is a WiFimesh network communication link.
5. A method of nearby wake-up of an electronic device, comprising:
acquiring an awakening information energy value;
sending wake-up information to the main device through the first communication link and the second communication link; the awakening information at least comprises a device ID and an awakening information energy value;
receiving a wake-up message from the main device, wherein the wake-up message comprises a device ID of the device to be woken up;
and executing equipment awakening operation according to the awakening message.
6. The method of claim 5, wherein the performing a device wake-up operation according to the wake-up message comprises:
judging whether the equipment ID of the equipment to be awakened in the awakening message is the same as the equipment ID of the equipment to be awakened;
if the equipment awakening operation is the same as the equipment awakening operation, executing the equipment awakening operation according to the awakening message;
and if not, not executing the equipment awakening operation.
7. The method of claim 5, wherein the first communication link is a wireless local area network communication link; the second communication link is a WiFimesh network communication link.
8. A nearby wake-up apparatus of an electronic device, comprising:
a receiving module, configured to receive wake-up information from a plurality of slave devices;
wherein the wake-up information at least comprises a device ID of the slave device and a wake-up information energy value; the wake-up information is sent by the slave device through a first communication link and a second communication link; the communication time of the first communication link and the second communication link is different;
the comparison module is used for comparing the sizes of the awakening information energy values of the slave devices and determining the slave device with the largest awakening information energy value as the device to be awakened;
a sending module, configured to send a wake-up message to each slave device, where the wake-up message includes a device ID of the device to be woken up.
9. A nearby wake-up apparatus of an electronic device, comprising:
the acquisition module is used for acquiring the energy value of the awakening information;
the sending module is used for sending the awakening information to the main equipment through the first communication link and the second communication link; the awakening information at least comprises a device ID and an awakening information energy value;
a receiving module, configured to receive a wake-up message from the master device, where the wake-up message includes a device ID of the device to be woken up;
and the awakening module is used for executing equipment awakening operation according to the awakening message.
10. An electronic device comprising a nearby wake-up unit of an electronic device as claimed in claim 8, or comprising:
a memory for storing executable commands;
a processor for performing the method of nearby wake-up of an electronic device according to any of claims 1-4 under control of the executable command.
11. An electronic device comprising a nearby wake-up unit of an electronic device as claimed in claim 9, or comprising:
a memory for storing executable commands;
a processor for performing the method of nearby wake-up of an electronic device according to any of claims 5 to 7 under the control of the executable command.
12. A computer-readable storage medium storing executable instructions that, when executed by a processor, perform a method of nearby wake-up of an electronic device as claimed in any of claims 1-4.
13. A computer-readable storage medium storing executable instructions that, when executed by a processor, perform a method of nearby wake-up of an electronic device as claimed in any of claims 5-7.
CN202010575291.2A 2020-06-22 2020-06-22 Electronic equipment and nearby awakening method and device thereof Pending CN113900714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010575291.2A CN113900714A (en) 2020-06-22 2020-06-22 Electronic equipment and nearby awakening method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010575291.2A CN113900714A (en) 2020-06-22 2020-06-22 Electronic equipment and nearby awakening method and device thereof

Publications (1)

Publication Number Publication Date
CN113900714A true CN113900714A (en) 2022-01-07

Family

ID=79186450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010575291.2A Pending CN113900714A (en) 2020-06-22 2020-06-22 Electronic equipment and nearby awakening method and device thereof

Country Status (1)

Country Link
CN (1) CN113900714A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302616A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Network wake-up method, remote server and the network switching equipment
US20180211665A1 (en) * 2017-01-20 2018-07-26 Samsung Electronics Co., Ltd. Voice input processing method and electronic device for supporting the same
CN109076457A (en) * 2016-08-03 2018-12-21 华为技术有限公司 A kind of equipment awakening method and equipment
CN110223684A (en) * 2019-05-16 2019-09-10 华为技术有限公司 A kind of voice awakening method and equipment
CN110290544A (en) * 2019-05-24 2019-09-27 菜鸟智能物流控股有限公司 Data transmission device and method and electronic equipment
WO2020048410A1 (en) * 2018-09-07 2020-03-12 华为技术有限公司 Aligned wakeup method and mobile device
CN110915267A (en) * 2017-05-12 2020-03-24 索尼公司 Wake signal transmission on relay link
CN111223497A (en) * 2020-01-06 2020-06-02 苏州思必驰信息科技有限公司 Nearby wake-up method and device for terminal, computing equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302616A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Network wake-up method, remote server and the network switching equipment
CN109076457A (en) * 2016-08-03 2018-12-21 华为技术有限公司 A kind of equipment awakening method and equipment
US20180211665A1 (en) * 2017-01-20 2018-07-26 Samsung Electronics Co., Ltd. Voice input processing method and electronic device for supporting the same
CN110915267A (en) * 2017-05-12 2020-03-24 索尼公司 Wake signal transmission on relay link
WO2020048410A1 (en) * 2018-09-07 2020-03-12 华为技术有限公司 Aligned wakeup method and mobile device
CN110223684A (en) * 2019-05-16 2019-09-10 华为技术有限公司 A kind of voice awakening method and equipment
CN110290544A (en) * 2019-05-24 2019-09-27 菜鸟智能物流控股有限公司 Data transmission device and method and electronic equipment
CN111223497A (en) * 2020-01-06 2020-06-02 苏州思必驰信息科技有限公司 Nearby wake-up method and device for terminal, computing equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3101867B1 (en) Wireless audio output devices
AU2017429200B2 (en) Display method and apparatus
KR102073171B1 (en) Swapping roles between untethered wirelessly connected devices
US9203252B2 (en) Redirecting notifications to a wearable computing device
WO2021052413A1 (en) Energy-saving signal monitoring time determination and configuration method, and related device
RU2603258C1 (en) Method, device, equipment and system for control of connection and disconnection of a wireless network
WO2019214498A1 (en) Dci transmission method, terminal and base station
US10296284B2 (en) Audio processing device and audio processing method
US20130219409A1 (en) Power efficient brokered communication supporting notification blocking
WO2015183403A1 (en) Companion application for activity cooperation
CN113133134B (en) Electronic device and method of operating the same
CN107360633B (en) Pairing connection method and device of virtual reality system and virtual reality system
EP3671451B1 (en) Method of automatically releasing resource occupied by background process of terminal, storage medium and terminal
US20140031021A1 (en) System and Method for Controlling Mobile Device Operation
EP3496094B1 (en) Electronic apparatus and method for controlling the same
JP6785332B2 (en) Bluetooth speaker Data processing method, device and bluetooth speaker
US10404487B2 (en) Communication method, computer readable storage medium and information processing device
CN113098739B (en) Method, apparatus and computer storage medium for information processing
CN107509160B (en) Data transmission method, electronic device, and storage medium
CN111176744A (en) Electronic equipment control method, device, terminal and storage medium
US20180176140A1 (en) Method, server, and terminal for transmitting and receiving data
CN105471998A (en) Method and device for synchronizing application data in multiple terminals
US20230198623A1 (en) Electronic apparatus and controlling method thereof
CN113900714A (en) Electronic equipment and nearby awakening method and device thereof
US11430440B2 (en) Dialog device

Legal Events

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