Audio file playing method, device, terminal and storage medium

By introducing the text dubbing function into the audio playback application, users can record dubbing for the text in the video file and play it back, which solves the problem of single text expression in the existing technology and improves the experience quality of audio file playback.

CN113535116BActive Publication Date: 2024-08-27GUANGZHOU KUGOU COMP TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202110896593.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-05
Publication Date
2024-08-27
Estimated Expiration
2041-08-05

AI Technical Summary

Technical Problem

Existing audio playback applications cannot effectively enrich the expression of text when playing audio files, limiting the user's sense of situational substitution and experience of music atmosphere.

Method used

Provides text dubbing function, allowing users to record dubbing for text in video files, and display and play dubbing files on the audio playback interface to enhance the presentation of text.

Benefits of technology

Through the text dubbing function, users can record dubbing for the text in the video file, which enriches the expression of the text. When playing the audio file, the user can not only see the video picture and text of the video file, but also hear the dubbing, which improves the performance of the video file. Situational immersion and quality of experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113535116B
    Figure CN113535116B
Patent Text Reader

Abstract

The present disclosure provides a method, device, terminal and storage medium for playing an audio file, and belongs to the field of Internet technology. The method comprises: displaying an audio playback interface of an audio file, on which a video screen of a video file and a text dubbing control are displayed; in response to a trigger operation for a text dubbing control, displaying a text dubbing interface, on which a dubbing upload control and at least one text are displayed; in response to a trigger operation for a dubbing recording control corresponding to any text, obtaining a dubbing file corresponding to the text; in response to a trigger operation for a dubbing upload control, uploading a target dubbing file to a server. The present disclosure provides a text dubbing function, so that a user can dub the text in a video file, so that when playing an audio file, not only the text added in the video file can be displayed, but also the dubbing corresponding to the text in the video file can be played, enriching the expression form of the text.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet technology, and in particular to a method, device, terminal and storage medium for playing an audio file. Background Art

[0002] In modern life, in order to relieve work pressure, many users will install audio playback applications in their terminals. In order to attract more users, audio playback applications provide a video upload function, allowing users to upload recorded video files. In order to better express the theme of the video file, after recording the video file, the user will add text to the recorded video file through the editing function, and then upload the video file with the added text.

[0003] In order to enhance the user's sense of immersion and enable the user to better understand the musical atmosphere created by the audio file, when playing the audio file based on the audio playback application, the terminal will display the video image of the video file and the added text on the audio playback interface. However, the related technology can only display the added text content on the audio playback interface, and the text expression form is relatively simple. Summary of the invention

[0004] The embodiments of the present disclosure provide a method, device, terminal and storage medium for playing an audio file, which provides a text dubbing function, allowing users to dub the text added to the video file based on the audio playback interface, thereby enriching the expression of the text. The technical solution is as follows:

[0005] In a first aspect, a method for playing an audio file is provided, the method comprising:

[0006] Display an audio playback interface for an audio file, wherein the audio playback interface displays a video screen and a text dubbing control for a video file;

[0007] In response to a trigger operation on the text dubbing control, a text dubbing interface is displayed, on which a dubbing upload control and at least one text are displayed, and each text corresponds to a dubbing recording control;

[0008] In response to a triggering operation of a dubbing recording control corresponding to any text, obtaining a dubbing file corresponding to the text;

[0009] In response to a trigger operation on the dubbing upload control, a target dubbing file is uploaded to a server, wherein the target dubbing file includes a dubbing file corresponding to a part or all of the text in the at least one text.

[0010] In another embodiment of the present disclosure, the text dubbing control includes at least one of a text recording prompt control and a contribution option in a menu bar, and the displaying of a text dubbing interface in response to a trigger operation on the text dubbing control includes:

[0011] In response to a triggering operation on the text recording prompt control, displaying the text dubbing interface; or,

[0012] In response to a selection operation on the contribution option, the text dubbing interface is displayed.

[0013] In another embodiment of the present disclosure, the at least one text is all or part of the text added to the video file, and the part of the text includes text that matches the gender attribute of the target account of the login client or text that matches the gender attribute specified by the target account.

[0014] In another embodiment of the present disclosure, a dubbing recording option and a dubbing progress bar are displayed on each dubbing recording control, and the dubbing progress bar is used to indicate the maximum recording time of the corresponding text;

[0015] The step of obtaining the dubbing file corresponding to any text in response to a triggering operation of a dubbing recording control corresponding to the text includes:

[0016] In response to a long press operation on a dubbing recording option on the dubbing recording control, collecting audio corresponding to the text;

[0017] In response to a release operation for the dubbing recording option or the recording duration reaching a maximum recording duration of the dubbing progress bar on the dubbing recording control, the recording of the audio corresponding to the text is stopped, and a dubbing file corresponding to the text is obtained.

[0018] In another embodiment of the present disclosure, after obtaining the dubbing file corresponding to the text, the method further includes:

[0019] In response to a re-recording operation on the dubbing file, the dubbing file corresponding to the text is re-recorded.

[0020] In another embodiment of the present disclosure, after uploading the target dubbing file to the server, the method further includes:

[0021] The first prompt message sent by the server is displayed, where the first prompt message is used to prompt the target account logged in to the client that the target dubbing file has been uploaded successfully and is in a review state.

[0022] In another embodiment of the present disclosure, after displaying the first prompt message sent by the server, the method further includes:

[0023] Displaying a second prompt message sent by the server, wherein the second prompt message includes a review result viewing link, and the second prompt message is used to prompt the target account to view the review result of the target dubbing file;

[0024] In response to a trigger operation on the audit result viewing link, an audit result interface is displayed, on which the audit result of each dubbing file included in the target dubbing file is displayed.

