Method and terminal for implementing speech control
AssigneeHuawei Technologies Co., Ltd.
InventorNian Li
Life of this patent
Estimating the term…
Abstract
A terminal for implementing speech control records a correspondence between a first keyword text and a second keyword text. When a user inputs a speech, the terminal sends, to a first server for semantic parsing and logical parsing, the speech input by the user. Then, when the first server returns a parsing failure, the terminal obtains a parsed text returned by the first server, replaces the second keyword in the parsed text with the first keyword based on the correspondence, and then sends, to the first server, the text obtained after the replacement.
Claims19
A first terminal, comprising:
- a processor;
- and
- a memory coupled to the processor and storing one or more programs that, when executed by the processor, cause the first terminal to be configured to:
- record a correspondence between a standard keyword and a non-standard keyword;
- send, to a second terminal, a first control command corresponding to the standard keyword when the first terminal receives a first speech input, wherein the first speech input comprises the standard keyword;
- and
- when the first terminal receives a second speech input that comprises the non-standard keyword:
- parse the second speech input to recognize the non-standard keyword;
- search the correspondence to identify the second terminal when the first terminal recognizes the non-standard keyword;
- and
- send, to the second terminal, a second control command.
A speech control system, comprising:
- a second terminal;
- and
- a first terminal communicatively coupled to the second terminal and configured to:
- record a correspondence between a standard keyword and a non-standard keyword;
- send, to the second terminal, a first control command corresponding to the standard keyword when the first terminal receives a first speech input, wherein the first speech input comprises the standard keyword;
- and
- when the first terminal receives a second speech input that comprises the non-standard keyword:
- parse the second speech input to recognize the non-standard keyword;
- search the correspondence to identify the second terminal when the first terminal recognizes the non-standard keyword;
- and
- send, to the second terminal, a second control command, and
- wherein the second terminal is configured to perform a function based on the second control command.
A method implemented by a first terminal, the method comprising:
- recording a correspondence between a standard keyword and a non-standard keyword;
- sending, to a second terminal, a first control command corresponding to the standard keyword when the first terminal receives a first speech input, wherein the first speech input comprises the standard keyword;
- and
- when the first terminal receives a second speech input that comprises the non-standard keyword:
- parsing the second speech input to recognize the non-standard keyword;
- searching the correspondence to identify the second terminal when the first terminal recognizes the non-standard keyword;
- and
- sending, to the second terminal, a second control command.
Dependencies are inferred from the claim text.