Wake-up control method, device and computer-readable storage medium
By detecting the microphone status and sound source distance of the device, it optimizes the wake-up response between devices, solves the crosstalk and confusion problems caused by multiple devices waking up at the same time, and improves the user experience and response speed.
Patent Information
- Application Number
- CN202011128066.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-20
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-10-20
AI Technical Summary
When multiple devices with voice interaction functions wake up at the same time, crosstalk between devices and confusion in the interaction scene will result, seriously affecting the user experience.
By detecting the microphone status of devices in the LAN, candidate wake-up devices are determined, and the target wake-up device is determined based on the distance between the device and the sound source to optimize the wake-up response process and avoid multiple devices waking up at the same time.
It reduces the simultaneous wake-up rate, improves user experience, shortens wake-up response time, and reduces crosstalk and interaction confusion between devices.
Smart Images

Figure CN112037787B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to a wake-up control method, device, and computer-readable storage medium. Background Art
[0002] With the continuous development of voice interaction technology, more and more devices are equipped with voice interaction functions. For example, smart speakers, smart air conditioners, smart TVs, smart air purifiers, etc. can all be equipped with voice interaction functions to achieve voice control and interaction. However, when there are multiple devices with voice interaction functions in a space at the same time (usually connected through a local area network), and their wake-up words are the same, if the user initiates a wake-up operation, multiple devices will be woken up and answered at the same time. This will cause crosstalk between different devices, and the interaction scene will become chaotic, seriously affecting the user experience. Summary of the invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a wake-up control method, device and computer-readable storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a wake-up control method is provided, including:
[0005] In response to receiving the voice signal, detecting whether there is a second device with a voice interaction function in the same local area network;
[0006] In response to a detection result of detecting the second device, acquiring a microphone state of the second device, and determining a candidate wake-up device from the second device according to the microphone state of the second device;
[0007] A target wake-up device is determined based at least on the received first information sent by the candidate wake-up device, wherein the target wake-up device is used to perform a wake-up response, and the first information is used to characterize the distance between the candidate wake-up device and the sound source of the voice signal.
[0008] Optionally, determining the target wake-up device at least according to the received first information sent by the candidate wake-up device includes:
[0009] The first information received within the preset time period is regarded as the valid first information;
[0010] The target wake-up device is determined at least based on the valid first information sent by the candidate wake-up device and received within the preset time period.
[0011] Optionally, determining the target wake-up device at least according to the received first information sent by the candidate wake-up device includes:
[0012] Determine second information according to the voice signal, wherein the second information is used to characterize the distance between the first device and a sound source of the voice signal;
[0013] A target wake-up device is determined from the first device and the candidate wake-up devices according to the second information and the received first information sent by the candidate wake-up device.
[0014] Optionally, determining a target wake-up device from the first device and the candidate wake-up devices according to the second information and the received first information sent by the candidate wake-up device includes:
[0015] Determine, from the second information and the first information received from each of the candidate wake-up devices, target information representing the minimum distance between the corresponding device and the sound source;
[0016] The device corresponding to the target information is determined as the target wake-up device.
[0017] Optionally, the method further comprises:
[0018] If the target wake-up device is the first device, performing a wake-up response;
[0019] If the target wake-up device is not the first device, a wake-up message is sent to the target wake-up device, so that the target wake-up device performs a wake-up response after receiving the wake-up message.
[0020] Optionally, the method further comprises:
[0021] If the target wake-up device is the first device, performing a wake-up response;
[0022] If the target wake-up device is not the first device, the sleep state continues.
[0023] Optionally, the method further comprises:
[0024] When detecting that its own microphone state has changed, its current microphone state is sent to the second device, so that when the second device receiving the voice signal determines whether to wake itself up, it determines whether the first device is a candidate wake-up device based on the current microphone state of the first device.
[0025] Optionally, before the step of detecting whether there is a second device with a voice interaction function in the same local area network, the method further includes:
[0026] Detecting whether the voice signal contains a preset wake-up word;
[0027] In a case where the voice signal includes the preset wake-up word, the step of detecting whether there is a second device with a voice interaction function in the same local area network is performed.
[0028] Optionally, the method further comprises:
[0029] In response to a detection result that the second device is not detected, a wake-up response is performed.
[0030] Optionally, determining a candidate wake-up device from the second device according to a microphone state of the second device includes:
[0031] The second device whose microphone state is turned on is determined as a candidate wake-up device.
[0032] According to a second aspect of an embodiment of the present disclosure, a wake-up control device is provided, including:
[0033] A detection module, configured to detect whether there is a second device with a voice interaction function in the same local area network in response to receiving the voice signal;
[0034] A first determination module is configured to obtain a microphone state of the second device in response to a detection result of the second device being detected by the detection module, and determine a candidate wake-up device from the second device according to the microphone state of the second device;
[0035] The second determination module is configured to determine the target wake-up device based at least on the first information sent by the candidate wake-up device determined by the first determination module, wherein the target wake-up device is used for wake-up response, and the first information is used to characterize the distance between the candidate wake-up device and the sound source of the voice signal.
[0036] According to a third aspect of an embodiment of the present disclosure, a wake-up control device is provided, including:
[0037] processor;
[0038] a memory for storing processor-executable instructions;
[0039] Wherein, the processor is configured to:
[0040] In response to receiving the voice signal, detecting whether there is a second device with a voice interaction function in the same local area network;
[0041] In response to a detection result of detecting the second device, acquiring a microphone state of the second device, and determining a candidate wake-up device from the second device according to the microphone state of the second device;
[0042] A target wake-up device is determined based at least on the received first information sent by the candidate wake-up device, wherein the target wake-up device is used to perform a wake-up response, and the first information is used to characterize the distance between the candidate wake-up device and the sound source of the voice signal.
[0043] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the wake-up control method provided in the first aspect of the present disclosure are implemented.
[0044] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when a voice signal is received and there is a second device with a voice interaction function in the same local area network, first determine a candidate wake-up device from the second device according to the microphone status of the second device; then, determine a target wake-up device for wake-up response at least according to the second information sent by the candidate wake-up device. In this way, the simultaneous wake-up rate can be reduced, the confusion caused by multiple devices being woken up and responded to at the same time can be avoided, and the user experience is improved. In addition, the first device decides the target wake-up device based on at least the first information sent by the second device (i.e., the candidate wake-up device) whose microphone status meets the preset conditions. In this way, there is no need to wait for the first information sent by the second device whose microphone status does not meet the preset conditions. Thus, the waiting time can be shortened to make the wake-up decision in advance, thereby improving the wake-up response speed and further improving the user experience.
[0045] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0047] Figure 1 It is a schematic diagram showing an implementation environment according to an exemplary embodiment.
[0048] Figure 2 The figure is a flowchart of a wake-up control method according to an exemplary embodiment.
[0049] Figure 3 is a flow chart of a wake-up control method according to another exemplary embodiment.
[0050] Figure 4 is a flow chart of a wake-up control method according to another exemplary embodiment.
[0051] Figure 5is a flow chart of a wake-up control method according to another exemplary embodiment.
[0052] Figure 6 The figure is a block diagram showing a wake-up control device according to an exemplary embodiment.
[0053] Figure 7 The figure is a block diagram showing a wake-up control device according to an exemplary embodiment. DETAILED DESCRIPTION
[0054] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0055] First, the implementation environment of the present disclosure is introduced. Figure 1 FIG. 1 is a schematic diagram of an implementation environment according to an exemplary embodiment. Figure 1 As shown, the implementation environment may include devices with voice interaction functions such as an air purifier 10, a smart TV 20, and a smart speaker 30. Among them, the air purifier 10, the smart TV 20, and the smart speaker 30 are respectively connected to a router 40 and are located in the same local area network. Among them, when the air purifier 10, the smart TV 20, and the smart speaker 30 receive a voice signal sent by the user to wake up the device, they may be woken up and answered at the same time. This will cause crosstalk between different devices, and the interactive scene will become chaotic, seriously affecting the user experience. To this end, the present disclosure provides a wake-up control method, device, and computer-readable storage medium.
[0056] In addition, it should be noted that in addition to using a router to form a local area network between the above-mentioned devices with voice interaction functions, a local area network can also be formed through technologies such as Bluetooth and near-field communication.
[0057] Figure 2 is a flowchart of a wake-up control method according to an exemplary embodiment, wherein the wake-up control method is applied to a first device with a voice interaction function, wherein the first device can be any device with a voice interaction function and a function of determining a target wake-up device (wherein the target wake-up device is used for wake-up response) in the current local area network (i.e., the local area network where the first device is located), for example, Figure 1 The air purifier 10, smart TV 20 or smart speaker 30 shown in FIG. Figure 2 As shown, the method includes S201 to S203.
[0058] In S201, in response to receiving a voice signal, it is detected whether there is a second device with a voice interaction function in the same local area network.
[0059] In the present disclosure, the second device may be any device other than the first device in the current local area network that has a voice interaction function. Figure 1 As shown, the first device is a smart speaker 30, and the second device includes an air purifier 10 and a smart TV 20.
[0060] In addition, the above-mentioned voice signal is a voice sent by the user for waking up a device with a voice interaction function, for example, "Xiao Ai classmate". When the first device receives the voice signal, it can detect whether there is a second device with a voice interaction function in the same local area network. If there is a second device with a voice interaction function in the same local area network, execute S202. Among them, the second device with a voice interaction function belonging to the same local area network as the first device and having a voice interaction function may be one or more; if there is no second device with a voice interaction function in the same local area network, the first device directly performs a wake-up response or continues to remain in a dormant state.
[0061] In S202, in response to a detection result of detecting the second device, a microphone status of the second device is acquired, and a candidate wake-up device is determined from the second devices according to the microphone status of the second device.
[0062] In the present disclosure, the microphone state may include an on state and an off state. Among them, the microphone state of the second device can be obtained in a variety of ways. In one embodiment, when each device (including a first device and at least one second device) with a voice interaction function in the current local area network detects that its microphone state has changed, it will send its current microphone state to the server so that the server can update and store the microphone state corresponding to the device. In this way, each device can obtain the microphone state of other devices in the local area network by sending a request to the server.
[0063] In order to reduce the processing pressure of the server and reduce the cost of setting up the server. At the same time, prevent the packet loss phenomenon when the network is unstable, which causes the current microphone status of a device to fail to notify the server, or the server cannot smoothly send the microphone status of other devices to the corresponding device, so as to improve the accuracy of the microphone status of other devices obtained by each device. In another embodiment, when each device (a first device and at least one second device) with voice interaction function in the current local area network detects that its microphone status has changed, it will send its current microphone status to other devices through the local area network.
[0064] In another embodiment, when the first device detects that there is a second device with a voice interaction function in the same local area network, the first device sends a request message to the second device for obtaining the microphone status of the second device. After receiving the request message, the second device collects its own microphone status and sends it to the first device. The first device receives the microphone status.
[0065] In this implementation, each second device in the local area network sends its own microphone status to the first device each time it wakes up. In this way, even if the first device does not receive the microphone status sent by a second device due to packet loss during the first wakeup, it may receive the microphone status during the next wakeup, thereby improving the accuracy of the microphone status of other devices currently obtained, and further improving the wakeup response speed.
[0066] After the microphone status of the second device is obtained, the second device with the microphone in the on state can be determined as a candidate wake-up device. That is, the second device with the microphone in the on state has the ability to answer, while the second device with the microphone in the off state does not have the ability to answer, so it is removed from all second devices, so there is no need to wait for the second information sent by the second device with the microphone in the off state, thereby shortening the waiting time, making the wake-up decision in advance, thereby improving the wake-up response speed and further improving the user experience.
[0067] In S203, a target wake-up device is determined at least based on the received first information sent by the candidate wake-up device.
[0068] In the present disclosure, the target wake-up device is used to perform a wake-up response; the first information is used to characterize the distance between the candidate wake-up device and the sound source of the voice signal. For example, the first information may be the sound field intensity or the distance. After receiving the voice signal, each candidate wake-up device determines the first information based on the voice signal and sends it to the first device; the first device receives the first information sent by each candidate wake-up device.
[0069] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when a voice signal is received and there is a second device with a voice interaction function in the same local area network, first determine a candidate wake-up device from the second device according to the microphone status of the second device; then, determine a target wake-up device for wake-up response at least according to the second information sent by the candidate wake-up device. In this way, the simultaneous wake-up rate can be reduced, the confusion caused by multiple devices being woken up and responded to at the same time can be avoided, and the user experience is improved. In addition, the first device decides the target wake-up device based on at least the first information sent by the second device (i.e., the candidate wake-up device) whose microphone status meets the preset conditions. In this way, there is no need to wait for the first information sent by the second device whose microphone status does not meet the preset conditions. Thus, the waiting time can be shortened to make the wake-up decision in advance, thereby improving the wake-up response speed and further improving the user experience.
[0070] The specific implementation of determining the target wake-up device according to at least the received first information sent by the candidate wake-up device in S203 is described in detail below.
[0071] In one implementation, the first device is the decision maker of the target wake-up device (i.e., the first device has the function of determining the target wake-up device), but it is not the wake-up device (i.e., the first wake-up device cannot perform a wake-up response). In this case, the target wake-up device can be determined from the candidate wake-up devices according to the first information received from the candidate wake-up device. Specifically, this can be achieved in the following ways:
[0072] First, from the first information sent by each candidate wake-up device, target information representing the minimum distance between the corresponding device and the sound source is determined; then, the device corresponding to the target information is determined as the target wake-up device.
[0073] In the present disclosure, the first information may be distance or sound field strength. In one embodiment, the first information is distance, that is, the first information is the distance between the candidate wake-up device and the sound source of the voice signal, so that the minimum value of the distance between each candidate wake-up device and the sound source of the voice signal can be used as the target information; then, the device corresponding to the target information is determined as the target wake-up device.
[0074] For example, Figure 1As shown, the first device is a smart speaker 30, and the second device in the same local area network as the smart speaker 30 includes an air purifier 10 and a smart TV 20, wherein the microphone status of the air purifier 10 and the smart TV 20 are both on, that is, the candidate wake-up devices include the air purifier 10 and the smart TV 20. Among them, the distance between the air purifier 10 and the sound source of the voice signal is 23cm, and the distance between the smart TV 20 and the sound source of the voice signal is 33cm. It can be seen that the distance between the air purifier 10 and the sound source of the voice signal is the minimum value of the above distances, that is. The distance between the air purifier 10 and the sound source of the voice signal is the target information, and the device corresponding to the target information (ie, the minimum value) is the air purifier 10. Therefore, the air purifier 10 can be determined as the target wake-up device, that is, the air purifier 10 performs the wake-up response.
[0075] In another embodiment, the first information is the sound field strength, that is, the first information is the sound field strength of the voice signal received by the candidate wake-up device. In this way, the maximum value of the sound field strength of the voice signal received by each candidate wake-up device can be used as the target information; then, the device corresponding to the target information is determined as the target wake-up device. The greater the sound field strength, the closer the distance between the corresponding device and the sound source of the voice signal is.
[0076] For example, Figure 1 As shown, the first device is a smart speaker 30, and the second device in the same local area network as the first device includes an air purifier 10 and a smart TV 20, wherein the microphone state of the air purifier 10 is off, and the microphone state of the smart TV 20 is on, that is, the candidate wake-up device includes the smart TV 20. Among them, the sound field strength of the voice signal collected by the smart TV 20 is 43DB. At this time, the smart TV 20 can be directly determined as the target wake-up device, that is, the smart TV 20 performs the wake-up response.
[0077] For example, Figure 1As shown, the first device is a smart speaker 30, and the second device in the same local area network as the first device includes an air purifier 10 and a smart TV 20, wherein the microphone state of the air purifier 10 and the microphone state of the smart TV 20 are both on, that is, the candidate wake-up devices include the air purifier 10 and the smart TV 20. Among them, the sound field strength of the voice signal collected by the air purifier 10 is 59DB, and the sound field strength of the voice signal collected by the smart TV 20 is 43DB. It can be seen that the sound field strength of the voice signal collected by the air purifier 10 is the maximum value among the above sound field strengths, that is, the sound field strength of the voice signal collected by the air purifier 10 is the target information, and the device corresponding to the target information is the air purifier 10. Therefore, the air purifier 10 can be determined as the target wake-up device, that is, the air purifier 10 performs the wake-up response.
[0078] In another implementation, the first device is the decision maker of the target wake-up device and also serves as the wake-up device. In this case, the target wake-up device can be determined in the following manner:
[0079] First, the second information can be determined based on the voice signal, wherein the second information is used to characterize the distance between the first device and the sound source of the voice signal. For example, the first information is the distance or the sound field intensity. Then, the target wake-up device is determined from the first device and the candidate wake-up devices based on the second information and the first information received from the candidate wake-up device.
[0080] The following describes in detail the specific implementation of determining the target wake-up device from the first device and the candidate wake-up devices based on the second information and the first information sent by the candidate wake-up device. Specifically, it can be implemented in the following ways:
[0081] First, target information representing the minimum distance between the corresponding device and the sound source is determined from the second information and the first information sent by each candidate wake-up device; then, the device corresponding to the target information is determined as the target wake-up device.
[0082] In one embodiment, the first information and the second information are both distances, that is, the first information is the distance between the candidate wake-up device and the sound source of the voice signal, and the second information is the distance between the first device and the sound source of the voice signal. In this way, the minimum value of the distance between each candidate wake-up device and the sound source of the voice signal and the distance between the first device and the sound source of the voice signal can be used as the target information, and then the device corresponding to the target information is determined as the target wake-up device.
[0083] For example, Figure 1As shown, the first device is a smart speaker 30, and the second device in the same local area network as the smart speaker 30 includes an air purifier 10 and a smart TV 20, wherein the microphone status of the air purifier 10 and the smart TV 20 are both turned on, that is, the candidate wake-up devices include the air purifier 10 and the smart TV 20. Among them, the distance between the smart speaker 30 and the sound source of the voice signal is 29cm, the distance between the air purifier 10 and the sound source of the voice signal is 23cm, and the distance between the smart TV 20 and the sound source of the voice signal is 33cm. It can be seen that the distance between the air purifier 10 and the sound source of the voice signal is the minimum value of the above distances. That is, the distance between the air purifier 10 and the sound source of the voice signal is the target information, and the device corresponding to the target information (ie, the minimum value) is the air purifier 10. Therefore, the air purifier 10 can be determined as the target wake-up device, that is, the air purifier 10 performs the wake-up response.
[0084] In another embodiment, the first information and the second information are sound field strength, that is, the first information is the sound field strength of the voice signal received by the candidate wake-up device, and the second information is the sound field strength of the voice signal received by the first device. In this way, the maximum value of the sound field strength of the voice signal received by each candidate wake-up device and the sound field strength of the voice signal received by the first device can be used as the target information, and then the device corresponding to the target information is determined as the target wake-up device. Among them, the greater the sound field strength, the closer the distance between the corresponding device and the sound source of the voice signal.
[0085] For example, Figure 1 As shown, the first device is a smart speaker 30, and the second device in the same local area network as the first device includes an air purifier 10 and a smart TV 20, wherein the microphone state of the air purifier 10 is on, and the microphone state of the smart TV 20 is off, that is, the candidate wake-up device includes the air purifier 10. Among them, the sound field strength of the voice signal collected by the smart speaker 30 is 50DB, and the sound field strength of the voice signal collected by the air purifier 10 is 43DB. It can be seen that the sound field strength of the voice signal collected by the smart speaker 30 is the maximum value among the above sound field strengths, that is, the sound field strength of the voice signal collected by the smart speaker 30 is the target information, and the device corresponding to the target information is the smart speaker 30. Therefore, the smart speaker 30 can be determined as the target wake-up device, that is, the smart speaker 30 performs the wake-up response.
[0086] In addition, when the candidate wake-up device determined by the above S202 is empty (that is, the microphone status of each second device obtained is in the off state), or the above S201 detects that there is no second device with voice interaction function in the same local area network: if the first device is used as the wake-up device, it can directly perform a wake-up response; if the first device is a non-wake-up device, it continues to remain in sleep mode.
[0087] In addition, due to network instability, the first device may not be able to receive the first information sent by one or more candidate wake-up devices for a long time, which may cause a long wait and affect the wake-up response speed. To this end, a time limit is set. If the first information sent by the corresponding second device is not received when the time limit is reached, the waiting is stopped, and the decision to wake up the device is made directly based on at least the currently received first information, thereby avoiding the first device from waiting for a long time, thereby improving the wake-up response speed. Specifically, the above S203 may include: taking the first information received within a preset time length as the valid first information; determining the target wake-up device at least based on the valid first information sent by the candidate wake-up device and received within the preset time length.
[0088] In addition, in the present disclosure, the current local area network may include a decision maker of a target wake-up device, or may include multiple decision makers of target wake-up devices. In one embodiment, the current local area network includes a decision maker of a target wake-up device, that is, a first device. In this case, the above method further includes: Figure 3 S204 and S205 shown.
[0089] In S204, if the target wake-up device is the first device, a wake-up response is performed.
[0090] In S205, if the target wake-up device is not the first device, a wake-up message is sent to the target wake-up device, so that the target wake-up device performs a wake-up response after receiving the wake-up message.
[0091] In the present disclosure, after determining the target wake-up device, the first device determines whether it is the target wake-up device (i.e., determines whether the first device is the target wake-up device). If it is the target wake-up device, it directly makes a wake-up response; if it is not the target wake-up device, it sends a wake-up message to the target wake-up device, and the target wake-up device makes a wake-up response after receiving the wake-up message.
[0092] In another embodiment, the current local area network contains multiple decision makers of target wake-up devices, wherein each device in the local area network is in an equal position. At this time, each device in the current local area network (including the first device and at least one second device) can serve as a decision maker. In this way, after receiving the voice signal, each device in the current local area network determines whether it is the target wake-up device, that is, decides whether to wake itself up. At this time, the above method also includes Figure 4 S204 and S206 shown.
[0093] In S204, if the target wake-up device is the first device, a wake-up response is performed.
[0094] In S206, if the target wake-up device is not the first device, the sleep state continues to be maintained.
[0095] In the present disclosure, after determining the target wake-up device, the first device determines whether it is the target wake-up device (i.e., determines whether the first device is the target wake-up device). If it is the target wake-up device, it directly responds to the wake-up; if it is not the target wake-up device, since each candidate wake-up device is also the decision maker of the target wake-up device, it can determine whether to wake itself up. Therefore, the first device can continue to remain in a dormant state, that is, no wake-up response is made. Among them, each candidate wake-up device can determine the target wake-up device in the same way as the first device determines the target wake-up device to decide whether to wake itself up.
[0096] Figure 5 FIG. 1 is a flowchart of a wake-up control method according to another exemplary embodiment. Figure 5 As shown, before the step of detecting whether there is a second device with a voice interaction function in the same local area network, the method further includes S207.
[0097] In S207, it is detected whether the voice signal contains a preset wake-up word.
[0098] In the present disclosure, when the voice signal contains a preset wake-up word, a step of detecting whether there is a second device with a voice interaction function in the same local area network is performed. When the voice signal does not contain the preset wake-up word, the sleep state is maintained. In this way, false wake-ups can be avoided and the user experience can be improved.
[0099] Figure 6 600 is a block diagram of a wake-up control device according to an exemplary embodiment, wherein the device 600 is applied to a first device with a voice interaction function. Figure 6As shown, the device 600 includes: a detection module 601, configured to detect whether there is a second device with a voice interaction function in the same local area network in response to receiving a voice signal; a first determination module 602, configured to obtain the microphone status of the second device in response to the detection result of the detection module 601 detecting the second device, and determine a candidate wake-up device from the second device based on the microphone status of the second device; a second determination module 603, configured to determine a target wake-up device based on at least the first information sent by the candidate wake-up device determined by the first determination module 602, wherein the target wake-up device is used for wake-up response, and the first information is used to characterize the distance between the candidate wake-up device and the sound source of the voice signal.
[0100] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when a voice signal is received and there is a second device with a voice interaction function in the same local area network, first determine a candidate wake-up device from the second device according to the microphone status of the second device; then, determine a target wake-up device for wake-up response at least according to the second information sent by the candidate wake-up device. In this way, the simultaneous wake-up rate can be reduced, the confusion caused by multiple devices being woken up and responded to at the same time can be avoided, and the user experience is improved. In addition, the first device decides the target wake-up device based on at least the first information sent by the second device (i.e., the candidate wake-up device) whose microphone status meets the preset conditions. In this way, there is no need to wait for the first information sent by the second device whose microphone status does not meet the preset conditions. Thus, the waiting time can be shortened to make the wake-up decision in advance, thereby improving the wake-up response speed and further improving the user experience.
[0101] Optionally, the second determination module 603 includes: a first determination submodule, configured to take the first information received within a preset time length as valid first information; and a second determination submodule, configured to determine the target wake-up device based at least on the valid first information sent by the candidate wake-up device and received within the preset time length.
[0102] Optionally, the second determination module 603 includes: a third determination submodule, configured to determine second information based on the voice signal, wherein the second information is used to characterize the distance between the first device and the sound source of the voice signal; and a fourth determination submodule, configured to determine the target wake-up device from the first device and the candidate wake-up devices based on the second information and the first information received from the candidate wake-up device.
[0103] Optionally, the fourth determination submodule includes: a target information determination submodule, configured to determine the target information representing the minimum distance between the corresponding device and the sound source from the second information and the first information received from each of the candidate wake-up devices; and a wake-up device determination submodule, configured to determine the device corresponding to the target information as the target wake-up device.
[0104] Optionally, the device 600 also includes: a first response module, configured to perform a wake-up response if the target wake-up device is the first device; and a first sending module, configured to send a wake-up message to the target wake-up device if the target wake-up device is not the first device, so that the target wake-up device performs a wake-up response after receiving the wake-up message.
[0105] Optionally, the apparatus 600 further includes: a second response module configured to perform a wake-up response if the target wake-up device is the first device; and a sleep module configured to continue to maintain a sleep state if the target wake-up device is not the first device.
[0106] Optionally, the apparatus 600 further includes: a second sending module, configured to send its current microphone state to the second device when a change in its own microphone state is detected, so that the second device that receives the voice signal determines whether the first device is a candidate wake-up device based on the current microphone state of the first device when determining whether to wake itself up.
[0107] Optionally, the device 600 also includes: a wake-up word detection module, configured to detect whether the voice signal contains a preset wake-up word before the detection module 601 detects whether there is a second device with voice interaction function in the same local area network; the detection module 601 is configured to detect whether there is a second device with voice interaction function in the same local area network when the voice signal contains the preset wake-up word.
[0108] Optionally, the apparatus 600 further includes: a third response module, configured to perform a wake-up response in response to a detection result that the second device is not detected.
[0109] Optionally, the first determination module 602 is configured to determine the second device whose microphone status is on as a candidate wake-up device.
[0110] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0111] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the wake-up control method provided by the present disclosure are implemented.
[0112] Figure 7 is a block diagram of a wake-up control device 700 according to an exemplary embodiment. For example, the device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0113] Reference Figure 7 , the device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .
[0114] The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the wake-up control method described above. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
[0115] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0116] The power component 706 provides power to the various components of the device 700. The power component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 700.
[0117] The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0118] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the device 700 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0119] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0120] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the device 700. For example, the sensor assembly 714 can detect the open / closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, the sensor assembly 714 can also detect the position change of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700, and the temperature change of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0121] The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0122] In an exemplary embodiment, the device 700 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned wake-up control method.
[0123] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by the processor 720 of the device 700 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0124] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above-mentioned wake-up control method when executed by the programmable device.
[0125] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0126] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A wake-up control method, applied to a first device with a voice interaction function, characterized in that: include: In response to receiving the voice signal, detecting whether there is a second device with a voice interaction function in the same local area network; In response to a detection result of detecting the second device, acquiring a microphone state of the second device, and determining a second device whose microphone state is turned on as a candidate wake-up device; Determine a target wake-up device at least according to the received first information sent by the candidate wake-up device, wherein the target wake-up device is used to perform a wake-up response, and the first information is used to characterize the distance between the candidate wake-up device and the sound source of the voice signal; Determine whether the target wake-up device is the first device; If the target wake-up device is the first device, performing a wake-up response; If the target wake-up device is not the first device, continue to remain in the dormant state; Among them, each device in the same local area network is a decision maker of the target wake-up device. After receiving the voice signal, each device in the same local area network determines the target wake-up device in the same way as the first device determines the target wake-up device, and determines whether it is the target wake-up device, so as to decide whether to wake itself up.
2. The method according to claim 1, characterized in that The step of determining a target wake-up device at least according to the received first information sent by the candidate wake-up device includes: The first information received within the preset time period is regarded as the valid first information; The target wake-up device is determined at least based on the valid first information sent by the candidate wake-up device and received within the preset time period.
3. The method according to claim 1 or 2, characterized in that: The step of determining a target wake-up device at least according to the received first information sent by the candidate wake-up device includes: Determine second information according to the voice signal, wherein the second information is used to characterize the distance between the first device and a sound source of the voice signal; A target wake-up device is determined from the first device and the candidate wake-up devices according to the second information and the received first information sent by the candidate wake-up device.
4. The method according to claim 3, characterized in that The determining a target wake-up device from the first device and the candidate wake-up devices according to the second information and the received first information sent by the candidate wake-up device includes: Determine, from the second information and the first information received from each of the candidate wake-up devices, target information representing the minimum distance between the corresponding device and the sound source; The device corresponding to the target information is determined as the target wake-up device.
5. The method according to claim 1, characterized in that: The method further comprises: When the first device detects that its microphone state has changed, it sends its current microphone state to the second device, so that when the second device that receives the voice signal determines whether to wake itself up, it determines whether the first device is a candidate wake-up device based on the current microphone state of the first device.
6. The method according to claim 3, characterized in that Before the step of detecting whether there is a second device with a voice interaction function in the same local area network, the method further includes: Detecting whether the voice signal contains a preset wake-up word; In a case where the voice signal includes the preset wake-up word, the step of detecting whether there is a second device with a voice interaction function in the same local area network is performed.
7. The method according to claim 3, characterized in that The method further comprises: In response to a detection result that the second device is not detected, the first device performs a wake-up response.
8. The method according to claim 1, characterized in that The obtaining the microphone status of the second device includes: receiving the microphone state sent by the second device, wherein each device in the same local area network sends its current microphone state to other devices in the same local area network when detecting that its own microphone state has changed; or In response to a detection result of detecting the second device, sending a request message for obtaining a microphone status of the second device to the second device; and receiving the microphone status sent by the second device.
9. The method according to claim 1, characterized in that: The first information is the sound field intensity.
10. A wake-up control device, applied to a first device with a voice interaction function, characterized in that: include: A detection module, configured to detect whether there is a second device with a voice interaction function in the same local area network in response to receiving the voice signal; A first determination module is configured to obtain a microphone state of the second device in response to a detection result of the detection module detecting the second device, and determine the second device whose microphone state is turned on as a candidate wake-up device; A second determination module is configured to determine a target wake-up device based on at least the first information sent by the candidate wake-up device determined by the first determination module, wherein the target wake-up device is used to perform a wake-up response, and the first information is used to characterize the distance between the candidate wake-up device and the sound source of the voice signal; A module configured to determine whether the target wake-up device is the first device; A second response module is configured to perform a wake-up response if the target wake-up device is the first device; A sleep module, configured to continue to stay in sleep mode if the target wake-up device is not the first device; Among them, each device in the same local area network is a decision maker of the target wake-up device. After receiving the voice signal, each device in the same local area network determines the target wake-up device in the same way as the first device determines the target wake-up device, and determines whether it is the target wake-up device, so as to decide whether to wake itself up.
11. A wake-up control device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: In response to receiving the voice signal, detecting whether there is a second device with a voice interaction function in the same local area network; In response to a detection result of detecting the second device, acquiring a microphone state of the second device, and determining a second device whose microphone state is turned on as a candidate wake-up device; Determine a target wake-up device at least according to the received first information sent by the candidate wake-up device, wherein the target wake-up device is used to perform a wake-up response, and the first information is used to characterize the distance between the candidate wake-up device and the sound source of the voice signal; Determine whether the target wake-up device is the first device; If the target wake-up device is the first device, performing a wake-up response; If the target wake-up device is not the first device, continue to remain in the dormant state; Among them, each device in the same local area network is a decision maker of the target wake-up device. After receiving the voice signal, each device in the same local area network determines the target wake-up device in the same way as the first device determines the target wake-up device, and determines whether it is the target wake-up device, so as to decide whether to wake itself up.
12. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Method and system for displaying microphone state of users in web conference
CN102130774A
Method, device and equipment for voice control
CN103578474A
Microphone control method and apparatus, storage medium, and electronic device
CN108848264A
Intelligent terminal voice interaction control method and device thereof
CN109036411A
Interaction method, device and equipment among intelligent voice equipment, and storage medium
CN109377987A