[0025] In another embodiment of the present disclosure, an audio playback control is also displayed on the audit result interface, and the method further includes:

[0026] In response to a trigger operation on the audio playback control, switching the audit result interface to the audio playback interface;

[0027] Play the audio file based on the audio playback interface and display the video screen;

[0028] When the playing time of the audio file reaches the display time of any text, the text is displayed and the dubbing file corresponding to the text is played.

[0029] In another embodiment of the present disclosure, playing the dubbing file corresponding to the text includes:

[0030] When the dubbing file corresponding to the text uploaded by the target account is reviewed and approved, the dubbing file corresponding to the text uploaded by the target account is played;

[0031] When the target account has not uploaded the dubbing file corresponding to the text or the dubbing file corresponding to the text uploaded by the target account has not passed the review, the dubbing file corresponding to the text uploaded by other accounts is played.

[0032] In another embodiment of the present disclosure, the method further includes:

[0033] During the process of playing the dubbing file corresponding to the text, displaying the attribute information of the account that published the dubbing file;

[0034] In response to a triggering operation on the attribute information, the audio playback interface is switched to a personal information page of the account.

[0035] In another embodiment of the present disclosure, an original sound playback control is displayed on the audio playback interface, and the method further includes:

[0036] During the process of playing the dubbing file corresponding to the text, in response to a triggering operation on the original sound playing control, the playing of the dubbing file corresponding to the text is stopped.

[0037] In another embodiment of the present disclosure, a historical dubbing file viewing control is displayed on the text dubbing interface and the audit result interface, and the method further includes:

[0038] In response to a trigger operation on the historical dubbing file viewing control, the historical dubbing files are displayed, wherein the historical dubbing files include all dubbing files related to the video file uploaded by the target account or all dubbing files of the target account.

[0039] In a second aspect, a device for playing an audio file is provided, the device comprising:

[0040] A display module, used to display an audio playback interface of an audio file, wherein the audio playback interface displays a video image of a video file and a text dubbing control;

[0041] The display module is used to display a text dubbing interface in response to a trigger operation on the text dubbing control, wherein the text dubbing interface displays a dubbing upload control and at least one text, and each text corresponds to a dubbing recording control;

[0042] An acquisition module, for acquiring a dubbing file corresponding to any text in response to a triggering operation of a dubbing recording control corresponding to the text;

[0043] The uploading module is used to upload the target dubbing file to the server in response to the triggering operation on the dubbing upload control, wherein the target dubbing file includes the dubbing file corresponding to part or all of the text in the at least one text.

[0044] In another embodiment of the present disclosure, the text dubbing control includes at least one of a text recording prompt control and a contribution option in a menu bar, and the display module is used to display the text dubbing interface in response to a trigger operation on the text recording prompt control; or,

[0045] The display module is used to display the text dubbing interface in response to a selection operation on the contribution option.

[0046] In another embodiment of the present disclosure, the at least one text is all or part of the text added to the video file, and the part of the text includes text that matches the gender attribute of the target account of the login client or text that matches the gender attribute specified by the target account.

[0047] In another embodiment of the present disclosure, a dubbing recording option and a dubbing progress bar are displayed on each dubbing recording control, and the dubbing progress bar is used to indicate the maximum recording time of the corresponding text;

[0048] The acquisition module is used to collect the audio corresponding to the text in response to a long press operation on the dubbing recording option on the dubbing recording control; stop recording the audio corresponding to the text in response to a release operation on the dubbing recording option or the recording time reaches the maximum recording time of the dubbing progress bar on the dubbing recording control, and obtain the dubbing file corresponding to the text.

[0049] In another embodiment of the present disclosure, the device further comprises:

[0050] The recording module is used for re-recording the dubbing file corresponding to the text in response to a re-recording operation on the dubbing file.

[0051] In another embodiment of the present disclosure, the display module is further used to display a first prompt message sent by the server, wherein the first prompt message is used to prompt a target account logged into the client that the target dubbing file has been uploaded successfully and is in a review state.

[0052] In another embodiment of the present disclosure, the display module is also used to display a second prompt message sent by the server, the second prompt message includes an audit result viewing link, and the second prompt message is used to prompt the target account to view the audit result of the target dubbing file; in response to a trigger operation on the audit result viewing link, an audit result interface is displayed, and the audit result interface displays the audit result of each dubbing file included in the target dubbing file.

[0053] In another embodiment of the present disclosure, an audio playback control is also displayed on the audit result interface, and the device further includes:

[0054] A switching module, for switching the audit result interface to the audio playback interface in response to a trigger operation on the audio playback control;

[0055] A playing module, used for playing the audio file based on the audio playing interface;

[0056] The display module is also used to display the video screen;

[0057] The display module is also used to display the text and play the dubbing file corresponding to the text when the playing time of the audio file reaches the display time of any text.

[0058] In another embodiment of the present disclosure, the playback module is used to play the dubbing file corresponding to the text uploaded by the target account when the dubbing file corresponding to the text uploaded by the target account is reviewed and approved; when the target account has not uploaded the dubbing file corresponding to the text or the dubbing file corresponding to the text uploaded by the target account has not been reviewed and approved, play the dubbing file corresponding to the text uploaded by other accounts.

[0059] In another embodiment of the present disclosure, the device further comprises:

[0060] The display module is further used to display the attribute information of the account that published the dubbing file during the process of playing the dubbing file corresponding to the text;

[0061] A switching module is used to switch the audio playback interface to the personal information page of the account in response to a trigger operation on the attribute information.

[0062] In another embodiment of the present disclosure, the audio playback interface displays an original sound playback control, and the device further includes:

[0063] The playing module is used to stop playing the dubbing file corresponding to the text in response to a triggering operation on the original sound playing control during the playing of the dubbing file corresponding to the text.

