Iot device smart local wake-up method and apparatus, and computer storage medium

By selecting a group of devices with superior communication speed as the first group and ignoring wake-up commands from other devices, a fast and unique wake-up of devices in a distributed voice system is achieved. This solves the problems of long wake-up times or simultaneous wake-up of multiple devices in existing technologies, thus improving the user experience.

CN115662412BActive Publication Date: 2025-11-25SHENZHEN OURUIBO ELECTRONICS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211097788.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-08
Publication Date
2025-11-25
Estimated Expiration
2042-09-08

AI Technical Summary

Technical Problem

In existing distributed voice systems, poor device communication performance and unintelligent decision-making mechanisms result in long device wake-up times or multiple devices being woken up simultaneously, leading to a poor user experience.

Method used

By acquiring the communication speed of each device, devices whose communication speed meets the preset requirements are selected as the first device group, and the remaining devices are selected as the second device group. The second device group is controlled to ignore the wake-up command and select only one device from the first device group as the final wake-up device.

Benefits of technology

It improves device wake-up speed and uniqueness, ensuring that only one device is woken up after a user issues a wake-up command, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115662412B_ABST
    Figure CN115662412B_ABST
Patent Text Reader

Abstract

The application provides a method and device for smartly waking up an Internet of Things device nearby and a computer storage medium, which are applied to multiple devices. The multiple devices are communicatively connected. The method comprises the following steps: obtaining the communication speed of each device, selecting a device with a communication speed meeting preset requirements from the multiple devices as a first device group, and selecting the remaining devices as a second device group; controlling the second device group to ignore a wake-up instruction for waking up a device when the wake-up instruction is received; and selecting a device from the first device group as a final wake-up device in response to the wake-up instruction. The application can realize the uniqueness of device wake-up and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of smart home, and particularly relates to a method and device for smartly waking up an Internet of Things (IoT) device in proximity and a computer storage medium. BACKGROUND

[0002] With the continuous development of smart home technology, voice control is increasingly applied to people's home life, facilitating voice interaction between users and voice devices.

[0003] A distributed voice system can not only control a single voice device through voice dialogue, but also control other voice devices through a woken-up voice device. In the prior art, when a user wakes up the voice recognition function of a voice device through a wake-up instruction, if some devices have poor communication performance in a local area network and the decision mechanism of the devices is not intelligent enough, the distributed voice system needs a long time to decide the final machine to be woken up, or multiple devices in the vicinity are woken up at the same time, which cannot achieve the function of waking up in proximity, and thus leads to poor user experience. SUMMARY

[0004] Therefore, it is necessary to provide a method and device for smartly waking up an IoT device in proximity and a computer storage medium, which can improve the wake-up speed of the device and thus improve the user experience.

[0005] A first aspect of an embodiment of the present application discloses a method for smartly waking up an IoT device in proximity, applied to a distributed voice system, the distributed voice system including multiple devices, the multiple devices being communicatively connected, and the method including: obtaining the communication speed of each device, selecting a device with a communication speed meeting a preset requirement from the multiple devices as a first device group, and selecting the remaining devices as a second device group; controlling the second device group to ignore a wake-up instruction for waking up a device when the second device group receives the wake-up instruction; and selecting a device from the first device group as a final wake-up device in response to the wake-up instruction.

[0006] Compared with related technologies, the embodiment of the present application has at least the following advantages:

[0007] By determining the communication speed of each device, a device with superior communication speed is selected as the first device group, and when a wake-up instruction is received, a device from the first device group is selected to wake up (other devices of the first device group are not woken up), which can quickly respond to the wake-up instruction of the user, improve the wake-up speed of the device, and thus improve the user experience; the devices of the second device group directly ignore the wake-up instruction when the wake-up instruction is received (i.e., none of the devices of the second device group is woken up), thereby ensuring the uniqueness of the wake-up of the device and ensuring that only one device is woken up after the user issues the wake-up instruction.

[0008] In a possible implementation, the step of determining the communication speed of each device specifically comprises: selecting one device from the plurality of devices as a detection device, and taking the remaining devices as to-be-detected devices; respectively acquiring the communication duration of each to-be-detected device and the detection device, and taking the communication duration of the to-be-detected device and the detection device as the communication speed of the to-be-detected device.

