CN117935792A - Method and device for controlling equipment, electronic equipment, storage medium and vehicle - Google Patents

Method and device for controlling equipment, electronic equipment, storage medium and vehicle Download PDF

Info

Publication number
CN117935792A
CN117935792A CN202310587764.4A CN202310587764A CN117935792A CN 117935792 A CN117935792 A CN 117935792A CN 202310587764 A CN202310587764 A CN 202310587764A CN 117935792 A CN117935792 A CN 117935792A
Authority
CN
China
Prior art keywords
wake
word
instruction
ultrasonic
ultrasonic signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310587764.4A
Other languages
Chinese (zh)
Inventor
华承平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Automobile Technology Co Ltd
Original Assignee
Xiaomi Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Automobile Technology Co Ltd filed Critical Xiaomi Automobile Technology Co Ltd
Priority to CN202310587764.4A priority Critical patent/CN117935792A/en
Publication of CN117935792A publication Critical patent/CN117935792A/en
Pending legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The disclosure relates to a method and a device for controlling equipment, electronic equipment, a storage medium and a vehicle, which are applied to the field of vehicle control and comprise the following steps: and receiving an ultrasonic signal sent by the second equipment through the ultrasonic transmitting device, wherein the ultrasonic signal comprises a wake-up inhibition instruction, and stopping responding to the received voice wake-up word according to the wake-up inhibition instruction, so that the wake-up inhibition instruction can be received through the ultrasonic signal without establishing wireless connection between the first equipment and the second equipment, and the implementation process is simpler.

Description

Method and device for controlling equipment, electronic equipment, storage medium and vehicle
Technical Field
The present disclosure relates to the field of vehicle control, and in particular, to a method and apparatus for controlling a device, an electronic device, a storage medium, and a vehicle.
Background
Under the scene that a plurality of terminal devices with voice awakening functions exist in a vehicle, when a user inputs a voice awakening word, the situation that the plurality of devices respond to the user simultaneously exists.
In the related art, a terminal device to be responded can send a wake-up suppression instruction to other devices which establish wireless connection with the device, so that the other devices stop responding to voice wake-up words, but the wireless connection between the target device and other devices in the vehicle needs to be established in advance in the mode, and the implementation process is complex.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, an apparatus, an electronic device, a storage medium, and a vehicle for device control.
According to a first aspect of embodiments of the present disclosure, there is provided a method of device control, applied to a first device, including:
Receiving an ultrasonic signal sent by a second device through an ultrasonic transmitting device, wherein the ultrasonic signal comprises a wake-up inhibition instruction;
and stopping responding to the received voice wake-up word according to the wake-up inhibition instruction.
Optionally, the method further comprises:
Receiving a voice wake-up instruction, wherein the voice wake-up instruction comprises the voice wake-up word;
the receiving the ultrasonic signal sent by the second device through the ultrasonic transmitting device includes:
And under the condition that the voice wake-up word is successfully matched with a first preset wake-up word corresponding to the first equipment, receiving an ultrasonic signal sent by the second equipment through an ultrasonic transmitting device in a preset time period.
Optionally, the method further comprises:
and if the preset time period is reached, the ultrasonic signal is not received, and the voice wake-up word is responded.
Optionally, the receiving the ultrasonic signal sent by the second device through the ultrasonic transmitting device includes:
And receiving ultrasonic signals periodically transmitted by the second equipment through an ultrasonic transmitting device.
Optionally, the ultrasonic signal further includes a designated wake-up word, and stopping the response to the received voice wake-up word according to the wake-up suppression instruction includes:
and stopping responding to the received voice wake-up word under the condition that the voice wake-up word is matched with the appointed wake-up word.
Optionally, the ultrasonic signal further includes a wake-up suppression time, and stopping the response to the voice wake-up word according to the wake-up suppression instruction includes:
and stopping responding to the voice wake-up word in the wake-up inhibition time according to the wake-up inhibition instruction.
According to a second aspect of embodiments of the present disclosure, there is provided a method of device control, applied to a second device, the method comprising:
Generating a wake-up suppression instruction;
and sending an ultrasonic signal containing the wake-up suppression instruction to an ultrasonic transmitting device, wherein the wake-up suppression instruction is used for indicating the first equipment to stop responding to the received voice wake-up word.
Optionally, the generating a wake-up suppression instruction includes:
under the condition of receiving a voice wake-up instruction, generating a wake-up inhibition instruction; the voice wake instruction includes a voice wake word.
Optionally, generating the wake-up suppression instruction when the voice wake-up instruction is received includes:
Under the condition that a voice awakening instruction is received, if the voice awakening word is successfully matched with a second preset awakening word corresponding to the second equipment, generating an awakening inhibition instruction.
Optionally, the sending the ultrasonic signal including the wake-up suppression instruction includes:
And periodically sending an ultrasonic signal containing the wake-up inhibition instruction.
Optionally, the ultrasonic signal further includes a specified wake word for instructing the first device to stop responding to the voice wake word.
Optionally, the ultrasonic signal further includes a wake-up suppression time, the wake-up suppression time being used to instruct the first device to stop responding to the voice wake-up word within the wake-up suppression time.
According to a third aspect of embodiments of the present disclosure, there is provided an apparatus for device control, the apparatus comprising:
A signal receiving module configured to receive an ultrasonic signal transmitted by the second device through the ultrasonic transmitting device, the ultrasonic signal including a wake-up suppression instruction;
and the response suppression module is configured to stop responding to the received voice wake-up word according to the wake-up suppression instruction.
Optionally, the apparatus further comprises: the instruction receiving module is configured to receive a voice wake instruction, wherein the voice wake instruction comprises the voice wake word;
the signal receiving module is configured to receive an ultrasonic signal sent by the second device through the ultrasonic transmitting device in a preset time period under the condition that the voice wake-up word is successfully matched with a first preset wake-up word corresponding to the first device.
Optionally, the apparatus further comprises:
and the response module is configured to respond to the voice wake-up word if the ultrasonic signal is not received in the preset time period.
Optionally, the response suppression module is configured to stop responding to the received voice wake word if the voice wake word matches with a preset wake word corresponding to the first device.
Optionally, the signal receiving module is configured to receive an ultrasonic signal periodically sent by the second device through an ultrasonic transmitting device.
Optionally, the ultrasonic signal further includes a specified wake-up word, and the response suppression module is configured to stop the response of the received voice wake-up word if the voice wake-up word and the specified wake-up word match.
Optionally, the ultrasonic signal further includes a wake-up suppression time, and the response suppression module is configured to stop the response to the received voice wake-up word in the wake-up suppression time according to the wake-up suppression instruction.
According to a fourth aspect of embodiments of the present disclosure, there is provided an apparatus for device control, the apparatus comprising:
An instruction generation module configured to generate a wake-up suppression instruction;
And the signal transmitting module is configured to transmit an ultrasonic signal containing the wake-up suppression instruction through the ultrasonic transmitting device, wherein the wake-up suppression instruction is used for instructing the first equipment to stop responding to the received voice wake-up word.
Optionally, the instruction generating module is configured to generate a wake-up suppression instruction when a voice wake-up instruction is received, where the voice wake-up instruction includes a voice wake-up word.
Optionally, the instruction generating module is configured to generate the wake-up suppression instruction if the voice wake-up word is successfully matched with a second preset wake-up word corresponding to the second device under the condition that the voice wake-up instruction is received.
Optionally, the signal transmitting module is configured to periodically send an ultrasonic signal containing the wake-up suppression instruction.
Optionally, the ultrasonic signal further comprises a specified wake-up word for instructing the first device to stop responding to the voice wake-up word.
Optionally, the ultrasonic signal further includes a wake-up suppression time for instructing the first device to stop responding to the voice wake-up word during the wake-up suppression time.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device for device control, including:
A memory having a computer program stored thereon;
A processor for executing the computer program in the memory to implement the steps of the method of the first or second aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of the first or second aspect described above.
According to a seventh aspect of embodiments of the present disclosure, there is provided a vehicle including a vehicle control end and an ultrasonic wave emitting device, the vehicle control end and the ultrasonic wave emitting device being connected;
the vehicle control end comprises the device for controlling the equipment in the second aspect;
the ultrasonic wave transmitting device is used for transmitting an ultrasonic wave signal containing the wake-up inhibition instruction.
By adopting the method, the ultrasonic signal sent by the second equipment through the ultrasonic transmitting device can be received, and the ultrasonic signal comprises a wake-up inhibition instruction; and stopping responding to the received voice wake-up word according to the wake-up inhibition instruction. Therefore, the wake-up inhibition instruction can be received through the ultrasonic signal, wireless connection between the first equipment and the second equipment is not required to be established, and the implementation process is simpler.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of device control according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating another method of device control, according to an example embodiment;
FIG. 3 is a flowchart illustrating yet another method of device control, according to an example embodiment;
FIG. 4 is a flowchart illustrating yet another method of device control, according to an example embodiment;
FIG. 5 is an apparatus block diagram illustrating a device control according to an example embodiment;
FIG. 6 is a block diagram of another device control apparatus, according to an example embodiment;
FIG. 7 is a block diagram of yet another device control apparatus, according to an example embodiment;
FIG. 8 is a block diagram of an electronic device, shown in accordance with an exemplary embodiment;
Fig. 9 is a block diagram of a vehicle, according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Firstly, describing an application scenario of the present disclosure, the present disclosure may be applied to a scenario of voice wake-up, where at present, a vehicle control end in a vehicle may support voice wake-up, and control a target device (such as an air conditioner or an in-vehicle device such as a sound device) in the vehicle through a voice command.
In the related art, a wireless connection between a vehicle control terminal and each terminal device in the vehicle may be established, and the vehicle control terminal may send a wake-up suppression instruction to each terminal device according to the wireless connection, so as to suppress a response of each terminal device to a voice wake-up word. However, this method needs to establish wireless connection with each terminal device in the vehicle in advance, the implementation process is complex, and in the case of many terminal devices in the vehicle, it cannot be ensured that the wireless connection is established between the vehicle control terminal and all the terminal devices, so the problem that a plurality of devices respond to voice wake-up words still exists.
In order to solve the problems, the disclosure provides a device control method, a device, an electronic device, a storage medium and a vehicle, wherein the method is capable of receiving a wake-up suppression instruction through an ultrasonic signal, does not need to establish wireless connection between a first device and a second device, has a simpler implementation process, and can ensure that a plurality of first devices in the vehicle all receive the wake-up suppression instruction, so that the problem that a plurality of devices respond to a voice wake-up word is avoided.
The present disclosure is described below in connection with specific embodiments.
Fig. 1 is a flowchart of a method for controlling a device according to an exemplary embodiment of the present disclosure, and as shown in fig. 1, the method may be applied to a first device, and the method includes:
Step 101, receiving an ultrasonic signal sent by the second device through the ultrasonic transmitting device, wherein the ultrasonic signal comprises a wake-up inhibition instruction.
The first device may be a terminal device of a user in the vehicle, which may be a cellular phone, a cordless phone, a session initiation protocol (session initiationprotocol, SIP) phone, a handheld device with a voice wake-up function, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, and a next generation communication system, for example, a terminal device in a fifth generation communication (fifth-generation, 5G) network or a terminal device in a future evolved public land mobile network (public land mobile network, PLMN) network, a terminal device in a new air interface (NR) communication system, etc. The second device may be a vehicle control end, the ultrasonic transmitting device may be a horn in a vehicle, for example, the second device may encode the wake-up suppression instruction to obtain an encoded instruction, load the encoded instruction onto an ultrasonic signal with a preset signal frequency, send the ultrasonic signal to the first device through the ultrasonic transmitting device, and after receiving the ultrasonic signal, the first device analyzes the ultrasonic signal to obtain the encoded instruction, and decodes the encoded instruction to obtain the wake-up suppression instruction.
Because the signal frequency of the ultrasonic signal is large, the ultrasonic signal can not be perceived by human ears, so that the awakening inhibition instruction transmitted by the ultrasonic signal can not influence the hearing of a user, and the information can be quickly restored by transmitting the ultrasonic signal, the ultrasonic wave has relatively short wavelength and high safety, and meanwhile, the network connection between devices is not required to be established, so that electromagnetic interference is avoided.
And 102, stopping responding to the received voice wake-up word according to the wake-up suppression instruction.
The voice wake-up word can be 'small X', or 'small X classmates', and the like.
By adopting the method, the wake-up inhibition instruction can be transmitted through the ultrasonic signal, the wireless connection between the first equipment and the second equipment is not required to be established, and the implementation process is simpler.
In some embodiments, the step 101 may include two implementations:
in a first implementation, a voice wake instruction may be received, the voice wake instruction including the voice wake word; accordingly, step 101 may include: and under the condition that the voice wake-up word is successfully matched with a first preset wake-up word corresponding to the first equipment, receiving an ultrasonic signal sent by the second equipment through the ultrasonic transmitting device in a preset time period. In this way, when the first device receives the ultrasonic signal sent by the second device through the ultrasonic transmitting device in the preset time period, according to the wake-up inhibition instruction, the first device stops responding to the received voice wake-up word, and does not need to monitor the ultrasonic signal in real time, so that the power consumption of the device is saved.
The user can speak the voice wake-up instruction, and the voice wake-up instruction can be input through a voice input device, and the voice input device can be a microphone.
In this manner, after the first device receives the voice wake-up word, it may determine whether the voice wake-up word is successfully matched with a first preset wake-up word corresponding to the first device, where the first preset wake-up word is a preset wake-up word capable of switching the first device from a sleep state to a wake-up state, and one possible implementation manner is that it may be determined whether the voice wake-up word is identical to the first preset wake-up word, and if the voice wake-up word is identical to the first preset wake-up word, it is determined that the voice wake-up word is successfully matched with the first preset wake-up word, that is, the voice wake-up word is capable of switching the first device from the sleep state to the wake-up state, and if the voice wake-up word is different from the first preset wake-up word, it is determined that the voice word is failed to be matched with the first preset wake-up word.
For example, if the preset wake word "little X classmate" corresponding to the first device is also "little X classmate", it is determined that the voice wake word is successfully matched with the preset wake word corresponding to the first device, and if the preset wake word "little X" corresponding to the first device is not "little X classmate", it is determined that the voice wake word is failed to be matched with the preset wake word corresponding to the first device.
For example, when the voice wake-up word is successfully matched with the first preset wake-up word, the first device may switch to a listening state, where the listening state characterizes that the first device does not respond to the voice wake-up word in a preset time period, and listens for an ultrasonic signal sent by the second device through the ultrasonic transmitting device in the preset time period; under the condition that the voice wake-up word is successfully matched with a second preset voice wake-up word corresponding to the second equipment, the second equipment can perform two processes, wherein one process is to generate a wake-up suppression instruction, an ultrasonic signal comprising the wake-up suppression instruction is sent through an ultrasonic wave transmitting device, the other process is to respond to the voice wake-up word, and under the condition that the first equipment receives the ultrasonic signal sent by the second equipment through the ultrasonic wave transmitting device in the preset time period, the response of the received voice wake-up word is stopped according to the wake-up suppression instruction.
If the preset time period is reached, the first device does not receive the ultrasonic signal, which indicates that the response inhibition to the voice wake-up word is not needed (i.e. the response to the voice wake-up word is not needed), so that the voice wake-up word can be responded.
For example, a response speech word may be output in response to the voice wake word, which may be a speech word such as "tweed" or "I am".
And under the condition that the voice wake-up word fails to match with the first preset wake-up word, the first equipment does not respond to the voice wake-up word.
It should be noted that, when the voice wake-up word fails to match with the first preset wake-up word, the first device will not monitor the ultrasonic signal sent by the second device through the ultrasonic transmitting device, that is, when the voice wake-up word fails to match with the first preset wake-up word, the first device will not receive the ultrasonic signal sent by the second device through the ultrasonic transmitting device.
In some embodiments, when the second device determines that the voice wake is successfully matched with the second preset voice wake, the first device may periodically receive the ultrasonic signal sent by the second device through the ultrasonic transmitting device, so as to ensure that the first device successfully receives the ultrasonic signal in a preset time period.
In this embodiment, since the second device periodically transmits the ultrasonic signal through the ultrasonic transmitting device may cause higher power consumption of the second device, in order to solve the problem, in another implementation manner, the second device may receive the ultrasonic signal periodically transmitted through the ultrasonic transmitting device during the preset period, so that the first device may periodically receive the ultrasonic signal transmitted through the ultrasonic transmitting device during the period when the second device monitors the ultrasonic signal, thereby not only ensuring that the first device successfully receives the ultrasonic signal, but also avoiding the problem of higher power consumption caused by long-term periodic transmission of the ultrasonic signal by the second device.
It should be noted that, when the preset time period is reached, the second device may stop sending the ultrasonic signal through the ultrasonic transmitting device, and re-determine whether the voice wake-up word is successfully matched with the second preset wake-up word when the voice wake-up word uttered by the user is received again, and periodically send the ultrasonic signal through the ultrasonic transmitting device in the preset time period when the voice wake-up word is successfully matched with the second preset wake-up word.
In a second implementation, an ultrasonic signal periodically transmitted by the second device through the ultrasonic transmitting device may be received. In this way, by periodically receiving the ultrasonic signal, it can be ensured that the ultrasonic signal can be received by each of the plurality of first devices.
By way of example, the transmission period of the ultrasonic signal transmitted by the second device through the ultrasonic transmission means may be 1 to 30 seconds, such as 1 second, 10 seconds, 20 seconds, 30 seconds, or the like, for example, by taking the transmission period of 30 seconds as an example, the second device starts timing after transmitting the ultrasonic signal through the ultrasonic transmission means, and when 30 seconds are reached, transmits the ultrasonic signal again, and so on,
In this manner, the ultrasonic signal may further include a designated wake-up word, and accordingly, the step S102 may include: and stopping responding to the received voice wake word under the condition that the voice wake word is matched with the appointed wake word. Thus, aiming at the appointed wake-up word, the response of the first equipment to the voice wake-up word can be flexibly controlled through the matching of the voice wake-up word and the appointed wake-up word.
The specified wake-up word may include a second preset voice wake-up word corresponding to the second device, so that response suppression can be performed on the first device identical to the voice wake-up word of the second device, and the first device and the second device are prevented from simultaneously responding to the voice wake-up word to affect user experience.
Taking a first device to support a plurality of preset wake words as an example, the preset wake words supported by the first device may include "small X" and "small X classmates", the specific wake word included in the ultrasonic signal is "small X classmates", if the voice wake word is also "small X classmates", the voice wake word and the specific wake word are successfully matched, and the first device stops responding to the voice wake word "small X classmates"; if the voice wake-up word is 'small X', the voice wake-up word fails to match with the appointed wake-up word, and the first device responds to the wake-up word 'small X'. Thus, only the response of the "small X" in the "small X classmates" and the "small X" in the preset wake-up words of the first device can control the response of the first device to the partial voice wake-up words supported by the first device.
For another example, taking an example that there are a plurality of first devices and each first device supports a preset wake-up word, assume that there are 3 first devices in the vehicle, which are respectively denoted as device 1, device 2 and device 3, where the preset wake-up word supported by device 1 is: "hey, small X", the preset wake-up words supported by device 2 are: "hello, small X", the preset wake-up words supported by device 3 are: "hello, small X", the ultrasonic signal includes the appointed wake-up word "hey, small X", if the voice wake-up word is "hey, small X", the voice wake-up word and the appointed wake-up word are successfully matched, the equipment 1 stops responding to the voice wake-up word "hey, small X"; if the voice wake-up word is hello, the small X ", the device 2 still responds to the voice wake-up word, and similarly, if the voice wake-up word is hello, the small X", the device 3 also responds to the voice wake-up word, so that through the designated wake-up word in the ultrasonic signal, the response of the device corresponding to the designated wake-up word can be suppressed, the response of other devices to the corresponding voice wake-up word is not suppressed, and thus a part of a plurality of devices supporting different preset wake-up words can be controlled to respond to the voice wake-up word.
It should be noted that, in the first implementation manner, the second device defaults to not send an ultrasonic signal, and only when a voice wake-up instruction of a user is received and the voice wake-up word in the voice wake-up instruction is successfully matched with a second preset wake-up word corresponding to the second device, the ultrasonic signal is transmitted through the ultrasonic transmitting device, and the first device enters a monitoring state and monitors the ultrasonic signal transmitted by the second device through the ultrasonic transmitting device when the voice wake-up word in the voice wake-up instruction is successfully matched with the first preset wake-up word corresponding to the first device; the second implementation mode is that the second equipment actively and periodically transmits the ultrasonic signal without receiving a voice wake-up instruction of the user.
In another embodiment, when the first device receives the ultrasonic signal including the wake-up suppression time, the first device may stop responding to the voice wake-up word within a preset suppression time period, where the preset suppression time period may be greater than or equal to a transmission period of the ultrasonic signal sent by the second device through the ultrasonic transmission device, so as to ensure that the first device is continuously in a state of stopping responding to the voice wake-up word.
In some embodiments, the ultrasonic signal may further include a wake-up suppression time, and the step S102 may include: and stopping responding to the received voice wake-up word in the wake-up inhibition time according to the wake-up inhibition instruction. In this way, the time when the first device enters the state of stopping the response to the voice wake may be indicated by the ultrasonic signal, so that the response of the first device to the voice wake may be controlled more flexibly.
Taking the first device as a terminal device and the second device as a vehicle control end as an example, when the user carries the terminal device and is located in the vehicle, the terminal device receives an ultrasonic signal comprising a wake-up suppression time, and stops responding to the received voice wake-up word in the wake-up suppression time.
Illustratively, the wake-up suppression time may be set to 1 to 30 seconds, such as 1 second, 10 seconds, 15 seconds, 20 seconds, or 30 seconds, as the present disclosure is not limited thereto.
In addition, regarding the scenario that the first device receives the ultrasonic signal periodically sent by the second device through the ultrasonic wave transmitting device, considering that if the wake-up suppression time is smaller than the transmission period of the ultrasonic signal sent by the second device, the first device may not yet receive the ultrasonic signal sent by the second device after reaching the wake-up suppression time, at this time, the first device may switch from a state of stopping responding to the voice wake-up word to a state of starting responding to the voice wake-up word, thereby affecting the user experience, and therefore, the wake-up suppression time may be greater than or equal to the transmission period of the ultrasonic signal sent by the second device.
It should be noted that, in the case that the wake-up suppression time is greater than the transmission period of the ultrasonic signal transmitted by the second device, the first device may receive the ultrasonic signal multiple times within the wake-up suppression time, and each time the ultrasonic signal is received, the wake-up suppression time recorded currently may be refreshed according to the wake-up suppression time in the received ultrasonic signal, so as to reckon according to the wake-up suppression time in the newly received ultrasonic signal.
For example, the wake-up suppressing time is 30 seconds, the transmission period is 15 seconds, the first device stops the response to the voice wake-up word within 30 seconds after receiving the ultrasonic signal, and when the first device counts to 15 seconds, the first device remains in a state of stopping the response to the voice wake-up word for 15 seconds, and at this time, when the second device receives the ultrasonic signal including the wake-up suppressing time again, the remaining 15 seconds are refreshed to 30 seconds, and the response to the voice wake-up word is suppressed in accordance with 30 seconds after the refresh. The wake-up suppression times and transmit periods described above are merely illustrative and are not limiting of the present disclosure.
Fig. 2 is a flowchart of another method of device control provided in accordance with an exemplary embodiment, as shown in fig. 2, the method being applicable to a second device, the method comprising:
step 201, generating a wake-up suppression instruction.
The wake-up suppression instruction is used for indicating the first device to stop responding to the voice wake-up word.
In some embodiments, the wake-up suppression instruction may be generated if a preset signal trigger condition is met.
The preset signal triggering condition may be, for example: the second device is powered up.
It should be noted that the second device may be a control end of the vehicle, and correspondingly, the preset signal triggering condition may include power-on of the vehicle.
In addition, in consideration of that the user of the vehicle may not enter the vehicle after the vehicle is powered on, at this time, there may not be a need for suppressing the response of the terminal device of the user, and thus, in other embodiments, the preset signal triggering condition may further include the vehicle control end detecting that the vehicle door is closed.
Step 202, sending an ultrasonic signal containing the wake-up suppression instruction through an ultrasonic sending device, where the wake-up suppression instruction is used to instruct the first device to stop responding to the received voice wake-up word.
The second device may encode the wake-up suppression instruction to obtain an encoded instruction, load the encoded instruction onto an ultrasonic signal with a preset signal frequency, and transmit the ultrasonic signal including the wake-up suppression instruction through the ultrasonic transmitting device.
Because the signal frequency of the ultrasonic signal is large, the ultrasonic signal cannot be perceived by human ears, so that the awakening inhibition instruction transmitted by the ultrasonic signal cannot influence the hearing of a user, and the information can be quickly restored by transmitting the ultrasonic signal. Therefore, the ultrasonic wave has relatively short wavelength and high safety, and meanwhile, network connection between devices is not required to be established, so that electromagnetic interference is avoided.
In some embodiments, the step 201 may include: and under the condition that a voice wake-up instruction is received, generating a wake-up suppression instruction, wherein the voice wake-up instruction comprises the voice wake-up word. In this way, under the condition that the voice wake-up instruction is received, the wake-up inhibition instruction is generated, and the ultrasonic signal containing the wake-up inhibition instruction is sent through the ultrasonic wave transmitting device, so that the second device can effectively control the sending of the ultrasonic signal without periodic sending, and the power consumption of the second device is saved.
For example: the voice wake-up word can be preconfigured or customized by a user, such as 'little X', 'little X classmate', and the like.
In consideration of that the voice wake-up word in the voice wake-up instruction may not be a voice wake-up word for waking up the second device, the second device may not respond to the voice wake-up word, in this case, it indicates that the user needs are not to wake up the second device, at this time, if the second device sends an ultrasonic signal, the user wants to wake up the device to stop responding to the voice wake-up word, so as to affect the user experience, in order to solve the problem, in a possible implementation manner, the voice wake-up instruction may include the voice wake-up word under the condition that the voice wake-up instruction is received, and if the voice wake-up word is successfully matched with the second preset wake-up word corresponding to the second device, a wake-up suppression instruction is generated. In this way, when the voice wake-up word is successfully matched with the second preset wake-up word corresponding to the second device, a wake-up suppression instruction is generated, and an ultrasonic signal containing the wake-up suppression instruction is sent, so that the response of the first device, which is identical to the second preset voice wake-up word corresponding to the second device, to the voice wake-up word can be accurately suppressed.
In some embodiments, the step 202 may include: an ultrasonic signal including the wake-up suppression instruction is periodically transmitted by an ultrasonic transmitting device.
And the second equipment continuously transmits ultrasonic signals to the terminal equipment through the ultrasonic transmitting device according to the transmitting period. In this way, by periodically transmitting the ultrasonic signal, it can be ensured that the first device successfully receives the ultrasonic signal.
In some embodiments, the ultrasonic signal further comprises a specified wake word for instructing the first device to cease responding to the specified wake word.
The appointed wake-up word can be subjected to user-defined setting, and the response of the first equipment to the voice wake-up word can be flexibly controlled through the matching of the received voice wake-up word and the appointed wake-up word.
In some embodiments, the ultrasonic signal further comprises a wake-up suppression time for instructing the first device to cease responding to the voice wake-up word within the wake-up suppression time.
The response of the first device to the voice wake-up word can be controlled more finely by stopping the response to the voice wake-up word in a certain time through the wake-up inhibition time.
It should be noted that, for the description of the above implementation manner in this embodiment, reference may be made to the related description in the foregoing embodiment, which is not repeated here.
By adopting the method, the wake-up inhibition instruction can be transmitted through the ultrasonic signal, the wireless connection between the first equipment and the second equipment is not required to be established, and the implementation process is simpler.
Fig. 3 is a flowchart of a method for controlling devices according to an exemplary embodiment, as shown in fig. 3, in which a first device may be a terminal device of a user in a vehicle, and a second device may be a vehicle control end, and the method includes:
step 301, the vehicle control terminal receives a voice wake-up instruction input by a user.
The voice wake instruction includes a voice wake word, and the voice wake word may be "small X" or "small X classmates", for example.
For example, the user may speak the voice wake.
Step 302, the vehicle control end determines whether the voice wake-up word is successfully matched with a second preset voice wake-up word corresponding to the vehicle control end under the condition that the voice wake-up word input by the user is received.
The second preset voice wake-up word may be preconfigured by the vehicle control end.
Executing step 303 when the voice wake-up word is successfully matched with a second preset voice wake-up word corresponding to the vehicle control end;
and under the condition that the voice wake-up word is not matched with a second preset voice wake-up word corresponding to the vehicle control end, executing step 310.
Step 303, the vehicle control end generates a wake-up suppression instruction and sends an ultrasonic signal containing the wake-up suppression instruction through the ultrasonic transmitting device.
Step 304, the vehicle control end responds to the voice wake-up word.
Step 305, the terminal device receives the voice wake-up instruction including the voice wake-up word.
Step 306, the terminal device determines whether the voice wake-up word is successfully matched with a first preset voice wake-up word corresponding to the terminal device.
Executing step 307 when the voice wake-up word is successfully matched with the first preset voice wake-up word corresponding to the terminal device;
and executing step 311 under the condition that the voice wake-up word is not matched with a second preset voice wake-up word corresponding to the terminal equipment.
Step 307, the terminal device determines whether an ultrasonic signal sent by the second device through the ultrasonic transmitting device is received within a preset time period.
Executing step 308 when the ultrasonic signal sent by the second device through the ultrasonic transmitting device is received within the preset time period;
if the preset time period is reached, if the ultrasonic signal sent by the second device through the ultrasonic transmitter is not received, step 309 is performed.
And 308, stopping responding to the received voice wake-up word by the terminal equipment according to the wake-up suppression instruction.
Step 309, the terminal device responds to the voice wake-up word.
Step 310, the vehicle control end does not respond to the voice wake-up word.
Step 311, the terminal device does not respond to the voice wake-up word.
It should be noted that, for simplicity of description, the above method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all of the preferred embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
By adopting the method, the wake-up inhibition instruction can be transmitted through the ultrasonic signal, the wireless connection between the vehicle control end and the terminal equipment is not required to be established, and the implementation process is simpler.
Fig. 4 is a block diagram illustrating an apparatus for device control, as shown in fig. 4, that may be applied to a first device, the apparatus 400 comprising:
A signal receiving module 401 configured to receive an ultrasonic signal transmitted by the second device through the ultrasonic transmitting apparatus, the ultrasonic signal including a wake-up suppression instruction;
The response suppression module 402 is configured to stop responding to the received voice wake word according to the wake suppression instruction.
Optionally, as shown in fig. 5, the apparatus 400 further includes: an instruction receiving module 403 configured to receive a voice wake instruction, the voice wake instruction including the voice wake word;
The signal receiving module 401 is configured to receive, in a preset time period, an ultrasonic signal sent by the second device through the ultrasonic transmitting device, if the voice wake-up word is successfully matched with a first preset wake-up word corresponding to the first device.
Optionally, as shown in fig. 6, the apparatus 400 further includes:
and a response module 404 configured to respond to the voice wake-up word if the ultrasonic signal is not received for the preset time period.
Optionally, the signal receiving module 401 is configured to receive an ultrasonic signal periodically sent by the second device through an ultrasonic transmitting device.
Optionally, the ultrasonic signal further includes a specified wake-up word, and the response suppression module 402 is configured to stop the response to the received voice wake-up word if the voice wake-up word matches the specified wake-up word.
Optionally, the ultrasonic signal further comprises a wake-up suppression time, the response suppression module 402 is configured to stop the response to the received voice wake-up word during the wake-up suppression time according to the wake-up suppression instruction.
By adopting the device, the wake-up inhibition instruction can be transmitted through the ultrasonic signal, the wireless connection between the vehicle control end and the terminal equipment is not required to be established, and the implementation process is simpler.
Fig. 7 is a block diagram of an apparatus for yet another device control, as shown in fig. 7, which may be applied to a second device, according to an exemplary embodiment, the apparatus 700 includes:
An instruction generation module 701 configured to generate a wake-up suppression instruction;
The signal transmitting module 702 is configured to transmit, by the ultrasonic transmitting device, an ultrasonic signal including the wake-up suppression instruction for instructing the first device to stop responding to the received voice wake-up word.
Optionally, the instruction generating module 701 is configured to generate a wake-up suppression instruction in case of receiving a voice wake-up instruction.
Optionally, the instruction generating module 701 is configured to generate, when a voice wake instruction is received, a wake suppression instruction if the voice wake instruction includes a voice wake word successfully matches a second preset wake word corresponding to the second device.
Optionally, the signal transmitting module 702 is configured to periodically transmit an ultrasonic signal containing the wake-up suppression instruction.
Optionally, the ultrasonic signal further comprises a specified wake-up word for instructing the first device to stop responding to the voice wake-up word.
Optionally, the ultrasonic signal further includes a wake-up suppression time for instructing the first device to stop responding to the voice wake-up word during the wake-up suppression time.
By adopting the scheme, the wake-up inhibition instruction can be transmitted through the ultrasonic signal, the wireless connection between the first equipment and the second equipment is not required to be established, and the implementation process is simpler.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram of an electronic device 800, according to an example embodiment. As shown in fig. 8, the electronic device may be the first device or the second device, and the electronic device 800 may include: a processor 801, a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communication component 805.
Wherein the processor 801 is configured to control the overall operation of the electronic device 800 to perform all or part of the steps of the method for controlling an engine described above. The memory 802 is used to store various types of data to support operation at the electronic device 800, which may include, for example, instructions for any application or method operating on the electronic device 800, as well as application-related data, such as contact data, messages sent and received, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 802 or transmitted through the communication component 805. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, near Field Communication (NFC) for short, 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or a combination of more of them, is not limited herein. The corresponding communication component 805 may thus comprise: wi-Fi module, bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic device 800 can be implemented by one or more Application-specific integrated circuits (ASIC), digital signal Processor (DIGITAL SIGNAL Processor, DSP), digital signal processing device (DIGITAL SIGNAL Processing Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field Programmable GATE ARRAY, FPGA), controller, microcontroller, microprocessor, or other electronic element for performing the above-described method of device control.
In another exemplary embodiment, a computer readable storage medium is also provided comprising program instructions which, when executed by a processor, implement the steps of the method of device control described above. For example, the computer readable storage medium may be the memory 802 including program instructions described above, which are executable by the processor 801 of the electronic device 800 to perform the method of device control described above.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the method of device control as described above when executed by the programmable apparatus.
The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the device control method provided by the present disclosure.
Fig. 9 is a block diagram of a vehicle 900 according to an exemplary embodiment, the vehicle 900 including a vehicle control end 901 and an ultrasonic wave emitting device 902, the vehicle control end being connected to the ultrasonic wave emitting device, as shown in fig. 9;
The vehicle control terminal 901 includes a device control apparatus as shown in fig. 7.
The ultrasonic wave transmitting device is used for transmitting an ultrasonic wave signal containing the wake-up inhibition instruction.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. A method of device control, applied to a first device, comprising:
Receiving an ultrasonic signal sent by a second device through an ultrasonic transmitting device, wherein the ultrasonic signal comprises a wake-up inhibition instruction;
and stopping responding to the received voice wake-up word according to the wake-up inhibition instruction.
2. The method according to claim 1, wherein the method further comprises:
Receiving a voice wake-up instruction, wherein the voice wake-up instruction comprises the voice wake-up word;
the receiving the ultrasonic signal sent by the second device through the ultrasonic transmitting device includes:
And under the condition that the voice wake-up word is successfully matched with a first preset wake-up word corresponding to the first equipment, receiving an ultrasonic signal sent by the second equipment through an ultrasonic transmitting device in a preset time period.
3. The method according to claim 2, wherein the method further comprises:
and if the preset time period is reached, the ultrasonic signal is not received, and the voice wake-up word is responded.
4. The method of claim 1, wherein receiving the ultrasonic signal transmitted by the second device through the ultrasonic transmitting means comprises:
And receiving ultrasonic signals periodically transmitted by the second equipment through an ultrasonic transmitting device.
5. The method of claim 4, wherein the ultrasonic signal further comprises a specified wake word, and wherein ceasing the response to the received voice wake word in accordance with the wake suppression instruction comprises:
and stopping responding to the received voice wake-up word under the condition that the voice wake-up word is matched with the appointed wake-up word.
6. The method of any of claims 1 to 5, wherein the ultrasonic signal further comprises a wake-up suppression time, and wherein ceasing the response to the received voice wake-up word in accordance with the wake-up suppression instruction comprises:
and stopping responding to the received voice wake-up word in the wake-up inhibition time according to the wake-up inhibition instruction.
7. A method of device control, applied to a second device, comprising:
Generating a wake-up suppression instruction;
And sending an ultrasonic signal containing the wake-up suppression instruction through an ultrasonic sending device, wherein the wake-up suppression instruction is used for instructing the first equipment to stop responding to the received voice wake-up word.
8. The method of claim 7, wherein generating a wake-up suppression instruction comprises:
under the condition of receiving a voice wake-up instruction, generating a wake-up inhibition instruction; the voice wake instruction includes a voice wake word.
9. The method of claim 8, wherein generating a wake-up suppression instruction if a voice wake-up instruction is received comprises:
Under the condition that a voice awakening instruction is received, if the voice awakening word is successfully matched with a second preset awakening word corresponding to the second equipment, generating an awakening inhibition instruction.
10. The method of claim 7, wherein the transmitting, by an ultrasonic transmitting device, an ultrasonic signal containing the wake-up suppression instruction comprises:
And periodically sending an ultrasonic signal containing the wake-up inhibition instruction through an ultrasonic transmitting device.
11. The method of claim 10, wherein the ultrasonic signal further comprises a specified wake word that instructs the first device to cease responding to the voice wake word.
12. The method of any of claims 7 to 11, wherein the ultrasonic signal further comprises a wake-up suppression time for instructing the first device to cease responding to the voice wake word within the wake-up suppression time.
13. An apparatus for device control, applied to a first device, the apparatus comprising:
A signal receiving module configured to receive an ultrasonic signal transmitted by the second device through the ultrasonic transmitting device, the ultrasonic signal including a wake-up suppression instruction;
and the response suppression module is configured to stop responding to the received voice wake-up word according to the wake-up suppression instruction.
14. An apparatus for device control, applied to a second device, the apparatus comprising:
An instruction generation module configured to generate a wake-up suppression instruction;
And the signal transmitting module is configured to transmit an ultrasonic signal containing the wake-up suppression instruction through the ultrasonic transmitting device, wherein the wake-up suppression instruction is used for instructing the first equipment to stop responding to the received voice wake-up word.
15. An electronic device, comprising:
A memory having a computer program stored thereon;
A processor for executing the computer program in the memory to implement the steps of the method of any one of claims 1-12.
16. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1-12.
17. The vehicle is characterized by comprising a vehicle control end and an ultrasonic wave transmitting device, wherein the vehicle control end is connected with the ultrasonic wave transmitting device;
the vehicle control end comprises the device controlled by the equipment of claim 14;
the ultrasonic wave transmitting device is used for transmitting an ultrasonic wave signal containing the wake-up inhibition instruction.
CN202310587764.4A 2023-05-23 2023-05-23 Method and device for controlling equipment, electronic equipment, storage medium and vehicle Pending CN117935792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310587764.4A CN117935792A (en) 2023-05-23 2023-05-23 Method and device for controlling equipment, electronic equipment, storage medium and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310587764.4A CN117935792A (en) 2023-05-23 2023-05-23 Method and device for controlling equipment, electronic equipment, storage medium and vehicle

Publications (1)

Publication Number Publication Date
CN117935792A true CN117935792A (en) 2024-04-26

Family

ID=90761601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310587764.4A Pending CN117935792A (en) 2023-05-23 2023-05-23 Method and device for controlling equipment, electronic equipment, storage medium and vehicle

Country Status (1)

Country Link
CN (1) CN117935792A (en)

Similar Documents

Publication Publication Date Title
CN110536344B (en) Measurement reporting method, electronic equipment and storage medium
CN109429310B (en) Indication method of DRX (discontinuous reception) parameter, related equipment and system
CN110913504B (en) Network connection method, terminal device and storage medium
US10939490B2 (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices, and dual-mode Bluetooth device
CN110996405B (en) Earphone connection method, terminal, earphone box and computer readable storage medium
RU2646363C2 (en) Method, device and system for setting device working state
CN104980411B (en) Video call control method, server, terminal and video call system
EP2997740B1 (en) A method of remotely fitting a hearing aid system, a remote hearing aid fitting system and a hearing aid
US20210127352A1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
WO2022017359A1 (en) Direct communication start-up control method and related device
CN104185235A (en) Method and device for adjusting wireless network
CN112201242A (en) Method and device for waking up equipment, electronic equipment and storage medium
CN106878976B (en) Mobile terminal and data sharing method of dual systems
CN117935792A (en) Method and device for controlling equipment, electronic equipment, storage medium and vehicle
US8504632B2 (en) Electronic apparatus, presence communication system, and computer-readable recording medium
CN112702718A (en) Communication method, device, equipment and storage medium
US20230370980A1 (en) Channel detection method, channel detection apparatus, and storage medium
CN108605286B (en) Wireless control system
CN108432159A (en) Information provider unit and information providing system
CN112866791A (en) Smart television control method and device, smart television and readable storage medium
EP3820127A1 (en) Microphone hole blockage detecting method and related product
CN113382393B (en) Bluetooth connection method and device, storage medium and electronic equipment
JP4075964B2 (en) Mobile phone
US20220210773A1 (en) Pdcch monitoring control method and related device
JP2007068185A (en) Electric wave-off mode controller of mobile communication terminal and electric wave-off mode control method

Legal Events

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