[0064] In another embodiment of the present disclosure, a historical dubbing file viewing control is displayed on the text dubbing interface and the review result interface, and the display module is also used to display historical dubbing files in response to a trigger operation on the historical dubbing file viewing control, and the historical dubbing files include all dubbing files related to the video file uploaded by the target account or all dubbing files of the target account.

[0065] In a third aspect, a terminal is provided, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the audio file playing method as described in the first aspect.

[0066] In a fourth aspect, a computer-readable storage medium is provided, wherein at least one program code is stored in the storage medium, and the at least one program code is loaded and executed by a processor to implement the audio file playing method as described in the first aspect.

[0067] The technical solution provided by the embodiments of the present disclosure has the following beneficial effects:

[0068] A text dubbing control that supports the text dubbing function is displayed on the audio playback interface. Based on the text dubbing control, the user can dub the text added to the video file. Therefore, when playing the audio file, not only the video screen of the video file and the added text can be displayed, but also the dubbing corresponding to the text in the video file can be played, enriching the expression of the text. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0070] Figure 1 is a schematic diagram of an implementation environment involved in a method for playing an audio file provided in an embodiment of the present disclosure;

[0071] Figure 2 is a flow chart of a method for playing an audio file provided by an embodiment of the present disclosure;

[0072] Figure 3 is a flow chart of a method for playing an audio file provided by an embodiment of the present disclosure;

[0073] Figure 4 is a schematic diagram of an audio playback interface provided by an embodiment of the present disclosure;

[0074] Figure 5 is a schematic diagram of a text dubbing interface provided by an embodiment of the present disclosure;

[0075] Figure 6 is a schematic diagram of another text dubbing interface provided by an embodiment of the present disclosure;

[0076] Figure 7 is a schematic diagram of a terminal interface provided by an embodiment of the present disclosure;

[0077] Figure 8 is a schematic diagram of another terminal interface provided by an embodiment of the present disclosure;

[0078] Fig. 9 It is a schematic diagram of an audit result interface provided by an embodiment of the present disclosure;

[0079] Fig.10 It is a schematic diagram of another audit result interface provided by an embodiment of the present disclosure;

[0080] Fig.11 is a schematic diagram of another audio playback interface provided by an embodiment of the present disclosure;

[0081] Fig.12 is a structural schematic diagram of an audio playback device provided by an embodiment of the present disclosure;

[0082] Fig.13 A structural block diagram of a terminal provided by an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0083] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.

[0084] It can be understood that the terms "each", "multiple", and "any" used in the embodiments of the present disclosure include two or more, each refers to each of the corresponding multiple, and any refers to any one of the corresponding multiple. For example, the multiple words include 10 words, and each word refers to each word of the 10 words, and any word refers to any one of the 10 words.

[0085] Please refer to Figure 1 , which shows the implementation environment involved in the audio file playing method provided by the embodiment of the present disclosure, see Figure 1 , the implementation environment includes: a terminal 101 and a server 102.

[0086] Among them, the terminal 101 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., and the embodiment of the present disclosure does not specifically limit the type of the terminal 101. An audio playback application is installed in the terminal 101. Based on the installed audio playback application, the terminal 101 can play audio files and display video images of video files that match the audio files; the terminal 101 also has a dubbing function for text in video files. Based on this function, the terminal 101 can dub the text added to the video file, so that when the display time of the text in the video file is reached, not only can the text content be displayed on the audio playback interface, but also the dubbing file corresponding to the text can be played.

[0087] The server 102 is a background server of the audio player application, and the server 102 can be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers. The server 102 can receive the dubbing file sent by the terminal 101, and send a prompt message of successful dubbing file upload and a prompt message of dubbing file review and approval to the terminal 101.

[0088] The terminal 101 and the server 102 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present disclosure.

[0089] based on Figure 1 In the implementation environment shown in FIG. 1 , the present disclosure provides a method for playing an audio file. Figure 2 , the method flow provided by the embodiment of the present disclosure includes:

[0090] 201. Display the audio playback interface of the audio file.

[0091] Among them, the audio playback interface is a playback interface for playing audio files. The audio playback interface also displays functional controls for managing the playback of audio files, including pause / play controls, playback mode setting controls, previous song controls, next song controls, etc. It also displays controls such as likes, barrage, and sharing, as well as video screen and text dubbing controls for video files. The text dubbing control provides a text recording function, which can record dubbing files for the text added to the video file.

[0092] 202. In response to a trigger operation on a text dubbing control, a text dubbing interface is displayed.

[0093] The trigger operation includes any operation such as a click operation, a slide operation, and a long press operation. The text dubbing interface displays a dubbing upload control and at least one text. The dubbing upload control is used to upload the dubbing file recorded by the user in the text dubbing interface. To facilitate dubbing of the text, each text corresponds to a dubbing recording control, which is usually displayed in the vicinity of the corresponding text, for example, in the area below the text.

[0094] 203. In response to a triggering operation of a dubbing recording control corresponding to any text, a dubbing file corresponding to the text is obtained.

[0095] When a user wants to record a dubbing file for a certain file, the user long presses the dubbing recording control corresponding to the text. In response to the long press operation of the dubbing recording control corresponding to the text, the terminal turns on the microphone to collect the user's voice data. After the recording is completed, the user releases the dubbing recording control corresponding to the text. In response to the release operation of the dubbing recording control corresponding to the text, the terminal stops collecting the user's voice data, and then generates a dubbing file corresponding to the text based on the collected voice data.

[0096] 204. In response to the triggering operation on the dubbing upload control, the target dubbing file is uploaded to the server.

