[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2017219481A1 - Playlist sorting method and device - Google Patents

Playlist sorting method and device Download PDF

Info

Publication number
WO2017219481A1
WO2017219481A1 PCT/CN2016/096263 CN2016096263W WO2017219481A1 WO 2017219481 A1 WO2017219481 A1 WO 2017219481A1 CN 2016096263 W CN2016096263 W CN 2016096263W WO 2017219481 A1 WO2017219481 A1 WO 2017219481A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
same
media file
media files
media
Prior art date
Application number
PCT/CN2016/096263
Other languages
French (fr)
Chinese (zh)
Inventor
梁树为
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017219481A1 publication Critical patent/WO2017219481A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • G06F16/4387Presentation of query results by the use of playlists

Definitions

  • the embodiment of the present invention is to provide a playlist sorting method and device, which can classify and sort each media file according to user requirements, create a playlist and play it, and improve the user experience.
  • the method further includes:
  • the determining, according to each media file that the first information in the ID3 information is the same includes: determining that the first information in each ID3 information is the same, and the ID3 information further includes one or more of the same preset designation information.
  • Various media files include: determining that the first information in each ID3 information is the same, and the ID3 information further includes one or more of the same preset designation information.
  • the sorting each media file with the same first information includes:
  • the determining module is configured to determine each media file whose first information is the same in each ID3 information
  • the sorting module is configured to sort the media files having the same first information according to the second information in each ID3 information corresponding to each media file having the same first information.
  • the retrieval module is configured to retrieve, in the local storage, all media files having the same first information according to the first information
  • the sorting module is specifically configured to sort the media files having the same first information according to the sequence information of the second information
  • the sorting module is further configured to splicing the sorted media files into one media file.
  • FIG. 1 is a schematic flowchart of a playlist sorting method according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of playing an album song according to an embodiment of the present invention.
  • the ID3 information of each media file is separately obtained; each media file having the same first information in each ID3 information is determined; and the second information in each ID3 information corresponding to each media file corresponding to the first information is determined. And sorting the media files with the same first information.
  • the playlist sorting method provided by the embodiment of the present invention is as shown in FIG. 1 , and the method includes:
  • Step 101 Obtain ID3 information of each media file separately.
  • Step 102 Determine each media file whose first information is the same in each ID3 information.
  • the playlist sorting method provided by the embodiment of the present invention may be classified according to the album name to which the song belongs in the media file, and the first information may be the album name in the ID3 information.
  • the first information may be the album name in the ID3 information.
  • all the media files having the same specified first information stored in the local storage space of the playback device may be acquired according to the specified first information.
  • the collection condition may be increased, and the first information in each ID3 information is determined to be the same, and then the ID3 information is further included to include more than one same preset designation.
  • the other media files whose ID3 information is the same as the preset designation information may be determined at the same time; for example, the album name and the singer in the ID3 information are used.
  • Subject name At the same time, only the media files whose album name and singer name meet the requirements are determined; the information such as the issue time in the ID3 information can also be added for more accurate search.
  • the preset designation information may be one or more.
  • Step 103 Sort each media file with the same first information according to the second information in each ID3 information corresponding to each media file with the same first information.
  • the songs on the CD are located on different tracks, and the CD songs are played in the order of the tracks.
  • the order of the tracks is also the sorting of the songs by the producer during the song album production; the CD is converted to the MP3 format audio.
  • the track number is added to the ID3 information at the same time;
  • the second information may be track information in the ID3 information; the media files having the same first information may be sorted according to the second information, that is, the songs belonging to the same album, according to ID3 information
  • the track information in the order is sorted; thus, the media files belonging to the same album are sorted in the order in which the albums are produced.
  • the media files arranged in order can be integrated into one file, and the user selects the integrated file to select the entire album, which is convenient for the user to use.
  • the MP3 file splicing software can be used to integrate the ordered MP3 format audio files.
  • the missing media files may be determined according to the audio track information; for example, determining all the media files belonging to the same album, and determining the audio track information of each media file. 3, 4, 5, 7, 8, 9
  • the media file lacking the audio track 6 here, the missing media file can be directly downloaded from the external network, or the user is prompted to the missing media file; Sort all the media files in the album.
  • the playlist sorting method provided by the embodiment of the present invention may be classified according to the album name to which the song belongs in the media file, and sorted by using the track information; and may also be based on the theme of the creator, the performer, and the like in the ID3 information.
  • a message is categorized and can be sorted by using the creation date, the issue date, and the like as the second information.
  • Step 201 The user can select an album name in the player operation interface, which may be the album name A of any song corresponding to the song that has been scanned in the player, and may add the artist name B to find the song more accurately;
  • Step 202 The player can search all the songs of the same album in the player through the album name A and the artist name B;
  • Step 203 retrieve all the song ID3 information under the album named A by the album, and obtain the track number of each song, that is, the track number, in each ID3 information;
  • Step 204 According to all the tracks of the existing song, the missing track number can be found; if some of the albums are found The songs are not saved in the player's local storage, and other songs in the same album can be automatically downloaded over the network to complete all the songs in the album;
  • Step 205 Automatically add all the songs of the same album to the playlist, and sort according to the track number (track number) in the ID3 information from small to large;
  • Step 205 The user may choose to splicing all the songs in the playlist into a music file in the order of the track number, so that the playlist does not have to be played during the subsequent use play.
  • the obtaining module 31 is configured to separately obtain ID3 information of each media file
  • the collection condition may be increased, and the first information in each ID3 information is determined to be the same, and then the ID3 information is further included to include more than one same preset designation information.
  • the other media files with the same preset information in the ID3 information may be determined at the same time; for example, the album name and the singer in the ID3 information are used.
  • the topic name is searched at the same time, and only the media files whose album name and singer name meet the requirements are determined; the information such as the issue time in the ID3 information can also be added for more accurate search.
  • the preset designation information may be one or more.
  • the apparatus further includes a retrieval module 34 configured to acquire, according to the specified first information, all media files having the same specified first information stored in a local storage space of the playback device.
  • the sorting module 33 is configured to sort the media files with the same first information according to the second information in each ID3 information corresponding to each media file with the same first information;
  • the songs on the CD are located on different tracks, and the CD songs are played in the order of the tracks.
  • the order of the tracks is also the sorting of the songs by the producer during the song album production; the CD is converted to the MP3 format audio.
  • the track number is added to the ID3 information at the same time;
  • the second information may be track information in the ID3 information; the media files having the same first information may be sorted according to the second information, that is, the songs belonging to the same album, according to ID3 information Track information in Sorting; thus completing the sorting of the media files belonging to the same album in the order in which they were produced.
  • the media files arranged in order can be integrated into one file, and the user selects the integrated file to select the entire album, which is convenient for the user to use.
  • the MP3 file splicing software can be used to integrate the ordered MP3 format audio files.
  • the retrieving module 34 is further configured to: determine, according to the corresponding second information of the media files that are the same as the first information, a currently missing media file having the same first information; download the currently missing a media file having the same first information; and actively downloading or prompting the user to download the currently missing media file having the same first information;
  • the missing media files may be determined according to the audio track information; for example, determining all the media files belonging to the same album, and determining the audio track information of each media file. 3, 4, 5, 7, 8, 9
  • the media file lacking the audio track 6 here, the missing media file can be directly downloaded from the external network, or the user is prompted to the missing media file; Sort all the media files in the album.
  • the playlist sorting apparatus provided by the embodiment of the present invention may be classified according to the album name to which the song belongs in the media file, and sorted by using the track information; and may also be based on the theme of the creator, the performer, and the like in the ID3 information.
  • a message is categorized and can be sorted by using the creation date, the issue date, and the like as the second information.
  • the obtaining module 31, the determining module 32, the sorting module 33, and the retrieving module 34 may each be a central processing unit (CPU), a microprocessor (MPU), and a digital signal processor (DSP) of the media playing device. Or a combination of field programmable gate arrays (FPGAs).
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA field programmable gate arrays
  • the foregoing technical solution provided by the embodiment of the present invention may be applied to the playlist sorting process by separately obtaining ID3 information of each media file, and determining each media file having the same first information in each ID3 information;
  • the second information in each ID3 information corresponding to each media file is sorted for each media file having the same first information;
  • the first information includes: an album name, and the second information includes: a track number;

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

Disclosed is a playlist sorting method, comprising: separately obtaining additional information tag (ID3) information of media files; determining media files having same first information in the ID3 information; and sorting the media files having the same first information according to second information in the ID3 information corresponding to the media files having the same first information. Also disclosed is a playlist sorting device.

Description

一种播放列表排序方法和装置Playlist sorting method and device 技术领域Technical field
本发明涉及多媒体播放技术领域,尤其涉及一种播放列表排序方法和装置。The present invention relates to the field of multimedia playback technologies, and in particular, to a playback list sorting method and apparatus.
背景技术Background technique
随着技术的发展,音乐载体如光盘(CD,Compact Disc)、磁带等,几乎已经被新型载体如动态影像专家压缩标准音频层面3(MP3,Moving Picture Experts Group Audio Layer III)格式的音频文件等媒体文件完全替代;虽然CD有着更好的音质,但是,消费者更喜欢MP3格式的音频文件等媒体文件带来的便利性。With the development of technology, music carriers such as compact discs (CDs, compact discs, etc.) have been compressed by standard carriers such as motion picture experts in audio formats such as Moving Picture Experts Group Audio Layer III (MP3). Media files are completely replaced; although CDs have better sound quality, consumers prefer the convenience of media files such as audio files in MP3 format.
音乐出版商在向市场推出新歌的时候大部分还是采用专辑的形式,各首歌曲的排列顺序也体现了创作者对这张专辑的理解;在消费者调研中,有用户提出希望现在的音乐播放器能够和以前听磁带或者CD一样,其中的曲目能够按专辑中的排列顺序进行播放,从而能够体会创作者的想法。Music publishers mostly use albums when they introduce new songs to the market. The order of the songs also reflects the creator's understanding of the album. In consumer research, some users have suggested that the current music will be played. The player can listen to the same tape or CD as before, and the tracks can be played in the order in which the albums are arranged, so that the creators can understand the idea.
现在大多数音乐播放器播放多首歌曲时,都会建立歌曲列表,并按一定顺序依次播放的功能,或者在有网络数据支持下自动建立感兴趣或者相似歌曲的播放列表。目前的建立歌曲列表的方法有:一、手动新建歌单,通过人工选择添加歌曲到歌曲列表,这种方式需要人工创建,比较繁琐;二、依靠已经收藏或者播放过的歌曲,通过网络服务器中的大数据统计来智能创建播放列表,这种方式需要依靠网络服务,并且自动建立的播放列表可能存在不希望添加的歌曲。现有的列表功能都不能满足按歌曲所在专辑的播放顺序来进行播放。Nowadays, when most music players play multiple songs, they will create a list of songs and play them in a certain order, or automatically create playlists of interesting or similar songs with the support of network data. The current methods for creating song lists are as follows: 1. Manually creating a new song list, manually adding songs to the song list. This method needs to be manually created, which is cumbersome; second, relying on songs that have been collected or played, through the web server. Big data statistics to intelligently create playlists, which relies on web services, and automatically created playlists may have songs that you don't want to add. The existing list functions are not able to play in the order in which the songs are played.
因此,如何将各音频文件按音频文件内容所属专辑内歌曲的顺序创建播放列表并播放,满足用户需求,是亟待解决的问题。Therefore, how to create a playlist and play each audio file in the order of the songs in the album to which the audio file content belongs is a problem that needs to be solved.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种播放列表排序方法和装置,能将各媒体文件按用户需求归类并排序,创建播放列表并播放,提升用户使用体验。In view of this, the embodiment of the present invention is to provide a playlist sorting method and device, which can classify and sort each media file according to user requirements, create a playlist and play it, and improve the user experience.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种播放列表排序方法,所述方法包括:An embodiment of the present invention provides a playlist sorting method, where the method includes:
分别获取各媒体文件的附加信息标签(ID3)信息;Obtaining additional information tag (ID3) information of each media file separately;
确定各ID3信息中第一信息相同的各媒体文件;Determining respective media files having the same first information in each ID3 information;
根据所述第一信息相同的各媒体文件对应的各ID3信息中的第二信息,对所述第一信息相同的各媒体文件进行排序。 And sorting, according to the second information in each ID3 information corresponding to each media file having the same first information, the media files having the same first information.
上述方案中,所述方法还包括:In the above solution, the method further includes:
根据所述第一信息,在本地存储器内检索所有第一信息相同的媒体文件。Based on the first information, all media files having the same first information are retrieved in the local storage.
上述方案中,所述方法还包括:In the above solution, the method further includes:
根据所述第一信息相同的各媒体文件的对应的第二信息,确定当前缺失的具有相同第一信息的媒体文件。And determining, according to the corresponding second information of the media files that are the same as the first information, the currently missing media file having the same first information.
上述方案中,所述方法还包括:将排序后的各媒体文件拼接成一个媒体文件。In the above solution, the method further includes: splicing the sorted media files into one media file.
上述方案中,所述确定各ID3信息中第一信息相同的各媒体文件,包括:所述确定各ID3信息中第一信息相同,且ID3信息中还包含1个以上的相同预设指定信息的各媒体文件。In the above solution, the determining, according to each media file that the first information in the ID3 information is the same, includes: determining that the first information in each ID3 information is the same, and the ID3 information further includes one or more of the same preset designation information. Various media files.
上述方案中,所述对所述第一信息相同的各媒体文件进行排序,包括:In the above solution, the sorting each media file with the same first information includes:
根据所述第二信息的序列信息,对所述第一信息相同的各媒体文件进行排序。And sorting, according to the sequence information of the second information, the media files having the same first information.
本发明实施例还提供了一种播放列表排序装置,所述装置包括:获取模块、确定模块和排序模块;其中,The embodiment of the invention further provides a playlist sorting device, the device comprising: an obtaining module, a determining module and a sorting module; wherein
所述获取模块,设置为分别获取各媒体文件的ID3信息;The obtaining module is configured to separately obtain ID3 information of each media file;
所述确定模块,设置为确定各ID3信息中第一信息相同的各媒体文件;The determining module is configured to determine each media file whose first information is the same in each ID3 information;
所述排序模块,设置为根据所述第一信息相同的各媒体文件对应的各ID3信息中的第二信息,对所述第一信息相同的各媒体文件进行排序。The sorting module is configured to sort the media files having the same first information according to the second information in each ID3 information corresponding to each media file having the same first information.
上述方案中,所述装置还包括:检索模块;In the above solution, the device further includes: a retrieval module;
所述检索模块,设置为根据所述第一信息,在本地存储器内检索所有第一信息相同的媒体文件;The retrieval module is configured to retrieve, in the local storage, all media files having the same first information according to the first information;
所述检索模块,还设置为根据所述第一信息相同的各媒体文件的对应的第二信息,确定当前缺失的具有相同第一信息的媒体文件。The searching module is further configured to determine, according to the corresponding second information of the media files that are the same as the first information, a currently missing media file having the same first information.
上述方案中,所述确定模块,还设置为确定各ID3信息中第一信息相同,且ID3信息中还包含1个以上的相同预设指定信息的各媒体文件。In the above solution, the determining module is further configured to determine that the first information in each ID3 information is the same, and the ID3 information further includes one or more media files of the same preset designation information.
上述方案中,所述排序模块,具体设置为根据所述第二信息的序列信息,对所述第一信息相同的各媒体文件进行排序;In the above solution, the sorting module is specifically configured to sort the media files having the same first information according to the sequence information of the second information;
所述排序模块,还设置为将排序后的各媒体文件拼接成一个媒体文件。The sorting module is further configured to splicing the sorted media files into one media file.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的播放列表排序的实现。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing the implementation of the playlist sorting in the foregoing embodiment.
本发明实施例所提供的播放列表排序方法和装置,分别获取各媒体文件的ID3信息;确 定各ID3信息中第一信息相同的各媒体文件;根据所述第一信息相同的各媒体文件对应的各ID3信息中的第二信息,对所述第一信息相同的各媒体文件进行排序;所述第一信息包括:专辑名,所述第二信息包括:音轨序号;如此,将各媒体文件用户需求归类并排序,创建播放列表并播放,提升用户使用体验。The playlist sorting method and device provided by the embodiments of the present invention respectively acquire ID3 information of each media file; Each media file having the same first information in each ID3 information is determined; and the media files having the same first information are sorted according to the second information in each ID3 information corresponding to each media file of the first information; The first information includes: an album name, and the second information includes: a track number; thus, classifying and sorting the user requirements of the media files, creating a playlist and playing, and improving the user experience.
附图说明DRAWINGS
图1为本发明实施例播放列表排序方法的流程示意图;1 is a schematic flowchart of a playlist sorting method according to an embodiment of the present invention;
图2为本发明实施例播放专辑歌曲的流程示意图;2 is a schematic flow chart of playing an album song according to an embodiment of the present invention;
图3为本发明实施例播放列表排序装置的组成结构示意图。FIG. 3 is a schematic structural diagram of a structure of a playlist sorting apparatus according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例中,分别获取各媒体文件的ID3信息;确定各ID3信息中第一信息相同的各媒体文件;根据所述第一信息相同的各媒体文件对应的各ID3信息中的第二信息,对所述第一信息相同的各媒体文件进行排序。In the embodiment of the present invention, the ID3 information of each media file is separately obtained; each media file having the same first information in each ID3 information is determined; and the second information in each ID3 information corresponding to each media file corresponding to the first information is determined. And sorting the media files with the same first information.
下面结合实施例对本发明再作进一步详细的说明。The present invention will be further described in detail below with reference to the embodiments.
本发明实施例提供的播放列表排序方法,如图1所示,所述方法包括:The playlist sorting method provided by the embodiment of the present invention is as shown in FIG. 1 , and the method includes:
步骤101:分别获取各媒体文件的ID3信息;Step 101: Obtain ID3 information of each media file separately.
所述媒体文件包括:MP3格式的音频文件等媒体文件;所述ID3是一种媒体文件的附加信息标签,是一种元数据容器,通常ID3位于MP3格式音频文件等媒体文件的末尾,ID3存储了媒体文件中歌曲的曲名、演唱者、专辑名、音轨数、发行时间等信息。通常,一个媒体文件可以包含一首歌曲或一首音乐等内容,各媒体文件被存储在电脑、终端等播放设备中,并由软件播放器进行播放;这里,可以获取各媒体文件的ID3信息。The media file includes: a media file such as an audio file in an MP3 format; the ID3 is an additional information tag of the media file, and is a metadata container. Usually, the ID3 is located at the end of the media file such as an MP3 format audio file, and the ID3 is stored. The song name, singer, album name, number of tracks, release time, etc. of the song in the media file. Generally, a media file may include a song or a piece of music, etc., and each media file is stored in a playback device such as a computer or a terminal, and played by a software player; here, ID3 information of each media file may be acquired.
步骤102:确定各ID3信息中第一信息相同的各媒体文件;Step 102: Determine each media file whose first information is the same in each ID3 information.
本发明实施例提供的播放列表排序方法,可以根据媒体文件中歌曲所属的专辑名来归类,所述第一信息可以是ID3信息中的专辑名。这里,可以确定所有所述第一信息相同的媒体文件;从而,确定播放设备中属于同一专辑的所有歌曲。The playlist sorting method provided by the embodiment of the present invention may be classified according to the album name to which the song belongs in the media file, and the first information may be the album name in the ID3 information. Here, all of the media files having the same first information can be determined; thus, all songs belonging to the same album in the playback device are determined.
进一步的,可以根据指定的第一信息,获取所有存储在播放设备本地存储空间的具有相同所述指定第一信息的各媒体文件。Further, all the media files having the same specified first information stored in the local storage space of the playback device may be acquired according to the specified first information.
更进一步的,为了精确查找具有相同的第一信息的媒体文件,可以增加收索条件,确定各ID3信息中第一信息相同的同时,再确定ID3信息中还包含1个以上的相同预设指定信息的各媒体文件;为避免专辑同名等情况,可以在第一信息相同的媒体文件中,同时确定ID3信息中其他预设指定信息也相同的媒体文件;如采用ID3信息中专辑名和演唱者两个主题名 同时搜索,只确定专辑名和演唱者名都符合要求的媒体文件;还可以增加ID3信息中的发行时间等信息进行更精确的搜索。所述预设指定信息可以是1个以上。Further, in order to accurately find the media file having the same first information, the collection condition may be increased, and the first information in each ID3 information is determined to be the same, and then the ID3 information is further included to include more than one same preset designation. For each media file of information; in order to avoid the same name of the album, etc., in the same media file of the first information, the other media files whose ID3 information is the same as the preset designation information may be determined at the same time; for example, the album name and the singer in the ID3 information are used. Subject name At the same time, only the media files whose album name and singer name meet the requirements are determined; the information such as the issue time in the ID3 information can also be added for more accurate search. The preset designation information may be one or more.
步骤103:根据所述第一信息相同的各媒体文件对应的各ID3信息中的第二信息,对所述第一信息相同的各媒体文件进行排序;Step 103: Sort each media file with the same first information according to the second information in each ID3 information corresponding to each media file with the same first information.
通常,CD上的各首歌曲位于不同的音轨上,播放CD歌曲时按照音轨的顺序播放,音轨的顺序同时也是歌曲专辑制作时制作人对歌曲的排序;在CD转制到MP3格式音频文件等媒体文件的时候,音轨序号同时被加到了ID3信息中;Usually, the songs on the CD are located on different tracks, and the CD songs are played in the order of the tracks. The order of the tracks is also the sorting of the songs by the producer during the song album production; the CD is converted to the MP3 format audio. When a file such as a file is used, the track number is added to the ID3 information at the same time;
这里,所述第二信息可以是ID3信息中的音轨信息;可以将所述第一信息相同的媒体文件根据所述第二信息排序,也就是将所述属于同一专辑的歌曲,根据ID3信息中的音轨信息排序;从而完成对属于同一专辑的各媒体文件按照专辑制作时候的顺序排序。Here, the second information may be track information in the ID3 information; the media files having the same first information may be sorted according to the second information, that is, the songs belonging to the same album, according to ID3 information The track information in the order is sorted; thus, the media files belonging to the same album are sorted in the order in which the albums are produced.
进一步的,可以将排好序的各媒体文件整合成一个文件,用户选择了所述整合的文件就相当于选择了整张专辑,方便用户的使用。这里,可以采用MP3文件拼接软件对排好序的MP3格式音频文件进行整合。Further, the media files arranged in order can be integrated into one file, and the user selects the integrated file to select the entire album, which is convenient for the user to use. Here, the MP3 file splicing software can be used to integrate the ordered MP3 format audio files.
更进一步的,还可以根据所述第一信息相同的各媒体文件的对应的第二信息,确定当前缺失的具有相同第一信息的媒体文件;并主动下载或提示用户下载所述当前缺失的具有相同第一信息的媒体文件;Further, the media file having the same first information that is currently missing may be determined according to the corresponding second information of the media files that are the same as the first information; and the user is actively downloaded or prompted to download the currently missing one. a media file of the same first information;
具体的,确定所有属于同一专辑的媒体文件后,可以根据音轨信息确定缺失的媒体文件;如:确定所有属于同一专辑的各媒体文件,并确定了各媒体文件的音轨信息1、2、3、4、5、7、8、9,这里,可以看出缺少了音轨6的媒体文件;这里,可以从外部网络直接下载缺少的媒体文件,或提示用户下缺少的媒体文件;在获取了专辑中所有的媒体文件后进行排序。Specifically, after determining all the media files belonging to the same album, the missing media files may be determined according to the audio track information; for example, determining all the media files belonging to the same album, and determining the audio track information of each media file. 3, 4, 5, 7, 8, 9 Here, it can be seen that the media file lacking the audio track 6; here, the missing media file can be directly downloaded from the external network, or the user is prompted to the missing media file; Sort all the media files in the album.
本发明实施例提供的播放列表排序方法,除了可以根据媒体文件中歌曲所属的专辑名来归类,并采用音轨信息来排序;还可以根据ID3信息中的创作者、演绎者等主题作为第一信息来归类,并可以采用创作日期、发行日期等作为第二信息来排序。The playlist sorting method provided by the embodiment of the present invention may be classified according to the album name to which the song belongs in the media file, and sorted by using the track information; and may also be based on the theme of the creator, the performer, and the like in the ID3 information. A message is categorized and can be sorted by using the creation date, the issue date, and the like as the second information.
下面结合具体示例对本发明产生的积极效果作进一步详细的描述;The positive effects produced by the present invention will be further described in detail below with reference to specific examples;
如图2所示,本示例以用户采用本发明技术方案进行歌曲播放为例:As shown in FIG. 2, this example is an example of a user playing a song using the technical solution of the present invention:
步骤201:用户可以在播放器操作界面中选择一个专辑名称,可以是播放器中已经扫描到的歌曲对应的任意一首歌曲的专辑名A,并可以添加歌手名B以更精确地查找歌曲;Step 201: The user can select an album name in the player operation interface, which may be the album name A of any song corresponding to the song that has been scanned in the player, and may add the artist name B to find the song more accurately;
步骤202:播放器可以通过这个专辑名A和歌手名B在播放器中来搜索同一专辑的全部歌曲;Step 202: The player can search all the songs of the same album in the player through the album name A and the artist name B;
步骤203:检索此专辑名为A的专辑下所有歌曲ID3信息,在各ID3信息获取各首歌曲的曲目编号,即音轨号;Step 203: Retrieve all the song ID3 information under the album named A by the album, and obtain the track number of each song, that is, the track number, in each ID3 information;
步骤204:根据现有歌曲所有的音轨,可以发现缺失的音轨号;如发现该专辑中的某几首 歌曲在播放器本地存储中没有保存,也可以通过网络自动下载同一专辑中的其他歌曲,补齐专辑中的全部歌曲;Step 204: According to all the tracks of the existing song, the missing track number can be found; if some of the albums are found The songs are not saved in the player's local storage, and other songs in the same album can be automatically downloaded over the network to complete all the songs in the album;
步骤205:将同一专辑的所有歌曲自动添加到播放列表中,并按照ID3信息中的曲目编号(音轨号)由小到大排序;Step 205: Automatically add all the songs of the same album to the playlist, and sort according to the track number (track number) in the ID3 information from small to large;
步骤205:用户可以选择将这个播放列表中的所有歌曲按曲目编号顺序拼接成一个音乐文件,使其在之后的使用播放时不必在播放播放列表。Step 205: The user may choose to splicing all the songs in the playlist into a music file in the order of the track number, so that the playlist does not have to be played during the subsequent use play.
本发明实施例提供的播放列表排序装置,如图3所示,所述装置包括:获取模块31、确定模块32和排序模块33;其中,The playlist sorting apparatus provided by the embodiment of the present invention, as shown in FIG. 3, the apparatus includes: an obtaining module 31, a determining module 32, and a sorting module 33;
所述获取模块31,设置为分别获取各媒体文件的ID3信息;The obtaining module 31 is configured to separately obtain ID3 information of each media file;
所述媒体文件包括:MP3格式的音频文件等媒体文件;所述ID3是一种媒体文件的附加信息标签,是一种元数据容器,通常ID3位于MP3格式音频文件等媒体文件的末尾,ID3存储了媒体文件中歌曲的曲名、演唱者、专辑名、音轨数、发行时间等信息。通常,一个媒体文件可以包含一首歌曲或一首音乐等内容,各媒体文件被存储在电脑、终端等播放设备中,并由软件播放器进行播放;这里,可以获取各媒体文件的ID3信息。The media file includes: a media file such as an audio file in an MP3 format; the ID3 is an additional information tag of the media file, and is a metadata container. Usually, the ID3 is located at the end of the media file such as an MP3 format audio file, and the ID3 is stored. The song name, singer, album name, number of tracks, release time, etc. of the song in the media file. Generally, a media file may include a song or a piece of music, etc., and each media file is stored in a playback device such as a computer or a terminal, and played by a software player; here, ID3 information of each media file may be acquired.
所述确定模块32,设置为确定各ID3信息中第一信息相同的各媒体文件;The determining module 32 is configured to determine each media file whose first information is the same in each ID3 information;
本发明实施例提供的播放列表排序方法,可以根据媒体文件中歌曲所属的专辑名来归类,所述第一信息可以是ID3信息中的专辑名。这里,可以确定所有所述第一信息相同的媒体文件;从而,确定播放设备中属于同一专辑的所有歌曲。The playlist sorting method provided by the embodiment of the present invention may be classified according to the album name to which the song belongs in the media file, and the first information may be the album name in the ID3 information. Here, all of the media files having the same first information can be determined; thus, all songs belonging to the same album in the playback device are determined.
进一步的,为了精确查找具有相同的第一信息的媒体文件,可以增加收索条件,确定各ID3信息中第一信息相同的同时,再确定ID3信息中还包含1个以上的相同预设指定信息的各媒体文件;为避免专辑同名等情况,可以在第一信息相同的媒体文件中,同时确定ID3信息中其他预设指定信息也相同的媒体文件;如采用ID3信息中专辑名和演唱者两个主题名同时搜索,只确定专辑名和演唱者名都符合要求的媒体文件;还可以增加ID3信息中的发行时间等信息进行更精确的搜索。其中,所述预设指定信息可以是1个以上。Further, in order to accurately find the media file having the same first information, the collection condition may be increased, and the first information in each ID3 information is determined to be the same, and then the ID3 information is further included to include more than one same preset designation information. For each media file; in order to avoid the same name of the album, etc., in the same media file of the first information, the other media files with the same preset information in the ID3 information may be determined at the same time; for example, the album name and the singer in the ID3 information are used. The topic name is searched at the same time, and only the media files whose album name and singer name meet the requirements are determined; the information such as the issue time in the ID3 information can also be added for more accurate search. The preset designation information may be one or more.
更进一步的,所述装置还包括检索模块34,设置为根据指定的第一信息,获取所有存储在播放设备本地存储空间的具有相同所述指定第一信息的各媒体文件。Further, the apparatus further includes a retrieval module 34 configured to acquire, according to the specified first information, all media files having the same specified first information stored in a local storage space of the playback device.
所述排序模块33,设置为根据所述第一信息相同的各媒体文件对应的各ID3信息中的第二信息,对所述第一信息相同的各媒体文件进行排序;The sorting module 33 is configured to sort the media files with the same first information according to the second information in each ID3 information corresponding to each media file with the same first information;
通常,CD上的各首歌曲位于不同的音轨上,播放CD歌曲时按照音轨的顺序播放,音轨的顺序同时也是歌曲专辑制作时制作人对歌曲的排序;在CD转制到MP3格式音频文件等媒体文件的时候,音轨序号同时被加到了ID3信息中;Usually, the songs on the CD are located on different tracks, and the CD songs are played in the order of the tracks. The order of the tracks is also the sorting of the songs by the producer during the song album production; the CD is converted to the MP3 format audio. When a file such as a file is used, the track number is added to the ID3 information at the same time;
这里,所述第二信息可以是ID3信息中的音轨信息;可以将所述第一信息相同的媒体文件根据所述第二信息排序,也就是将所述属于同一专辑的歌曲,根据ID3信息中的音轨信息 排序;从而完成对属于同一专辑的各媒体文件按照专辑制作时候的顺序排序。Here, the second information may be track information in the ID3 information; the media files having the same first information may be sorted according to the second information, that is, the songs belonging to the same album, according to ID3 information Track information in Sorting; thus completing the sorting of the media files belonging to the same album in the order in which they were produced.
进一步的,可以将排好序的各媒体文件整合成一个文件,用户选择了所述整合的文件就相当于选择了整张专辑,方便用户的使用。这里,可以采用MP3文件拼接软件对排好序的MP3格式音频文件进行整合。Further, the media files arranged in order can be integrated into one file, and the user selects the integrated file to select the entire album, which is convenient for the user to use. Here, the MP3 file splicing software can be used to integrate the ordered MP3 format audio files.
更进一步的,所述检索模块34,还设置为根据所述第一信息相同的各媒体文件的对应的第二信息,确定当前缺失的具有相同第一信息的媒体文件;下载所述当前缺失的具有相同第一信息的媒体文件;并主动下载或提示用户下载所述当前缺失的具有相同第一信息的媒体文件;Further, the retrieving module 34 is further configured to: determine, according to the corresponding second information of the media files that are the same as the first information, a currently missing media file having the same first information; download the currently missing a media file having the same first information; and actively downloading or prompting the user to download the currently missing media file having the same first information;
具体的,确定所有属于同一专辑的媒体文件后,可以根据音轨信息确定缺失的媒体文件;如:确定所有属于同一专辑的各媒体文件,并确定了各媒体文件的音轨信息1、2、3、4、5、7、8、9,这里,可以看出缺少了音轨6的媒体文件;这里,可以从外部网络直接下载缺少的媒体文件,或提示用户下缺少的媒体文件;在获取了专辑中所有的媒体文件后进行排序。Specifically, after determining all the media files belonging to the same album, the missing media files may be determined according to the audio track information; for example, determining all the media files belonging to the same album, and determining the audio track information of each media file. 3, 4, 5, 7, 8, 9 Here, it can be seen that the media file lacking the audio track 6; here, the missing media file can be directly downloaded from the external network, or the user is prompted to the missing media file; Sort all the media files in the album.
本发明实施例提供的播放列表排序装置,除了可以根据媒体文件中歌曲所属的专辑名来归类,并采用音轨信息来排序;还可以根据ID3信息中的创作者、演绎者等主题作为第一信息来归类,并可以采用创作日期、发行日期等作为第二信息来排序。The playlist sorting apparatus provided by the embodiment of the present invention may be classified according to the album name to which the song belongs in the media file, and sorted by using the track information; and may also be based on the theme of the creator, the performer, and the like in the ID3 information. A message is categorized and can be sorted by using the creation date, the issue date, and the like as the second information.
在实际应用中,所述获取模块31、确定模块32、排序模块33和检索模块34均可以由媒体播放设备的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)等组合实现。In an actual application, the obtaining module 31, the determining module 32, the sorting module 33, and the retrieving module 34 may each be a central processing unit (CPU), a microprocessor (MPU), and a digital signal processor (DSP) of the media playing device. Or a combination of field programmable gate arrays (FPGAs).
以上所述,仅为本发明的最佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included. Within the scope of protection of the present invention.
工业实用性Industrial applicability
本发明实施例提供的上述技术方案,可以应用于播放列表排序过程中,通过分别获取各媒体文件的ID3信息;确定各ID3信息中第一信息相同的各媒体文件;根据所述第一信息相同的各媒体文件对应的各ID3信息中的第二信息,对所述第一信息相同的各媒体文件进行排序;所述第一信息包括:专辑名,所述第二信息包括:音轨序号;如此,将各媒体文件用户需求归类并排序,创建播放列表并播放,提升用户使用体验。 The foregoing technical solution provided by the embodiment of the present invention may be applied to the playlist sorting process by separately obtaining ID3 information of each media file, and determining each media file having the same first information in each ID3 information; The second information in each ID3 information corresponding to each media file is sorted for each media file having the same first information; the first information includes: an album name, and the second information includes: a track number; In this way, the user requirements of each media file are sorted and sorted, a playlist is created and played, and the user experience is improved.

