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 |
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.
|