[0097] The disclosed embodiment supports recording all or part of the text in at least one text displayed on the text dubbing interface. The user can record a dubbing file for all the text on the text dubbing interface, or can record a dubbing file for part of the text on the text dubbing interface. After recording the dubbing file for the text, the user can touch the dubbing upload control, and in response to the trigger operation for the dubbing upload control, the terminal uploads the target file recorded by the user to the server. Among them, the target dubbing file includes the dubbing file corresponding to part or all of the text in the at least one text.

[0098] The method provided by the implementation of the present disclosure displays a text dubbing control that supports the text dubbing function on the audio playback interface. Based on the text dubbing control, the user can dub the text added to the video file. Therefore, when playing the audio file, not only the video screen of the video file and the added text can be displayed, but also the dubbing corresponding to the text in the video file can be played, enriching the expression form of the text.

[0099] based on Figure 1 In the implementation environment shown in FIG. 1 , the present disclosure provides a method for playing an audio file. Figure 3 , the method flow provided by the embodiment of the present disclosure includes:

[0100] 301. The terminal displays an audio playback interface of the audio file.

[0101] During the operation of the audio playback application, in response to the user's playback operation on a certain audio file, the terminal displays the audio playback interface of the audio file. In the playback scenario of the vertical screen MV, the user can upload at least one video file that matches the theme for the audio file. During the playback of the audio file, the terminal will display the video screen of any video file on the playback interface of the audio file. At least one text is added to the video file. In order to enrich the display form of the text in the video file, enhance the user's sense of scene substitution, and stimulate the ideological resonance between the video creator and the listener, a text dubbing control is also displayed on the audio playback interface. The text dubbing control is used to record a dubbing file for the text in the video file, so that the corresponding dubbing can be played synchronously during the text display process. The text dubbing control includes at least one of the form of a text recording prompt control and a contribution option in the menu bar.

[0102] The text recording prompt control can be displayed during the entire process of the video file display, or it can be displayed when the display time of each text in the video file is reached. It is hidden at other times. When the displayed text disappears, the text recording prompt control disappears along with the text. The text recording prompt control displays prompt text, see Figure 4The prompt text may be "Dubbing for the plot" etc. Based on the prompt text displayed on the text recording prompt control, the user can know the function of the text recording prompt control.

[0103] Among them, the submission options include a video file submission sub-option and a dubbing file submission sub-option. The video file submission sub-option is used to upload a video file recorded by the user that matches the theme of the audio file, and the dubbing file submission sub-option is used to record a dubbing file for the text added to the video file.

[0104] 302. In response to the triggering operation on the text dubbing control, the terminal displays a text dubbing interface.

[0105] Based on the text dubbing function of the text dubbing control, during the playback of the audio file, the user can record a dubbing file for the text added to the video file by touching the text dubbing control. In response to the user's triggering operation on the text dubbing control, the terminal displays the text dubbing interface. Since the text dubbing control includes at least one of the text recording prompt control and the submission option in the menu bar, for different forms of expression of the text dubbing control, the user triggers any one of the text recording prompt control and the submission option in the menu bar to realize the display of the text dubbing interface. For example, in response to the user's triggering operation on the text recording prompt control, the terminal displays the text dubbing interface. For another example, when the user touches the submission option, the terminal video file submission sub-option and the dubbing file submission sub-option, in response to the user's triggering operation on the dubbing file submission sub-option, the terminal displays the text dubbing interface.

[0106] The text dubbing interface displays a dubbing upload control and at least one text. Figure 5 The upload dubbing control in the dubbing upload sub-control is used to upload the recorded dubbing file. In response to the trigger operation on the dubbing upload sub-control, the terminal uploads the dubbing file recorded by the user based on the text dubbing interface. The at least one text is all or part of the text added to the video file. If the text added to the video file does not need to distinguish between different roles when dubbing, and both boys and girls can dub, then the at least one text displayed on the text dubbing interface is all the text added to the video file; if the text added to the video file needs to distinguish between different roles when dubbing, some texts need to be dubbed by boys, and some texts need to be dubbed by girls, then at least one text displayed on the text dubbing interface is part of the text added to the video file, and this part of the text can be text that matches the gender attribute of the target account that logs into the client. For example, if the gender attribute of the target account that logs into the client is male, then this part of the text is text that needs to be dubbed by boys. Of course, in order to facilitate users to select dubbing text, the embodiment of the present disclosure also provides a switching option for texts with different gender attributes. The switching option is Figure 5Based on this switching option, the user can specify the gender attribute, and then the partial text is the text added to the video file that matches the gender attribute specified by the target account.

[0107] To facilitate the user to dub each text, each text corresponds to a dubbing recording control, and the dubbing recording control is used to manage the recording process of the corresponding text, and the management includes recording, deleting, pausing, etc. The dubbing recording control displays a dubbing recording option and a dubbing progress bar, and the dubbing recording option is used to record a dubbing file for the text. The dubbing progress bar is used to indicate the maximum recording time of the corresponding text. The length of the dubbing progress bar corresponding to different texts is different. The maximum recording time of the dubbing progress bar corresponding to each text can be determined according to the display time of each text in the video file. In order to synchronize the display of the text with the playback of the dubbing file, avoid the text from being hidden when the display time is reached, and the dubbing file corresponding to the text has not been played, affecting the user's audio-visual experience, in the disclosed embodiment, the maximum recording time of the dubbing progress bar is less than or equal to the display time of the text. For example, if the display time of a certain text is 10 seconds, the maximum recording time of the dubbing progress bar corresponding to the text should be less than or equal to 10 seconds.

