IP Library Granted Patent US 11,308,942
Granted Patent B2
US 11,308,942 · App. 16/505,667 · Granted Apr 19, 2022

Method and apparatus for operating smart terminal

Inventors: Qin Xiong (Beijing, CN); Gaofei Cheng (Beijing, CN); Leilei Gao (Beijing, CN); Fei Wang (Beijing, CN); Yue Liu (Beijing, CN); Wenlin Dong (Beijing, CN)
Assignees: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.; SHANGHAI XIAODU TECHNOLOGY CO. LTD.
G10L15/1822G10L15/083G10L15/26G10L2015/088
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,308,942
App. No.
16/505,667
Granted
Apr 19, 2022
Kind
B2
Abstract

Embodiments of the present disclosure relate to a method and apparatus for operating a smart terminal. The method for operating a smart terminal includes: parsing a currently inputted user voice command to a current text command; querying a historical text command record matching the current text command from a historical text command record set corresponding to a historical user voice command set; parsing the queried historical text command record to obtain a user's intention; sending a user request generated based on the user's intention to a resource database; and commanding an action component to take an action based on a response returned from the resource database and the user's intention.

Claims (53)

1. A method for operating a smart terminal, comprising:

parsing a currently inputted user voice command to a current text command;

querying a historical text command record matching the current text command from a historical text command record set corresponding to a historical user voice command set by: performing word segmentation on the current text command to obtain a word sequence corresponding to the current text command; calculating a similarity between the word sequence and each historical text command record in the historical text command record set corresponding to the historical user voice command set; and acquiring a historical text command record having a highest similarity based on similarity in descending order, for use as the queried historical text command record;

parsing the queried historical text command record to obtain a user's intention;

sending a user request generated based on the user's intention to a resource database; and

commanding an action component to take an action based on a response returned from the resource database, and the user's intention.

2. The method according to claim 1 , wherein the querying a historical text command record matching the current text command from a historical text command record set corresponding to a historical user voice command set comprises:

querying the historical text command record matching the current text command from the historical text command record set corresponding to the historical user voice command set using a maximum matching algorithm.

3. The method according to claim 1 , wherein the historical user voice command is a user voice command stored within preset historical time.

4. The method according to claim 1 , wherein the commanding an action component to take an action based on a response returned from the resource database and the user's intention comprises:

prompting, if the response returned from the resource database indicates failure to parse a correct command, failure to parse the correct command to a user; and

presenting, if the response returned from the resource database indicates the correct command resolved, the user with an operation indicated by the user's intention based on the resolved correct command.

5. The method according to claim 1 , wherein the commanding an action component to take an action based on a response returned from the resource database and the user's intention comprises:

prompting, if the response returned from the resource database indicates failure to parse a correct command, failure to parse the correct command to a user; and

presenting, if the response returned from the resource database indicates the correct command resolved, the user with an operation indicated by the user's intention based on the resolved correct command.

6. The method according to claim 2 wherein the commanding an action component to take an action based on a response returned from the resource database and the user's intention comprises:

prompting, if the response returned from the resource database indicates failure to parse a correct command, failure to parse the correct command to a user; and

presenting, if the response returned from the resource database indicates the correct command resolved, the user with an operation indicated by the user's intention based on the resolved correct command.

7. The method according to claim 3 , wherein the commanding an action component to take an action based on a response returned from the resource database and the user's intention comprises:

prompting, if the response returned from the resource database indicates failure to parse a correct command, failure to parse the correct command to a user; and

presenting, if the response returned from the resource database indicates the correct command resolved, the user with an operation indicated by the user's intention based on the resolved correct command.

8. An apparatus for operating a smart terminal, comprising:

at least one processor; and

a memory storing instructions, wherein the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:

parsing a currently inputted user voice command to a current text command;

