Method and storage medium for voice communication
First Claim
1. A method for voice communication, applied in a terminal device, comprising:
- acquiring a first operation instruction for instructing to acquire a supplementary voice content of a first voice message, which is used for supplementing the first voice message;
acquiring the supplementary voice content of the first voice message according to the acquired first operation instruction;
generating a second voice message according to the supplementary voice content, the second voice message including a supplementary identification for indicating that the voice content included in the second voice message is a supplementary voice content; and
sending the second voice message to a server,wherein acquiring a first operation instruction comprises;
determining whether the first voice message is complete; and
acquiring the first operation instruction when the first voice message is incomplete;
wherein determining whether the first voice message is complete comprises;
comparing a first time duration of a valid voice content in the first voice message with a preset proportion of a second time duration, the second time duration being a time duration for which a microphone is turned on for generating the first voice message; and
determining that the first voice message is incomplete when the first time duration of the valid voice content in the first voice message is shorter than or equal to the preset proportion of the second time duration;
wherein the method further comprises;
displaying a prompt message when the first voice message is incomplete, the prompt message for informing the user that the first voice message is incomplete.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure relates to a method, device, system and storage medium for voice communication. The method includes acquiring a first operation instruction, the first operation instruction for instructing to acquire a supplementary voice content of a first voice message; acquiring the supplementary voice content of the first voice message according to the first operation instruction; generating a second voice message according to the supplementary voice content and a supplementary identification, the supplementary identification for indicating that the voice content included in the second voice message is a supplementary voice content; and sending the second voice message to the server. In the present disclosure, a terminal may add a supplementary voice content on the basis of the sent voice message according to an instruction of the user.
80 Citations
18 Claims
-
1. A method for voice communication, applied in a terminal device, comprising:
-
acquiring a first operation instruction for instructing to acquire a supplementary voice content of a first voice message, which is used for supplementing the first voice message; acquiring the supplementary voice content of the first voice message according to the acquired first operation instruction; generating a second voice message according to the supplementary voice content, the second voice message including a supplementary identification for indicating that the voice content included in the second voice message is a supplementary voice content; and sending the second voice message to a server, wherein acquiring a first operation instruction comprises; determining whether the first voice message is complete; and acquiring the first operation instruction when the first voice message is incomplete; wherein determining whether the first voice message is complete comprises; comparing a first time duration of a valid voice content in the first voice message with a preset proportion of a second time duration, the second time duration being a time duration for which a microphone is turned on for generating the first voice message; and determining that the first voice message is incomplete when the first time duration of the valid voice content in the first voice message is shorter than or equal to the preset proportion of the second time duration; wherein the method further comprises; displaying a prompt message when the first voice message is incomplete, the prompt message for informing the user that the first voice message is incomplete. - View Dependent Claims (2, 3, 4, 5, 6, 9)
-
-
7. A terminal device, comprising:
-
a processor; and a memory storing instructions executable by the processor, wherein, when executing the instructions, the processor is configured to; acquire a first operation instruction for instructing to acquire a supplementary voice content of a first voice message, which is used for supplementing the first voice message; acquire the supplementary voice content of the first voice message according to the acquired first operation instruction; generate a second voice message according to the supplementary voice content, the second voice message including a supplementary identification for indicating that the voice content included in the second voice message is a supplementary voice content; and send the second voice message to a server, wherein the processor configured to acquire the first operation instruction is configured to; determine whether the first voice message is complete; and acquire the first operation instruction when the first voice message is incomplete; wherein the processor configured to determine whether the first voice message is complete is configured to; compare a first time duration of a valid voice content in the first voice message with a preset proportion of a second time duration, the second time duration being a time duration for which a microphone is turned on for generating the first voice message; and determine that the first voice message is incomplete when the first time duration of the valid voice content in the first voice message is shorter than or equal to the preset proportion of the second time duration; wherein the processor is further configured to; display a prompt message when the first voice message is incomplete, the prompt message for informing the user that the first voice message is incomplete. - View Dependent Claims (8, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a terminal device, cause the terminal device to perform a method for voice communication, the method comprising:
-
acquiring a first operation instruction for instructing to acquire a supplementary voice content of a first voice message, which is used for supplementing the first voice message; acquiring the supplementary voice content of the first voice message according to the acquired first operation instruction; generating a second voice message according to the supplementary voice content, the second voice message including a supplementary identification for indicating that the voice content included in the second voice message is a supplementary voice content; and sending the second voice message to a server, wherein acquiring a first operation instruction comprises; determining whether the first voice message is complete; and acquiring the first operation instruction when the first voice message is incomplete; wherein determining whether the first voice message is complete comprises; comparing a first time duration of a valid voice content in the first voice message with a preset proportion of a second time duration, the second time duration being a time duration for which a microphone is turned on for generating the first voice message; and determining that the first voice message is incomplete when the first time duration of the valid voice content in the first voice message is shorter than or equal to the preset proportion of the second time duration; wherein the method further comprises; displaying a prompt message when the first voice message is incomplete, the prompt message for informing the user that the first voice message is incomplete. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification