Command handling method, apparatus, and system
First Claim
1. A command handling method comprising:
- receiving multiple voice instructions sent by a voice parsing server, wherein the multiple voice instructions are generated after the voice parsing server parses source voice commands from different voice control devices, and wherein the multiple voice instructions separately carry collection time information of a source voice command corresponding to each voice instruction and instruction content of each voice instruction;
separately determining, according to the collection time information of the source voice commands corresponding to the multiple voice instructions, whether the collection time information of the source voice commands corresponding to any two voice instructions in the multiple voice instructions overlaps;
separately determining, according to the instruction content of the multiple voice instructions, whether content of the any two voice instructions in the multiple voice instructions is repeated;
determining that the any two voice instructions are similar instructions when the collection time information of the source voice commands corresponding to the any two voice instructions in the multiple voice instructions overlaps and the content of the any two voice instructions in the multiple voice instructions is repeated, wherein the similar instructions are voice instructions corresponding to the source voice commands obtained by the different voice control devices by collecting same voice information;
discarding one voice instruction in the any two voice instructions when the any two voice instructions that are similar instructions exist in the multiple voice instructions; and
executing an operation indicated by a remaining voice instruction from the any two voice instructions.
3 Assignments
0 Petitions
Accused Products
Abstract
A command handling method, apparatus, and system. The method includes receiving multiple voice instructions sent by a voice parsing server, where the multiple voice instructions are generated after the voice parsing server parses source voice commands that are from different voice control devices; separately determining whether any two voice instructions in the multiple voice instructions are similar instructions, where the similar instructions are voice instructions corresponding to source voice commands that are obtained by the different voice control devices by collecting same voice information; and when two voice instructions that are similar instructions exist in the multiple voice instructions, discarding one voice instruction in the two similar voice instructions. The embodiments of the present invention further provide a command handling apparatus and system. The embodiments eliminate a control error caused by repeated execution of a command.
31 Citations
20 Claims
-
1. A command handling method comprising:
-
receiving multiple voice instructions sent by a voice parsing server, wherein the multiple voice instructions are generated after the voice parsing server parses source voice commands from different voice control devices, and wherein the multiple voice instructions separately carry collection time information of a source voice command corresponding to each voice instruction and instruction content of each voice instruction; separately determining, according to the collection time information of the source voice commands corresponding to the multiple voice instructions, whether the collection time information of the source voice commands corresponding to any two voice instructions in the multiple voice instructions overlaps; separately determining, according to the instruction content of the multiple voice instructions, whether content of the any two voice instructions in the multiple voice instructions is repeated; determining that the any two voice instructions are similar instructions when the collection time information of the source voice commands corresponding to the any two voice instructions in the multiple voice instructions overlaps and the content of the any two voice instructions in the multiple voice instructions is repeated, wherein the similar instructions are voice instructions corresponding to the source voice commands obtained by the different voice control devices by collecting same voice information; discarding one voice instruction in the any two voice instructions when the any two voice instructions that are similar instructions exist in the multiple voice instructions; and executing an operation indicated by a remaining voice instruction from the any two voice instructions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A command handling apparatus comprising:
-
a memory configured to store a program instruction; a receiver configured to receive multiple voice instructions sent by a voice parsing server, wherein the multiple voice instructions are generated after the voice parsing server parses source voice commands that are from different voice control devices, and wherein the multiple voice instructions received by the receiver separately carry collection time information of a source voice command corresponding to each voice instruction and instruction content of each voice instruction; and a processor coupled to the memory and the receiver and configured to; separately determine, according to the collection time information of the source voice commands corresponding to the multiple voice instructions, whether the collection time information of the source voice commands corresponding to the any two voice instructions in the multiple voice instructions overlaps; separately determine, according to the instruction content of the multiple voice instructions, whether content of the any two voice instructions in the multiple voice instructions is repeated; determine that the any two voice instructions are similar instructions when the collection time information of the source voice commands corresponding to the any two voice instructions in the multiple voice instructions overlaps and the content of the any two voice instructions in the multiple voice instructions is repeated, wherein the similar instructions are voice instructions corresponding to the source voice commands that are obtained by the different voice control devices by collecting same voice information; discard one voice instruction in the any two voice instructions when the any two voice instructions that are similar instructions exist in the multiple voice instructions; and execute an operation indicated by a remaining voice instruction from the any two voice instructions. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A command handling system comprising:
-
a voice parsing server; multiple voice control devices; and a command handling apparatus comprising; a receiver configured to receive multiple voice instructions sent by the voice parsing server, where the multiple voice instructions are generated after the voice parsing server parses source voice commands that are from different voice control devices, and wherein the multiple voice instructions received by the receiver separately carry collection time information of a source voice command corresponding to each voice instruction and instruction content of each voice instruction, a memory configured to store a program instruction; a processor coupled to the memory and the receiver and configured to; separately determine, according to the collection time information of the source voice commands corresponding to the multiple voice instructions, whether the collection time information of the source voice commands corresponding to the any two voice instructions in the multiple voice instructions overlaps; separately determine, according to the instruction content of the multiple voice instructions, whether content of the any two voice instructions in the multiple voice instructions is repeated; determine that the any two voice instructions are similar instructions when the collection time information of the source voice commands corresponding to the any two voice instructions in the multiple voice instructions overlaps and the content of the any two voice instructions in the multiple voice instructions is repeated, wherein the similar instructions are voice instructions corresponding to source voice commands that are obtained by the different voice control devices by collecting same voice information; discard one voice instruction in the any two voice instructions when the any two voice instructions that are similar instructions exist in the multiple voice instructions; and execute an operation indicated by a remaining voice instruction from the any two voice instructions, wherein the multiple voice control devices are configured to; separately collect multiple source voice commands; and separately send the multiple source voice commands to the voice parsing server, and wherein the voice parsing server is configured to; receive the multiple source voice commands sent by the multiple voice control devices; generate multiple voice instructions corresponding to the multiple source voice commands after parsing the multiple source voice commands; and separately send the multiple voice instructions to the command handling apparatus. - View Dependent Claims (16, 17)
-
-
18. A command handling system comprising:
-
a voice parsing server; multiple voice control devices; and a local voice control gateway comprising a command handling apparatus, wherein the command handling apparatus comprises; a memory configured to store a program instruction; a receiver configured to receive multiple voice instructions sent by a voice parsing server, where the multiple voice instructions are generated after the voice parsing server parses source voice commands that are from different voice control devices, and wherein the multiple voice instructions received by the receiver separately carry collection time information of a source voice command corresponding to each voice instruction and instruction content of each voice instruction; and a processor coupled to the memory and the receiver and configured to; separately determine, according to the collection time information of the source voice commands corresponding to the multiple voice instructions, whether the collection time information of the source voice commands corresponding to the any two voice instructions in the multiple voice instructions overlaps; separately determine, according to the instruction content of the multiple voice instructions, whether content of the any two voice instructions in the multiple voice instructions is repeated; determine that the any two voice instructions are similar instructions when the collection time information of the source voice commands corresponding to the any two voice instructions in the multiple voice instructions overlaps and the content of the any two voice instructions in the multiple voice instructions is repeated, wherein the similar instructions are voice instructions corresponding to the source voice commands that are obtained by the different voice control devices by collecting same voice information; discard one voice instruction in the any two similar voice instructions when the any two voice instructions that are similar instructions exist in the multiple voice instructions; and execute an operation indicated by a remaining voice instruction from the any two voice instructions, wherein the multiple voice control devices are configured to; separately collect multiple source voice commands; and separately send the multiple source voice commands to the local voice control gateway, and wherein the voice parsing server is configured to; separately receive the multiple source voice commands sent by the local voice control gateway; generate multiple voice instructions corresponding to the multiple source voice commands after parsing the multiple source voice commands; and separately return the multiple voice instructions to the local voice control gateway. - View Dependent Claims (19, 20)
-
Specification