[go: up one dir, main page]

CN112466300B - Interaction method, electronic device, intelligent device and readable storage medium - Google Patents

Interaction method, electronic device, intelligent device and readable storage medium Download PDF

Info

Publication number
CN112466300B
CN112466300B CN201910864910.7A CN201910864910A CN112466300B CN 112466300 B CN112466300 B CN 112466300B CN 201910864910 A CN201910864910 A CN 201910864910A CN 112466300 B CN112466300 B CN 112466300B
Authority
CN
China
Prior art keywords
electronic device
voice
intelligent
instruction
equipment
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.)
Active
Application number
CN201910864910.7A
Other languages
Chinese (zh)
Other versions
CN112466300A (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.)
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu 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 Beijing Baidu Netcom Science and Technology Co Ltd, Shanghai Xiaodu Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910864910.7A priority Critical patent/CN112466300B/en
Publication of CN112466300A publication Critical patent/CN112466300A/en
Application granted granted Critical
Publication of CN112466300B publication Critical patent/CN112466300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses an interaction method, electronic equipment, intelligent equipment and a readable storage medium, and relates to interaction technology among equipment. The intelligent device sends the first control instruction to the electronic device, so that the electronic device can run a preset voice assistant, and then the intelligent device sends the voice instruction to the electronic device, so that the electronic device can respond to the voice instruction according to the voice instruction based on the running voice assistant, and accordingly corresponding operation is performed, manual operation of a user is not needed, the electronic device can perform corresponding operation, and complexity of the user for operating the electronic device can be reduced.

Description