[0009] By adopting the technical scheme, the communication speed of each device can be determined according to the communication duration between the devices.

[0010] In a possible implementation, after the communication duration of each to-be-detected device and the detection device is respectively acquired, the method further comprises: monitoring whether a preset waiting duration elapses after the communication duration is acquired; after it is monitored that the preset waiting duration elapses, selecting one device from the plurality of devices as a new detection device, and taking the remaining devices as new to-be-detected devices; respectively acquiring the communication duration of each new to-be-detected device and the new detection device, and taking the communication duration of each new to-be-detected device and the new detection device as the new communication speed of the to-be-detected device.

[0011] By adopting the technical scheme, the communication speed of the device can be updated in time, and the most accurate communication speed of the device can be ensured to be acquired, thereby improving the reliability of the method for intelligently waking up the device in the Internet of Things.

[0012] In a possible implementation, the step of selecting the devices whose communication speeds meet the preset requirement from the plurality of devices as the first device group specifically comprises: judging whether the communication duration of the device is less than a preset duration; and if the communication duration of the device is less than the preset duration, determining that the communication speed corresponding to the communication duration of the device meets the preset requirement.

[0013] By adopting the technical scheme, whether the communication speed of the device meets the preset requirement can be determined according to the communication duration of the device.

[0014] In a possible implementation, the step of selecting one device from the first device group as the final wake-up device according to the result of the decision algorithm specifically comprises: determining a wake-up decision duration according to the communication duration of all the devices in the first device group; judging whether the wake-up decision duration elapses after the first device group receives a wake-up instruction; and if the wake-up decision duration elapses after the first device group receives the wake-up instruction, selecting one device from the first device group as the final wake-up device according to the result of the decision algorithm.

[0015] By adopting the technical scheme, the wake-up decision duration is determined according to the communication duration of all the devices in the first device group, so that the final wake-up device can be selected according to the result of the decision algorithm after the device runs the decision algorithm for the wake-up decision duration.

[0016] In a possible implementation, the step of determining the wake-up decision duration according to the communication duration of all devices in the first device group specifically comprises: taking the longest communication duration in the first device group as the wake-up decision duration.

[0017] By adopting the technical solution, the wake-up decision duration can be set as the longest communication duration in the first device group, so that all devices in the first device group can complete the decision algorithm.

[0018] In a possible implementation, the step of selecting a device from the first device group as the final wake-up device specifically comprises: controlling the first device group to run the decision algorithm for device wake-up, and selecting a device from the first device group as the final wake-up device according to the result of the decision algorithm.

[0019] In a possible implementation, the step of controlling the second device group to ignore the wake-up instruction when the second device group receives the wake-up instruction specifically comprises: sending control wake-up information to the second device group, wherein the second device group does not run the decision algorithm for device wake-up when receiving the control wake-up information.

[0020] By adopting the technical solution, the second device group can be controlled not to run the decision algorithm according to the received control wake-up information, so as to ignore the wake-up instruction after receiving the wake-up instruction.

[0021] In a second aspect, the embodiments of the present application provide a device intelligent wake-up apparatus, applied to multiple devices, the multiple devices are communicatively connected, the device intelligent wake-up apparatus comprises: an acquisition module, a control module and a selection module; the acquisition module is configured to acquire a communication speed of each device, select a device with a communication speed meeting a preset requirement from the multiple devices as a first device group, and select the remaining devices as a second device group; the control module is configured to control the second device group to ignore a wake-up instruction for waking up a device when the second device group receives the wake-up instruction; and the connection module is configured to select a device from the first device group as a final wake-up device in response to the wake-up instruction.

[0022] In a third aspect, the embodiments of the present application provide a computer readable storage medium, comprising computer instructions, when the computer instructions run on an electronic device, the electronic device executes the Internet of Things device intelligent wake-up method of the first aspect.

[0023] It can be understood that the device intelligent wake-up apparatus of the second aspect, the computer readable storage medium of the third aspect correspond to the method of the first aspect, and thus the beneficial effects achieved thereby can refer to the beneficial effects of the corresponding method provided above, which will not be described herein again. BRIEF DESCRIPTION OF DRAWINGS

[0024] Figure 1 A flowchart illustrating an embodiment of the present application of an intelligent proximity wake-up method for IoT devices;