querying a historical text command record matching the current text command from a historical text command record set corresponding to a historical user voice command set by: performing word segmentation on the current text command to obtain a word sequence corresponding to the current text command; calculating a similarity between the word sequence and each historical text command record in the historical text command record set corresponding to the historical user voice command set; and acquiring a historical text command record having a highest similarity based on similarity in descending order, for use as the queried historical text command record;

parsing the queried historical text command record to obtain a user's intention;

sending a user request generated based on the user's intention to a resource database; and

commanding an action component to take an action based on a response returned from the resource database, and the user's intention.

9. The apparatus according to claim 8 wherein the querying a historical text command record matching the current text command from a historical text command record set corresponding to a historical user voice command set comprises:

querying the historical text command record matching the current text command from the historical text command record set corresponding to the historical user voice command set using a maximum matching algorithm.

10. The apparatus according to claim 8 wherein the historical user voice command is a user voice command stored within preset historical time.

11. The apparatus according to claim 8 wherein the commanding an action component to take an action based on a response returned from the resource database and the user's intention comprises:

prompting, if the response returned from the resource database indicates failure to parse a correct command, failure to parse the correct command to a user; and

presenting, if the response returned from the resource database indicates the correct command resolved, the user with an operation indicated by the user's intention based on the resolved correct command.

12. The apparatus according to claim 8 , wherein the commanding an action component to take an action based on a response returned from the resource database and the user's intention comprises:

prompting, if the response returned from the resource database indicates failure to parse a correct command, failure to parse the correct command to a user; and

presenting, if the response returned from the resource database indicates the correct command resolved, the user with an operation indicated by the user's intention based on the resolved correct command.

13. The apparatus according to claim 9 , wherein the commanding an action component to take an action based on a response returned from the resource database and the user's intention comprises:

prompting, if the response returned from the resource database indicates failure to parse a correct command, failure to parse the correct command to a user; and

presenting, if the response returned from the resource database indicates the correct command resolved, the user with an operation indicated by the user's intention based on the resolved correct command.

14. A non-transitory computer readable medium, storing a computer program thereon, wherein the program, when executed by a processor, implements operations, the operations comprising:

parsing a currently inputted user voice command to a current text command;

querying a historical text command record matching the current text command from a historical text command record set corresponding to a historical user voice command set by: performing word segmentation on the current text command to obtain a word sequence corresponding to the current text command: calculating a similarity between the word sequence and each historical text command record in the historical text command record set corresponding to the historical user voice command set; and acquiring a historical text command record having a highest similarity based on similarity in descending order, for use as the queried historical text command record;

parsing the queried historical text command record to obtain a user's intention;

sending a user request generated based on the user's intention to a resource database; and

commanding an action component to take an action based on a response returned from the resource database, and the user's intention.

15. The non-transitory computer readable medium according to claim 14 , wherein the querying a historical text command record matching the current text command from a historical text command record set corresponding to a historical user voice command set comprises:

querying the historical text command record matching the current text command from the historical text command record set corresponding to the historical user voice command set using a maximum matching algorithm.

16. The non-transitory computer readable medium according to claim 14 , wherein the historical user voice command is a user voice command stored within preset historical time.

17. The non-transitory computer readable medium according to claim 14 , wherein the commanding an action component to take an action based on a response returned from the resource database and the user's intention comprises:

prompting, if the response returned from the resource database indicates failure to parse a correct command, failure to parse the correct command to a user; and

presenting, if the response returned from the resource database indicates the correct command resolved, the user with an operation indicated by the user's intention based on the resolved correct command.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 30, 2021
From: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.; SHANGHAI XIAODU TECHNOLOGY CO. LTD.
Reel/Frame 056811/0772 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 9, 2019
From: XIONG, QIN; CHENG, GAOFEI; GAO, LEILEI; WANG, FEI; LIU, YUE; DONG, WENLIN
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 049697/0274 →
Priority Claims (1)
CN 201811053045.X · Sep 10, 2018 · national
Continuity (1)
Related Publication 20200082814A1 · Mar 12, 2020