Interaction method, electronic device, intelligent device and readable storage medium
Technical Field
The present disclosure relates to computer technology, and more particularly to interaction technology between devices.
Background
There are many smart devices that can be connected to electronic devices, such as vehicle electronic device holders, bluetooth speakers, sports bracelets, etc. These smart devices may be connected to the electronic device by means of a bluetooth connection.
In the prior art, after an electronic device is connected with an intelligent device, a user can also operate an APP installed in the electronic device to perform certain operations, such as playing music, for example, controlling the intelligent device through the APP matched with the intelligent device.
However, in the scheme in the prior art, after the electronic device is connected with the intelligent device, a user is required to manually operate the electronic device, find and open the APP, and then operate the APP therein. Therefore, the manner in which the electronic device controls the intelligent device in the prior art is too complicated.
Disclosure of Invention
The disclosure provides an interaction method, electronic equipment, intelligent equipment and a readable storage medium. The problem that the mode of controlling intelligent equipment by electronic equipment in the prior art is too complicated is solved.
A first aspect of the present disclosure provides a method for interaction between an intelligent device and an electronic device, including:
The method comprises the steps that an electronic device receives a first control instruction sent by an intelligent device, wherein the first instruction is sent by the intelligent device through Bluetooth connection after the electronic device and the intelligent device are connected through Bluetooth;
The electronic equipment runs a preset voice assistant according to the first control instruction;
and the electronic equipment receives the voice instruction sent by the intelligent equipment and responds to the voice instruction based on the preset voice assistant.
In an optional implementation manner, before the electronic device receives the first control instruction sent by the intelligent device, the method further includes:
The electronic equipment receives a second control instruction sent by the intelligent equipment; the second control instruction is sent by the intelligent device through the Bluetooth connection after the Bluetooth connection is established between the electronic device and the intelligent device;
The electronic equipment displays at least one selectable voice assistant according to the second control instruction;
The electronic equipment responds to an operation instruction for selecting a first voice assistant, and the selected first voice assistant is determined to be the preset voice assistant;
wherein the selectable programs comprise the first program.
In such an embodiment, the preset voice assistant can be selected by the user to meet the user's needs.
In an optional implementation manner, before the electronic device receives the voice instruction sent by the intelligent device, the method further includes:
The electronic equipment sends an audio transmission channel establishment instruction to the intelligent equipment so as to establish an audio transmission channel between the electronic equipment and the intelligent equipment;
The electronic device receiving a voice command sent by the intelligent device, comprising:
and the electronic equipment receives the voice instruction sent by the intelligent equipment through the audio transmission channel.
In this embodiment, the voice command is sent through the audio transmission channel, so that the voice command can be accurately sent to the electronic device connected with the intelligent device, and the problem of sending failure is avoided.
In an alternative embodiment, the responding to the voice command based on the preset voice assistant includes:
and recognizing the voice command by the preset voice assistant to obtain a voice control command, and responding to the voice control command.
The voice command is recognized by the running preset voice assistant, so that the purpose that the electronic equipment automatically executes preset operation corresponding to the preset command can be achieved, and the problem of complicated steps when a user operates the electronic equipment is solved.
In an alternative embodiment, the voice instructions are pre-stored in the smart device.
Through storing the voice command in the intelligent device, after the electronic device and the intelligent device are connected through Bluetooth, the intelligent device can control the electronic device according to the command without manually controlling the electronic device by a user.
A second aspect of the present disclosure provides an interaction method between an intelligent device and an electronic device, including:
After Bluetooth connection is established between the intelligent device and the electronic device, a first control instruction is sent to the electronic device, so that the electronic device runs a preset voice assistant according to the first control instruction;
and the intelligent equipment sends a voice instruction to the electronic equipment so that the electronic equipment responds to the voice instruction based on the preset voice assistant.
A third aspect of the present disclosure provides an electronic device, including:
The intelligent equipment comprises a receiving module, a control module and a control module, wherein the receiving module is used for receiving a first control instruction sent by the intelligent equipment, wherein the first instruction is sent by the intelligent equipment through Bluetooth connection after the electronic equipment and the intelligent equipment are connected through the Bluetooth connection;
The operation module is used for operating a preset voice assistant according to the first control instruction;
And the response module is used for receiving the voice instruction sent by the intelligent equipment and responding to the voice instruction based on the preset voice assistant.
A fourth aspect of the present disclosure provides a smart device, comprising:
The first sending module is used for sending a first control instruction to the electronic equipment after Bluetooth connection is established between the intelligent equipment and the electronic equipment, so that the electronic equipment runs a preset voice assistant according to the first control instruction;
And the second sending module is used for sending a voice instruction to the electronic equipment so that the electronic equipment responds to the voice instruction based on the preset voice assistant.
A fifth aspect of the present disclosure is to provide an electronic device, including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of interaction between the smart device and the electronic device of any of the first or second aspects.
A fifth aspect of the present disclosure is to provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the interaction method between the smart device and the electronic device according to any one of the first or second aspects.
A sixth aspect of the present disclosure is to provide a computer program product comprising a computer program which, when executed by a processor, implements the method of interaction between a smart device and an electronic device according to any of the first or second aspects.
In the interaction method, the electronic device, the intelligent device and the readable storage medium, the intelligent device sends the first control instruction to the electronic device, so that the electronic device can operate a preset voice assistant, and then the intelligent device sends the voice instruction to the electronic device, so that the electronic device can respond to the voice instruction according to the voice assistant based on operation, and accordingly corresponding operation is performed, manual operation of a user is not needed, the electronic device can perform corresponding operation, and complexity of the user in operating the electronic device can be reduced.
Drawings
The drawings are included to provide a better understanding of the present application and are not to be construed as limiting the application. Wherein:
FIG. 1 is a diagram illustrating a system architecture in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating an electronic device interface in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of interaction between a smart device and an electronic device according to an exemplary embodiment of the present application;
FIG. 3A is a first interface schematic diagram illustrating an exemplary embodiment of the present application;
FIG. 4 is a flow chart of a method of interaction between a smart device and an electronic device, as shown in a second exemplary embodiment of the application;
FIG. 4A is a second interface schematic illustrating an exemplary embodiment of the present application;
FIG. 5 is a flow chart of a method of interaction between a smart device and an electronic device, as shown in a third exemplary embodiment of the application;
FIG. 6 is a flow chart of a method of interaction between a smart device and an electronic device, as shown in a fourth exemplary embodiment of the application;
FIG. 7 is a block diagram of an electronic device according to an exemplary embodiment of the present application;
fig. 8 is a block diagram of an electronic device shown in another exemplary embodiment of the application;
FIG. 9 is a block diagram of a smart device according to an exemplary embodiment of the present application;
FIG. 10 is a block diagram of a smart device according to another exemplary embodiment of the present application;
fig. 11 is a block diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present application are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
FIG. 1 is a diagram illustrating a system architecture in accordance with an exemplary embodiment.
As shown in fig. 1, some smart devices 11 may be connected to an electronic device 12 through bluetooth, and the electronic device 12 may be, for example, a mobile phone, a tablet computer with bluetooth function, or the like.
When the smart device 11 establishes a connection with the electronic device 12, the user can operate the electronic device 12, search for a program matching the smart device 11, and open the program to operate. If more applications are installed in the electronic device 12, it takes a longer time for the user to find the application. As shown in fig. 2, 24 program icons are displayed in one page of the electronic device 12, and if the electronic device 12 includes 3 similar pages, the user needs to search for programs that need to be opened in the three pages. This process is cumbersome and wastes a long period of time for the user.
In the program starting scheme provided by the application, after the electronic equipment receives the control instruction sent by the intelligent equipment through Bluetooth connection, the electronic equipment can start the preset voice assistant, then the electronic equipment receives the voice instruction sent by the intelligent equipment and responds to the voice instruction based on the voice assistant, for example, the voice instruction is an instruction for starting the APP matched with the intelligent equipment, and at the moment, the electronic equipment can start the APP without manual operation of a user.
Fig. 3 is a flowchart illustrating an interaction method between a smart device and an electronic device according to an exemplary embodiment of the present application.
As shown in fig. 3, the interaction method between the intelligent device and the electronic device of the program provided in this embodiment includes:
Step 301, the electronic device receives a first control instruction sent by the intelligent device, where the first instruction is sent by the intelligent device through bluetooth connection after the electronic device establishes bluetooth connection with the intelligent device.
The method provided in this embodiment is executed by an electronic device, and in particular, the method provided in this embodiment may be encapsulated in an application program, and the electronic device may install the application program, thereby executing the method provided in this embodiment. The electronic device may be, for example, the electronic device 12 shown in fig. 1.
Specifically, the electronic device has a function of bluetooth communication.
Further, the smart device may be a device having bluetooth communication capabilities that is capable of interacting with the electronic device via a bluetooth connection. For example, a bluetooth speaker, a bluetooth headset, etc. The system can also be vehicle-mounted equipment with a Bluetooth function, such as a vehicle-mounted Bluetooth sound box, a vehicle-mounted Bluetooth mobile phone bracket and the like.
In practical application, the electronic equipment and the intelligent equipment can be connected in a pairing mode. The user can open the Bluetooth function of the electronic equipment, when the electronic equipment and the electronic equipment are connected for the first time, the user can input a pairing code in the electronic equipment to pair the electronic equipment and the intelligent equipment can establish Bluetooth connection after the pairing is successful. After that, if the electronic device starts the Bluetooth function and enters the Bluetooth scanning range of the intelligent device, the electronic device and the intelligent device can automatically establish connection.
After the intelligent device is connected with one electronic device, a first control instruction may be sent to the electronic device through bluetooth connection, where the control instruction may be a voice recognition instruction, for example, if the electronic device is loaded with an android system, the control instruction may be an at+ BVRA =1 instruction, so that the electronic device may receive the first control instruction.
Many AT instructions, such as at+ BVRA, are supported under the bluetooth HFP (Hands-free Profile) protocol. AT+ BVRA (Bluetooth Voice Recognition Activation) is an instruction to invoke the system speech recognition engine, which when set to 1, indicates that the system speech recognition engine is invoked.
In step 302, the electronic device runs a preset voice assistant according to the first control instruction.
Specifically, a voice assistant may be preset in the electronic device, and after the electronic device receives the first control instruction, the preset voice assistant is operated. The preset voice assistant refers to a program having voice recognition capability, which can be installed in an electronic device.
Further, the preset voice assistant may be preset by the user. For example, the user may select a preset voice assistant from a plurality of voice assistants that can be automatically pulled up, so that the preset voice assistant can be executed when the electronic device receives the first control instruction. In this embodiment, after receiving the first control instruction, the electronic device may query the setting information and determine the preset voice assistant according to the setting information, for example, may query the setting information that the assistant a is set to be automatically pulled up, and then the electronic device may determine the assistant a as the preset voice assistant. And allows for a determined preset voice assistant.
In practice, the preset voice assistant may also be a voice assistant in the electronic device, for example, a voice assistant siri in the ios operating system. For example, the electronic device is loaded with the ios system, and after receiving the first control instruction, the electronic device can directly operate the siri.
The electronic device may run the voice assistant in the background without displaying the preset voice assistant interface in the interface of the electronic device. The home page of the preset voice assistant can also be displayed in the interface of the electronic equipment.
In step 303, the electronic device receives the voice command sent by the intelligent device, and responds to the voice command based on the preset voice assistant.
Specifically, after the intelligent device sends the first control instruction to the electronic device, the intelligent device also sends a voice instruction to the electronic device.
Further, the voice command may be stored in the smart device in advance, for example. The smart device may obtain a pre-stored voice command and send it to the electronic device.
In practical application, the specific content of the voice instruction can be set according to requirements, for example, the voice instruction can be an instruction for instructing the electronic device to open the APP matched with the intelligent device. For example, if the smart device is a vehicle-mounted cradle, then the voice command it sends to the electronic device may be "open the vehicle-mounted cradle APP".
After receiving the voice command sent by the intelligent device, the electronic device can respond to the voice command. The voice command can be analyzed by using the running preset voice assistant, and the corresponding command is executed. For example, if the voice command is "open the vehicle-mounted bracket APP", the preset voice assistant can convert the voice command into a control command executable by the electronic device, and then send the control command to the processor of the electronic device, so that the processor performs a corresponding operation. The vehicle-mounted bracket APP can be opened.
Specifically, if the smart device is a bluetooth speaker, the preset instruction stored in the bluetooth speaker may also be "play music", so that the electronic device may send audio information to the bluetooth speaker, and play music through the bluetooth speaker. Specific voice commands can be set according to requirements, and the embodiment is not limited thereto.
Further, the electronic device may display an interface of the application program according to the voice command, for example, the voice command is "open the vehicle-mounted bracket APP", and after the electronic device opens the APP, a preset page of the vehicle-mounted bracket APP may also be displayed in the interface. For another example, if the voice command is "play music", the electronic device may display a music playing interface in the interface after executing the command for playing music.
Fig. 3A is a schematic diagram of a first interface according to an exemplary embodiment of the present application.
As shown in fig. 3A, before the bluetooth connection is established between the intelligent device and the electronic device, the interface of the electronic device is shown in the interface diagram on the left in fig. 3A, which may be kept on a menu page, or may display an interface of an application program, which is not limited by the present scheme.
When the intelligent device and the electronic device are connected by bluetooth, the electronic device receives the voice command sent by the intelligent device and processes the voice command, and the interface display result of the electronic device is shown as an interface diagram on the right in fig. 3A, which can display a preset page of the program pulled up by the preset voice assistant.
This process eliminates the need for the user to operate the electronic device, thereby reducing the complexity of the user operating the electronic device.
The interaction method between the intelligent device and the electronic device provided by the embodiment comprises the following steps: the method comprises the steps that the electronic equipment receives a first control instruction sent by the intelligent equipment, wherein the first instruction is sent by the intelligent equipment through Bluetooth connection after the electronic equipment and the intelligent equipment are connected through Bluetooth; the electronic equipment runs a preset voice assistant according to the first control instruction; the electronic device receives the voice command sent by the intelligent device and responds to the voice command based on a preset voice assistant. In the interaction method between the intelligent device and the electronic device, the intelligent device sends the first control instruction to the electronic device, so that the electronic device can operate a preset voice assistant, and then the intelligent device sends the voice instruction to the electronic device, so that the electronic device can respond to the voice instruction according to the voice assistant based on operation, and accordingly corresponding operation is performed, manual operation of a user is not needed, the electronic device can perform corresponding operation, and complexity of operating the electronic device by the user can be reduced.
Fig. 4 is a flowchart illustrating an interaction method between a smart device and an electronic device according to a second exemplary embodiment of the present application.
As shown in fig. 4, the interaction method between the intelligent device and the electronic device provided in this embodiment includes:
In step 401, the electronic device receives a second control instruction sent by the intelligent device.
The second control instruction is sent by the intelligent device through Bluetooth connection after the electronic device and the intelligent device are connected through Bluetooth.
Specifically, in the method provided by the embodiment, if the electronic device is not provided with the preset voice assistant, after the bluetooth connection is established between the intelligent device and the electronic device, the electronic device may receive the second control instruction sent by the intelligent device.
Further, the second control instruction and the first control instruction may be the same instruction. The first and second control instructions are used for distinguishing control instructions received by the electronic equipment at different stages. When the preset voice assistant is not set in the electronic equipment, the electronic equipment receives the second control instruction, and when the preset voice assistant is set in the electronic equipment, the electronic equipment receives the first control instruction.
In practical application, the first control instruction and the second control instruction may be voice recognition instructions, for example, if the electronic device is loaded with an android system, the first control instruction and the second control instruction may be at+ BVRA =1 instructions.
The manner in which the electronic device receives the second control instruction is similar to the manner in which the electronic device receives the first control instruction.
At step 402, the electronic device displays at least one selectable voice assistant in accordance with a second control instruction.
When the electronic device receives the control instruction, the electronic device may process the control instruction as a second control instruction because no voice assistant is preset in the electronic device. At least one selectable voice assistant is displayed in the interface, and the electronic device is operable by the user, and a preset voice assistant is determined in the selectable voice assistants.
Specifically, the optional voice assistant refers to a program that can be automatically pulled up. For example, a voice assistant a is configured to automatically pull up, the electronic device may take it as an optional voice assistant.
Further, at least two optional voice assistants may be included in the electronic device, and one or no optional voice assistants may be included.
Fig. 4A is a second interface schematic diagram illustrating an exemplary embodiment of the present application.
As shown in fig. 4A, three selectable voice assistants may be displayed in the interface of the electronic device. In addition, the options "just this time", "always" may also be displayed.
The user may select any one of the selectable voice assistants and select "just this time" or "always" to determine a preset voice assistant.
If the user selects 'only once', the selected voice assistant is used as a preset voice assistant only in the communication process of the Bluetooth connection, namely the voice assistant can be pulled up through the intelligent device at the present time. When the Bluetooth is disconnected, the electronic equipment processes the received control instruction as a second control instruction when the electronic equipment is successfully connected with the intelligent equipment next time.
If the user selects "always," the electronic device will always use the selected voice assistant as the preset voice assistant.
In step 403, the electronic device determines the selected first voice assistant as a preset voice assistant in response to the operation instruction for selecting the first voice assistant.
Wherein the selectable voice assistant includes a first voice assistant.
In practical application, when the selectable voice assistant is displayed in the interface of the user terminal, the user can operate the electronic device to select the voice assistant as the preset voice assistant. For example, the user may click one of the voice assistants, and may click the "always", "only once" button, thereby causing the electronic device to receive the operation instruction.
The electronic device responds to the operation instruction for selecting the first voice assistant, and the selected first voice assistant is determined to be the preset voice assistant. The first voice assistant refers to an optional voice assistant selected by the user.
Specifically, the electronic device may further use the first program as a preset voice assistant of the present time or as a preset voice assistant all the time according to the "always" or "only once" selected by the user.
In step 404, the electronic device receives a first control instruction sent by the intelligent device.
The first instruction is sent by the intelligent device through Bluetooth connection after the electronic device and the intelligent device are connected through Bluetooth
Step 404 is similar to the implementation principle and effect of step 301, and will not be described again.
In step 405, the electronic device sends an audio transmission channel establishment instruction to the intelligent device, so that an audio transmission channel is established between the electronic device and the intelligent device.
In the interaction method between the intelligent device and the electronic device provided by the embodiment, the electronic device may further send a confirmation message to the intelligent device after receiving the first control instruction.
The electronic device may further send an audio transmission channel establishment instruction to the intelligent device, and after receiving the instruction, the intelligent device may establish an audio transmission channel with the electronic device, where the audio transmission channel may be established based on bluetooth connection.
In particular, the audio transmission channel may be, for example, a sco channel, for transmitting audio data. SCO (Synchronous Connection Oriented Link), which is a connection-oriented synchronous connection, is used primarily for voice transmission. After receiving the at+ BVRA =1 instruction, the electronic device may respond to the voice recognition instruction and actively initiate the establishment of the audio channel, i.e. initiate the establishment request of the sco channel.
In step 406, the electronic device runs a preset voice assistant according to the first control instruction.
The execution timing of step 406 and step 405 is not limited, and the implementation principle and effect of step 406 and step 302 are similar, and will not be repeated.
In step 407, the electronic device receives the voice command sent by the intelligent device through the audio transmission channel.
Further, after the audio transmission channel between the intelligent device and the electronic device is established, the intelligent device can send a voice command to the electronic device through the audio transmission channel.
In practical application, the voice instruction is pre-stored in the intelligent device. After the audio transmission channel is established with the electronic equipment, the intelligent equipment reads the prestored voice instruction and sends the prestored voice instruction to the electronic equipment.
In step 408, the electronic device recognizes the voice command through the preset voice assistant to obtain a voice control command, and responds to the voice control command.
After receiving the voice command, the electronic device may input the voice command into a preset voice assistant, so that the preset voice assistant can recognize the voice command. For example, the voice command may be converted into a voice control command that the electronic device can recognize, and then the electronic device executes the voice control command.
Specifically, after the preset voice assistant receives the voice command, the voice assistant can recognize the voice command and output the voice command to the processor of the electronic device, and the processor executes the voice command. For example, the voice command is "open the in-vehicle cradle APP", and the electronic device may perform an operation of opening the APP. As another example, where the voice command is "play music," the electronic device may perform an operation of playing music.
Aiming at the voice command, the intelligent device can be set when leaving the factory, and can be updated, so that the stored voice command can be updated, and the voice command can be recorded by a user according to the requirement and sent to the intelligent device. Specifically, the data may be sent through a network and sent through a bluetooth connection, which is not limited in this embodiment.
After the electronic device successfully recognizes the voice command, step 409 may be further included.
Step 409, the electronic device disconnects the audio transmission channel with the smart device.
Specifically, after the electronic device successfully recognizes the voice command, the electronic device may respond to the command, for example, may open an application corresponding to the voice command, and thereafter, the electronic device may disconnect an audio transmission channel with the intelligent device, so as to complete an automatic operation flow.
Fig. 5 is a flowchart illustrating an interaction method between a smart device and an electronic device according to a third exemplary embodiment of the present application.
As shown in fig. 5, the interaction method between the intelligent device and the electronic device provided in this embodiment includes:
step 501, after the intelligent device establishes a bluetooth connection with the electronic device, a first control instruction is sent to the electronic device, so that the electronic device runs a preset voice assistant according to the first control instruction.
The method provided in this embodiment is performed by the smart device 11 shown in fig. 1, for example.
Specifically, the electronic device that interacts with the smart device has the functionality of bluetooth communication.
Further, the intelligent device can also have a Bluetooth communication function, and interaction can be performed between the electronic device and the intelligent device through Bluetooth connection. The smart device may be, for example, a bluetooth speaker, a bluetooth headset, etc. The system can also be vehicle-mounted equipment with a Bluetooth function, such as a vehicle-mounted Bluetooth sound box, a vehicle-mounted Bluetooth mobile phone bracket and the like. The electronic device may be, for example, a smart phone, a tablet computer, etc.
In practical application, the electronic equipment and the intelligent equipment can be connected in a pairing mode. The user can open the Bluetooth function of the electronic equipment, when the electronic equipment and the electronic equipment are connected for the first time, the user can input a pairing code in the electronic equipment to pair the electronic equipment and the intelligent equipment can establish Bluetooth connection after the pairing is successful. After that, if the electronic device starts the Bluetooth function and enters the Bluetooth scanning range of the intelligent device, the electronic device and the intelligent device can automatically establish connection.
After the intelligent device is connected with one electronic device, a first control instruction may be sent to the electronic device through bluetooth connection, where the control instruction may be a voice recognition instruction, for example, if the electronic device is loaded with an android system, the control instruction may be an at+ BVRA =1 instruction, so that the electronic device may receive the first control instruction.
Many AT instructions, such as at+ BVRA, are supported under the bluetooth HFP (Hands-free Profile) protocol. AT+ BVRA (Bluetooth Voice Recognition Activation) is an instruction to invoke the system speech recognition engine, which when set to 1, indicates that the system speech recognition engine is invoked.
Specifically, the electronic device may run a preset voice assistant according to the first control instruction. A voice assistant can be preset in the electronic equipment, and the preset voice assistant is operated after the electronic equipment receives the first control instruction. The preset voice assistant refers to a program having voice recognition capability, which can be installed in an electronic device.
Further, the preset voice assistant may be preset by the user. For example, the user may select a preset voice assistant from a plurality of voice assistants that can be automatically pulled up, so that the preset voice assistant can be executed when the electronic device receives the first control instruction. In this embodiment, after receiving the first control instruction, the electronic device may query the setting information and determine the preset voice assistant according to the setting information, for example, may query the setting information that the assistant a is set to be automatically pulled up, and then the electronic device may determine the assistant a as the preset voice assistant. And allows for a determined preset voice assistant.
In practice, the preset voice assistant may also be a voice assistant in the electronic device, for example, a voice assistant siri in the ios operating system. For example, the electronic device is loaded with the ios system, and after receiving the first control instruction, the electronic device can directly operate the siri.
The electronic device may run the voice assistant in the background without displaying the preset voice assistant interface in the interface of the electronic device. The home page of the preset voice assistant can also be displayed in the interface of the electronic equipment.
In step 502, the smart device sends a voice command to the electronic device to cause the electronic device to respond to the voice command based on a preset voice assistant.
Specifically, after the intelligent device sends the first control instruction to the electronic device, the intelligent device also sends a voice instruction to the electronic device.
Further, the voice command may be stored in the smart device in advance, for example. The smart device may obtain a pre-stored voice command and send it to the electronic device.
In practical application, the specific content of the voice instruction can be set according to requirements, for example, the voice instruction can be an instruction for instructing the electronic device to open the APP matched with the intelligent device. For example, if the smart device is a vehicle-mounted cradle, then the voice command it sends to the electronic device may be "open the vehicle-mounted cradle APP".
After receiving the voice command sent by the intelligent device, the electronic device can respond to the voice command. The voice command can be analyzed by using the running preset voice assistant, and the corresponding command is executed. For example, if the voice command is "open the vehicle-mounted bracket APP", the preset voice assistant can convert the voice command into a control command executable by the electronic device, and then send the control command to the processor of the electronic device, so that the processor performs a corresponding operation. The vehicle-mounted bracket APP can be opened.
Specifically, if the smart device is a bluetooth speaker, the preset instruction stored in the bluetooth speaker may also be "play music", so that the electronic device may send audio information to the bluetooth speaker, and play music through the bluetooth speaker. Specific voice commands can be set according to requirements, and the embodiment is not limited thereto.
Further, the electronic device may display an interface of the application program according to the voice command, for example, the voice command is "open the vehicle-mounted bracket APP", and after the electronic device opens the APP, a preset page of the vehicle-mounted bracket APP may also be displayed in the interface. For another example, if the voice command is "play music", the electronic device may display a music playing interface in the interface after executing the command for playing music.
The interaction method between the intelligent device and the electronic device provided by the embodiment comprises the following steps: after Bluetooth connection is established between the intelligent device and the electronic device, a first control instruction is sent to the electronic device, so that the electronic device runs a preset voice assistant according to the first control instruction; the intelligent device sends voice instructions to the electronic device so that the electronic device responds to the voice instructions based on a preset voice assistant. In the interaction method between the intelligent device and the electronic device, the intelligent device sends the first control instruction to the electronic device, so that the electronic device can operate a preset voice assistant, and then the intelligent device sends the voice instruction to the electronic device, so that the electronic device can respond to the voice instruction according to the voice assistant based on operation, and accordingly corresponding operation is performed, manual operation of a user is not needed, the electronic device can perform corresponding operation, and complexity of operating the electronic device by the user can be reduced.
Fig. 6 is a flowchart illustrating an interaction method between a smart device and an electronic device according to a fourth exemplary embodiment of the present application.
As shown in fig. 6, the interaction method between the intelligent device and the electronic device provided in this embodiment includes:
in step 601, the smart device sends a second control instruction to the electronic device, so that the electronic device displays at least one selectable voice assistant according to the second control instruction.
The second control instruction is sent by the intelligent device through Bluetooth connection after the electronic device and the intelligent device are connected through Bluetooth.
Specifically, in the method provided by the embodiment, if the electronic device is not provided with the preset voice assistant, after the bluetooth connection is established between the intelligent device and the electronic device, the electronic device may receive the second control instruction sent by the intelligent device.
Further, the second control instruction and the first control instruction may be the same instruction. The first and second control instructions are used for distinguishing control instructions received by the electronic equipment at different stages. When the preset voice assistant is not arranged in the electronic equipment, the electronic equipment processes the received control instruction as a second control instruction, and when the preset voice assistant is arranged in the electronic equipment, the electronic equipment processes the received control instruction as a first control instruction.
In practical application, the first control instruction and the second control instruction may be voice recognition instructions, for example, if the electronic device is loaded with an android system, the first control instruction and the second control instruction may be at+ BVRA =1 instructions.
The manner in which the electronic device receives the second control instruction is similar to the manner in which the electronic device receives the first control instruction.
The electronic device displays at least one selectable voice assistant in accordance with the second control instruction.
When the electronic device receives the control instruction, the electronic device may process the control instruction as a second control instruction because no voice assistant is preset in the electronic device. At least one selectable voice assistant is displayed in the interface, and the electronic device is operable by the user, and a preset voice assistant is determined in the selectable voice assistants.
Specifically, the optional voice assistant refers to a program that can be automatically pulled up. For example, a voice assistant a is configured to automatically pull up, the electronic device may take it as an optional voice assistant.
Further, at least two optional voice assistants may be included in the electronic device, and one or no optional voice assistants may be included.
Step 602, after the intelligent device establishes a bluetooth connection with the electronic device, a first control instruction is sent to the electronic device, so that the electronic device runs a preset voice assistant according to the first control instruction.
Step 602 is similar to the implementation principle and effect of step 501, and will not be described again.
The bluetooth connection established at this time may be the same bluetooth connection as the bluetooth connection in step 601, or may be different bluetooth connections.
In step 603, the intelligent device receives an audio transmission channel establishment instruction sent by the electronic device, and establishes an audio transmission channel with the electronic device according to the audio transmission channel establishment instruction.
The electronic device may further send an audio transmission channel establishment instruction to the intelligent device, and after receiving the instruction, the intelligent device may establish an audio transmission channel with the electronic device, where the audio transmission channel may be established based on bluetooth connection.
In particular, the audio transmission channel may be, for example, a sco channel, for transmitting audio data. SCO (Synchronous Connection Oriented Link), which is a connection-oriented synchronous connection, is used primarily for voice transmission. After receiving the at+ BVRA =1 instruction, the electronic device may respond to the voice recognition instruction and actively initiate the establishment of the audio channel, i.e. initiate the establishment request of the sco channel.
In step 604, the smart device obtains a pre-stored voice command.
In step 605, the intelligent device sends a voice command to the electronic device through the audio transmission channel, so that the electronic device responds to the voice command based on the preset voice assistant.
In practical application, the voice instruction is pre-stored in the intelligent device. After the audio transmission channel is established with the electronic device, the intelligent device can read the prestored voice instruction and send the prestored voice instruction to the electronic device.
After the audio transmission channel between the intelligent device and the electronic device is established, the intelligent device can send a voice instruction to the electronic device through the audio transmission channel.
The electronic device can obtain the voice control instruction by recognizing the voice instruction through a preset voice assistant, and respond to the voice control instruction.
After the electronic device receives the voice command, the voice command can be input into a preset voice assistant, so that the preset voice assistant can recognize the voice command. For example, the voice command may be converted into a voice control command that the electronic device can recognize, and then the electronic device executes the voice control command.
Specifically, after the preset voice assistant receives the voice command, the voice assistant can recognize the voice command and output the voice command to the processor of the electronic device, and the processor executes the voice command. For example, the voice command is "open the in-vehicle cradle APP", and the electronic device may perform an operation of opening the APP. As another example, where the voice command is "play music," the electronic device may perform an operation of playing music.
Aiming at the voice command, the intelligent device can be set when leaving the factory, and can be updated, so that the stored voice command can be updated, and the voice command can be recorded by a user according to the requirement and sent to the intelligent device. Specifically, the data may be sent through a network and sent through a bluetooth connection, which is not limited in this embodiment.
Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment of the present application.
As shown in fig. 7, the electronic device provided in this embodiment includes:
the receiving module 71 is configured to receive a first control instruction sent by an intelligent device, where the first instruction is sent by the intelligent device through a bluetooth connection after the electronic device establishes the bluetooth connection with the intelligent device;
an operation module 72, configured to operate a preset voice assistant according to the first control instruction;
And the response module 73 is configured to receive a voice command sent by the intelligent device, and respond to the voice command based on the preset voice assistant.
The electronic device provided in this embodiment includes: the intelligent device comprises a receiving module, a control module and a control module, wherein the receiving module is used for receiving a first control instruction sent by the intelligent device, wherein the first instruction is sent by the intelligent device through Bluetooth connection after the electronic device and the intelligent device are connected through Bluetooth; the operation module is used for operating a preset voice assistant according to the first control instruction; and the response module is used for receiving the voice command sent by the intelligent equipment and responding to the voice command based on a preset voice assistant. According to the electronic device provided by the embodiment, the intelligent device sends the first control instruction to the electronic device, so that the electronic device can operate the preset voice assistant, and then the intelligent device sends the voice instruction to the electronic device, so that the electronic device can respond to the voice instruction according to the voice assistant based on operation, and accordingly corresponding operation is performed, manual operation of a user is not needed, the electronic device can perform corresponding operation, and complexity of operating the electronic device by the user can be reduced.
The principle, implementation manner and effect of the electronic device of the program provided in this embodiment are similar to those of the embodiment shown in fig. 3, and will not be described again.
Fig. 8 is a block diagram of an electronic device according to another exemplary embodiment of the present application.
As shown in fig. 8, in fig. 7, which is an embodiment, the electronic device provided in this embodiment is further configured to receive a second control instruction sent by the intelligent device by using the receiving module 71; the second control instruction is sent by the intelligent device through the Bluetooth connection after the Bluetooth connection is established between the electronic device and the intelligent device;
The electronic device further comprises a display module 74 for:
Displaying at least one selectable voice assistant according to the second control instruction;
The response module 73 is further configured to determine the selected first voice assistant as the preset voice assistant in response to an operation instruction for selecting the first voice assistant;
wherein the selectable programs comprise the first program.
Optionally, the device further comprises a sending module 75, configured to:
Sending an audio transmission channel establishment instruction to the intelligent equipment so as to establish an audio transmission channel between the electronic equipment and the intelligent equipment;
The response module 73 is specifically configured to:
And receiving the voice instruction sent by the intelligent equipment through the audio transmission channel.
After the response module 73 identifies that the voice command is successful through the preset voice assistant, the response module 73 is further configured to disconnect the audio transmission channel with the smart device.
Optionally, the response module 73 is specifically configured to:
and recognizing the voice command by the preset voice assistant to obtain a voice control command, and responding to the voice control command.
Optionally, the voice command received by the response module 73 is pre-stored in the smart device.
The principle, implementation manner and effect of the electronic device of the program provided in this embodiment are similar to those of the embodiment shown in fig. 4, and will not be described again.
Fig. 9 is a block diagram of a smart device according to an exemplary embodiment of the present application.
As shown in fig. 9, the intelligent device provided in this embodiment includes:
A first sending module 91, configured to send a first control instruction to an electronic device after bluetooth connection is established between the intelligent device and the electronic device, so that the electronic device runs a preset voice assistant according to the first control instruction;
And the second sending module 92 is configured to send a voice command to the electronic device, so that the electronic device responds to the voice command based on the preset voice assistant.
The intelligent device provided in this embodiment includes: the first sending module is used for sending a first control instruction to the electronic equipment after the intelligent equipment and the electronic equipment are connected by Bluetooth, so that the electronic equipment runs a preset voice assistant according to the first control instruction; and the second sending module is used for sending a voice instruction to the electronic equipment so that the electronic equipment responds to the voice instruction based on a preset voice assistant. According to the intelligent device provided by the embodiment, the first control instruction is sent to the electronic device, the electronic device can further run the preset voice assistant, and then the intelligent device sends the voice instruction to the electronic device, so that the electronic device can respond to the voice instruction according to the voice instruction based on the running voice assistant, corresponding operation is executed, manual operation of a user is not needed, the electronic device can execute the corresponding operation, and the complexity of the user for operating the electronic device can be reduced.
The principle, implementation manner and effect of the intelligent device of the program provided in this embodiment are similar to those of the embodiment shown in fig. 5, and will not be described again.
Fig. 10 is a block diagram of a smart device according to another exemplary embodiment of the present application.
As shown in fig. 10, on the basis of the embodiment shown in fig. 9, before the intelligent device sends the first control instruction to the electronic device, the intelligent device further includes:
And the intelligent device sends a second control instruction to the electronic device so that the electronic device displays at least one selectable voice assistant according to the second control instruction.
Optionally, the device further includes a receiving module 93, configured to, before the second sending module 92 sends the voice command to the electronic device:
receiving an audio transmission channel establishment instruction sent by the electronic equipment, and establishing an audio transmission channel with the electronic equipment according to the frequency transmission channel establishment instruction;
The second sending module 92 is specifically configured to:
And the intelligent equipment sends the voice instruction to the electronic equipment through the audio transmission channel.
Optionally, the method further includes an obtaining module 94, configured to, before the second sending module 92 sends a voice instruction to the electronic device:
and acquiring the prestored voice instruction.
According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
In an alternative embodiment of the present disclosure, there is also provided a computer program product comprising a computer program which, when executed by a processor, implements a method of interaction between any of the smart devices and an electronic device as described above.
As shown in fig. 11, is a block diagram of an electronic device according to an embodiment of the application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 11, the electronic device includes: one or more processors 1101, memory 1102, and interfaces for connecting the various components, including a high speed interface and a low speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). In fig. 11, a processor Y01 is taken as an example.
Memory 1102 is a non-transitory computer-readable storage medium provided by the present application. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the interaction method between the intelligent device and the electronic device provided by the application. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the interaction method between the smart device and the electronic device provided by the present application.
The memory 1102 is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the interaction method between the smart device and the electronic device in the embodiment of the present application (e.g., the receiving module 71, the running module 72, the responding module 73 shown in fig. 7, and further e.g., the first sending module 91 and the second sending module 92 shown in fig. 9). The processor 1101 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 1102, that is, implements the interaction method between the smart device and the electronic device in the above-described method embodiments.
Memory 1102 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the electronic device, etc. In addition, memory 1102 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 1102 may optionally include memory located remotely from the processor 1101, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device may further include: an input device 1103 and an output device 1104. The processor 1101, memory 1102, input device 1103 and output device 1104 may be connected by a bus or other means, for example in fig. 11.
The input device 1103 may receive input digital or character information and generate key signal inputs related to user settings and function control of the electronic device, such as a touch screen, keypad, mouse, trackpad, touchpad, pointer stick, one or more mouse buttons, trackball, joystick, and like input devices. The output device 1104 may include a display device, auxiliary lighting (e.g., LEDs), and haptic feedback (e.g., a vibration motor), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
The present embodiment also provides a computer program comprising program code which, when run by a computer, performs any of the interaction methods between a smart device and an electronic device as described above.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed embodiments are achieved, and are not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (17)