[0025] Figure 2 A flowchart illustrating an embodiment of the present application of an intelligent proximity wake-up method for IoT devices;

[0026] Figure 3 A flowchart illustrating an embodiment of the present application of an intelligent proximity wake-up method for IoT devices;

[0027] Figure 4 A flowchart illustrating an embodiment of the present application of an intelligent proximity wake-up method for IoT devices;

[0028] Figure 5 This is a schematic diagram of the functional modules of the intelligent wake-up device provided in the embodiments of this application. Detailed Implementation

[0029] To better understand the above-mentioned objectives, features, and advantages of this application, the application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0030] The following description sets forth many specific details to provide a full understanding of this application. The described embodiments are only some, not all, of the embodiments of this application.

[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application.

[0032] It should be further noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0033] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and drawings of this application are used to distinguish similar objects, not to describe a specific order or sequence.

[0034] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0035] For ease of understanding, some concepts related to the embodiments of this application are illustrated and explained by way of example for reference.

[0036] Multiple devices are interconnected to form a distributed voice system. A distributed voice system is a loosely coupled system composed of multiple devices interconnected through communication lines, exhibiting high cohesion and transparency. The devices in this application have built-in microphones or microphone arrays, allowing users to interact with the devices in the near field or at a certain distance. These devices include smart speakers, smart TVs, smart washing machines, smartphones, smart voice switches, etc., which will not be detailed here.

[0037] Please refer to Figure 1 The flowchart below shows a method for intelligent proximity wake-up of an IoT device according to an embodiment of this application, which includes the following steps:

[0038] Step S101: Obtain the communication speed of each device, select the devices whose communication speed meets the preset requirements from the multiple devices as the first device group, and select the remaining devices as the second device group.

[0039] In some embodiments, the communication speed of each device can be determined by: arbitrarily selecting one device from multiple devices as the detection device, and using the remaining devices as the devices to be detected; obtaining the communication duration between each device to be detected and the detection device, and using the communication duration between the device to be detected and the detection device as the communication speed of that device to be detected.

[0040] To facilitate understanding, the following example uses a distributed voice system comprising three devices to illustrate how the communication speed of each device is determined in this embodiment:

[0041] Assume the three devices are numbered K1, K2, and K3, respectively. K1 is selected as the detection device, while K2 and K3 are the devices to be detected. K1 sends messages to K2 and K3. Upon receiving the messages, K2 and K3 immediately send reply messages to K1. K1 records the time it receives the reply message from each device and uses the difference between the time it receives the reply message and the time it sends its own message as the communication duration between K1 and that device (e.g., if K1 sends a message at time T1 and receives a reply message from K2 at time T2, then (T2-T1) is the communication duration between K1 and K2). After determining the communication duration for each device, this duration is used as the communication speed of that device.

[0042] It should be noted that subsequent embodiments describe in detail how to select devices whose communication speed meets preset requirements as the first device group. To avoid repetition, this embodiment will not repeat the description.

[0043] Step S102: When the second device group receives a wake-up command for waking up the device, it ignores the wake-up command.

[0044] In some embodiments, the second device group can be controlled to ignore wake-up instructions in the following manner: a control wake-up message is sent to the second device group, wherein the second device group does not run the decision algorithm for device wake-up when it receives the control wake-up message.

[0045] Specifically, the second device group has a worse communication time performance compared to the first device group. Before receiving the wake-up command, the first device group sends a control wake-up message to the second device group. After receiving the control wake-up message, the second device group can control its own running program. As a result, when it receives the wake-up command sent by the user, it does not run the decision algorithm for device wake-up, that is, it ignores the wake-up command.

[0046] In some embodiments, there are other ways to make the second group of devices ignore the wake-up command. For example, in the aforementioned steps, the detection device obtains the communication duration of each device (for ease of description, the communication duration of each device will be referred to as communication information thereafter). At this time, the detection device synchronizes the communication information to all other devices to be detected. After receiving the communication information, the device to be detected determines whether its own communication speed meets the preset requirements. If its own communication speed does not meet the preset requirements, it directly closes the algorithm decision function, that is, it does not need to send additional control wake-up information, and the device itself can directly ignore the wake-up command when it receives the wake-up command.

[0047] Step S103: In response to the wake-up command, select a device from the first device group as the final wake-up device.

