CN112688859A - Voice message sending method and device, electronic equipment and readable storage medium - Google Patents

Voice message sending method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112688859A
CN112688859A CN202011503045.2A CN202011503045A CN112688859A CN 112688859 A CN112688859 A CN 112688859A CN 202011503045 A CN202011503045 A CN 202011503045A CN 112688859 A CN112688859 A CN 112688859A
Authority
CN
China
Prior art keywords
voice
identification information
message
messages
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011503045.2A
Other languages
Chinese (zh)
Other versions
CN112688859B (en
Inventor
张孝东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011503045.2A priority Critical patent/CN112688859B/en
Publication of CN112688859A publication Critical patent/CN112688859A/en
Application granted granted Critical
Publication of CN112688859B publication Critical patent/CN112688859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method and a device for sending a voice message, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method for sending the voice message comprises the following steps: acquiring a voice message; splitting the voice message into M voice sub-messages, wherein M is an integer greater than 1; and sending all or part of the M voice sub-messages to N contacts, wherein N is an integer greater than 1. Therefore, the voice message recorded at one time can be split into a plurality of voice sub-messages, and the plurality of voice sub-messages can be sent to different contacts, so that the sending operation of the voice message is simplified.

Description

Voice message sending method and device, electronic equipment and readable storage medium
Technical Field
The present application belongs to the field of communication technologies, and in particular, to a method and an apparatus for sending a voice message, an electronic device, and a readable storage medium.
Background
With the popularization of social software, people have more and more abundant ways of chatting by using social software, and chatting through voice messages is becoming mainstream. In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art, because the existing voice message can only record one message each time, when a user needs to send a plurality of voice messages, the existing voice message needs to be recorded for a plurality of times, and each voice message needs to be sent separately after being recorded, so that the existing voice message sending mode is complicated to operate.
Disclosure of Invention
An embodiment of the present application provides a method, an apparatus, an electronic device, and a readable storage medium for sending a voice message, which can solve the problem that an existing voice message sending method is complicated to operate.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for sending a voice message, where the method includes:
acquiring a voice message;
splitting the voice message into M voice sub-messages, wherein M is an integer greater than 1;
and sending all or part of the M voice sub-messages to N contacts, wherein N is an integer greater than 1.
In a second aspect, an embodiment of the present application provides an apparatus for sending a voice message, where the apparatus includes:
the acquisition module is used for acquiring voice messages;
the splitting module is used for splitting the voice message into M voice sub-messages, wherein M is an integer larger than 1;
and the sending module is used for sending all or part of the M voice sub-messages to N contacts, wherein N is an integer greater than 1.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the voice message is acquired; splitting the voice message into M voice sub-messages, wherein M is an integer greater than 1; and sending all or part of the M voice sub-messages to N contacts, wherein N is an integer greater than 1. Therefore, the voice message recorded at one time can be split into a plurality of voice sub-messages, and the plurality of voice sub-messages can be sent to different contacts, so that the sending operation of the voice message is simplified.
Drawings
Fig. 1 is a flowchart of a method for sending a voice message according to an embodiment of the present application;
fig. 2 is a second flowchart of a method for sending a voice message according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of identification information provided by an embodiment of the present invention;
fig. 4 is a schematic diagram of sending a voice sub-message on a chat interface according to an embodiment of the present invention;
fig. 5 is a second schematic diagram illustrating sending a voice sub-message on a chat interface according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a voice message sending apparatus according to an embodiment of the present application;
FIG. 7 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a second structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a method for sending a voice message according to an embodiment of the present application with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of a method for sending a voice message according to an embodiment of the present application. As shown in fig. 1, the method for sending a voice message specifically includes the following steps:
step 101, acquiring a voice message.
When the voice message includes a plurality of voice contents, a division mark exists in the plurality of voice contents or among the plurality of voice contents, and is used for distinguishing and splitting the plurality of voice contents. The segmentation mark can be any mark for the electronic device to distinguish different voice contents, such as a pause voice between two adjacent voice contents, a contact name included in the voice contents, a specific voice mark preset in the electronic device, or a combination of the above situations.
When recording the voice message, the user can record a plurality of voice contents at one time according to the segmentation mark. For example, when the division mark is a pause voice between two adjacent voice contents, after each voice content is recorded by a user, the user needs to pause for a preset time length and then record the next voice content, so that the pause time length of the preset time length is reserved between the two adjacent voice contents, and thus, the electronic device can distinguish a plurality of voice contents according to the pause time length. When the division mark is the contact name included in the voice content, when a user inputs each voice content, at least one contact name needs to be input in each voice content, so that the electronic equipment can distinguish a plurality of voice contents according to the contact names. When the division mark is a preset specific voice mark, after each voice content is recorded by a user, the voice corresponding to the voice mark needs to be recorded and then the next voice content is recorded, so that the electronic equipment can distinguish a plurality of voice contents according to the voice mark. After the user records a voice message on the electronic equipment in the above manner, the electronic equipment can acquire the voice message.
It should be noted that the user may record through the recording function of the chat application of the electronic device, and may also record through other software having the recording function, which is not limited in this application.
Step 102, splitting the voice message into M voice sub-messages, wherein M is an integer larger than 1.
Wherein M is an integer greater than 1, such as 2, 3, 4, 5, etc., and the application is not limited thereto. After the electronic device acquires the voice message, the voice message can be automatically split, and the voice message can also be split after the electronic device detects the input operation of the user for indicating the splitting of the voice message. For example, after the electronic device acquires a voice message, a prompt of "whether to split the voice message" may be displayed on a chat interface of the electronic device, and the user may select whether to split the voice message according to the prompt.
Specifically, before splitting the voice message, the electronic device needs to identify a segmentation flag in the voice message, and then, according to an identification result, determines whether the voice message includes the segmentation flag, and if it is determined that the voice message includes the segmentation flag, splits the voice message according to the segmentation flag; if the voice message is judged not to contain the segmentation mark, the step is ignored.
And 103, sending all or part of the M voice sub-messages to N contacts, wherein N is an integer greater than 1.
Wherein N is an integer greater than 1, and may be greater than, less than, or equal to M. After the electronic device completes the splitting of the voice message, the split M voice sub-messages can be sent to the N contacts respectively. Specifically, the electronic device may display the identification information of the M voice sub-messages and the identification information of the N contacts, and the user performs a corresponding input operation according to the displayed identification information of the M voice sub-messages and the displayed identification information of the N contacts, for example, dragging the identification information of a certain voice sub-message to a display position of the identification information of a certain contact, thereby implementing sending of the voice sub-message.
It should be noted that, when sending M voice sub-messages to N contacts, all or part of the M voice sub-messages may be sent, and the sent objects may be the same contact or different contacts. For example, assuming that the split voice sub-message is 5 and the number of the contacts is 3, the electronic device may send all or part of the 5 voice sub-messages to each of the 3 contacts, or send all or part of the 5 voice sub-messages to some of the 3 contacts.
In this embodiment, the voice message recorded at one time may be split into a plurality of voice sub-messages, and the plurality of voice sub-messages may be sent to different contacts, thereby simplifying the sending operation of the voice message.
Further, the step 102 of splitting the voice message into M voice sub-messages includes:
and under the condition that the segmentation mark in the voice message is recognized, splitting the voice message into M voice sub-messages according to the segmentation mark.
Specifically, before splitting the voice message, the electronic device needs to identify a segmentation mark in the voice message, specifically, needs to identify the voice content of the voice message, matches the voice content of the voice message with a preset voice after identifying the voice content of the voice message, and if the voice content matched with the preset voice is identified in the voice message, considers that the segmentation mark in the voice message is identified; and if the voice content matched with the preset voice is not recognized in the voice message, the segmentation mark in the voice message is not recognized. The preset voice here may be a voice with a preset duration and empty voice content, that is, a pause voice with a preset duration, or a voice with a contact name as a voice content, or a voice with other specific voice content. For example, when the preset speech is a speech with a preset duration, the content of which is an empty speech, that is, when there is a pause speech with a preset duration, the electronic device may recognize the pause speech with the preset duration, and if the pause speech with the preset duration is recognized, the pause speech is considered as a segmentation mark. When the preset voice is the voice with the contact name as the voice content, the electronic device can recognize the contact name, and if the contact name is recognized, the contact name is considered to be a division mark and the like.
In the case that the segmentation markers in the voice message are recognized, the voice message can be split according to the position information of the segmentation markers in the voice message. For example, when the voice content of the voice message recognized by the electronic device is "zhang san, where you are (split mark) lie si, when you eat me wai shi (split mark) wang bi, and when you go to the movie theater to watch the movie", the voice message can be split into "zhang san, where you are", "lie si, when me eat me wai" and "wang bi", and when you go to the movie theater to watch the movie "3 voice sub-messages.
In this embodiment, the voice message may be split into a plurality of voice sub-messages according to the splitting flag, so that the splitting function of the voice message is realized, and thus, when a user needs to record a plurality of voice contents, it is not necessary to record each voice content separately, but after recording the plurality of voice contents into one voice message at one time, the voice message is automatically split into a plurality of messages by the splitting flag, thereby saving the recording times of the user.
Further, the segmentation markers include at least one of: pause speech, contact name, preset speech mark.
The segmentation mark can be one or more of pause voice, contact name and preset voice mark. The pause voice refers to a voice with a pause duration close to or reaching a preset pause duration, for example, assuming that the preset pause duration is 2 seconds, a user pauses for 2 seconds every time a voice content is recorded in the process of recording the voice, so that the voice message can be split according to the pause voice when the whole voice message is recorded. Assuming that the voice message recorded by the user is "three pieces of voice, where you are (stop for 2 seconds) li four, when you eat me o (stop for 2 seconds) wang two, and when you go to the movie theater, the voice content before the voice pause and the voice content after the voice pause can be respectively separated into two voice sub-messages according to the voice pause between two adjacent voice contents, and the voice pause is removed at the same time, so that the voice message can be separated into" three pieces of voice, where you are "," li four, when you eat me "and" wang two ", and when you go to the movie theater," 3 voice sub-messages ".
The contact name refers to a contact name in the current chat application, when the contact name in the current chat application is used as a segmentation mark, the electronic equipment performs voice recognition on a voice message, and then directly matches the recognized text information with a contact list in the chat application, so that the position of the segmentation mark can be determined, and automatic voice splitting is realized. For example, assume that the user enters a voice message of "three, where are you? Li Si, a good meal in the family. And Wang II, the movie is watched when the user goes to the cinema, at the moment, "Zhang III", "Li IV" and Wang II "in the movie can be identified according to voice identification, if the" Zhang III "," Li IV "and the" Wang II "are all the contact names in the current chat application, the voice message can be split before each contact name, and simultaneously the contact names are kept, so that a plurality of voice sub-messages beginning with the contact names are obtained by splitting, and thus the voice message can be split into" Zhang III, where you are, Liqu, eating at home "and" Wang II ", and the movie is watched when the user goes to the cinema" 3 voice sub-messages ".
The preset voice mark can be any voice mark preset by a user, specifically, before recording a voice message, the user records the voice in advance in a segmentation mode and stores the voice in the electronic equipment as the voice mark, so that when recording the voice message, the user can record the segmented voice mark after recording one voice content, and thus when splitting the voice message, the user can directly split the voice message based on the voice mark. For example, assume that the user enters a voice message of "three, where are you? Cutting, namely, Li four, eating at home. And dividing the voice message into three pieces of voice sub-messages, where you are, and four pieces of rice, where you are, and two pieces of Wang, and so on, and leaving the cinema to watch the movie, wherein the division can be identified according to the voice identification, and then the voice content before division and the voice content after division are respectively divided into two voice sub-messages according to the position information of the division, and the division is removed at the same time, so that the voice message is divided into three pieces of Chinese, where you are, and four pieces of Li, where I eat at home, and two pieces of Wang, and so on, and the movie is watched by leaving the cinema with 3 pieces of voice sub-messages.
Of course, a combination of two or three of the pause speech, the contact name, and the preset speech tagging mode may also be used as the segmentation tag. For example, when a user records a voice message, the user uses the pause voice and the preset voice mark at the same time, and when the voice message is split, the voice message can be split according to the pause voice and the preset voice mark at the same time.
In the embodiment, the splitting of the voice message can be realized by adopting various splitting marks, so that the flexibility of splitting the voice sub-message is improved, and meanwhile, the splitting marks can be set according to the use habits of different users so as to meet the individual requirements of the different users.
Further, referring to fig. 2, fig. 2 is a second flowchart of a method for sending a voice message according to an embodiment of the present invention. Based on the embodiment shown in fig. 1, before the step 103 sends all or part of the M voice sub-messages to the N contacts, the method further includes:
step 104, displaying M identification information of the M voice sub-messages;
the step 103 of sending all or part of the M voice sub-messages to the N contacts includes:
and 105, receiving the input operation of the user on the identification information in the M identification information, and sending all or part of the M voice sub-messages to the N contacts according to the input operation.
The identification information may be information such as characters and patterns that have an identification effect on the voice sub-message, and the application is not limited specifically. After splitting the voice message to obtain M voice sub-messages, the electronic device may display M identification information of the M voice sub-messages. In an alternative embodiment, a voice bubble may be used as the identification information for the voice sub-message, as shown in FIG. 3. In fig. 3, each voice sub-message corresponds to one voice bubble, a user may perform an input operation on a chat interface of the electronic device, where the input operation may be a click operation, a drag operation, or the like, and the electronic device may play, splice, or send the voice bubbles according to the input operation. For example, when the electronic device detects that the user clicks the identification information corresponding to any one of the voice sub-messages, the voice content of the voice sub-message can be played, and the user determines whether the voice message is split correctly according to the played voice content; when the electronic equipment detects the dragging operation that a user drags the identification information corresponding to a certain voice sub-message to the display position of the identification information corresponding to another voice sub-message, the voice contents of the two voice sub-messages can be spliced; when the electronic device detects a dragging operation that a user drags the identification information corresponding to a certain voice sub-message to a display position of a certain contact, the voice sub-message can be sent to the contact.
Specifically, when all or part of the M voice sub-messages are sent to the N contacts, the electronic device may receive an input operation of a user for identification information in the M identification information, and send all or part of the M voice sub-messages to the N contacts according to the input operation. For example, assuming that the split voice sub-messages are 5 and the number of the contacts is 3, the electronic device may drag all or part of the 5 identification information to the display position of the identification of each contact to send all or part of the 5 voice sub-messages to each contact in the 3 contacts, or may drag all or part of the 5 identification information to the display position of the identification of part of the contacts to send all or part of the 5 voice sub-messages to part of the 3 contacts.
In this embodiment, the identification information of the voice sub-message is displayed, and M voice sub-messages are sent to N contacts according to the input operation of the user for the identification information, so that the voice sub-message can be sent to different contacts, and the sending operation of the voice message is simplified.
Further, the obtained voice message is the voice message obtained in the group chat interface, and M pieces of identification information are displayed in the group chat interface, and the group chat interface displays contact person identifications;
the step 105 of receiving an input operation of the user for the identification information in the M identification information, and sending all or part of the M voice sub-messages to the N contacts according to the input operation includes:
receiving a first dragging operation which is input by a user and drags first target identification information to a first target contact person identification, and sending a target voice sub-message corresponding to the first target identification information to the first target contact person corresponding to the first target contact person identification, wherein the first target identification information is at least one identification information in the M identification information.
In an embodiment, the electronic device sends all or a portion of the M voice sub-messages to the N contacts in the group chat interface. Referring to fig. 4, fig. 4 is a diagram illustrating a voice sub-message being sent in a chat interface. As shown in fig. 4, the chat interface is a group chat interface, and a plurality of identification information and a plurality of contact identifiers are displayed in the group chat interface, where the identification information may be a voice bubble, and the contact identifiers may be contact avatars, such as a contact 1 avatar, a contact 2 avatar, a contact 3 avatar, and a contact 4 avatar. In this way, the electronic device may receive a first dragging operation input by the user at the group chat interface, and send a target voice sub-message corresponding to the first target identification information to the first target contact corresponding to the first target contact identification. The first target identification information is at least one identification information of the M identification information, the first target contact identification is at least one contact identification of the N contact identifications, and the first dragging operation is a dragging operation performed by a user for the first target identification information. For any first target identification information in the M identification information, the dragging can be performed in the above manner, and the dragging is performed to the corresponding first target contact person.
It should be noted that, when the first target identification information is one identification information, the user may directly drag the first target identification information to the first target contact identification, thereby implementing the sending of the single voice sub-message; when the first target identification information is a plurality of identification information, the user can select the plurality of identification information first, and then drag the plurality of selected identification information to the first target contact identification synchronously, thereby realizing synchronous sending of the plurality of voice sub-messages.
As another embodiment, whether the chat interface includes the contact identifier or not, the contact list may be displayed on the chat interface, so that the electronic device may receive a first drag operation, which is input by a user and drags the first target identification information to at least one contact identifier in the contact list, and send the first target voice sub-message to a target contact corresponding to the at least one contact identifier in the contact list.
Specifically, the manner of displaying the contact list may be that the electronic device automatically acquires the contact list and displays the contact list, or that the electronic device acquires the contact list and displays the contact list after receiving an input operation by a user. Referring to fig. 5, fig. 5 is a second schematic diagram illustrating sending a voice sub-message through a chat interface. The chat interface can be a group chat interface of a chat application, and can also be an independent chat interface with a certain contact. As shown in fig. 5, in a group chat interface, a plurality of identification information and a contact list may be displayed, where the contact chat list includes a plurality of contact identifications, and the contact identifications may be contact avatars, names, and the like. At this time, the electronic device may receive a first dragging operation input by the user on the chat interface, and send a first target voice sub-message corresponding to the first target identification information to a target contact corresponding to the target contact identification in the contact list. Therefore, the user can acquire the contact person identification which wants to send the voice sub-messages through the contact person list, and all or part of the M voice sub-messages can be sent to the plurality of contact persons according to the input operation.
In this embodiment, a dragging operation of the user for the M pieces of identification information may be received at the chat interface, so that sending all or part of the M pieces of voice sub-messages to the N contacts is achieved according to the dragging operation, thereby simplifying the sending operation of the voice messages. In addition, in the group chat interface, the voice sub-message can be sent to different contacts based on the same group chat interface without switching back and forth between chat interfaces of different contacts, so that the sending operation of the voice message is further simplified.
Further, the identification information includes feature information of the corresponding voice sub-message.
The feature information of the voice sub-message may also be text information corresponding to the split mark, for example, when the split mark is a contact name, the text information corresponding to the contact name may be displayed in the identification information as the feature information, so that the user can distinguish the voice content of each voice sub-message.
In this embodiment, the feature information may be a part of or all of the text corresponding to the voice content of each voice sub-message, such as a preset number of text messages before or a preset number of text messages after the voice content corresponding to the voice sub-message. Assuming that the first two words in the voice content of each voice sub-message are used as feature information, and the voice sub-message 1, the voice sub-message 2 and the voice sub-message 3 are respectively "zhang, where you are", "lee four, go to your family" and "wang di, go to movie theater and watch movie", then the feature information corresponding to the voice sub-message 1, the voice sub-message 2 and the voice sub-message 3 is zhang, lee four and wang di. Continuing to refer to fig. 5, as shown in fig. 5, the electronic device may display "zhang three" in the voice bubble of the voice sub-message "zhang three, display" lie four "in the voice bubble of the voice sub-message" lie four, and display "wang two" in the voice bubble of the voice sub-message "wang two, go to cinema and watch movie", so that the user does not need to click each voice in sequence to listen to the corresponding voice content thereof, and can clearly know the voice content corresponding to each voice sub-message, thereby facilitating the user to select the correct voice sub-message for transmission.
Further, after the step 102 of splitting the voice message into M voice sub-messages, the method further includes:
and after the second target voice sub-message in the M voice sub-messages is sent, canceling the display of the characteristic information of the second target voice sub-message.
The second target voice sub-message refers to a voice sub-message that has been sent to a certain contact from among the M voice sub-messages. After the second target voice sub-message in the M voice sub-messages is sent, the electronic equipment can cancel the display of the characteristic information of the second target voice sub-message, so that the user can clearly know which voice sub-messages are sent and which voice sub-messages are not sent, and the user is prevented from repeatedly sending the same message. And when the contact receives the second target voice sub-message, the characteristic information is not displayed, so that the contact is not interfered.
Further, the step 103 of sending all or part of the M voice sub-messages to the N contacts includes:
and splicing at least two voice sub-messages in the M voice sub-messages to obtain spliced voice sub-messages, and sending the spliced voice sub-messages to a second target contact in the N contacts.
The second target contact may be the same as or different from the first contact and the second contact, and the application is not limited in particular.
In this embodiment, at least two voice sub-messages in the split multiple voice sub-messages may be spliced to obtain a spliced voice sub-message, where the spliced at least two voice sub-messages may cancel display or continue to display after being spliced. In the splicing process, the electronic device can receive the dragging operation of the user, and splice the voice contents of the at least two voice sub-messages to obtain the spliced voice sub-message under the condition that the identification information of the at least two voice sub-messages is detected to be overlapped. Therefore, when a plurality of voice sub-messages need to be sent to the same second target contact person, the user can selectively splice the plurality of voice sub-messages and send the voice sub-messages to the second target contact person without sending the voice sub-messages to the second target contact person for a plurality of times, and therefore the sending operation of the voice sub-messages is further simplified.
Further, the step 105 of receiving an input operation of the user on the identification information in the M identification information, and sending all or part of the M voice sub-messages to the N contacts according to the input operation includes:
receiving a second dragging operation input by the user, wherein the second dragging operation is used for associating second target identification information with third target identification information;
responding to the second dragging operation, splicing a third target voice sub-message corresponding to the second target identifier and a fourth target voice sub-message corresponding to the third target identifier to obtain a spliced voice sub-message;
and sending the spliced voice sub-message to a third target contact in the N contacts, wherein the second target identification information is at least one identification information in the M identification information, and the third target identification information is at least one identification information except the second target identification information in the M identification information.
Specifically, the user may drag the second target identification information and the third target identification information in the M identification information on the chat interface to associate them, specifically, if the second target identification information and the third target identification information are successfully associated, the second target identification information and the third target identification information are partially overlapped or completely overlapped; and if the second target identification information and the third target identification information are not successfully associated, the second target identification information and the third target identification information are not overlapped. And the electronic equipment splices a third target voice sub-message corresponding to the second target identification and a fourth target voice sub-message corresponding to the third target identification under the condition that the second target identification information is detected to be partially or completely overlapped with the third target identification information, so that the splicing function of the plurality of voice sub-messages is realized. When splicing, the voice sub-messages of the multiple overlapped target identification information may be spliced randomly, or according to the time sequence of the voice sub-messages of the multiple overlapped target identification information in the original voice message, which is not specifically limited in the present application.
It should be noted that the second target identification information is at least one identification information of M identification information, and the third target identification information is at least one identification information of the M identification information except the second target identification information, so that when the user performs the dragging operation, the user can drag one or more second target identification information to one or more third target identification information at the same time. For example, the user drags two second target identification information to two different third target identification information with the index finger and the middle finger, respectively, and at this time, the electronic device will generate two spliced voice sub-messages.
In this embodiment, the multiple voice sub-messages may be selectively spliced through a dragging operation of a user, and the spliced voice sub-message obtained through splicing is sent to the third target contact without sending the voice sub-message to the third target contact multiple times, so that the sending operation of the voice sub-message is further simplified. It should be noted that, in the sending method of a voice message provided in the embodiment of the present application, the execution subject may be a sending apparatus of a voice message, or a control module in the sending apparatus of the voice message, which is used for executing the sending method of the voice message. In the embodiment of the present application, a transmitting apparatus for a voice message, which executes a method for transmitting a voice message, is taken as an example, and a transmitting apparatus for a voice message provided in the embodiment of the present application is described.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a device for sending a voice message according to an embodiment of the present application. As shown in fig. 6, the apparatus 600 for sending a voice message includes:
an obtaining module 601, configured to obtain a voice message;
a splitting module 602, configured to split a voice message into M voice sub-messages, where M is an integer greater than 1;
a sending module 603, configured to send all or part of the M voice sub-messages to N contacts, where N is an integer greater than 1.
Further, the splitting module 602 is specifically configured to:
and under the condition that the segmentation mark in the voice message is recognized, splitting the voice message into M voice sub-messages according to the segmentation mark.
Further, the segmentation markers include at least one of: pause speech, contact name, preset speech mark.
Further, the apparatus 600 for sending a voice message further includes:
the first display module is used for displaying M pieces of identification information of the M voice sub-messages;
and the processing module is used for receiving the input operation of the user on the identification information in the M identification information and sending all or part of the M voice sub-messages to the N contacts according to the input operation.
Further, the obtained voice message is the voice message obtained in the group chat interface, and M pieces of identification information are displayed in the group chat interface, and the group chat interface displays contact person identifications;
a processing module, comprising:
the first receiving submodule is used for receiving a first dragging operation which is input by a user and used for dragging the first target identification information to the first target contact person identification;
and the first sending submodule is used for responding to the first dragging operation and sending a first target voice sub-message corresponding to the first target identification information to the first target contact corresponding to the first target contact identification, wherein the first target identification information is at least one identification information in the M identification information.
Further, the identification information includes feature information of the corresponding voice sub-message.
Further, the apparatus 600 for sending a voice message further includes:
and the canceling module is used for canceling and displaying the characteristic information of the third target voice sub-message after the third target voice sub-message in the M voice sub-messages is sent.
Further, the sending module 603 includes:
and the first processing sub-module is used for splicing at least two voice sub-messages in the M voice sub-messages to obtain spliced voice sub-messages and sending the spliced voice sub-messages to a third target contact in the N contacts.
Further, a processing module comprising: the second receiving submodule is used for receiving a second dragging operation input by the user, and the second dragging operation is used for associating second target identification information with third target identification information;
the splicing sub-module is used for responding to the second dragging operation, splicing a third target voice sub-message corresponding to the second target identifier and a fourth target voice sub-message corresponding to the third target identifier to obtain a spliced voice sub-message;
and the second sending submodule is used for sending the spliced voice sub-message to a third target contact in the N contacts, wherein the second target identification information is at least one identification information in the M identification information, and the third target identification information is at least one identification information except the second target identification information in the M identification information.
The sending device of the voice message in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The sending device of the voice message in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The sending apparatus of the voice message provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 5, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the foregoing embodiment of sending a voice message, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 810 is configured to obtain a voice message; splitting the voice message into M voice sub-messages, wherein M is an integer larger than 1; and sending all or part of the M voice sub-messages to the N contacts, wherein N is an integer greater than 1.
Further, the processor 810 is further configured to, in a case that the segmentation marker in the voice message is identified, split the voice message into M voice sub-messages according to the segmentation marker.
Further, the segmentation markers include at least one of: pause speech, contact name, preset speech mark.
Further, a display unit 806, configured to display M pieces of identification information of the M pieces of voice sub-messages;
a user input unit 807 for receiving an input operation of a user for identification information of the M pieces of identification information;
the processor 810 is further configured to send all or part of the M voice sub-messages to the N contacts according to the input operation.
Further, the user input unit 807 is further configured to receive a first dragging operation, which is input by the user, of dragging the first target identification information to the first target contact identification;
the processor 810 is further configured to send a target voice sub-message corresponding to the first target identification information to the first target contact corresponding to the first target contact identification, where the first target identification information is at least one identification information of the M identification information.
Further, the display unit 806 is further configured to display a contact list;
the user input unit 807 is further configured to receive a second dragging operation, which is input by the user and drags the second target identification information to the second target contact identification of the contact list;
the processor 810 is further configured to send a target voice sub-message corresponding to second target identification information to a second target contact corresponding to a second target contact identification, where the second target identification information is at least one identification information of the M identification information.
Further, the identification information includes feature information of the corresponding voice sub-message.
Further, the display unit 806 is further configured to cancel displaying the feature information of the third target voice sub-message after the third target voice sub-message in the M voice sub-messages is sent.
Further, the processor 810 is further configured to splice at least two voice sub-messages of the M voice sub-messages to obtain a spliced voice sub-message, and send the spliced voice sub-message to a third target contact of the N contacts.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing embodiment of the method for sending a voice message, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method for sending a voice message, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method for transmitting a voice message, comprising:
acquiring a voice message;
splitting the voice message into M voice sub-messages, wherein M is an integer greater than 1;
and sending all or part of the M voice sub-messages to N contacts, wherein N is an integer greater than 1.
2. The method according to claim 1, wherein the splitting the voice message into M voice sub-messages comprises:
and under the condition that a division mark in the voice message is identified, splitting the voice message into M voice sub-messages according to the division mark.
3. The method of claim 2, wherein the segmentation marker comprises at least one of:
pause speech, contact name, preset speech mark.
4. The method according to claim 1, wherein before sending all or part of the M voice sub-messages to the N contacts, the method further comprises:
displaying M pieces of identification information of the M voice sub-messages;
the sending all or part of the M voice sub-messages to the N contacts includes:
and receiving input operation of a user on the identification information in the M identification information, and sending all or part of the M voice sub-messages to the N contacts according to the input operation.
5. The method according to claim 4, wherein the obtained voice message is a voice message obtained in a group chat interface, and the M pieces of identification information are displayed in the group chat interface, and the group chat interface displays a contact identifier;
the receiving an input operation of a user for identification information in the M identification information, and sending all or part of the M voice sub-messages to the N contacts according to the input operation, includes:
receiving a first dragging operation which is input by a user and drags first target identification information to a first target contact person identification;
and responding to the first dragging operation, and sending a first target voice sub-message corresponding to the first target identification information to a first target contact corresponding to the first target contact identification, wherein the first target identification information is at least one identification information in the M identification information.
6. The method of claim 4, wherein the identification information comprises feature information of the corresponding voice sub-message.
7. The method according to claim 6, wherein after the splitting the voice message into M voice sub-messages, the method further comprises:
and after the second target voice sub-message in the M voice sub-messages is sent, canceling the display of the characteristic information of the second target voice sub-message.
8. The method according to claim 1, wherein the sending all or part of the M voice sub-messages to N contacts comprises:
and splicing at least two voice sub-messages in the M voice sub-messages to obtain spliced voice sub-messages, and sending the spliced voice sub-messages to a second target contact person in the N contact persons.
9. The method according to claim 4, wherein the receiving an input operation of a user on identification information of the M pieces of identification information, and sending all or part of the M pieces of voice sub-messages to N contacts according to the input operation, comprises:
receiving a second dragging operation input by a user, wherein the second dragging operation is used for associating second target identification information with third target identification information;
responding to the second dragging operation, splicing a third target voice sub-message corresponding to the second target identifier and a fourth target voice sub-message corresponding to the third target identifier to obtain a spliced voice sub-message;
and sending the spliced voice sub-message to a third target contact in the N contacts, wherein the second target identification information is at least one identification information in the M identification information, and the third target identification information is at least one identification information except the second target identification information in the M identification information.
10. An apparatus for transmitting a voice message, comprising:
the acquisition module is used for acquiring voice messages;
the splitting module is used for splitting the voice message into M voice sub-messages, wherein M is an integer larger than 1;
and the sending module is used for sending all or part of the M voice sub-messages to N contacts, wherein N is an integer greater than 1.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method of transmitting a voice message according to any one of claims 1-9.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method of transmitting a voice message according to any one of claims 1-9.
CN202011503045.2A 2020-12-18 2020-12-18 Voice message sending method and device, electronic equipment and readable storage medium Active CN112688859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011503045.2A CN112688859B (en) 2020-12-18 2020-12-18 Voice message sending method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011503045.2A CN112688859B (en) 2020-12-18 2020-12-18 Voice message sending method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112688859A true CN112688859A (en) 2021-04-20
CN112688859B CN112688859B (en) 2022-09-02

Family

ID=75449534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011503045.2A Active CN112688859B (en) 2020-12-18 2020-12-18 Voice message sending method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112688859B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024929A (en) * 2021-11-04 2022-02-08 维沃移动通信有限公司 Voice message processing method and device, electronic equipment and medium
CN114124875A (en) * 2021-11-04 2022-03-01 维沃移动通信有限公司 Voice message processing method and device, electronic equipment and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090234655A1 (en) * 2008-03-13 2009-09-17 Jason Kwon Mobile electronic device with active speech recognition
US20130083907A1 (en) * 2011-09-29 2013-04-04 France Telecom Method and Device for Consulting a Voice Message
CN103152488A (en) * 2013-03-25 2013-06-12 成都西可科技有限公司 Method for realizing voice communication of feature phone by one key
CN106062791A (en) * 2014-01-30 2016-10-26 谷歌公司 Associating a segment of an electronic message with one or more segment addressees
CN106375182A (en) * 2016-08-22 2017-02-01 腾讯科技(深圳)有限公司 Voice communication method and device based on instant messaging application
CN110491370A (en) * 2019-07-15 2019-11-22 北京大米科技有限公司 A kind of voice stream recognition method, device, storage medium and server
CN111128223A (en) * 2019-12-30 2020-05-08 科大讯飞股份有限公司 Text information-based auxiliary speaker separation method and related device
CN111163224A (en) * 2019-12-27 2020-05-15 维沃移动通信有限公司 Voice message playing method and electronic equipment
CN111651281A (en) * 2020-04-27 2020-09-11 北京中交兴路信息科技有限公司 Message publishing and subscribing method and system
CN112039679A (en) * 2020-08-17 2020-12-04 上海掌门科技有限公司 Method and device for processing group chat voice message, electronic equipment and medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090234655A1 (en) * 2008-03-13 2009-09-17 Jason Kwon Mobile electronic device with active speech recognition
US20130083907A1 (en) * 2011-09-29 2013-04-04 France Telecom Method and Device for Consulting a Voice Message
CN103152488A (en) * 2013-03-25 2013-06-12 成都西可科技有限公司 Method for realizing voice communication of feature phone by one key
CN106062791A (en) * 2014-01-30 2016-10-26 谷歌公司 Associating a segment of an electronic message with one or more segment addressees
CN106375182A (en) * 2016-08-22 2017-02-01 腾讯科技(深圳)有限公司 Voice communication method and device based on instant messaging application
CN110491370A (en) * 2019-07-15 2019-11-22 北京大米科技有限公司 A kind of voice stream recognition method, device, storage medium and server
CN111163224A (en) * 2019-12-27 2020-05-15 维沃移动通信有限公司 Voice message playing method and electronic equipment
CN111128223A (en) * 2019-12-30 2020-05-08 科大讯飞股份有限公司 Text information-based auxiliary speaker separation method and related device
CN111651281A (en) * 2020-04-27 2020-09-11 北京中交兴路信息科技有限公司 Message publishing and subscribing method and system
CN112039679A (en) * 2020-08-17 2020-12-04 上海掌门科技有限公司 Method and device for processing group chat voice message, electronic equipment and medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SETYONO等: "Development and implementation of compression and split techniques for multimedia messaging service applications", 《INTERNATIONAL JOURNAL OF COMPUTER THEORY AND ENGINEERING》 *
刘均等: "中文文语转换在电话语音***中的应用", 《浙江工业大学学报》 *
赵至柔,邵玉斌,龙华,唐传林: "基于能零比与峰谷点的汉语语音音节分割算法", 《电子测量技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024929A (en) * 2021-11-04 2022-02-08 维沃移动通信有限公司 Voice message processing method and device, electronic equipment and medium
CN114124875A (en) * 2021-11-04 2022-03-01 维沃移动通信有限公司 Voice message processing method and device, electronic equipment and medium
CN114124875B (en) * 2021-11-04 2023-12-19 维沃移动通信有限公司 Voice message processing method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN112688859B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN110266879B (en) Playing interface display method, device, terminal and storage medium
CN109005283B (en) Method, device, terminal and storage medium for displaying notification message
CN113300938B (en) Message sending method and device and electronic equipment
CN113037924B (en) Voice transmission method, device, electronic equipment and readable storage medium
CN112751971A (en) Voice playing method and device and electronic equipment
CN112688859B (en) Voice message sending method and device, electronic equipment and readable storage medium
CN113094143B (en) Cross-application message sending method and device, electronic equipment and readable storage medium
CN112286887A (en) File sharing method and device and electronic equipment
CN113596555B (en) Video playing method and device and electronic equipment
CN112269508A (en) Display method and device and electronic equipment
CN112947807A (en) Display method and device and electronic equipment
CN112287165A (en) File processing method and device
CN111796747B (en) Multi-open application processing method and device and electronic equipment
WO2022253182A1 (en) Communication method and apparatus, electronic device, and readable storage medium
CN114489913A (en) Interaction method, interaction device and electronic equipment
CN108132742B (en) Terminal equipment and display method of associated window thereof
CN114296853A (en) Control method and device of dynamic desktop, storage medium and electronic device
CN112291414B (en) Message display method and device and electronic equipment
CN113885750A (en) Message processing method and device and electronic equipment
CN113676395A (en) Information processing method, related device and readable storage medium
CN113241097A (en) Recording method, recording device, electronic equipment and readable storage medium
CN106888150A (en) Instant message treating method and apparatus
CN112181351A (en) Voice input method and device and electronic equipment
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
CN114422843B (en) video color egg playing method and device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant