WO2018205833A1 - Method and apparatus for transmitting music file information, storage medium, and electronic apparatus - Google Patents
Method and apparatus for transmitting music file information, storage medium, and electronic apparatus Download PDFInfo
- Publication number
- WO2018205833A1 WO2018205833A1 PCT/CN2018/084353 CN2018084353W WO2018205833A1 WO 2018205833 A1 WO2018205833 A1 WO 2018205833A1 CN 2018084353 W CN2018084353 W CN 2018084353W WO 2018205833 A1 WO2018205833 A1 WO 2018205833A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- information
- music
- client
- video
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/233—Processing of audio elementary streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/232—Content retrieval operation locally within server, e.g. reading video streams from disk arrays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
- H04N21/25816—Management of client data involving client authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/439—Processing of audio elementary streams
- H04N21/4394—Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/4722—End-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 additional data associated with the content
Definitions
- the present application relates to the field of multimedia, and in particular to a method and device for transmitting music file information, a storage medium, and an electronic device.
- TV TV has also become intelligent in recent years, such as the emergence of smart TVs such as operating systems (such as Android Android), or smart TVs based on set-top boxes.
- smart TV has the advantage of an application platform that is not available in traditional TV.
- Smart TV implements various application services such as network search, IP TV, video on demand, and digital music.
- the embodiment of the present application provides a method and device for transmitting music file information, a storage medium, and an electronic device, so as to at least solve the technical problem that the music played in the video cannot be searched in the related art.
- a method for transmitting music file information comprising: receiving, by a server, an information acquisition request sent by a television terminal, wherein a first client for playing a video file is installed on the television terminal
- the information acquisition request is used to request to obtain file information of the music file, the music carried in the music file is music played in the first client when the video file is played, and the file information is used to describe the music file;
- the server responds to the information Obtaining a request for finding a video file saved in a database, the database being used to provide a video source for the first client; the server searching for file information of a music file associated with the video file saved in the database; the server returns the file information to the television terminal.
- a method for transmitting music file information comprising: receiving an acquisition instruction when playing a video file in a first client, wherein the obtaining instruction is used to indicate that the music is acquired
- the file information of the file, the music carried in the music file is the music played in the first client when playing the video file, the file information is used to describe the music file, the first client is installed on the television terminal;
- the information acquisition request is sent to a server, wherein the server is configured to search for a video file saved in the database in response to the information acquisition request, and search for file information of the music file associated with the video file, the database is configured to provide a video source for the first client; and the receiving server returns File information.
- a device for transmitting music file information comprising one or more processors, and one or more memories storing program units, wherein the program units are
- the processor unit is configured to: the first receiving unit is configured to receive an information acquiring request sent by the television terminal, where the first client for playing the video file is installed on the television terminal, and the information acquiring request is used by the processor.
- the music carried in the music file is music played in the first client when the video file is played, the file information is used to describe the music file;
- the determining unit is set to respond to the information acquisition request Finding a video file saved in the database, wherein the database is used to provide a video source for the first client;
- the first searching unit is configured to search for file information of the music file associated with the video file saved in the database; Is set to return file information to the TV terminal.
- a device for transmitting music file information comprising one or more processors, and one or more memories storing program units, wherein the program units are by the processor Executing, the program unit includes: a third receiving unit configured to receive an acquisition instruction when playing the video file in the first client, wherein the obtaining instruction is used to indicate that the file information of the music file is acquired, and the carried in the music file
- the music is music played in the first client when playing the video file
- the file information is used to describe the music file
- the first client is installed on the television terminal
- the first sending unit is configured to send the information acquisition request to the server
- the server is configured to: in response to the information acquisition request, search for a video file saved in the database, and find file information of the music file associated with the video file, the database is used to provide a video source for the first client;
- the fourth receiving unit is set Receive file information returned by the server.
- a first client for playing a video file is installed on a television terminal, and the server searches for an information acquisition request sent by the television terminal (the information acquisition request is used to request file information of the music file).
- the video file saved in the database and finds the file information of the music file associated with the video file saved in the database, and returns the found file information to the television terminal, which can solve the technology in the related art that the music played in the video cannot be searched.
- the problem achieves the technical effect of acquiring music files (such as background music, episodes, intros, and the like) associated with the video file.
- FIG. 1 is a schematic diagram of a hardware environment of a method for transmitting music file information according to an embodiment of the present application
- FIG. 2 is a flow chart of an alternative method of transmitting music file information according to an embodiment of the present application
- FIG. 3 is a flowchart of another optional method for transmitting music file information according to an embodiment of the present application.
- FIG. 5 is a flowchart of still another optional method for transmitting music file information according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of an optional music file information transmission apparatus according to an embodiment of the present application.
- FIG. 7 is a schematic diagram of another optional music file information transmission apparatus according to an embodiment of the present application.
- FIG. 8 is a structural block diagram of an electronic device according to an embodiment of the present application.
- a method embodiment of a method for transmitting music file information is provided.
- the foregoing method for transmitting music file information may be applied to a hardware environment composed of the server 102 and the terminal 104 as shown in FIG. 1.
- the server 102 is connected to the terminal 104 through a network.
- the network includes but is not limited to a wide area network, a metropolitan area network, or a local area network.
- the terminal 104 is not limited to a PC, a mobile phone, a tablet, or the like.
- the method for transmitting music file information in the embodiment of the present application may be executed by the server 102, may be executed by the terminal 104, or may be jointly executed by the server 102 and the terminal 104.
- the method for transmitting the music file information by the terminal 104 in the embodiment of the present application may also be performed by a client installed thereon.
- Step S102 after receiving the play instruction of the remote controller, the television terminal plays the video file in the client;
- Step S104 when the user enables the music recognition function in the client, the television terminal sends an information acquisition request (having information such as playback information, video stream information of the video file, video file information, and the like) to the server;
- an information acquisition request having information such as playback information, video stream information of the video file, video file information, and the like
- step S106 the server responds to the information acquisition request, and searches for a video file saved in the database in response to the information acquisition request, where the database is used to provide a video source for the first client;
- Step S108 searching for file information of the music file associated with the video file saved in the database, and returning the found file information to the television terminal.
- the method for transmitting music file information in the embodiment of the present application may be performed by the server 102 or by the terminal 104, which is described in detail below with reference to FIG. 2 and FIG.
- FIG. 2 is a flowchart of an optional method for transmitting music file information according to an embodiment of the present application, as shown in FIG. The steps can be included:
- Step S202 the server receives the information acquisition request sent by the television terminal, and the first client for playing the video file is installed on the television terminal, and the information acquisition request is used to request the file information of the music file, and the music carried in the music file is played.
- the music file is played in the first client when the video file is used to describe the music file.
- the music carried in the above music file may be background music, episodes, titles, and the like in the video when the video file is played.
- Step S204 The server searches for a video file saved in the database in response to the information acquisition request, and the database is used to provide a video source for the first client. Specifically, the corresponding video file can be found according to the video identifier carried in the request.
- Step S206 the server searches for file information of a music file associated with the video file saved in the database.
- Step S208 the server returns the file information to the television terminal.
- a first client for playing a video file is installed on the television terminal, and the server receives the information acquisition request sent by the television terminal (the information acquisition request is used to request the file information of the music file), Finding the video file saved in the database, and finding the file information of the music file associated with the video file saved in the database, and returning the found file information to the television terminal, can solve the problem that the related art cannot search for the music played in the video.
- the technical problem in turn, achieves the technical effect of acquiring music files (such as background music, episodes, title endings, etc.) associated with the video file.
- steps S202 to S208 may be run on a server having a music recognition function, but are not limited thereto.
- the above-mentioned television terminals are smart televisions, such as televisions using operating systems such as Android, televisions based on set-top boxes, and the like.
- the client installed on the TV terminal is a video application for playing Internet video.
- the database is the video source database of the above client, that is, the video played in the client is derived from the database.
- the music file and the video file have an association relationship.
- a music file is a file used when playing music in a certain playing period of the video file, and a video file may correspond to one or more music files, and the music file may be loaded in the video file. Exist, it can also exist in a plug-in form.
- the file information is related information of the music file, such as music track information (including track name, track duration, singing singer, song type, etc.), and the information acquisition request is related information of the video file (such as the name of the video file, video stream information, and playback). information).
- the background music of the film combined with the storyline and the interpretation of the actors can often impress the viewers.
- recalling the picture for the background music of ⁇ ⁇ ⁇ or warm and lyrical, only the melody of the starter can be recalled, but Knowing the name of the song, if you want to collect the songs that impressed the viewer at the time, you have to spend some time searching.
- the movie theme song, the background music, and the like are automatically recognized through the television end, and the user is intuitively prompted whether to collect the music being played to the mobile phone; instead of relying on other devices (such as mobile phones) for music recognition, It avoids the distraction of the mobile phone when watching the movie, thus improving the viewing experience.
- Embodiments of the present application are further detailed below in conjunction with FIG. 2:
- the terminal for performing information interaction includes a television terminal, a remote controller of the television terminal, and a server; when the remote control device (such as a remote control board, a mobile phone, etc.), a control panel of the television, etc. are used, the television terminal is started. After the music recognition function, the television terminal is triggered to send a message acquisition request to the server.
- the remote control device such as a remote control board, a mobile phone, etc.
- the information acquisition request carries the information that can be used to uniquely determine the corresponding television terminal, or can be used to uniquely determine the video file to be played, such as the playback information (including the current playing time), the video stream information of the video file, and the video.
- the file information the terminal identifier, the terminal address (including the physical address and the IP address), the identifier of the first client, and the first account number of the first client.
- the server determines the video file saved in the database (the database is used to provide the video source for the first client) in response to the information acquisition request, which may be specifically determined by:
- the server determines the number of the plurality of clients according to the foregoing one. a client, since the video service currently provided for each client is recorded in the server, the video file provided for the first client can be determined after determining the client;
- the video file is uniquely determined according to the video stream information and the video file information (such as the video file identifier, number, name, etc.) of the video file carried in the information acquisition request.
- the server searches for the file information of the music file associated with the video file saved in the database, which can be implemented in the following two ways:
- Method 1 Search for file information of music files associated with video files in real time
- the server preprocesses the source file (that is, the video file saved in the database) of the video file played in the client in the local database. Specifically, when searching for file information of a music file associated with the video file saved in the database, the server acquires audio information of the video file in the target playing period; and searches for a music file matching the audio information in the local or the Internet, where the matching is performed.
- the music beat is basically the same as the music beat of the audio information, such as the coincidence of the beat reaches a preset value (such as 90%, 80%, etc.); after finding the music file matching the audio information, the server reads from the music file
- the source location obtains file information, and the file information includes track information and address information of the music file, and the address information is used to indicate the storage location of the music file.
- the information acquiring request includes a current playing time of the video file
- the server may determine the target playing time period as the current time of the current playing time, for example, intercepting the time period of each N seconds before and after the current playing time, where the value of N is greater than 0, such as 10, 5, 2, etc.
- the first client may send the information obtaining request to the server in seconds, and the server returns the query result to the server in real time.
- the first client performs the presentation.
- the server can determine the playing time of each piece of music by comparing the obtained music files, and the music is in the video file. Play start and end times in .
- Method 2 Pre-store the association between video files and file information in the database.
- the server may establish the association between the video file and the file information of all the corresponding music files when the television terminal first queries the file information. Relationships are saved locally on the server.
- the video file may be actively analyzed on the server to obtain file information of all music of the video file, and the specific implementation manner and manner 1 Basically the same: the server acquires the audio information of the video file in the first playing period, the length of the first playing period is a preset value; finds a music file matching the audio information on the local or the Internet; and obtains the file information of the music file
- the file information includes track information and address information of the music file, the address information is used to indicate the storage location of the music file, and the association relationship between the video file and the file information is saved.
- the server After the correspondence between the video and the music is pre-established in the manner of the mode 2, the server directly obtains the video identifier (such as the video number and video) of the video file when searching for the file information of the music file associated with the video file saved in the database. Name, etc.), and then find the file information associated with the video identifier among the plurality of pre-saved file information.
- the video identifier such as the video number and video
- the mode 2 provides music recognition function, which can make the load of the server more balanced.
- the video file is analyzed, and the relationship between the video file and the file information of the music file is established; At the time, only video delivery services are available.
- step S208 the server returns the obtained file information to the television terminal for the file information determined by any of the above manners.
- the server may determine, according to the preference of the user, whether to push the music file to the corresponding terminal: the server receives the push sent by the television terminal.
- the request the push request is used to request to push the music file to the second client, the second client has a second account, and the second account has a binding relationship with the first account; and the track information and the address information of the music file are pushed.
- the second client receives the push sent by the television terminal.
- the request the push request is used to request to push the music file to the second client, the second client has a second account, and the second account has a binding relationship with the first account; and the track information and the address information of the music file are pushed.
- the first account is an account that is allowed to be registered on the first client
- the second account is an account that is allowed to be registered on the second client.
- the user can establish the first account and the second account on the first client.
- the binding relationship may also establish a binding relationship between the second account and the first account on the second client; the second account and the first account may be the same account.
- FIG. 3 is a flowchart of an optional method for transmitting music file information according to an embodiment of the present application, as shown in FIG. The method can include the following steps:
- Step S302 when playing a video file in the first client, receiving an acquisition instruction, and acquiring an instruction for acquiring file information of the music file, where the music carried in the music file is played in the first client when the video file is played.
- Music, the first client is installed on the TV terminal;
- Step S304 Send an information acquisition request to the server, where the server is configured to search for a video file saved in the database in response to the information acquisition request, and search for file information of the music file associated with the video file, where the database is used to provide a video for the first client. source;
- Step S306 receiving file information returned by the server.
- a first client for playing a video file is installed on the television terminal, and the server receives the information acquisition request sent by the television terminal (the information acquisition request is used to request the file information of the music file), Finding the video file saved in the database, and finding the file information of the music file associated with the video file saved in the database, and returning the found file information to the television terminal, can solve the problem that the related art cannot search for the music played in the video.
- the technical problem in turn, achieves the technical effect of acquiring music files (such as background music, episodes, title endings, etc.) associated with the video file.
- steps S302 to S306 may be run on a server having a music recognition function, but are not limited thereto.
- the above-mentioned television terminals are smart televisions, such as televisions using operating systems such as Android, televisions based on set-top boxes, and the like.
- the client installed on the TV terminal is a video application for playing Internet video.
- the database is the video source database of the above client, that is, the video played in the client is derived from the database.
- the music file and the video file have an association relationship.
- a music file is a file used when playing music in a certain playing period of the video file, and a video file may correspond to one or more music files, and the music file may be loaded in the video file. Exist, it can also exist in a plug-in form.
- the file information is related information of the music file, such as music track information (including track name, track duration, singing singer, song type, etc.), and the information acquisition request is related information of the video file (such as the name of the video file, video stream information, and playback). information).
- the background music of the film combined with the storyline and the interpretation of the actors can often impress the viewers.
- recalling the picture for the background music of ⁇ ⁇ ⁇ or warm and lyrical, only the melody of the starter can be recalled, but Knowing the name of the song, if you want to collect the songs that impressed the viewer at the time, you have to spend some time searching.
- the movie theme song, the background music, and the like are automatically recognized through the television end, and the user is intuitively prompted whether to collect the music being played to the mobile phone; instead of relying on other devices (such as mobile phones) for music recognition, It avoids the distraction of the mobile phone when watching the movie, thus improving the viewing experience.
- Embodiments of the present application are further detailed below in conjunction with FIG. 3:
- the terminal for performing information interaction includes a television terminal, a remote controller of the television terminal, and a server; when using a remote controller (such as a remote control board, a mobile phone, etc.), a control panel provided by the television, etc., the acquisition instruction is sent, To activate the music recognition function of the TV terminal.
- a remote controller such as a remote control board, a mobile phone, etc.
- the acquisition instruction is sent, To activate the music recognition function of the TV terminal.
- step S304 when the music recognition function of the television terminal is started, the television terminal is triggered to send an information acquisition request to the server.
- the information acquisition request carries the information that can be used to uniquely determine the corresponding television terminal, or can be used to uniquely determine the video file to be played, such as the playback information (including the current playing time), the video stream information of the video file, and the video.
- the file information the terminal identifier, the terminal address (including the physical address and the IP address), the identifier of the first client, and the first account number of the first client.
- the television terminal receives the file information returned by the server, and after receiving the file information returned by the server, displays the file information on the first client, where the file information includes the track information and the address information of the music file.
- the track information of the music file (such as song title, singer, play duration, etc.) is displayed at the location specified in the first client.
- the first account is registered on the first client, and after receiving the file information returned by the server, the television terminal searches for a second account that has a binding relationship with the first account; and finds that the second account exists.
- the prompt information is displayed, the prompt information is used to prompt whether to push the music file to the second client, and the second client is logged in to the second account.
- the first account is an account that is allowed to be registered on the first client
- the second account is an account that is allowed to be registered on the second client.
- the user can establish the first account and the second account on the first client.
- the binding relationship may also be established on the second client to establish a binding relationship between the second account and the first account.
- the second account and the first account may be the same account, such as a social account, and the user may log in to the first client and the second client by using the social account, where the second client is a client for playing music.
- the second client is a client for playing music.
- music applications Such as music applications.
- the user can determine whether to push it to the second client according to his or her preference, specifically by the remote control or the control panel of the terminal television, and determining that it needs to be pushed to the second client.
- the television terminal receives a push command triggered by the remote controller or the control panel, the push command is used to instruct to push the music file to the second client; the television terminal sends a push request to the server, and the server sends the music file when receiving the push request.
- the track information and the address information are pushed to the second client, and after the second client is started, the user can see the track information of the music file and select whether to download or not.
- the user After receiving the file information returned by the server, the user can determine whether to download it to the television terminal according to his or her preference, and specifically can implement the download operation through the remote controller or the control panel of the terminal television, and determine that it needs to be downloaded to the television terminal.
- the television terminal receives a download command triggered by the remote controller or the control panel, the download command is used to instruct to download the music file to the television terminal; the television terminal downloads the music file to the television terminal according to the address information of the music file, and the television terminal allows
- the downloaded music file is transmitted to the target terminal, that is, the user can use the mobile phone, the tablet, etc. to obtain the downloaded music file from the television terminal through the near field communication technology (such as Bluetooth, NFC, etc.).
- the near field communication technology such as Bluetooth, NFC, etc.
- the file information is displayed on the first client, and the information correction interface is also provided.
- the user finds that the displayed file information is incorrect, the user may pass the information correction interface.
- the error correction is performed, the feedback file information is incorrect, and the correct music track information, address information, and the like can be fed back through the information correction interface.
- the present application provides a preferred embodiment, the preferred embodiment
- the technical solution of the present application can be applied to a smart TV, and when the music recognition function is turned on, the movie music is recognized on the television end and provided for download.
- Step S402 the music recognition function is activated, and the user activates the music recognition function by turning on the music recognition function button.
- Step S404 the client of the smart TV records the time node of the movie playing when the button is turned on, records the time node as the starting node of the music recognition, and sends an information acquisition request to the server.
- step S406 the server performs music recognition, and the server intercepts the audio data of 2 seconds before and after the current time node, that is, audio data of 4 seconds in total, and the music recognition server performs identification and matching.
- Step S408 returning the result of the music recognition. If the matching is successful, the server returns the identified song information to the client. If the matching fails, the result of the matching failure is returned to the client.
- step S410 the client displays the matching result, and the user can visually see the currently playing song from the interface of the video playing, or see the prompt information that the matching fails.
- step S412 the music download is performed.
- the user decides whether to download and download the song, and specifically, the remote controller may send an instruction to the television terminal for implementation.
- Step S414 after the user presses the download button, the client sends a push request to the server through the registered binding account.
- step S416 the server pushes the song information into the music cloud collection of the account, and the user performs music download according to his own needs.
- step S4108 the user can turn off the music recognition function, which can be specifically implemented by sending a command by using a remote controller.
- Step S420 after receiving the instruction, the television terminal turns off the music recognition related display in the client.
- the client of the present application can transmit the identified video time node as transmission data to the server, and then the server processes the video data according to the video time node and the music fingerprint database.
- the comparison reduces the requirements on the processing power of the device and the network requirements.
- the timer is started, and the displayed song information is refreshed every 2 seconds.
- the identified request is sent to the server once every second, and the recognition of the following movie songs can be completed 2 seconds before the display, and the song information is performed.
- the cache is implemented to display the song information following the playback of the movie, as shown in Figure 5:
- Step S502 after the music recognition function is activated, it is determined whether the local cache of the music related information (ie, file information) is stored, and if yes, step S504 is performed, otherwise step S506 is performed.
- the local cache of the music related information ie, file information
- Step S504 sending a request to the server, requesting information about the music from the server.
- the client caches the list of song information of the video, and first obtains the list of song information from the local cache when the video is played next time, and then obtains the list of song information from the network when the local cache is empty.
- Step S506 it is determined whether the local cache cached on the server is consistent, if yes, step S508 is performed, otherwise step S504 is performed.
- Step S508 obtaining a list of song information and displaying it on the client.
- Step S510 the song information list is updated
- the client may also upload the song information list to the server, and the server creates a database to store the movie music information list.
- the server creates a database to store the movie music information list.
- step S512 the server saves the song information list in the database.
- the music recognition may also be in error.
- the video is added to the video client and the music application. Music recognition error feedback function.
- an error virtual button is added.
- the reported parameters include video name, video interception node, recognition song, corrected song and other information; the user only needs to fill in the correct song, or submit it by the media agent without confirmation, and correct the song list on the server database. Update server information.
- the workload may be increased due to misreporting of the false alarm. It may be designed in the form of a statistical error rate, and the songs with higher error rate are regularly checked for correction and regular sampling for verification check. To ensure the correctness of the video music list on the server.
- the function of recognizing the music of the movie on the television end is realized.
- the favorite music is conveniently and quickly collected on the mobile phone for viewing at any time, and the cache design saves the music recognition function to the device,
- the cost of network consumption makes it easier to build a more comprehensive and powerful video information library.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present application which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
- the instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
- FIG. 6 is a schematic diagram of an optional music file information transmission apparatus according to an embodiment of the present application.
- the apparatus may include one or more processors, and one or more memory storing program units.
- the program unit is executed by a processor, and the program unit includes a first receiving unit 62, a determining unit 64, a first searching unit 66, and a returning unit 68.
- the first receiving unit 62 is configured to receive an information acquisition request sent by the television terminal, where the first client for playing the video file is installed on the television terminal, and the information acquisition request is used to request to obtain the file information of the music file, the music file.
- the music carried in is the music played in the first client when the video file is played, and the file information is used to describe the music file;
- the determining unit 64 is configured to: in response to the information obtaining request, search for a video file saved in the database, wherein the database is used to provide a video source for the first client;
- the first searching unit 66 is configured to search for file information of a music file associated with the video file saved in the database;
- Returning unit 68 is arranged to return file information to the television terminal.
- the first receiving unit 62 in this embodiment may be configured to perform step S202 in Embodiment 1 of the present application
- the determining unit 64 in this embodiment may be configured to perform the method in Embodiment 1 of the present application.
- the first searching unit 66 in this embodiment may be configured to perform step S206 in Embodiment 1 of the present application
- the returning unit 68 in this embodiment may be configured to perform step S208 in Embodiment 1 of the present application. .
- the foregoing modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the foregoing embodiments. It should be noted that the foregoing module may be implemented in a hardware environment as shown in FIG. 1 as part of the device, and may be implemented by software or by hardware.
- a first client for playing a video file is installed on the television terminal, and the server saves the search in the database when receiving the information acquisition request sent by the television terminal (the information acquisition request is used to request the file information of the music file)
- the video file and find the file information of the music file associated with the video file saved in the database, and return the found file information to the television terminal, which can solve the technical problem that the related art cannot search for the music played in the video.
- the technical effect of acquiring music files (such as background music, episodes, titles, and the like) associated with the video file is achieved.
- the above-mentioned television terminals are smart televisions, such as televisions using operating systems such as Android, televisions based on set-top boxes, and the like.
- the client installed on the TV terminal is a video application for playing Internet video.
- the database is the video source database of the above client, that is, the video played in the client is derived from the database.
- the music file and the video file have an association relationship.
- a music file is a file used when playing music in a certain playing period of the video file, and a video file may correspond to one or more music files, and the music file may be loaded in the video file. Exist, it can also exist in a plug-in form.
- the file information is related information of the music file, such as music track information (including track name, track duration, singing singer, song type, etc.), and the information acquisition request is related information of the video file (such as the name of the video file, video stream information, and playback). information).
- the first searching unit includes: a first acquiring module configured to acquire a video identifier of the video file; and a first searching module configured to search for file information associated with the video identifier among the plurality of pre-saved file information.
- the device further includes: a first obtaining unit, configured to acquire audio information of the video file in the first playing period before searching for file information of the music file associated with the video file saved in the database, where The length of time of the first playing period is a preset value; the second searching unit is configured to find a music file that matches the audio information; and the second obtaining unit is configured to acquire file information of the music file, wherein the file information includes The track information and the address information of the music file, the address information is used to indicate the storage location of the music file, and the saving unit is set to save the association relationship between the video file and the file information.
- a first obtaining unit configured to acquire audio information of the video file in the first playing period before searching for file information of the music file associated with the video file saved in the database, where The length of time of the first playing period is a preset value
- the second searching unit is configured to find a music file that matches the audio information
- the second obtaining unit is configured to acquire file information of the music file, wherein the file information includes The track information and
- the information obtaining request includes a current playing time of the video file
- the first searching unit includes: a second acquiring module, configured to acquire audio information of the video file in the target playing period, where the target playing period includes the current a second search module configured to find a music file that matches the audio information; a third acquisition module configured to acquire file information of the music file, wherein the file information includes track information and address information of the music file, The address information is used to indicate where the music file is saved.
- the first client has a first account
- the device further includes: a second receiving unit, configured to receive a push request sent by the television terminal after returning the file information to the television terminal, where the pushing The request is for requesting to push the music file to the second client, the second client has a second account, and the second account has a binding relationship with the first account; the pushing unit is set to record the track information of the music file and The address information is pushed to the second client.
- the movie theme song, the background music, and the like are automatically recognized through the television end, and the user is intuitively prompted whether to collect the music being played to the mobile phone; instead of relying on other devices (such as mobile phones) for music recognition, It avoids the distraction of the mobile phone when watching the movie, thus improving the viewing experience.
- a transmission apparatus for music file information for implementing the above-described method of transmitting music file information.
- 7 is a schematic diagram of an optional music file information transmission apparatus according to an embodiment of the present application.
- the apparatus may include one or more processors, and one or more memory storing program units.
- the program unit is executed by a processor, and the program unit includes: a third receiving unit 72, a first transmitting unit 74, and a fourth receiving unit 76.
- the third receiving unit 72 is configured to receive an acquisition instruction when the video file is played in the first client, where the acquisition instruction is used to acquire file information of the music file, and the music carried in the music file is when the video file is played.
- the music played in the first client, the first client is installed on the television terminal;
- the first sending unit 74 is configured to send an information obtaining request to the server, wherein the server is configured to search for a video file saved in the database in response to the information obtaining request, and search for file information of the music file associated with the video file, and use the database Providing a video source for the first client;
- the fourth receiving unit 76 is configured to receive file information returned by the server.
- a first client for playing a video file is installed on the television terminal, and the server saves the search in the database when receiving the information acquisition request sent by the television terminal (the information acquisition request is used to request the file information of the music file)
- the video file and find the file information of the music file associated with the video file saved in the database, and return the found file information to the television terminal, which can solve the technical problem that the related art cannot search for the music played in the video.
- the technical effect of acquiring music files (such as background music, episodes, titles, and the like) associated with the video file is achieved.
- the above-mentioned television terminals are smart televisions, such as televisions using operating systems such as Android, televisions based on set-top boxes, and the like.
- the client installed on the TV terminal is a video application for playing Internet video.
- the database is the video source database of the above client, that is, the video played in the client is derived from the database.
- the music file and the video file have an association relationship.
- a music file is a file used when playing music in a certain playing period of the video file, and a video file may correspond to one or more music files, and the music file may be loaded in the video file. Exist, it can also exist in a plug-in form.
- the file information is related information of the music file, such as music track information (including track name, track duration, singing singer, song type, etc.), and the information acquisition request is related information of the video file (such as the name of the video file, video stream information, and playback). information).
- the apparatus further includes: a first display unit configured to display file information on the first client after receiving the file information returned by the server, wherein the file information includes track information and address information of the music file.
- a first display unit configured to display file information on the first client after receiving the file information returned by the server, wherein the file information includes track information and address information of the music file.
- the first client has a first account
- the device further includes: a third searching unit, configured to: after receiving the file information returned by the server, whether there is a binding relationship with the first account
- the second display unit is configured to display the prompt information when the second account is found, wherein the prompt information is used to prompt whether to push the music file to the second client, wherein the second The second account is logged in on the client.
- the device further includes: a fifth receiving unit, configured to receive a push command when the prompt information is displayed or after, wherein the push command is used to indicate that the music file is pushed to the second client; the second sending The unit is configured to send a push request to the server, wherein the server is configured to push the track information and the address information of the music file to the second client when the push request is received.
- a fifth receiving unit configured to receive a push command when the prompt information is displayed or after, wherein the push command is used to indicate that the music file is pushed to the second client
- the second sending The unit is configured to send a push request to the server, wherein the server is configured to push the track information and the address information of the music file to the second client when the push request is received.
- the apparatus further includes: a sixth receiving unit, configured to receive a download instruction after receiving the file information returned by the server, wherein the download instruction is used to instruct to download the music file to the television terminal; the download unit is It is arranged to download the music file to the television terminal according to the address information of the music file, wherein the television terminal allows the downloaded music file to be transmitted to the target terminal.
- a sixth receiving unit configured to receive a download instruction after receiving the file information returned by the server, wherein the download instruction is used to instruct to download the music file to the television terminal; the download unit is It is arranged to download the music file to the television terminal according to the address information of the music file, wherein the television terminal allows the downloaded music file to be transmitted to the target terminal.
- the above modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above embodiment 1. It should be noted that the foregoing module may be implemented in a hardware environment as shown in FIG. 1 as part of the device, and may be implemented by software or by hardware, where the hardware environment includes a network environment.
- a server or terminal for implementing the above-described method of transmitting music file information.
- FIG. 8 is a structural block diagram of an electronic device according to an embodiment of the present application.
- the electronic device may include: one or more (only one shown in FIG. 8) processor 801, memory 803, and
- the transmission device 805, as shown in FIG. 8, may further include an input and output device 807.
- the memory 803 can be configured to store a computer program and a module, such as a method for transmitting music file information and a program instruction/module corresponding to the device in the embodiment of the present application, and the processor 801 is configured to be stored in the memory 803 by running.
- the computer program and the module thereby performing various function applications and data processing, that is, implementing the above-described method of transmitting music file information.
- Memory 803 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 803 can further include memory remotely located relative to processor 801, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the transmission device 805 described above is arranged to receive or transmit data via a network, and may also be configured as a data transmission between the processor and the memory. Specific examples of the above network may include a wired network and a wireless network.
- the transmission device 805 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network.
- NIC Network Interface Controller
- transmission device 805 is a radio frequency (RF) module that is configured to communicate with the Internet wirelessly.
- the memory 803 is configured to store an application.
- the processor 801 can call the application stored in the memory 803 through the transmission device 805 to perform the following steps: receiving an information acquisition request sent by the television terminal, where the first client for playing the video file is installed on the television terminal, and the information is acquired.
- Requesting file information for requesting to acquire a music file the music carried in the music file is music played in the first client when playing the video file, the file information is used to describe the music file; in response to the information acquisition request, searching in the database
- the saved video file the database is used to provide a video source for the first client; the file information of the music file associated with the video file saved in the database is searched; and the file information is returned to the television terminal.
- the processor 801 is further configured to perform the following steps: when playing the video file in the first client, receiving an acquisition instruction, wherein the obtaining instruction is used to acquire file information of the music file, and the music carried in the music file is played The music played in the first client when the video file is played, the first client is installed on the television terminal; the information acquisition request is sent to the server, wherein the server is configured to search for the video file saved in the database in response to the information acquisition request, and Finding file information of a music file associated with the video file, the database is used to provide a video source for the first client; and receiving file information returned by the server.
- a first client for playing a video file is installed on a television terminal, and the server searches for a database when receiving an information acquisition request sent by the television terminal (the information acquisition request is used to request file information of the music file).
- the saved video file and finds the file information of the music file associated with the video file saved in the database, and returns the found file information to the television terminal, which can solve the technology in the related art that the music played in the video cannot be searched.
- the problem in turn, achieves the technical effect of acquiring music files (such as background music, episodes, intros, and the like) associated with the video file.
- the structure shown in FIG. 8 is only illustrative, and the terminal can be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, and a mobile Internet device (MID). Terminal equipment such as PAD.
- FIG. 8 does not limit the structure of the above electronic device.
- the terminal may also include more or less components (such as a network interface, display device, etc.) than shown in FIG. 8, or have a different configuration than that shown in FIG.
- Embodiments of the present application also provide a storage medium.
- a computer program is stored in the storage medium, wherein the computer program is configured to execute a method for transmitting music file information at runtime.
- the foregoing storage medium may be located on at least one of the plurality of network devices in the network shown in the foregoing embodiment.
- the storage medium is arranged to store program code for performing the following steps:
- the storage medium is further arranged to store program code for performing the following steps:
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- the integrated unit in the above embodiment if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium.
- the technical solution of the present application may be embodied in the form of a software product, or the whole or part of the technical solution, which is stored in the storage medium, including
- the instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
- the disclosed client may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located at one location, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Computer Graphics (AREA)
- Information Transfer Between Computers (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
Disclosed are a method and apparatus for transmitting music file information, a storage medium, and an electronic apparatus. The method comprises: a server receiving an information acquisition request sent by a television terminal, wherein the television terminal is installed with a first client for playing a video file, the information acquisition request is used for requesting acquisition of file information of a music file, music carried in the music file is music which is to be played in the first client when playing the video file, and the file information is used for describing the music file; the server responding to the information acquisition request and searching for a stored video file in a database, wherein the database is used for providing the first client with a video source; the server searching for the file information of the music file which is associated with the stored video file in the database; and the server returning the file information to the television terminal. The present application solves the technical problem that music played in a video cannot be searched for in the relevant technology.
Description
本申请要求于2017年05月12日提交中国专利局、申请号为201710334165.6、发明名称“音乐文件信息的传输方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 200910334165.6, the disclosure of the entire disclosure of the entire disclosure of the entire disclosure of .
本申请涉及多媒体领域,具体而言,涉及一种音乐文件信息的传输方法及装置、存储介质以及电子装置。The present application relates to the field of multimedia, and in particular to a method and device for transmitting music file information, a storage medium, and an electronic device.
随着科技的发展,数字化越来越深入生活,电视TV也在近年走向智能化,如出现的安装有操作系统(如安卓Android)等的智能电视,或者基于机顶盒的智能电视。目前推出的智能电视拥有传统电视所不具备的应用平台优势。智能电视实现了网络搜索、IP电视、视频点播、数字音乐等各种应用服务。With the development of technology, digitalization has become more and more in-depth, and TV TV has also become intelligent in recent years, such as the emergence of smart TVs such as operating systems (such as Android Android), or smart TVs based on set-top boxes. The currently launched smart TV has the advantage of an application platform that is not available in traditional TV. Smart TV implements various application services such as network search, IP TV, video on demand, and digital music.
智能电视的出现,极大的丰富了人们的数字生活,如通过智能TV观看影片时,影片的背景音乐结合故事情节和演员的演绎,往往能打动观影者,在回想画面,对于澎湃恢弘或是温婉抒情的背景音乐,只能想起动人的旋律,却不知道歌曲的名字,如果想收藏当时打动观影者的歌曲,还得花点功夫搜索,但是不知道该歌曲的名称、演唱者或者其它的相关信息,导致了搜索较为困难。The emergence of smart TV has greatly enriched people's digital life. For example, when watching movies through smart TV, the background music of the film combined with the storyline and the interpretation of the actors can often impress the viewers, in recalling the pictures, for the grand or It is a warm and lyrical background music. I can only start the melody of the person, but I don’t know the name of the song. If I want to collect the song that touched the viewer at that time, I have to spend some time searching, but I don’t know the name of the song, the singer. Or other related information, which makes searching more difficult.
针对相关技术中无法搜索到视频中播放的音乐的技术问题,目前尚未提出有效的解决方案。In view of the technical problems in the related art that the music played in the video cannot be searched, an effective solution has not been proposed yet.
发明内容Summary of the invention
本申请实施例提供了一种音乐文件信息的传输方法及装置、存储介质 以及电子装置,以至少解决相关技术中无法搜索到视频中播放的音乐的技术问题。The embodiment of the present application provides a method and device for transmitting music file information, a storage medium, and an electronic device, so as to at least solve the technical problem that the music played in the video cannot be searched in the related art.
根据本申请实施例的一个方面,提供了一种音乐文件信息的传输方法,该方法包括:服务器接收电视终端发送的信息获取请求,其中,电视终端上安装有用于播放视频文件的第一客户端,信息获取请求用于请求获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,文件信息用于描述音乐文件;所述服务器响应于信息获取请求,查找数据库中保存的视频文件,数据库用于为第一客户端提供视频源;所述服务器查找与数据库中保存的视频文件关联的音乐文件的文件信息;所述服务器返回文件信息至电视终端。According to an aspect of the embodiments of the present application, a method for transmitting music file information is provided, the method comprising: receiving, by a server, an information acquisition request sent by a television terminal, wherein a first client for playing a video file is installed on the television terminal The information acquisition request is used to request to obtain file information of the music file, the music carried in the music file is music played in the first client when the video file is played, and the file information is used to describe the music file; the server responds to the information Obtaining a request for finding a video file saved in a database, the database being used to provide a video source for the first client; the server searching for file information of a music file associated with the video file saved in the database; the server returns the file information to the television terminal.
根据本申请实施例的一个方面,还提供了一种音乐文件信息的传输方法,该方法包括:在第一客户端中播放视频文件时,接收到获取指令,其中,获取指令用于指示获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,文件信息用于描述音乐文件,第一客户端安装在电视终端上;发送信息获取请求至服务器,其中,服务器用于响应于信息获取请求,查找数据库中保存的视频文件,并查找与视频文件关联的音乐文件的文件信息,数据库用于为第一客户端提供视频源;接收服务器返回的文件信息。According to an aspect of the embodiments of the present application, a method for transmitting music file information is further provided, the method comprising: receiving an acquisition instruction when playing a video file in a first client, wherein the obtaining instruction is used to indicate that the music is acquired The file information of the file, the music carried in the music file is the music played in the first client when playing the video file, the file information is used to describe the music file, the first client is installed on the television terminal; the information acquisition request is sent to a server, wherein the server is configured to search for a video file saved in the database in response to the information acquisition request, and search for file information of the music file associated with the video file, the database is configured to provide a video source for the first client; and the receiving server returns File information.
根据本申请实施例的另一方面,还提供了一种音乐文件信息的传输装置,该装置包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,所述程序单元由所述处理器执行,所述程序单元包括:第一接收单元,被设置为接收电视终端发送的信息获取请求,其中,电视终端上安装有用于播放视频文件的第一客户端,信息获取请求用于请求获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,文件信息用于描述音乐文件;确定单元,被设置为响应于信息获取请求,查找数据库中保存的视频文件,其中,数据库用于为第一客户端提供视频源;第一查找单元,被设置为查找与数据库中保存的视 频文件关联的音乐文件的文件信息;返回单元,被设置为返回文件信息至电视终端。According to another aspect of an embodiment of the present application, there is also provided a device for transmitting music file information, the device comprising one or more processors, and one or more memories storing program units, wherein the program units are The processor unit is configured to: the first receiving unit is configured to receive an information acquiring request sent by the television terminal, where the first client for playing the video file is installed on the television terminal, and the information acquiring request is used by the processor. In requesting to obtain file information of the music file, the music carried in the music file is music played in the first client when the video file is played, the file information is used to describe the music file; the determining unit is set to respond to the information acquisition request Finding a video file saved in the database, wherein the database is used to provide a video source for the first client; the first searching unit is configured to search for file information of the music file associated with the video file saved in the database; Is set to return file information to the TV terminal.
根据本发明实施例的另一方面,还提供了一种音乐文件信息的传输装置,该装置包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,程序单元由处理器执行,程序单元包括:第三接收单元,被设置为在第一客户端中播放视频文件时,接收到获取指令,其中,获取指令用于指示获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,文件信息用于描述音乐文件,第一客户端安装在电视终端上;第一发送单元,被设置为发送信息获取请求至服务器,其中,服务器用于响应于信息获取请求,查找数据库中保存的视频文件,并查找与视频文件关联的音乐文件的文件信息,数据库用于为第一客户端提供视频源;第四接收单元,被设置为接收服务器返回的文件信息。According to another aspect of an embodiment of the present invention, there is also provided a device for transmitting music file information, the device comprising one or more processors, and one or more memories storing program units, wherein the program units are by the processor Executing, the program unit includes: a third receiving unit configured to receive an acquisition instruction when playing the video file in the first client, wherein the obtaining instruction is used to indicate that the file information of the music file is acquired, and the carried in the music file The music is music played in the first client when playing the video file, the file information is used to describe the music file, the first client is installed on the television terminal, and the first sending unit is configured to send the information acquisition request to the server, wherein The server is configured to: in response to the information acquisition request, search for a video file saved in the database, and find file information of the music file associated with the video file, the database is used to provide a video source for the first client; the fourth receiving unit is set Receive file information returned by the server.
在本申请实施例中,在电视终端上安装用于播放视频文件的第一客户端,服务器在接收电视终端发送的信息获取请求(该信息获取请求用于请求音乐文件的文件信息)时,查找数据库中保存的视频文件,并查找与数据库中保存的视频文件关联的音乐文件的文件信息,将查找到的文件信息返回至电视终端,可以解决相关技术中无法搜索到视频中播放的音乐的技术问题,进而达到获取与视频文件相关联的音乐文件(如背景音乐、插曲、片头片尾曲等)的技术效果。In the embodiment of the present application, a first client for playing a video file is installed on a television terminal, and the server searches for an information acquisition request sent by the television terminal (the information acquisition request is used to request file information of the music file). The video file saved in the database, and finds the file information of the music file associated with the video file saved in the database, and returns the found file information to the television terminal, which can solve the technology in the related art that the music played in the video cannot be searched. The problem, in turn, achieves the technical effect of acquiring music files (such as background music, episodes, intros, and the like) associated with the video file.
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是根据本申请实施例的音乐文件信息的传输方法的硬件环境的示意图;1 is a schematic diagram of a hardware environment of a method for transmitting music file information according to an embodiment of the present application;
图2是根据本申请实施例的一种可选的音乐文件信息的传输方法的流 程图;2 is a flow chart of an alternative method of transmitting music file information according to an embodiment of the present application;
图3是根据本申请实施例的另一种可选的音乐文件信息的传输方法的流程图;3 is a flowchart of another optional method for transmitting music file information according to an embodiment of the present application;
图4是根据本申请实施例的又一种可选的音乐文件信息的传输方法的流程图;4 is a flowchart of still another optional method for transmitting music file information according to an embodiment of the present application;
图5是根据本申请实施例的又一种可选的音乐文件信息的传输方法的流程图;FIG. 5 is a flowchart of still another optional method for transmitting music file information according to an embodiment of the present application; FIG.
图6是根据本申请实施例的一种可选的音乐文件信息的传输装置的示意图;6 is a schematic diagram of an optional music file information transmission apparatus according to an embodiment of the present application;
图7是根据本申请实施例的另一种可选的音乐文件信息的传输装置的示意图;以及7 is a schematic diagram of another optional music file information transmission apparatus according to an embodiment of the present application;
图8是根据本申请实施例的一种电子装置的结构框图。FIG. 8 is a structural block diagram of an electronic device according to an embodiment of the present application.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is an embodiment of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出 的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
根据本申请实施例,提供了一种音乐文件信息的传输方法的方法实施例。According to an embodiment of the present application, a method embodiment of a method for transmitting music file information is provided.
可选地,在本实施例中,上述音乐文件信息的传输方法可以应用于如图1所示的由服务器102和终端104所构成的硬件环境中。如图1所示,服务器102通过网络与终端104进行连接,上述网络包括但不限于:广域网、城域网或局域网,终端104并不限定于PC、手机、平板电脑等。本申请实施例的音乐文件信息的传输方法可以由服务器102来执行,也可以由终端104来执行,还可以是由服务器102和终端104共同执行。其中,终端104执行本申请实施例的音乐文件信息的传输方法也可以是由安装在其上的客户端来执行。Optionally, in this embodiment, the foregoing method for transmitting music file information may be applied to a hardware environment composed of the server 102 and the terminal 104 as shown in FIG. 1. As shown in FIG. 1, the server 102 is connected to the terminal 104 through a network. The network includes but is not limited to a wide area network, a metropolitan area network, or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet, or the like. The method for transmitting music file information in the embodiment of the present application may be executed by the server 102, may be executed by the terminal 104, or may be jointly executed by the server 102 and the terminal 104. The method for transmitting the music file information by the terminal 104 in the embodiment of the present application may also be performed by a client installed thereon.
例如,由服务器102和终端104共同执行本申请的方法时:For example, when the method of the present application is performed by the server 102 and the terminal 104 in common:
步骤S102,电视终端接收到遥控器的播放指令之后,在客户端中播放视频文件;Step S102, after receiving the play instruction of the remote controller, the television terminal plays the video file in the client;
步骤S104,当用户在客户端中启用音乐识别功能时,电视终端发送信息获取请求(携带有如播放信息、视频文件的视频流信息、视频文件信息等类型的信息)给服务器;Step S104, when the user enables the music recognition function in the client, the television terminal sends an information acquisition request (having information such as playback information, video stream information of the video file, video file information, and the like) to the server;
步骤S106,服务器对信息获取请求进行响应,响应于信息获取请求,查找数据库中保存的视频文件,其中,数据库用于为第一客户端提供视频源;In step S106, the server responds to the information acquisition request, and searches for a video file saved in the database in response to the information acquisition request, where the database is used to provide a video source for the first client;
步骤S108,查找与数据库中保存的视频文件关联的音乐文件的文件信息,并将查找到的文件信息返回给电视终端。Step S108, searching for file information of the music file associated with the video file saved in the database, and returning the found file information to the television terminal.
可选地,本申请实施例的音乐文件信息的传输方法可以由服务器102来执行,也可以由终端104来执行,下面结合图2和图3详细说明。Optionally, the method for transmitting music file information in the embodiment of the present application may be performed by the server 102 or by the terminal 104, which is described in detail below with reference to FIG. 2 and FIG.
本申请实施例的音乐文件信息的传输方法可以由服务器102来执行, 图2是根据本申请实施例的一种可选的音乐文件信息的传输方法的流程图,如图2所示,该方法可以包括以下步骤:The method for transmitting music file information in the embodiment of the present application may be executed by the server 102. FIG. 2 is a flowchart of an optional method for transmitting music file information according to an embodiment of the present application, as shown in FIG. The steps can be included:
步骤S202,服务器接收电视终端发送的信息获取请求,电视终端上安装有用于播放视频文件的第一客户端,信息获取请求用于请求获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,文件信息用于描述音乐文件。Step S202, the server receives the information acquisition request sent by the television terminal, and the first client for playing the video file is installed on the television terminal, and the information acquisition request is used to request the file information of the music file, and the music carried in the music file is played. The music file is played in the first client when the video file is used to describe the music file.
上述的音乐文件中的携带的音乐可以为播放视频文件时视频中的背景音乐、插曲、片头片尾曲等。The music carried in the above music file may be background music, episodes, titles, and the like in the video when the video file is played.
步骤S204,所述服务器响应于信息获取请求,查找数据库中保存的视频文件,数据库用于为第一客户端提供视频源。具体可以根据请求中携带的视频标识查找到对应的视频文件。Step S204: The server searches for a video file saved in the database in response to the information acquisition request, and the database is used to provide a video source for the first client. Specifically, the corresponding video file can be found according to the video identifier carried in the request.
步骤S206,所述服务器查找与数据库中保存的视频文件关联的音乐文件的文件信息。Step S206, the server searches for file information of a music file associated with the video file saved in the database.
步骤S208,所述服务器返回文件信息至电视终端。Step S208, the server returns the file information to the television terminal.
通过上述步骤S202至步骤S208,在电视终端上安装用于播放视频文件的第一客户端,服务器在接收电视终端发送的信息获取请求(该信息获取请求用于请求音乐文件的文件信息)时,查找数据库中保存的视频文件,并查找与数据库中保存的视频文件关联的音乐文件的文件信息,将查找到的文件信息返回至电视终端,可以解决了相关技术中无法搜索到视频中播放的音乐的技术问题,进而达到获取与视频文件相关联的音乐文件(如背景音乐、插曲、片头片尾曲等)的技术效果。Through the above steps S202 to S208, a first client for playing a video file is installed on the television terminal, and the server receives the information acquisition request sent by the television terminal (the information acquisition request is used to request the file information of the music file), Finding the video file saved in the database, and finding the file information of the music file associated with the video file saved in the database, and returning the found file information to the television terminal, can solve the problem that the related art cannot search for the music played in the video. The technical problem, in turn, achieves the technical effect of acquiring music files (such as background music, episodes, title endings, etc.) associated with the video file.
在本申请的实施例中,步骤S202至步骤S208可以在具有音乐识别功能的服务器上运行,但不局限于此。In the embodiment of the present application, steps S202 to S208 may be run on a server having a music recognition function, but are not limited thereto.
上述的电视终端为智能电视,如采用Android等操作系统的电视、基于机顶盒的电视等。安装在电视终端的客户端即用于播放互联网视频的视频应用。数据库为上述客户端的视频源数据库,也即客户端中播放的视频 来源于该数据库。The above-mentioned television terminals are smart televisions, such as televisions using operating systems such as Android, televisions based on set-top boxes, and the like. The client installed on the TV terminal is a video application for playing Internet video. The database is the video source database of the above client, that is, the video played in the client is derived from the database.
音乐文件和视频文件具有关联关系,一个音乐文件为视频文件的某个播放时段内播放音乐时使用的文件,一个视频文件可以对应一个或者多个音乐文件,音乐文件可以加载在视频文件中的形式存在,也可以外挂的形式存在。文件信息为音乐文件的相关信息,如音乐曲目信息(包括曲目名称、曲目时长、演唱歌手、歌曲类型等),信息获取请求为视频文件的相关信息(如视频文件的名称、视频流信息、播放信息)。The music file and the video file have an association relationship. A music file is a file used when playing music in a certain playing period of the video file, and a video file may correspond to one or more music files, and the music file may be loaded in the video file. Exist, it can also exist in a plug-in form. The file information is related information of the music file, such as music track information (including track name, track duration, singing singer, song type, etc.), and the information acquisition request is related information of the video file (such as the name of the video file, video stream information, and playback). information).
观看影片时,影片的背景音乐结合故事情节和演员的演绎,往往能打动观影者,在回想画面时,对于澎湃恢弘或是温婉抒情的背景音乐,只能回想起动人的旋律,却不知道该歌曲的名字,如果想收藏当时打动观影者的歌曲,还得花点功夫搜索。When watching the film, the background music of the film combined with the storyline and the interpretation of the actors can often impress the viewers. When recalling the picture, for the background music of 澎湃 弘 或是 or warm and lyrical, only the melody of the starter can be recalled, but Knowing the name of the song, if you want to collect the songs that impressed the viewer at the time, you have to spend some time searching.
采用本申请的技术方案,通过电视端对影片主题曲、背景音乐等进行自动识别,并直观地提示是否需要收藏正在播放的音乐到手机上;而不用依靠其它设备(如手机)进行音乐识别,避免了观影时分心操作手机,从而提高了观影的体验。下面结合图2进一步详述本申请的实施例:By adopting the technical scheme of the present application, the movie theme song, the background music, and the like are automatically recognized through the television end, and the user is intuitively prompted whether to collect the music being played to the mobile phone; instead of relying on other devices (such as mobile phones) for music recognition, It avoids the distraction of the mobile phone when watching the movie, thus improving the viewing experience. Embodiments of the present application are further detailed below in conjunction with FIG. 2:
在步骤S202提供的技术方案中,进行信息交互的终端包括电视终端、电视终端的遥控器及服务器;当使用遥控器(如遥控板、手机等)、电视自带的控制面板等启动电视终端的音乐识别功能后,触发电视终端发送信息获取请求给服务器。In the technical solution provided in step S202, the terminal for performing information interaction includes a television terminal, a remote controller of the television terminal, and a server; when the remote control device (such as a remote control board, a mobile phone, etc.), a control panel of the television, etc. are used, the television terminal is started. After the music recognition function, the television terminal is triggered to send a message acquisition request to the server.
在上述的信息获取请求中携带有能够用于唯一确定对应的电视终端、或者能够用于唯一确定播放的视频文件的信息,如播放信息(包括当前播放时刻)、视频文件的视频流信息、视频文件信息、终端标识、终端地址(包括物理地址和IP地址)、第一客户端的标识、登录第一客户端的第一帐号等信息中的一个或多个。The information acquisition request carries the information that can be used to uniquely determine the corresponding television terminal, or can be used to uniquely determine the video file to be played, such as the playback information (including the current playing time), the video stream information of the video file, and the video. One or more of the file information, the terminal identifier, the terminal address (including the physical address and the IP address), the identifier of the first client, and the first account number of the first client.
在步骤S204提供的技术方案中,服务器响应于信息获取请求,确定数据库(该数据库用于为第一客户端提供视频源)中保存的视频文件,具体可以通过如下方式确定:In the technical solution provided in step S204, the server determines the video file saved in the database (the database is used to provide the video source for the first client) in response to the information acquisition request, which may be specifically determined by:
(1)根据信息获取请求确定,信息获取请求中携带有第一客户端的标识、电视终端的标识、登录第一客户端的第一帐号等信息,服务器根据上述之一确定多个客户端中的第一客户端,由于在服务器中记载有当前为每个客户端提供的视频服务,在确定客户端之后即可确定为第一客户端提供的视频文件;(1) determining, according to the information acquisition request, that the information acquisition request carries the identifier of the first client, the identifier of the television terminal, and the first account number of the first client, and the server determines the number of the plurality of clients according to the foregoing one. a client, since the video service currently provided for each client is recorded in the server, the video file provided for the first client can be determined after determining the client;
(2)根据信息获取请求中携带的视频文件的视频流信息、视频文件信息(如视频文件标识、编号、名称等)唯一确定该视频文件。(2) The video file is uniquely determined according to the video stream information and the video file information (such as the video file identifier, number, name, etc.) of the video file carried in the information acquisition request.
在步骤S206提供的技术方案中,服务器查找与数据库中保存的视频文件关联的音乐文件的文件信息,具体可以通过如下两种方式实现:In the technical solution provided in the step S206, the server searches for the file information of the music file associated with the video file saved in the database, which can be implemented in the following two ways:
方式1:实时查找与视频文件关联的音乐文件的文件信息Method 1: Search for file information of music files associated with video files in real time
为了降低对网络和终端硬件资源的消耗,服务器在接收到信息获取请求之后,是在本地数据库中对客户端中播放的视频文件的源文件(即数据库中保存的视频文件)进行预处理。具体在查找与数据库中保存的视频文件关联的音乐文件的文件信息时,服务器获取视频文件在目标播放时段内的音频信息;查找本地或者互联网中与该音频信息匹配的音乐文件,此处的匹配是指音乐节拍与该音频信息的音乐节拍基本相同,如节拍的重合度达到预设值(如90%、80%等);在查找到与该音频信息匹配的音乐文件之后,服务器从音乐文件来源位置获取文件信息,文件信息包括音乐文件的曲目信息和地址信息等,地址信息用于指示音乐文件的保存位置。In order to reduce the consumption of network and terminal hardware resources, after receiving the information acquisition request, the server preprocesses the source file (that is, the video file saved in the database) of the video file played in the client in the local database. Specifically, when searching for file information of a music file associated with the video file saved in the database, the server acquires audio information of the video file in the target playing period; and searches for a music file matching the audio information in the local or the Internet, where the matching is performed. It means that the music beat is basically the same as the music beat of the audio information, such as the coincidence of the beat reaches a preset value (such as 90%, 80%, etc.); after finding the music file matching the audio information, the server reads from the music file The source location obtains file information, and the file information includes track information and address information of the music file, and the address information is used to indicate the storage location of the music file.
可选地,在信息获取请求中包括视频文件的当前播放时刻,服务器可以当前播放时刻为中心时间时刻确定目标播放时段,例如,截取当前播放时刻前后各N秒的时间段,N的取值大于0,如10、5、2等。Optionally, the information acquiring request includes a current playing time of the video file, and the server may determine the target playing time period as the current time of the current playing time, for example, intercepting the time period of each N seconds before and after the current playing time, where the value of N is greater than 0, such as 10, 5, 2, etc.
可选地,为了在第一客户端上实时显示当前播放时刻的背景音乐、插曲等音乐的相关文件信息,第一客户端可以秒为单位发送信息获取请求至服务器,服务器实时将查询结果返回给第一客户端进行展示。Optionally, in order to display the related file information of the background music, the episode, and the like at the current playing time in real time on the first client, the first client may send the information obtaining request to the server in seconds, and the server returns the query result to the server in real time. The first client performs the presentation.
由于在服务器上是以秒为单位实时查找当前播放时刻所在的固定时长的时间段内的音乐文件,服务器可通过比对得到的音乐文件确定每一首音乐的播放时长,以及该音乐在视频文件中的播放起始和结束时刻。Since the music file in the time period of the fixed playing time in which the current playing time is located is searched in real time on the server, the server can determine the playing time of each piece of music by comparing the obtained music files, and the music is in the video file. Play start and end times in .
方式2:预先保存数据库中视频文件与文件信息的关联关系。Method 2: Pre-store the association between video files and file information in the database.
可选地,在查找与数据库中保存的视频文件关联的音乐文件的文件信息之前,在电视终端第一次查询文件信息时,服务器可以建立该视频文件与对应的所有音乐文件的文件信息的关联关系,并保存在服务器本地。Optionally, before searching for the file information of the music file associated with the video file saved in the database, the server may establish the association between the video file and the file information of all the corresponding music files when the television terminal first queries the file information. Relationships are saved locally on the server.
可选地,在查找与数据库中保存的视频文件关联的音乐文件的文件信息之前,可以在服务器上主动对视频文件进行分析,获取该视频文件的所有音乐的文件信息,具体实现方式与方式1基本相同:服务器获取视频文件在第一播放时段内的音频信息,第一播放时段的时间长度为预设值;在本地或者互联网上查找到与音频信息匹配的音乐文件;获取音乐文件的文件信息,文件信息包括音乐文件的曲目信息和地址信息,地址信息用于指示音乐文件的保存位置;保存视频文件和文件信息的关联关系。Optionally, before searching for the file information of the music file associated with the video file saved in the database, the video file may be actively analyzed on the server to obtain file information of all music of the video file, and the specific implementation manner and manner 1 Basically the same: the server acquires the audio information of the video file in the first playing period, the length of the first playing period is a preset value; finds a music file matching the audio information on the local or the Internet; and obtains the file information of the music file The file information includes track information and address information of the music file, the address information is used to indicate the storage location of the music file, and the association relationship between the video file and the file information is saved.
在其他电视终端查询该视频文件的音乐文件的文件信息时,直接将预先保存的所有音乐文件的文件信息返回给电视终端进行展示。When other television terminals query the file information of the music file of the video file, the file information of all the music files saved in advance is directly returned to the television terminal for display.
在采用方式2中的方式预先建立好视频和音乐的对应关系之后,在查找与数据库中保存的视频文件关联的音乐文件的文件信息时,服务器直接获取视频文件的视频标识(如视频编号、视频名称等),然后查找预先保存的多个文件信息中与视频标识关联的文件信息。After the correspondence between the video and the music is pre-established in the manner of the mode 2, the server directly obtains the video identifier (such as the video number and video) of the video file when searching for the file information of the music file associated with the video file saved in the database. Name, etc.), and then find the file information associated with the video identifier among the plurality of pre-saved file information.
采用方式2这种方式提供音乐识别功能,可以使服务器的负载更为均衡,在负载较低的时候,对视频文件进行分析,建立视频文件与音乐文件 的文件信息的关联关系;在负载较高的时候,仅提供视频提供服务。The mode 2 provides music recognition function, which can make the load of the server more balanced. When the load is low, the video file is analyzed, and the relationship between the video file and the file information of the music file is established; At the time, only video delivery services are available.
在步骤S208提供的技术方案中,对于采用以上任意一种方式确定的文件信息,服务器将得到的文件信息返回至电视终端。In the technical solution provided in step S208, the server returns the obtained file information to the television terminal for the file information determined by any of the above manners.
可选地,第一客户端上登录有第一帐号,在返回文件信息至电视终端之后,服务器可以根据用户的喜好确定是否将音乐文件推送至相应的终端:服务器在接收到电视终端发送的推送请求,推送请求用于请求将音乐文件推送至第二客户端,第二客户端上登陆有第二帐号,第二帐号与第一帐号具有绑定关系;将音乐文件的曲目信息和地址信息推送至第二客户端。Optionally, the first account is registered on the first client, and after returning the file information to the television terminal, the server may determine, according to the preference of the user, whether to push the music file to the corresponding terminal: the server receives the push sent by the television terminal. The request, the push request is used to request to push the music file to the second client, the second client has a second account, and the second account has a binding relationship with the first account; and the track information and the address information of the music file are pushed. To the second client.
上述第一帐号为允许在第一客户端上注册使用的帐号,第二帐号为允许在第二客户端上注册使用的帐号,用户可以在第一客户端上建立第一帐号与第二帐号的绑定关系,也可在第二客户端上建立第二帐号与第一帐号的绑定关系;第二帐号和第一帐号可以为同一帐号。The first account is an account that is allowed to be registered on the first client, and the second account is an account that is allowed to be registered on the second client. The user can establish the first account and the second account on the first client. The binding relationship may also establish a binding relationship between the second account and the first account on the second client; the second account and the first account may be the same account.
可选地,本申请实施例的音乐文件信息的传输方法可以由终端104来执行,图3是根据本申请实施例的一种可选的音乐文件信息的传输方法的流程图,如图3所示,该方法可以包括以下步骤:Optionally, the method for transmitting music file information in the embodiment of the present application may be performed by the terminal 104. FIG. 3 is a flowchart of an optional method for transmitting music file information according to an embodiment of the present application, as shown in FIG. The method can include the following steps:
步骤S302,在第一客户端中播放视频文件时,接收到获取指令,获取指令用于获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,第一客户端安装在电视终端上;Step S302, when playing a video file in the first client, receiving an acquisition instruction, and acquiring an instruction for acquiring file information of the music file, where the music carried in the music file is played in the first client when the video file is played. Music, the first client is installed on the TV terminal;
步骤S304,发送信息获取请求至服务器,服务器用于响应于信息获取请求,查找数据库中保存的视频文件,并查找与视频文件关联的音乐文件的文件信息,数据库用于为第一客户端提供视频源;Step S304: Send an information acquisition request to the server, where the server is configured to search for a video file saved in the database in response to the information acquisition request, and search for file information of the music file associated with the video file, where the database is used to provide a video for the first client. source;
步骤S306,接收服务器返回的文件信息。Step S306, receiving file information returned by the server.
通过上述步骤S302至步骤S306,在电视终端上安装用于播放视频文件的第一客户端,服务器在接收电视终端发送的信息获取请求(该信息获取请求用于请求音乐文件的文件信息)时,查找数据库中保存的视频文件,并查找与数据库中保存的视频文件关联的音乐文件的文件信息,将查找到的文件信息返回至电视终端,可以解决了相关技术中无法搜索到视频中播放的音乐的技术问题,进而达到获取与视频文件相关联的音乐文件(如背景音乐、插曲、片头片尾曲等)的技术效果。Through the above steps S302 to S306, a first client for playing a video file is installed on the television terminal, and the server receives the information acquisition request sent by the television terminal (the information acquisition request is used to request the file information of the music file), Finding the video file saved in the database, and finding the file information of the music file associated with the video file saved in the database, and returning the found file information to the television terminal, can solve the problem that the related art cannot search for the music played in the video. The technical problem, in turn, achieves the technical effect of acquiring music files (such as background music, episodes, title endings, etc.) associated with the video file.
在本申请的实施例中,步骤S302至步骤S306可以在具有音乐识别功能的服务器上运行,但不局限于此。In the embodiment of the present application, steps S302 to S306 may be run on a server having a music recognition function, but are not limited thereto.
上述的电视终端为智能电视,如采用Android等操作系统的电视、基于机顶盒的电视等。安装在电视终端的客户端即用于播放互联网视频的视频应用。数据库为上述客户端的视频源数据库,也即客户端中播放的视频来源于该数据库。The above-mentioned television terminals are smart televisions, such as televisions using operating systems such as Android, televisions based on set-top boxes, and the like. The client installed on the TV terminal is a video application for playing Internet video. The database is the video source database of the above client, that is, the video played in the client is derived from the database.
音乐文件和视频文件具有关联关系,一个音乐文件为视频文件的某个播放时段内播放音乐时使用的文件,一个视频文件可以对应一个或者多个音乐文件,音乐文件可以加载在视频文件中的形式存在,也可以外挂的形式存在。文件信息为音乐文件的相关信息,如音乐曲目信息(包括曲目名称、曲目时长、演唱歌手、歌曲类型等),信息获取请求为视频文件的相关信息(如视频文件的名称、视频流信息、播放信息)。The music file and the video file have an association relationship. A music file is a file used when playing music in a certain playing period of the video file, and a video file may correspond to one or more music files, and the music file may be loaded in the video file. Exist, it can also exist in a plug-in form. The file information is related information of the music file, such as music track information (including track name, track duration, singing singer, song type, etc.), and the information acquisition request is related information of the video file (such as the name of the video file, video stream information, and playback). information).
观看影片时,影片的背景音乐结合故事情节和演员的演绎,往往能打动观影者,在回想画面时,对于澎湃恢弘或是温婉抒情的背景音乐,只能回想起动人的旋律,却不知道该歌曲的名字,如果想收藏当时打动观影者的歌曲,还得花点功夫搜索。When watching the film, the background music of the film combined with the storyline and the interpretation of the actors can often impress the viewers. When recalling the picture, for the background music of 澎湃 弘 或是 or warm and lyrical, only the melody of the starter can be recalled, but Knowing the name of the song, if you want to collect the songs that impressed the viewer at the time, you have to spend some time searching.
采用本申请的技术方案,通过电视端对影片主题曲、背景音乐等进行自动识别,并直观地提示是否需要收藏正在播放的音乐到手机上;而不用依靠其它设备(如手机)进行音乐识别,避免了观影时分心操作手机,从而提高了观影的体验。下面结合图3进一步详述本申请的实施例:By adopting the technical scheme of the present application, the movie theme song, the background music, and the like are automatically recognized through the television end, and the user is intuitively prompted whether to collect the music being played to the mobile phone; instead of relying on other devices (such as mobile phones) for music recognition, It avoids the distraction of the mobile phone when watching the movie, thus improving the viewing experience. Embodiments of the present application are further detailed below in conjunction with FIG. 3:
在步骤S302提供的技术方案中,进行信息交互的终端包括电视终端、电视终端的遥控器及服务器;当使用遥控器(如遥控板、手机等)、电视自带的控制面板等发送获取指令,以启动电视终端的音乐识别功能。In the technical solution provided in step S302, the terminal for performing information interaction includes a television terminal, a remote controller of the television terminal, and a server; when using a remote controller (such as a remote control board, a mobile phone, etc.), a control panel provided by the television, etc., the acquisition instruction is sent, To activate the music recognition function of the TV terminal.
在步骤S304提供的技术方案中,在启动电视终端的音乐识别功能启动时,会触发电视终端发送信息获取请求给服务器。In the technical solution provided in step S304, when the music recognition function of the television terminal is started, the television terminal is triggered to send an information acquisition request to the server.
在上述的信息获取请求中携带有能够用于唯一确定对应的电视终端、或者能够用于唯一确定播放的视频文件的信息,如播放信息(包括当前播放时刻)、视频文件的视频流信息、视频文件信息、终端标识、终端地址(包括物理地址和IP地址)、第一客户端的标识、登录第一客户端的第一帐号等信息中的一个或多个。The information acquisition request carries the information that can be used to uniquely determine the corresponding television terminal, or can be used to uniquely determine the video file to be played, such as the playback information (including the current playing time), the video stream information of the video file, and the video. One or more of the file information, the terminal identifier, the terminal address (including the physical address and the IP address), the identifier of the first client, and the first account number of the first client.
在步骤S306提供的技术方案中,电视终端接收服务器返回的文件信息,在接收服务器返回的文件信息之后,在第一客户端上展示文件信息,文件信息包括音乐文件的曲目信息和地址信息。例如,在第一客户端中指定的位置显示音乐文件的曲目信息(如歌名、歌手、播放时长等)。In the technical solution provided in step S306, the television terminal receives the file information returned by the server, and after receiving the file information returned by the server, displays the file information on the first client, where the file information includes the track information and the address information of the music file. For example, the track information of the music file (such as song title, singer, play duration, etc.) is displayed at the location specified in the first client.
可选地,第一客户端上登录有第一帐号,电视终端在接收服务器返回的文件信息之后,查找是否存在与第一帐号具有绑定关系的第二帐号;在查找到存在第二帐号的情况下,展示提示信息,提示信息用于提示是否将音乐文件推送至第二客户端,第二客户端上登录有第二帐号。Optionally, the first account is registered on the first client, and after receiving the file information returned by the server, the television terminal searches for a second account that has a binding relationship with the first account; and finds that the second account exists. In the case, the prompt information is displayed, the prompt information is used to prompt whether to push the music file to the second client, and the second client is logged in to the second account.
上述第一帐号为允许在第一客户端上注册使用的帐号,第二帐号为允许在第二客户端上注册使用的帐号,用户可以在第一客户端上建立第一帐号与第二帐号的绑定关系,也可在第二客户端上建立第二帐号与第一帐号的绑定关系。The first account is an account that is allowed to be registered on the first client, and the second account is an account that is allowed to be registered on the second client. The user can establish the first account and the second account on the first client. The binding relationship may also be established on the second client to establish a binding relationship between the second account and the first account.
可选地,第二帐号和第一帐号可以为同一帐号,如社交帐号,用户可以通过该社交帐号登录第一客户端和第二客户端,第二客户端为用于播放音乐的客户端,如音乐应用。Optionally, the second account and the first account may be the same account, such as a social account, and the user may log in to the first client and the second client by using the social account, where the second client is a client for playing music. Such as music applications.
用户可以根据自己的喜好确定是否下载插曲、背景音乐等音乐文件, 具体包括如下方式:Users can determine whether to download music files such as episodes, background music, etc. according to their own preferences, including the following methods:
方式1:通过推送的形式下载Method 1: Download by push form
在展示提示信息时或之后,用户可以根据自己的喜好确定是否将其推动至第二客户端,具体可以通过终端电视的遥控器或者控制面板来操作,在确定需要将其推动至第二客户端的时候,电视终端接收到遥控器或者控制面板触发的推送指令,推送指令用于指示将音乐文件推送至第二客户端;电视终端发送推送请求至服务器,服务器在接收到推送请求时将音乐文件的曲目信息和地址信息推送给第二客户端,用户在启动第二客户端之后,可以看到音乐文件的曲目信息,并自行选择是否下载。When the prompt information is displayed or after, the user can determine whether to push it to the second client according to his or her preference, specifically by the remote control or the control panel of the terminal television, and determining that it needs to be pushed to the second client. At the time, the television terminal receives a push command triggered by the remote controller or the control panel, the push command is used to instruct to push the music file to the second client; the television terminal sends a push request to the server, and the server sends the music file when receiving the push request. The track information and the address information are pushed to the second client, and after the second client is started, the user can see the track information of the music file and select whether to download or not.
方式2:通过电视终端下载Method 2: Download via TV terminal
在接收服务器返回的文件信息之后,用户可以根据自己的喜好确定是否将其下载至电视终端,具体可以通过终端电视的遥控器或者控制面板来实现下载操作,在确定需要将其下载至电视终端的时候,电视终端会接收到遥控器或者控制面板触发的下载指令,该下载指令用于指示将音乐文件下载至电视终端;电视终端按照音乐文件的地址信息将音乐文件下载至电视终端,电视终端允许将下载的音乐文件传输给目标终端,也即用户可以使用手机、平板等,通过近场通讯技术(如蓝牙、NFC等)从电视终端获取到下载的音乐文件。After receiving the file information returned by the server, the user can determine whether to download it to the television terminal according to his or her preference, and specifically can implement the download operation through the remote controller or the control panel of the terminal television, and determine that it needs to be downloaded to the television terminal. At the same time, the television terminal receives a download command triggered by the remote controller or the control panel, the download command is used to instruct to download the music file to the television terminal; the television terminal downloads the music file to the television terminal according to the address information of the music file, and the television terminal allows The downloaded music file is transmitted to the target terminal, that is, the user can use the mobile phone, the tablet, etc. to obtain the downloaded music file from the television terminal through the near field communication technology (such as Bluetooth, NFC, etc.).
可选地,在电视终端接收到服务器返回的文件信息之后,在第一客户端上展示文件信息的同时,还提供信息更正界面,用户在发现展示的文件信息有误时,可以通过信息更正界面进行纠错,反馈文件信息有误,并且可以通过信息更正界面反馈正确音乐曲目信息、地址信息等。Optionally, after the television terminal receives the file information returned by the server, the file information is displayed on the first client, and the information correction interface is also provided. When the user finds that the displayed file information is incorrect, the user may pass the information correction interface. The error correction is performed, the feedback file information is incorrect, and the correct music track information, address information, and the like can be fed back through the information correction interface.
采用本申请提供的技术方案,可以达到如下技术效果:By adopting the technical solution provided by the present application, the following technical effects can be achieved:
(1)在电视端增加提醒功能,避免用户遗漏收藏喜欢的影片音乐的情况出现;(1) Add a reminder function on the TV side to prevent the user from missing the favorite movie music;
(2)由于影片打动人的剧情往往是一瞬而过,若在观看影片时拿出 手机,再把手机靠近电视进行音乐识别,等待一段时间后查看是否识别成功,可能会错过影片一些重要的情节,采用本申请的技术方案,在电视端直接进行音乐识别操作,在保持良好的观影体验下,用户可收藏并下载喜欢的音乐到自己的手机上,方便快捷,提高了用户体验;(2) Because the film touches people's story often is a moment, if you take out the phone while watching the movie, then the phone is close to the TV for music recognition, wait for a period of time to see if the recognition is successful, you may miss some important plots of the film. By adopting the technical solution of the present application, the music recognition operation is directly performed on the television end, and under the good viewing experience, the user can collect and download the favorite music to his mobile phone, which is convenient and quick, and improves the user experience;
(3)音乐识别的识别是否成功,与环境有很大的关系,除了受到影片的背景音乐、演员的对白外,还可能会受到其他环境声音(如屋内外噪音等)的影响,从而导致识别失败,采用本申请的技术方案,去除了外界声音的影响,只录入影片的声音,增大了识别的成功率。(3) Whether the recognition of music recognition is successful or not has a great relationship with the environment. In addition to the background music of the film and the dialogue of the actors, it may also be affected by other environmental sounds (such as noise inside and outside the house), resulting in identification. Failure, using the technical solution of the present application, removes the influence of external sounds, and only records the sound of the movie, increasing the success rate of recognition.
本申请提供了一种优选实施例,该优选实施例The present application provides a preferred embodiment, the preferred embodiment
本申请的技术方案可以应用于智能电视上,开启音乐识别功能时在电视端识别影片音乐并提供下载。The technical solution of the present application can be applied to a smart TV, and when the music recognition function is turned on, the movie music is recognized on the television end and provided for download.
在智能电视(如安装有网络视频应用的TV版的智能电视)上点击视频播放,在视频播放的过程中,按遥控器的菜单键弹出视频相关的清晰度、选集等菜单选项,菜单中增加一个打开音乐识别的开关;打开之后在屏幕的左上角位置出现滚动标题,显示当前影片的背景音乐的歌曲名字,并显示下载按钮,通过遥控器的操作,可点击下载把识别出来的歌曲推送到已登录音乐帐号的手机上。Click on the video player on the smart TV (such as the TV version of the TV version with the network video application). During the video playback, press the menu button of the remote control to pop up the menu options such as the definition and selection of the video. A switch for opening the music recognition; after opening, a scrolling title appears in the upper left corner of the screen, the song name of the background music of the current movie is displayed, and the download button is displayed, and the recognized song can be pushed by the download by the operation of the remote controller. Signed in to your music account on your phone.
本申请的技术方案主要包括如下两个方面:The technical solution of the present application mainly includes the following two aspects:
(1)识别功能的实现,如图4所示:(1) The realization of the recognition function, as shown in Figure 4:
步骤S402,启动音乐识别功能,用户通过开启音乐识别功能按键启动音乐识别功能。Step S402, the music recognition function is activated, and the user activates the music recognition function by turning on the music recognition function button.
步骤S404,智能电视的客户端记录按键开启时影片播放的时间节点,记录该时间节点为音乐识别的开始节点,并发送信息获取请求至服务器。Step S404, the client of the smart TV records the time node of the movie playing when the button is turned on, records the time node as the starting node of the music recognition, and sends an information acquisition request to the server.
步骤S406,服务器进行音乐识别,服务器截取当前时间节点的前后 各2秒的音频数据,即共4秒的音频数据,由音乐识别服务器进行识别匹配。In step S406, the server performs music recognition, and the server intercepts the audio data of 2 seconds before and after the current time node, that is, audio data of 4 seconds in total, and the music recognition server performs identification and matching.
步骤S408,返回音乐识别的结果,若匹配成功,服务器返回识别出的歌曲信息到客户端,若匹配失败,返回匹配失败的结果至客户端。Step S408, returning the result of the music recognition. If the matching is successful, the server returns the identified song information to the client. If the matching fails, the result of the matching failure is returned to the client.
步骤S410,客户端展示匹配结果,用户可以从视频播放的界面直观地看到当前播放的歌曲,或者看到匹配失败的提示信息。In step S410, the client displays the matching result, and the user can visually see the currently playing song from the interface of the video playing, or see the prompt information that the matching fails.
步骤S412,进行音乐下载,在通过客户端展示歌曲信息时,用户决定是否收藏下载该歌曲,具体可以通过遥控器发送指令给电视终端实现。In step S412, the music download is performed. When the song information is displayed through the client, the user decides whether to download and download the song, and specifically, the remote controller may send an instruction to the television terminal for implementation.
步骤S414,当用户按下载按键后,通过登录的绑定帐号,客户端发送推送请求到服务器。Step S414, after the user presses the download button, the client sends a push request to the server through the registered binding account.
步骤S416,服务器推送歌曲信息到帐号的音乐云收藏里,用户再根据自己的需求进行音乐下载。In step S416, the server pushes the song information into the music cloud collection of the account, and the user performs music download according to his own needs.
通过电视端选择下载的歌曲时,不一定通过音乐应用进行推送,可以采用在电视端上直接下载歌曲,再通过蓝牙或者wifi传输文件到手机端(也即目标终端)。但考虑到合理利用网络资源的需要,避免影响观影时的网络资源和内存消耗,优选通过云服务推送。When selecting a downloaded song through the TV terminal, it is not necessarily pushed through the music application. You can download the song directly on the TV, and then transfer the file to the mobile terminal (that is, the target terminal) via Bluetooth or wifi. However, considering the need to make reasonable use of network resources, and avoiding the network resources and memory consumption when the viewing is affected, it is preferred to push through the cloud service.
步骤S418,用户可关闭音乐识别功能,具体可以通过遥控器发送指令实现。In step S418, the user can turn off the music recognition function, which can be specifically implemented by sending a command by using a remote controller.
步骤S420,电视终端接收到指令之后,在客户端中关闭音乐识别相关的显示。Step S420, after receiving the instruction, the television terminal turns off the music recognition related display in the client.
(2)数据存储的实现(2) Implementation of data storage
为了避免发送超量数据对设备硬件和网络造成负荷,本申请的客户端可将识别的视频时间节点作为传输数据传输到服务器,再由服务器根据视频时间节点进行视频数据的处理和音乐指纹库的比对,降低了对设备处理能力的要求和网络要求。In order to avoid overloading the device hardware and the network, the client of the present application can transmit the identified video time node as transmission data to the server, and then the server processes the video data according to the video time node and the music fingerprint database. The comparison reduces the requirements on the processing power of the device and the network requirements.
在启动开启音乐识别功能之后,启动定时器,每2秒刷新一次展示的歌曲信息,识别的请求每秒发送一次至服务器,在展示前2秒即可完成对后面影片歌曲的识别,进行歌曲信息的缓存,实现歌曲信息跟随影片的播放进行展示,如图5所示:After the music recognition function is enabled, the timer is started, and the displayed song information is refreshed every 2 seconds. The identified request is sent to the server once every second, and the recognition of the following movie songs can be completed 2 seconds before the display, and the song information is performed. The cache is implemented to display the song information following the playback of the movie, as shown in Figure 5:
步骤S502,启动音乐识别功能后,判断本地是否存储有音乐的相关信息(即文件信息)的缓存,若是则执行步骤S504,否则执行步骤S506。Step S502, after the music recognition function is activated, it is determined whether the local cache of the music related information (ie, file information) is stored, and if yes, step S504 is performed, otherwise step S506 is performed.
步骤S504,发送请求至服务器,向服务器请求音乐的相关信息。Step S504, sending a request to the server, requesting information about the music from the server.
在第一次播放视频时,客户端缓存该视频的歌曲信息清单,在下次播放该视频时先从本地缓存中获取歌曲信息清单,本地缓存为空时再从网络获取歌曲信息清单。When the video is played for the first time, the client caches the list of song information of the video, and first obtains the list of song information from the local cache when the video is played next time, and then obtains the list of song information from the network when the local cache is empty.
步骤S506,判断本地的缓存于服务器上的缓存是否一致,若是则执行步骤S508,否则执行步骤S504。Step S506, it is determined whether the local cache cached on the server is consistent, if yes, step S508 is performed, otherwise step S504 is performed.
步骤S508,获取歌曲信息清单,并在客户端上进行展示。Step S508, obtaining a list of song information and displaying it on the client.
步骤S510,进行歌曲信息清单的更新,客户端也可将歌曲信息清单上传到服务器,服务器创建数据库来存储影片音乐信息清单,在以后别的客户端的识别歌曲功能开启时,查找该影片的音乐信息清单,并返回至客户端。Step S510, the song information list is updated, the client may also upload the song information list to the server, and the server creates a database to store the movie music information list. When the other user's recognized song function is turned on, the music information of the movie is searched for. Checklist and return to the client.
步骤S512,服务器将歌曲信息清单保存在数据库中。In step S512, the server saves the song information list in the database.
可选地,在进行视频背景音乐的识别时,由于有演员对白和其他声音的影响,音乐识别也会出现错误的情况,为了提高音乐识别的准确性,在视频客户端和音乐应用增加了影片音乐识别报错的反馈功能。Optionally, when the background music of the video is recognized, due to the influence of the actors' dialogue and other sounds, the music recognition may also be in error. In order to improve the accuracy of the music recognition, the video is added to the video client and the music application. Music recognition error feedback function.
对于视频客户端报错场景,在显示当前背景音乐时,除了提供下载虚拟按键,还增加了报错虚拟按键,当用户发现当前歌曲明显有误时,可以选择点击“报错”按键,将情况简单描述并上报,上报的参数包括视频名、视频截取节点、识别歌曲、更正的歌曲等信息;用户只需要填写正确歌曲, 或者不填写就可提交由媒资方进行确认,在服务器的数据库上修正歌曲清单,更新服务器信息。For the video client error scene, when displaying the current background music, in addition to providing the download virtual button, an error virtual button is added. When the user finds that the current song is obviously wrong, he can select the "error" button to simply describe the situation and The reported parameters include video name, video interception node, recognition song, corrected song and other information; the user only needs to fill in the correct song, or submit it by the media agent without confirmation, and correct the song list on the server database. Update server information.
可选地,在甄别校验时,可能会由于错报误报而增加工作量,可以设计成统计错误率的形式,定期排查报错率较高的歌曲进行校验更正,定期抽样进行校验检查,保证服务器上的视频音乐清单的正确度。Optionally, when screening the verification, the workload may be increased due to misreporting of the false alarm. It may be designed in the form of a statistical error rate, and the songs with higher error rate are regularly checked for correction and regular sampling for verification check. To ensure the correctness of the video music list on the server.
通过本申请的技术方案,实现了电视端识别影片音乐的功能,在观影的过程中,更方便快捷地把喜欢的音乐收藏到手机上随时欣赏,采用缓存设计节省了音乐识别功能对设备、网络成本的消耗,便于建立更全面更强大的视频信息库。Through the technical solution of the present application, the function of recognizing the music of the movie on the television end is realized. In the process of watching the movie, the favorite music is conveniently and quickly collected on the mobile phone for viewing at any time, and the cache design saves the music recognition function to the device, The cost of network consumption makes it easier to build a more comprehensive and powerful video information library.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present application. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
根据本申请实施例,还提供了一种用于实施上述音乐文件信息的传输方法的音乐文件信息的传输装置。图6是根据本申请实施例的一种可选的音乐文件信息的传输装置的示意图,如图6所示,该装置可以包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,程序单元由处理器执行,程序单元包括第一接收单元62、确定单元64、第一查找单 元66以及返回单元68。According to an embodiment of the present application, there is also provided a transmission apparatus for music file information for implementing the above-described method of transmitting music file information. 6 is a schematic diagram of an optional music file information transmission apparatus according to an embodiment of the present application. As shown in FIG. 6, the apparatus may include one or more processors, and one or more memory storing program units. The program unit is executed by a processor, and the program unit includes a first receiving unit 62, a determining unit 64, a first searching unit 66, and a returning unit 68.
第一接收单元62,被设置为接收电视终端发送的信息获取请求,其中,电视终端上安装有用于播放视频文件的第一客户端,信息获取请求用于请求获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,文件信息用于描述音乐文件;The first receiving unit 62 is configured to receive an information acquisition request sent by the television terminal, where the first client for playing the video file is installed on the television terminal, and the information acquisition request is used to request to obtain the file information of the music file, the music file. The music carried in is the music played in the first client when the video file is played, and the file information is used to describe the music file;
确定单元64,被设置为响应于信息获取请求,查找数据库中保存的视频文件,其中,数据库用于为第一客户端提供视频源;The determining unit 64 is configured to: in response to the information obtaining request, search for a video file saved in the database, wherein the database is used to provide a video source for the first client;
第一查找单元66,被设置为查找与数据库中保存的视频文件关联的音乐文件的文件信息;The first searching unit 66 is configured to search for file information of a music file associated with the video file saved in the database;
返回单元68,被设置为返回文件信息至电视终端。Returning unit 68 is arranged to return file information to the television terminal.
需要说明的是,该实施例中的第一接收单元62可以被设置为执行本申请实施例1中的步骤S202,该实施例中的确定单元64可以被设置为执行本申请实施例1中的步骤S204,该实施例中的第一查找单元66可以被设置为执行本申请实施例1中的步骤S206,该实施例中的返回单元68可以被设置为执行本申请实施例1中的步骤S208。It should be noted that the first receiving unit 62 in this embodiment may be configured to perform step S202 in Embodiment 1 of the present application, and the determining unit 64 in this embodiment may be configured to perform the method in Embodiment 1 of the present application. In step S204, the first searching unit 66 in this embodiment may be configured to perform step S206 in Embodiment 1 of the present application, and the returning unit 68 in this embodiment may be configured to perform step S208 in Embodiment 1 of the present application. .
此处需要说明的是,上述模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例所公开的内容。需要说明的是,上述模块作为装置的一部分可以运行在如图1所示的硬件环境中,可以通过软件实现,也可以通过硬件实现。It should be noted that the foregoing modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the foregoing embodiments. It should be noted that the foregoing module may be implemented in a hardware environment as shown in FIG. 1 as part of the device, and may be implemented by software or by hardware.
通过上述模块,在电视终端上安装用于播放视频文件的第一客户端,服务器在接收电视终端发送的信息获取请求(该信息获取请求用于请求音乐文件的文件信息)时,查找数据库中保存的视频文件,并查找与数据库中保存的视频文件关联的音乐文件的文件信息,将查找到的文件信息返回至电视终端,可以解决了相关技术中无法搜索到视频中播放的音乐的技术问题,进而达到获取与视频文件相关联的音乐文件(如背景音乐、插曲、片头片尾曲等)的技术效果。Through the above module, a first client for playing a video file is installed on the television terminal, and the server saves the search in the database when receiving the information acquisition request sent by the television terminal (the information acquisition request is used to request the file information of the music file) The video file, and find the file information of the music file associated with the video file saved in the database, and return the found file information to the television terminal, which can solve the technical problem that the related art cannot search for the music played in the video. In turn, the technical effect of acquiring music files (such as background music, episodes, titles, and the like) associated with the video file is achieved.
上述的电视终端为智能电视,如采用Android等操作系统的电视、基于机顶盒的电视等。安装在电视终端的客户端即用于播放互联网视频的视频应用。数据库为上述客户端的视频源数据库,也即客户端中播放的视频来源于该数据库。The above-mentioned television terminals are smart televisions, such as televisions using operating systems such as Android, televisions based on set-top boxes, and the like. The client installed on the TV terminal is a video application for playing Internet video. The database is the video source database of the above client, that is, the video played in the client is derived from the database.
音乐文件和视频文件具有关联关系,一个音乐文件为视频文件的某个播放时段内播放音乐时使用的文件,一个视频文件可以对应一个或者多个音乐文件,音乐文件可以加载在视频文件中的形式存在,也可以外挂的形式存在。文件信息为音乐文件的相关信息,如音乐曲目信息(包括曲目名称、曲目时长、演唱歌手、歌曲类型等),信息获取请求为视频文件的相关信息(如视频文件的名称、视频流信息、播放信息)。The music file and the video file have an association relationship. A music file is a file used when playing music in a certain playing period of the video file, and a video file may correspond to one or more music files, and the music file may be loaded in the video file. Exist, it can also exist in a plug-in form. The file information is related information of the music file, such as music track information (including track name, track duration, singing singer, song type, etc.), and the information acquisition request is related information of the video file (such as the name of the video file, video stream information, and playback). information).
可选地,第一查找单元包括:第一获取模块,被设置为获取视频文件的视频标识;第一查找模块,被设置为查找预先保存的多个文件信息中与视频标识关联的文件信息。Optionally, the first searching unit includes: a first acquiring module configured to acquire a video identifier of the video file; and a first searching module configured to search for file information associated with the video identifier among the plurality of pre-saved file information.
可选地,该装置还包括:第一获取单元,被设置为在查找与数据库中保存的视频文件关联的音乐文件的文件信息之前,获取视频文件在第一播放时段内的音频信息,其中,第一播放时段的时间长度为预设值;第二查找单元,被设置为查找到与音频信息匹配的音乐文件;第二获取单元,被设置为获取音乐文件的文件信息,其中,文件信息包括音乐文件的曲目信息和地址信息,地址信息用于指示音乐文件的保存位置;保存单元,被设置为保存视频文件和文件信息的关联关系。Optionally, the device further includes: a first obtaining unit, configured to acquire audio information of the video file in the first playing period before searching for file information of the music file associated with the video file saved in the database, where The length of time of the first playing period is a preset value; the second searching unit is configured to find a music file that matches the audio information; and the second obtaining unit is configured to acquire file information of the music file, wherein the file information includes The track information and the address information of the music file, the address information is used to indicate the storage location of the music file, and the saving unit is set to save the association relationship between the video file and the file information.
可选地,信息获取请求包括视频文件的当前播放时刻,其中,第一查找单元包括:第二获取模块,被设置为获取视频文件在目标播放时段内的音频信息,其中,目标播放时段包括当前播放时刻;第二查找模块,被设置为查找到与音频信息匹配的音乐文件;第三获取模块,被设置为获取音乐文件的文件信息,其中,文件信息包括音乐文件的曲目信息和地址信息,地址信息用于指示音乐文件的保存位置。Optionally, the information obtaining request includes a current playing time of the video file, where the first searching unit includes: a second acquiring module, configured to acquire audio information of the video file in the target playing period, where the target playing period includes the current a second search module configured to find a music file that matches the audio information; a third acquisition module configured to acquire file information of the music file, wherein the file information includes track information and address information of the music file, The address information is used to indicate where the music file is saved.
可选地,第一客户端上登录有第一帐号,其中,该装置还包括:第二 接收单元,被设置为在返回文件信息至电视终端之后,接收电视终端发送的推送请求,其中,推送请求用于请求将音乐文件推送至第二客户端,第二客户端上登陆有第二帐号,第二帐号与第一帐号具有绑定关系;推送单元,被设置为将音乐文件的曲目信息和地址信息推送至第二客户端。Optionally, the first client has a first account, wherein the device further includes: a second receiving unit, configured to receive a push request sent by the television terminal after returning the file information to the television terminal, where the pushing The request is for requesting to push the music file to the second client, the second client has a second account, and the second account has a binding relationship with the first account; the pushing unit is set to record the track information of the music file and The address information is pushed to the second client.
在该实施例中,具体的实施方式与上述的服务器侧的音乐文件信息的传输方法相同,在此不再赘述。In this embodiment, the specific implementation manner is the same as the method for transmitting the music file information on the server side, and details are not described herein again.
采用本申请的技术方案,通过电视端对影片主题曲、背景音乐等进行自动识别,并直观地提示是否需要收藏正在播放的音乐到手机上;而不用依靠其它设备(如手机)进行音乐识别,避免了观影时分心操作手机,从而提高了观影的体验。By adopting the technical scheme of the present application, the movie theme song, the background music, and the like are automatically recognized through the television end, and the user is intuitively prompted whether to collect the music being played to the mobile phone; instead of relying on other devices (such as mobile phones) for music recognition, It avoids the distraction of the mobile phone when watching the movie, thus improving the viewing experience.
根据本申请实施例,还提供了一种用于实施上述音乐文件信息的传输方法的音乐文件信息的传输装置。图7是根据本申请实施例的一种可选的音乐文件信息的传输装置的示意图,如图7所示,该装置可以包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,程序单元由处理器执行,程序单元包括:第三接收单元72、第一发送单元74以及第四接收单元76。According to an embodiment of the present application, there is also provided a transmission apparatus for music file information for implementing the above-described method of transmitting music file information. 7 is a schematic diagram of an optional music file information transmission apparatus according to an embodiment of the present application. As shown in FIG. 7, the apparatus may include one or more processors, and one or more memory storing program units. The program unit is executed by a processor, and the program unit includes: a third receiving unit 72, a first transmitting unit 74, and a fourth receiving unit 76.
第三接收单元72,被设置为在第一客户端中播放视频文件时,接收到获取指令,其中,获取指令用于获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,第一客户端安装在电视终端上;The third receiving unit 72 is configured to receive an acquisition instruction when the video file is played in the first client, where the acquisition instruction is used to acquire file information of the music file, and the music carried in the music file is when the video file is played. The music played in the first client, the first client is installed on the television terminal;
第一发送单元74,被设置为发送信息获取请求至服务器,其中,服务器用于响应于信息获取请求,查找数据库中保存的视频文件,并查找与视频文件关联的音乐文件的文件信息,数据库用于为第一客户端提供视频源;The first sending unit 74 is configured to send an information obtaining request to the server, wherein the server is configured to search for a video file saved in the database in response to the information obtaining request, and search for file information of the music file associated with the video file, and use the database Providing a video source for the first client;
第四接收单元76,被设置为接收服务器返回的文件信息。The fourth receiving unit 76 is configured to receive file information returned by the server.
通过上述模块,在电视终端上安装用于播放视频文件的第一客户端, 服务器在接收电视终端发送的信息获取请求(该信息获取请求用于请求音乐文件的文件信息)时,查找数据库中保存的视频文件,并查找与数据库中保存的视频文件关联的音乐文件的文件信息,将查找到的文件信息返回至电视终端,可以解决了相关技术中无法搜索到视频中播放的音乐的技术问题,进而达到获取与视频文件相关联的音乐文件(如背景音乐、插曲、片头片尾曲等)的技术效果。Through the above module, a first client for playing a video file is installed on the television terminal, and the server saves the search in the database when receiving the information acquisition request sent by the television terminal (the information acquisition request is used to request the file information of the music file) The video file, and find the file information of the music file associated with the video file saved in the database, and return the found file information to the television terminal, which can solve the technical problem that the related art cannot search for the music played in the video. In turn, the technical effect of acquiring music files (such as background music, episodes, titles, and the like) associated with the video file is achieved.
上述的电视终端为智能电视,如采用Android等操作系统的电视、基于机顶盒的电视等。安装在电视终端的客户端即用于播放互联网视频的视频应用。数据库为上述客户端的视频源数据库,也即客户端中播放的视频来源于该数据库。The above-mentioned television terminals are smart televisions, such as televisions using operating systems such as Android, televisions based on set-top boxes, and the like. The client installed on the TV terminal is a video application for playing Internet video. The database is the video source database of the above client, that is, the video played in the client is derived from the database.
音乐文件和视频文件具有关联关系,一个音乐文件为视频文件的某个播放时段内播放音乐时使用的文件,一个视频文件可以对应一个或者多个音乐文件,音乐文件可以加载在视频文件中的形式存在,也可以外挂的形式存在。文件信息为音乐文件的相关信息,如音乐曲目信息(包括曲目名称、曲目时长、演唱歌手、歌曲类型等),信息获取请求为视频文件的相关信息(如视频文件的名称、视频流信息、播放信息)。The music file and the video file have an association relationship. A music file is a file used when playing music in a certain playing period of the video file, and a video file may correspond to one or more music files, and the music file may be loaded in the video file. Exist, it can also exist in a plug-in form. The file information is related information of the music file, such as music track information (including track name, track duration, singing singer, song type, etc.), and the information acquisition request is related information of the video file (such as the name of the video file, video stream information, and playback). information).
可选地,该装置还包括:第一展示单元,被设置为在接收服务器返回的文件信息之后,在第一客户端上展示文件信息,其中,文件信息包括音乐文件的曲目信息和地址信息。Optionally, the apparatus further includes: a first display unit configured to display file information on the first client after receiving the file information returned by the server, wherein the file information includes track information and address information of the music file.
可选地,第一客户端上登录有第一帐号,其中,该装置还包括:第三查找单元,被设置为在接收服务器返回的文件信息之后,查找是否存在与第一帐号具有绑定关系的第二帐号;第二展示单元,被设置为在查找到存在第二帐号的情况下,展示提示信息,其中,提示信息用于提示是否将音乐文件推送至第二客户端,其中,第二客户端上登录有第二帐号。Optionally, the first client has a first account, wherein the device further includes: a third searching unit, configured to: after receiving the file information returned by the server, whether there is a binding relationship with the first account The second display unit is configured to display the prompt information when the second account is found, wherein the prompt information is used to prompt whether to push the music file to the second client, wherein the second The second account is logged in on the client.
可选地,该装置还包括:第五接收单元,被设置为在展示提示信息时或之后,接收到推送指令,其中,推送指令用于指示将音乐文件推送至第二客户端;第二发送单元,被设置为发送推送请求至服务器,其中,服务 器用于在接收到推送请求时将音乐文件的曲目信息和地址信息推送给第二客户端。Optionally, the device further includes: a fifth receiving unit, configured to receive a push command when the prompt information is displayed or after, wherein the push command is used to indicate that the music file is pushed to the second client; the second sending The unit is configured to send a push request to the server, wherein the server is configured to push the track information and the address information of the music file to the second client when the push request is received.
可选地,该装置还包括:第六接收单元,被设置为在接收服务器返回的文件信息之后,接收到下载指令,其中,下载指令用于指示将音乐文件下载至电视终端;下载单元,被设置为按照音乐文件的地址信息将音乐文件下载至电视终端,其中,电视终端允许将下载的音乐文件传输给目标终端。Optionally, the apparatus further includes: a sixth receiving unit, configured to receive a download instruction after receiving the file information returned by the server, wherein the download instruction is used to instruct to download the music file to the television terminal; the download unit is It is arranged to download the music file to the television terminal according to the address information of the music file, wherein the television terminal allows the downloaded music file to be transmitted to the target terminal.
在该实施例中,具体的实施方式与上述的终端侧的音乐文件信息的传输方法相同,在此不再赘述。In this embodiment, the specific implementation manner is the same as the method for transmitting the music file information on the terminal side, and details are not described herein again.
采用本申请提供的技术方案,可以达到如下技术效果:By adopting the technical solution provided by the present application, the following technical effects can be achieved:
(1)在电视端增加提醒功能,避免用户遗漏收藏喜欢的影片音乐的情况出现;(1) Add a reminder function on the TV side to prevent the user from missing the favorite movie music;
(2)由于影片打动人的剧情往往是一瞬而过,若在观看影片时拿出手机,再把手机靠近电视进行音乐识别,等待一段时间后查看是否识别成功,可能会错过影片一些重要的情节,采用本申请的技术方案,在电视端直接进行音乐识别操作,在保持良好的观影体验下,用户可收藏并下载喜欢的音乐到自己的手机上,方便快捷,提高了用户体验;(2) Because the film touches people's story often is a moment, if you take out the phone while watching the movie, then the phone is close to the TV for music recognition, wait for a period of time to see if the recognition is successful, you may miss some important plots of the film. By adopting the technical solution of the present application, the music recognition operation is directly performed on the television end, and under the good viewing experience, the user can collect and download the favorite music to his mobile phone, which is convenient and quick, and improves the user experience;
(3)音乐识别的识别是否成功,与环境有很大的关系,除了受到影片的背景音乐、演员的对白外,还可能会受到其他环境声音(如屋内外噪音等)的影响,从而导致识别失败,采用本申请的技术方案,去除了外界声音的影响,只录入影片的声音,增大了识别的成功率。(3) Whether the recognition of music recognition is successful or not has a great relationship with the environment. In addition to the background music of the film and the dialogue of the actors, it may also be affected by other environmental sounds (such as noise inside and outside the house), resulting in identification. Failure, using the technical solution of the present application, removes the influence of external sounds, and only records the sound of the movie, increasing the success rate of recognition.
此处需要说明的是,上述模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例1所公开的内容。需要说明的是,上述模块作为装置的一部分可以运行在如图1所示的硬件环境中,可以通过软件实现,也可以通过硬件实现,其中,硬件环境包括网络环境。It should be noted here that the above modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above embodiment 1. It should be noted that the foregoing module may be implemented in a hardware environment as shown in FIG. 1 as part of the device, and may be implemented by software or by hardware, where the hardware environment includes a network environment.
根据本申请实施例,还提供了一种用于实施上述音乐文件信息的传输 方法的服务器或终端。According to an embodiment of the present application, there is also provided a server or terminal for implementing the above-described method of transmitting music file information.
图8是根据本申请实施例的一种电子装置的结构框图,如图8所示,该电子装置可以包括:一个或多个(图8中仅示出一个)处理器801、存储器803、以及传输装置805,如图8所示,该电子装置还可以包括输入输出设备807。FIG. 8 is a structural block diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 8, the electronic device may include: one or more (only one shown in FIG. 8) processor 801, memory 803, and The transmission device 805, as shown in FIG. 8, may further include an input and output device 807.
其中,存储器803可被设置为存储计算机程序以及模块,如本申请实施例中的音乐文件信息的传输方法和装置对应的程序指令/模块,处理器801被设置为通过运行存储在存储器803内的计算机程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的音乐文件信息的传输方法。存储器803可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器803可进一步包括相对于处理器801远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 803 can be configured to store a computer program and a module, such as a method for transmitting music file information and a program instruction/module corresponding to the device in the embodiment of the present application, and the processor 801 is configured to be stored in the memory 803 by running. The computer program and the module, thereby performing various function applications and data processing, that is, implementing the above-described method of transmitting music file information. Memory 803 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 803 can further include memory remotely located relative to processor 801, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
上述的传输装置805被设置为经由一个网络接收或者发送数据,还可以被设置为处理器与存储器之间的数据传输。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置805包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置805为射频(Radio Frequency,RF)模块,其被设置为通过无线方式与互联网进行通讯。The transmission device 805 described above is arranged to receive or transmit data via a network, and may also be configured as a data transmission between the processor and the memory. Specific examples of the above network may include a wired network and a wireless network. In one example, the transmission device 805 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In one example, transmission device 805 is a radio frequency (RF) module that is configured to communicate with the Internet wirelessly.
其中,可选地,存储器803被设置为存储应用程序。Wherein, optionally, the memory 803 is configured to store an application.
处理器801可以通过传输装置805调用存储器803存储的应用程序,以执行下述步骤:接收电视终端发送的信息获取请求,其中,电视终端上安装有用于播放视频文件的第一客户端,信息获取请求用于请求获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,文件信息用于描述音乐文件;响应于信息获取请求,查 找数据库中保存的视频文件,数据库用于为第一客户端提供视频源;查找与数据库中保存的视频文件关联的音乐文件的文件信息;返回文件信息至电视终端。The processor 801 can call the application stored in the memory 803 through the transmission device 805 to perform the following steps: receiving an information acquisition request sent by the television terminal, where the first client for playing the video file is installed on the television terminal, and the information is acquired. Requesting file information for requesting to acquire a music file, the music carried in the music file is music played in the first client when playing the video file, the file information is used to describe the music file; in response to the information acquisition request, searching in the database The saved video file, the database is used to provide a video source for the first client; the file information of the music file associated with the video file saved in the database is searched; and the file information is returned to the television terminal.
处理器801还被设置为执行下述步骤:在第一客户端中播放视频文件时,接收到获取指令,其中,获取指令用于获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,第一客户端安装在电视终端上;发送信息获取请求至服务器,其中,服务器用于响应于信息获取请求,查找数据库中保存的视频文件,并查找与视频文件关联的音乐文件的文件信息,数据库用于为第一客户端提供视频源;接收服务器返回的文件信息。The processor 801 is further configured to perform the following steps: when playing the video file in the first client, receiving an acquisition instruction, wherein the obtaining instruction is used to acquire file information of the music file, and the music carried in the music file is played The music played in the first client when the video file is played, the first client is installed on the television terminal; the information acquisition request is sent to the server, wherein the server is configured to search for the video file saved in the database in response to the information acquisition request, and Finding file information of a music file associated with the video file, the database is used to provide a video source for the first client; and receiving file information returned by the server.
采用本申请实施例,在电视终端上安装用于播放视频文件的第一客户端,服务器在接收电视终端发送的信息获取请求(该信息获取请求用于请求音乐文件的文件信息)时,查找数据库中保存的视频文件,并查找与数据库中保存的视频文件关联的音乐文件的文件信息,将查找到的文件信息返回至电视终端,可以解决了相关技术中无法搜索到视频中播放的音乐的技术问题,进而达到获取与视频文件相关联的音乐文件(如背景音乐、插曲、片头片尾曲等)的技术效果。In the embodiment of the present application, a first client for playing a video file is installed on a television terminal, and the server searches for a database when receiving an information acquisition request sent by the television terminal (the information acquisition request is used to request file information of the music file). The saved video file, and finds the file information of the music file associated with the video file saved in the database, and returns the found file information to the television terminal, which can solve the technology in the related art that the music played in the video cannot be searched. The problem, in turn, achieves the technical effect of acquiring music files (such as background music, episodes, intros, and the like) associated with the video file.
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments, and details are not described herein again.
本领域普通技术人员可以理解,图8所示的结构仅为示意,终端可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图8其并不对上述电子装置的结构造成限定。例如,终端还可包括比图8中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图8所示不同的配置。A person skilled in the art can understand that the structure shown in FIG. 8 is only illustrative, and the terminal can be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, and a mobile Internet device (MID). Terminal equipment such as PAD. FIG. 8 does not limit the structure of the above electronic device. For example, the terminal may also include more or less components (such as a network interface, display device, etc.) than shown in FIG. 8, or have a different configuration than that shown in FIG.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存 储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be completed by a program to instruct terminal device related hardware, and the program may be stored in a computer readable storage medium, and the storage medium may be Including: flash disk, read-only memory (ROM), random access memory (RAM), disk or optical disk.
本申请的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行音乐文件信息的传输方法。Embodiments of the present application also provide a storage medium. Optionally, in this embodiment, a computer program is stored in the storage medium, wherein the computer program is configured to execute a method for transmitting music file information at runtime.
可选地,在本实施例中,上述存储介质可以位于上述实施例所示的网络中的多个网络设备中的至少一个网络设备上。Optionally, in this embodiment, the foregoing storage medium may be located on at least one of the plurality of network devices in the network shown in the foregoing embodiment.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:Optionally, in the present embodiment, the storage medium is arranged to store program code for performing the following steps:
S11,接收电视终端发送的信息获取请求,其中,电视终端上安装有用于播放视频文件的第一客户端,信息获取请求用于请求获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,文件信息用于描述音乐文件;S11. Receive an information acquisition request sent by the television terminal, where the first client that plays the video file is installed on the television terminal, and the information acquisition request is used to request to obtain the file information of the music file, and the music carried in the music file is played. The music played in the first client when the video file is used to describe the music file;
S12,响应于信息获取请求,查找数据库中保存的视频文件,数据库用于为第一客户端提供视频源;S12, in response to the information acquisition request, searching for a video file saved in the database, where the database is used to provide a video source for the first client;
S13,查找与数据库中保存的视频文件关联的音乐文件的文件信息;S13. Search for file information of a music file associated with the video file saved in the database;
S14,返回文件信息至电视终端。S14, returning the file information to the television terminal.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
S21,在第一客户端中播放视频文件时,接收到获取指令,其中,获取指令用于获取音乐文件的文件信息,音乐文件中的携带的音乐为播放视频文件时在第一客户端中播放的音乐,第一客户端安装在电视终端上;S21, when the video file is played in the first client, receiving an acquisition instruction, where the acquiring instruction is used to obtain file information of the music file, and the music carried in the music file is played in the first client when the video file is played. Music, the first client is installed on the TV terminal;
S22,发送信息获取请求至服务器,其中,服务器用于响应于信息获取请求,查找数据库中保存的视频文件,并查找与视频文件关联的音乐文件的文件信息,数据库用于为第一客户端提供视频源;S22. Send an information acquisition request to the server, where the server is configured to search for a video file saved in the database in response to the information acquisition request, and search for file information of the music file associated with the video file, where the database is used to provide the first client. Video source
S23,接收服务器返回的文件信息。S23. Receive file information returned by the server.
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments, and details are not described herein again.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。The integrated unit in the above embodiment, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, or the whole or part of the technical solution, which is stored in the storage medium, including The instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地 方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located at one location, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is only a preferred embodiment of the present application, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present application. It should be considered as the scope of protection of this application.
Claims (17)
- 一种音乐文件信息的传输方法,包括:A method for transmitting music file information, comprising:服务器接收电视终端发送的信息获取请求,其中,所述电视终端上安装有用于播放视频文件的第一客户端,所述信息获取请求用于请求获取音乐文件的文件信息,所述音乐文件中携带的音乐为播放所述视频文件时在所述第一客户端中播放的音乐,所述文件信息用于描述所述音乐文件;Receiving, by the server, an information acquisition request sent by the television terminal, where the television terminal is installed with a first client for playing a video file, where the information acquisition request is used to request to acquire file information of the music file, where the music file is carried Music is music played in the first client when the video file is played, the file information is used to describe the music file;所述服务器响应于所述信息获取请求,查找数据库中保存的所述视频文件,其中,所述数据库用于为所述第一客户端提供视频源;The server is configured to search for the video file saved in the database, where the database is used to provide a video source for the first client, in response to the information acquisition request;所述服务器查找与所述数据库中保存的所述视频文件关联的所述音乐文件的所述文件信息;The server looks up the file information of the music file associated with the video file saved in the database;所述服务器返回所述文件信息至所述电视终端。The server returns the file information to the television terminal.
- 根据权利要求1所述的方法,其中,所述服务器查找与所述数据库中保存的所述视频文件关联的所述音乐文件的所述文件信息包括:The method of claim 1, wherein the server searching for the file information of the music file associated with the video file saved in the database comprises:获取所述视频文件的视频标识;Obtaining a video identifier of the video file;查找预先保存的多个文件信息中与所述视频标识关联的所述文件信息。Finding the file information associated with the video identifier among a plurality of pre-saved file information.
- 根据权利要求1或2所述的方法,其中,在所述服务器查找与所述数据库中保存的所述视频文件关联的所述音乐文件的所述文件信息之前,所述方法还包括:The method of claim 1 or 2, wherein before the server looks up the file information of the music file associated with the video file saved in the database, the method further comprises:所述服务器获取所述视频文件在第一播放时段内的音频信息,其中,所述第一播放时段的时间长度为预设值;The server acquires the audio information of the video file in the first playing period, where the length of the first playing period is a preset value;所述服务器查找到与所述音频信息匹配的所述音乐文件;The server finds the music file that matches the audio information;所述服务器获取所述音乐文件的所述文件信息,其中,所述文件信息包括所述音乐文件的曲目信息和地址信息,所述地址信息用于指示所述音乐文件的保存位置;The server acquires the file information of the music file, where the file information includes track information and address information of the music file, and the address information is used to indicate a save location of the music file;所述服务器保存所述视频文件和所述音乐文件的所述文件信息的关联关系。The server saves an association relationship between the video file and the file information of the music file.
- 根据权利要求1所述的方法,其中,所述信息获取请求包括所述视频文件的当前播放时刻,其中,所述服务器查找与所述数据库中保存的所述视频文件关联的所述音乐文件的所述文件信息包括:The method of claim 1, wherein the information acquisition request includes a current play time of the video file, wherein the server looks up the music file associated with the video file saved in the database The file information includes:获取所述视频文件在目标播放时段内的音频信息,其中,所述目标播放时段包括所述当前播放时刻;Obtaining audio information of the video file in a target playing time period, where the target playing time period includes the current playing time;查找到与所述音频信息匹配的所述音乐文件;Finding the music file that matches the audio information;获取所述音乐文件的所述文件信息,其中,所述文件信息包括所述音乐文件的曲目信息和地址信息,所述地址信息用于指示所述音乐文件的保存位置。Obtaining the file information of the music file, wherein the file information includes track information and address information of the music file, and the address information is used to indicate a save location of the music file.
- 根据权利要求1所述的方法,其中,所述第一客户端上登录有第一帐号,其中,在所述服务器返回所述文件信息至所述电视终端之后,所述方法还包括:The method of claim 1, wherein the first client has a first account number, wherein after the server returns the file information to the television terminal, the method further comprises:所述服务器接收所述电视终端发送的推送请求,其中,所述推送请求用于请求将所述音乐文件推送至第二客户端,所述第二客户端上登陆有第二帐号,所述第二帐号与所述第一帐号具有绑定关系;Receiving, by the server, a push request sent by the television terminal, where the push request is used to request to push the music file to a second client, and the second client is logged in to a second account, where the The second account has a binding relationship with the first account;所述服务器将所述音乐文件的曲目信息和地址信息推送至所述第二客户端。The server pushes track information and address information of the music file to the second client.
- 一种音乐文件信息的传输方法,包括:A method for transmitting music file information, comprising:在第一客户端中播放视频文件时,接收到获取指令,其中,所述获取指令用于指示获取音乐文件的文件信息,所述音乐文件中携带的音乐为播放所述视频文件时在所述第一客户端中播放的音乐,所述文件信息用于描述所述音乐文件,所述第一客户端安装在电视终端上;When the video file is played in the first client, the acquisition instruction is received, wherein the acquisition instruction is used to indicate that the file information of the music file is acquired, and the music carried in the music file is used when playing the video file. Music played in the first client, the file information is used to describe the music file, and the first client is installed on a television terminal;发送信息获取请求至服务器,其中,所述服务器用于响应于所述信息获取请求,查找数据库中保存的所述视频文件,并查找与所述视频文件关联的所述音乐文件的所述文件信息,所述数据库用于为所述 第一客户端提供视频源;Sending an information acquisition request to the server, wherein the server is configured to search the video file saved in the database in response to the information acquisition request, and find the file information of the music file associated with the video file The database is configured to provide a video source for the first client;接收所述服务器返回的所述文件信息。Receiving the file information returned by the server.
- 根据权利要求6所述的方法,其中,在接收所述服务器返回的所述文件信息之后,所述方法还包括:The method of claim 6, wherein after receiving the file information returned by the server, the method further comprises:在所述第一客户端上展示所述文件信息,其中,所述文件信息包括所述音乐文件的曲目信息和地址信息。The file information is displayed on the first client, wherein the file information includes track information and address information of the music file.
- 根据权利要求6所述的方法,其中,所述第一客户端上登录有第一帐号,其中,在接收所述服务器返回的所述文件信息之后,所述方法还包括:The method of claim 6, wherein the first client has a first account number, wherein after receiving the file information returned by the server, the method further comprises:查找是否存在与所述第一帐号具有绑定关系的第二帐号;Finding whether there is a second account with a binding relationship with the first account;在查找到存在所述第二帐号的情况下,展示提示信息,其中,所述提示信息用于提示是否将所述音乐文件推送至第二客户端,所述第二客户端上登录有所述第二帐号。In the case that the second account is found, the prompt information is displayed, wherein the prompt information is used to prompt whether to push the music file to the second client, and the second client logs in the Second account number.
- 根据权利要求8所述的方法,其中,在展示所述提示信息时或之后,所述方法还包括:The method of claim 8, wherein the method further comprises: after or after displaying the prompt information:接收到推送指令,其中,所述推送指令用于指示将所述音乐文件推送至所述第二客户端;Receiving a push command, wherein the push command is used to instruct to push the music file to the second client;发送推送请求至所述服务器,其中,所述服务器用于在接收到所述推送请求时将所述音乐文件的曲目信息和地址信息推送给所述第二客户端。Sending a push request to the server, wherein the server is configured to push the track information and the address information of the music file to the second client when the push request is received.
- 根据权利要求6所述的方法,其中,在接收所述服务器返回的所述文件信息之后,所述方法还包括:The method of claim 6, wherein after receiving the file information returned by the server, the method further comprises:接收到下载指令,其中,所述下载指令用于指示将所述音乐文件下载至所述电视终端;Receiving a download instruction, wherein the download instruction is used to instruct to download the music file to the television terminal;按照所述音乐文件的地址信息将所述音乐文件下载至所述电视终端,其中,所述电视终端允许将下载的所述音乐文件传输给目标终 端。The music file is downloaded to the television terminal in accordance with address information of the music file, wherein the television terminal allows the downloaded music file to be transmitted to the target terminal.
- 一种音乐文件信息的传输装置,包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,所述程序单元由所述处理器执行,所述程序单元包括:A transmission device for music file information, comprising one or more processors, and one or more memories storing program units, wherein the program units are executed by the processor, the program units comprising:第一接收单元,被设置为接收电视终端发送的信息获取请求,其中,所述电视终端上安装有用于播放视频文件的第一客户端,所述信息获取请求用于请求音乐文件的文件信息,所述音乐文件中携带的音乐为播放所述视频文件时在所述第一客户端中播放的音乐,所述文件信息用于描述所述音乐文件;The first receiving unit is configured to receive an information acquiring request sent by the television terminal, wherein the television terminal is installed with a first client for playing a video file, and the information obtaining request is used to request file information of the music file, The music carried in the music file is music played in the first client when the video file is played, and the file information is used to describe the music file;确定单元,被设置为响应于所述信息获取请求,查找数据库中保存的所述视频文件,其中,所述数据库用于为所述第一客户端提供视频源;a determining unit, configured to: in response to the information obtaining request, searching for the video file saved in a database, wherein the database is configured to provide a video source for the first client;第一查找单元,被设置为查找与所述数据库中保存的所述视频文件关联的所述音乐文件的所述文件信息;a first search unit configured to find the file information of the music file associated with the video file saved in the database;返回单元,被设置为返回所述文件信息至所述电视终端。A return unit is arranged to return the file information to the television terminal.
- 根据权利要求11所述的装置,其中,所述装置还包括:The apparatus of claim 11 wherein said apparatus further comprises:第一获取单元,被设置为在查找与所述数据库中保存的所述视频文件关联的所述音乐文件的所述文件信息之前,获取所述视频文件在第一播放时段内的音频信息,其中,所述第一播放时段的时间长度为预设值;a first obtaining unit, configured to acquire audio information of the video file in a first playing period before searching for the file information of the music file associated with the video file saved in the database, where The length of time of the first playing period is a preset value;第二查找单元,被设置为查找到与所述音频信息匹配的所述音乐文件;a second search unit configured to find the music file that matches the audio information;第二获取单元,被设置为获取所述音乐文件的所述文件信息,其中,所述文件信息包括所述音乐文件的曲目信息和地址信息,所述地址信息用于指示所述音乐文件的保存位置;a second obtaining unit, configured to acquire the file information of the music file, wherein the file information includes track information and address information of the music file, and the address information is used to indicate saving of the music file position;保存单元,被设置为保存所述视频文件和所述文件信息的关联关系。And a saving unit configured to save an association relationship between the video file and the file information.
- 根据权利要求11所述的装置,其中,所述第一客户端上登录有第一帐号,其中,所述装置还包括:The device of claim 11, wherein the first client has a first account number, wherein the device further comprises:第二接收单元,被设置为在返回所述文件信息至所述电视终端之后,接收所述电视终端发送的推送请求,其中,所述推送请求用于请求将所述音乐文件推送至第二客户端,所述第二客户端上登陆有第二帐号,所述第二帐号与所述第一帐号具有绑定关系;a second receiving unit, configured to receive a push request sent by the television terminal after returning the file information to the television terminal, wherein the push request is used to request to push the music file to a second client End, the second client has a second account, and the second account has a binding relationship with the first account;推送单元,被设置为将所述音乐文件的曲目信息和地址信息推送至所述第二客户端。The pushing unit is configured to push the track information and the address information of the music file to the second client.
- 一种音乐文件信息的传输装置,包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,所述程序单元由所述处理器执行,所述程序单元包括:A transmission device for music file information, comprising one or more processors, and one or more memories storing program units, wherein the program units are executed by the processor, the program units comprising:第三接收单元,被设置为在第一客户端中播放视频文件时,接收到获取指令,其中,所述获取指令用于指示获取音乐文件的文件信息,所述音乐文件中携带的音乐为播放所述视频文件时在所述第一客户端中播放的音乐,所述文件信息用于描述所述音乐文件,所述第一客户端安装在电视终端上;The third receiving unit is configured to receive an acquisition instruction when the video file is played in the first client, where the obtaining instruction is used to indicate that the file information of the music file is acquired, and the music carried in the music file is played. The music file is played in the first client, the file information is used to describe the music file, and the first client is installed on a television terminal;第一发送单元,被设置为发送信息获取请求至服务器,其中,所述服务器用于响应于所述信息获取请求,查找数据库中保存的所述视频文件,并查找与所述视频文件关联的所述音乐文件的所述文件信息,所述数据库用于为所述第一客户端提供视频源;a first sending unit, configured to send an information obtaining request to the server, wherein the server is configured to search for the video file saved in the database in response to the information obtaining request, and find a location associated with the video file The file information of the music file, the database is used to provide a video source for the first client;第四接收单元,被设置为接收所述服务器返回的所述文件信息。The fourth receiving unit is configured to receive the file information returned by the server.
- 根据权利要求14所述的装置,其中,所述装置还包括:The apparatus of claim 14 wherein said apparatus further comprises:第一展示单元,被设置为在接收所述服务器返回的所述文件信息之后,在所述第一客户端上展示所述文件信息,其中,所述文件信息包括所述音乐文件的曲目信息和地址信息。a first display unit, configured to display the file information on the first client after receiving the file information returned by the server, wherein the file information includes track information of the music file and Address information.
- 一种存储介质,其中,所述存储介质中存储有计算机程序,所述计算机程序被设置为运行时执行所述权利要求1至10任一项中所述的方 法。A storage medium in which a computer program is stored, the computer program being arranged to execute the method of any one of claims 1 to 10 at runtime.
- 一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至10任一项中所述的方法。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to perform the method of any one of claims 1 to 10 by the computer program .
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710334165.6 | 2017-05-12 | ||
CN201710334165.6A CN107124623B (en) | 2017-05-12 | 2017-05-12 | The transmission method and device of music file information |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018205833A1 true WO2018205833A1 (en) | 2018-11-15 |
Family
ID=59727047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/084353 WO2018205833A1 (en) | 2017-05-12 | 2018-04-25 | Method and apparatus for transmitting music file information, storage medium, and electronic apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107124623B (en) |
WO (1) | WO2018205833A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107124623B (en) * | 2017-05-12 | 2019-02-26 | 腾讯科技(深圳)有限公司 | The transmission method and device of music file information |
CN108804665B (en) * | 2018-06-08 | 2022-09-27 | 上海掌门科技有限公司 | Method and device for pushing and receiving information |
CN109040821A (en) * | 2018-07-04 | 2018-12-18 | 四川斐讯信息技术有限公司 | A kind of method and system of interlude details that checking that movie and video programs are currently playing |
CN109309865B (en) * | 2018-08-28 | 2019-06-07 | 上海极链网络科技有限公司 | Age type goodness of fit recognition mechanism |
CN109756775B (en) * | 2018-08-28 | 2020-04-28 | 安徽瑞羽康农业科技有限公司 | Age type goodness of fit identification method |
CN110335625A (en) * | 2019-07-08 | 2019-10-15 | 百度在线网络技术(北京)有限公司 | The prompt and recognition methods of background music, device, equipment and medium |
CN114666653B (en) * | 2022-03-23 | 2024-07-19 | 腾讯音乐娱乐科技(深圳)有限公司 | Subtitle display method and equipment for music fragments and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070261079A1 (en) * | 2000-04-12 | 2007-11-08 | Lg Electronics Inc. | Method and video device for accessing information |
CN101127784A (en) * | 2007-09-29 | 2008-02-20 | 网秦无限(北京)科技有限公司 | Method and system for quickly obtaining network information service at mobile terminal |
CN101159576A (en) * | 2007-08-30 | 2008-04-09 | 腾讯科技(深圳)有限公司 | Chatting method, chatting room client terminal, system management background and server |
CN103686452A (en) * | 2013-12-06 | 2014-03-26 | 北京普瑞众合国际科技有限公司 | Addition processing method for video associated information |
CN104038774A (en) * | 2014-06-30 | 2014-09-10 | 北京奇艺世纪科技有限公司 | Ring tone file generating method and device |
CN104598502A (en) * | 2014-04-22 | 2015-05-06 | 腾讯科技(北京)有限公司 | Method, device and system for obtaining background music information in played video |
CN105657535A (en) * | 2015-12-29 | 2016-06-08 | 北京搜狗科技发展有限公司 | Audio recognition method and device |
CN107124623A (en) * | 2017-05-12 | 2017-09-01 | 腾讯科技(深圳)有限公司 | The transmission method and device of music file information |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100294511B1 (en) * | 1999-05-28 | 2001-07-12 | 송경호 | Method and system for providing information and advertisement using computer monitor screens or sound in the network |
US20060041632A1 (en) * | 2004-08-23 | 2006-02-23 | Microsoft Corporation | System and method to associate content types in a portable communication device |
KR100782825B1 (en) * | 2005-12-01 | 2007-12-06 | 삼성전자주식회사 | Method and apparatus for providing selection information of audio content, and recording medium storing program for performing the method |
US8311823B2 (en) * | 2006-08-31 | 2012-11-13 | Sony Mobile Communications Ab | System and method for searching based on audio search criteria |
CN101141269B (en) * | 2006-09-07 | 2011-05-18 | 北京金音源管理科技有限公司 | Music spread and management system for realizing music download, playing |
CN100511240C (en) * | 2007-12-28 | 2009-07-08 | 腾讯科技(深圳)有限公司 | Audio document calling method and system |
CN102891886B (en) * | 2012-09-14 | 2015-05-20 | 吉视传媒股份有限公司 | Multi-screen interacting method and system based on cloud computing |
CN103856454B (en) * | 2012-12-04 | 2017-08-11 | 中国电信股份有限公司 | IP IP multimedia subsystem, IMSs and the method and business intercommunication gateway of Internet service intercommunication |
CN104052779B (en) * | 2013-03-14 | 2016-06-15 | 腾讯科技(深圳)有限公司 | A kind of method of information recommendation, system and intelligent terminal |
CN104683216B (en) * | 2013-11-29 | 2019-04-12 | 腾讯科技(深圳)有限公司 | The retransmission method and device of customer service information, customer service system |
CN103795897A (en) * | 2014-01-21 | 2014-05-14 | 深圳市中兴移动通信有限公司 | Method and device for automatically generating background music |
CN105100878B (en) * | 2014-05-08 | 2018-07-17 | Tcl集团股份有限公司 | A kind of TV programme sharing method and system |
CN103945009A (en) * | 2014-05-09 | 2014-07-23 | 张志强 | Software sharing method and device |
CN104199885A (en) * | 2014-08-22 | 2014-12-10 | 广州三星通信技术研究有限公司 | Device and method for acquiring relevant content of video files |
CN104954882A (en) * | 2015-06-16 | 2015-09-30 | 腾讯科技(北京)有限公司 | Message sharing method and client |
CN105512275A (en) * | 2015-12-04 | 2016-04-20 | 小米科技有限责任公司 | Song collection method and device |
CN105608616B (en) * | 2015-12-25 | 2021-05-28 | 腾讯科技(深圳)有限公司 | Method and device for remotely assisting controlled equipment |
-
2017
- 2017-05-12 CN CN201710334165.6A patent/CN107124623B/en active Active
-
2018
- 2018-04-25 WO PCT/CN2018/084353 patent/WO2018205833A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070261079A1 (en) * | 2000-04-12 | 2007-11-08 | Lg Electronics Inc. | Method and video device for accessing information |
CN101159576A (en) * | 2007-08-30 | 2008-04-09 | 腾讯科技(深圳)有限公司 | Chatting method, chatting room client terminal, system management background and server |
CN101127784A (en) * | 2007-09-29 | 2008-02-20 | 网秦无限(北京)科技有限公司 | Method and system for quickly obtaining network information service at mobile terminal |
CN103686452A (en) * | 2013-12-06 | 2014-03-26 | 北京普瑞众合国际科技有限公司 | Addition processing method for video associated information |
CN104598502A (en) * | 2014-04-22 | 2015-05-06 | 腾讯科技(北京)有限公司 | Method, device and system for obtaining background music information in played video |
CN104038774A (en) * | 2014-06-30 | 2014-09-10 | 北京奇艺世纪科技有限公司 | Ring tone file generating method and device |
CN105657535A (en) * | 2015-12-29 | 2016-06-08 | 北京搜狗科技发展有限公司 | Audio recognition method and device |
CN107124623A (en) * | 2017-05-12 | 2017-09-01 | 腾讯科技(深圳)有限公司 | The transmission method and device of music file information |
Also Published As
Publication number | Publication date |
---|---|
CN107124623B (en) | 2019-02-26 |
CN107124623A (en) | 2017-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018205833A1 (en) | Method and apparatus for transmitting music file information, storage medium, and electronic apparatus | |
KR101664754B1 (en) | Method, device, program and recording medium for information acquisition | |
JP6423445B2 (en) | Multimedia data reproduction method, apparatus and system | |
US9762959B2 (en) | Automatic transition of content based on facial recognition | |
US8588824B2 (en) | Transferring media context information based on proximity to a mobile device | |
US8776105B2 (en) | Method and system for automatic content recognition protocols | |
RU2491618C2 (en) | Methods of consuming content and metadata | |
US9699513B2 (en) | Methods and apparatus for providing access to content | |
US20130173765A1 (en) | Systems and methods for assigning roles between user devices | |
US20120315014A1 (en) | Audio fingerprinting to bookmark a location within a video | |
WO2012159359A1 (en) | Video-based method, server and system for realizing value-added service | |
US10951955B2 (en) | Method and apparatus for promotional programming | |
US10812875B2 (en) | Method and apparatus for generating information associated with a lapsed presentation of media content | |
JP2007306570A (en) | Access of data resource using pause point | |
CN102132266A (en) | Digital living network alliance (DLNA) client device with thumbnail creation | |
US10826961B2 (en) | Multimedia player device automatically performs an operation triggered by a portable electronic device | |
CN112086082A (en) | Voice interaction method for karaoke on television, television and storage medium | |
US9538261B2 (en) | Intelligent URL system for recommending video programs | |
US9749700B1 (en) | Automatic display of closed captioning information | |
TWI558189B (en) | Methods, apparatus, and user interfaces for social user quantification | |
TW201419035A (en) | Interaction system and investigation method | |
EP3542542B1 (en) | Automatic display of closed captioning information | |
CN107071504B (en) | Splash screen content processing method and device | |
CN113886681A (en) | Virtual space searching method, virtual space display method and device | |
TW201607298A (en) | Multimedia broadcast system and multimedia broadcast method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18797754 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18797754 Country of ref document: EP Kind code of ref document: A1 |