Electronic device-awakening method and apparatus, device and computer-readable storage medium
First Claim
1. An electronic device-awakening method, wherein the method comprises:
- obtaining a user'"'"'s speech wakeup instruction which is used to awaken the electronic device;
selecting an audio data file from at least two audio data files according to the speech wakeup instruction, as a wakeup answer file of the electronic device;
playing the wakeup answer file of the electronic device;
wherein before selecting an audio data file from at least two audio data files according to the speech wakeup instruction, as the wakeup answer file of the electronic device, the method further comprises;
obtaining at least one prompt text and at least two sound parameters;
generating said at least two audio data files by using TTS technology according to said at least one prompt text and said at least two sound parameters; and
wherein said at least two sound parameters comprises parameters for determining sound roles including at least two of male speech, female speech, kid speech and cartoon character'"'"'s speech, and said at least two audio data files are of different sound roles; and
wherein the selecting the audio data file from at least two audio data files according to the speech wakeup instruction, as the wakeup answer file of the electronic device comprises;
obtaining a voice print feature according to the speech wakeup instruction;
selecting one user-set audio data file from the at least two audio data files according to the voice print feature, as the wakeup answer file of the electronic device.
2 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure provides an electronic device-awakening method and apparatus, a device and a computer-readable storage medium. In embodiments of the present disclosure, the user'"'"'s speech wakeup instruction which is used to awaken the electronic device is obtained, and then an audio data file is selected from at least two audio data files according to the speech wakeup instruction, as a wakeup answer file of the electronic device, so that the wakeup answer file of the electronic device can be played. Since there are more than one selectable audio data files, many types of prompt tones can be provided, thereby achieving the purpose of providing many types of wakeup prompts.
14 Citations
6 Claims
-
1. An electronic device-awakening method, wherein the method comprises:
-
obtaining a user'"'"'s speech wakeup instruction which is used to awaken the electronic device; selecting an audio data file from at least two audio data files according to the speech wakeup instruction, as a wakeup answer file of the electronic device; playing the wakeup answer file of the electronic device; wherein before selecting an audio data file from at least two audio data files according to the speech wakeup instruction, as the wakeup answer file of the electronic device, the method further comprises; obtaining at least one prompt text and at least two sound parameters; generating said at least two audio data files by using TTS technology according to said at least one prompt text and said at least two sound parameters; and
wherein said at least two sound parameters comprises parameters for determining sound roles including at least two of male speech, female speech, kid speech and cartoon character'"'"'s speech, and said at least two audio data files are of different sound roles; andwherein the selecting the audio data file from at least two audio data files according to the speech wakeup instruction, as the wakeup answer file of the electronic device comprises; obtaining a voice print feature according to the speech wakeup instruction; selecting one user-set audio data file from the at least two audio data files according to the voice print feature, as the wakeup answer file of the electronic device. - View Dependent Claims (2)
-
-
3. A device, wherein the device comprises:
-
one or more processors; a memory storing instructions, which when executed by the at least one processor, cause the at least one processor to perform operation, the operation comprising; obtaining a user'"'"'s speech wakeup instruction which is used to awaken the electronic device; selecting an audio data file from at least two audio data files according to the speech wakeup instruction, as a wakeup answer file of the electronic device; playing the wakeup answer file of the electronic device; wherein before selecting an audio data file from at least two audio data files according to the speech wakeup instruction, as the wakeup answer file of the electronic device, the method further comprises; obtaining at least one prompt text and at least two sound parameters; generating said at least two audio data files by using TTS technology according to said at least one prompt text and said at least two sound parameters; and
wherein said at least two sound parameters comprises parameters for determining sound roles including at least two of male speech, female speech, kid speech and cartoon character'"'"'s speech, and said at least two audio data files are of different sound roles; andwherein the selecting the audio data file from at least two audio data files according to the speech wakeup instruction, as the wakeup answer file of the electronic device comprises; obtaining a voice print feature according to the speech wakeup instruction; selecting one user-set audio data file from the at least two audio data files according to the voice print feature, as the wakeup answer file of the electronic device. - View Dependent Claims (5)
-
-
4. A non-transitory computer-readable storage medium, wherein the computer storage medium is coded with a computer program, and when the program is executed by one or more computers, the one or more computers perform the following operation:
-
obtaining a user'"'"'s speech wakeup instruction which is used to awaken the electronic device; selecting an audio data file from at least two audio data files according to the speech wakeup instruction, as a wakeup answer file of the electronic device; playing the wakeup answer file of the electronic device; wherein before selecting an audio data file from at least two audio data files according to the speech wakeup instruction, as the wakeup answer file of the electronic device, the method further comprises; obtaining at least one prompt text and at least two sound parameters; generating said at least two audio data files by using TTS technology according to said at least one prompt text and said at least two sound parameters; and
wherein said at least two sound parameters comprises parameters for determining sound roles including at least two of male speech, female speech, kid speech and cartoon character'"'"'s speech, and said at least two audio data files are of different sound roles; andwherein the selecting the audio data file from at least two audio data files according to the speech wakeup instruction, as the wakeup answer file of the electronic device comprises; obtaining a voice print feature according to the speech wakeup instruction; selecting one user-set audio data file from the at least two audio data files according to the voice print feature, as the wakeup answer file of the electronic device. - View Dependent Claims (6)
-
Specification