CN113066493A - Equipment control method and system and first electronic equipment - Google Patents

Equipment control method and system and first electronic equipment Download PDF

Info

Publication number
CN113066493A
CN113066493A CN202110343157.4A CN202110343157A CN113066493A CN 113066493 A CN113066493 A CN 113066493A CN 202110343157 A CN202110343157 A CN 202110343157A CN 113066493 A CN113066493 A CN 113066493A
Authority
CN
China
Prior art keywords
electronic device
electronic equipment
wake
input operation
electronic
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.)
Granted
Application number
CN202110343157.4A
Other languages
Chinese (zh)
Other versions
CN113066493B (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110343157.4A priority Critical patent/CN113066493B/en
Publication of CN113066493A publication Critical patent/CN113066493A/en
Application granted granted Critical
Publication of CN113066493B publication Critical patent/CN113066493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Abstract

The application discloses a device control method, a device control system and first electronic equipment, wherein a first input operation of a voice awakening key of the first electronic equipment is acquired, the first input operation is responded, and an awakening instruction is sent to second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment so that the second electronic equipment awakens a voice recognition engine of the second electronic equipment to recognize voice input based on the awakening instruction. According to the scheme, the voice recognition of the voice recognition engine of the second electronic equipment is awakened through the first input operation based on the voice awakening key of the first electronic equipment, the awakening of the voice recognition engine of the second electronic equipment through the key input of other equipment is awakened, the condition that the voice recognition engine of the second electronic equipment needs to be awakened is avoided, and the use scene is expanded.

Description

Equipment control method and system and first electronic equipment
Technical Field
The present application relates to the field of control, and in particular, to a device control method and system, and a first electronic device.
Background
At present, when a voice device is started, it is usually required to wake up by voice to realize the start and use of the voice device, such as: to make the intelligent sound box of millet work, the intelligent sound box can be started and respond to the awakening of the user after the intelligent sound box obtains the voice 'love classmate'.
Disclosure of Invention
In view of this, the present application provides an apparatus control method, a system and a first electronic apparatus, and the specific scheme is as follows:
an apparatus control method comprising:
acquiring a first input operation aiming at a voice wake-up key of first electronic equipment;
responding to the first input operation, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment, so that the second electronic equipment wakes up a voice recognition engine of the second electronic equipment to recognize voice input based on the wake-up instruction.
Further, the sending a wake-up command to the second electronic device through a connection channel between the first electronic device and the second electronic device in response to the first input operation includes:
responding to the first input operation, and if the first electronic equipment currently has the running application program, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment.
Further, the sending a wake-up command to the second electronic device through a connection channel between the first electronic device and the second electronic device in response to the first input operation includes:
responding to the first input operation, and if the audio component of the first electronic equipment is occupied by the currently running application program, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment.
Further, the method also comprises the following steps:
and responding to the first input operation, and maintaining the state that the first electronic equipment currently has the running application program.
Further, if a plurality of second electronic devices connected with the first electronic device are provided, determining an electronic device in an idle state from the plurality of second electronic devices as a target electronic device;
the sending a wake-up instruction to the second electronic device includes:
and sending a wake-up instruction to the target electronic equipment.
Further, if the number of the second electronic devices connected with the first electronic device is multiple, the multiple second electronic devices are adapted to multiple different keys,
acquiring a first input operation aiming at a voice wake-up key of first electronic equipment, wherein the first input operation comprises the following steps:
a first input operation for a first key is obtained.
A first electronic device, comprising:
the processor is used for acquiring a first input operation aiming at a voice wake-up key of the first electronic equipment; responding to the first input operation, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment, so that the second electronic equipment wakes up a voice recognition engine of the second electronic equipment to recognize voice input based on the wake-up instruction;
and the memory is used for storing programs operated by the processor for executing the functions.
Further, the first electronic device further includes:
an audio component;
the processor is configured to respond to the first input operation, and send a wake-up instruction to the second electronic device through a connection channel between the first electronic device and the second electronic device if the audio component is occupied by a currently running application program.
Further, in the above-mentioned case,
the processor is further configured to: and responding to the first input operation, and maintaining the state that the first electronic equipment currently has the running application program.
An appliance control system comprising:
the first electronic equipment is used for acquiring a first input operation aiming at a voice awakening key of the first electronic equipment, responding to the first input operation and sending an awakening instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment;
and the second electronic equipment is used for awakening a voice recognition engine of the second electronic equipment to recognize voice input based on the awakening instruction.
According to the technical scheme, the device control method, the device control system and the first electronic device, the first input operation of the voice wake-up key of the first electronic device is obtained, the first input operation is responded, and the wake-up instruction is sent to the second electronic device through the connecting channel between the first electronic device and the second electronic device, so that the second electronic device wakes up the voice recognition engine of the second electronic device to recognize the voice input based on the wake-up instruction. According to the scheme, the voice recognition of the voice recognition engine of the second electronic equipment is awakened through the first input operation based on the voice awakening key of the first electronic equipment, the awakening of the voice recognition engine of the second electronic equipment through the key input of other equipment is awakened, the condition that the voice recognition engine of the second electronic equipment needs to be awakened is avoided, and the use scene is expanded.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an apparatus control method disclosed in an embodiment of the present application;
fig. 2 is a flowchart of an apparatus control method disclosed in an embodiment of the present application;
fig. 3 is a schematic diagram of a speech recognition engine for waking up a second electronic device through a first input operation for a first electronic device according to an embodiment of the present application;
fig. 4 is a flowchart of an apparatus control method disclosed in an embodiment of the present application;
fig. 5 is a flowchart of an apparatus control method disclosed in an embodiment of the present application;
fig. 6 is a flowchart of an apparatus control method disclosed in an embodiment of the present application;
fig. 7 is a schematic diagram of a first electronic device connected to a plurality of second electronic devices according to an embodiment of the disclosure;
fig. 8 is a schematic structural diagram of a first electronic device disclosed in an embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus control system disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application discloses an equipment control method, a flow chart of which is shown in fig. 1, comprising the following steps:
step S11, acquiring a first input operation aiming at a voice wake-up key of first electronic equipment;
step S12, in response to the first input operation, sending a wake-up instruction to the second electronic device through the connection channel between the first electronic device and the second electronic device, so that the second electronic device wakes up the speech recognition engine of the second electronic device to recognize the speech input based on the wake-up instruction.
When the speech recognition engine of the second electronic device needs to be awakened so that the speech recognition engine can recognize the speech input, the second electronic device can be directly awakened through the awakening word, for example: the second electronic device is a millet intelligent sound box, and a voice recognition engine of the millet intelligent sound box can be awakened through voice input 'love classmates', so that the millet intelligent sound box can receive voice input of a user.
However, if the voice recognition engine of the second electronic device is woken up in the above manner, the user needs to add a wake-up word every time the user speaks a sentence, so that the voice recognition engine of the second electronic device can recognize the input voice, which reduces the user experience.
Therefore, in order to avoid this situation, in the present scheme, the wake-up of the speech recognition engine of the second electronic device may also be implemented through the operation of the first electronic device.
The first electronic device and the second electronic device are connected and are provided with connecting channels, and signal transmission between the first electronic device and the second electronic device can be realized through the connecting channels between the first electronic device and the second electronic device.
Specifically, a first input operation is executed on a voice wake-up key of first electronic equipment, the first electronic equipment obtains a wake-up instruction based on the first input operation, and the wake-up instruction can wake up a voice recognition engine of second electronic equipment; in addition, what can be obtained based on the first input operation includes not only the wake-up instruction, but also the wake-up time, that is, the voice recognition engine of the second electronic device is not directly woken up when the wake-up instruction is received, and is woken up only when the wake-up time is determined to be reached.
Under the condition that a connecting channel between first electronic equipment and second electronic equipment can normally transmit data, a wake-up instruction obtained by the first electronic equipment based on first input operation is transmitted to the second electronic equipment through the connecting channel, so that the electronic equipment wakes up a corresponding voice recognition engine based on the wake-up instruction, and voice input by a user can be recognized conveniently after the electronic equipment wakes up.
The voice wake-up key may be an entity key on the first electronic device or a virtual key on the first electronic device.
Wherein the first electronic device itself is capable of performing other operations, such as: the first electronic device is a mobile phone, a computer and the like, and the voice wake-up key on the first electronic device is only used for waking up the voice recognition engine of the second electronic device.
When the voice wake-up key of the first electronic device obtains the first input operation, no matter whether the first electronic device is executing other operations at the moment, the wake-up instruction is directly sent to the second electronic device to wake up the voice recognition engine of the second electronic device, and in the process, the operation executed by the first electronic device is not influenced by the first input operation.
The first electronic device and the second electronic device have a connection channel therebetween, and the connection channel may be: through the WIFI connection, or through bluetooth connection etc., both guarantee that first electronic equipment and second electronic equipment can normal transmission data, also can guarantee that first electronic equipment and second electronic equipment are located same environment, thereby avoid after the speech recognition engine of second electronic equipment is awaken up in long-range through the input to first electronic equipment, the user is located first electronic equipment position department, because first electronic equipment is far away from second electronic equipment, the speech of user input at its current position can not be received by the speech recognition engine of second electronic equipment, thereby lead to the speech recognition engine of second electronic equipment to be awaken up the back, can not detect the condition of speech input.
In addition, before the voice recognition engine of the second electronic device is awakened based on the awakening instruction, the voice recognition engine of the second electronic device is always in a dormant state or a closed state, and the voice recognition engine of the second electronic device can be awakened only when the awakening instruction is received; the second electronic device may also be in a sleep state or an off state, in which case only the process portion for receiving the wake-up instruction is in a power supply running state; or before the speech recognition engine of the second electronic device is awakened, the processor in the second electronic device is always in a power supply running state, and only the speech recognition engine or a sensor such as a distance sensor is in a dormant or off state.
The device control method disclosed in this embodiment obtains a first input operation for a voice wake-up key of a first electronic device, responds to the first input operation, and sends a wake-up instruction to a second electronic device through a connection channel between the first electronic device and the second electronic device, so that the second electronic device wakes up a voice recognition engine of the second electronic device to recognize a voice input based on the wake-up instruction. According to the scheme, the voice recognition of the voice recognition engine of the second electronic equipment is awakened through the first input operation based on the voice awakening key of the first electronic equipment, the awakening of the voice recognition engine of the second electronic equipment through the key input of other equipment is awakened, the condition that the voice recognition engine of the second electronic equipment needs to be awakened is avoided, and the use scene is expanded.
The embodiment discloses an apparatus control method, a flowchart of which is shown in fig. 2, and the method includes:
step S21, acquiring a first input operation aiming at a voice wake-up key of first electronic equipment;
step S22, responding to the first input operation, if the first electronic device currently has an application program running, sending a wake-up instruction to the second electronic device through a connection channel between the first electronic device and the second electronic device, so that the second electronic device wakes up a speech recognition engine of the second electronic device to recognize a speech input based on the wake-up instruction.
If the first electronic device obtains the first input operation for the voice wakeup key, the first electronic device currently has an application program running, in order to avoid an influence on the application program currently running by the first electronic device, a wakeup instruction corresponding to the first input operation is sent to the second electronic device, so that the second electronic device can respond to the first input operation to wake up a voice recognition engine of the second electronic device.
The first input operation aiming at the voice wake-up key of the first electronic equipment can not only wake up the voice recognition engine of the second electronic equipment, but also control the first electronic equipment.
If the first input operation aiming at the voice wake-up key of the first electronic equipment is obtained, and the first electronic equipment does not have an application program which is running currently, the voice recognition engine of the first electronic equipment is preferably selected to be woken up, so that the voice recognition engine of the first electronic equipment can recognize the voice input;
or, the first electronic device determines whether to wake up the speech recognition engine of the first electronic device or to wake up the speech recognition engine of the second electronic device, and the first electronic device may specifically determine that the speech recognition engine of the first electronic device or the second electronic device is woken up based on the user preference, that is, the history selection record;
alternatively, it may be: preferably, the voice recognition engine of the second electronic device is awakened, and the voice recognition engine of the first electronic device is awakened only when the voice recognition engine or the voice output device of the second electronic device is occupied.
If the first input operation for the voice wakeup key of the first electronic device is obtained, the first electronic device currently has an application program running, for example: audio is being output, a video conference is being conducted, a document is being edited, etc., the speech recognition engine of the second electronic device is awakened directly in order to avoid an impact on the application program that the first electronic device is running.
The running application program currently owned by the first electronic device may be: any application run by the first electronic device, such as: camera, payroll, browser, etc.
As shown in fig. 3, includes: the first electronic device 31 is currently displaying a picture, that is, the first electronic device currently has an application program in operation, so that when the first electronic device obtains a first input operation for the voice wakeup key, in order to respond to the first input operation, a wakeup instruction is sent to wake up a voice recognition engine of the second electronic device, so that the voice recognition engine can obtain a voice input.
Specifically, if a user is carrying out a video conference through a first electronic device, during the video conference, a display screen of the first electronic device may display a corresponding picture, for example: the picture of the meeting personnel who gathers, perhaps, meeting personnel's head portrait picture, simultaneously, first electronic equipment still can open the audio frequency that the equipment of audio acquisition unit gathered at conference in-process through audio output unit output, and simultaneously, first electronic equipment's treater also can continuously handle the data of videoconference.
If a user performs a first input operation on a certain virtual key or an entity key of a first electronic device while the first electronic device is in a video conference, where the key is actually a voice wake-up key, after the first electronic device obtains the first input operation, a processor of the first electronic device determines whether an application program is currently running, and the processor of the first electronic device can detect an application corresponding to the video conference, where: in the flight conference, currently in operation, the processor of the first electronic device sends a wake-up instruction to the second electronic device through a connection channel between the first electronic device and the second electronic device based on the currently running application program, so as to wake up a voice recognition engine of the second electronic device, and enable the second electronic device to respond to a first input operation of a voice wake-up key of the first electronic device.
Or, if the user is editing the document through the first electronic device, such as: in the process, an application program corresponding to the word document of the first electronic device is enabled, or a memo is enabled, corresponding information is displayed through a display screen of the first electronic device, and a processor of the first electronic device processes the corresponding information. If a first input operation executed by a user on a certain virtual key or an entity key of the first electronic device is received, after the first input operation is obtained by the first electronic device, the processor of the first electronic device determines that an application program is currently running, and based on the determination, in order to respond to the first input operation, the first electronic device sends a wake-up instruction to the second electronic device through a connecting channel between the first electronic device and the second electronic device so as to wake up a voice recognition engine of the second electronic device.
The device control method disclosed in this embodiment obtains a first input operation for a voice wake-up key of a first electronic device, responds to the first input operation, and sends a wake-up instruction to a second electronic device through a connection channel between the first electronic device and the second electronic device, so that the second electronic device wakes up a voice recognition engine of the second electronic device to recognize a voice input based on the wake-up instruction. According to the scheme, the voice recognition of the voice recognition engine of the second electronic equipment is awakened through the first input operation based on the voice awakening key of the first electronic equipment, the awakening of the voice recognition engine of the second electronic equipment through the key input of other equipment is awakened, the condition that the voice recognition engine of the second electronic equipment needs to be awakened is avoided, and the use scene is expanded.
The embodiment discloses an apparatus control method, a flowchart of which is shown in fig. 4, and the method includes:
step S41, acquiring a first input operation aiming at a voice wake-up key of first electronic equipment;
step S42, responding to the first input operation, and if the audio component of the first electronic device is occupied by the currently running application program, sending a wake-up instruction to the second electronic device through the connection channel between the first electronic device and the second electronic device.
The audio component of the first electronic device is occupied, that is, there is an application program that is using the audio component, and the audio component may be: audio output devices, such as: the loudspeaker can also be an audio receiving device, such as: a microphone.
The audio output device is occupied by the running application program, and can be: the first electronic device is currently outputting audio through the audio output device, such as: when the cool dog music is in the running state, the audio output device is in a state occupied by an application program of the cool dog music; when the Youkou video is in the running state, the audio output device is in the state occupied by the application program of the Youkou video; when a video call in WeChat is being used, the audio output device is in a state of being occupied by an application program of WeChat.
The audio receiving device is occupied by the running application program, and may be: the first electronic device is currently receiving audio through the audio receiving apparatus, such as: when the voice assistant of the first electronic equipment is in an operating state, the audio receiving device is in a state occupied by the voice assistant; when the video call in the WeChat is being used, the audio receiving device is in a state of being occupied by an application program of the WeChat; when the recording function of the first electronic device is in the running state, the audio receiving device is in a state occupied by the recording function.
The response to the first input operation is to enable the speech recognition engine of the first electronic device to be in an awake state, or to enable the speech recognition engine of the second electronic device to be in an awake state. And the awakening voice recognition engine enables the electronic equipment to receive the audio and can output corresponding audio data based on the audio instruction after the electronic equipment receives the audio instruction.
Such as: awaken the speech recognition engine of the smart speaker, such as: awaken up millet smart speaker's speech recognition engine up, smart speaker can reply "I am", and the user can know from this that smart speaker's speech recognition engine has been awaken up at present, and after smart speaker replied, the user can input voice command, if: after receiving the voice command, the intelligent sound box recognizes and responds to the voice command, and the response is that the voice command is output to indicate that the weather is clear today and the current temperature is 15 ℃.
That is, after the electronic device receives the audio command, the electronic device outputs a response to the audio command in the form of audio, and therefore, both the audio receiving device and the audio output device of the electronic device need to be in an unoccupied state.
When the first input operation can control both the first electronic device and the second electronic device, if it is determined that the first input operation is received, if an audio component of the first electronic device is currently in a state occupied by a running application program, a voice recognition engine of the second electronic device needs to be awakened so that the second electronic device can receive voice input;
examples of this in this scenario may be: the method comprises the steps that a first input operation aiming at a certain specific key of the notebook computer is obtained, at the moment, an audio receiving device and an audio output device of the notebook computer are both occupied by a flight conference, or only the audio receiving device is occupied by WeChat, or only the audio output device is occupied by intense dog music, so that the notebook computer cannot respond to the first input operation, but an intelligent sound box in wireless connection with the notebook computer responds to the first input operation to awaken a voice recognition engine of the intelligent sound box.
If the first input operation aiming at the voice wake-up key of the first electronic equipment is obtained, the first electronic equipment is preferentially selected, if the audio component of the first electronic equipment is currently in an occupied state, the voice recognition engine of the second electronic equipment is woken up, if the audio component of the first electronic equipment is currently in an unoccupied state, the voice recognition engine of the first electronic equipment is woken up by the wake-up instruction, and the voice input is received by the voice recognition engine of the first electronic equipment;
in addition, the following may be also possible: when a first input operation aiming at a voice wake-up key of first electronic equipment is obtained, preferentially selecting second electronic equipment, namely preferentially determining whether an audio component of the second electronic equipment is occupied by a running application program or not, and if not, sending a wake-up instruction to the second electronic equipment so as to wake up a voice recognition engine of the second electronic equipment; if the audio component of the second electronic device is occupied, the wake-up instruction wakes up the voice recognition engine of the first electronic device itself so as to receive the voice input through the voice recognition engine of the first electronic device.
For example: the method comprises the steps of obtaining a first input operation aiming at a certain specific key of the mobile phone, wherein the first input operation is used for preferably awakening a voice recognition engine of the intelligent sound box, at the moment, the intelligent sound box is in a music playing state, an audio output device of the intelligent sound box is occupied, the voice recognition engine of the intelligent sound box cannot be awakened, the mobile phone is responded to the first input operation, the voice recognition engine of the mobile phone is awakened, and user input is received through the voice recognition engine of the mobile phone.
The device control method disclosed in this embodiment obtains a first input operation for a voice wake-up key of a first electronic device, responds to the first input operation, and sends a wake-up instruction to a second electronic device through a connection channel between the first electronic device and the second electronic device, so that the second electronic device wakes up a voice recognition engine of the second electronic device to recognize a voice input based on the wake-up instruction. According to the scheme, the voice recognition of the voice recognition engine of the second electronic equipment is awakened through the first input operation based on the voice awakening key of the first electronic equipment, the awakening of the voice recognition engine of the second electronic equipment through the key input of other equipment is awakened, the condition that the voice recognition engine of the second electronic equipment needs to be awakened is avoided, and the use scene is expanded.
The present embodiment discloses an apparatus control method, a flowchart of which is shown in fig. 5, and includes:
step S51, acquiring a first input operation aiming at a voice wake-up key of first electronic equipment;
step S52, responding to the first input operation, sending a wake-up instruction to the second electronic device through a connecting channel between the first electronic device and the second electronic device, so that the second electronic device wakes up a voice recognition engine of the second electronic device to recognize voice input based on the wake-up instruction;
step S53, in response to the first input operation, maintaining the state that the first electronic device currently has the application program running.
When a first input operation aiming at a voice wake-up key of first electronic equipment is obtained, the first input operation can wake up a voice recognition engine of the first electronic equipment and can wake up a voice recognition engine of second electronic equipment, if the first electronic equipment is determined to have a currently running application program or an audio component of the first electronic equipment is occupied by the currently running application program, the voice recognition engine of the second electronic equipment is woken up through the first input operation, and the currently running application program of the first electronic equipment is not influenced while the voice recognition engine of the second electronic equipment is woken up, namely the running state of the currently running application program of the first electronic equipment is continuously maintained.
On the basis that the first input operation can wake up the voice recognition engine of the first electronic device and can wake up the voice recognition engine of the second electronic device, the first input operation acts on the voice wake-up key of the first electronic device, so that after the first input operation is obtained, the voice recognition engine of the first electronic device is preferentially woken up, and the wake-up instruction obtained based on the first input operation is a wake-up instruction for the first electronic device.
After obtaining the wake-up instruction for the first electronic device, detecting that an audio component of the first electronic device is occupied, or that the first electronic device currently has an application program in a running state, the voice recognition engine of the first electronic device cannot be woken up, converting the wake-up instruction for the first electronic device into a wake-up instruction for the second electronic device by a processor of the first electronic device, and sending the wake-up instruction for the second electronic device to wake up the voice recognition engine of the second electronic device.
While the processor of the first electronic device converts the wake-up instruction for the first electronic device into the wake-up instruction for the second electronic device, the application program currently running on the first electronic device is not affected, the running state is continuously maintained, and only the conversion operation of the wake-up instruction is processed in the background.
For example: the mobile phone is connected with the intelligent sound box through wifi or Bluetooth, and the mobile phone is provided with a voice wake-up key which can wake up a voice recognition engine of the mobile phone and can wake up the voice recognition engine of the intelligent sound box. The voice wake-up key on the mobile phone receives the first input operation, the mobile phone processes the first input operation, a wake-up instruction for the mobile phone is obtained based on the first input operation, the wake-up instruction for the mobile phone is used for waking up a voice recognition engine of the mobile phone, but at the moment, a processor in the mobile phone detects that the mobile phone outputs music through cool dog music, the processor can determine that an application program is in a running state at the moment, a loudspeaker in an audio component of the mobile phone is in an occupied state, at the moment, the voice recognition engine of the mobile phone cannot be woken up, the processor converts the wake-up instruction for the mobile phone into a wake-up instruction for a smart sound box and sends the wake-up instruction to the smart sound box, meanwhile, the cool dog music of the mobile phone continues to play music without any influence, and an interface of the cool dog music is switched to a background from a foreground due, it is not necessary to switch the operation of waking up the speech recognition engine to foreground execution.
The device control method disclosed in this embodiment obtains a first input operation for a voice wake-up key of a first electronic device, responds to the first input operation, and sends a wake-up instruction to a second electronic device through a connection channel between the first electronic device and the second electronic device, so that the second electronic device wakes up a voice recognition engine of the second electronic device to recognize a voice input based on the wake-up instruction. According to the scheme, the voice recognition of the voice recognition engine of the second electronic equipment is awakened through the first input operation based on the voice awakening key of the first electronic equipment, the awakening of the voice recognition engine of the second electronic equipment through the key input of other equipment is awakened, the condition that the voice recognition engine of the second electronic equipment needs to be awakened is avoided, and the use scene is expanded.
The present embodiment discloses an apparatus control method, a flowchart of which is shown in fig. 6, and includes:
step S61, acquiring a first input operation aiming at a voice wake-up key of first electronic equipment;
step S62 of determining, in response to a first input operation, an electronic device in an idle state as a target electronic device from among a plurality of second electronic devices connected to a first electronic device;
step S63, sending a wake-up command to the target electronic device through a connection channel between the first electronic device and the target electronic device, so that the target electronic device wakes up a voice recognition engine of the target electronic device to recognize a voice input based on the wake-up command.
The second electronic devices connected with the first electronic device are multiple, the multiple second electronic devices can be connected through wifi, Bluetooth or other methods, and the connection method of each second electronic device and the first electronic device may be the same or different.
The obtained first input operation for the voice wake-up key of the first electronic device may be only used for controlling the second electronic device, or may be capable of controlling both the second electronic device and the first electronic device.
If the first input operation is only used for controlling the second electronic device, when the first input operation of the voice wake-up key for the first electronic device is obtained, since the first input operation is used for controlling the plurality of second electronic devices, it is necessary to determine which of the plurality of second electronic devices can be connected and wake up the voice recognition engine, and therefore, it is necessary to first determine the device status of the plurality of second electronic devices connected to the first electronic device.
Determining, by the first electronic device, a device state of each of the plurality of second electronic devices, which may specifically be: when the first input operation is obtained, sending a state acquisition instruction to each second electronic device to enable each second electronic device to feed back current state information of the second electronic device to the first electronic device based on the state acquisition instruction, so that the first electronic device can determine the device state of each second electronic device to determine a target electronic device based on the device state of each second electronic device;
alternatively, the following may be used: the second electronic device may also send its own state information to the first electronic device for every preset time interval, so that the first electronic device can obtain the device state of each second electronic device once every preset time interval, and when obtaining the first input operation, the target electronic device may be directly determined based on the stored device state of each second electronic device that is the shortest in time interval from the current time.
After the first electronic device determines the device state of each second electronic device, the second electronic device in the idle state is selected as the target electronic device based on the device states of the second electronic devices. Wherein the second electronic device in the idle state is: there is no running application in the second electronic device, or the audio component in the second electronic device is not occupied, i.e. an electronic device that ensures that the speech recognition engine in the second electronic device can be in a state that can be woken up can be determined to be the second electronic device in an idle state.
If the number of the determined second electronic devices in the idle state is 1, directly determining the determined second electronic devices in the idle state as target electronic devices;
if the number of the determined second electronic devices in the idle state is 2 or more, one of not less than two second electronic devices in the idle state needs to be selected as a target electronic device, wherein the target electronic device may be randomly selected from no less than two second electronic devices, or may determine user preferences based on historical selection records, thereby selecting one of them as the target electronic device, or, alternatively, the target electronic device may be determined based on the distance to the first electronic device, namely, the second electronic equipment which is closest to the first electronic equipment is selected from no less than two second electronic equipment as the target electronic equipment, the distance between the electronic equipment and the first electronic equipment is the distance between the electronic equipment and the user, the electronic equipment for recognizing the voice input is close to the user, the user does not need to use larger volume to input the voice, and therefore user experience is improved.
In addition, if the first input operation can control both the first electronic device and the second electronic device, when the first input operation to the voice wake-up key of the first electronic device is obtained, since the first input operation is used to control the plurality of second electronic devices and the first electronic device, it is necessary to determine which one of the first electronic device and the plurality of second electronic devices can be connected and wake up the voice recognition engine, and therefore, it is necessary to first determine the device states of the plurality of second electronic devices connected to the first electronic device and the first electronic device itself.
The process of determining the device states of the plurality of second electronic devices has been described above, and is not described herein again; the device state of the first electronic device itself is determined, the processor can directly perform judgment, and the use state of the processor is determined, that is, whether the first electronic device is in an idle state or not can be determined.
After the device states of the first electronic device and the second electronic devices are determined, if only one electronic device is in an idle state, the electronic device is directly determined as a target electronic device;
if a plurality of electronic devices are in an idle state, selecting one electronic device from the plurality of electronic devices in the idle state as a target electronic device, wherein the target electronic device can be randomly selected from the plurality of electronic devices; user preferences may also be determined based on historical selection records to select one of the target electronic devices; or, the target electronic device may be determined based on the distance from the first electronic device, that is, if the plurality of electronic devices in the idle state include the first electronic device, the first electronic device is directly selected and determined as the target electronic device, and if the plurality of electronic devices in the idle state do not include the first electronic device and only include not less than two second electronic devices, the second electronic device closest to the first electronic device is selected from the not less than two second electronic devices as the target electronic device, and the distance from the first electronic device is the distance from the user, and the electronic device for recognizing the voice input is closer to the user, so that the user does not need to perform the voice input with a large volume, thereby improving the user experience.
After the target electronic device is determined, a wake-up instruction for the target electronic device is generated based on the first input operation, so that the wake-up instruction is directly transmitted to the target electronic device to enable a voice recognition engine of the target electronic device to be woken up.
As shown in fig. 7, includes: the first electronic device 71 and the plurality of second electronic devices 72 perform a first input operation on a voice wake-up key of the first electronic device, and the first electronic device selects an electronic device in an idle state as a target electronic device based on the first input operation, determines a wake-up instruction generated based on the first input operation as a wake-up instruction for the target electronic device, and sends the wake-up instruction to the target electronic device so as to wake up a voice recognition engine of the target electronic device and perform voice input through the voice recognition engine of the target electronic device.
The device control method disclosed in this embodiment obtains a first input operation for a voice wake-up key of a first electronic device, responds to the first input operation, and sends a wake-up instruction to a second electronic device through a connection channel between the first electronic device and the second electronic device, so that the second electronic device wakes up a voice recognition engine of the second electronic device to recognize a voice input based on the wake-up instruction. According to the scheme, the voice recognition of the voice recognition engine of the second electronic equipment is awakened through the first input operation based on the voice awakening key of the first electronic equipment, the awakening of the voice recognition engine of the second electronic equipment through the key input of other equipment is awakened, the condition that the voice recognition engine of the second electronic equipment needs to be awakened is avoided, and the use scene is expanded.
Different from the above embodiment, the apparatus control method disclosed in this embodiment may further include:
if the number of the second electronic devices connected with the first electronic device is multiple, and the multiple second electronic devices are adapted to multiple different keys, acquiring the first input operation of the voice wakeup key for the first electronic device includes: a first input operation for a first key is obtained.
The method comprises the steps that a first electronic device is connected with a plurality of second electronic devices, each second electronic device corresponds to different keys of the first electronic device, if a first input operation aiming at a first key of the first electronic device is obtained, the first electronic device which is arranged corresponding to the first key and needs to be awakened is responded to the first input operation; and if the first input operation aiming at the second key of the first electronic equipment is obtained, responding to the first input operation, and waking up second electronic equipment which is arranged corresponding to the second key.
The method comprises the steps that a first input operation is obtained based on a first key, a wake-up instruction is generated based on the first input operation, and when the wake-up instruction is generated, the first input operation is provided with identification information of the first key, so that the generated wake-up instruction is a wake-up instruction directly aiming at first and second electronic equipment, and the wake-up instruction is directly sent to the first and second electronic equipment, and the wake-up of a voice recognition engine of the second electronic equipment is realized; the method comprises the steps of obtaining a first input operation based on a second key, generating a wake-up instruction based on the first input operation, and when the wake-up instruction is generated, because the first input operation is provided with identification information of the second key, the generated wake-up instruction is a wake-up instruction directly aiming at second electronic equipment so as to directly send the wake-up instruction to the second electronic equipment and realize wake-up of a voice recognition engine of the second electronic equipment.
According to the scheme, the voice recognition engine of the second electronic equipment is awakened, the electronic equipment needing to be awakened is directly determined by the user, and the awakened electronic equipment is guaranteed to meet the user requirements.
The embodiment discloses a first electronic device, a schematic structural diagram of which is shown in fig. 8, including:
a processor 81 and a memory 82.
The processor 81 is configured to obtain a first input operation of a voice wakeup key of the first electronic device; responding to the first input operation, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment so that the second electronic equipment wakes up a voice recognition engine of the second electronic equipment to recognize voice input based on the wake-up instruction;
the processor 82 is used to store programs that the processor runs to perform the functions described above.
Further, the processor responds to the first input operation and sends a wake-up instruction to the second electronic device through a connection channel between the first electronic device and the second electronic device, and the wake-up instruction includes:
and the processor responds to the first input operation, and if the first electronic equipment currently has the running application program, sends a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment.
Further, the first electronic device further includes: an audio component, wherein:
the processor is used for responding to the first input operation, and if the audio component is occupied by the application program which is currently running, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment.
Further, the processor is further configured to:
and responding to the first input operation, and maintaining the current state of the first electronic equipment with the running application program.
Further, if there are a plurality of second electronic devices connected to the first electronic device, determining an electronic device in an idle state from the plurality of second electronic devices as a target electronic device, and sending a wake-up instruction to the second electronic device by the processor, the method includes: the processor sends a wake-up instruction to the target electronic device.
Further, if there are a plurality of second electronic devices connected to the first electronic device, the plurality of second electronic devices are adapted to a plurality of different keys, and the processor wakes up the first input operation of the key for the voice of the first electronic device, including: the processor obtains a first input operation for a first key.
The first electronic device disclosed in this embodiment is implemented based on the device control method disclosed in the above embodiment, and details are not described here.
In the first electronic device disclosed in this embodiment, the processor obtains a first input operation for the voice wake-up key of the first electronic device, responds to the first input operation, and sends the wake-up instruction to the second electronic device through the connection channel between the first electronic device and the second electronic device, so that the second electronic device wakes up the voice recognition engine of the second electronic device to recognize the voice input based on the wake-up instruction. According to the scheme, the voice recognition of the voice recognition engine of the second electronic equipment is awakened through the first input operation based on the voice awakening key of the first electronic equipment, the awakening of the voice recognition engine of the second electronic equipment through the key input of other equipment is awakened, the condition that the voice recognition engine of the second electronic equipment needs to be awakened is avoided, and the use scene is expanded.
The present embodiment discloses an apparatus control system, a schematic structural diagram of which is shown in fig. 9, and the apparatus control system includes:
a first electronic device 91 and a second electronic device 92.
The first electronic equipment is used for acquiring a first input operation aiming at a voice wake-up key of the first electronic equipment, responding to the first input operation and sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment;
the second electronic device is used for waking up a voice recognition engine of the second electronic device to recognize the voice input based on the wake-up instruction.
The device control system disclosed in this embodiment is implemented based on the device control method disclosed in the above embodiment, and is not described herein again.
In the device control system disclosed in this embodiment, the first electronic device obtains a first input operation for the voice wake-up key of the first electronic device, responds to the first input operation, and sends a wake-up instruction to the second electronic device through a connection channel between the first electronic device and the second electronic device, so that the second electronic device wakes up the voice recognition engine of the second electronic device to recognize the voice input based on the wake-up instruction. According to the scheme, the voice recognition of the voice recognition engine of the second electronic equipment is awakened through the first input operation based on the voice awakening key of the first electronic equipment, the awakening of the voice recognition engine of the second electronic equipment through the key input of other equipment is awakened, the condition that the voice recognition engine of the second electronic equipment needs to be awakened is avoided, and the use scene is expanded.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An apparatus control method comprising:
acquiring a first input operation aiming at a voice wake-up key of first electronic equipment;
responding to the first input operation, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment, so that the second electronic equipment wakes up a voice recognition engine of the second electronic equipment to recognize voice input based on the wake-up instruction.
2. The method of claim 1, wherein the sending a wake-up command to the second electronic device through a connection channel between the first electronic device and the second electronic device in response to the first input operation comprises:
responding to the first input operation, and if the first electronic equipment currently has the running application program, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment.
3. The method of claim 1, wherein the sending a wake-up command to the second electronic device through a connection channel between the first electronic device and the second electronic device in response to the first input operation comprises:
responding to the first input operation, and if the audio component of the first electronic equipment is occupied by the currently running application program, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment.
4. The method of claim 2 or 3, further comprising:
and responding to the first input operation, and maintaining the state that the first electronic equipment currently has the running application program.
5. The method according to claim 1, if there are a plurality of second electronic devices to which the first electronic device is connected, determining an electronic device in an idle state as a target electronic device from among the plurality of second electronic devices;
the sending a wake-up instruction to the second electronic device includes:
and sending a wake-up instruction to the target electronic equipment.
6. The method of claim 1, if there are multiple second electronic devices to which the first electronic device is connected, adapting the multiple second electronic devices to multiple different keys,
acquiring a first input operation aiming at a voice wake-up key of first electronic equipment, wherein the first input operation comprises the following steps:
a first input operation for a first key is obtained.
7. A first electronic device, comprising:
the processor is used for acquiring a first input operation aiming at a voice wake-up key of the first electronic equipment; responding to the first input operation, sending a wake-up instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment, so that the second electronic equipment wakes up a voice recognition engine of the second electronic equipment to recognize voice input based on the wake-up instruction;
and the memory is used for storing programs operated by the processor for executing the functions.
8. The device of claim 7, wherein the first electronic device further comprises:
an audio component;
the processor is configured to respond to the first input operation, and send a wake-up instruction to the second electronic device through a connection channel between the first electronic device and the second electronic device if the audio component is occupied by a currently running application program.
9. The apparatus of claim 8, wherein,
the processor is further configured to: and responding to the first input operation, and maintaining the state that the first electronic equipment currently has the running application program.
10. An appliance control system comprising:
the first electronic equipment is used for acquiring a first input operation aiming at a voice awakening key of the first electronic equipment, responding to the first input operation and sending an awakening instruction to the second electronic equipment through a connecting channel between the first electronic equipment and the second electronic equipment;
and the second electronic equipment is used for awakening a voice recognition engine of the second electronic equipment to recognize voice input based on the awakening instruction.
CN202110343157.4A 2021-03-30 2021-03-30 Equipment control method and system and first electronic equipment Active CN113066493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110343157.4A CN113066493B (en) 2021-03-30 2021-03-30 Equipment control method and system and first electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110343157.4A CN113066493B (en) 2021-03-30 2021-03-30 Equipment control method and system and first electronic equipment

Publications (2)

Publication Number Publication Date
CN113066493A true CN113066493A (en) 2021-07-02
CN113066493B CN113066493B (en) 2023-01-06

Family

ID=76565196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110343157.4A Active CN113066493B (en) 2021-03-30 2021-03-30 Equipment control method and system and first electronic equipment

Country Status (1)

Country Link
CN (1) CN113066493B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419108A (en) * 2018-03-06 2018-08-17 深圳创维数字技术有限公司 Sound control method, device, remote controler and computer storage media
CN109981299A (en) * 2019-03-05 2019-07-05 青岛海信传媒网络技术有限公司 Awakening method and device
CN111261151A (en) * 2018-12-03 2020-06-09 中移(杭州)信息技术有限公司 Voice processing method and device, electronic equipment and storage medium
CN111694605A (en) * 2020-05-18 2020-09-22 Oppo广东移动通信有限公司 Voice information processing method and device, storage medium and electronic equipment
CN111968641A (en) * 2020-08-20 2020-11-20 Oppo(重庆)智能科技有限公司 Voice assistant wake-up control method and device, storage medium and electronic equipment
US20200380994A1 (en) * 2019-05-31 2020-12-03 Baidu Online Network Technology (Beijing) Co., Ltd. Voice control methods and apparatuses for electronic device, computer devices, and storage medium
CN112530430A (en) * 2020-11-30 2021-03-19 北京百度网讯科技有限公司 Vehicle-mounted operating system control method and device, earphone, terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419108A (en) * 2018-03-06 2018-08-17 深圳创维数字技术有限公司 Sound control method, device, remote controler and computer storage media
CN111261151A (en) * 2018-12-03 2020-06-09 中移(杭州)信息技术有限公司 Voice processing method and device, electronic equipment and storage medium
CN109981299A (en) * 2019-03-05 2019-07-05 青岛海信传媒网络技术有限公司 Awakening method and device
US20200380994A1 (en) * 2019-05-31 2020-12-03 Baidu Online Network Technology (Beijing) Co., Ltd. Voice control methods and apparatuses for electronic device, computer devices, and storage medium
CN111694605A (en) * 2020-05-18 2020-09-22 Oppo广东移动通信有限公司 Voice information processing method and device, storage medium and electronic equipment
CN111968641A (en) * 2020-08-20 2020-11-20 Oppo(重庆)智能科技有限公司 Voice assistant wake-up control method and device, storage medium and electronic equipment
CN112530430A (en) * 2020-11-30 2021-03-19 北京百度网讯科技有限公司 Vehicle-mounted operating system control method and device, earphone, terminal and storage medium

Also Published As

Publication number Publication date
CN113066493B (en) 2023-01-06

Similar Documents

Publication Publication Date Title
JP6811758B2 (en) Voice interaction methods, devices, devices and storage media
US9811870B2 (en) Information processing method, apparatus and payment system
US10261566B2 (en) Remote control apparatus and method for controlling power
WO2018149285A1 (en) Voice wake-up method and apparatus, electronic device, and storage medium
US10986573B2 (en) Bluetooth mesh network gateway and device data communication
CN110730115B (en) Voice control method and device, terminal and storage medium
CN110876180B (en) Power consumption processing method and device, electronic equipment and computer readable medium
WO2016078214A1 (en) Terminal processing method, device and computer storage medium
CN111312235A (en) Voice interaction method, device and system
CN108154878A (en) Control the method and device of monitoring device
CN111161714A (en) Voice information processing method, electronic equipment and storage medium
CN113671846B (en) Intelligent device control method and device, wearable device and storage medium
CN110874128B (en) Visualized data processing method and electronic equipment
CN110727821A (en) Method, apparatus, system and computer storage medium for preventing device from being awoken by mistake
CN109637531A (en) A kind of sound control method, device, storage medium and air-conditioning
WO2020043217A1 (en) Fast voice recording method and apparatus, mobile terminal and computer storage medium
CN113066493B (en) Equipment control method and system and first electronic equipment
CN112932225A (en) Intelligent awakening pillow and awakening method based on intelligent awakening pillow
CN108093350A (en) The control method and microphone of microphone
CN109994119B (en) Wireless voice adaptation device, system and audio playing control method
US20220122600A1 (en) Information processing device and information processing method
CN111429917A (en) Equipment awakening method and terminal equipment
CN108900706B (en) Call voice adjustment method and mobile terminal
CN114765026A (en) Voice control method, device and system
CN112992133A (en) Sound signal control method, system, readable storage medium and device

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
GR01 Patent grant
GR01 Patent grant