Distributed wake-up decision method, device, storage medium and electronic device
Through the distributed wake-up decision-making method, dynamic time windows are used to manage wake-up requests of terminal devices, which solves the problem of repeated wake-ups of multiple terminal devices and improves user experience and request accuracy.
Patent Information
- Application Number
- CN202210908368.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-07-29
AI Technical Summary
When multiple terminal devices send wake-up requests, it is easy to cause repeated wake-ups and simultaneous responses, affecting user experience. Existing technologies cannot effectively solve this problem.
Using a distributed wake-up decision-making method, the server receives wake-up requests from multiple terminal devices and determines the wake-up decision result based on the dynamic time window, ensuring that the wake-up audio is only responded to when the decision result allowing wake-up is received within the dynamic time window, otherwise it remains Silence. The dynamic time window is determined by the wake-up delay and maximum wake-up delay of each terminal device.
It effectively reduces the probability of repeated wake-up of multiple terminal devices, improves user experience, and ensures the accuracy and consistency of wake-up requests.
Smart Images

Figure CN115457955B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and more specifically, to a distributed wake-up decision method, device, storage medium and electronic device. Background Art
[0002] At present, with the continuous development of intelligent voice technology, there are more and more intelligent devices that can be equipped with voice technology to realize intelligent voice interaction. Furthermore, the scenarios for the use of intelligent voice technology are becoming more and more abundant, and it has become inseparable from the lives of thousands of households. Since direct voice interaction with the device can largely free the user's hands, allowing the user to handle other things at the same time, it can promote a variety of family scenarios to become "things that can be controlled with one sentence."
[0003] However, there are often multiple voice wake-up devices in the same household. Multiple voice wake-up devices can adopt multiple different wake-up engine solutions (for example, solutions from iFlytek, AISpex, Alibaba, etc.), and different wake-up engine solutions have different wake-up fluctuations (indicating the stability of multiple wake-up of the same household's wake-up engine). Due to the wake-up time difference caused by multiple different wake-up engine solutions and wake-up fluctuations, when multiple terminal devices send wake-up requests, not only will the problem of repeated wake-up of multiple terminal devices occur, but also the phenomenon of multiple terminal devices answering at the same time will occur, resulting in a poor user experience.
[0004] Therefore, in the related art, when multiple terminal devices send wake-up requests, there is a problem of how to reduce the probability of repeated wake-up of multiple terminal devices.
[0005] In the related art, when multiple terminal devices send wake-up requests, how to reduce the probability of repeated wake-up of multiple terminal devices has not yet been proposed an effective solution. Summary of the invention
[0006] The embodiments of the present application provide a distributed wake-up decision method, device, storage medium and electronic device to at least solve the problem in the related art of how to reduce the probability of repeated wake-up of multiple terminal devices when multiple terminal devices send wake-up requests.
[0007] According to an embodiment of the present application, a distributed wake-up decision method is provided, which is applied to a first terminal device in a device group, including: sending a wake-up request to a server based on a received wake-up audio; when a wake-up decision result returned by the server is received within a dynamic time window, determining whether to respond to the wake-up audio based on the wake-up decision result; wherein the server is used to receive multiple wake-up requests sent by at least two terminal devices in the device group, and determine the wake-up decision result based on the multiple wake-up requests; the dynamic time window is determined based on the wake-up delay of the first terminal device.
[0008] In an exemplary embodiment, the method also includes: determining the dynamic time window corresponding to the first terminal device, including: obtaining a first device list corresponding to the device group, wherein the first device list includes the wake-up delays of all terminal devices in the device group; determining the maximum wake-up delay among the wake-up delays of all terminal devices, and the wake-up delay corresponding to the first terminal device; and determining the sum of the maximum wake-up delay and the wake-up delay corresponding to the first terminal device as the dynamic time window of the first terminal device.
[0009] In an exemplary embodiment, obtaining a first device list corresponding to the device group includes: when the first terminal device logs in for the first time, sending device information and corresponding account information of the first terminal device to the server, and sending an information list acquisition request to the server; receiving the first device list sent by the server in response to the information list acquisition request; wherein, terminal devices in the same device group correspond to the same account information, and the first device list is configured with a wake-up delay for the terminal devices in the device group.
[0010] In an exemplary embodiment, the dynamic time window of the first terminal device is determined based on the maximum wake-up delay and the wake-up delay corresponding to the first terminal device, including: obtaining the wake-up delay corresponding to the first terminal device and the benchmark wake-up delay corresponding to the device group; determining the difference between the maximum wake-up delay and the wake-up delay corresponding to the first terminal device, and determining the sum of the difference and the benchmark wake-up delay as the dynamic time window of the first terminal device.
[0011] In an exemplary embodiment, the method also includes: receiving a second device list corresponding to the updated device group sent by the server, wherein the second device list is obtained by updating the first device list when the device status of the second terminal device in the device group changes from online to offline; and updating the dynamic time window of the first terminal device according to the wake-up delay of all terminal devices in the second device list.
[0012] In an exemplary embodiment, when the wake-up decision result returned by the server is received within the dynamic time window, whether to respond to the wake-up audio is determined according to the wake-up decision result, including: when the wake-up decision result returned by the server is received within the dynamic time window and the wake-up decision result is to allow wake-up, respond to the wake-up audio; when the wake-up decision result returned by the server is received within the dynamic time window and the wake-up decision result is to not allow wake-up, keep silent for the wake-up audio; when the wake-up decision result returned by the server is not received within the dynamic time window, keep silent for the wake-up audio.
[0013] In an exemplary embodiment, the method also includes: obtaining a network delay value between the first terminal device and the server; and when it is determined that the network delay value is greater than a preset threshold, updating the dynamic time window of the first terminal device according to an adjustment delay corresponding to the network delay value.
[0014] According to another embodiment of the embodiments of the present application, a distributed wake-up decision method is also provided, including: receiving device information, corresponding account information and an information list acquisition request of the first terminal device sent to the server when the first terminal device logs in for the first time; determining the device group to which the first terminal device belongs based on the account information, and configuring the wake-up delay of the first terminal device based on the device information of the first terminal device; in response to the information list acquisition request, sending a first device list to the first terminal device; wherein the first device list is configured with the wake-up delay of the terminal devices in the device group, and the wake-up delay of the first terminal device and the wake-up delay of the terminal devices in the device group are used to set the dynamic time window of the first terminal device, and the first terminal device receives the wake-up decision result sent by the server according to the dynamic time window.
[0015] According to another embodiment of the embodiment of the present application, a distributed wake-up decision device is also provided, including: a first sending module, used to send a wake-up request to a server according to the received wake-up audio; a receiving module, used to determine whether to respond to the wake-up audio according to the wake-up decision result returned by the server within a dynamic time window; wherein the server is used to receive multiple wake-up requests sent by at least two terminal devices in a device group, and determine the wake-up decision result according to the multiple wake-up requests; the dynamic time window is a dynamic time window determined according to the wake-up delay of the first terminal device.
[0016] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned distributed wake-up decision method when running.
[0017] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the distributed wake-up decision method through the computer program.
[0018] In an embodiment of the present application, based on the received wake-up audio, a wake-up request is sent to a server for receiving multiple wake-up requests sent by at least two terminal devices in the device group, and determining the wake-up decision result based on the multiple wake-up requests; when the wake-up decision result returned by the server is received within the dynamic time window, it is determined whether to respond to the wake-up audio based on the wake-up decision result; wherein the dynamic time window is determined based on the wake-up delay of the first terminal device. The above-mentioned technical solution is adopted to solve the problem of how to reduce the probability of repeated wake-up of multiple terminal devices when multiple terminal devices send wake-up requests, thereby reducing the probability of repeated wake-up of multiple terminal devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0021] Figure 1 It is a hardware environment diagram of a distributed wake-up decision method according to an embodiment of the present application;
[0022] Figure 2 is a flowchart of a distributed wake-up decision method according to an embodiment of the present application (I);
[0023] Figure 3 is a flow chart (II) of a decision method for distributed wake-up according to an embodiment of the present application;
[0024] Figure 4 is a schematic diagram of a decision process for distributed wake-up according to an embodiment of the present application (I);
[0025] Figure 5is a schematic diagram of a decision process for distributed wake-up according to an embodiment of the present application (II);
[0026] Figure 6 is a schematic diagram of a decision process for distributed wake-up according to an embodiment of the present application (III);
[0027] Figure 7 is a structural block diagram of a distributed wake-up decision-making device according to an embodiment of the present application (I);
[0028] Figure 8 This is a structural block diagram (II) of a distributed wake-up decision-making device according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] According to one aspect of an embodiment of the present application, a distributed wake-up decision method is provided. The distributed wake-up decision method is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (IntelligenceHouse) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above-mentioned distributed wake-up decision method can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.
[0032] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.
[0033] In this embodiment, a distributed wake-up decision method is provided. Figure 2 1 is a flow chart of a distributed wake-up decision method according to an embodiment of the present application (I), the process comprising the following steps:
[0034] Step S202, receiving device information, corresponding account information and an information list acquisition request of the first terminal device sent to the server when the first terminal device logs in for the first time;
[0035] Step S204, determining the device group to which the first terminal device belongs according to the account information, and configuring the wake-up delay of the first terminal device according to the device information of the first terminal device;
[0036] Step S206: In response to the information list acquisition request, a first device list is sent to the first terminal device; wherein the first device list is configured with the wake-up delay of the terminal devices in the device group, and the wake-up delay of the first terminal device and the wake-up delay of the terminal devices in the device group are used to set the dynamic time window of the first terminal device, and the first terminal device receives the wake-up decision result sent by the server according to the dynamic time window.
[0037] Through the above steps, the device information, corresponding account information and information list acquisition request of the first terminal device sent to the server by the first terminal device when logging in for the first time are received; the device group to which the first terminal device belongs is determined according to the account information, and the wake-up delay of the first terminal device is configured according to the device information of the first terminal device; in response to the information list acquisition request, the first device list is sent to the first terminal device; wherein the wake-up delay of the terminal devices in the device group is configured in the first device list, and the wake-up delay of the first terminal device and the wake-up delay of the terminal devices in the device group are used to set the dynamic time window of the first terminal device, and the first terminal device receives the wake-up decision result sent by the server according to the dynamic time window. The problem of how to reduce the probability of repeated wake-up of multiple terminal devices when multiple terminal devices send wake-up requests in the related technology is solved, thereby reducing the probability of repeated wake-up of multiple terminal devices.
[0038] Among them, for step S206, the wake-up delay of the terminal devices in the device group is configured in the first device list, the wake-up delay of the first terminal device and the wake-up delay of the terminal devices in the device group are used to set the dynamic time window of the first terminal device, and the process of the first terminal device receiving the wake-up decision result sent by the server according to the dynamic time window is optional.
[0039] In an exemplary embodiment, a technical solution is proposed, and the specific process includes: obtaining the first moment when the target terminal device sends the wake-up request and the second moment when the other terminal device sends the wake-up request; when it is determined that the first moment and the second moment both belong to the time period of the same session window, determining that the target terminal device and the other terminal device are terminal devices of the same session window.
[0040] The wake-up decision result can be determined by the reception priority of the device (i.e., the abbreviation of the terminal device), the frequency of the device sending the wake-up request, or the device model of the device. Among them, the higher the reception priority of the device, the higher the priority corresponding to the decision rule. The higher the frequency of the device sending the wake-up request, the higher the priority corresponding to the decision rule.
[0041] In other embodiments, after obtaining the first moment when the target terminal device sends the wake-up request and the second moment when the other terminal device sends the wake-up request, the first position where the target terminal device sends the wake-up request and the second position where the other terminal device sends the wake-up request can be further obtained, or the first user identity in the wake-up request sent by the target terminal device and the second user identity in the wake-up request sent by the other terminal device can be further obtained. Then, when it is determined that the first moment and the second moment both belong to the time period of the same session window, or the first position and the second position both belong to the same spatial area, or the first user identity and the second user identity both belong to the same family, at least one of the following situations is true, the target terminal device and the other terminal device are determined as terminal devices of the same session window.
[0042] For example, it can be understood that after obtaining the first moment when the target terminal device sends the wake-up request and the second moment when the other terminal device sends the wake-up request, the first position where the target terminal device sends the wake-up request and the second position where the other terminal device sends the wake-up request can be further obtained. When it is determined that the first moment and the second moment both belong to the time period of the same session window, and the above-mentioned first position and the above-mentioned second position both belong to the same spatial area, the target terminal device and the other terminal device are determined as terminal devices of the same session window.
[0043] For example, in other embodiments, after obtaining the first moment when the target terminal device sends the wake-up request and the second moment when the other terminal device sends the wake-up request, the first user identity in the wake-up request sent by the target terminal device and the second user identity in the wake-up request sent by the other terminal device can be further obtained. When it is determined that the first moment and the second moment belong to the time period of the same session window, and the above-mentioned first user identity and the above-mentioned second user identity belong to the same family, the target terminal device and the other terminal device are determined as terminal devices of the same session window.
[0044] In an exemplary embodiment, a technical solution is also proposed, which specifically includes: obtaining a network delay value between a first terminal device and a server; when it is determined that the network delay value is greater than a preset value, updating the session window according to an adjustment delay corresponding to the network delay value.
[0045] It should be noted that the above-mentioned network delay value can be determined based on the wake-up delay of the terminal device, or can be determined directly based on the network delay, and this application does not impose any restrictions on this.
[0046] In an exemplary embodiment, a process of performing a wake-up operation on a target terminal device in the at least two terminal devices for responding to the wake-up audio is described as follows:
[0047] Method 1: when the first moment is earlier than the second moment, determine that the target terminal device responds to the wake-up audio and performs a wake-up operation, and determine that the other terminal devices do not respond to the wake-up audio and remain silent.
[0048] Alternatively, when the second moment is earlier than the first moment, it is determined that the target terminal device does not respond to the wake-up audio and remains silent, and it is determined that the other terminal devices respond to the wake-up audio and perform a wake-up operation.
[0049] Method 2: When it is determined that the receiving priority of the target terminal device is higher than the receiving priority of the other terminal devices, it is determined that the target terminal device responds to the wake-up audio and performs a wake-up operation, and it is determined that the other terminal devices do not respond to the wake-up audio and remain silent. The receiving priority of the target terminal device and the receiving priority of the other terminal devices are both preset by the first object.
[0050] Alternatively, when it is determined that the receiving priority of the target terminal device is lower than the receiving priority of the other terminal devices, it is determined that the target terminal device does not respond to the wake-up audio and remains silent, and it is determined that the other terminal devices respond to the wake-up audio and perform a wake-up operation.
[0051] Method three: respectively obtain the first frequency of the target terminal device sending the wake-up request and the second frequency of the other terminal devices sending the wake-up request within the time period of the same session window, and when the first frequency is greater than the second frequency, determine that the target terminal device responds to the wake-up audio and performs a wake-up operation, and determine that the other terminal devices do not respond to the wake-up audio and remain silent.
[0052] Alternatively, when the first frequency is less than the second frequency, it is determined that the target terminal device does not respond to the wake-up audio and remains silent, and it is determined that the other terminal devices respond to the wake-up audio and perform a wake-up operation.
[0053] Method 4: When the device model of the target terminal device is consistent with the device model of the other terminal devices, compare the device version number of the target terminal device with the device version number of the other terminal devices. If it is determined that the device version number of the target terminal device is higher than the device version number of the other terminal devices, determine that the target terminal device responds to the wake-up audio and performs a wake-up operation, and determine that the other terminal devices do not respond to the wake-up audio and remain silent.
[0054] Alternatively, if it is determined that the device version number of the target terminal device is lower than the device version number of the other terminal devices, it is determined that the target terminal device does not respond to the wake-up audio and remains silent, and it is determined that the other terminal devices respond to the wake-up audio and perform a wake-up operation.
[0055] In this embodiment, a distributed wake-up decision method is provided, which can also be applied to the above-mentioned computer terminal. Figure 3 Flowchart (II) of the decision method for distributed wake-up according to an embodiment of the present application, the process includes the following steps:
[0056] Step S302, sending a wake-up request to the server according to the received wake-up audio;
[0057] Step S304, when receiving the wake-up decision result returned by the server within the dynamic time window, determine whether to respond to the wake-up audio according to the wake-up decision result; wherein the server is used to receive multiple wake-up requests sent by at least two terminal devices in the device group, and determine the wake-up decision result according to the multiple wake-up requests; the dynamic time window is determined according to the wake-up delay of the first terminal device.
[0058] Through the above steps, a wake-up request is sent to the server according to the received wake-up audio; when the wake-up decision result returned by the server is received within the dynamic time window, whether to respond to the wake-up audio is determined according to the wake-up decision result; wherein the server is used to receive multiple wake-up requests sent by at least two terminal devices in the device group, and determine the wake-up decision result according to the multiple wake-up requests; the dynamic time window is determined according to the wake-up delay of the first terminal device. The problem of how to reduce the probability of repeated wake-up of multiple terminal devices when multiple terminal devices send wake-up requests in the related art is solved, thereby reducing the probability of repeated wake-up of multiple terminal devices.
[0059] In an exemplary embodiment, the following technical solution may also be proposed, specifically including: determining the dynamic time window corresponding to the first terminal device, including: obtaining a first device list corresponding to the device group, wherein the first device list includes the wake-up delays of all terminal devices in the device group; determining the maximum wake-up delay among the wake-up delays of all terminal devices, and the wake-up delay corresponding to the first terminal device; determining the dynamic time window of the first terminal device based on the maximum wake-up delay and the wake-up delay corresponding to the first terminal device.
[0060] In one embodiment, a technical solution for obtaining a first device list corresponding to the device group is proposed, including: when the first terminal device logs in for the first time, sending device information and corresponding account information of the first terminal device to the server, and sending an information list acquisition request to the server; receiving the first device list sent by the server in response to the information list acquisition request; wherein, terminal devices in the same device group correspond to the same account information, and the first device list is configured with a wake-up delay for the terminal devices in the device group.
[0061] In an exemplary embodiment, further, a technical solution is proposed for determining the dynamic time window of the first terminal device based on the maximum wake-up delay and the wake-up delay corresponding to the first terminal device. The specific steps include obtaining the wake-up delay corresponding to the first terminal device and the benchmark wake-up delay corresponding to the device group; determining the difference between the maximum wake-up delay and the wake-up delay corresponding to the first terminal device, and determining the sum of the difference and the benchmark wake-up delay as the dynamic time window of the first terminal device.
[0062] Among them, the corresponding benchmark wake-up delay can be obtained in the following way: obtain the standard wake-up delay corresponding to the terminal device in the device group, and the historical wake-up delay of the terminal device in the device group; determine the benchmark wake-up delay corresponding to the device group according to the standard wake-up delay and the historical wake-up delay, for example, the average of the standard wake-up delay and the historical wake-up delay can be determined as the benchmark wake-up delay of the first terminal device.
[0063] In an exemplary embodiment, a technical solution is proposed, and specific steps include: receiving a second device list corresponding to the updated device group sent by the server, wherein the second device list is obtained by updating the first device list when the device status of the second terminal device in the device group changes from online to offline; and updating the dynamic time window of the first terminal device according to the wake-up delay of all terminal devices in the second device list.
[0064] In an exemplary embodiment, when the wake-up decision result returned by the server is received within the dynamic time window, whether to respond to the wake-up audio is determined according to the wake-up decision result, including: when the wake-up decision result returned by the server is received within the dynamic time window and the wake-up decision result is to allow wake-up, respond to the wake-up audio; when the wake-up decision result returned by the server is received within the dynamic time window and the wake-up decision result is to not allow wake-up, keep silent for the wake-up audio; when the wake-up decision result returned by the server is not received within the dynamic time window, keep silent for the wake-up audio.
[0065] Optionally, in one embodiment, the network delay value between the first terminal device and the server can also be obtained; when it is determined that the network delay value is greater than a preset threshold, the dynamic time window of the first terminal device is updated according to the adjustment delay corresponding to the network delay value.
[0066] In order to better understand the process of the above-mentioned distributed wake-up decision method, the implementation method flow of the above-mentioned distributed wake-up decision is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present application.
[0067] In this embodiment, a distributed wake-up decision method is provided. Figure 4 is a schematic diagram of a decision process for distributed wake-up according to an embodiment of the present application (I). In this embodiment, as Figure 4 As shown, taking terminal device 1 as an example, the interaction process between the device and the cloud in the decision-making process of distributed wake-up is explained according to steps S401, S403, S405, S406, S407, S409, and S411.
[0068] The specific steps are as follows:
[0069] Step S401: Device 1 wakes up at time t1;
[0070] Step S403: Upload the device information of device 1 to the cloud;
[0071] Step S405: the cloud receives wake-up requests from two terminal devices;
[0072] Step S406: cloud decision making;
[0073] Step S407: Device 1 waits for the cloud decision result within its dynamic time window T1;
[0074] Step S409: receiving a decision result of a wake-up result or a silent result;
[0075] Step S411: Execute the wake-up instruction or keep silent according to the judgment result;
[0076] It should be noted that step S402, step S404, step S405, step S406, step S408, step S410, and step S412 represent the interaction process between the terminal device 2 and the cloud. Since the interaction process between the terminal device 2 and the cloud can refer to the terminal device 1, this application will not repeat it here.
[0077] Figure 5 2 is a schematic diagram of a decision process for distributed wake-up according to an embodiment of the present application (II), such as Figure 5 As shown, taking terminal device 1 as an example, the process of determining the dynamic time window by terminal device 1 is described, which is specifically as follows:
[0078] Step S501: Device 1 logs into the cloud;
[0079] Step S502: The cloud retrieves device information (including wake-up delay and device ID) of all devices in the same family group;
[0080] The device information can be configured in advance in the cloud, including the delay corresponding to the device and the device model ID (deviceid). For example, the delay of device A is configured to be 500ms.
[0081] Step S503: Sending a device list including all device information in the home group;
[0082] In one embodiment, when a device logs in to the cloud, it will match all device information in the home group where the current device is located, and send an information list of all devices in the group. The information list includes the wake-up delay of all devices (equivalent to the above-mentioned dynamic time window) and the deviceID corresponding to the delay.
[0083] Step S504: parsing the device list;
[0084] Step S505: Obtain the maximum delay Tmax of the devices in the group and the delay Tself of the device itself;
[0085] Step S506: Update the dynamic time window of the device, wherein the dynamic time window of the device T1 = Tmax-Tself+Tbase;
[0086] Tbase is a fixed base window size, which may be determined by wake-up standard values of different types of devices provided by different manufacturers.
[0087] It should be noted that the process of terminal device 2 determining the dynamic time window can refer to terminal device 1, and this application will not repeat it here.
[0088] Through the above embodiments, it is possible to transform the fixed dynamic time window of the device into a dynamic time window automatically calculated based on the device delay data in the distributed networking group, and dynamically configure the device delay value by the cloud. Moreover, when the number of devices in the group changes, such as when new devices are added, devices are disconnected, or devices are unbound, the cloud re-sends the device list, the device recalculates the dynamic time window, and synchronizes the recalculated dynamic time window to the cloud.
[0089] Figure 6 is a schematic diagram of the decision process of distributed wake-up according to an embodiment of the present application (III). In this embodiment, as Figure 6 As shown, taking terminal device 1 as an example, the interaction process between the device and the cloud in the decision-making process of distributed wake-up is described according to steps S601, S603, S605, S606, S607, and S609. The specific implementation process is as follows:
[0090] Step S601: Device 1 wakes up at time t1;
[0091] Step S603: Upload the device information of device 1 to the cloud;
[0092] Step S605: the cloud receives wake-up requests from two terminal devices;
[0093] Step S606: cloud decision making;
[0094] Step S607: Device 1 waits for the cloud decision result within a fixed time window;
[0095] The fixed time window may be, for example, 300 ms, which is not limited in this application.
[0096] Step S609: wake up after timeout or receive judgment result.
[0097] It should be noted that step S602, step S604, step S605, step S606, step S608, and step S610 represent the interaction process between the terminal device 2 and the cloud. Since the interaction process between the terminal device 2 and the cloud can refer to the terminal device 1, this application will not repeat it here.
[0098] In this embodiment, device 1 uploads device information to the cloud after waking up at time t1, and device 2 uploads the device information after waking up to the cloud at time t2, t3=t2-t1. Since device 1 wakes up quickly and device 2 wakes up slowly, device decision can only be made after the information of device 2 reaches the cloud, and then the decision result is issued. Since the waiting decision time of the device in this embodiment can be a fixed dynamic time window, such as 300ms, then device 1 and device 2 can wait for the judgment result within 300ms.
[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0100] Figure 7 This is a structural block diagram (I) of a distributed wake-up decision-making device according to an embodiment of the present application.
[0101] like Figure 7 As shown, including:
[0102] An information receiving module 72 is used to receive device information of the first terminal device, corresponding account information and an information list acquisition request sent by the first terminal device to the server when the first terminal device logs in for the first time;
[0103] A determination module 74, configured to determine the device group to which the first terminal device belongs according to the account information, and configure a wake-up delay of the first terminal device according to the device information of the first terminal device;
[0104] A response module 76 is used to send a first device list to the first terminal device in response to the information list acquisition request; wherein the first device list is configured with the wake-up delay of the terminal devices in the device group, and the wake-up delay of the first terminal device and the wake-up delay of the terminal devices in the device group are used to set the dynamic time window of the first terminal device, and the first terminal device receives the wake-up decision result sent by the server according to the dynamic time window.
[0105] Through the above-mentioned device, the device information, corresponding account information and information list acquisition request of the first terminal device sent to the server when the first terminal device logs in for the first time are received; the device group to which the first terminal device belongs is determined according to the account information, and the wake-up delay of the first terminal device is configured according to the device information of the first terminal device; in response to the information list acquisition request, the first device list is sent to the first terminal device; wherein the wake-up delay of the terminal devices in the device group is configured in the first device list, and the wake-up delay of the first terminal device and the wake-up delay of the terminal devices in the device group are used to set the dynamic time window of the first terminal device, and the first terminal device receives the wake-up decision result sent by the server according to the dynamic time window. The problem of how to reduce the probability of repeated wake-up of multiple terminal devices when multiple terminal devices send wake-up requests in the related technology is solved, thereby reducing the probability of repeated wake-up of multiple terminal devices.
[0106] In an exemplary embodiment, the above-mentioned determination module 74 is also used to obtain the first moment when the target terminal device sends the wake-up request and the second moment when the other terminal device sends the wake-up request; when it is determined that the first moment and the second moment both belong to the time period of the same session window, it is determined that the target terminal device and the other terminal device are terminal devices of the same session window.
[0107] The wake-up decision result can be determined by the reception priority of the device (i.e., the abbreviation of the terminal device), the frequency of the device sending the wake-up request, or the device model of the device. Among them, the higher the reception priority of the device, the higher the priority corresponding to the decision rule. The higher the frequency of the device sending the wake-up request, the higher the priority corresponding to the decision rule.
[0108] In other embodiments, after obtaining the first moment when the target terminal device sends the wake-up request and the second moment when the other terminal device sends the wake-up request, the first position where the target terminal device sends the wake-up request and the second position where the other terminal device sends the wake-up request can be further obtained, or the first user identity in the wake-up request sent by the target terminal device and the second user identity in the wake-up request sent by the other terminal device can be further obtained. Then, when it is determined that the first moment and the second moment both belong to the time period of the same session window, or the first position and the second position both belong to the same spatial area, or the first user identity and the second user identity both belong to the same family, at least one of the following situations is true, the target terminal device and the other terminal device are determined as terminal devices of the same session window.
[0109] For example, it can be understood that after obtaining the first moment when the target terminal device sends the wake-up request and the second moment when the other terminal device sends the wake-up request, the first position where the target terminal device sends the wake-up request and the second position where the other terminal device sends the wake-up request can be further obtained. When it is determined that the first moment and the second moment both belong to the time period of the same session window, and the above-mentioned first position and the above-mentioned second position both belong to the same spatial area, the target terminal device and the other terminal device are determined as terminal devices of the same session window.
[0110] For example, in other embodiments, after obtaining the first moment when the target terminal device sends the wake-up request and the second moment when the other terminal device sends the wake-up request, the first user identity in the wake-up request sent by the target terminal device and the second user identity in the wake-up request sent by the other terminal device can be further obtained. When it is determined that the first moment and the second moment belong to the time period of the same session window, and the above-mentioned first user identity and the above-mentioned second user identity belong to the same family, the target terminal device and the other terminal device are determined as terminal devices of the same session window.
[0111] In an exemplary embodiment, a technical solution is also proposed, which specifically includes: obtaining a network delay value between a first terminal device and a server; when it is determined that the network delay value is greater than a preset value, updating the session window according to an adjustment delay corresponding to the network delay value.
[0112] In an exemplary embodiment, the response module 76 is further configured to describe a process of performing a wake-up operation on a target terminal device among the at least two terminal devices for responding to the wake-up audio in at least one of the following ways:
[0113] Method 1: when the first moment is earlier than the second moment, determine that the target terminal device responds to the wake-up audio and performs a wake-up operation, and determine that the other terminal devices do not respond to the wake-up audio and remain silent.
[0114] Alternatively, when the second moment is earlier than the first moment, it is determined that the target terminal device does not respond to the wake-up audio and remains silent, and it is determined that the other terminal devices respond to the wake-up audio and perform a wake-up operation.
[0115] Method 2: When it is determined that the receiving priority of the target terminal device is higher than the receiving priority of the other terminal devices, it is determined that the target terminal device responds to the wake-up audio and performs a wake-up operation, and it is determined that the other terminal devices do not respond to the wake-up audio and remain silent. The receiving priority of the target terminal device and the receiving priority of the other terminal devices are both preset by the first object.
[0116] Alternatively, when it is determined that the receiving priority of the target terminal device is lower than the receiving priority of the other terminal devices, it is determined that the target terminal device does not respond to the wake-up audio and remains silent, and it is determined that the other terminal devices respond to the wake-up audio and perform a wake-up operation.
[0117] Method three: respectively obtain the first frequency of the target terminal device sending the wake-up request and the second frequency of the other terminal devices sending the wake-up request within the time period of the same session window, and when the first frequency is greater than the second frequency, determine that the target terminal device responds to the wake-up audio and performs a wake-up operation, and determine that the other terminal devices do not respond to the wake-up audio and remain silent.
[0118] Alternatively, when the first frequency is less than the second frequency, it is determined that the target terminal device does not respond to the wake-up audio and remains silent, and it is determined that the other terminal devices respond to the wake-up audio and perform a wake-up operation.
[0119] Method 4: When the device model of the target terminal device is consistent with the device model of the other terminal devices, compare the device version number of the target terminal device with the device version number of the other terminal devices. If it is determined that the device version number of the target terminal device is higher than the device version number of the other terminal devices, determine that the target terminal device responds to the wake-up audio and performs a wake-up operation, and determine that the other terminal devices do not respond to the wake-up audio and remain silent.
[0120] Alternatively, if it is determined that the device version number of the target terminal device is lower than the device version number of the other terminal devices, it is determined that the target terminal device does not respond to the wake-up audio and remains silent, and it is determined that the other terminal devices respond to the wake-up audio and perform a wake-up operation.
[0121] Figure 8 This is a structural block diagram of a distributed wake-up decision-making device according to an embodiment of the present application (II) 。 like Figure 8 As shown, a device for receiving a wake-up result is provided, comprising:
[0122] A first sending module 82, configured to send a wake-up request to a server according to the received wake-up audio;
[0123] A receiving module 84 is used to determine whether to respond to the wake-up audio according to the wake-up decision result when the wake-up decision result returned by the server is received within the dynamic time window; wherein the server is used to receive multiple wake-up requests sent by at least two terminal devices in the device group, and determine the wake-up decision result according to the multiple wake-up requests; the dynamic time window is determined according to the wake-up delay of the first terminal device.
[0124] Through the above device, a wake-up request is sent to the server according to the received wake-up audio; when the wake-up decision result returned by the server is received within the dynamic time window, whether to respond to the wake-up audio is determined according to the wake-up decision result; wherein the server is used to receive multiple wake-up requests sent by at least two terminal devices in the device group, and determine the wake-up decision result according to the multiple wake-up requests; the dynamic time window is determined according to the wake-up delay of the first terminal device. The problem of how to reduce the probability of repeated wake-up of multiple terminal devices when multiple terminal devices send wake-up requests in the related art is solved, thereby reducing the probability of repeated wake-up of multiple terminal devices.
[0125] In an exemplary embodiment, the first sending module 82 is also used to obtain a first device list corresponding to the device group, wherein the first device list includes the wake-up delays of all terminal devices in the device group; determine the maximum wake-up delay among the wake-up delays of all terminal devices, and the wake-up delay corresponding to the first terminal device; and determine the dynamic time window of the first terminal device based on the maximum wake-up delay and the wake-up delay corresponding to the first terminal device.
[0126] In an exemplary embodiment, the first sending module 82 is also used to send the device information and corresponding account information of the first terminal device to the server when the first terminal device logs in for the first time, and send an information list acquisition request to the server; receive the first device list sent by the server in response to the information list acquisition request; wherein, the terminal devices in the same device group correspond to the same account information, and the wake-up delay of the terminal devices in the device group is configured in the first device list.
[0127] In an exemplary embodiment, the first sending module 82 is also used to obtain the wake-up delay corresponding to the first terminal device and the benchmark wake-up delay corresponding to the device group; determine the difference between the maximum wake-up delay and the wake-up delay corresponding to the first terminal device, and determine the sum of the difference and the benchmark wake-up delay as the dynamic time window of the first terminal device.
[0128] Among them, the corresponding benchmark wake-up delay can be obtained in the following way: obtain the standard wake-up delay corresponding to the terminal device in the device group, and the historical wake-up delay of the terminal device in the device group; determine the benchmark wake-up delay corresponding to the device group according to the standard wake-up delay and the historical wake-up delay, for example, the average of the standard wake-up delay and the historical wake-up delay can be determined as the benchmark wake-up delay of the first terminal device.
[0129] In one embodiment, the first sending module 82 is also used to receive the updated second device list corresponding to the device group sent by the server, where the second device list is obtained by updating the first device list when the device status of the second terminal device in the device group changes from online to offline; and the dynamic time window of the first terminal device is updated according to the wake-up delay of all terminal devices in the second device list.
[0130] Optionally, in one embodiment, the above-mentioned receiving module 84 is also used to respond to the wake-up audio when the wake-up decision result returned by the server is received within the dynamic time window and the wake-up decision result is to allow wake-up; when the wake-up decision result returned by the server is received within the dynamic time window and the wake-up decision result is to not allow wake-up, keep the wake-up audio silent; when the wake-up decision result returned by the server is not received within the dynamic time window, keep the wake-up audio silent.
[0131] In one embodiment, the above-mentioned distributed wake-up decision also includes an update module for obtaining the network delay value between the first terminal device and the server; when it is determined that the network delay value is greater than a preset threshold, the dynamic time window of the first terminal device is updated according to the adjustment delay corresponding to the network delay value.
[0132] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.
[0133] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:
[0134] S1, receiving device information, corresponding account information and an information list acquisition request of the first terminal device sent to the server when the first terminal device logs in for the first time;
[0135] S2, determining the device group to which the first terminal device belongs according to the account information, and configuring the wake-up delay of the first terminal device according to the device information of the first terminal device;
[0136] S3, in response to the information list acquisition request, sending a first device list to the first terminal device; wherein the first device list is configured with the wake-up delay of the terminal devices in the device group, the wake-up delay of the first terminal device and the wake-up delay of the terminal devices in the device group are used to set the dynamic time window of the first terminal device, and the first terminal device receives the wake-up decision result sent by the server according to the dynamic time window.
[0137] Alternatively, in other embodiments, the storage medium may be configured to store program codes for performing the following steps:
[0138] S1, sending a wake-up request to the server according to the received wake-up audio;
[0139] S2, when receiving the wake-up decision result returned by the server within the dynamic time window, determining whether to respond to the wake-up audio according to the wake-up decision result; wherein the server is used to receive multiple wake-up requests sent by at least two terminal devices in the device group, and determine the wake-up decision result according to the multiple wake-up requests; the dynamic time window is determined according to the wake-up delay of the first terminal device.
[0140] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0141] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0142] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0143] S1, receiving device information, corresponding account information and an information list acquisition request of the first terminal device sent to the server when the first terminal device logs in for the first time;
[0144] S2, determining the device group to which the first terminal device belongs according to the account information, and configuring the wake-up delay of the first terminal device according to the device information of the first terminal device;
[0145] S3, in response to the information list acquisition request, sending a first device list to the first terminal device; wherein the first device list is configured with the wake-up delay of the terminal devices in the device group, the wake-up delay of the first terminal device and the wake-up delay of the terminal devices in the device group are used to set the dynamic time window of the first terminal device, and the first terminal device receives the wake-up decision result sent by the server according to the dynamic time window.
[0146] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0147] Alternatively, in other embodiments, the processor may be configured to perform the following steps through a computer program:
[0148] S1, sending a wake-up request to the server according to the received wake-up audio;
[0149] S2, when receiving the wake-up decision result returned by the server within the dynamic time window, determining whether to respond to the wake-up audio according to the wake-up decision result; wherein the server is used to receive multiple wake-up requests sent by at least two terminal devices in the device group, and determine the wake-up decision result according to the multiple wake-up requests; the dynamic time window is determined according to the wake-up delay of the first terminal device.
[0150] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0151] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0152] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A distributed wake-up decision method, characterized in that: Applicable to the first terminal device in the device group, comprising: Send a wake-up request to the server according to the received wake-up audio; In the case where a wake-up decision result returned by the server is received within the dynamic time window, determining whether to respond to the wake-up audio according to the wake-up decision result; wherein the server is used to receive multiple wake-up requests sent by at least two terminal devices in the device group, and determine the wake-up decision result according to the multiple wake-up requests; the dynamic time window is determined according to the wake-up delay of the first terminal device; The method further comprises: Determining the dynamic time window corresponding to the first terminal device includes: Obtain a first device list corresponding to the device group, wherein the first device list includes wake-up delays of all terminal devices in the device group; Determine a maximum wake-up delay among the wake-up delays of all the terminal devices, and a wake-up delay corresponding to the first terminal device; Determining a dynamic time window of the first terminal device according to the maximum wake-up delay and the wake-up delay corresponding to the first terminal device; The determining, according to the maximum wake-up delay and the wake-up delay corresponding to the first terminal device, the dynamic time window of the first terminal device includes: Obtaining a wake-up delay corresponding to the first terminal device and a benchmark wake-up delay corresponding to the device group; A difference between the maximum wake-up delay and the wake-up delay corresponding to the first terminal device is determined, and a sum of the difference and the reference wake-up delay is determined as a dynamic time window of the first terminal device.
2. The distributed wake-up decision method according to claim 1, characterized in that: Obtaining a first device list corresponding to the device group includes: When the first terminal device logs in for the first time, the device information and corresponding account information of the first terminal device are sent to the server, and an information list acquisition request is sent to the server; the first device list sent by the server in response to the information list acquisition request is received; wherein, the terminal devices in the same device group correspond to the same account information, and the wake-up delay of the terminal devices in the device group is configured in the first device list.
3. The distributed wake-up decision method according to claim 1, characterized in that: The method also includes: receiving a second device list corresponding to the updated device group sent by the server, wherein the second device list is obtained by updating the first device list when the device status of the second terminal device in the device group changes from online to offline; and updating the dynamic time window of the first terminal device according to the wake-up delay of all terminal devices in the second device list.
4. The distributed wake-up decision method according to claim 1, characterized in that: In a case where a wake-up decision result returned by the server is received within the dynamic time window, determining whether to respond to the wake-up audio according to the wake-up decision result includes: When a wake-up decision result returned by the server is received within the dynamic time window and the wake-up decision result is to allow wake-up, responding to the wake-up audio; When a wake-up decision result returned by the server is received within the dynamic time window and the wake-up decision result is that wake-up is not allowed, keeping silent the wake-up audio; If no wake-up decision result is received from the server within the dynamic time window, the wake-up audio is kept silent.
5. The distributed wake-up decision method according to claim 1, characterized in that: The method further comprises: obtaining a network delay value between the first terminal device and the server; When it is determined that the network delay value is greater than a preset threshold, the dynamic time window of the first terminal device is updated according to the adjustment delay corresponding to the network delay value.
6. A distributed wake-up decision method, characterized in that: include: Receiving device information, corresponding account information, and an information list acquisition request of the first terminal device sent to the server when the first terminal device logs in for the first time; Determine the device group to which the first terminal device belongs according to the account information, and configure the wake-up delay of the first terminal device according to the device information of the first terminal device; In response to the information list acquisition request, sending a first device list to the first terminal device; The first device list is configured with a wake-up delay of the terminal devices in the device group, the wake-up delay of the first terminal device and the wake-up delay of the terminal devices in the device group are used to set a dynamic time window of the first terminal device, and the first terminal device receives the wake-up decision result sent by the server according to the dynamic time window; The dynamic time window corresponding to the first terminal device is determined in the following manner: obtaining a first device list corresponding to the device group, wherein the first device list includes wake-up delays of all terminal devices in the device group; determining a maximum wake-up delay among the wake-up delays of all terminal devices, and a wake-up delay corresponding to the first terminal device; determining the dynamic time window of the first terminal device according to the maximum wake-up delay and the wake-up delay corresponding to the first terminal device; Among them, determining the dynamic time window of the first terminal device based on the maximum wake-up delay and the wake-up delay corresponding to the first terminal device includes: obtaining the wake-up delay corresponding to the first terminal device and the benchmark wake-up delay corresponding to the device group; determining the difference between the maximum wake-up delay and the wake-up delay corresponding to the first terminal device, and determining the sum of the difference and the benchmark wake-up delay as the dynamic time window of the first terminal device.
7. A distributed wake-up decision device, characterized in that: include: A first sending module, configured to send a wake-up request to a server according to the received wake-up audio; A receiving module, configured to determine whether to respond to the wake-up audio according to the wake-up decision result when receiving the wake-up decision result returned by the server within the dynamic time window; wherein the server is configured to receive multiple wake-up requests sent by at least two terminal devices in the device group, and determine the wake-up decision result according to the multiple wake-up requests; the dynamic time window is a dynamic time window determined according to the wake-up delay of the first terminal device; The distributed wake-up decision device is further used to determine the dynamic time window corresponding to the first terminal device in the following manner: obtaining a first device list corresponding to the device group, wherein the first device list includes the wake-up delays of all terminal devices in the device group; determining the maximum wake-up delay among the wake-up delays of all terminal devices, and the wake-up delay corresponding to the first terminal device; determining the dynamic time window of the first terminal device according to the maximum wake-up delay and the wake-up delay corresponding to the first terminal device; The distributed wake-up decision device is also used to obtain the wake-up delay corresponding to the first terminal device and the benchmark wake-up delay corresponding to the device group; determine the difference between the maximum wake-up delay and the wake-up delay corresponding to the first terminal device, and determine the sum of the difference and the benchmark wake-up delay as the dynamic time window of the first terminal device.
8. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.
Citation Information
Patent Citations
Voice wakeup method and electronic device
CN110364151A
Voice wake-up method among multiple devices and auto-negotiation voice wake-up method, device and system
CN111048086A
Intelligent equipment awakening method and device and electronic equipment
CN111968644A
Wake-up response operation execution method and device, storage medium and electronic device
CN112837686A
Voice collaborative wake-up method and device, electronic equipment and storage medium
CN113689857A