[0048] In some embodiments, the wake-up command is issued by the user and can be a voice command, such as "Hello, smart device" sent by the user. The content of the voice command can be set according to the user's actual needs, and this embodiment does not specifically limit the content of the voice command.

[0049] In some embodiments, after a device responds to a wake-up command, the device itself can run a decision algorithm for device wake-up. In this embodiment, the first group of devices will all run the decision algorithm for device wake-up after receiving the wake-up command. For ease of understanding, the following is a detailed explanation of how this embodiment selects a device from the first group of devices as the final wake-up device:

[0050] Assume there are three devices in the first device group, numbered S1, S2, and S3. After receiving a wake-up command, each device sends its own wake-up information to the other devices. Specifically, S1 sends its wake-up information to S2 and S3, S2 sends its wake-up information to S1 and S3, and S3 sends its wake-up information to S1 and S2. In other words, each of the three devices (S1, S2, and S3) contains wake-up information from all other devices. The decision-making algorithm mentioned above involves S1, S2, and S3 evaluating all their current wake-up information. If their wake-up conditions are optimal, they will be woken up. It's understandable that since each device in the first device group has the same wake-up information, the algorithm's decision will be identical, ensuring that only one device in the first device group is woken up.

[0051] Specifically, the wake-up information in this embodiment can be the audio direct mixing ratio and / or audio angle received by the device.

[0052] Compared with related technologies, the embodiments of this application have at least the following advantages: by determining the communication speed of each device, devices with superior communication speeds are selected as the first device group. When a wake-up command is received, one device is selected from the first device group to be woken up (other devices in the first device group are not woken up), which can quickly respond to the user's wake-up command, improve the device wake-up speed, and thus improve the user experience; when the devices in the second device group receive a wake-up command, they will directly ignore the wake-up command (i.e., none of the devices in the second device group will be woken up), thereby ensuring the uniqueness of device wake-up and ensuring that only one device will be woken up after the user issues a wake-up command.

[0053] Please refer to Figure 2 This is a flowchart of an IoT device intelligent proximity wake-up method provided in an embodiment of this application. This embodiment is a further explanation of the foregoing embodiment, specifically illustrating how to select a device with a communication speed that meets preset requirements as a first device group from multiple devices, including the following steps:

[0054] Step S201: Select one device from the multiple devices as the testing device, and use the remaining devices as the devices to be tested.

[0055] Step S202: Obtain the communication duration between each device under test and the testing device, and use the communication duration between the device under test and the testing device as the communication speed of the device under test.

[0056] In some embodiments, after acquiring the communication duration between each device to be tested and the testing device, the method further includes: monitoring whether a preset waiting time has elapsed after acquiring the communication duration; if the preset waiting time has elapsed, arbitrarily selecting one device from the multiple devices as a new testing device, and using the remaining devices as new devices to be tested; acquiring the communication duration between each new device to be tested and the new testing device, and using the communication duration between each new device to be tested and the new testing device as the new communication speed of the device to be tested.

[0057] It is worth noting that the communication duration between devices can be affected by external factors such as signal strength, environment, and device location. These external factors are constantly changing (e.g., the device may be repositioned, or the environment may change). Therefore, the communication duration between devices is not a fixed value and may change. To avoid this and ensure that the communication duration between devices is accurate before the user wakes up the device by voice, this embodiment randomly selects one device as the detection device every preset waiting time, and uses the remaining devices as the devices to be detected, then re-acquires the communication duration between the detection device and the devices to be detected. This method continuously updates the communication duration between devices, improving the accuracy of the IoT device intelligent proximity wake-up method in this embodiment.

[0058] It is understood that the preset waiting time can be set according to user needs, and this embodiment does not specifically limit the size of the preset waiting time.

[0059] Step S203: Determine whether the communication duration of the device is less than the preset duration. The preset duration is generally the preset wake-up duration of the device. If the communication duration of the device is less than the preset duration, determine that the communication speed corresponding to the communication duration of the device meets the preset requirements, and classify the device into the first device group; if the communication duration of the device is greater than or equal to the preset duration, classify the device into the second device group.

[0060] In some embodiments, the preset duration can be set according to actual needs, preferably between 300 milliseconds and 500 milliseconds. This range ensures that, under normal network conditions, each device can receive wake-up information from all other devices, and that most devices can receive wake-up information even when the network fluctuates; it also avoids excessively long waiting times for users, thus improving the user experience.

[0061] Step S204: When the second device group receives a wake-up command for waking up the device, it ignores the wake-up command.

[0062] Step S205: In response to the wake-up command, control the first device group to run the decision algorithm for device wake-up, and select a device from the first device group as the final wake-up device according to the result of the decision algorithm.

[0063] Compared with related technologies, the embodiments of this application have at least the following advantages: by determining the communication speed of each device, devices with superior communication speeds are selected as the first device group. When a wake-up command is received, one device is selected from the first device group to be woken up (other devices in the first device group are not woken up), which can quickly respond to the user's wake-up command, improve the device wake-up speed, and thus improve the user experience; when the devices in the second device group receive a wake-up command, they will directly ignore the wake-up command (i.e., none of the devices in the second device group will be woken up), thereby ensuring the uniqueness of device wake-up and ensuring that only one device will be woken up after the user issues a wake-up command.

[0064] Please refer to Figure 3 This is a flowchart of an IoT device intelligent proximity wake-up method provided in an embodiment of this application. This embodiment is a further description of the foregoing embodiment, specifically illustrating a method for selecting a device from a first group of devices as the final wake-up device, including the following steps:

[0065] Step S301: Select one device from the multiple devices as the testing device, and use the remaining devices as the devices to be tested.

[0066] Step S302: Obtain the communication duration between each device under test and the testing device, and use the communication duration between the device under test and the testing device as the communication speed of the device under test.

[0067] Step S303: Determine whether the communication duration of the device is less than the preset duration. If the communication duration of the device is less than the preset duration, determine that the communication speed corresponding to the communication duration of the device meets the preset requirements, and classify the device into the first device group. If the communication duration of the device is greater than or equal to the preset duration, classify the device into the second device group.

[0068] Step S304: When the second device group receives a wake-up command for waking up the device, it ignores the wake-up command.

[0069] Step S305: In response to the wake-up command, control the first device group to run the decision algorithm for device wake-up.

[0070] Step S306: Determine whether a preset time has elapsed after the first device group receives the wake-up command. When the preset time has elapsed since the first device group runs the decision algorithm for device wake-up, select a device from the first device group as the final wake-up device based on the result of the decision algorithm.

[0071] Understandably, since the communication duration of the first device group is less than the preset duration, after the decision algorithm for device wake-up runs in the first device group for the preset duration, it can ensure that all devices in the first device group can receive the wake-up information of all other devices, thereby ensuring the accuracy of the decision algorithm and improving the reliability of the IoT device intelligent proximity wake-up method.

[0072] To facilitate understanding, the device wake-up method in this embodiment will be explained in detail below:

[0073] (1) Assume that there are 4 devices in the distributed voice system, numbered M1, M2, M3 and M4 respectively. M1 is randomly selected as the test device, and M2, M3 and M4 are the devices to be tested. The preset duration is T.

[0074] (2) M1 sends test messages to M2, M3, and M4. After receiving the test messages, M2, M3, and M4 send test reply messages to M1.

[0075] (3) M1 records the communication duration with M2 as t12, the communication duration with M3 as t13, and the communication duration with M4 as t14.

[0076] (4) If t12 and t13 are less than T and t14 is greater than T, then M1, M2 and M3 are the first equipment group and M4 is the second equipment group.

[0077] (5) Send control wake-up information to M4. When M4 receives the control wake-up information, it does not run the decision algorithm for device wake-up.

[0078] (6) In response to the wake-up command sent by the user, M1 to M3 will all run the decision algorithm for device wake-up and send their own wake-up information to other devices. It is determined whether a preset time has elapsed since the first device group ran the decision algorithm for device wake-up. After the preset time has elapsed, M1 to M3 will all receive each other's wake-up information. M1 to M3 will then perform an algorithmic decision on all the wake-up information they currently possess. If it is determined that M1's wake-up conditions are optimal, then M1 will be woken up.