[0108] In another embodiment of the present disclosure, a historical dubbing file viewing control is also displayed on the text dubbing interface. In response to the user's triggering operation on the historical dubbing file viewing control, the terminal displays the historical dubbing file. The historical dubbing file includes all dubbing files related to the video file uploaded by the target account or all dubbing files of the target account, and the display content of the historical dubbing file includes the number of dubbing files, the current status, the singer-song name, etc.

[0109] 303. In response to a triggering operation of a dubbing recording control corresponding to any text, the terminal obtains a dubbing file corresponding to the text.

[0110] For any text displayed on the text dubbing interface, the user can record a dubbing file for the text by long pressing the dubbing recording option corresponding to the text. In response to the user's long press operation on the dubbing recording option on the dubbing recording control, the terminal turns on the microphone to collect the audio corresponding to the text. After the recording is completed, the user releases the dubbing recording option. In response to the user's release operation on the dubbing recording option, the terminal stops recording the audio corresponding to the text, and then obtains the dubbing file corresponding to the text. Of course, during the recording process, if the user long presses the dubbing recording option for a period of time that reaches the maximum recording time of the dubbing progress bar on the dubbing recording control corresponding to the text, in response to the recording time reaching the maximum recording time of the dubbing progress bar on the dubbing recording control, the terminal will also stop recording the audio corresponding to the text, and then obtain the dubbing file corresponding to the text.

[0111] In another embodiment of the present disclosure, after obtaining the dubbing file corresponding to the text, the user can play the dubbing file corresponding to the text by clicking the dubbing recording option on the dubbing recording control corresponding to the text. If the recorded dubbing file does not achieve the expected effect of the user, the user can perform a re-recording operation on the dubbing file, and in response to the re-recording operation for the dubbing file, the terminal re-records the dubbing file corresponding to the text. In order to reduce the storage space occupied by the dubbing file, the terminal can delete the dubbing file recorded last time when detecting the user's re-recording operation, and directly store the dubbing file recorded this time after the dubbing file is successfully recorded this time. Of course, the terminal can temporarily retain the dubbing file recorded last time, and after the dubbing file is successfully recorded this time, directly use the dubbing file recorded this time to replace the dubbing file recorded last time. In order to facilitate the user to compare the playback effect of the dubbing files recorded at different times, the terminal can retain the dubbing files recorded by the user for multiple times. If the user believes that the playback effect of the dubbing file recorded this time is not as good as the playback effect of the dubbing file recorded last time, the user can also delete the dubbing file recorded this time and retain the dubbing file recorded last time. Regardless of whether to retain the historical dubbing files, based on the re-recording function, the user can continue to record dubbing files until the recorded dubbing files meet the user's expected effects.

[0112] It should be noted that the above description is based on the recording process of a dubbing file corresponding to a text. For the recording process of other texts, please refer to the above process and will not be repeated here. When recording a dubbing file for the text on the dubbing recording interface, the user can record it one by one in the order of each text, or can not record it in the order of each text. Of course, the user can also record a dubbing file for all the text on the text dubbing interface, or can record a dubbing file for part of the text on the text dubbing interface.

[0113] Further, see Figure 6 In order to distinguish the text of the recorded dubbing file from the text of the unrecorded dubbing file on the text dubbing interface, the terminal can set the dubbing progress bar corresponding to the text of the recorded dubbing file to a lit state, and set the dubbing progress bar corresponding to the text of the unrecorded dubbing file to a dim state.

[0114] 304. In response to the triggering operation on the dubbing upload control, the terminal uploads the target dubbing file to the server.

[0115] Among them, the target dubbing file includes the dubbing file corresponding to all or part of the text in at least one piece of text. After the user records the dubbing file corresponding to all or part of the text in at least one piece of text on the dubbing recording interface, the user can trigger the dubbing upload control to upload the recorded dubbing file corresponding to all or part of the text in at least one piece of text to the server. In response to the trigger operation for the dubbing upload control, the terminal uploads the target dubbing file recorded by the user to the server based on the target account logged in to the client, and the server audits the target dubbing file uploaded by the user.

[0116] 305. The terminal displays the first prompt message sent by the server.

[0117] After the target dubbing file is successfully uploaded to the server, the server will send a first prompt message to the terminal. This first prompt message is used to prompt the target account logged in to the client that the target dubbing file has been successfully uploaded and is in the audit state. The content of this prompt message can be "Dear @nickname, the dubbing you uploaded in 《Song Name - Singer》 will be audited within 3 working days, and any results will be notified to you by message", etc. See Figure 7 , and the content of this first prompt message is "Dear @Xiaosunying, the dubbing you uploaded in 《Galaxy and Stars - yihuik Yihui》 will be audited within 3 working days, and any results will be notified to you by message". When receiving the first prompt message, the terminal prompts the user in ways such as pop-up windows and prompts. In response to the user's click operation on the first prompt message, the terminal displays this first prompt message. On the display interface of the first prompt message, there is also a historical dubbing file viewing control. In response to the trigger operation for this historical dubbing file viewing control, the terminal displays the historical dubbing control of the target account.

[0118] 306. The terminal displays the second prompt message sent by the server, and this second prompt message includes a viewing link for the audit result.

[0119] After the audit of the target recording file is completed, the server will send a second prompt message to the terminal. This second prompt message is used to prompt the target account to view the audit result of this target dubbing file. This second prompt message includes a viewing link for the audit result, etc. The content of this second prompt message can be "Dear @nickname, the dubbing you uploaded in 《Song Name - Singer》 has been audited. Click to view the result. Thank you for the company of this warm voice day and night", etc. See Figure 8 , and the content of this second prompt message is "Dear @Xiaosunying, the dubbing you uploaded in 《Galaxy and Stars - yihuik Yihui》 has been audited. Click to view the result. Thank you for the company of this warm voice day and night".

[0120] 307. In response to the triggering operation on the audit result viewing link, the terminal displays the audit result interface.

[0121] When a user triggers an operation on a review result viewing link, the terminal displays a review result interface in response to the trigger operation on the review result viewing link. Fig. 9 , the audit result interface displays the audit result of each dubbing file included in the target dubbing file. Based on the audit result interface, the user can know whether any dubbing file has passed the audit. For the dubbing file that has not passed the audit, the user can perform a re-recording operation on the dubbing file. In response to the user's re-recording operation on the dubbing file, the terminal deletes the dubbing file that has not passed the audit and re-records the dubbing file in the above manner. Of course, for the dubbing file that has passed the audit, the user can also re-record. In order to distinguish the re-dubbing file from the recorded dubbing file, the terminal can set the dubbing progress bar corresponding to the re-recorded dubbing file to a lit state. In response to the upload operation on the re-recorded dubbing file, the terminal uploads the re-recorded dubbing file to the server for audit by the server.

[0122] In another embodiment of the present disclosure, see Fig.10 , a historical dubbing file viewing control is displayed on the audit result interface. In response to the triggering operation on the historical dubbing file viewing control, the terminal displays the historical dubbing file, which includes all dubbing files related to the video file uploaded by the target account or all dubbing files of the target account.

[0123] In another embodiment of the present disclosure, see Fig.10 , an audio playback control is also displayed on the audit result interface. In response to the trigger operation for the audio playback control, the terminal switches the audit result interface to the audio playback interface, and then plays the audio file based on the audio playback interface and displays the video screen. When the playback time of the audio file reaches the display time of any text, the terminal displays the text and plays the dubbing file corresponding to the text. When the terminal plays the dubbing file corresponding to the text, it includes but is not limited to the following two situations:

[0124] In the first case, when the dubbing file corresponding to the text uploaded by the target account is reviewed and approved, the terminal plays the dubbing file corresponding to the text uploaded by the target account, so that the user can listen to the actual playback effect of the dubbing recorded by himself in the audio file playback environment.

[0125] In the second case, when the target account has not uploaded the dubbing file corresponding to the text or the dubbing file corresponding to the text uploaded by the target account has not passed the review, the terminal will play the dubbing file corresponding to the text uploaded by other accounts. When the terminal plays the dubbing file corresponding to the text uploaded by other accounts, it can randomly select a dubbing file from the dubbing files corresponding to the text uploaded by other accounts for playback, and can also select the dubbing file with the highest score from the dubbing files corresponding to the text uploaded by other accounts for playback. Since the score reflects the degree of recognition of the dubbing file by each user on the Internet, by recommending the highest-scoring dubbing file to the user for playback, the user's audio-visual experience can be improved.

[0126] In another embodiment of the present disclosure, during the process of playing the dubbing file corresponding to the text, the terminal will also display the attribute information of the account that published the dubbing file on the audio playback interface, and the attribute information includes nickname, avatar, etc. In response to the trigger operation on the attribute information, the terminal can switch the audio playback interface to the personal information page of the account, thereby showing the user more detailed personal information of the account.

[0127] In another embodiment of the present disclosure, see Fig.11 , an original sound playback control is also displayed on the audio playback interface. During the process of playing the dubbing file corresponding to the text, if the user does not want to continue listening to the dubbing corresponding to the text, the user can trigger the original sound playback control. In response to the triggering operation of the original sound playback control, the terminal stops playing the dubbing file corresponding to the text.

[0128] The above steps 301 to 307 take the example of a user recording a dubbing file for the text in a video file on the audio playback interface. Of course, if other users have already recorded a dubbing file for the text in the video file, the user can choose to listen to the dubbing file recorded by other users without having to record it himself. During playback, the server can randomly select a dubbing file from the dubbing files recorded by other users and recommend it to the terminal for playback. It can also recommend the dubbing file with the highest score to the terminal for playback according to the scores of each dubbing file. When the terminal is playing the dubbing file of other users, the user can score the dubbing file of other users.

[0129] The method provided by the embodiment of the present disclosure displays a text dubbing control that supports the text dubbing function on the audio playback interface. Based on the text dubbing control, the user can dub the text added to the video file. Therefore, when playing the audio file, not only the video screen of the video file and the added text can be displayed, but also the dubbing corresponding to the text in the video file can be played, thereby enriching the expression form of the text.

[0130] See also Fig.12 The present disclosure provides a device for playing an audio file, the device comprising:

[0131] Display module 1201, used to display an audio playback interface of an audio file, on which a video screen and a text dubbing control of a video file are displayed;

[0132] Display module 1201, for responding to a trigger operation on a text dubbing control, displaying a text dubbing interface, on which a dubbing upload control and at least one text are displayed, each text corresponding to a dubbing recording control;

[0133] The acquisition module 1202 is used to acquire the dubbing file corresponding to the text in response to the triggering operation of the dubbing recording control corresponding to any text;

[0134] The uploading module 1203 is used to upload a target dubbing file to a server in response to a trigger operation on the dubbing upload control. The target dubbing file includes a dubbing file corresponding to a part or all of the text in at least one text.

[0135] In another embodiment of the present disclosure, the text dubbing control includes at least one of a text recording prompt control and a contribution option in a menu bar, and the display module 1201 is used to display a text dubbing interface in response to a trigger operation on the text recording prompt control; or,

[0136] The display module 1201 is used to display a text dubbing interface in response to a selection operation on a contribution option.

[0137] In another embodiment of the present disclosure, the at least one text is all or part of the text added to the video file, and the part of the text includes text that matches the gender attribute of the target account of the login client or text that matches the gender attribute specified by the target account.