Claims (10)

  1. 一种播放列表排序方法,所述方法包括:A playlist sorting method, the method comprising:
    分别获取各媒体文件的附加信息标签ID3信息;Obtaining additional information tag ID3 information of each media file separately;
    确定各ID3信息中第一信息相同的各媒体文件;Determining respective media files having the same first information in each ID3 information;
    根据所述第一信息相同的各媒体文件对应的各ID3信息中的第二信息,对所述第一信息相同的各媒体文件进行排序。And sorting, according to the second information in each ID3 information corresponding to each media file having the same first information, the media files having the same first information.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    根据所述第一信息,在本地存储器内检索所有第一信息相同的媒体文件。Based on the first information, all media files having the same first information are retrieved in the local storage.
  3. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    根据所述第一信息相同的各媒体文件的对应的第二信息,确定当前缺失的具有相同第一信息的媒体文件。And determining, according to the corresponding second information of the media files that are the same as the first information, the currently missing media file having the same first information.
  4. 根据权利要求1所述的方法,其中,所述方法还包括:将排序后的各媒体文件拼接成一个媒体文件。The method of claim 1 wherein the method further comprises splicing the sorted media files into a media file.
  5. 根据权利要求1至4任一项所述的方法,其中,所述确定各ID3信息中第一信息相同的各媒体文件,包括:所述确定各ID3信息中第一信息相同,且ID3信息中还包含1个以上的相同预设指定信息的各媒体文件。The method according to any one of claims 1 to 4, wherein the determining the respective media files having the same first information in each ID3 information comprises: determining that the first information in each ID3 information is the same, and the ID3 information is It also contains more than one media file of the same preset designation information.
  6. 根据权利要求1至4任一项所述的方法,其中,所述对所述第一信息相同的各媒体文件进行排序,包括:The method according to any one of claims 1 to 4, wherein the sorting the media files having the same first information comprises:
    根据所述第二信息的序列信息,对所述第一信息相同的各媒体文件进行排序。And sorting, according to the sequence information of the second information, the media files having the same first information.
  7. 一种播放列表排序装置,所述装置包括:获取模块、确定模块和排序模块;其中,A playlist sorting apparatus, the apparatus comprising: an obtaining module, a determining module, and a sorting module; wherein
    所述获取模块,设置为分别获取各媒体文件的ID3信息;The obtaining module is configured to separately obtain ID3 information of each media file;
    所述确定模块,设置为确定各ID3信息中第一信息相同的各媒体文件;The determining module is configured to determine each media file whose first information is the same in each ID3 information;
    所述排序模块,设置为根据所述第一信息相同的各媒体文件对应的各ID3信息中的第二信息,对所述第一信息相同的各媒体文件进行排序。The sorting module is configured to sort the media files having the same first information according to the second information in each ID3 information corresponding to each media file having the same first information.
  8. 根据权利要求7所述的装置,其中,所述装置还包括:检索模块;The apparatus of claim 7, wherein the apparatus further comprises: a retrieval module;
    所述检索模块,设置为根据所述第一信息,在本地存储器内检索所有第一信息相同的媒体文件;The retrieval module is configured to retrieve, in the local storage, all media files having the same first information according to the first information;
    所述检索模块,还设置为根据所述第一信息相同的各媒体文件的对应的第二信息,确定当前缺失的具有相同第一信息的媒体文件。The searching module is further configured to determine, according to the corresponding second information of the media files that are the same as the first information, a currently missing media file having the same first information.
  9. 根据权利要求7所述的装置,其中,所述确定模块,还设置为确定各ID3信息中第一信息 相同,且ID3信息中还包含1个以上的相同预设指定信息的各媒体文件。The apparatus according to claim 7, wherein said determining module is further configured to determine first information in each ID3 information The same, and the ID3 information also includes one or more media files of the same preset designation information.
  10. 根据权利要求7至9任一项所述的装置,其中,所述排序模块,具体设置为根据所述第二信息的序列信息,对所述第一信息相同的各媒体文件进行排序;The apparatus according to any one of claims 7 to 9, wherein the sorting module is specifically configured to sort the media files having the same first information according to the sequence information of the second information;
    所述排序模块,还设置为将排序后的各媒体文件拼接成一个媒体文件。 The sorting module is further configured to splicing the sorted media files into one media file.