[0079] Compared with related technologies, the embodiments of this application have at least the following advantages: by determining the communication speed of each device, devices with superior communication speeds are selected as the first device group. When a wake-up command is received, one device is selected from the first device group to be woken up (other devices in the first device group are not woken up), which can quickly respond to the user's wake-up command, improve the device wake-up speed, and thus improve the user experience; when the devices in the second device group receive a wake-up command, they will directly ignore the wake-up command (i.e., none of the devices in the second device group will be woken up), thereby ensuring the uniqueness of device wake-up and ensuring that only one device will be woken up after the user issues a wake-up command.

[0080] Please refer to Figure 4 This is a flowchart of an IoT device intelligent proximity wake-up method provided in an embodiment of this application. This embodiment is a further description of the foregoing embodiment, specifically illustrating another way of selecting a device from a first device group as the final wake-up device, including the following steps:

[0081] Step S401: Select one device from the multiple devices as the testing device, and use the remaining devices as the devices to be tested.

[0082] Step S402: Obtain the communication duration between each device under test and the testing device, and use the communication duration between the device under test and the testing device as the communication speed of the device under test.

[0083] Step S403: Determine whether the communication duration of the device is less than the preset duration. If the communication duration of the device is less than the preset duration, determine that the communication speed corresponding to the communication duration of the device meets the preset requirements, and classify the device into the first device group. If the communication duration of the device is greater than or equal to the preset duration, classify the device into the second device group.

[0084] Step S404: When the second device group receives a wake-up command for waking up the device, it ignores the wake-up command.

[0085] Step S405: In response to the wake-up command, control the first device group to run the decision algorithm for device wake-up.

[0086] Steps S401 to S405 in this embodiment are similar to steps S301 to S305 in the previous embodiment. To avoid repetition, they will not be described again here.

[0087] Step S406: Determine the wake-up decision duration based on the communication duration of all devices in the first device group.

[0088] In some embodiments, the longest communication duration in the first device group can be used as the wake-up decision duration. This approach ensures that all devices in the first device group receive wake-up information from all other devices, thereby guaranteeing the accuracy of the decision-making algorithm and improving the reliability of the intelligent proximity wake-up method for IoT devices. Furthermore, it minimizes the decision-making time of the distributed voice system, further improving the wake-up response speed and enhancing the user experience.

[0089] Step S407: Determine whether the wake-up decision time has elapsed after the first device group receives the wake-up command; when the first device group runs the decision algorithm for device wake-up and the wake-up decision time has elapsed, select a device from the first device group as the final wake-up device according to the result of the decision algorithm.

[0090] Compared with related technologies, the embodiments of this application have at least the following advantages: by determining the communication speed of each device, devices with superior communication speeds are selected as the first device group. When a wake-up command is received, one device is selected from the first device group to be woken up (other devices in the first device group are not woken up), which can quickly respond to the user's wake-up command, improve the device wake-up speed, and thus improve the user experience; when the devices in the second device group receive a wake-up command, they will directly ignore the wake-up command (i.e., none of the devices in the second device group will be woken up), thereby ensuring the uniqueness of device wake-up and ensuring that only one device will be woken up after the user issues a wake-up command.

[0091] Please refer to Figure 5 This is a schematic diagram of the functional modules of the intelligent wake-up device 1000 provided in this application embodiment. Figure 5 As shown, the device 1000 may include an acquisition module 1001, a control module 1002, and a selection module 1003. The module referred to in this application embodiment may be a program segment that performs a specific function, and is more suitable than a program for describing the execution process of software in a processor. The one or more modules may be stored in memory and configured to be executed by one or more processors.

[0092] The acquisition module 1001 is used to acquire the communication speed of each of the devices, select the devices whose communication speed meets the preset requirements from the multiple devices as the first device group, and select the remaining devices as the second device group; the control module 1002 is used to control the second device group to ignore the wake-up command when it receives the wake-up command for waking up the device; the connection module 1003 is used to select one device from the first device group as the final wake-up device in response to the wake-up command.

[0093] This embodiment also provides a storage medium storing computer instructions. When the instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the device wake-up method described in the above embodiment.

[0094] In this embodiment, the electronic device and computer storage medium are used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0095] In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0096] In the several embodiments provided in this application, the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are illustrative. For instance, the division of modules or units is a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0097] The unit described as a separate component may or may not be physically separate. The component shown as a unit can be one physical unit or multiple physical units, that is, it can be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of the solution in this embodiment according to actual needs.

[0098] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0099] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0100] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the scope of protection of this application.