[0138] In another embodiment of the present disclosure, a dubbing recording option and a dubbing progress bar are displayed on each dubbing recording control, and the dubbing progress bar is used to indicate the maximum recording time of the corresponding text;

[0139] Acquisition module 1202 is used to collect the audio corresponding to the text in response to a long press operation on the dubbing recording option on the dubbing recording control; in response to a release operation on the dubbing recording option or the recording time reaches the maximum recording time of the dubbing progress bar on the dubbing recording control, stop recording the audio corresponding to the text and obtain the dubbing file corresponding to the text.

[0140] In another embodiment of the present disclosure, the device further comprises:

[0141] The recording module is used to re-record the dubbing file corresponding to the text in response to a re-recording operation on the dubbing file.

[0142] In another embodiment of the present disclosure, the display module 1201 is further used to display a first prompt message sent by the server, where the first prompt message is used to prompt the target account logged in to the client that the target dubbing file has been uploaded successfully and is in the review status.

[0143] In another embodiment of the present disclosure, the display module 1201 is also used to display a second prompt message sent by the server, the second prompt message including an audit result viewing link, and the second prompt message is used to prompt the target account to view the audit result of the target dubbing file; in response to a trigger operation on the audit result viewing link, an audit result interface is displayed, on which the audit result of each dubbing file included in the target dubbing file is displayed.

[0144] In another embodiment of the present disclosure, an audio playback control is also displayed on the audit result interface, and the device further includes:

[0145] A switching module, for switching the audit result interface to the audio playback interface in response to a trigger operation on the audio playback control;

[0146] A playback module, used to play audio files based on the audio playback interface;

[0147] The display module 1201 is also used to display the video screen;

[0148] The display module 1201 is also used to display the text and play the dubbing file corresponding to the text when the playing time of the audio file reaches the display time of any text.

[0149] In another embodiment of the present disclosure, the playback module is used to play the dubbing file corresponding to the text uploaded by the target account when the dubbing file corresponding to the text uploaded by the target account is reviewed and approved; when the target account has not uploaded the dubbing file corresponding to the text or the dubbing file corresponding to the text uploaded by the target account has not passed the review, the dubbing file corresponding to the text uploaded by other accounts is played.

[0150] In another embodiment of the present disclosure, the device further comprises:

[0151] The display module 1201 is also used to display the attribute information of the account that published the dubbing file during the process of playing the dubbing file corresponding to the text;

[0152] The switching module is used to switch the audio playback interface to the personal information page of the account in response to a trigger operation on the attribute information.

[0153] In another embodiment of the present disclosure, an original sound playback control is displayed on the audio playback interface, and the device further includes:

[0154] The playing module is used to stop playing the dubbing file corresponding to the text in response to a trigger operation on the original sound playing control during the process of playing the dubbing file corresponding to the text.

[0155] In another embodiment of the present disclosure, a historical dubbing file viewing control is displayed on the text dubbing interface and the review result interface;

[0156] The display module 1201 is also used to display historical dubbing files in response to a trigger operation on a historical dubbing file viewing control, where the historical dubbing files include all dubbing files related to the video file uploaded by the target account or all dubbing files of the target account.

[0157] To sum up, the device provided by the embodiment of the present disclosure displays a text dubbing control that supports the text dubbing function on the audio playback interface. Based on the text dubbing control, the user can dub the text added to the video file. Therefore, when playing the audio file, not only the video screen of the video file and the added text can be displayed, but also the dubbing corresponding to the text in the video file can be played, enriching the expression form of the text.

[0158] Fig.13 The structure block diagram of a terminal 1300 provided by an exemplary embodiment of the present disclosure is shown. The terminal 1300 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, a laptop computer or a desktop computer. The terminal 1300 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0159] Typically, the terminal 1300 includes a processor 1301 and a memory 1302 .

[0160] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1301 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0161] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one instruction, which is used to be executed by the processor 1301 to implement the audio file playback method provided in the method embodiment of the present application.

[0162] In some embodiments, the terminal 1300 may also optionally include: a peripheral device interface 1303 and at least one peripheral device. The processor 1301, the memory 1302 and the peripheral device interface 1303 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1304, a display screen 1305, a camera assembly 1306, an audio circuit 1307, a positioning assembly 1308 and a power supply 1309.

[0163] Those skilled in the art will understand that Fig.13 The structure shown in the figure does not constitute a limitation on the terminal 1300, and the terminal 1300 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0164] The terminal provided by the embodiment of the present disclosure displays a text dubbing control that supports the text dubbing function on the audio playback interface. Based on the text dubbing control, the user can dub the text added to the video file. Therefore, when playing the audio file, not only the video screen of the video file and the added text can be displayed, but also the dubbing corresponding to the text in the video file can be played, enriching the expression form of the text.

[0165] The embodiment of the present disclosure provides a computer-readable storage medium, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement a method for playing an audio file. The computer-readable storage medium may be non-transitory. For example, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0166] The computer-readable storage medium provided by the embodiments of the present disclosure displays a text dubbing control that supports the text dubbing function on the audio playback interface. Based on the text dubbing control, the user can dub the text added to the video file. Therefore, when playing the audio file, not only the video screen of the video file and the added text can be displayed, but also the dubbing corresponding to the text in the video file can be played, thereby enriching the expression form of the text.

