Method and device for voice intelligent wake-up of equipment, electronic equipment and storage medium
By having each device in the distributed voice system send wake-up information to each other and make multiple decisions, the problems of slow device wake-up speed and low reliability are solved, achieving fast and accurate device wake-up and improving user experience.
Patent Information
- Application Number
- CN202310108500.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-17
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2043-01-17
AI Technical Summary
In existing distributed voice systems, device wake-up speed is slow and the wake-up behavior is inconsistent with user expectations, resulting in a poor user experience, especially when local area network communication is poor, leading to inaccurate decision-making results.
Each device sends a wake-up message to all other devices and determines the initial wake-up device within a first preset decision time. After the initial wake-up device sends a wake-up message again, it selects the final wake-up device within a second preset decision time. Through multiple decisions, the device ensures that it responds to the user's wake-up command.
It improves the speed and reliability of device wake-up, ensures that wake-up commands are responded to within a predetermined time, avoids inaccurate decision-making results caused by poor communication, and enhances the user experience.
Smart Images

Figure CN116052665B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of smart home, and particularly relates to a device voice intelligent awakening method and device, an electronic device and a 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 relatively long time to decide the final device to be woken up, and the behavior of the woken-up device may not be consistent with the user's expectation, thereby causing poor user experience. SUMMARY
[0004] Therefore, it is necessary to provide a device voice intelligent awakening method and device, an electronic device and a storage medium, which can improve the speed and reliability of device awakening.
[0005] The first aspect of the present application discloses a device voice intelligent awakening method applied to a distributed voice system, the distributed voice system comprising a plurality of devices, and the plurality of devices are communicatively connected. The device voice intelligent awakening method comprises the following steps: in response to a wake-up instruction, controlling each device to send its own wake-up information to all other devices, wherein each device can make a decision on all the received wake-up information within a first preset decision time length, and determine whether it is a primary wake-up device; after the device sends its own wake-up information for the first preset decision time length, determining N primary wake-up devices, wherein the primary wake-up device replies to the wake-up instruction, and N is a constant greater than or equal to 1; in response to the primary wake-up device sending its own wake-up information again, selecting at least one primary wake-up device from the N primary wake-up devices as a final wake-up device within a second preset decision time length.
[0006] Compared with the related art, the present application has at least the following advantages:
[0007] The control of each device sending its own wake-up information to all other devices can ensure that each device can make a decision on the received wake-up information to determine the initial wake-up device after a first preset decision time. Since the initial wake-up device will send a wake-up reply to the wake-up instruction from the user, even if there is a device with poor communication, it can be ensured that the wake-up instruction can be responded to within a predetermined time (i.e. after the first preset decision time after the device sends its own wake-up information), thereby improving the wake-up speed of the device. In addition, the initial wake-up device will send its own wake-up information again while sending a wake-up reply to the wake-up instruction, so that the initial wake-up device can make a decision again on the wake-up information received within a second preset decision time to determine the final wake-up device. In this way, the device can have a longer time to receive the wake-up information sent by other devices, thereby avoiding the situation that "some devices have poor communication and do not receive the wake-up information from other devices within the first preset decision time, thereby resulting in inaccurate decision results", and improving the reliability of device wake-up.
[0008] In a possible implementation, N is a constant greater than 1; and the step of selecting at least one device from the N initial wake-up devices as the final wake-up device within the second preset decision time specifically includes: selecting an arbitrary device from the N initial wake-up devices as an original device, and selecting other devices from the N initial wake-up devices as comparison devices; monitoring whether the second preset decision time has elapsed since the initial wake-up device sends the own wake-up information again, or monitoring whether there is a comparison device, and when it is monitored that the second preset decision time has not elapsed or there is a comparison device, performing the following selection step: using the original device to receive the wake-up information sent by the comparison device closest to the original device, and selecting one of the original device and the comparison device closest to the original device as a new original device, wherein the shorter the communication time between the original device and the comparison device, the closer the original device to the comparison device; repeating the selection step until it is monitored that the second preset decision time has elapsed since the initial wake-up device sends the own wake-up information again or there is no comparison device, and selecting the last selected new original device as the final wake-up device.
[0009] By adopting the technical scheme, the device wake-up speed can be further improved while improving the reliability of device wake-up.
[0010] In a possible implementation, the step of selecting one of the original device and the comparison device closest to the original device as a new original device specifically includes: comparing the wake-up information of the original device and the wake-up information of the comparison device, and selecting one of the original device and the comparison device as a new original device according to the comparison result.
[0011] In a possible implementation, N is a constant greater than 1; and the step of selecting at least one device from the N devices as the final wake-up device within the second preset decision time period specifically includes: determining the final wake-up device from the N devices after a second preset decision time period elapses after the wake-up information of each device is sent again, where each device can make a decision on all the wake-up information received within the second preset decision time period, and determine whether the device is the final wake-up device.
[0012] In a possible implementation, the second preset decision time period is greater than or equal to 600 milliseconds and less than or equal to 1850 milliseconds.
[0013] In a possible implementation, the first preset decision time period is greater than or equal to 150 milliseconds and less than or equal to 400 milliseconds.
[0014] In a possible implementation, the wake-up information at least includes an audio straight mix ratio and / or an audio angle.
[0015] In a second aspect, an embodiment of the present application provides a storage medium, including computer instructions, when the computer instructions run on an electronic device, the electronic device executes the method for device voice intelligent wake-up as in the first aspect.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the method for device voice intelligent wake-up as in the first aspect.
[0017] In a fourth aspect, an embodiment of the present application provides a device voice intelligent wake-up apparatus, applied to a distributed networking system, the distributed networking system includes multiple devices, and the devices are in communication connection; the device voice intelligent wake-up apparatus includes: a control module, configured to respond to a wake-up instruction, and control each device to send its own wake-up information to all other devices, where each device can make a decision on all the wake-up information received within a first preset decision time period, and determine whether the device is a primary wake-up device; a first selection module, configured to determine N primary wake-up devices after the wake-up information of each device is sent for the first preset decision time period, where the primary wake-up devices respond to the wake-up instruction, and N is a constant greater than or equal to 1; and a second selection module, configured to select at least one primary wake-up device from the N primary wake-up devices as a final wake-up device within a second preset decision time period in response to the wake-up information of the primary wake-up device sent again.
[0018] It can be understood that the storage medium of the second aspect, the electronic device of the third aspect, the device voice intelligent wake-up apparatus of the fourth aspect and the method of the first aspect correspond to each other, and the beneficial effects achieved thereby can refer to the beneficial effects of the corresponding method provided above, which will not be described here again. BRIEF DESCRIPTION OF DRAWINGS
[0019] Figure 1 A flowchart of a method for device voice intelligent wake-up is provided for an embodiment of the present application.
[0020] Figure 2 A flowchart of a method for device voice intelligent wake-up is provided for an embodiment of the present application.
[0021] Figure 3 A flowchart of a method for device voice intelligent wake-up is provided for an embodiment of the present application.
[0022] Figure 4 A functional module schematic diagram of an electronic device is provided for an embodiment of the present application.
[0023] Figure 5 A functional module schematic diagram of a device voice intelligent wake-up apparatus is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to more clearly understand the above objectives, features and advantages of the present application, the present application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0025] In the following description, many specific details are set forth in order to fully understand the present application. The described embodiments are merely some of the embodiments of the present application, not all the embodiments.
[0026] 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 the present application belongs. The terms used in the specification of the present application are only for the purpose of describing the specific embodiments of the present application, and are not intended to limit the present application.
[0027] It is further noted that the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0028] In the present application, "at least one" means one or more, and "multiple" means two or more than two. The "and / or" describes the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth" and the like (if any) in the specification and claims of the present application and the drawings are used to distinguish similar objects, and are not used to describe a specific order or sequence.
[0029] In the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design presented as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the use of "exemplary" or "for example" is intended to present concepts in a concrete manner.
[0030] For ease of understanding, some exemplary descriptions of concepts related to the embodiments of the present application are given for reference.
[0031] A plurality of devices are communicatively connected to form a distributed voice system, which is a loosely coupled system formed by interconnecting a plurality of devices through communication lines, and has high cohesion and transparency. The device in the present application is built-in with a microphone or a microphone array, and the user can interact with the device in the near field or the far field with a certain distance. The device includes a smart speaker, a smart TV, a smart washing machine, a smart phone, etc., which are not described one by one here.
[0032] Please refer to Figure 1 The flowchart of the method for voice intelligent wake-up of the device provided by an embodiment of the present application includes the following steps:
[0033] Step 101: In response to the wake-up instruction, control each device to send its own wake-up information to all other devices.
[0034] In some embodiments, after receiving the wake-up instruction issued by the user, the distributed voice system controls each device to send its own wake-up information to all other devices.
[0035] Specifically, since each device is in the same local area network, on the one hand, the transmission speed of information between devices can be improved, so that each device can receive the wake-up information sent by other devices faster, thereby making a decision faster; on the other hand, the transmission of information between devices is not affected by the Internet, and fast transmission of information between devices can be achieved even in the absence of a network or in a poor network environment. In some embodiments, each device can make a decision on all the wake-up information received within the first preset decision time, and determine whether it is a primary wake-up device.
[0036] Specifically, each device can make a decision on all the wake-up information received within the first preset decision time by the following method: each device makes an algorithmic decision on all the wake-up information it currently has, and if the result of the algorithmic decision is that the wake-up condition of the device is optimal, the device will be woken up.
[0037] In some embodiments, the wake-up instruction is issued by the user and can be a voice instruction such as "Hello, smart device" sent by the user. The content of the voice instruction can be set according to the actual needs of the user, and the present embodiment does not make a specific limitation on the content of the voice instruction.
[0038] In some embodiments, the wake-up information can be the audio straight mix ratio and / or the audio angle received by the device.
[0039] Step 102: After the device sends its own wake-up information for the first preset decision time, determine N primary wake-up devices.
[0040] In some embodiments, the primary wake-up device replies to the wake-up instruction, and N is a constant greater than or equal to 1.
[0041] Specifically, the primary wake-up device replies to the wake-up instruction issued by the user, which can ensure that the user's wake-up instruction is responded to within a predetermined time (i.e. after the device sends its own wake-up information for the first preset decision time), thereby improving the user's experience.
[0042] In some embodiments, if the network environment is superior, so that each device can receive the wake-up information sent by all other devices within the first preset decision time, the wake-up information possessed by each device is the same, so the result of the algorithmic decision of each device will also be the same, and thus only one device will be decided as the primary wake-up device.
[0043] In some embodiments, if affected by the network environment or other factors, part of the devices (hereinafter referred to as M devices for convenience of description) cannot receive the wake-up information sent by all other devices within the first preset decision time, resulting in that the wake-up information possessed by the M devices is inconsistent with that of other devices (other devices are devices capable of receiving the wake-up information sent by all other devices within the first preset decision time), and further resulting in that the result of the algorithm decision of the M devices may be inconsistent with that of other devices, then multiple primary wake-up devices are determined.
[0044] Specifically, the M devices can be multiple, and the wake-up information received by each M device within the first preset decision time can be different, for example, some M devices can not receive other wake-up information within the first preset decision time, and directly determine themselves as primary wake-up devices.
[0045] In some embodiments, the first preset decision time is greater than or equal to 150 milliseconds and less than or equal to 400 milliseconds. Since the primary wake-up device will reply to the wake-up instruction issued by the user, by setting the first preset decision time in this range, on the one hand, the decision time of the device can be shortened, the wake-up speed of the device can be improved, and thus the user experience can be improved; on the other hand, it can ensure that each device can receive the wake-up information of all other devices as much as possible, improve the decision accuracy of the distributed networking system, and thus improve the reliability of the device voice intelligent wake-up method.
[0046] Step 103: In response to the primary wake-up device sending its own wake-up information again, at least one primary wake-up device is selected from the N primary wake-up devices as a final wake-up device within a second preset decision time.
[0047] In some embodiments, the second preset decision time is greater than or equal to 600 milliseconds and less than or equal to 1850 milliseconds. Specifically, the second preset decision time is the time from when the primary wake-up device sends its own wake-up information again to when the final wake-up device is selected. By setting in this range, it can be ensured that each primary wake-up device can receive the wake-up message sent by all other primary wake-up devices, thereby ensuring the accuracy of the final wake-up device selected; in addition, the second preset decision time in this range will not affect the user experience.
[0048] In some embodiments, the final wake-up device can be one or multiple, when N is a constant greater than 1, the number of final wake-up devices is M, M is a constant less than N, for example, the user's wake-up instruction is to turn on the air conditioner and the television, and then the air conditioner and the television will be woken up.
[0049] It should be noted that how to select at least one primary wake-up device from the N primary wake-up devices as the final wake-up device within the second preset decision time is specifically described in subsequent embodiments, and details are not repeated herein.
[0050] Compared with the related art, the embodiments of the present application have at least the following advantages: controlling each device to send its own wake-up information to all other devices can ensure that each device can make a decision on the received wake-up information to determine the primary wake-up device after the first preset decision time. Since the primary wake-up device will make a wake-up reply to the wake-up instruction issued by the user, even if there is a device with poor communication, it can still ensure that it can respond to the wake-up instruction within the predetermined time (i.e., after the device sends its own wake-up information for the first preset decision time), thereby improving the wake-up speed of the device. In addition, the primary wake-up device will send its own wake-up information again while making a wake-up reply to the wake-up instruction, so that the primary wake-up device can make a decision again on the wake-up information received within the second preset decision time to determine the final wake-up device. In this way, the device can have a longer time to receive the wake-up information sent by other devices, avoiding the situation that "some devices have poor communication and do not receive the wake-up information of other devices within the first preset decision time, thereby leading to inaccurate decision results", thereby improving the reliability of device wake-up.
[0051] For reference Figure 2 The flowchart of the method for voice intelligent wake-up of the device provided by an embodiment of the present application is further described with reference to the foregoing embodiments, and specifically describes how to select at least one primary wake-up device from the N primary wake-up devices as the final wake-up device within the second preset decision time, which includes the following steps:
[0052] Step 201: In response to the wake-up instruction, control each device to send its own wake-up information to all other devices.
[0053] Step 202: After the device sends its own wake-up information for the first preset decision time, determine N primary wake-up devices.
[0054] In some embodiments, N is a constant greater than 1.
[0055] Step 203: Arbitrarily select one device from the N primary wake-up devices as the original device, and select the other devices in the N primary wake-up devices as the devices to be compared.
[0056] In some embodiments, the primary wake-up device with the smallest IP address can be selected as the original device.
[0057] Step 204: receiving the wake-up information sent by the nearest to-be-compared device from the original device, and selecting one of the original device and the nearest to-be-compared device as a new original device.
[0058] In some embodiments, the selection of one of the original device and the nearest to-be-compared device as a new original device can be performed by comparing the wake-up information of the original device and the wake-up information of the to-be-compared device, and selecting one of the devices as a new original device according to the comparison result.
[0059] Step 205: determining whether a second preset decision time length has elapsed after the initial wake-up device sends its own wake-up information again, or determining whether there is another to-be-compared device, and performing step 204 when it is determined that the second preset decision time length has not elapsed or that there is another to-be-compared device; performing step 206 when it is determined that the second preset decision time length has elapsed or that there is no other to-be-compared device.
[0060] In some embodiments, assuming that there are 5 to-be-compared devices and the second preset decision time length is 1000 milliseconds, the original device has received the wake-up information sent by the last to-be-compared device at 800 milliseconds, and therefore there is no need to wait for another 200 milliseconds, and the final wake-up device can be determined directly according to the comparison result. In this way, the speed of device wake-up can be further improved, thereby improving the user experience.
[0061] Step 206: selecting the last selected new original device as a final wake-up device.
[0062] For ease of understanding, the device intelligent wake-up manner of the present embodiment is described in detail as follows:
[0063] (1) Assuming that there are 5 devices in the distributed voice system, numbered K1, K2, K3, K4, and K5, the first preset decision time length is 300 milliseconds, and the second preset decision time length is 1200 milliseconds.
[0064] (2) In response to a wake-up instruction issued by a user, K1 to K5 send their own wake-up information to the other four devices.
[0065] (3) After 300 milliseconds elapse after K1 to K5 send their own wake-up information, K1 to K5 all make decisions on all the wake-up information currently possessed by themselves, and determine whether they are initial wake-up devices. Assuming that K1, K3, and K5 determine that they are initial wake-up devices, K1, K3, and K5 all perform wake-up responses.
[0066] (4) Select K1 from K1, K3, K5 as the original device, and K3, K5 as the to-be-compared devices, assuming that the communication duration between K3 and K1 is 500 milliseconds, the communication duration between K5 and K1 is 800 milliseconds, and the communication duration between K3 and K5 is 1000 milliseconds.
[0067] (5) K1, K3, and K5 send their own wake-up information again while responding to the wake-up response, K1 and K3 determine a new original device after 500 milliseconds, assuming that K3 is the new original device, K3 and K5 determine a new original device after another 500 milliseconds (i.e., a total of 1000 milliseconds), although the second preset decision duration 1200 milliseconds has not been exceeded, there is no to-be-compared device, and thus the new original device is taken as the final wake-up device, which responds to the wake-up response again.
[0068] Compared with the related art, the embodiments of the present application have at least the following advantages: controlling each device to send its own wake-up information to all other devices ensures that each device can make a decision on the received wake-up information to determine the initial wake-up device after the first preset decision duration. Since the initial wake-up device responds to the wake-up instruction from the user, even if there is a device with poor communication, it can still respond to the wake-up instruction within the predetermined time (i.e., after the device sends its own wake-up information for the first preset decision duration), thereby improving the wake-up speed of the device. In addition, the initial wake-up device sends its own wake-up information again while responding to the wake-up instruction, so that the initial wake-up device can make a decision again on the wake-up information received within the second preset decision duration to determine the final wake-up device. In this way, the device has a longer time to receive the wake-up information sent by other devices, avoiding the situation that "some devices have poor communication and do not receive the wake-up information from other devices within the first preset decision duration, thereby leading to inaccurate decision results", thereby improving the reliability of the device wake-up.
[0069] Please refer to Figure 3 The flowchart of the method for voice intelligent wake-up of a device provided by an embodiment of the present application, which is a further description of the foregoing embodiment, specifically describes how to select at least one initial wake-up device from N initial wake-up devices as the final wake-up device within the second preset decision duration, including the following steps:
[0070] Step 301: In response to the wake-up instruction, control each device to send its own wake-up information to all other devices.
[0071] Step 302: Determine N initial wake-up devices after the first preset decision duration of the device sending its own wake-up information.
[0072] In some embodiments, N is a constant greater than 1.
[0073] Step 303: In response to the initial wake-up device sending its own wake-up information again, determining the final wake-up device among the N initial wake-up devices after the second preset decision time length after the initial wake-up device sends its own wake-up information again.
[0074] In some embodiments, the final wake-up device can be one or more, for example, if the user's wake-up instruction is to turn on the living room light and the curtain, then the living room light and the curtain will both respond to the wake-up instruction.
[0075] For ease of understanding, the following describes the device intelligent wake-up method in this embodiment in detail:
[0076] (1) Assuming that the distributed voice system has a total of 4 devices, numbered M1, M2, M3, and M4, the first preset decision time length is T1, and the second preset decision time length is T2.
[0077] (2) In response to the user's wake-up instruction, M1 to M4 all send their own wake-up information to the other three devices.
[0078] (3) After M1 to M4 send their own wake-up information for the first preset decision time length T1, M1 to M4 all make decisions on all the wake-up information currently possessed by themselves, and determine whether they are initial wake-up devices. If the determination is yes, they will respond to the wake-up. Assuming that M1 and M3 determine that they are initial wake-up devices, then M1 and M3 both respond to the wake-up.
[0079] (4) M1 and M3 send their own wake-up information again while responding to the wake-up, and after M1 and M3 send their own wake-up information again for the second preset decision time length T2, M1 and M3 both make decisions on all the wake-up information currently possessed by themselves, and determine whether they are final wake-up devices. If the determination is yes, they will respond to the wake-up again.
[0080] Compared with the related art, the embodiment of the present application has at least the following advantages: controlling each device to send its own wake-up information to all other devices can ensure that each device can make a decision on the received wake-up information to determine the initial wake-up device after a first preset decision time. Since the initial wake-up device will send a wake-up reply to the wake-up instruction issued by the user, even if there is a device with poor communication, it can still ensure that the wake-up instruction can be responded to within a predetermined time (i.e. after the first preset decision time after the device sends its own wake-up information), thereby improving the wake-up speed of the device. In addition, the initial wake-up device will send its own wake-up information again while sending a wake-up reply to the wake-up instruction, so that the initial wake-up device can make a decision again on the wake-up information received within a second preset decision time to determine the final wake-up device. In this way, the device can have a longer time to receive the wake-up information sent by other devices, avoiding the situation that "some devices have poor communication and do not receive the wake-up information of other devices within the first preset decision time, thereby leading to inaccurate decision results", thereby improving the reliability of device wake-up.
[0081] Please refer to Figure 4 , the hardware structure schematic diagram of the electronic device 1000 provided by the embodiment of the present application. As shown in Figure 4 , the electronic device 1000 can include a processor 1001, a memory 1002. The memory 1002 is used to store one or more computer programs 1003. One or more computer programs 1003 are configured to be executed by the processor 1001. The one or more computer programs 1003 include instructions that can be used to implement the method of device wake-up as described in the electronic device 1000. Figures 1 to 3 .
[0082] It can be understood that the structure illustrated in the embodiment does not constitute a specific limitation on the electronic device 1000. In other embodiments, the electronic device 1000 can include more or fewer components than the illustration, or combine certain components, or split certain components, or different component arrangements.
[0083] The processor 1001 can include one or more processing units, e.g., an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video code, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.
[0084] The processor 1001 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 1001 is a cache memory. The memory can hold instructions or data that the processor 1001 has just used or is recycling. If the processor 1001 needs to use the instructions or data again, it can call them directly from the memory. This avoids repeated access and reduces the latency of the processor 1001, thus improving the efficiency of the system.
[0085] In some embodiments, the processor 1001 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a USB interface, etc.
[0086] In some embodiments, the memory 1002 can include a high-speed random access memory, and can also include a non-volatile memory, e.g., a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0087] The embodiment further provides a computer storage medium, in which computer instructions are stored, and when the instructions are run on an electronic device, the electronic device executes the above-mentioned related method steps to realize the method for waking up the device in the above-mentioned embodiment.
[0088] The electronic device and the computer storage medium provided in the embodiment are used to execute the corresponding method provided above, and thus the beneficial effects achieved by the electronic device and the computer storage medium can refer to the beneficial effects of the corresponding method provided above, which will not be described here again.
[0089] In practical applications, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0090] In several embodiments provided in the present application, the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are illustrative, for example, the division of the module or unit is a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0091] The units described as separate components can or can not be physically separate, and the components shown as units can be one physical unit or multiple physical units, that is, can be located in one place or can be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0092] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0093] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such an understanding, the technical solutions of the embodiments of the present application essentially or the parts that make contributions to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The software product is stored in a storage medium, and includes a number of instructions to make a device (which can be a single-chip microcomputer, a chip, etc.) or a processor execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0094] Please refer to Figure 5 The functional module schematic diagram of the device voice intelligent awakening apparatus 500 provided by the embodiments of the present application is shown in FIG. 1. As shown in FIG. 1, the device voice intelligent awakening apparatus 500 can include a control module 501, a first selection module 502, and a second selection module 503. The module referred to by the embodiments of the present application can be a program segment that completes a specific function, and is more suitable for describing the execution process of software in a processor. The one or more modules can be stored in a memory and configured to be executed by one or more processors. Figure 5
[0095] The device voice intelligent awakening apparatus 500 is applied to a distributed networking system, and the distributed networking system includes a plurality of devices, and the plurality of devices are in communication connection. Specifically, the control module 501 is configured to respond to an awakening instruction, and control each device to send its own awakening information to all other devices, wherein each device can make a decision on all the awakening information received within a first preset decision time length, and determine whether it is a primary awakening device; the first selection module 502 is configured to determine N primary awakening devices after the device sends its own awakening information for the first preset decision time length, wherein the primary awakening device replies to the awakening instruction, and N is a constant greater than or equal to 1; and the second selection module 503 is configured to respond to the primary awakening device sending its own awakening information again, and select at least one primary awakening device from the N primary awakening devices as a final awakening device within a second preset decision time length.
[0096] The above merely provides a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any change or replacement within the technical scope disclosed by the present application should be covered within the protection scope of the present application.
Claims
1. A method for voice intelligent wake-up of a device, the method comprising: The application is applied to a distributed networking system, the distributed networking system comprises a plurality of devices, the plurality of devices are in communication connection, and the method for voice intelligent wake-up of the devices comprises: In response to a wake-up instruction, each device sends its own wake-up information to all other devices, wherein each device can make a decision on all the wake-up information received within a first preset decision time period to determine whether it is a primary wake-up device; After the device sends its own wake-up information for the first preset decision time period, N primary wake-up devices are determined, wherein the primary wake-up devices reply to the wake-up instruction, and N is a constant greater than or equal to 1; In response to the primary wake-up devices sending their own wake-up information again, at least one primary wake-up device is selected from the N primary wake-up devices as a final wake-up device within a second preset decision time period, wherein the second preset decision time period indicates the time period from when the primary wake-up devices send their own wake-up information again to when the final wake-up device is selected.
2. The method of device voice intelligent wake-up as claimed in claim 1, wherein, N is a constant greater than 1; the step of selecting at least one device from the N primary wake-up devices as a final wake-up device within a second preset decision time period comprises: Any one of the N primary wake-up devices is selected as an original device, and the other devices in the N primary wake-up devices are selected as comparison devices; Whether the second preset decision time period has elapsed or whether there are comparison devices after the primary wake-up devices send their own wake-up information again is monitored, and the following selection step is performed when it is monitored that the second preset decision time period has not elapsed or there are comparison devices: The original device receives wake-up information sent by the comparison device closest to it, and one of the original device and the comparison device closest to it is selected as a new original device, wherein the shorter the communication time period between the original device and the comparison device, the closer the original device is to the comparison device; the selection step is repeated until it is monitored that the second preset decision time period has elapsed or there are no comparison devices after the primary wake-up devices send their own wake-up information again, and the new original device selected last is selected as the final wake-up device.
3. The method of device voice intelligent wake-up as claimed in claim 2, wherein, The step of selecting one of the original device and the comparison device closest to it as a new original device comprises: The wake-up information of the original device and the wake-up information of the comparison device are compared, and one of the devices is selected as the new original device according to the comparison result.
4. The method of device voice intelligent wake-up as claimed in claim 1, wherein, N is a constant greater than 1; the step of selecting at least one device from the N primary wake-up devices as a final wake-up device within a second preset decision time period comprises: After the second preset decision time period elapses after the primary wake-up devices send their own wake-up information again, the final wake-up device among the N primary wake-up devices is determined, wherein each primary wake-up device can make a decision on all the wake-up information received within the second preset decision time period to determine whether it is a final wake-up device.
5. The method of device voice intelligent wake-up as claimed in claim 4, wherein, The second preset decision duration is greater than or equal to 600 milliseconds and less than or equal to 1850 milliseconds.
6. The method of device voice intelligent wake-up as claimed in claim 1, wherein, The first preset decision duration is greater than or equal to 150 milliseconds and less than or equal to 400 milliseconds.
7. The method of device voice intelligent wake-up as claimed in claim 1, wherein, The wake-up information at least includes An audio direct mixing ratio and / or an audio angle.
8. A storage medium, characterized by The computer instructions, when executed on an electronic device, cause the electronic device to perform the method of device voice intelligent wake-up according to any one of claims 1 to 7.
9. An electronic device, comprising: The electronic device includes a processor and a memory, the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device performs the method of device voice intelligent wake-up according to any one of claims 1 to 7.
10. A device voice intelligent wake-up apparatus, characterized by comprising: The device voice intelligent wake-up apparatus is applied to a distributed networking system, the distributed networking system includes a plurality of devices, and the plurality of devices are in communication connection, and the device voice intelligent wake-up apparatus includes: A control module, the control module is used to respond to a wake-up instruction, control each of the devices to send its own wake-up information to all other devices, wherein each of the devices can make a decision on all the wake-up information received within a first preset decision duration, and determine whether it is a primary wake-up device; A first selection module, the first selection module is used to determine N primary wake-up devices after the device sends its own wake-up information for the first preset decision duration, wherein the primary wake-up device sends a wake-up reply to the wake-up instruction, and N is a constant greater than or equal to 1; A second selection module, the second selection module is used to respond to the primary wake-up device sending its own wake-up information again, and select at least one primary wake-up device from the N primary wake-up devices as a final wake-up device within a second preset decision duration; the second preset decision duration indicates the time duration from when the primary wake-up device sends its own wake-up information again to when the final wake-up device is selected.
Citation Information
Patent Citations
Voice collaborative wake-up method and device, electronic equipment and storage medium
CN113689857A