US 12,190,878 B2
Voice interaction method and apparatus
Yuxiao Zhou, Shanghai (CN); Ping Song, Shanghai (CN); Chunliang Liu, Shanghai (CN); and Chao Liang, Shanghai (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Mar. 29, 2022, as Appl. No. 17/707,666.
Application 17/707,666 is a continuation of application No. PCT/CN2020/118748, filed on Sep. 29, 2020.
Claims priority of application No. 201910941167.0 (CN), filed on Sep. 30, 2019.
Prior Publication US 2022/0223154 A1, Jul. 14, 2022
Int. Cl. G10L 15/22 (2006.01); G06F 3/16 (2006.01); G10L 15/30 (2013.01)
CPC G10L 15/22 (2013.01) [G06F 3/165 (2013.01); G10L 15/30 (2013.01); G10L 2015/223 (2013.01); G10L 2015/225 (2013.01); G10L 2015/228 (2013.01)] 20 Claims
OG exemplary drawing
 
10. An electronic device, wherein a voice assistant is installed on the electronic device, and the electronic device comprises a processor, a memory, and a display; the memory and the display are coupled to the processor; the display is configured to display an image generated by the processor; the memory is configured to store computer program code; and the computer program code comprises computer instructions, and when the processor executes the computer instructions, the processor is configured to:
after the voice assistant is woken up, determine a first application scenario based on an information item, wherein the information item comprises a current display interface of the electronic device, a current moment, a current location of the electronic device, a current motion state of the electronic device, a current event, or an application currently running on the electronic device;
determine common voice skill commands in the first application scenario based on the first application scenario and a historical voice skill usage record, wherein a voice skill command is used to invoke a voice skill, the voice skill is a service provided by the voice assistant;
determine, by the voice assistant, a priority sequence of the common voice skill commands in the first application scenario based on the first application scenario and the historical voice skill usage record; and
display the common voice skill commands in the first application scenario in a display interface according to the priority sequence.