[0167] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0168] The above description is only an optional embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for playing an audio file, characterized in that: The method comprises: Display an audio playback interface for an audio file, wherein the audio playback interface displays a video screen of a video file and a text dubbing control, wherein at least one text is added to the video file, and the text dubbing control is used to record a dubbing file for the text in the video file, and the theme of the video file matches the theme of the audio file; In response to a trigger operation on the text dubbing control, a text dubbing interface is displayed, on which a dubbing upload control and at least one text are displayed, and each text corresponds to a dubbing recording control; In response to a triggering operation of a dubbing recording control corresponding to any text, a dubbing file corresponding to the text is acquired; in response to a re-recording operation of the dubbing file, the dubbing file corresponding to the text is re-recorded; In response to a trigger operation on the dubbing upload control, uploading a target dubbing file to a server, wherein the target dubbing file includes a dubbing file corresponding to part or all of the text in the at least one text; When the audio file is played on the audio playback interface, the video screen of the video file is displayed; when the playback time of the audio file reaches the display time of any text, the text is displayed and the dubbing file corresponding to the text is played.

2. The method according to claim 1, characterized in that The text dubbing control includes at least one of a text recording prompt control and a contribution option in a menu bar, and the display of a text dubbing interface in response to a trigger operation on the text dubbing control includes: In response to a triggering operation on the text recording prompt control, displaying the text dubbing interface; or, In response to a selection operation on the contribution option, the text dubbing interface is displayed.

3. The method according to claim 1, characterized in that The at least one text is all or part of the text added to the video file, and the part of the text includes text that matches the gender attribute of the target account that logs into the client or text that matches the gender attribute specified by the target account.

4. The method according to claim 1, characterized in that: Each dubbing recording control displays a dubbing recording option and a dubbing progress bar, wherein the dubbing progress bar is used to indicate the maximum recording time of the corresponding text; The step of obtaining the dubbing file corresponding to any text in response to a triggering operation of a dubbing recording control corresponding to the text includes: In response to a long press operation on a dubbing recording option on the dubbing recording control, collecting audio corresponding to the text; In response to a release operation for the dubbing recording option or the recording duration reaching a maximum recording duration of the dubbing progress bar on the dubbing recording control, the recording of the audio corresponding to the text is stopped, and a dubbing file corresponding to the text is obtained.

5. The method according to claim 1, characterized in that After uploading the target dubbing file to the server, the method further includes: The first prompt message sent by the server is displayed, where the first prompt message is used to prompt the target account logged in to the client that the target dubbing file has been uploaded successfully and is in a review state.

6. The method according to claim 5, characterized in that After displaying the first prompt message sent by the server, the method further includes: Displaying a second prompt message sent by the server, wherein the second prompt message includes a review result viewing link, and the second prompt message is used to prompt the target account to view the review result of the target dubbing file; In response to a trigger operation on the audit result viewing link, an audit result interface is displayed, on which the audit result of each dubbing file included in the target dubbing file is displayed.

7. The method according to claim 6, characterized in that The audit result interface also displays an audio playback control, and the method further includes: In response to a trigger operation on the audio playback control, switching the audit result interface to the audio playback interface; Play the audio file based on the audio playback interface and display the video screen; When the playing time of the audio file reaches the display time of any text, the text is displayed and the dubbing file corresponding to the text is played.

8. The method according to claim 7, characterized in that The playing of the dubbing file corresponding to the text includes: When the dubbing file corresponding to the text uploaded by the target account is reviewed and approved, the dubbing file corresponding to the text uploaded by the target account is played; When the target account has not uploaded the dubbing file corresponding to the text or the dubbing file corresponding to the text uploaded by the target account has not passed the review, the dubbing file corresponding to the text uploaded by other accounts is played.

9. The method according to claim 7, characterized in that: The method further comprises: During the process of playing the dubbing file corresponding to the text, displaying the attribute information of the account that published the dubbing file; In response to a triggering operation on the attribute information, the audio playback interface is switched to a personal information page of the account.

10. The method according to claim 7, characterized in that The audio playback interface displays an original sound playback control, and the method further includes: During the process of playing the dubbing file corresponding to the text, in response to a triggering operation on the original sound playing control, the playing of the dubbing file corresponding to the text is stopped.

11. The method according to claim 6, characterized in that The text dubbing interface and the audit result interface display a historical dubbing file viewing control, and the method further includes: In response to a trigger operation on the historical dubbing file viewing control, the historical dubbing files are displayed, wherein the historical dubbing files include all dubbing files related to the video file uploaded by the target account or all dubbing files of the target account.

12. A device for playing an audio file, characterized in that: The device comprises: A display module, used for displaying an audio playback interface of an audio file, wherein the audio playback interface displays a video screen of a video file and a text dubbing control, wherein at least one text is added to the video file, and the text dubbing control is used for recording a dubbing file for the text in the video file, and the theme of the video file matches the theme of the audio file; The display module is used to display a text dubbing interface in response to a trigger operation on the text dubbing control, wherein the text dubbing interface displays a dubbing upload control and at least one text, and each text corresponds to a dubbing recording control; An acquisition module, for acquiring a dubbing file corresponding to any text in response to a triggering operation of a dubbing recording control corresponding to the text; A recording module, configured to re-record the dubbing file corresponding to the text in response to a re-recording operation on the dubbing file; An uploading module, configured to upload a target dubbing file to a server in response to a triggering operation on the dubbing upload control, wherein the target dubbing file includes a dubbing file corresponding to part or all of the text in the at least one text; The display module is also used to display the video screen of the video file when the audio file is played on the audio playback interface; when the playback time of the audio file reaches the display time of any text, the text is displayed and the dubbing file corresponding to the text is played.

13. A terminal, characterized in that: The terminal includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the audio file playing method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: At least one program code is stored in the storage medium, and the at least one program code is loaded and executed by the processor to implement the audio file playing method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Voice danmaku generation method and device

    CN105898603A

  • Video dubbing method and device, computer device and computer readable storage medium

    CN110933330A

  • Video playing method, device and terminal

    CN111359209A

  • Subtitle adding method and device

    CN111601174A

  • Audio file playing method and device, terminal, server and storage medium

    CN111935516A