PCT/CN2016/096263 2016-06-21 2016-08-22 Playlist sorting method and device WO2017219481A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610452490.8A CN107526739A (en) 2016-06-21 2016-06-21 A kind of playlist sort method and device
CN201610452490.8 2016-06-21

Publications (1)

Publication Number Publication Date
WO2017219481A1 true WO2017219481A1 (en) 2017-12-28

Family

ID=60735235

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096263 WO2017219481A1 (en) 2016-06-21 2016-08-22 Playlist sorting method and device

Country Status (2)

Country Link
CN (1) CN107526739A (en)
WO (1) WO2017219481A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035697A (en) * 2020-09-01 2020-12-04 北京字节跳动网络技术有限公司 Information processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070193437A1 (en) * 2006-02-07 2007-08-23 Samsung Electronics Co., Ltd. Apparatus, method, and medium retrieving a highlighted section of audio data using song lyrics
US20080281867A1 (en) * 2005-02-24 2008-11-13 Scott Allan Kendall Creation of Digital Program Playback Lists in a Digital Device Based On Hierarchal Grouping of a Current Digital Program
CN103731721A (en) * 2013-12-20 2014-04-16 乐视网信息技术(北京)股份有限公司 Video playing method and user terminal
CN105335414A (en) * 2014-08-01 2016-02-17 小米科技有限责任公司 Music recommendation method, device and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385892B (en) * 2010-09-02 2016-02-24 索尼爱立信移动通讯有限公司 A kind of media playing apparatus and media processing method
US20140122465A1 (en) * 2012-10-31 2014-05-01 Brandon Bilinski Ranking Music Search Results
CN103049564B (en) * 2012-12-31 2015-08-19 广东欧珀移动通信有限公司 A kind of method of batch setting music album figure front cover

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080281867A1 (en) * 2005-02-24 2008-11-13 Scott Allan Kendall Creation of Digital Program Playback Lists in a Digital Device Based On Hierarchal Grouping of a Current Digital Program
US20070193437A1 (en) * 2006-02-07 2007-08-23 Samsung Electronics Co., Ltd. Apparatus, method, and medium retrieving a highlighted section of audio data using song lyrics
CN103731721A (en) * 2013-12-20 2014-04-16 乐视网信息技术(北京)股份有限公司 Video playing method and user terminal
CN105335414A (en) * 2014-08-01 2016-02-17 小米科技有限责任公司 Music recommendation method, device and terminal