Claims

1. A method for intelligent proximity wake-up of IoT devices, characterized in that, Applied to multiple devices, all of which are communicatively connected, the IoT device intelligent proximity wake-up method includes: The communication speed of each of the devices is obtained, and the devices whose communication speed meets the preset requirements are selected from the multiple devices as the first device group, and the remaining devices are selected as the second device group. The step of obtaining the communication speed of each device specifically includes: randomly selecting one device from the multiple devices as the detection device, and taking the remaining devices as the devices to be detected; obtaining the communication duration between each device to be detected and the detection device, and taking the communication duration between each device to be detected and the detection device as the communication speed of the device to be detected; Monitor whether a preset waiting time has elapsed after the communication duration is acquired; if the preset waiting time has elapsed, randomly select one device from the multiple devices as a new detection device, and use the remaining devices as new devices to be tested; acquire the communication duration between each new device to be tested and the new detection device, and use the communication duration between each new device to be tested and the new detection device as the new communication speed of the device to be tested; When the second device group receives a wake-up command for waking up a device, it is controlled to ignore the wake-up command. In response to the wake-up command, a device is selected from the first group of devices as the final wake-up device.

2. The method for intelligent proximity wake-up of IoT devices as described in claim 1, characterized in that, The step of selecting a device whose communication speed meets the preset requirement from among the multiple devices as the first device group specifically includes: Determine whether the communication duration of the device is less than a preset duration; If the communication duration of the device is less than the preset duration, it is determined that the communication speed corresponding to the communication duration of the device meets the preset requirement.

3. The method for intelligent proximity wake-up of IoT devices as described in claim 2, characterized in that, The step of selecting a device from the first group of devices as the final wake-up device specifically includes: The wake-up decision duration is determined based on the communication duration of all devices in the first device group; Determine whether the wake-up decision time has elapsed after the first device group receives the wake-up command; When the wake-up command is received by the first device group and the wake-up decision time has elapsed, a device is selected from the first device group as the final wake-up device.

4. The method for intelligent proximity wake-up of IoT devices as described in claim 3, characterized in that, The step of determining the wake-up decision duration based on the communication duration of all devices in the first device group specifically includes: The longest communication duration in the first device group is used as the wake-up decision duration.

5. The method for intelligent proximity wake-up of IoT devices as described in claim 1, characterized in that, The step of selecting a device from the first group of devices as the final wake-up device specifically includes: The system controls the first device group to run a decision algorithm for device wake-up, and selects a device from the first device group as the final wake-up device based on the result of the decision algorithm.

6. The method for intelligent proximity wake-up of IoT devices as described in claim 5, characterized in that, The step of controlling the second device group to ignore the wake-up command when receiving a wake-up command for waking up the device specifically includes: A control wake-up message is sent to the second device group, wherein the second device group does not run the decision algorithm for device wake-up when it receives the control wake-up message.

7. A device intelligent wake-up device, characterized in that, Applied to multiple devices, all of which are communicatively connected, the device intelligent wake-up device includes: an acquisition module, a control module, and a selection module; The acquisition module is used to acquire the communication speed of each of the devices, select the devices whose communication speed meets the preset requirements from the multiple devices as the first device group, and select the remaining devices as the second device group; The step of obtaining the communication speed of each device specifically includes: randomly selecting one device from the multiple devices as the detection device, and taking the remaining devices as the devices to be detected; obtaining the communication duration between each device to be detected and the detection device, and taking the communication duration between each device to be detected and the detection device as the communication speed of the device to be detected; The acquisition module is also used to monitor whether a preset waiting time has elapsed after the communication duration is acquired; after the preset waiting time has elapsed, one device is randomly selected from the multiple devices as a new detection device, and the remaining devices are used as new devices to be tested; the communication duration between each new device to be tested and the new detection device is acquired respectively, and the communication duration between each new device to be tested and the new detection device is used as the new communication speed of the device to be tested; The control module is used to control the second device group to ignore the wake-up command when it receives a wake-up command for waking up the device; The selection module is used to select a device from the first device group as the final wake-up device in response to the wake-up command.

8. A computer-readable storage medium, characterized in that, The method includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the IoT device smart proximity wake-up method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Intelligent optimization method and device for wake-up decision, electronic equipment and storage medium

    CN113608792A