CN111935516B - Audio file playing method, device, terminal, server and storage medium - Google Patents

Audio file playing method, device, terminal, server and storage medium Download PDF

Info

Publication number
CN111935516B
CN111935516B CN202010851753.9A CN202010851753A CN111935516B CN 111935516 B CN111935516 B CN 111935516B CN 202010851753 A CN202010851753 A CN 202010851753A CN 111935516 B CN111935516 B CN 111935516B
Authority
CN
China
Prior art keywords
video
video file
playing
file
theme
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010851753.9A
Other languages
Chinese (zh)
Other versions
CN111935516A (en
Inventor
吴晗
李文涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN202010851753.9A priority Critical patent/CN111935516B/en
Publication of CN111935516A publication Critical patent/CN111935516A/en
Application granted granted Critical
Publication of CN111935516B publication Critical patent/CN111935516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • H04N21/274Storing end-user multimedia data in response to end-user request, e.g. network recorder
    • H04N21/2743Video hosting of uploaded data from client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • H04N21/8405Generation or processing of descriptive data, e.g. content descriptors represented by keywords

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a playing method, a playing device, a terminal and a storage medium of an audio file, and belongs to the technical field of internet. The method comprises the following steps: displaying a plurality of theme content labels on a video uploading interface, wherein the theme content labels are used for indicating the theme content of the video file matched with the audio file; displaying a target video file uploaded by a user account on a video uploading interface, wherein the target video file is a video file with theme content matched with any theme content label; and uploading the target video file to a server. According to the method and the device, the theme content labels matched with the theme content of the audio file are displayed, so that a user can select the target video file matched with the theme content labels from the video files according to the theme content labels, and the target video file is uploaded, so that the video file more matched with the audio file can be played when the audio file is played, the situation substitution sense of the user is enhanced, and the experience effect of the user is improved.

Description

Audio file playing method, device, terminal, server and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, a terminal, a server, and a storage medium for playing an audio file.
Background
In modern life, many users install an audio playing application in a terminal in order to relieve work pressure. In the process of playing the audio file based on the audio playing application, in order to enhance the situation substitution feeling of the user, the user can better know the music atmosphere shaped by the audio file, and the video picture of the matched video file can be displayed on the audio playing interface.
However, the video file displayed on the audio playing interface is usually configured by the backend server, the matching degree between the video file and the theme content of the audio file may not be high, and when the audio file is played, the video picture with low matching degree cannot enhance the scene substitution sense of the user, which results in poor user experience effect.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, a terminal, a server and a storage medium for playing an audio file, which can provide a video file with a higher matching degree with the audio file. The technical scheme is as follows:
in one aspect, a method for playing an audio file is provided, where the method includes:
displaying a plurality of theme content tags on a video uploading interface, wherein the theme content tags are used for indicating theme contents of video files matched with the audio files;
responding to a click operation of a video adding option on the video uploading interface, and displaying a target video file uploaded by a user account on the video uploading interface, wherein the target video file is a video file with theme content matched with any theme content label;
and responding to the click operation of the video uploading option on the video uploading interface, and uploading the target video file to a server.
In another embodiment of the present disclosure, the displaying a plurality of theme content tabs on the video uploading interface includes:
determining a display position and a display mode corresponding to each theme content label;
and displaying each theme content label at a corresponding display position on the video uploading interface according to the display mode corresponding to each theme label.
In another embodiment of the present disclosure, after displaying a plurality of theme content tags on the video uploading interface, the method further includes:
receiving a plurality of updated subject content tags sent by a server;
and replacing the plurality of theme content labels displayed on the video playing interface with the plurality of updated theme content labels.
In another embodiment of the present disclosure, after displaying the target video file uploaded by the user account on the video uploading interface, the method further includes:
acquiring a target subject content label corresponding to the target video file;
the uploading the target video file to a server in response to the click operation on the video uploading option on the video uploading interface comprises:
and responding to the click operation of the video uploading option on the video uploading interface, and uploading the target video file and the target theme label to a server.
In another embodiment of the present disclosure, before uploading the target video file to a server, the method further includes:
and responding to the click operation of the preview option on the video uploading interface, playing the audio file, and displaying the video picture of the target video file.
In another embodiment of the present disclosure, after displaying the video frame of the target video file, the method further includes:
deleting a target video file on the video uploading interface in response to clicking operation on a cancel option on the video uploading interface;
and responding to the deletion operation of the target video file, and displaying first prompt information on the video uploading interface, wherein the first prompt information is used for prompting the target account to upload the video file again.
In another embodiment of the present disclosure, after the uploading the target video file to the server, the method further includes:
and responding to second prompt information which is sent by the server and passes the audit, and displaying the target video file on an audio playing interface.
In another embodiment of the present disclosure, the theme content tag is determined by the server according to the playing attribute information of the video file corresponding to the audio file, or the theme content tag is set by the user account.
In another aspect, a method for playing an audio file is provided, the method including:
determining a plurality of theme content tags corresponding to an audio file, wherein the theme content tags are used for indicating the theme content of a video file matched with the audio file;
sending the plurality of subject content tags to a terminal, wherein the plurality of subject content tags are used for being displayed on a video uploading interface of the terminal;
and receiving a target video file uploaded by the terminal, wherein the target video file is sent when the terminal detects the click operation on the video uploading option on the video uploading interface, and the target video file is a video file with theme content matched with any theme content label.
In another embodiment of the present disclosure, the determining the plurality of theme content tags corresponding to the audio file includes:
and determining the plurality of subject content labels according to the playing attribute information of the plurality of video files corresponding to the audio file.
In another embodiment of the present disclosure, the determining the plurality of theme content tags according to the playing attribute information of a plurality of video files corresponding to the audio file includes:
if the playing times of the plurality of video files are in the same playing time interval, acquiring the complete playing rate of the plurality of video files;
sequencing the plurality of video files according to the sequence of the complete playing rate from high to low;
according to the sorting result, acquiring a video file with a preset digit in the front;
and determining the plurality of subject content labels according to the video file with the front preset digit.
In another embodiment of the present disclosure, the determining the plurality of theme content tags according to the playing attribute information of a plurality of video files corresponding to the audio file includes:
if the playing times of the plurality of video files are in different playing time intervals, sequencing the plurality of video files according to the sequence of the playing times from high to low;
according to the sorting result, acquiring a video file with a preset number of ranks in front;
and determining the plurality of subject content labels according to the video file with the front preset digit.
In another embodiment of the present disclosure, the determining the plurality of theme content tags according to the video file ranked in the previous preset number of bits includes:
clustering the topic content keywords of the video file with the preset digit in the front to obtain a plurality of topic content labels, or,
and acquiring a subject content label matched with the subject content keyword from a subject content label library according to the subject content keyword of the video file with the preset digit.
In another embodiment of the present disclosure, after receiving the target video file uploaded by the terminal, the method further includes:
determining a plurality of updated subject content tags according to the current playing attribute information of the video file corresponding to the audio file;
and sending the updated theme content labels to the terminal, wherein the updated theme content labels are used for replacing the theme content labels displayed on the video playing interface by the terminal.
In another embodiment of the present disclosure, the receiving a target video file uploaded by the terminal includes:
and receiving the target video file uploaded by the terminal and the corresponding target subject label.
In another embodiment of the present disclosure, after receiving the target video file uploaded by the terminal, the method further includes:
auditing the content of the target video file;
and if the target video file passes the audit, sending second prompt information which passes the audit to the terminal, wherein the second prompt information is used for displaying the target video file on an audio playing interface by the terminal.
In another aspect, an apparatus for playing an audio file is provided, the apparatus including:
the display module is further used for displaying a plurality of theme content labels on a video uploading interface, wherein the theme content labels are used for indicating theme contents of the video files matched with the audio files;
the display module is further used for responding to clicking operation of video adding options on the video uploading interface, and displaying a target video file uploaded by a user account on the video uploading interface, wherein the target video file is a video file with theme content matched with any theme content label;
and the uploading module is used for responding to the click operation of the video uploading option on the video uploading interface and uploading the target video file to a server.
In another embodiment of the present disclosure, the display module is further configured to determine a display position and a display manner corresponding to each theme content tag; and displaying each theme content label on a corresponding display position on the video uploading interface according to the display mode corresponding to each theme label.
In another embodiment of the present disclosure, the apparatus further comprises:
the receiving module is used for receiving a plurality of updated theme content tags sent by the server;
and the replacing module is used for replacing the plurality of theme content labels displayed on the video playing interface with the plurality of updated theme content labels.
In another embodiment of the present disclosure, the apparatus further comprises:
the acquisition module is used for acquiring a target subject content label corresponding to the target video file;
and the uploading module is used for responding to the click operation of the video uploading option on the video uploading interface and uploading the target video file and the target theme label to a server.
In another embodiment of the present disclosure, the apparatus further comprises:
the playing module is used for responding to the click operation of the preview option on the video uploading interface and playing the audio file;
the display module is further used for displaying the video picture of the target video file.
In another embodiment of the present disclosure, the apparatus further comprises:
the deleting module is further used for responding to clicking operation of a cancel option on the video uploading interface and deleting a target video file on the video uploading interface;
the display module is further configured to display first prompt information on the video uploading interface in response to a deletion operation of the target video file, where the first prompt information is used to prompt the target account to upload the video file again.
In another embodiment of the present disclosure, the first and second substrates are,
the display module is further configured to display the target video file on the audio playing interface in response to the second prompt message sent by the server and indicating that the audit is passed.
In another embodiment of the present disclosure, the theme content tag is determined by the server according to the playing attribute information of the video file corresponding to the audio file, or the theme content tag is set by the user account.
In another aspect, an apparatus for playing an audio file is provided, the apparatus including:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a plurality of theme content labels corresponding to an audio file, and the theme content labels are used for indicating the theme content of a video file matched with the audio file;
the sending module is used for sending the plurality of theme content tags to a terminal, and the plurality of theme content tags are used for being displayed on a video uploading interface of the terminal;
the receiving module is used for receiving a target video file uploaded by the terminal, the target video file is sent when the terminal detects clicking operation on a video uploading option on the video uploading interface, and the target video file is a video file with theme content matched with any theme content label.
In another embodiment of the present disclosure, the determining module is configured to determine the multiple theme content labels according to playing attribute information of multiple video files corresponding to the audio file.
In another embodiment of the present disclosure, the determining module is configured to obtain a complete playing rate of the plurality of video files if the playing times of the plurality of video files are located in the same playing time interval; sequencing the plurality of video files according to the sequence of the complete playing rate from high to low; according to the sorting result, acquiring a video file with a preset number of ranks in front; and determining the plurality of subject content labels according to the video file with the front preset digit.
In another embodiment of the present disclosure, the determining module is configured to sort the plurality of video files according to an order from high to low of the playing times if the playing times of the plurality of video files are located in different playing time intervals; according to the sorting result, acquiring a video file with a preset number of ranks in front; and determining the plurality of subject content labels according to the video file with the front preset digit.
In another embodiment of the present disclosure, the determining module is configured to cluster the topic content keywords of the video file with the top preset number of bits to obtain the multiple topic content tags, or,
the determining module is used for acquiring the subject content tags matched with the subject content keywords from the subject content tag library according to the subject content keywords of the video files with the preset number of bits in the front.
In another embodiment of the present disclosure, the first and second substrates are,
the determining module is further configured to determine a plurality of updated theme content tags according to the current playing attribute information of the video file corresponding to the audio file;
the sending module is further configured to send the updated theme content tags to the terminal, where the updated theme content tags are used for the terminal to replace the theme content tags displayed on the video playing interface.
In another embodiment of the present disclosure, the receiving module is configured to receive the target video file and the corresponding target theme label uploaded by the terminal.
In another embodiment of the present disclosure, the apparatus further comprises:
the auditing module is used for auditing the content of the target video file;
the sending module is further configured to send second prompt information that the target video file passes the audit to the terminal if the target video file passes the audit, where the second prompt information is used for the terminal to display the target video file on an audio playing interface.
In another aspect, a terminal is provided, where the terminal includes a processor and a memory, where 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 method for playing an audio file according to one aspect.
In another aspect, a server is provided, which includes a processor and a memory, where 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 method for playing an audio file according to one aspect.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, the at least one program code being loaded and executed by a processor to implement the method for playing back an audio file according to one aspect or another aspect.
The technical scheme provided by the embodiment of the disclosure has the following beneficial effects:
the theme content labels matched with the theme content of the audio files are displayed, so that a user can select the target video files matched with the theme content labels from the video files according to the theme content labels, and the target video files are uploaded, so that the video files matched with the audio files can be played when the audio files are played, the situation substitution feeling of the user is enhanced, and the experience effect of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment related to a playing method of an audio file according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for playing an audio file according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method for playing an audio file according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for playing an audio file according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of an audio playing interface provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of another audio playing interface provided by the embodiment of the disclosure;
fig. 7 is a schematic diagram of a video upload interface provided by an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a playing apparatus for an audio file according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another audio file playing apparatus provided in the embodiment of the present disclosure;
fig. 10 shows a block diagram of a terminal provided in an exemplary embodiment of the present disclosure;
FIG. 11 illustrates a server for playback of audio files, according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
It is to be understood that the terms "each," "a plurality," and "any" and the like, as used in the embodiments of the present disclosure, are intended to encompass two or more, each referring to each of the corresponding plurality, and any referring to any one of the corresponding plurality. For example, the plurality of words includes 10 words, and each word refers to each of the 10 words, and any word refers to any one of the 10 words.
Referring to fig. 1, an implementation environment related to a playing method of an audio file provided by an embodiment of the present disclosure is shown, and referring to fig. 1, the implementation environment includes: a terminal 101 and a server 102.
The terminal 101 is installed with an audio playing application, and based on the installed audio playing application, the terminal can play an audio file and display a video picture of a video file matched with the audio file, so as to provide an audio and video playing service for a user. The terminal 101 may upload the video file to the server through the audio playback application, so that the audio file is more matched with the theme content of the video file. The terminal 101 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like.
The server 102 is a background server of the audio playing application, and can provide an audio playing service to the terminal based on the audio playing application. The server 102 can receive the video file uploaded by the terminal 101, check the video file uploaded by the terminal 101, and issue the video file after the check is passed. The server 102 may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers.
The terminal 101 and the server 102 may be directly or indirectly connected through wired or wireless communication, and the embodiment of the disclosure is not limited herein.
Based on the implementation environment shown in fig. 1, an embodiment of the present disclosure provides a method for playing an audio file, and referring to fig. 2, a flow of the method provided by the embodiment of the present disclosure includes:
201. and displaying a plurality of subject content labels on the video uploading interface.
Wherein the theme content tag is used for indicating the theme content of the video file matched with the audio file.
202. And responding to the click operation of the video adding option on the video uploading interface, and displaying the target video file uploaded by the user account on the video uploading interface.
The target video file is a video file with theme content matched with any theme content label.
203. And responding to the click operation of the video uploading option on the video uploading interface, and uploading the target video file to the server.
According to the method provided by the embodiment of the disclosure, the theme content label matched with the theme content of the audio file is displayed, so that a user can select the target video file matched with the theme content label from the video files according to the theme content label, and the target video file is uploaded, so that the video file more matched with the audio file can be played when the audio file is played, the situation substitution sense of the user is enhanced, and the experience effect of the user is improved.
In another embodiment of the present disclosure, displaying a plurality of theme content tabs on a video upload interface includes:
determining a display position and a display mode corresponding to each theme content label;
and displaying each theme content label on a corresponding display position on the video uploading interface according to the display mode corresponding to each theme label.
In another embodiment of the present disclosure, after displaying the plurality of theme content tabs on the video uploading interface, the method further includes:
receiving a plurality of updated subject content tags sent by a server;
and replacing the plurality of theme content labels displayed on the video playing interface with the plurality of updated theme content labels.
In another embodiment of the present disclosure, after displaying the target video file uploaded by the user account on the video uploading interface, the method further includes:
acquiring a target subject content label corresponding to a target video file;
responding to the click operation of the video uploading option on the video uploading interface, uploading the target video file to a server, and comprising the following steps:
and responding to the click operation of the video uploading option on the video uploading interface, and uploading the target video file and the target theme label to the server.
In another embodiment of the present disclosure, before uploading the target video file to the server, the method further comprises:
and responding to the click operation of the preview option on the video uploading interface, playing the audio file, and displaying the video picture of the target video file.
In another embodiment of the present disclosure, after displaying the video picture of the target video file, the method further includes:
deleting a target video file on the video uploading interface in response to clicking operation on the cancel option on the video uploading interface;
and responding to the deletion operation of the target video file, and displaying first prompt information on a video uploading interface, wherein the first prompt information is used for prompting the target account to upload the video file again.
In another embodiment of the present disclosure, after uploading the target video file to the server, the method further includes:
and responding to the second prompt information which is sent by the server and passes the audit, and displaying the target video file on the audio playing interface.
In another embodiment of the present disclosure, the theme content tag is determined by the server according to the playing attribute information of the video file corresponding to the audio file, or the theme content tag is set by the user account.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present disclosure, and are not described in detail herein.
Based on the implementation environment shown in fig. 1, an embodiment of the present disclosure provides a method for playing an audio file, and referring to fig. 3, a flow of the method provided by the embodiment of the present disclosure includes:
301. and determining a plurality of theme content labels corresponding to the audio file.
Wherein the theme content tag is used for indicating the theme content of the video file matched with the audio file.
302. And sending the plurality of subject content tags to a terminal, wherein the plurality of subject content tags are used for being displayed on a video uploading interface of the terminal.
303. And receiving the target video file uploaded by the terminal.
The target video file is sent when the terminal detects the click operation on the video uploading option on the video uploading interface, and the target video file is a video file with theme content matched with any theme content label.
According to the method provided by the embodiment of the disclosure, the theme content tag matched with the theme content of the audio file is sent to the terminal for displaying, so that a user can select the target video file matched with the theme content tag from the video files according to the theme content tag, and the target video file is uploaded, so that the video file more matched with the audio file can be played when the audio file is played, the situation substitution sense of the user is enhanced, and the experience effect of the user is improved.
In another disclosed embodiment, determining a plurality of theme tags corresponding to the audio file comprises:
and determining a plurality of subject content labels according to the playing attribute information of a plurality of video files corresponding to the audio file.
In another embodiment of the present disclosure, determining a plurality of theme content tags according to playback attribute information of a plurality of video files corresponding to an audio file includes:
if the playing times of the plurality of video files are in the same playing time interval, acquiring the complete playing rate of the plurality of video files;
sequencing the plurality of video files according to the sequence of the complete playing rate from high to low;
according to the sorting result, acquiring a video file with a preset number of ranks in front;
and determining a plurality of subject content labels according to the video files with the preset digits in the front.
In another embodiment of the present disclosure, determining a plurality of theme content tags according to the playing attribute information of a plurality of video files corresponding to audio files includes:
if the playing times of the video files are in different playing time intervals, sequencing the video files according to the sequence of the playing times from high to low;
according to the sorting result, acquiring a video file with a preset number of ranks in front;
and determining a plurality of subject content labels according to the video files with the preset digits in the front.
In another embodiment of the present disclosure, determining a plurality of theme content tags according to a video file ranked in a previous preset number of bits includes:
clustering the topic content keywords of the video file with the preset digit in the front to obtain a plurality of topic content labels, or,
and according to the topic content keywords of the video file with the preset number of bits, obtaining the topic content tags matched with the topic content keywords from the topic content tag library.
In another embodiment of the present disclosure, after receiving a target video file uploaded by a terminal, the method further includes:
determining a plurality of updated subject content tags according to the current playing attribute information of the video file corresponding to the audio file;
and sending the plurality of updated theme content labels to the terminal, wherein the plurality of updated theme content labels are used for replacing the plurality of theme content labels displayed on the video playing interface by the terminal.
In another embodiment of the present disclosure, a target video file uploaded by a receiving terminal includes:
and receiving the target video file uploaded by the terminal and the corresponding target subject label.
In another embodiment of the present disclosure, after receiving a target video file uploaded by a terminal, the method further includes:
auditing the content of the target video file;
and if the target video file passes the audit, sending second prompt information which passes the audit to the terminal, wherein the second prompt information is used for displaying the target video file on an audio playing interface by the terminal.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Based on the implementation environment shown in fig. 1, an embodiment of the present disclosure provides a method for playing an audio file, and referring to fig. 4, taking a terminal and a server to execute the embodiment of the present disclosure as an example, a flow of the method provided by the embodiment of the present disclosure includes:
401. the server determines a plurality of subject content tags corresponding to the audio file.
The theme content label is used for indicating the theme content of the video file matched with the audio file, the theme content label can play a role in prompting a user to prompt the user to upload the video file matched with the theme content label through an account, and the theme content label can be lovely, a life log, a favorite, a home dance and the like.
The plurality of video files corresponding to the audio file include video files uploaded by a plurality of user accounts for the audio file, video files obtained by splicing and cutting a plurality of audio clips in the system and matched with the audio file, video files corresponding to the audio file in an associated application program, and the like.
The video files corresponding to the audio files can be displayed on the audio playing interface of each terminal in the playing process of the audio files, and a plurality of users can click and watch the video files. Based on the click-to-view behaviors of the multiple users, the server can count and store the playing attribute information of each video file corresponding to the audio file, and determine multiple theme tags based on the playing attribute information of the multiple video files corresponding to the audio file. The playing attribute information is used for reflecting the playing behavior of the user on the video file corresponding to the audio file, and comprises playing times, complete playing rate and the like. The full play rate refers to the probability of the video file being completely played, and the full play rate can be determined according to the ratio of the full play times to the play times, for example, for any audio file, the play times is 100 times, and the full play times is 10 times, then the full play rate =10/100=0.1.
In an embodiment of the present disclosure, when the server determines a plurality of theme content tags according to the playing attribute information of a plurality of video files corresponding to the audio file, the following method may be adopted:
40111. and if the playing times of the plurality of video files are in the same playing time interval, the server acquires the complete playing rate of the plurality of video files.
Before executing the step, the server may divide the playing times into a plurality of playing time intervals according to the playing times, for example, divide the playing times into a first playing time interval which is less than 1 ten thousand times; dividing the playing times of more than 1 ten thousand times and less than 10 ten thousand times into a second playing time interval; and dividing the playing times larger than 10 ten thousand into a third playing time interval.
The server acquires the playing times of the plurality of video files, judges the playing times of the plurality of video files based on the divided playing time intervals, and acquires the complete playing rate of each video file if the playing times of the plurality of video files are in the same playing time interval.
40112. And the server sorts the plurality of video files according to the sequence of the complete playing rate from high to low.
And based on the acquired complete playing rate of each video file, the server sorts the plurality of video files according to the sequence of the complete playing rate from high to low.
40113. And the server acquires the video file with the preset position number in the front according to the sequencing result.
The preset number of bits may be determined according to the size of the display area of the content tag, and the preset number of bits may be 3 bits, 5 bits, and the like.
40114. And the server determines a plurality of subject content labels according to the video file with the preset position number in the front.
In a possible implementation manner, based on the obtained video files with the preset positions, the server extracts topic content keywords from each video file, and clusters the extracted topic content keywords to obtain a plurality of topic content tags. When extracting the topic content keywords from each video file, the server can input each video file into a pre-established topic content keyword extraction model, and further extract the topic content keywords of each video file based on the topic content keyword extraction model.
In another possible implementation manner, the server maintains a theme content tag library, where the theme content tag library includes a plurality of theme content tags, and the plurality of theme content tags can cover the theme content of each audio file in the audio playing application, and can be edited and determined in a manual manner, or can be determined by performing statistical classification on the theme content of the audio file. When the video file with the front preset digit is obtained, the terminal matches the topic content keywords of the video file with the front preset digit with the topic content labels in the topic content label library, and if the similarity between the topic content keywords of any video file and any topic content label meets a threshold condition, the topic content label is determined as the corresponding topic content label of the video file.
In another embodiment of the present disclosure, when the server determines a plurality of theme content tags according to the playing attribute information of a plurality of video files corresponding to the audio file, the following method may be adopted:
40121. and if the playing times of the plurality of video files are positioned in different playing time intervals, the server sorts the plurality of video files according to the sequence of the playing times from high to low.
The server acquires the playing times of the video files, judges the playing times of the video files based on the divided playing time intervals, and sequences the video files according to the sequence of the playing times from high to low if the playing times of the video files are in different playing time intervals.
40122. And the server acquires the video file with the preset digit in the front according to the sorting result.
40123. And the server determines a plurality of subject content labels according to the video file with the preset position number in the front.
Further, after the theme content tags corresponding to the plurality of video files are obtained, the server also merges the theme content tags corresponding to the plurality of video files to remove repeated theme content tags.
402. And responding to the click operation of the video contribution option on the audio playing interface of the audio file, and displaying a video uploading interface by the terminal.
The audio playing interface is an interface for playing an audio file, and a designated option is displayed on the audio playing interface and can be a vertical screen MV option and the like. When the clicking operation of the appointed option on the audio playing interface is detected, the terminal displays at least one video file. And when any video file is clicked, the terminal plays the audio file and displays the video picture of the selected video file on the audio playing interface.
In an embodiment of the present disclosure, when the video screen of the selected video file is displayed on the audio playing interface, the terminal may display a video contribution option on the audio playing interface, where the video uploading interface is used for a user to upload the video file stored locally at the terminal, and the display form of the video contribution option may be the contribution option displayed on the audio playing interface shown in fig. 5 and fig. 6. When the matching degree of the video picture and the theme content of the audio file is found to be low in the process that the user watches the video picture of the video file, the user can click the video contribution option on the audio playing interface. And responding to the clicking operation of the video contribution option on the audio playing interface, and switching the displayed audio playing interface into a video uploading interface by the terminal.
In another embodiment of the present disclosure, the terminal may display a video contribution option when displaying the at least one video file on the audio playback interface. Before the video file is played, if the user wants to watch the video file recorded by the user, the user can click the video contribution option. And responding to the click operation of the video contribution option on the audio playing interface, and switching the displayed audio playing interface into a video uploading interface by the terminal.
403. The server sends the plurality of subject content tags to the terminal.
When the video uploading interface is displayed, the terminal pulls the related data of the video uploading interface to the server, and at the moment, the server can send the plurality of subject content labels to the terminal.
404. The terminal displays a plurality of subject content labels on a video uploading interface.
In order to provide reference for a user and avoid the situation that the matching degree of the video file and the audio file uploaded by the user is still low, the terminal also acquires a plurality of theme content labels and displays the theme content labels on a video uploading interface. The source of the theme content tag displayed on the video uploading interface is various, and the theme content tag may be determined by the server according to the playing attribute information of the video file corresponding to the audio file, and may also be set by the user account according to the audio file, which is not specifically limited in the embodiment of the present disclosure.
When the terminal displays a plurality of theme content labels on the video uploading interface, the display position and the display mode corresponding to each theme content label can be determined, and each theme content label is displayed on the corresponding display position on the video uploading interface according to the display mode corresponding to each theme label. When the terminal determines the display position corresponding to each theme content label, the terminal can determine according to the playing times or the complete playing rate of the video file corresponding to each theme content label, display the theme content label corresponding to the video file with higher playing times or higher complete playing rate in front, and display the theme content label corresponding to the video file with lower playing times or lower complete playing rate in back. When determining the display mode corresponding to each theme content label, the terminal may determine different display modes for different display positions according to the display position, may also determine according to the number of characters of the theme content label, and so on. For example, the theme content labels in different display positions are displayed in different colors and fonts.
In another disclosed embodiment, as the video files are played and the number of the video files uploaded by the user increases, the original theme content tags cannot accurately reflect theme content more matched with the audio files, and therefore, the server determines a plurality of updated theme content tags according to the current playing attribute information of a plurality of video files corresponding to the audio files at preset time intervals and sends the plurality of updated theme content tags to the terminal. And after receiving the updated theme content labels, the terminal replaces the theme content labels displayed on the video uploading interface with the plurality of updated theme content labels. The updated theme content tag may include the following two situations, one situation is the same as the original theme content tag, at this time, the playing attribute information of the video file corresponding to each theme content tag may be different, and the display positions of the plurality of theme content tags will change after replacement; in another case, the content of the tag and the display position of the tag are changed after the replacement, which is the same as or different from the original tag of the theme content. For example, the currently displayed multiple theme content tags are "lovely", "life log", "lovely pet", "home dance", after a preset time, the server determines that the updated multiple theme content tags are "lovely pet", "life log", "home dance" and "stepping point" according to the multiple video files corresponding to the audio files and the playing attribute information of each video file, and based on the updated multiple theme content tags, the terminal replaces the currently displayed theme content tags with "lovely pet", "life log", "home dance" and "stepping point". The preset time period may be 1 day, 2 days, and the like, and the embodiment of the present disclosure does not specifically limit the preset time period.
405. And responding to the click operation of the video adding option on the video uploading interface, and displaying the target video file uploaded by the user account on the video uploading interface by the terminal.
The target video file is a video file matched with the theme content tag, and the target video file can be a video file or a video clip stored locally in the terminal, and can also be a video file or a video clip recorded by a user after the click operation of a video adding option on the video uploading interface is detected. If the target video file is a video clip, when the terminal acquires the target video file, splicing and cutting a plurality of video clips according to the playing time length of the audio file to obtain the target video file with the total video time length being the same as the playing time length; if the target video file is a video file with the video duration being greater than or equal to the audio duration, the terminal can cut the video file according to the playing duration of the audio file to obtain the target video file with the video duration being the same as the playing duration.
In another embodiment of the present disclosure, based on the obtained target video file, if the user wants to preview the display effect of the target video file in cooperation with the audio file, the user may further click a preview option on the video upload interface, and in response to a click operation on the preview option on the video upload interface, the terminal will also play the audio file and display a video picture of the target video file. The method comprises the steps that a user can view the actual display effect of the target video file matched with an audio file by previewing the target video file to be uploaded, if the display effect does not meet the expectation of the user, the user can click a cancel option on a video uploading interface, in response to the click operation of the cancel option on the video uploading interface, a terminal deletes the target video file on the video uploading interface, in response to the delete operation of the target video file, the terminal displays first prompt information on the video uploading interface, and the first prompt information is used for prompting a target account to upload the video file again until the display effect meets the expectation of the user. By the method, the user satisfaction degree of the uploaded target video is greatly improved.
406. And responding to the click operation of the video uploading option on the video uploading interface, and uploading the target video file to the server by the terminal.
In one embodiment of the disclosure, in response to a click operation on a video uploading option on a video uploading interface, a terminal uploads a target video file to a server through a wired network or a wireless network.
In an embodiment of the present disclosure, the terminal may further obtain a target theme content tag corresponding to the target video file, where the theme content tag may be input by the user on the video uploading interface in a manner of using a keyboard, a mouse, or the like, or may be selected by the user from the theme content tag displayed on the video uploading interface. And responding to the click operation of the video uploading option on the video uploading interface based on the acquired target subject content label, and uploading the target video file and the target subject label to the server by the terminal. By uploading the target video file and the target theme label to the server together, the server can manage the theme content of the video file corresponding to the audio file conveniently, resources consumed when the theme content label is updated are saved, and the updating speed is improved.
In another embodiment of the present disclosure, after the target video file is uploaded to the server, the user may also view the review condition of the target video file on the target video file uploading interface. Referring to fig. 7, the name of the audio file is "wake up ear", the theme content labels corresponding to "wake up ear" are displayed on the video uploading interface (i.e., the full-song video uploading interface in fig. 7) as "lovely", "living journal", "lovely pet", "home dance", and "stepping on point", and the video file uploaded by the user account and the audit condition are also displayed as passed.
406407, when receiving the target video file uploaded by the terminal, the server checks the content of the target video file, and if the target video file passes the check, the server sends second prompt information that the check is passed to the terminal.
In order to purify a network environment and avoid sensitive characters, pictures and the like contained in the uploaded target video file, the server also performs auditing on the content of the target video file, and after the content of the target video file is approved, the server sends second prompt information that the auditing is approved to the terminal.
Further, after the target video file is approved, the server also issues the target video file, so that other users can watch the target video file.
408. And responding to the second prompt information which is sent by the server and passes the audit, and displaying the target video file on the audio playing interface by the terminal.
And responding to the second prompt information which is sent by the server and passes the audit, and displaying the target video file on an audio playing interface by the terminal.
In another embodiment of the present disclosure, in order to encourage more users to upload video files, for a video file that has been approved, the server will also send money, virtual goods, and the like to the user account corresponding to the video file that has been approved.
According to the method provided by the embodiment of the disclosure, the theme content tag matched with the theme content of the audio file is displayed, so that the user can select the target video file matched with the theme content tag from the video files according to the theme content tag, and the target video file is uploaded, so that the video file more matched with the audio file can be played when the audio file is played, the situation substitution sense of the user is enhanced, and the experience effect of the user is improved.
Referring to fig. 8, an embodiment of the present disclosure provides an apparatus for playing an audio file, where the apparatus includes:
a display module 801, configured to display a plurality of theme content tags on the video uploading interface, where the theme content tags are used to indicate theme contents of a video file that matches an audio file;
the display module 801 is further configured to display, on the video upload interface, a target video file uploaded by the user account in response to a click operation on a video addition option on the video upload interface, where the target video file is a video file whose theme content matches any theme content tag;
the uploading module 802 is configured to upload a target video file to a server in response to a click operation on a video uploading option on the video uploading interface.
In another embodiment of the present disclosure, the display module is further configured to determine a display position and a display manner corresponding to each theme content tag; and displaying each theme content label at a corresponding display position on the video uploading interface according to the display mode corresponding to each theme label.
In another embodiment of the present disclosure, the apparatus further comprises:
the receiving module is used for receiving a plurality of updated theme content tags sent by the server;
and the replacing module is used for replacing the plurality of theme content labels displayed on the video playing interface with the plurality of updated theme content labels.
In another embodiment of the present disclosure, the apparatus further comprises:
the acquisition module is used for acquiring a target subject content label corresponding to a target video file;
and the uploading module is used for responding to the clicking operation on the video uploading option on the video uploading interface and uploading the target video file and the target theme label to the server.
In another embodiment of the present disclosure, the apparatus further comprises:
the playing module is used for responding to the click operation of the preview option on the video uploading interface and playing the audio file;
and the display module is also used for displaying the video picture of the target video file.
In another embodiment of the present disclosure, the apparatus further comprises:
the deleting module is also used for responding to the clicking operation of the cancel option on the video uploading interface and deleting the target video file on the video uploading interface;
and the display module is also used for responding to the deletion operation of the target video file and displaying first prompt information on the video uploading interface, wherein the first prompt information is used for prompting the target account to upload the video file again.
In another embodiment of the present disclosure, the first and second substrates are,
and the display module is also used for responding to the second prompt information which is sent by the server and passes the audit, and displaying the target video file on the audio playing interface.
In another embodiment of the present disclosure, the theme content tag is determined by the server according to the playing attribute information of the video file corresponding to the audio file, or the theme content tag is set by the user account.
In summary, the apparatus provided in the embodiment of the present disclosure displays the theme content tag matching the theme content of the audio file, so that the user can select the target video file matching the theme content tag from the video files according to the theme content tag, and by uploading the target video file, the video file more matching the audio file can be played when the audio file is played, thereby enhancing the sense of scene substitution of the user, and improving the experience effect of the user.
Referring to fig. 9, an embodiment of the present disclosure provides an apparatus for playing an audio file, where the apparatus includes:
a determining module 901, configured to determine a plurality of theme content tags corresponding to the audio file, where the theme content tags are used to indicate theme contents of the video file matched with the audio file;
a sending module 902, configured to send a plurality of theme content labels to a terminal, where the plurality of theme content labels are used to be displayed on a video uploading interface of the terminal;
the receiving module 903 is configured to receive a target video file uploaded by the terminal, where the target video file is sent when the terminal detects a click operation on a video uploading option on a video uploading interface, and the target video file is a video file whose theme content matches any theme content tag.
In another embodiment of the present disclosure, the determining module is configured to determine a plurality of theme content tags according to the playing attribute information of a plurality of video files corresponding to the audio file.
In another embodiment of the present disclosure, the determining module is configured to obtain a complete playing rate of the plurality of video files if the playing times of the plurality of video files are located in the same playing time interval; sequencing the plurality of video files according to the sequence of the complete playing rate from high to low; according to the sorting result, acquiring a video file with a preset number of ranks in front; and determining a plurality of subject content labels according to the video file with the preset position number in the front.
In another embodiment of the present disclosure, the determining module is configured to sort the plurality of video files according to a sequence from high to low of the playing times if the playing times of the plurality of video files are located in different playing time intervals; according to the sorting result, acquiring a video file with a preset number of ranks in front; and determining a plurality of subject content labels according to the video file with the preset position number in the front.
In another embodiment of the present disclosure, the determining module is configured to cluster the topic content keywords of the video file ranked at the previous preset number of bits to obtain a plurality of topic content tags, or,
and the determining module is used for acquiring the subject content tags matched with the subject content keywords from the subject content tag library according to the subject content keywords of the video file with the preset digit in the front.
In another embodiment of the present disclosure, the first and second substrates are,
the determining module is further used for determining a plurality of updated subject content labels according to the current playing attribute information of the video file corresponding to the audio file;
the sending module is further configured to send the plurality of updated theme content tags to the terminal, where the plurality of updated theme content tags are used for the terminal to replace the plurality of theme content tags displayed on the video playing interface.
In another embodiment of the present disclosure, the receiving module is configured to receive a target video file and a corresponding target theme tag uploaded by a terminal.
In another embodiment of the present disclosure, the apparatus further comprises:
the auditing module is used for auditing the content of the target video file;
and the sending module is further used for sending second prompt information which passes the audit to the terminal if the target video file passes the audit, and the second prompt information is used for the terminal to display the target video file on the audio playing interface.
According to the device provided by the embodiment of the disclosure, the theme content tag matched with the theme content of the audio file is sent to the terminal to be displayed, so that a user can select the target video file matched with the theme content tag from the video file according to the theme content tag, and the target video file is uploaded, so that the video file more matched with the audio file can be played when the audio file is played, the situation substitution sense of the user is enhanced, and the experience effect of the user is improved.
Fig. 10 shows a block diagram of a terminal 1000 according to an exemplary embodiment of the disclosure. The terminal 1000 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1000 can also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or the like by other names.
In general, terminal 1000 can include: a processor 1001 and a memory 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1002 is used to store at least one instruction for execution by the processor 1001 to implement the method of playing an audio file provided by the method embodiments of the present application.
In some embodiments, terminal 1000 can also optionally include: a peripheral interface 1003 and at least one peripheral. The processor 1001, memory 1002 and peripheral interface 1003 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, display screen 1005, camera assembly 1006, audio circuitry 1007, positioning assembly 1008, and power supply 1009.
The peripheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1001 and the memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1004 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1004 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to capture touch signals on or over the surface of the display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. At this point, the display screen 1005 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display screen 1005 can be one, providing a front panel of terminal 1000; in other embodiments, display 1005 can be at least two, respectively disposed on different surfaces of terminal 1000 or in a folded design; in still other embodiments, display 1005 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1000. Even more, the display screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display screen 1005 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1006 is used to capture images or video. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of a terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For stereo sound collection or noise reduction purposes, multiple microphones can be provided, each at a different location of terminal 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker and can also be a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1007 may also include a headphone jack.
A Location component 1008 is employed to locate a current geographic Location of terminal 1000 for purposes of navigation or LBS (Location Based Service). The Positioning component 1008 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 1009 is used to supply power to various components in terminal 1000. The power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1009 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1000 can also include one or more sensors 1010. The one or more sensors 1010 include, but are not limited to: acceleration sensor 1011, gyro sensor 1012, pressure sensor 1013, fingerprint sensor 1014, optical sensor 1015, and proximity sensor 1016.
Acceleration sensor 1011 can detect acceleration magnitudes on three coordinate axes of a coordinate system established with terminal 1000. For example, the acceleration sensor 1011 can be used to detect the components of the gravitational acceleration on three coordinate axes. The processor 1001 may control the display screen 1005 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1011. The acceleration sensor 1011 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1012 may detect a body direction and a rotation angle of the terminal 1000, and the gyro sensor 1012 and the acceleration sensor 1011 may cooperate to acquire a 3D motion of the user on the terminal 1000. From the data collected by the gyro sensor 1012, the processor 1001 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1013 can be located on a side frame of terminal 1000 and/or underneath display screen 1005. When pressure sensor 1013 is disposed on a side frame of terminal 1000, a user's grip signal on terminal 1000 can be detected, and processor 1001 performs left-right hand recognition or shortcut operation according to the grip signal collected by pressure sensor 1013. When the pressure sensor 1013 is disposed at a lower layer of the display screen 1005, the processor 1001 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1005. The operability control comprises at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 1014 is used to collect a fingerprint of the user, and the processor 1001 identifies the user according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1001 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. Fingerprint sensor 1014 can be disposed on the front, back, or side of terminal 1000. When a physical key or vendor Logo is provided on terminal 1000, fingerprint sensor 1014 can be integrated with the physical key or vendor Logo.
Optical sensor 1015 is used to collect ambient light intensity. In one embodiment, the processor 1001 may control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is turned down. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera assembly 1006 according to the intensity of the ambient light collected by the optical sensor 1015.
Proximity sensor 1016, also known as a distance sensor, is typically disposed on a front panel of terminal 1000. Proximity sensor 1016 is used to gather the distance between the user and the front face of terminal 1000. In one embodiment, when proximity sensor 1016 detects that the distance between the user and the front surface of terminal 1000 is gradually reduced, processor 1001 controls display screen 1005 to switch from a bright screen state to a dark screen state; when proximity sensor 1016 detects that the distance between the user and the front of terminal 1000 is gradually increased, display screen 1005 is controlled by processor 1001 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 10 is not intended to be limiting and that terminal 1000 can include more or fewer components than shown, or some components can be combined, or a different arrangement of components can be employed.
The terminal provided by the embodiment of the disclosure displays the theme content tag matched with the theme content of the audio file, so that a user can select the target video file matched with the theme content tag from the video files according to the theme content tag, and the target video file is uploaded, so that the video file more matched with the audio file can be played when the audio file is played, the scene substitution sense of the user is enhanced, and the experience effect of the user is improved.
FIG. 11 illustrates a server for playback of audio files, according to an example embodiment. Referring to FIG. 11, the server 1100 includes a processing component 1122 that further includes one or more processors and memory resources, represented by memory 1132, for storing instructions, such as application programs, executable by the processing component 1122. The application programs stored in memory 1132 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1122 is configured to execute instructions to perform the functions performed by the server in playing of the audio file described above.
The server 1100 may also include a power component 1126 configured to perform power management for the server 1100, a wired or wireless network interface 1150 configured to connect the server 1100 to a network, and an input/output (I/O) interface 1158. The Server 1100 may operate an operating system based on information stored in the storage 1132, such as Windows Server TM ,Mac OS X TM ,Unix TM ,Linux TM ,FreeBSD TM Or the like.
According to the server provided by the embodiment of the disclosure, the theme content tag matched with the theme content of the audio file is sent to the terminal to be displayed, so that a user can select the target video file matched with the theme content tag from the video files according to the theme content tag, and the target video file is uploaded, so that the video file more matched with the audio file can be played when the audio file is played, the situation substitution sense of the user is enhanced, and the experience effect of the user is improved.
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 the method for playing an audio file shown in fig. 2, 3, or 4. 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, and the like.
The computer-readable storage medium provided by the embodiment of the disclosure displays the theme content tag matched with the theme content of the audio file, so that a user can select a target video file matched with the theme content tag from the video files according to the theme content tag, and the target video file is uploaded, so that the video file more matched with the audio file can be played when the audio file is played, the situation substitution sense of the user is enhanced, and the experience effect of the user is improved.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is intended to be exemplary only and not to limit the present disclosure, and any modification, equivalent replacement, or improvement made without departing from the spirit and scope of the present disclosure is to be considered as the same as the present disclosure.

Claims (19)

1. A method for playing an audio file, the method comprising:
displaying a plurality of theme content labels on a video uploading interface, wherein the theme content labels are used for indicating theme contents of video files matched with audio files, the theme content labels are determined by a server according to playing attribute information of the audio files corresponding to the audio files, if the playing times of the audio files are in the same playing time interval, the theme content labels are sequenced by the server according to the sequence of the complete playing rate from high to low, and the theme content labels are determined according to the video files with the preset number of bits in the sequencing result;
responding to a click operation of a video adding option on the video uploading interface, and displaying a target video file uploaded by a user account on the video uploading interface, wherein the target video file is a video file with theme content matched with any theme content label;
and responding to the click operation of the video uploading option on the video uploading interface, and uploading the target video file to a server.
2. The method of claim 1, wherein displaying a plurality of subject matter labels on a video upload interface comprises:
determining a display position and a display mode corresponding to each theme content label;
and displaying each theme content label on a corresponding display position on the video uploading interface according to the display mode corresponding to each theme label.
3. The method of claim 1, wherein after displaying the plurality of subject content tags on the video upload interface, further comprising:
receiving a plurality of updated subject content tags sent by a server;
replacing the plurality of theme content labels displayed on the video playing interface with the plurality of updated theme content labels.
4. The method of claim 1, wherein after displaying the target video file uploaded by the user account on the video uploading interface, further comprising:
acquiring a target subject content label corresponding to the target video file;
the uploading the target video file to a server in response to the click operation on the video uploading option on the video uploading interface comprises:
and responding to the click operation of the video uploading option on the video uploading interface, and uploading the target video file and the target subject content label to a server.
5. The method of claim 1, wherein prior to uploading the target video file to a server, the method further comprises:
and responding to the click operation of the preview option on the video uploading interface, playing the audio file, and displaying the video picture of the target video file.
6. The method of claim 5, wherein after displaying the video picture of the target video file, further comprising:
deleting a target video file on the video uploading interface in response to clicking operation on a cancel option on the video uploading interface;
and responding to the deletion operation of the target video file, and displaying first prompt information on the video uploading interface, wherein the first prompt information is used for prompting the target account to upload the video file again.
7. The method of claim 1, wherein after uploading the target video file to a server, further comprising:
and responding to second prompt information which is sent by the server and passes the audit, and displaying the target video file on an audio playing interface.
8. The method according to any one of claims 1 to 7, wherein the theme content tag is determined by a server according to playing attribute information of a video file corresponding to the audio file, or the theme content tag is set by the user account.
9. A method for playing an audio file, the method comprising:
determining a plurality of theme content labels according to playing attribute information of a plurality of video files corresponding to audio files, wherein the theme content labels are used for indicating theme contents of the video files matched with the audio files;
sending the plurality of subject content tags to a terminal, wherein the plurality of subject content tags are used for being displayed on a video uploading interface of the terminal;
receiving a target video file uploaded by the terminal, wherein the target video file is sent when the terminal detects clicking operation on a video uploading option on the video uploading interface, and the target video file is a video file with theme content matched with any theme content label;
the determining the plurality of theme content tags according to the playing attribute information of the plurality of video files corresponding to the audio file comprises:
if the playing times of the plurality of video files are in the same playing time interval, acquiring the complete playing rate of the plurality of video files;
sequencing the plurality of video files according to the sequence of the complete playing rate from high to low;
according to the sorting result, acquiring a video file with a preset number of ranks in front;
and determining the plurality of subject content labels according to the video file with the front preset digit.
10. The method of claim 9, wherein the determining the plurality of theme content labels according to the playing attribute information of a plurality of video files corresponding to the audio file further comprises:
if the playing times of the plurality of video files are in different playing time intervals, sequencing the plurality of video files according to the sequence of the playing times from high to low;
according to the sorting result, acquiring a video file with a preset digit in the front;
and determining the plurality of subject content labels according to the video file with the front preset digit.
11. The method according to claim 9 or 10, wherein said determining the plurality of subject content tags according to the video file ranked in the previous preset number of bits comprises:
clustering the topic content keywords of the video file with the preset number of bits in the front to obtain a plurality of topic content labels, or,
and according to the topic content keywords of the video file with the preset number of bits, obtaining the topic content tags matched with the topic content keywords from a topic content tag library.
12. The method according to claim 9, wherein after receiving the target video file uploaded by the terminal, the method further comprises:
determining a plurality of updated subject content tags according to the current playing attribute information of the video file corresponding to the audio file;
and sending the updated theme content labels to the terminal, wherein the updated theme content labels are used for replacing the theme content labels displayed on the video playing interface by the terminal.
13. The method according to claim 9, wherein the receiving the target video file uploaded by the terminal comprises:
and receiving the target video file uploaded by the terminal and the corresponding target subject label.
14. The method according to claim 9, wherein after receiving the target video file uploaded by the terminal, the method further comprises:
auditing the content of the target video file;
and if the target video file passes the audit, sending second prompt information which passes the audit to the terminal, wherein the second prompt information is used for displaying the target video file on an audio playing interface by the terminal.
15. An apparatus for playing an audio file, the apparatus comprising:
the display module is used for displaying a plurality of theme content labels on a video uploading interface, wherein the theme content labels are used for indicating theme contents of video files matched with the audio files, the theme content labels are determined by a server according to playing attribute information of the audio files corresponding to the audio files, if the playing times of the audio files are located in the same playing time interval, the theme content labels are sequenced by the server from high to low according to the complete playing rate, and are determined according to the video files with the preset number of bits arranged in the sequencing result;
the display module is further used for responding to clicking operation of video adding options on the video uploading interface, and displaying a target video file uploaded by a user account on the video uploading interface, wherein the target video file is a video file with theme content matched with any theme content label;
and the uploading module is used for responding to the click operation of the video uploading option on the video uploading interface and uploading the target video file to a server.
16. An apparatus for playing an audio file, the apparatus comprising:
the system comprises a determining module, a judging module and a display module, wherein the determining module is used for determining a plurality of theme content labels according to the playing attribute information of a plurality of video files corresponding to audio files, and the theme content labels are used for indicating the theme content of the video files matched with the audio files;
the sending module is used for sending the plurality of subject content labels to a terminal, and the plurality of subject content labels are used for being displayed on a video uploading interface of the terminal;
the receiving module is used for receiving a target video file uploaded by the terminal, wherein the target video file is sent when the terminal detects the click operation on a video uploading option on the video uploading interface, and the target video file is a video file with theme content matched with any theme content label;
the determining module is configured to obtain a complete playing rate of the plurality of video files if the playing times of the plurality of video files are in the same playing time interval; sequencing the plurality of video files according to the sequence of the complete playing rate from high to low; according to the sorting result, acquiring a video file with a preset number of ranks in front; and determining the plurality of subject content labels according to the video file with the front preset digit.
17. A terminal characterized in that it comprises a processor and a memory, in which at least one program code is stored, which is loaded and executed by the processor to implement the method of playing an audio file according to any one of claims 1 to 8.
18. A server, characterized in that the server comprises 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 realize the method for playing back an audio file according to any one of claims 9 to 14.
19. A computer-readable storage medium, characterized in that at least one program code is stored in the storage medium, which is loaded and executed by a processor, to implement the method for playing back an audio file according to any one of claims 1 to 8, or to implement the method for playing back an audio file according to any one of claims 9 to 14.
CN202010851753.9A 2020-08-21 2020-08-21 Audio file playing method, device, terminal, server and storage medium Active CN111935516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010851753.9A CN111935516B (en) 2020-08-21 2020-08-21 Audio file playing method, device, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010851753.9A CN111935516B (en) 2020-08-21 2020-08-21 Audio file playing method, device, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN111935516A CN111935516A (en) 2020-11-13
CN111935516B true CN111935516B (en) 2022-10-18

Family

ID=73304530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010851753.9A Active CN111935516B (en) 2020-08-21 2020-08-21 Audio file playing method, device, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN111935516B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113207022B (en) * 2021-05-08 2023-09-19 广州酷狗计算机科技有限公司 Video playing method, device, computer equipment and storage medium
CN113347503B (en) * 2021-06-15 2023-05-23 广州酷狗计算机科技有限公司 Audio and video playing method and device, computer equipment and storage medium
CN113535116A (en) * 2021-08-05 2021-10-22 广州酷狗计算机科技有限公司 Audio file playing method and device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110043652A1 (en) * 2009-03-12 2011-02-24 King Martin T Automatically providing content associated with captured information, such as information captured in real-time
CN106713985A (en) * 2016-12-27 2017-05-24 广州酷狗计算机科技有限公司 Method and device for recommending network video
CN109413342A (en) * 2018-12-21 2019-03-01 广州酷狗计算机科技有限公司 Audio/video processing method, device, terminal and storage medium
CN109600643A (en) * 2018-12-21 2019-04-09 广州酷狗计算机科技有限公司 Video providing method, playback method, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110043652A1 (en) * 2009-03-12 2011-02-24 King Martin T Automatically providing content associated with captured information, such as information captured in real-time
CN106713985A (en) * 2016-12-27 2017-05-24 广州酷狗计算机科技有限公司 Method and device for recommending network video
CN109413342A (en) * 2018-12-21 2019-03-01 广州酷狗计算机科技有限公司 Audio/video processing method, device, terminal and storage medium
CN109600643A (en) * 2018-12-21 2019-04-09 广州酷狗计算机科技有限公司 Video providing method, playback method, device and storage medium

Also Published As

Publication number Publication date
CN111935516A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN109982102B (en) Interface display method and system for live broadcast room, live broadcast server and anchor terminal
CN109040297B (en) User portrait generation method and device
CN111147878B (en) Stream pushing method and device in live broadcast and computer storage medium
CN110278464B (en) Method and device for displaying list
CN111935516B (en) Audio file playing method, device, terminal, server and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN110674022A (en) Behavior data acquisition method and device and storage medium
CN113411680B (en) Multimedia resource playing method, device, terminal and storage medium
CN111711838B (en) Video switching method, device, terminal, server and storage medium
CN112068762A (en) Interface display method, device, equipment and medium of application program
CN111753784A (en) Video special effect processing method and device, terminal and storage medium
CN110933468A (en) Playing method, playing device, electronic equipment and medium
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN111818367A (en) Audio file playing method, device, terminal, server and storage medium
CN109547847B (en) Method and device for adding video information and computer readable storage medium
CN113032587A (en) Multimedia information recommendation method, system, device, terminal and server
CN114845152B (en) Display method and device of play control, electronic equipment and storage medium
CN111399796B (en) Voice message aggregation method and device, electronic equipment and storage medium
CN112069350A (en) Song recommendation method, device, equipment and computer storage medium
CN111782950A (en) Sample data set acquisition method, device, equipment and storage medium
CN112118482A (en) Audio file playing method and device, terminal and storage medium
CN113485596B (en) Virtual model processing method and device, electronic equipment and storage medium
CN115134316B (en) Topic display method, device, terminal and storage medium
CN111641853B (en) Multimedia resource loading method and device, computer equipment and storage medium
CN110808985B (en) Song on-demand method, device, terminal, server and storage medium

Legal Events

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