Also Published As

Publication number Publication date
CN107526739A (en) 2017-12-29

Similar Documents

Publication Publication Date Title
US8112592B2 (en) Information processing apparatus and method
US8862781B2 (en) Server device, client device, information processing system, information processing method, and program
CN101256811B (en) Apparatus and method for producing play list
US20090157203A1 (en) Client-side audio signal mixing on low computational power player using beat metadata
WO2007001607A2 (en) Creating standardized playlists and maintaining coherency
US20100023485A1 (en) Method of generating audiovisual content through meta-data analysis
JP2009134862A (en) Method for creating and accessing menu for audio content without using display
CN101128880A (en) Retrieving content items for a playlist based on universal content ID
JP2010003368A (en) Information processing apparatus, information processing method, and information processing program
JP2010518511A (en) Digital media authentication using metadata
JP2008547259A (en) Apparatus and method capable of providing content item through meta-summary data
WO2017219481A1 (en) Playlist sorting method and device
US20120284267A1 (en) Item Randomization with Item Relational Dependencies
WO2011074033A1 (en) Data processing device
KR100608066B1 (en) Method for searching audio data file
JP3883971B2 (en) Audio playback device
EP1437738B1 (en) Method for creating and accessing a menu for audio content without using a display
JP2005208875A (en) Metadata distribution method
WO2011060866A1 (en) Method for setting up a list of audio files
Miller The ultimate digital music guide
KR100655370B1 (en) Method for searching music file in high speed
WO2009130837A1 (en) Content reproduction device and program
JP2004326907A (en) Audio reproducing device
JP2004070495A (en) Data reproducing device, data retrieval method, data reproducing method, and program making computer implement data retrieval method of data reproducing device reproducing content data
KR101552733B1 (en) Apparatus and method for displaying adapted album art in portable terminal

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: 16906021

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: 16906021

Country of ref document: EP

Kind code of ref document: A1