1. An interaction method between an intelligent device and an electronic device is characterized by comprising the following steps:
The method comprises the steps that an electronic device receives a first control instruction sent by an intelligent device, wherein the first control instruction is sent by the intelligent device through Bluetooth connection after the electronic device and the intelligent device are connected through Bluetooth;
The electronic equipment runs a preset voice assistant according to the first control instruction;
The electronic equipment receives a voice instruction sent by the intelligent equipment and responds to the voice instruction based on the preset voice assistant, wherein the voice instruction is stored in the intelligent equipment in advance and is used for indicating the electronic equipment to open an APP matched with the intelligent equipment;
before the electronic device receives the first control instruction sent by the intelligent device, the electronic device further comprises:
the electronic equipment receives a second control instruction sent by the intelligent equipment; when a preset voice assistant is not arranged in the electronic equipment, after Bluetooth connection is established between the electronic equipment and the intelligent equipment, the intelligent equipment sends out the second control instruction through the Bluetooth connection;
The electronic equipment displays at least one selectable voice assistant according to the second control instruction;
The electronic equipment responds to an operation instruction for selecting a first voice assistant, and the selected first voice assistant is determined to be the preset voice assistant;
Wherein the first voice assistant is included in the selectable voice assistant.
2. The method of claim 1, wherein before the electronic device receives the voice command sent by the smart device, further comprising:
The electronic equipment sends an audio transmission channel establishment instruction to the intelligent equipment so as to establish an audio transmission channel between the electronic equipment and the intelligent equipment;
The electronic device receiving a voice command sent by the intelligent device, comprising:
and the electronic equipment receives the voice instruction sent by the intelligent equipment through the audio transmission channel.
3. The method of claim 2, wherein the responding to the voice command based on the preset voice assistant comprises:
and recognizing the voice command by the preset voice assistant to obtain a voice control command, and responding to the voice control command.
4. The method of claim 3, wherein upon successful recognition of the voice command, the electronic device disconnects the audio transmission channel with the smart device.
5. An interaction method between an intelligent device and an electronic device is characterized by comprising the following steps:
After Bluetooth connection is established between the intelligent device and the electronic device, a first control instruction is sent to the electronic device, so that the electronic device runs a preset voice assistant according to the first control instruction;
The intelligent device sends a voice instruction to the electronic device so that the electronic device responds to the voice instruction based on the preset voice assistant, wherein the voice instruction is a command which is stored in the intelligent device in advance and is used for indicating the electronic device to open an APP matched with the intelligent device;
before the intelligent device sends the first control instruction to the electronic device, the intelligent device further comprises:
The intelligent device sends a second control instruction to the electronic device so that the electronic device displays at least one selectable voice assistant according to the second control instruction, wherein the second control instruction is sent out through Bluetooth connection after Bluetooth connection is established between the electronic device and the intelligent device when no preset voice assistant is arranged in the electronic device.
6. The method of claim 5, wherein before the smart device sends the voice command to the electronic device, further comprising:
The intelligent equipment receives an audio transmission channel establishment instruction sent by the electronic equipment, and establishes an audio transmission channel with the electronic equipment according to the frequency transmission channel establishment instruction;
the intelligent device sending a voice command to the electronic device, comprising:
And the intelligent equipment sends the voice instruction to the electronic equipment through the audio transmission channel.
7. The method of claim 5 or 6, wherein before the smart device sends the voice command to the electronic device, further comprising:
the intelligent device acquires the prestored voice instruction.
8. An electronic device, comprising:
The intelligent equipment comprises a receiving module, a control module and a control module, wherein the receiving module is used for receiving a first control instruction sent by the intelligent equipment, wherein the first control instruction is sent by the intelligent equipment through Bluetooth connection after the electronic equipment and the intelligent equipment are connected through the Bluetooth connection;
The operation module is used for operating a preset voice assistant according to the first control instruction;
The response module is used for receiving a voice instruction sent by the intelligent equipment and responding to the voice instruction based on the preset voice assistant, wherein the voice instruction is stored in the intelligent equipment in advance and is used for indicating the electronic equipment to open an APP matched with the intelligent equipment;
The receiving module is also used for receiving a second control instruction sent by the intelligent equipment; when a preset voice assistant is not arranged in the electronic equipment, after Bluetooth connection is established between the electronic equipment and the intelligent equipment, the intelligent equipment sends out the second control instruction through the Bluetooth connection;
The electronic device further comprises a display module for:
Displaying at least one selectable voice assistant according to the second control instruction;
The response module is further used for responding to an operation instruction for selecting a first voice assistant, and determining the selected first voice assistant as the preset voice assistant;
Wherein the first voice assistant is included in the selectable voice assistant.
9. The electronic device of claim 8, further comprising a transmission module configured to:
Sending an audio transmission channel establishment instruction to the intelligent equipment so as to establish an audio transmission channel between the electronic equipment and the intelligent equipment;
the response module is specifically configured to:
And receiving the voice instruction sent by the intelligent equipment through the audio transmission channel.
10. The electronic device of claim 9, wherein the response module is specifically configured to:
and recognizing the voice command by the preset voice assistant to obtain a voice control command, and responding to the voice control command.
11. The device of claim 10, wherein the response module is further configured to disconnect the audio transmission channel from the smart device after the response module successfully recognizes the voice command via the preset voice assistant.
12. An intelligent device, comprising:
The first sending module is used for sending a first control instruction to the electronic equipment after Bluetooth connection is established between the intelligent equipment and the electronic equipment, so that the electronic equipment runs a preset voice assistant according to the first control instruction;
The second sending module is used for sending a voice instruction to the electronic equipment so that the electronic equipment responds to the voice instruction based on the preset voice assistant, wherein the voice instruction is a command which is stored in the intelligent equipment in advance and is used for indicating the electronic equipment to open an APP matched with the intelligent equipment;
before the intelligent device sends the first control instruction to the electronic device, the intelligent device further comprises:
The intelligent device sends a second control instruction to the electronic device so that the electronic device displays at least one selectable voice assistant according to the second control instruction, wherein the second control instruction is sent out through Bluetooth connection after Bluetooth connection is established between the electronic device and the intelligent device when no preset voice assistant is arranged in the electronic device.
13. The smart device of claim 12, further comprising a receiving module configured to, prior to the second sending module sending the voice command to the electronic device:
receiving an audio transmission channel establishment instruction sent by the electronic equipment, and establishing an audio transmission channel with the electronic equipment according to the frequency transmission channel establishment instruction;
The second sending module is specifically configured to:
And the intelligent equipment sends the voice instruction to the electronic equipment through the audio transmission channel.
14. The smart device of claim 12 or 13, further comprising an acquisition module configured to, prior to the second sending module sending a voice instruction to the electronic device:
and acquiring the prestored voice instruction.
15. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4, 5-7.
16. A non-transitory computer readable storage medium storing computer instructions for causing a computer to execute the method of claims 1-4, 5-
The method of 7.
17. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-4, 5-7.
CN201910864910.7A 2019-09-09 2019-09-09 Interaction method, electronic device, intelligent device and readable storage medium Active CN112466300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910864910.7A CN112466300B (en) 2019-09-09 2019-09-09 Interaction method, electronic device, intelligent device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910864910.7A CN112466300B (en) 2019-09-09 2019-09-09 Interaction method, electronic device, intelligent device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112466300A CN112466300A (en) 2021-03-09
CN112466300B true CN112466300B (en) 2024-06-18

Family

ID=74806986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910864910.7A Active CN112466300B (en) 2019-09-09 2019-09-09 Interaction method, electronic device, intelligent device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112466300B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115273836A (en) * 2021-04-30 2022-11-01 上海擎感智能科技有限公司 Speech recognition method, apparatus, system, electronic device and storage medium
CN113395688A (en) * 2021-05-27 2021-09-14 Tcl通力电子(惠州)有限公司 Voice data processing method, device and computer readable storage medium
CN114038456B (en) * 2021-09-27 2024-11-12 北京智象信息技术有限公司 Intelligent voice control method, device, equipment and medium for Bluetooth device
CN114286167B (en) * 2021-12-03 2025-03-25 杭州逗酷软件科技有限公司 Cross-device interaction method, device, electronic device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202488A (en) * 2014-09-29 2014-12-10 广东欧珀移动通信有限公司 Method for conducting voice interaction through Bluetooth headset and mobile terminal, and system
CN109878434A (en) * 2017-12-06 2019-06-14 通用汽车环球科技运作有限责任公司 External information is presented

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201227512A (en) * 2010-12-20 2012-07-01 Hon Hai Prec Ind Co Ltd System and method for starting applications
CN103024169A (en) * 2012-12-10 2013-04-03 深圳市永利讯科技股份有限公司 Method and device for starting communication terminal application program through voice
CN103209257B (en) * 2013-03-11 2015-01-07 广东欧珀移动通信有限公司 Method for controlling voice assistant through earphone
CN103257787B (en) * 2013-05-16 2016-07-13 小米科技有限责任公司 The open method of a kind of voice assistant application and device
CN103760969A (en) * 2013-12-12 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for controlling application program through voice
CN105321515A (en) * 2014-06-17 2016-02-10 中兴通讯股份有限公司 Vehicle-borne application control method of mobile terminal, device and terminal
KR101728941B1 (en) * 2015-02-03 2017-04-20 주식회사 시그널비젼 Application operating apparatus based on voice recognition and Control method thereof
CN106648875A (en) * 2016-12-31 2017-05-10 深圳市优必选科技有限公司 Application switching method and device
WO2019103200A1 (en) * 2017-11-23 2019-05-31 주식회사 모다 Method and device for providing integrated voice secretary service
CN107919123B (en) * 2017-12-07 2022-06-03 北京小米移动软件有限公司 Multi-voice assistant control method, device and computer readable storage medium
US20190237069A1 (en) * 2018-01-31 2019-08-01 GM Global Technology Operations LLC Multilingual voice assistance support

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202488A (en) * 2014-09-29 2014-12-10 广东欧珀移动通信有限公司 Method for conducting voice interaction through Bluetooth headset and mobile terminal, and system
CN109878434A (en) * 2017-12-06 2019-06-14 通用汽车环球科技运作有限责任公司 External information is presented

