Voice message processing method, device and electronic equipment
By implementing voice message processing methods under multiple windows in electronic devices, including recording and stitching voice messages, and sending and recording between different windows, the problem of insufficient voice processing in the existing technology, improvement Essence
Patent Information
- Application Number
- CN202211280732.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-19
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2042-10-19
AI Technical Summary
The prior art lacks flexibility when sending voice messages in electronic devices, making it difficult to meet the user's complex voice message processing needs in multi-window scenarios.
By displaying multiple windows, receiving users' inputs, recording voice messages, and performing a variety of operations, such as stitching audio information in the voice message and multimedia files, or sending and recording voice messages between different windows.
The flexibility of the voice message processing of electronic equipment in multiple window scenarios has been improved, allowing users to send and record voice messages flexibly between multiple windows, and enhance the user experience.
Smart Images

Figure CN115955455B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a voice message processing method, device and electronic equipment. Background Art
[0002] With the development of device technology, the functions of electronic devices are becoming more and more abundant. For example, electronic devices can send or receive voice messages.
[0003] Taking sending voice messages by an electronic device as an example, when a user needs to send a voice message to contact A, the user can trigger the electronic device to display the conversation interface of contact A, and long press the voice recording control in the conversation interface and speak the voice content to be sent, so as to trigger the electronic device to record the voice content; then, after the user's finger leaves the voice recording control, the electronic device can generate a voice message based on the recorded voice content and send the voice message to contact A. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a voice message processing method, device and electronic device, which can improve the flexibility of the electronic device in sending voice messages.
[0005] In a first aspect, an embodiment of the present application provides a voice message processing method, the method comprising: receiving a first input from a user to a voice recording control in a first window while displaying a first window and at least one second window; recording a first voice message in response to the first input; receiving a second input from the user; performing a first operation in response to the second input; wherein the first operation comprises any one of the following: splicing the first voice message with the first audio information in a first multimedia file to obtain a second voice message, the first multimedia file being a multimedia file played in a first target window in at least one second window; sending the first voice message through the first window, and recording a third voice message corresponding to a second target window in at least one second window; sending the first voice message through the first window and the third target window in at least one second window.
[0006] In a second aspect, an embodiment of the present application provides a voice message processing device, which includes: a display module, a receiving module and a control module; the receiving module is used to receive a first input from a user to a voice recording control in the first window when the display module displays a first window and at least one second window; the control module is used to record a first voice message in response to the first input received by the receiving module; the receiving module is also used to receive a second input from the user; the control module is also used to perform a first operation in response to the second input; wherein the first operation includes any one of the following: splicing the first voice message with the first audio information in a first multimedia file to obtain a second voice message, the first multimedia file being a multimedia file played in a first target window of the at least one second window; sending the first voice message through the first window, and recording a third voice message corresponding to the second target window of the at least one second window; sending the first voice message through the first window and the third target window of the at least one second window.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0011] In an embodiment of the present application, a first input of a user to a voice recording control in a first window can be received when a first window and at least one second window are displayed; and in response to the first input, a first voice message is recorded; and a second input of the user is received; and in response to the second input, a first operation is performed; wherein the first operation includes any of the following: splicing the first voice message with the first audio information in the first multimedia file to obtain a second voice message, the first multimedia file being a multimedia file played by a first target window in at least one second window; sending the first voice message through the first window, and recording a third voice message corresponding to a second target window in at least one second window; sending the first voice message through the first window and the third target window in at least one second window. Through this scheme, when the first window and at least one second window are displayed, since the user can first record the first voice message through an input to the first window, and then trigger the splicing of the first voice message with the specific voice information of the media file played in the window to obtain the second voice message through another input, or sending the first voice message through the first window and the second target window, or continuing to record the voice message through the third target window while sending the first voice message through the first window, the flexibility of processing voice messages can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is a flowchart of a voice message processing method provided in an embodiment of the present application;
[0013] Figure 2 This is one of the interface schematic diagrams of the voice message processing method provided in the embodiment of the present application;
[0014] Figure 3 This is the second interface schematic diagram of the voice message processing method provided in the embodiment of the present application;
[0015] Figure 4 This is the third interface diagram of the voice message processing method provided in the embodiment of the present application;
[0016] Figure 5 This is the fourth interface diagram of the voice message processing method provided in the embodiment of the present application;
[0017] Figure 6 This is the fifth interface diagram of the voice message processing method provided in the embodiment of the present application;
[0018] Figure 7 This is the sixth interface diagram of the voice message processing method provided in the embodiment of the present application;
[0019] Figure 8 This is the seventh interface diagram of the voice message processing method provided in the embodiment of the present application;
[0020] Fig. 9 It is a structural diagram of a voice message processing device provided in an embodiment of the present application;
[0021] Fig.10 It is one of the structural schematic diagrams of the electronic device provided in the embodiment of the present application;
[0022] Fig.11 This is the second structural schematic diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0025] The voice message processing method, device, electronic device and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0026] The present application provides a method for processing a voice message. Figure 1 A possible flow chart of the voice message processing method provided in the embodiment of the present application is shown as follows: Figure 1 As shown, the voice message processing method provided in the embodiment of the present application may include the following steps 101 to 104. The following is an example of an electronic device executing the method.
[0027] Step 101: While displaying a first window and at least one second window, the electronic device receives a first input from a user to a voice recording control in a first window.
[0028] In the embodiment of the present application, the first window may be a conversation interface. It can be understood that the voice recording control is a control for performing voice recording through the conversation interface.
[0029] Optionally, the first input can be any one of the following: a long press input of the voice recording control by the user, a voice command input by the user, or a specific gesture input by the user. The specific input can be determined according to actual usage requirements, and the embodiment of the present application is not limited to this.
[0030] Optionally, the specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input.
[0031] Optionally, the first window may include a conversation interface between the user and the group, or may include a conversation interface between the user and the contact.
[0032] Optionally, the first window and the at least one second window respectively include interfaces of different applications.
[0033] For example, the first window includes a conversation interface of conversation application 1, and at least one second window includes a video playback interface in video application 1 and a conversation interface in conversation application 2, respectively.
[0034] Optionally, the electronic device can display the first window and at least one second window in a split-screen manner; or, the electronic device can display at least one second window in picture-in-picture format on the first window; or, the electronic device can display the first window and the remaining second windows in picture-in-picture format on a second window. The specific details can be determined based on actual usage requirements and are not limited in the embodiments of the present application.
[0035] For example, Figure 2 As shown, the electronic device can display three windows in split screen, namely window 1, window 2 and window 3, and display the conversation interface in social application (Application, App) 1 in window 1, display the conversation interface in social APP 2 in window 2, and display the video playback interface in the video application in window 3. Among them, the first window can be window 1 or window 2.
[0036] Step 102: The electronic device records a first voice message in response to a first input.
[0037] In the embodiment of the present application, the first voice message is recorded by the electronic device through the conversation interface in the first window.
[0038] In the embodiment of the present application, assuming that the first window includes a target conversation interface in the target conversation application, then: "recording a first voice message" can be understood as: recording a first voice message associated with the target conversation interface through the target conversation application. Specifically, after recording the first voice message, the electronic device can directly send the first voice message through the first window. Furthermore, "sending the first voice message through the first window" can be understood as: sending the first voice message to the contact object corresponding to the target conversation interface.
[0039] Step 103: The electronic device receives a second input from the user.
[0040] Step 104: The electronic device performs a first operation in response to the second input.
[0041] The first operation may include any one of the following operations 1 to 3.
[0042] Operation 1: splicing a first voice message with first audio information in a first multimedia file to obtain a second voice message, wherein the first multimedia file is a multimedia file played in a first target window of at least one second window.
[0043] Operation 2: Send a first voice message through the first window, and record a third voice message corresponding to the second target window in at least one second window.
[0044] Operation 3: Send the first voice message through the first window and the third target window in at least one second window.
[0045] In the voice message processing method provided in the embodiment of the present application, when a first window and at least one second window are displayed, since the user can first record a first voice message through an input to the first window, and then trigger through another input to splice the first voice message with specific voice information of the media file played in the simultaneously displayed window to obtain a second voice message, or send the first voice message through the first window and the second target window, or continue to record the voice message through the third target window while sending the first voice message through the first window, the flexibility of processing voice messages can be improved.
[0046] Optionally, the electronic device may splice the first audio information after or before the message content of the first voice message to obtain the second voice message.
[0047] Optionally, the first multimedia file can be an audio file, a video file or any other multimedia file associated with voice content. For example, the first multimedia file can be a playback interface of a movie, or a playback interface of a piece of music, or a broadcast interface.
[0048] The voice message processing method provided in the embodiment of the present application is described below in combination with operation 1, operation 2 and operation 3.
[0049] Operation 1:
[0050] Operation 1 may also be referred to as a sound collection solution under multiple windows.
[0051] Optionally, in the case where the first operation includes operation 1, the second input may include a first sub-input and a second sub-input. The above step 103 may be implemented by the following steps 103a and 103b, and the above step 104 may be implemented by the following steps 104a and 104b.
[0052] Step 103a: The electronic device receives a first sub-input from the user.
[0053] Step 104a: The electronic device starts an audio recording function in response to the first sub-input.
[0054] Optionally, the first sub-input and the first input may be continuous in time.
[0055] Optionally, the first sub-input may specifically be a sliding input of sliding from the voice recording control displayed in the first window to the first target window.
[0056] For example, after the user thinks that the recording of the first voice message is completed, the user does not release the voice recording control and slides the finger to the first target window. In this way, the electronic device can confirm that the user needs to splice the audio information in the first multimedia file with the first voice message that has been recorded, so that the audio recording function of recording the audio information in the first multimedia file can be turned on.
[0057] Optionally, in order to prompt the user that the electronic device has turned on the audio recording function, after receiving the first sub-input, the electronic device may display a message identifier of the first voice message on the first target window.
[0058] Step 103b: the electronic device receives a second sub-input from the user.
[0059] Step 104b: In response to the second sub-input, the electronic device obtains the first audio information corresponding to the second sub-input in the first multimedia file, and concatenates the first voice message with the first audio information to obtain a second voice message.
[0060] Optionally, the second sub-input can be an input for the user to trigger the playback of the first audio information in the first multimedia file, or can be an input for dragging the playback progress indicator in the first target window from the corresponding starting playback position of the first audio information to the corresponding playback end position of the first audio information.
[0061] Optionally, before executing the first input, the user can first trigger the electronic device to stop playing the first multimedia file by inputting the play control in the first target window; and drag the play progress indicator in the first target window to the start play position corresponding to the first audio information. Thus, after the user triggers the electronic device to start the audio recording function through the first sub-input, the user can directly drag the play progress indicator from the start play position to the play end position corresponding to the first audio information.
[0062] In this way, since the currently recorded voice message can be spliced with the voice information in the currently played media file, compared with the solution of only recording voice messages in the related art, the voice message processing method provided in the embodiment of the present application can improve the flexibility and diversity of obtaining voice messages.
[0063] Optionally, after the electronic device receives the second voice message, the electronic device can send the second voice message through the first window. Thus, compared with the solution in the related art that can only send recorded voice messages, the voice message processing method provided in the embodiment of the present application can improve the flexibility and diversity of sending voice messages.
[0064] Optionally, when the first operation includes operation 1, after the above step 104, the voice message processing method provided in the embodiment of the present application may further include the following steps 105 and 106.
[0065] Step 105: The electronic device receives a third input from the user regarding a message identifier corresponding to the second voice message.
[0066] The third input is an input of dragging the message identifier corresponding to the second voice message to the corresponding area of the fourth target window in the at least one second window.
[0067] Step 106: In response to the third input, send a second voice message through the fourth target window.
[0068] Optionally, the electronic device may display the message identifier corresponding to the second voice message after obtaining the second voice message, or may display the message identifier corresponding to the second voice message while obtaining the second voice message.
[0069] Optionally, the fourth target window includes a conversation interface. For a description of the conversation interface, refer to the relevant description in the above step 102 .
[0070] It is understandable that the embodiment of the present application does not limit the number of the fourth target window, that is, the fourth target window can be one window or multiple windows. When the fourth target window can be multiple windows, the electronic device can send the second voice message through the multiple windows respectively.
[0071] The voice message processing method provided in the embodiment of the present application is exemplarily described below with reference to the accompanying drawings.
[0072] For example, take the sound collection under multi-window as an example. When a user sees a section of dialogue in a video (i.e., the first multimedia file) that is well spoken, and wants to send it to a friend and add his own content: "Sending it to you, the voice of this section of dialogue is really good (the user's own voice): "XXXXXXXXX" (the part of the dialogue in the video)", the user can first record his own voice and then collect the sound of the video. Specifically, if Figure 3 As shown in (a), in the first step, the user first moves the video progress bar 31 in the first target window 30 to the time point where the video needs to be collected, that is, the starting playback position corresponding to the first audio information, and then triggers the electronic device to pause the video playback by clicking the playback control 32 in the video playback interface 30. In the second step, the user long presses on the voice recording box 34 in the first window 33 to trigger the electronic device to record his own voice, and says the voice content: "I'll send it to you to see, the voice of this line is so good", that is, the electronic device receives and responds to the first input to record the first voice message; then the finger is not released, and the finger slides in the direction of the first target window 30. At this time, as shown in FIG. Figure 3 As shown in (b) of FIG. 3 , the voice content just spoken by the user will be turned into a voice message mark 35 and displayed in the first target window 30. In the third step, Figure 4 As shown in (b), the user continues to click the video playback control 32 in the first target window 30, and the electronic device starts to continue playing the video, and the played audio information will be automatically spliced to the end of the voice message recorded by the user. In the fourth step, the user clicks the video playback control 32 again to trigger the pause of the video playback, indicating that the sound collection of the video lines is completed, thereby obtaining the second voice message; it can be seen that the user's operations in the third and fourth steps are the second sub-input.
[0073] Then as Figure 3 As shown in (c) in FIG. 1 , the electronic device may update the message identifier 35 of the first voice message to the message identifier 36 of the second voice message. Figure 3 As shown in (c), the electronic device can display the duration "3s" of the user's recorded voice and the duration "5s" of the audio information in the video on the message identifier 36 of the second voice message, and can also display the application identifiers of different acquisition sources on the message identifier 36 of the second voice message, such as the application identifier "Y1" of the social application 1 corresponding to the conversation interface in the first window 33, and the application identifier "Y2" of the video application corresponding to the video playback interface in the first target window.
[0074] Furthermore, since the electronic device can display the message identifier of the second voice message, if the user needs to forward the second voice message to "Li Si", Figure 3 As shown in (c), the user can drag the message identifier 36 of the second voice message to the fourth target window 37 including the conversation interface with "Li Si" to trigger the electronic device to send the second voice message to "Li Si" through the fourth target window 37.
[0075] In this way, after the electronic device splices the recorded voice message with the audio information in the multimedia file, it can display the message identifier corresponding to the spliced voice message, so that the user can trigger the electronic device to send the spliced voice message through other windows currently displayed by inputting the message identifier, thereby further improving the flexibility of sending voice messages.
[0076] Operation 2:
[0077] In the embodiment of the present application, in operation 2, the second input may be a sliding input of the user to the voice recording control. The above step 104 may be specifically implemented by the following step 104c.
[0078] Step 104c: In response to the sliding input, the electronic device sends a first voice message through the first window and records a third voice message corresponding to the second target window in at least one second window.
[0079] The second target window is determined based on the sliding input.
[0080] Optionally, the second target window may include any of the following:
[0081] A window in the at least one second window that is on the sliding track of the sliding input;
[0082] A window in the at least one second window located in the sliding direction of the sliding input;
[0083] A first window in the at least one second window located in the sliding direction of the sliding input;
[0084] The window corresponding to the sliding end position of the sliding input in the at least one second window.
[0085] It should be noted that the second target window includes a conversation interface, which is different from the conversation interface in the first window. For example, the first window and the second target window include conversation interfaces in different conversation applications.
[0086] Optionally, after receiving the third voice message, the electronic device may send the third voice message through the second target window.
[0087] Optionally, the second input may be performed when the first input ends, for example, a sliding input in which the user does not leave the voice recording control and slides along the first direction on the voice recording control.
[0088] Among them, when the user completes recording the first voice message, if the user still wants to send another voice message, i.e., a third voice message, to the contact object corresponding to the conversation interface in the second target window of at least one second window, the user can slide a finger from the voice recording control to the direction of the second target window, i.e., the first direction, to trigger the electronic device to send the first voice message through the first window, and activate the voice recording control in the second target window to record the third voice message corresponding to the second target window. After the second input is completed, the electronic device can automatically send the third voice message through the second target window, so that the contact object corresponding to the conversation interface in the second target window can receive the third voice message.
[0089] In this way, after completing the recording of the voice message in one window, directly sliding in the direction of the next window can trigger the electronic device to send the recorded voice message through the one window and continue recording the voice message corresponding to the other window. Therefore, compared with the solution in which the user inputs the voice recording controls in different windows in turn to trigger the electronic device to record and send voice messages respectively, the voice message processing method provided in the embodiment of the present application can not only improve the flexibility of voice message processing, but also simplify the operation process of sending different voice messages to contact objects corresponding to different session interfaces.
[0090] Optionally, after the above step 104c, the voice message processing method provided in the embodiment of the present application may further include the following step 107.
[0091] Step 107: The electronic device updates display positions of the first window and the second target window in response to the second input.
[0092] In this way, the user can know that the electronic device is currently recording a voice message corresponding to the second target window.
[0093] For example, if a user needs to record different voice content and send it to contacts in different social programs in different windows, in order to reduce the user's operating cost, such as Figure 4 As shown in (a) of FIG. 4 , the user can long press the voice recording control 41 in the first window 40 to trigger the electronic device to record a first voice message through the first window 40 (sent to the contact in the current window by default, such as “Li Si”), and then slide the voice recording control 41 upwards without releasing the gesture, as shown in FIG. Figure 4As shown in (b) of the figure, the electronic device exchanges the display positions of the first window 40 and the first second target window 42 including the conversation interface originally located above the first window 40, activates the voice recording control in the second target window 42, and automatically sends the first voice message to the contact "Li Si" corresponding to the conversation interface in the first window. In this way, the user can know that the electronic device is currently recording the voice message corresponding to the second target window.
[0094] Operation 3:
[0095] Optionally, in operation 3, the second input may be an input from sliding the voice recording control to the interface identifier of the conversation interface in the third target window. The interface identifier may be an identifier of the conversation application corresponding to the conversation interface in the third target window, such as an application icon.
[0096] In this way, since the user can trigger the electronic device to send the recorded voice message through the first window and the third window of the at least one second window through the second input, the efficiency of recording and sending the voice message can be improved.
[0097] Optionally, in operation 3, after the above step 101, the voice message processing method provided in the embodiment of the present application may further include the following step 108, and the above step 104 may be specifically implemented by the following step 104d.
[0098] Step 108: The electronic device displays at least one application identifier corresponding to the at least one second window in response to the first input.
[0099] The second input may include: a selection input of a target application identifier among the at least one application identifier. For example, the sliding input may include: an input of sliding from the voice recording control to the target application identifier when the first input ends.
[0100] It should be noted that at least one second window corresponds to at least one application identifier.
[0101] Step 104d: the electronic device sends the first voice message through the first window and the third target window in response to the selection input;
[0102] The third target window is a window corresponding to the target application identifier.
[0103] The voice message processing method provided in the embodiment of the present application is exemplarily described below with reference to the accompanying drawings.
[0104] For example, voice message distribution in multiple windows: Figure 5As shown in (a) in the figure, the first window 50 includes a conversation interface of social APP1, and the conversation interface corresponds to the contact "Zhang San", and the second window 52 includes a conversation interface of social APP2, and the conversation interface corresponds to the contact "Li Si". At this time, the user needs to send voice messages to the contacts of these different social programs at the same time. The specific process is: the user long presses on the voice recording control 51 in the first window 50 to trigger voice recording, such as "I haven't played ball for a long time, let's go play ball together in the afternoon". At this time, the terminal detects that it is currently in a multi-window state and there are conversation chat windows of multiple social programs. At this time, Figure 5 As shown in (a) of FIG. 5 , the electronic device may display the application identifier “Y2” of the social APP2 in the adjacent area of the voice recording control 51; Figure 5 As shown in (b), when the voice recording is finished, the user can keep the gesture and slide the finger to the application logo "Y2". When the user's finger leaves "Y2", the electronic device automatically sends the recorded voice message to "Zhang San" and "Li Si".
[0105] Optionally, the voice message sending method provided in the embodiment of the present application may further include the following step 109.
[0106] Step 109: When the electronic device is playing the fourth voice message in the first window, if the first condition is met, the playing volume of the second multimedia file is lowered.
[0107] The second multimedia file is a multimedia file played in the fifth target window of the at least one second window.
[0108] In the embodiment of the present application, the first condition may include: the playback priority corresponding to the fourth voice message is higher than the playback priority corresponding to the second multimedia file.
[0109] In the embodiment of the present application, the playback priority corresponding to the second multimedia file may specifically be the playback priority corresponding to the content currently being played in the second multimedia file. For example, the playback priority may be set for at least some objects in the second multimedia file. Thus, when the sounds and voice messages of these objects are played simultaneously, the electronic device may turn down the sounds of these objects, thereby preventing the user from missing the voice content in the voice message.
[0110] In this way, when the electronic device simultaneously displays the playback window and the conversation window (ie, the first window) of the multimedia file, since the electronic device can reduce the playback volume of the multimedia file when the first condition is met, the user can avoid missing the voice content in the important voice message.
[0111] Optionally, before the above step 109, the voice message sending method provided in the embodiment of the present application may further include the following steps 110 and 111.
[0112] Step 110: The electronic device receives a fourth input from the user.
[0113] Step 111: In response to a fourth input, the electronic device performs a second operation corresponding to the fourth input.
[0114] The second operation may include any one of the following operations 4 and 5:
[0115] Operation 4: Associating at least part of the contact objects corresponding to the first window with the first play priority.
[0116] Operation 5: Associating at least a portion of the playback content in the second multimedia file with the second playback priority.
[0117] In the embodiment of the present application, the first playback priority is higher than the second playback priority.
[0118] In the embodiment of the present application, the at least some of the contact objects include the contact object to which the fourth voice message is sent.
[0119] Optionally, the fourth input may include a third sub-input and a fourth sub-input.
[0120] Optionally, in operation 4, the third sub-input is an input for triggering the electronic device to display the identifiers of all contact objects corresponding to the first window; the fourth sub-input is an input for triggering the electronic device to associate the objects indicated by all or part of the identifiers with the first playback priority.
[0121] Specifically, the third sub-input can be any of the following: a long press input of the first window by the user, a voice command input by the user, or a specific gesture input by the user, which can be determined according to actual usage requirements, and the embodiments of the present application do not limit this. The fourth sub-input can be an input by the user on the mark indicating the first playback priority, a voice command input by the user, or a specific gesture input by the user, which can be determined according to actual usage requirements, and the embodiments of the present application do not limit this. For other descriptions of the third sub-input and the fourth sub-input, refer to the relevant description of the first input in the above embodiment.
[0122] Optionally, in operation 5, taking the second multimedia file as a video file as an example, the third sub-input is the user's input to a specific playback object displayed in the fifth target window, such as a long press input, a voice command input by the user, or a specific gesture; after the electronic device receives the third sub-input, it can display a "social voice priority" option, and then the user can perform a fourth sub-input on the "social voice priority" option, such as a long press input on the option, a specific voice command input by the user for selecting a second playback priority, or a specific gesture; then the electronic device can associate the playback content corresponding to the specific playback object (i.e., the target playback content) with the second playback priority.
[0123] The voice message processing method provided in the embodiment of the present application is exemplarily described below with reference to the accompanying drawings.
[0124] For example, when an electronic device displays multiple windows, and different windows include different interfaces, if there is sound playback, it will inevitably involve the problem of sound focus grabbing. For example, if a video is played through one window, and a voice message is sent to a contact through another window, if the voice message and the video are played at the same time, they will affect each other. If the video is played after the voice message is finished, it is not smart enough. If there is a video clip that the user does not really want to listen to, the user can devote more to the voice message chat. Therefore, different priorities can be set for the sound playback in different windows: the playback program detects through the system that there are other applications in multiple windows, such as social voice programs, such as Figure 6 As shown, the user long presses on the playback character 61 in the video window 60 (i.e., the fifth target window) (i.e., the third sub-input), and an option is displayed in the playback window: "Social voice playback priority" option; for example, if the user does not like the playback of the playback character 61 or does not think it is very important, the user clicks the "Social voice playback priority" option (i.e., the fourth sub-input), and the player records this option and synchronizes this option to the system, i.e., the electronic device, so that the electronic device associates the audio content corresponding to the playback character 61 with the second playback priority. Later, a voice message is received through the conversation window. If the voice played in the video window 60 happens to be the voice of the character for which "social voice playback priority" has been set above, then the electronic device will control the social application corresponding to the conversation window to directly play the latest received voice message, and notify the player to lower the volume of the audio content of the character. A video window refers to a window that includes a video playback interface.
[0125] Correspondingly, if the conversation window is a group chat scene, some members in the group chat may be associated with the first playback priority so that the voice messages of these members can be played in priority over the audio content in the multimedia file. The conversation window refers to a window including a conversation interface. Among them, the playback strategy of the voice messages of the members in the group chat who are not associated with the first playback priority is the same as the strategy for playing the voice messages in the related art.
[0126] In this way, since the user can trigger the electronic device to set the playback priority of specific playback content in the multimedia or set the playback priority of at least some contact objects corresponding to the target conversation interface according to his / her usage needs, the flexibility of the electronic device in playing voice messages when displaying multiple interfaces can be improved.
[0127] It should be noted that the embodiment of the present application further provides another voice message processing method, specifically, the voice message processing method may include the following steps A to G. Take the electronic device executing the method as an example.
[0128] In step A, the electronic device receives a first target input to the play window while displaying a conversation window of a conversation application and a play window of a multimedia file.
[0129] Optionally, the first target input can be a long press input by the user on the play window, a voice command input by the user, or a specific gesture input by the user, which can be determined according to actual usage requirements, and the embodiment of the present application does not limit this. For other descriptions of the first target input, please refer to the relevant description of the first input in the above embodiment.
[0130] Step B: The electronic device displays an audio extraction control and an application identifier of a conversation application in response to the first target input.
[0131] Among them, the audio extraction control can be used to obtain audio information from multimedia files.
[0132] Optionally, in response to the first target input, the electronic device may further display: a video extraction control and a picture extraction control, wherein the video extraction control is used to obtain a video clip from a multimedia file, and the picture extraction control is used to obtain a video picture (ie, excluding sound) from a multimedia file.
[0133] It can be understood that when the electronic device displays the session windows of multiple session applications, the electronic device can display the application identification of each of the session applications.
[0134] Step C: The electronic device receives a second target input of the user for the audio extraction control and the application identifier.
[0135] Optionally, the second target input may include: user touch input (such as long press input) of the audio extraction control and application identifier, voice commands input by the user, or specific gestures input by the user, which can be determined according to the actual needs and are not limited to this in the embodiments of the present application.
[0136] For other descriptions of the second target input, please refer to the relevant description of the first input in the above embodiment. Step D: In response to the second target input, the electronic device selects at least one contact object from the conversation application and displays the object identifier of the at least one contact object in the conversation application at the first playback position of the playback window.
[0137] The first play position is the same as the display position of the play progress indicator in the play window of the multimedia file.
[0138] Step E: The electronic device receives a third target input from the user to the play window.
[0139] Optionally, the third target input may include: input of dragging the playback progress indicator in the playback window from the first playback position to the second playback position, long press input on the first playback position and the second playback position, voice commands input by the user, or specific gestures input by the user, etc., any input that can specify the range of audio information extraction.
[0140] Step F: In response to the third target input, the electronic device obtains target audio information between the first playback position and the second playback position in the multimedia file, and generates a target voice message using the target audio information.
[0141] Step G: The electronic device sends a target voice message to at least one contact object.
[0142] The voice message processing method provided in the embodiment of the present application is exemplarily described below with reference to the accompanying drawings.
[0143] For example, Figure 7 As shown in (a) of FIG. 1 , the electronic device displays a conversation window 70 corresponding to "Zhang San" in the social application 1, a conversation window 71 corresponding to "Li Si" in the social application 1, and a video playback window 72. If the user wants to extract a segment of audio information in the video to a certain contact such as "Zhang San", the user can first drag the progress bar in the playback window 72 to the beginning of the audio information, and then the user long presses the progress bar, that is, the electronic device receives the first target input; thus, the electronic device responds to the first target input, such as Figure 7As shown in (b) of the figure, the electronic device may display an option list 73, an application icon mark Y1 of social application 1, and an application icon mark Y2 of social application 2. The option list 73 includes a "video extraction" option, an "audio extraction only" option (i.e., an audio extraction control), and an "image extraction only" option (i.e., an image extraction control). At this time, the user clicks the "audio extraction only" option to trigger the electronic device to start the audio extraction function. Then, after the user clicks the application icon Y1 of social application 1, the electronic device may display a contact list of social application 1 (not shown in the figure), so that Figure 7 As shown in (c) of FIG. 1 , the user can drag a contact avatar 74 of a contact in the contact list to the position of the progress bar; and then further drag the progress bar to the end position of the sound of the audio information. After dragging the progress bar, the section between the contact avatar 74 and the current position of the progress bar represents the sound extraction range; as shown in FIG. Figure 7 In (c), the user can long press the contact avatar 74, such as Figure 7 As shown in (d) in FIG. 8 , the electronic device may display a “Send” option 75 . When the user clicks the “Send” option 75 , the electronic device may send the voice message to the contact.
[0144] In this way, when the electronic device simultaneously displays the conversation window of the conversation application and the playback window of the multimedia file, the user can trigger the electronic device to generate a voice message from the audio information in the currently playing multimedia file and send the voice message to at least one contact object in the conversation application, thereby improving the flexibility of sending voice messages.
[0145] In addition, when the electronic device displays multiple windows, if the sound in one window needs to be needed by the application in another window, the sound sharing between different applications is realized. Specifically, assuming that the electronic device displays a conversation window and a multimedia file playback window, then Figure 8 As shown in (a) of FIG. 8 , the user can drag the voice message 81 in the conversation window 80 to the play window 82 by gesture, and the play window 82 will pause playing the video. Figure 8 As shown in (b) in the figure, the voice message 81 is first displayed in a floating manner in the playback window 82. The user can use gestures to drag the playback progress bar of the video, select the time to be inserted, and then the electronic device can insert the voice message 81 into the video.
[0146] The voice message processing method provided in the embodiment of the present application can be executed by a voice message processing device. In the embodiment of the present application, a voice message processing device executing the voice message processing method is taken as an example to illustrate the voice message processing device provided in the embodiment of the present application.
[0147] The present application also provides a voice message processing device. Fig. 9 FIG. 4 shows a schematic diagram of the structure of a voice message processing device provided in an embodiment of the present application. Fig. 9 As shown, the voice message processing device 90 may include: a display module 91 , a receiving module 92 and a control module 93 .
[0148] The receiving module 92 is used to receive a first input of a user to a voice recording control in the first window when the display module 91 displays the first window and at least one second window;
[0149] The control module 93 is used to record a first voice message in response to the first input received by the receiving module 92;
[0150] The receiving module 92 is further used to receive a second input from a user;
[0151] The control module 93 is further configured to execute a first operation in response to the second input;
[0152] The first operation includes any one of the following:
[0153] splicing the first voice message with first audio information in a first multimedia file to obtain a second voice message, wherein the first multimedia file is a multimedia file played in a first target window of the at least one second window;
[0154] Sending the first voice message through the first window, and recording a third voice message corresponding to the second target window in the at least one second window;
[0155] The first voice message is sent through the first window and a third target window in the at least one second window.
[0156] In a possible implementation, the control module 93 is further configured to send the second voice message through the first window after receiving the second voice message.
[0157] In one possible implementation, the second input includes a first sub-input and a second sub-input; the control module 93 is specifically used to enable the audio extraction function in response to the first sub-input; and in response to the second sub-input, obtain the first audio information corresponding to the second sub-input in the first multimedia file, and splice the first voice message with the first audio information to obtain the second voice message.
[0158] In a possible implementation, the receiving module 92 is further configured to receive a third input from a user for a message identifier corresponding to the second voice message after the control module 93 obtains the second voice message, wherein the third input is an input of dragging the message identifier to a corresponding area of a fourth target window in the at least one second window;
[0159] The control module 93 is further configured to send the second voice message through the fourth target window in response to the third input received by the receiving module 92 .
[0160] In a possible implementation, the second input includes: a user dragging the voice recording control;
[0161] A control module 93, specifically configured to send the first voice message through the first window in response to the sliding input, and record a third voice message corresponding to the second target window in the at least one second window;
[0162] The second target window is determined based on the sliding input.
[0163] In a possible implementation, the control module 93 is further configured to update display positions of the first window and the second target window in response to the second input after the receiving module 92 receives the second input.
[0164] In a possible implementation, the control module 93 is further configured to display at least one application identifier corresponding to the at least one second window in response to the first input after the receiving module 92 receives the first input;
[0165] The second input includes: a selection input of a target application identifier among the at least one application identifier; the control module 93 is specifically configured to send the first voice message through the first window and the third target window in response to the selection input;
[0166] The third target window is a window corresponding to the target application identifier.
[0167] In a possible implementation, the voice message processing device further includes a playing module; the control module 93 is further configured to, during the process of the playing module playing the fourth voice message in the first window, if the first condition is met, lower the playing volume of the second multimedia file, the second multimedia file being the multimedia file played in the fifth target window of the at least one second window;
[0168] The first condition includes:
[0169] The play priority corresponding to the fourth voice message is higher than the play priority corresponding to the second multimedia file.
[0170] In the voice message processing device provided in the embodiment of the present application, when a first window and at least one second window are displayed, since the user can first record a first voice message through an input to the first window, and then trigger through another input to splice the first voice message with specific voice information of a media file played in the simultaneously displayed window to obtain a second voice message, or send the first voice message through the first window and the second target window, or continue to record a voice message through the third target window while sending the first voice message through the first window, the flexibility of processing voice messages can be improved.
[0171] The voice message processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0172] The voice message processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0173] The voice message processing device provided in the embodiment of the present application can achieve Figures 1 to 8 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0174] Alternatively, if Fig.10As shown, an embodiment of the present application also provides an electronic device 600, including a processor 601 and a memory 602, wherein the memory 602 stores a program or instruction that can be executed on the processor 601, and when the program or instruction is executed by the processor 601, the various steps of the above-mentioned voice message processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0175] Fig.11 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0176] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
[0177] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.11 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0178] The user input unit 707 is used to receive a first input of a user to a voice recording control in the first window when the display unit 706 displays the first window and at least one second window;
[0179] The processor 710 is configured to record a first voice message in response to a first input received by the user input unit 707;
[0180] The user input unit 707 is further used to receive a second input from the user;
[0181] The processor 710 is further configured to execute a first operation in response to a second input;
[0182] The first operation includes any of the following:
[0183] splicing the first voice message with the first audio information in the first multimedia file to obtain a second voice message, wherein the first multimedia file is a multimedia file played in the first target window of at least one second window;
[0184] Sending a first voice message through the first window, and recording a third voice message corresponding to the second target window in at least one second window;
[0185] The first voice message is sent through the first window and at least one third target window in the second window.
[0186] In a possible implementation, the processor 710 is further configured to send the second voice message through the first window after receiving the second voice message.
[0187] In a possible implementation, the second input includes a first sub-input and a second sub-input;
[0188] Processor 710 is specifically used to start the audio extraction function in response to the first sub-input; and in response to the second sub-input, obtain the first audio information corresponding to the second sub-input in the first multimedia file, and splice the first voice message with the first audio information to obtain the second voice message.
[0189] In a possible implementation, the user input unit 707 is further configured to receive, after the processor 710 obtains the second voice message, a third input from the user for a message identifier corresponding to the second voice message, where the third input is an input of dragging the message identifier to a corresponding area of a fourth target window in at least one second window;
[0190] The processor 710 is further configured to send a second voice message through a fourth target window in response to a third input received by the user input unit 707 .
[0191] In a possible implementation, the second input includes: a user dragging input on the voice recording control;
[0192] The processor 710 is specifically configured to send a first voice message through the first window in response to the sliding input, and record a third voice message corresponding to the second target window in at least one second window;
[0193] The second target window is determined based on the sliding input.
[0194] In a possible implementation, the processor 710 is further configured to update display positions of the first window and the second target window in response to the second input after the user input unit 707 receives the second input.
[0195] In a possible implementation, the processor 710 is further configured to display at least one application identifier corresponding to the at least one second window in response to the first input after the user input unit 707 receives the first input;
[0196] The second input includes: a selection input of a target application identifier among at least one application identifier;
[0197] The processor 710 is specifically configured to send the first voice message through the first window and the third target window in response to the selection input;
[0198] The third target window is a window corresponding to the target application identifier.
[0199] In a possible implementation, the voice message processing device further includes an audio output unit 703;
[0200] The processor 710 is further configured to, during the process in which the audio output unit 703 plays the fourth voice message in the first window, if the first condition is met, lower the playback volume of the second multimedia file, where the second multimedia file is a multimedia file played in the fifth target window of the at least one second window;
[0201] The first condition includes:
[0202] The play priority corresponding to the fourth voice message is higher than the play priority corresponding to the second multimedia file.
[0203] In the electronic device provided in the embodiment of the present application, when a first window and at least one second window are displayed, since the user can first record a first voice message through an input to the first window, and then trigger through another input to splice the first voice message with specific voice information of a media file played in the simultaneously displayed window to obtain a second voice message, or send the first voice message through the first window and the second target window, or continue to record a voice message through the third target window while sending the first voice message through the first window, the flexibility of processing voice messages can be improved.
[0204] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and at least one of other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0205] The memory 709 can be used to store software programs and various data. The memory 709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 709 may include a volatile memory or a non-volatile memory, or the memory 709 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 709 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0206] The processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 710.
[0207] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned message output method and / or message sending method embodiments are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0208] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0209] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned voice message processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0210] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0211] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned voice message processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0212] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0213] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0214] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A voice message processing method, characterized in that: The method comprises: In a case where a first window and at least one second window are displayed, receiving a first input from a user to a voice recording control in the first window; In response to the first input, recording a first voice message; receiving a second input from the user; In response to the second input, performing a first operation; The first operation includes any one of the following: When the first window includes a conversation interface of a conversation application and the at least one second window includes a video playback interface, the first voice message is concatenated with first audio information in a first multimedia file in the video playback interface to obtain a second voice message; Sending the first voice message through the first window, and recording a third voice message corresponding to the second target window in the at least one second window; In a case where the second input is an input of an identifier of a conversation application in a third window of the at least one second window, the first voice message is sent through the first window and a third target window of the at least one second window.
2. The method according to claim 1, characterized in that After obtaining the second voice message, the method further includes: The second voice message is sent through the first window.
3. The method according to claim 1, characterized in that The second input includes a first sub-input and a second sub-input; In response to the second input, performing a first operation includes: In response to the first sub-input, starting an audio extraction function; In response to the second sub-input, the first audio information corresponding to the second sub-input in the first multimedia file is obtained, and the first voice message is concatenated with the first audio information to obtain the second voice message.
4. The method according to any one of claims 1 to 3, characterized in that After obtaining the second voice message, the method further includes: receiving a third input from a user for a message identifier corresponding to the second voice message, wherein the third input is an input of dragging the message identifier to a corresponding area of a fourth target window in the at least one second window; In response to the third input, the second voice message is sent through the fourth target window.
5. The method according to claim 1, characterized in that The second input includes: a user dragging the voice recording control; In response to the second input, performing a first operation includes: In response to the sliding input, sending the first voice message through the first window, and recording a third voice message corresponding to the second target window in the at least one second window; The second target window is determined based on the sliding input.
6. The method according to claim 5, characterized in that After receiving the second input from the user, the method further includes: In response to the second input, display positions of the first window and the second target window are updated.
7. The method according to claim 1, characterized in that After receiving a first input from a user to a voice recording control in the first window, the method further includes: In response to the first input, displaying at least one application identifier corresponding to the at least one second window; The second input includes: a selection input of a target application identifier among the at least one application identifier; In response to the second input, performing a first operation includes: In response to the selection input, sending the first voice message through the first window and the third target window; The third target window is a window corresponding to the target application identifier.
8. The method according to claim 1, characterized in that The method further comprises: During the playing of the fourth voice message in the first window, if the first condition is met, lowering the playing volume of the second multimedia file, where the second multimedia file is the multimedia file played in the fifth target window of the at least one second window; The first condition includes: The play priority corresponding to the fourth voice message is higher than the play priority corresponding to the second multimedia file.
9. A voice message processing device, characterized in that: The device comprises: a display module, a receiving module and a control module; The receiving module is used to receive a first input of a user to a voice recording control in the first window when the display module displays the first window and at least one second window; The control module is configured to record a first voice message in response to the first input received by the receiving module; The receiving module is further used to receive a second input from a user; The control module is further configured to execute a first operation in response to the second input; The first operation includes any one of the following: When the first window includes a conversation interface of a conversation application and the at least one second window includes a video playback interface, the first voice message is concatenated with first audio information in a first multimedia file in the video playback interface to obtain a second voice message; Sending the first voice message through the first window, and recording a third voice message corresponding to the second target window in the at least one second window; In a case where the second input is an input of an identifier of a conversation application in a third window of the at least one second window, the first voice message is sent through the first window and a third target window of the at least one second window.
10. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the voice message processing method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Interaction method and device
CN110391967A
Screen recording method and electronic equipment
CN110417991A
Audio file splicing method and device
CN112837709A