Speech interactive method and device
AssigneeBaidu Online Network Technology (Beijing) Co., Ltd.
InventorsKerning Qian, Qiusheng Xie, Yiwen Deng, Zhirong Xue, Dongdong Lei, Jinhui Wang
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a speech interactive method and device. The method includes: during a process of displaying an interface of an application, detecting a first user operation; in response to the first user operation, querying a speech instruction associated with the application based on the application containing the interface and querying a system general speech instruction; setting the speech instruction and the system general speech instruction as applicable speech instructions for the application; and providing a prompt based on the applicable speech instructions to perform a speech interaction.
Claims18
A speech interactive method, comprising:
- during a process of displaying an interface of an application, detecting a first user operation, wherein the first user operation is an operation for triggering a speech input widget;
- in response to the first user operation, querying a speech instruction associated with the application based on the application containing the interface, and querying a system general speech instruction;
- setting the speech instruction associated with the application and the system general speech instruction as applicable speech instructions for the application;
- providing a prompt based on the applicable speech instructions;
- wherein providing the prompt based on the applicable speech instructions comprises:
- querying a non-speech operation detected before detecting the first user operation;
- determining a target speech instruction from the applicable speech instructions based on the non-speech operation, wherein the non-speech operation can be replaced with the target speech instruction;
- and
- displaying the applicable speech instructions and highlighting the target speech instruction to prompt the user to use the target speech instruction to replace the non-speech operation.
A computer device, comprising a memory, a processor and a computer program stored on the memory and executable by the processor, wherein when the processor executes the computer program, the processor is caused to perform operations comprising:
- during a process of displaying an interface of an application, detecting a first user operation, wherein the first user operation is an operation for triggering a speech input widget;
- in response to the first user operation, querying a speech instruction associated with the application based on the application containing the interface, and querying a system general speech instruction;
- setting the speech instruction associated with the application and the system general speech instruction as applicable speech instructions for the application;
- providing a prompt based on the applicable speech instructions;
- wherein providing the prompt based on the applicable speech instructions comprises:
- querying a non-speech operation detected before detecting the first user operation;
- determining a target speech instruction from the applicable speech instructions based on the non-speech operation, wherein the non-speech operation can be replaced with the target speech instruction;
- and
- displaying the applicable speech instructions and highlighting the target speech instruction to prompt the user to use the target speech instruction to replace the non-speech operation.
A non-temporary computer-readable storage medium, having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor is caused to perform operations comprising:
- during a process of displaying an interface of an application, detecting a first user operation, wherein the first user operation is an operation for triggering a speech input widget;
- in response to the first user operation, querying a speech instruction associated with the application based on the application containing the interface, and querying a system general speech instruction;
- setting the speech instruction associated with the application and the system general speech instruction as applicable speech instructions for the application;
- providing a prompt based on the applicable speech instructions;
- wherein providing the prompt based on the applicable speech instructions comprises:
- querying a non-speech operation detected before detecting the first user operation;
- determining a target speech instruction from the applicable speech instructions based on the non-speech operation, wherein the non-speech operation can be replaced with the target speech instruction;
- and
- displaying the applicable speech instructions and highlighting the target speech instruction to prompt the user to use the target speech instruction to replace the non-speech operation.
Dependencies are inferred from the claim text.