Also Published As

Publication number Publication date
CN112466300A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN112466300B (en) Interaction method, electronic device, intelligent device and readable storage medium
JP6916167B2 (en) Interactive control methods and devices for voice and video calls
JP6967095B2 (en) Program startup method, device, device and storage medium
JP2023505129A (en) Application sharing method, electronic device and computer readable storage medium
US20140122075A1 (en) Voice recognition apparatus and voice recognition method thereof
KR102331254B1 (en) Speech recognition control method, apparatus, electronic device and readable storage medium
CN112051748A (en) Intelligent household vehicle-mounted control method, device, equipment and storage medium
AU2012376879B2 (en) Method for managing calls and mobile terminal using the same
CN112825013A (en) Control method and device of terminal equipment
KR102358012B1 (en) Speech control method and apparatus, electronic device, and readable storage medium
CN105992066B (en) Character input method and character input device applied to intelligent equipment
EP4060965B1 (en) Method and apparatus for controlling internet of things device, and medium
CN105404161A (en) Intelligent voice interaction method and device
CN111415660A (en) Electronic device and control method thereof
CN110768877B (en) Voice control instruction processing method and device, electronic equipment and readable storage medium
CN108521355A (en) Method for customizing voice control equipment, smart terminal, home appliance and device
CN111050414B (en) Prompt display method and device and computer readable storage medium
US20140215347A1 (en) Portable device and control method thereof
CN111881005B (en) An information display method, device, equipment and storage medium
CN103428339A (en) Method for controlling mobile phone to be operated through voice input
CN111176528B (en) Control method, control device, electronic equipment and computer readable storage medium
CN111160318B (en) Electronic equipment control method and device
CN111327756A (en) Operation guiding method of terminal and terminal
JP2018503149A (en) Information input method, apparatus, program, and recording medium
WO2020102956A1 (en) Interface display method and apparatus, and computer storable medium and electronic 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
TA01 Transfer of patent application right

Effective date of registration: 20210514

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant