[go: up one dir, main page]

CN1896987B - Listing play generator and generation - Google Patents

Listing play generator and generation Download PDF

Info

Publication number
CN1896987B
CN1896987B CN2005100359848A CN200510035984A CN1896987B CN 1896987 B CN1896987 B CN 1896987B CN 2005100359848 A CN2005100359848 A CN 2005100359848A CN 200510035984 A CN200510035984 A CN 200510035984A CN 1896987 B CN1896987 B CN 1896987B
Authority
CN
China
Prior art keywords
weighted value
audio file
weighted
audio
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2005100359848A
Other languages
Chinese (zh)
Other versions
CN1896987A (en
Inventor
谢冠宏
潘在安
李晓光
李兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2005100359848A priority Critical patent/CN1896987B/en
Priority to US11/309,155 priority patent/US20070078895A1/en
Publication of CN1896987A publication Critical patent/CN1896987A/en
Application granted granted Critical
Publication of CN1896987B publication Critical patent/CN1896987B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

A method for generating play-listing includes generating control signal for forming play-listing by utilizing audio play unit to respond user input, initializing multiple weighted value setting table, and sequencing various audio files according to sizes of weighted value to obtain weighted value and multiple field content of audio file in scope of preset number for calculating out weighted value of each sub item in said table then storing them separately in relevant weighted value setting table, carrying out ergodicity on said setting tables and calculating integration weighted value of each audio file for generating a play-listing according to weighted value of each audio file.

Description

一种播放列表生成装置及方法Device and method for generating a playlist

【技术领域】 【Technical field】

本发明涉及一种媒体列表生成装置及方法。The invention relates to a device and method for generating a media list.

【背景技术】 【Background technique】

随着数字技术的发展,数字音频、数字视频、电子书、电子图片等数字媒体被广泛使用。数字媒体可被存储于硬盘、光盘及网络服务器等。数字媒体亦可被用于便携式设备,例如个人数字助理(PDA,Personal Digital Assistant)、便携式音频播放器及便携式电子书阅读器(e-Book Reader)等。目前,一张光盘(CD,Compact Disk)可存储140首MP3(MPEP layer three)音频文件,而一拥有10G存储空间的硬盘式音频播放器可存储2000首MP3音频文件。存储设备的容量仍在持续增加,例如拥有80G存储空间的个人计算机将能存储16000首音频文件,因此用户组织、分类及维护如此大量的数字媒体将比较困难。进而,能够快速、便捷地识别与选择用户喜好的媒体更为重要。With the development of digital technology, digital media such as digital audio, digital video, e-books, and electronic pictures are widely used. Digital media can be stored on hard disks, CDs, and network servers, etc. Digital media can also be used in portable devices, such as personal digital assistants (PDA, Personal Digital Assistant), portable audio players, and portable e-book readers (e-Book Reader). At present, a compact disk (CD, Compact Disk) can store 140 MP3 (MPEP layer three) audio files, and a hard disk audio player with 10G storage space can store 2000 MP3 audio files. The capacity of storage devices continues to increase. For example, a personal computer with 80G storage space will be able to store 16,000 audio files. Therefore, it will be difficult for users to organize, classify and maintain such a large amount of digital media. Furthermore, it is more important to be able to quickly and conveniently identify and select media that users like.

通常情况下,媒体播放器根据数字媒体标签中的字段内容进行分类,并建立一列表。例如,对音频文件的分类标准通常包括音频文件名称、艺术家姓名、专辑名称及流派,该流派可为流行、古典、摇滚、爵士等。根据音频文件管理程序,个人计算机使得用户可以建立和编辑播放列表,该播放列表可以被下载到音频播放器中。该音频播放器亦可根据上述分类进行浏览与选择音频文件。然而用户需要播放一音频文件时,仍需要记住该音频文件所在类别及路径。而当音频文件的类别较多并且又有子类别时,选择一想要播放的音频文件仍比较繁琐。而按照类别进行播放时,碰到不喜欢的音频文件时将需要较多手动跳过的操作。Usually, the media player classifies according to the field content in the digital media tag, and builds a list. For example, the classification standard for audio files usually includes audio file name, artist name, album name and genre, and the genre can be pop, classical, rock, jazz and so on. According to the audio file management program, the personal computer enables the user to create and edit playlists, which can be downloaded to the audio player. The audio player can also browse and select audio files according to the above categories. However, when the user needs to play an audio file, he still needs to remember the category and path of the audio file. And when there are many categories of audio files and subcategories, it is still relatively complicated to choose an audio file that wants to play. When playing according to the category, more manual skipping operations will be required when encountering an audio file that you don't like.

用户还可以挑选当前喜好的音频文件并合并到移播放列表中,而当需要修改或更新该播放列表时,用户仍需要手动进行。如美国专利与商标局于2003年12月4日公开的US2003/0221541号专利申请文件,其揭露了一种自动生成播放列表的方法。该方法使得用户首先选择多个种子音频文件,该音频文件包括用户渴望音频文件及非渴望音频文件,用户还可以给音频文件设定加权值以确定各音频文件的相对重要性。然后将每一首音频文件与该多个种子音频文件进行比较,分析并识别与渴望音频文件相似并且与非渴望音频文件不相似的音频文件,从而确定用户渴望的音频文件并建立一播放列表。The user can also select the audio files of the current preference and merge them into the mobile playlist, but when the playlist needs to be modified or updated, the user still needs to manually carry out. For example, the patent application document US2003/0221541 published by the United States Patent and Trademark Office on December 4, 2003 discloses a method for automatically generating a playlist. The method enables the user to first select a plurality of seed audio files, the audio files include the user's desired audio files and non-desired audio files, and the user can also set weighted values for the audio files to determine the relative importance of each audio file. Each audio file is then compared with the plurality of seed audio files, and audio files that are similar to desired audio files and dissimilar to non-desired audio files are analyzed and identified, thereby determining audio files desired by the user and creating a playlist.

上述申请文件揭露的方法是手动选择多个种子音频文件,并根据该多个种子音频文件作为参照音频文件,选择与该渴望音频文件相似并且与非渴望音频文件不相似的音频文件,从而生成一播放列表。该方法存在下列不足的处:首先需要人工选择种子音频文件,随着生活节奏加快,人们往往要求一些电子装置的使用简单快捷;再者由于音频播放器存储的音频文件数量众多,音频文件的存储路径复杂多变,这不仅需要花很长时间选择种子音频文件;另外,该方法未能根据历史播放记录自动获得用户喜好的音频文件,使得所挑选出的音频文件并未能充分反映用户的喜好。The method disclosed in the above application documents is to manually select a plurality of seed audio files, and according to the plurality of seed audio files as a reference audio file, select an audio file similar to the desired audio file and not similar to the non-desired audio file, thereby generating a playlist. There are following deficiencies in this method: at first the seed audio file needs to be manually selected, and as the pace of life accelerates, people often require that the use of some electronic devices is simple and quick; The path is complex and changeable, which not only takes a long time to select the seed audio file; in addition, this method fails to automatically obtain the audio file preferred by the user based on the historical playback records, so that the selected audio file does not fully reflect the user's preference .

【发明内容】 【Content of invention】

针对上述申请文件所存在的不足,本发明中一音频播放装置根据用户在音频文件播放过程中的操作自动生成各音频文件的加权值,获取预设数目音频文件的加权值及其标签内多个字段内容,并藉此生成多个加权值设定表中各子项的加权值;遍历该多个加权值设定表,生成各音频文件的综合加权值;根据各音频文件的综合加权值自动选择多个音频文件生成一播放列表。使得该播放列表中的音频文件更符合用户实际的喜好。In view of the deficiencies in the above-mentioned application documents, an audio playback device in the present invention automatically generates the weighted values of each audio file according to the user's operation in the audio file playback process, and obtains the weighted values of the preset number of audio files and multiple audio files in their labels. Field content, and thereby generate the weighted value of each sub-item in multiple weighted value setting tables; traverse the multiple weighted value setting tables to generate the comprehensive weighted value of each audio file; automatically according to the comprehensive weighted value of each audio file Select multiple audio files to generate a playlist. This makes the audio files in the playlist more in line with the user's actual preference.

本发明提供了一种播放列表生成方法,响应用户的输入,产生一生成播放列表的控制信号。响应该控制信号,初始化多个加权值设定表,该多个加权值设定表分别记录音频文件的字段内容与加权值的对应关系。根据加权值大小对各音频文件进行排序。依次获取预设数目的音频文件的加权值及多个字段内容。藉此计算该多个加权值设定表中各子项的加权值,并分别存储于相应的加权值设定表中。遍历该多个加权值设定表,计算各音频文件的综合加权值。根据各音频文件的加权值生成一播放列表。The invention provides a method for generating a playlist, which generates a control signal for generating a playlist in response to user input. In response to the control signal, multiple weight value setting tables are initialized, and the multiple weight value setting tables respectively record the corresponding relationship between the field content of the audio file and the weight value. Sort each audio file according to the size of the weighted value. The weighted values and the contents of a plurality of fields of a preset number of audio files are sequentially obtained. In this way, the weighted values of each sub-item in the multiple weighted value setting tables are calculated and stored in corresponding weighted value setting tables. The multiple weighted value setting tables are traversed to calculate the comprehensive weighted value of each audio file. A playlist is generated according to the weighted value of each audio file.

本发明还提供了一种播放列表生成装置,包括一存储器、一输入单元、一控制单元及一音频文件管理单元。该存储器,存储多个音频文件及多个加权值设定表,该多个加权值设定表分别记录每一音频文件的字段内容与加权值的对应关系。该输入单元,响应用户的输入,产生并发送一生成播放列表的控制信号。该音频文件管理单元,在该控制单元的控制下接收该控制信号,初始化该多个加权值设定表;根据加权值大小对各音频文件进行排序;依次获取预设数目的音频文件的加权值及多个字段内容;藉此计算该多个加权值设定表中各子项的加权值;遍历该多个加权值设定表,计算各音频文件的综合加权值;根据各音频文件的加权值生成一播放列表。The present invention also provides a play list generating device, which includes a memory, an input unit, a control unit and an audio file management unit. The memory stores a plurality of audio files and a plurality of weight value setting tables, and the plurality of weight value setting tables respectively record the corresponding relationship between the field content of each audio file and the weight value. The input unit generates and sends a control signal for generating a play list in response to user input. The audio file management unit receives the control signal under the control of the control unit, initializes the plurality of weighted value setting tables; sorts each audio file according to the size of the weighted value; obtains the weighted value of a preset number of audio files in sequence and a plurality of field contents; thereby calculating the weighted value of each sub-item in the plurality of weighted value setting tables; traversing the multiple weighted value setting tables to calculate the comprehensive weighted value of each audio file; according to the weighted value of each audio file The value generates a playlist.

本发明根据用户的喜好自动生成各音频文件的加权值,然后根据多个音频文件的加权值生成一播放列表,使得该播放列表中音频文件更符合用户的喜好。下面将结合附图对本发明的实施方式进行说明。The invention automatically generates the weighted value of each audio file according to the user's preference, and then generates a playlist according to the weighted values of multiple audio files, so that the audio files in the playlist are more in line with the user's preference. Embodiments of the present invention will be described below in conjunction with the accompanying drawings.

【附图说明】 【Description of drawings】

图1是本发明的一音频播放装置的模块图。FIG. 1 is a block diagram of an audio playback device of the present invention.

图2是本发明的音频播放装置的音频文件管理单元的模块图。Fig. 2 is a block diagram of the audio file management unit of the audio playback device of the present invention.

图3是本发明的生成一播放列表的主流程图。Fig. 3 is the main flow chart of generating a playlist in the present invention.

图4是本发明的生成加权值设定表各子项的加权值的流程图。Fig. 4 is a flow chart of generating the weighted value of each sub-item of the weighted value setting table according to the present invention.

图5是本发明的调整各音频文件的加权值的流程图。Fig. 5 is a flow chart of adjusting the weighting value of each audio file in the present invention.

图6是本发明的生成各音频文件的加权值的流程图。Fig. 6 is a flowchart of generating weighted values of each audio file in the present invention.

图7是本发明的音量调节幅度与加权值的对应关系表。FIG. 7 is a table of correspondence between volume adjustment ranges and weighted values in the present invention.

图8至图10是本发明的多个加权值设定表的示意图。8 to 10 are schematic diagrams of a plurality of weighted value setting tables of the present invention.

【具体实施方式】 【Detailed ways】

如图1所示是本发明的音频播放装置10的模块图。该音频播放装置10包括一存储器11、一输入单元12、一控制单元13、一音频文件管理单元14、一解码器15、一数/模转换器16及一音频输出单元17。该存储器11存储多个音频文件及多个加权值设定表;每一音频文件的标签中设置一加权值字段,记录该音频文件的综合加权值;该多个加权值设定表分别记录音频文件的一字段内容与加权值的对应关系,该字段内容包括演唱者、流派及节奏等。该输入单元12响应用户的输入,产生并发送相应的控制信号。该控制单元13识别该输入单元12发送的控制信号,响应该控制信号以控制该存储器11及该音频文件管理单元14。该音频文件管理单元14在该控制单元13的控制下,获取预设数目的音频文件的加权值及多个字段内容;藉此计算该多个加权值设定表中各子项的加权值;遍历该多个加权值设定表,计算每一音频文件的综合加权值;根据各音频文件的综合加权值生成一播放列表。该解码器15用于解码一音频文件。该数/模转换器16用于将该音频文件的数字信号转换为模拟信号。该音频输出单元17使得用户可以将该音频播放装置10连接一音响系统或耳机,将该模拟信号放大并提供给该音响系统或耳机进行播放。As shown in FIG. 1 is a block diagram of an audio playback device 10 of the present invention. The audio playback device 10 includes a memory 11 , an input unit 12 , a control unit 13 , an audio file management unit 14 , a decoder 15 , a D/A converter 16 and an audio output unit 17 . This memory 11 stores a plurality of audio files and a plurality of weighted value setting tables; a weighted value field is set in the label of each audio file, and records the comprehensive weighted value of the audio file; the multiple weighted value setting tables record audio frequency respectively The corresponding relationship between the content of a field of the file and the weighted value, the content of this field includes singer, genre and rhythm, etc. The input unit 12 generates and sends corresponding control signals in response to user input. The control unit 13 recognizes the control signal sent by the input unit 12 , and controls the memory 11 and the audio file management unit 14 in response to the control signal. The audio file management unit 14, under the control of the control unit 13, obtains the weighted value and a plurality of field contents of a preset number of audio files; thereby calculates the weighted value of each sub-item in the plurality of weighted value setting tables; Traverse the multiple weighted value setting tables, calculate the comprehensive weighted value of each audio file; generate a play list according to the comprehensive weighted value of each audio file. The decoder 15 is used to decode an audio file. The D/A converter 16 is used to convert the digital signal of the audio file into an analog signal. The audio output unit 17 enables the user to connect the audio playing device 10 to a sound system or earphones, amplify the analog signal and provide it to the sound system or earphones for playback.

如图2所示是本发明的音频播放装置10的音频文件管理单元的模块图。该音频文件管理单元14包括一加权值生成模块140、一排序模块141、一加权值设定表更新模块142、一加权值调整模块143及一播放列表生成模块144。该加权值生成模块140,根据用户对一音频文件的操作自动生成该音频文件的加权值;例如在本实施方式中,该加权值生成模块140根据用户对一音频文件在播放过程中音量的调节,生成该音频文件的加权值。该排序模块141,根据加权值大小对各音频文件进行排序。该加权值设定表更新模块142,依次获取预设数目的音频文件的加权值及多个字段内容,例如可按照音频文件的加权值大小顺序获取;并藉此计算该多个加权值设定表中各子项的加权值。该加权值调整模块143,遍历该多个加权值设定表,计算该音频播放装置10中各音频文件的综合加权值。该播放列表生成模块144,根据各音频文件的综合加权值生成一播放列表。FIG. 2 is a block diagram of the audio file management unit of the audio playback device 10 of the present invention. The audio file management unit 14 includes a weight generating module 140 , a sorting module 141 , a weight setting table updating module 142 , a weight adjusting module 143 and a playlist generating module 144 . The weighted value generation module 140 automatically generates the weighted value of the audio file according to the user's operation on the audio file; , to generate weighted values for the audio file. The sorting module 141 sorts the audio files according to the weighted value. The weighted value setting table update module 142 sequentially obtains the weighted values and multiple field contents of a preset number of audio files, for example, can be obtained in order of the weighted values of the audio files; and thereby calculates the multiple weighted value settings The weighted value of each subitem in the table. The weight adjustment module 143 traverses the plurality of weight setting tables to calculate the comprehensive weight of each audio file in the audio playback device 10 . The playlist generation module 144 generates a playlist according to the comprehensive weighted value of each audio file.

如图3所示是本发明的生成一播放列表的主流程图。该输入单元12响应用户的输入,产生并发送一生成播放列表的控制信号(步骤S20)。请一并参照图8至图10,响应该控制信号,初始化该多个加权值设定表,将该多个加权值设定表中各子项对应的加权值初始化为零(步骤S21)。然后根据加权值大小对各音频文件进行排序(步骤S22)。依次获取预设数目P的音频文件的加权值及多个字段内容(步骤S23)。根据该获取的音频文件的加权值及多个字段内容,计算该多个加权值设定表中各子项的加权值,该字段内容包括演唱者、流派及节奏等(步骤S24)。将各子项的加权值存储于相应的加权值设定表中(步骤S25)。遍历该多个加权值设定表,计算各音频文件的综合加权值(步骤S26)。根据各音频文件的综合加权值选择音频文件,生成一播放列表;该生成一播放列表的方法可为:选取加权值较大的特定数目的音频文件生成一播放列表;或调用一随机函数选择音频文件生成一播放列表,此时音频文件的加权值将作为该随机函数中一参数(步骤S27)。该播放列表允许用户进行手动编辑。As shown in FIG. 3 is the main flow chart of the present invention for generating a playlist. The input unit 12 generates and sends a control signal for generating a playlist in response to the user's input (step S20). Please refer to FIG. 8 to FIG. 10 together. In response to the control signal, initialize the multiple weight value setting tables, and initialize the weight values corresponding to each sub-item in the multiple weight value setting tables to zero (step S21 ). Then sort the audio files according to the size of the weighted value (step S22). The weighted values and the contents of a plurality of fields of the preset number P of audio files are sequentially acquired (step S23). Calculate the weighted value of each sub-item in the multiple weighted value setting table according to the weighted value of the obtained audio file and a plurality of field contents, the field contents include singer, genre and rhythm, etc. (step S24). Store the weighted value of each sub-item in the corresponding weighted value setting table (step S25). The multiple weighted value setting tables are traversed to calculate the comprehensive weighted value of each audio file (step S26). Select audio files according to the comprehensive weighted value of each audio file to generate a playlist; the method for generating a playlist can be: select a specific number of audio files with a larger weighted value to generate a playlist; or call a random function to select audio A playlist is generated from the file, and the weighted value of the audio file will be used as a parameter in the random function (step S27). The playlist allows manual editing by the user.

如图4所示是本发明的生成该多个加权值设定表各子项的加权值的流程图。首先该音频文件管理单元14获取一音频文件的加权值(步骤S30)。判断该音频文件的加权值是否大于一默认值K(步骤S31)。如果该音频文件的加权值不大于一默认值K,流程结束,此时该多个加权值设定表中各子项的加权值为最终值;如果该音频文件的加权值大于一默认值K,则累加一次获取的音频文件的数目N(步骤S32)。然后获取该音频文件的一字段内容(步骤S33)。查找与该字段内容对应的加权值设定表(步骤S34)。将该音频文件的加权值累加到与该字段内容相同的子项的加权值上(步骤S35)。判断该音频文件是否还有未被获取的字段内容(步骤S36)。如果该音频文件还有未被获取的字段内容,流程返回到步骤S33;如果该音频文件的字段内容全部被获取,则判断获取的音频文件的数目N是否小于一预设数目P(步骤S37)。如果该获取的音频文件的数目N小于一预设数目P,流程返回步骤S30;如果该获取的音频文件的数目N不小于一预设数目P,则流程结束。流程结束后,此时各加权值设定表中各子项对应的加权值即为最终值。当然,在获取音频文件的加权值及多个字段内容时,也可以不用判断其加权值是否大于一默认值K,即只需依次获得预设数目P的音频文件的加权值及多个字段即可。FIG. 4 is a flow chart of the present invention for generating the weighted values of each sub-item of the multiple weighted value setting tables. First, the audio file management unit 14 obtains the weighted value of an audio file (step S30). It is judged whether the weighting value of the audio file is greater than a default value K (step S31). If the weighted value of the audio file is not greater than a default value K, the process ends, and now the weighted value of each sub-item in the multiple weighted value setting tables is the final value; if the weighted value of the audio file is greater than a default value K , then add up the number N of audio files acquired once (step S32). Then obtain a field content of the audio file (step S33). Find the weighted value setting table corresponding to the content of the field (step S34). The weighted value of the audio file is added to the weighted value of the sub-item with the same content as the field (step S35). Judging whether the audio file still has unacquired field content (step S36). If this audio file also has the field content that is not obtained, flow process returns to step S33; If the field content of this audio file is all obtained, then judge whether the number N of the audio file that obtains is less than a preset number P (step S37) . If the number N of the acquired audio files is less than a preset number P, the process returns to step S30; if the number N of the acquired audio files is not less than a preset number P, the process ends. After the process ends, the weighted value corresponding to each sub-item in each weighted value setting table is the final value. Certainly, when obtaining the weighted value of the audio file and the contents of multiple fields, it is not necessary to judge whether the weighted value is greater than a default value K, that is, it is only necessary to obtain the weighted value and the multiple fields of the audio files of the preset number P in sequence. Can.

如图5所示是本发明的调整各音频文件的加权值的流程图。首先读取该音频播放装置10中一音频文件(步骤S40)。获得该音频文件的多个字段内容,该字段内容包括演唱者、流派及节奏等(步骤S41)。请一并参考图8至图10,遍历该多个加权值设定表,获得与该音频文件每一字段内容对应的子项的加权值(步骤S42)。根据与该音频文件每一字段内容对应的子项的加权值,采用一种运算法则计算该音频文件的综合加权值;例如可将每一字段内容对应的加权值加总,计算出该音频文件的综合加权值;也可将每一字段内容对应的加权值先乘以一权重百分比然后再加总,计算出该音频文件的综合加权值,其中权重百分比的大小表示每一字段内容的重要性,各权重百分比的和为1(步骤S43)。判断所有音频文件的综合加权值是否计算完毕(步骤S44)。如果尚有音频文件的综合加权值没有被计算,则流程返回步骤S40;如果所有音频文件的综合加权值计算完毕,则流程结束。As shown in FIG. 5 , it is a flow chart of adjusting the weighted value of each audio file in the present invention. First read an audio file in the audio playback device 10 (step S40). A plurality of field contents of the audio file are obtained, and the field contents include singer, genre, rhythm, etc. (step S41). Please refer to FIG. 8 to FIG. 10 together, traverse the multiple weight value setting tables, and obtain the weight value of the sub-item corresponding to each field content of the audio file (step S42). According to the weighted value of the sub-item corresponding to each field content of the audio file, an algorithm is used to calculate the comprehensive weighted value of the audio file; for example, the weighted value corresponding to each field content can be summed to calculate the audio file The comprehensive weighted value of the audio file; the weighted value corresponding to each field content can also be multiplied by a weight percentage first and then summed up to calculate the comprehensive weighted value of the audio file, where the weight percentage represents the importance of each field content , the sum of each weight percentage is 1 (step S43). It is judged whether the comprehensive weighted values of all audio files have been calculated (step S44). If the comprehensive weighted values of audio files have not been calculated, the process returns to step S40; if the comprehensive weighted values of all audio files have been calculated, the process ends.

如图6所示是本发明的生成该音频播放装置10中各音频文件的加权值的流程图。例如在本实施方式中,该音频播放装置10根据一音频文件在播放过程中用户对音量的调节生成该音频文件的加权值。该输入单元12响应用户的输入,产生并发送一播放音频文件的控制信号(步骤S50)。响应该控制信号,播放一音频文件(步骤S51)。获取该音频文件播放完毕时的音量,并将该音量作为一标准音量,该标准音量为通常情况下用户收听音乐时的最舒适音量(步骤S52)。读取并解码下一首音频文件(步骤S53)。输出该音频文件(步骤S54)。该控制单元13实时地侦测一调节音量的控制信号(步骤S55)。如果该控制单元13未侦测到一调节音量的控制信号,流程返回步骤S54;如果该控制单元13侦测到一调节该音频文件的控制信号,该音频文件管理单元14获取被调节后的音量(步骤S56)。将该被调节后的音量减去该标准音量,计算出音量调节幅度(步骤S57)。请一并参考图7,读取音量调节幅度与加权值的对应关系表,获得该音量调节幅度对应的加权值(步骤S58)。该音频文件管理单元14判断该加权值是否等于该音频文件的原有加权值(步骤S59)。如果该加权值等于该音频文件的原有加权值,流程跳到步骤S61;如果该加权值不等于该音频文件的原有加权值,更新该音频文件的加权值(步骤S60)。该音频文件管理单元14判断该音频文件是否播放完毕(步骤S61)。如果该音频文件播放完毕,流程返回步骤S53;如果该音频文件尚未播放完毕,流程返回步骤S54。在播放过程中,如果该音频播放装置10接收到该输入单元12发送的暂停或停止信号,则暂停或停止播放音频文件。FIG. 6 is a flow chart of the present invention for generating weighted values of each audio file in the audio playback device 10 . For example, in this embodiment, the audio playback device 10 generates the weighted value of an audio file according to the user's adjustment of the volume during playback of the audio file. The input unit 12 generates and sends a control signal for playing an audio file in response to the user's input (step S50). In response to the control signal, an audio file is played (step S51). Acquire the volume when the audio file is finished playing, and use the volume as a standard volume, which is the most comfortable volume for the user to listen to music under normal circumstances (step S52). Read and decode the next audio file (step S53). The audio file is output (step S54). The control unit 13 detects a control signal for adjusting volume in real time (step S55). If the control unit 13 does not detect a control signal for adjusting the volume, the flow returns to step S54; if the control unit 13 detects a control signal for adjusting the audio file, the audio file management unit 14 obtains the adjusted volume (step S56). The adjusted volume is subtracted from the standard volume to calculate the volume adjustment range (step S57). Please also refer to FIG. 7 , read the corresponding relationship table between the volume adjustment range and the weighted value, and obtain the weighted value corresponding to the volume adjustment range (step S58 ). The audio file management unit 14 judges whether the weighted value is equal to the original weighted value of the audio file (step S59). If the weighted value is equal to the original weighted value of the audio file, the process jumps to step S61; if the weighted value is not equal to the original weighted value of the audio file, update the weighted value of the audio file (step S60). The audio file management unit 14 judges whether the audio file has been played (step S61). If the audio file is played completely, the flow returns to step S53; if the audio file has not been played completely, the flow returns to step S54. During playing, if the audio playing device 10 receives a pause or stop signal sent by the input unit 12, it will pause or stop playing the audio file.

如图7所示是本发明的音量调节幅度与加权值的对应关系表。该关系图记录了音量调节幅度与加权值的对应关系,例如一音量调节幅度为7至9之间时,则其对应的加权值为3。该加权值的大小代表用户对该音频文件的喜好程度。在通常状况下,用户在收听一喜好音频文件时,会将音量调大;而用户在收听一般音频文件时,会保持原有音量或将音量调小。As shown in FIG. 7 is a table of the correspondence relationship between the volume adjustment range and the weighted value in the present invention. The relationship diagram records the corresponding relationship between the volume adjustment range and the weighted value, for example, when the volume adjustment range is between 7 and 9, the corresponding weighted value is 3. The size of the weighted value represents the user's preference for the audio file. Under normal circumstances, the user will turn up the volume when listening to a favorite audio file; while the user will keep the original volume or turn down the volume when listening to a common audio file.

如图8至图10所示是本发明的多个加权值设定表的示意图。该多个加权值设定表分别记录音频文件的演唱者、流派及节奏的子项与加权值的对应关系。演唱者的子项包括多个演唱者姓名;演唱者的子项也可包括多个演唱者的索引号,每一索引号对应一演唱者姓名。流派的子项包括摇滚、流行、爵士等。节奏的子项包括急促、适中、舒缓等。FIG. 8 to FIG. 10 are schematic diagrams of a plurality of weighted value setting tables of the present invention. The plurality of weighted value setting tables respectively record the corresponding relationship between the subitems of the singer, genre and rhythm of the audio file and the weighted values. The singer's sub-item includes multiple singer's names; the singer's sub-item may also include multiple singer's index numbers, and each index number corresponds to a singer's name. Subitems for genre include rock, pop, jazz, and so on. The sub-items of rhythm include rapid, moderate, soothing and so on.

Claims (15)

1.一种播放列表生成方法,其特征在于,包括步骤:1. A method for generating a playlist, characterized in that, comprising steps: 响应用户的输入,产生一生成播放列表的控制信号;Responding to user input, generating a control signal for generating a playlist; 响应该控制信号,初始化多个加权值设定表,该多个加权值设定表分别记录音频文件的字段内容与加权值的对应关系;In response to the control signal, multiple weighted value setting tables are initialized, and the multiple weighted value setting tables respectively record the corresponding relationship between the field content of the audio file and the weighted value; 获取多个音频文件的加权值及多个字段内容;Obtain weighted values and multiple field contents of multiple audio files; 藉此计算该多个加权值设定表中各个字段内容对应的各子项的加权值,并分别存储于相应的加权值设定表中;Thereby calculating the weighted value of each sub-item corresponding to each field content in the plurality of weighted value setting tables, and storing them in the corresponding weighted value setting table; 遍历该多个加权值设定表,根据各个音频文件的每一字段内容对应的子项的加权值计算得出各音频文件的综合加权值;及Traverse the plurality of weighted value setting tables, and calculate the comprehensive weighted value of each audio file according to the weighted value of the sub-item corresponding to each field content of each audio file; and 根据各音频文件的综合加权值生成一播放列表。A play list is generated according to the comprehensive weighted value of each audio file. 2.如权利要求1所述的一种播放列表生成方法,其特征在于,各音频文件的加权值是根据用户对各音频文件的操作自动生成。2. A kind of playlist generation method as claimed in claim 1, is characterized in that, the weighted value of each audio file is to generate automatically according to the operation of user to each audio file. 3.如权利要求1所述的一种播放列表生成方法,其特征在于,获取该多个音频文件的加权值及多个字段内容的方法为下列方法中的一种:3. a kind of playlist generating method as claimed in claim 1, is characterized in that, the method for obtaining the weighted value of these multiple audio files and a plurality of field contents is a kind of in following method: 根据加权值大小对各音频文件进行排序,依次获取加权值较大的预设数目的音频文件的加权值及多个字段内容;及Sorting each audio file according to the size of the weighted value, and sequentially obtaining the weighted value and a plurality of field contents of a preset number of audio files with larger weighted values; and 获取加权值大于一默认值的多个音频文件的加权值及多个字段内容。Obtain the weighted values and the contents of multiple fields of multiple audio files whose weighted values are greater than a default value. 4.如权利要求1所述的一种播放列表生成方法,其特征在于,该步骤“藉此计算该多个加权值设定表中各个字段内容对应的各子项的加权值”中,计算一加权值设定表中一子项的加权值的方法为:将该多个音频文件中包含该子项的音频文件的加权值进行加总,计算出该子项的加权值。4. A kind of play list generating method as claimed in claim 1, it is characterized in that, in this step " thereby calculate the weighted value of each sub-item corresponding to each field content in this multiple weighted value setting table ", calculate A method for setting the weighted value of a sub-item in the weighted value table is as follows: adding up the weighted values of the audio files containing the sub-item among the plurality of audio files to calculate the weighted value of the sub-item. 5.如权利要求1所述的一种播放列表生成方法,其特征在于,该步骤“计算该多个加权值设定表中各个字段内容对应的各子项的加权值”包括:5. a kind of play list generating method as claimed in claim 1, is characterized in that, this step " calculates the weighted value of each sub-item corresponding to each field content in this multiple weighted value setting table " comprises: 获取一音频文件的加权值及多个字段内容;Obtain the weighted value and multiple field contents of an audio file; 查找与每一字段内容对应的加权值设定表;及Find a weighted value setting table corresponding to the content of each field; and 将该音频文件的加权值分别累加到与每一字段内容相同的子项的加权值上。The weighted value of the audio file is respectively added to the weighted value of the sub-item with the same content as each field. 6.如权利要求1所述的一种播放列表生成方法,其特征在于,该步骤“遍历该多个加权值设定表,根据各个音频文件的每一字段内容对应的子项的加权值计算得出各音频文件的综合加权值”中,计算一音频文件的综合加权值的方法具体为:6. A kind of play list generating method as claimed in claim 1, is characterized in that, this step " traverses this multiple weighted value setting tables, calculates according to the weighted value of the sub-item corresponding to each field content of each audio file Obtain the comprehensive weighted value of each audio file", the method for calculating the comprehensive weighted value of an audio file is specifically: 读取一音频文件;read an audio file; 获得该音频文件的多个字段内容;Obtain the contents of multiple fields of the audio file; 遍历该多个加权值设定表,获得与该音频文件每一字段内容对应的子项的加权值;及traverse the plurality of weighted value setting tables, and obtain the weighted value of the sub-item corresponding to each field content of the audio file; and 采用一运算法则计算出该音频文件的综合加权值。An algorithm is used to calculate the comprehensive weighted value of the audio file. 7.如权利要求6所述的一种播放列表生成方法,其特征在于,该运算法则为下面两种运算法则中的一种:7. a kind of playlist generation method as claimed in claim 6 is characterized in that, this algorithm is one of following two kinds of algorithm: 将该音频文件的每一字段内容对应的子项的加权值加总;及summing up the weighted values of the subitems corresponding to each field content of the audio file; and 将该音频文件的每一字段内容对应的子项的加权值先乘以一权重百分比然后再加总,其中权重百分比的大小表示每一字段内容的重要性,各权重百分比的和为1。The weighted value of the subitem corresponding to each field content of the audio file is first multiplied by a weight percentage and then summed up, wherein the size of the weight percentage represents the importance of each field content, and the sum of each weight percentage is 1. 8.一种播放列表生成装置,其特征在于,该装置包括:8. A playlist generating device, characterized in that the device comprises: 用于响应用户的输入,产生并发送一生成播放列表的控制信号的部件;A component for generating and sending a control signal generating a playlist in response to user input; 用于响应该控制信号,初始化多个加权值设定表的部件,该多个加权值设定表分别记录音频文件的字段内容与加权值的对应关系;A component for initializing multiple weighted value setting tables in response to the control signal, and the multiple weighted value setting tables respectively record the corresponding relationship between the field content of the audio file and the weighted value; 用于获取多个音频文件的加权值及多个字段内容的部件;A component for obtaining weighted values of multiple audio files and multiple field contents; 用于藉此计算该多个加权值设定表中各个字段内容对应的各子项的加权值,并分别存储于相应的加权值设定表中的部件;A component for calculating the weighted value of each sub-item corresponding to each field content in the plurality of weighted value setting tables, and storing them in the corresponding weighted value setting table; 用于遍历该多个加权值设定表,根据各个音频文件的每一字段内容对应的子项的加权值计算得出各音频文件的综合加权值的部件;及A component for traversing the plurality of weighted value setting tables and calculating the comprehensive weighted value of each audio file according to the weighted value of the sub-item corresponding to each field content of each audio file; and 根据各音频文件的综合加权值生成一播放列表的部件。A component for generating a playlist according to the comprehensive weighted value of each audio file. 9.如权利要求8所述的一种播放列表生成装置,其特征在于,该装置还包括用于根据用户对一音频文件的操作自动生成该音频文件的加权值的部件。9. The device for generating a playlist according to claim 8, further comprising a component for automatically generating a weighted value of an audio file according to a user's operation on the audio file. 10.如权利要求8所述的一种播放列表生成装置,其特征在于,该用于获取多个音频文件的加权值及多个字段内容的部件获取该多个音频文件的加权值及多个字段内容的方法为下列方法中的一种:10. A kind of play list generation device as claimed in claim 8, is characterized in that, this is used to obtain the weighted value of a plurality of audio files and the component of a plurality of field contents obtains the weighted value of this a plurality of audio files and a plurality of The method of field content is one of the following methods: 根据加权值大小对各音频文件进行排序,依次获取加权值较大的预设数目的音频文件的加权值及多个字段内容;及Sorting each audio file according to the size of the weighted value, and sequentially obtaining the weighted value and a plurality of field contents of a preset number of audio files with larger weighted values; and 获取加权值大于一默认值的多个音频文件的加权值及多个字段内容。Obtain the weighted values and the contents of multiple fields of multiple audio files whose weighted values are greater than a default value. 11.如权利要求8所述的一种播放列表生成装置,其特征在于,装置还包括:11. A kind of play list generating device as claimed in claim 8, is characterized in that, device also comprises: 用于根据加权值大小对该多个音频文件进行排序的部件;A component for sorting the plurality of audio files according to the size of the weighted value; 用于依次从该音频播放装置中获取预设数目的音频文件的加权值及多个字段内容,藉此计算该多个加权值设定表中各子项的加权值的部件;及A component for obtaining weighted values and multiple field contents of a preset number of audio files in sequence from the audio playback device, thereby calculating the weighted value of each sub-item in the multiple weighted value setting table; and 用于遍历该多个加权值设定表,计算各音频文件的综合加权值的部件。A component for traversing the plurality of weighting value setting tables to calculate the comprehensive weighting value of each audio file. 12.如权利要求8所述的一种播放列表生成装置,其特征在于,该用于藉此计算该多个加权值设定表中各个字段内容对应的各子项的加权值,并分别存储于相应的加权值设定表中的部件,计算一加权值设定表中一子项的加权值为:12. A kind of play list generation device as claimed in claim 8, it is characterized in that, this is used to thereby calculate the weighted value of each sub-item corresponding to each field content in this multiple weighted value setting table, and store respectively For the components in the corresponding weighted value setting table, calculate the weighted value of a sub-item in the weighted value setting table: 将该多个音频文件中包含该子项的音频文件的加权值进行加总,计算出该子项的加权值。The weighted values of the audio files containing the sub-item among the plurality of audio files are summed up to calculate the weighted value of the sub-item. 13.如权利要求8所述的一种播放列表生成装置,其特征在于,该用于计算该多个加权值设定表中各个字段内容对应的各子项的加权值的部件计算该多个加权值设定表中各个字段内容对应的各子项的加权值具体为:13. A kind of play list generating device as claimed in claim 8, it is characterized in that, the component for calculating the weighted value of each sub-item corresponding to each field content in the multiple weighted value setting table calculates the multiple The weighted value of each sub-item corresponding to each field content in the weighted value setting table is specifically: 获取一音频文件的加权值及多个字段内容;Obtain the weighted value and multiple field contents of an audio file; 查找与每一字段内容对应的加权值设定表;及Find a weighted value setting table corresponding to the content of each field; and 将该音频文件的加权值分别累加到与每一字段内容相同的子项的加权值上。The weighted value of the audio file is respectively added to the weighted value of the sub-item with the same content as each field. 14.如权利要求8所述的一种播放列表生成装置,其特征在于,该用于遍历该多个加权值设定表,根据各个音频文件的每一字段内容对应的子项的加权值计算得出各音频文件的综合加权值的部件,计算一音频文件的综合加权值为:14. A kind of play list generation device as claimed in claim 8, is characterized in that, this is used for traversing the multiple weighted value setting tables, according to the weighted value calculation of the sub-item corresponding to each field content of each audio file Obtain the component of the integrated weight value of each audio file, calculate the integrated weight value of an audio file: 读取一音频文件;read an audio file; 获得该音频文件的多个字段内容;Obtain the contents of multiple fields of the audio file; 遍历该多个加权值设定表,获得与该音频文件每一字段内容对应的子项的加权值;及traverse the plurality of weighted value setting tables, and obtain the weighted value of the sub-item corresponding to each field content of the audio file; and 采用一运算法则计算出该音频文件的综合加权值。An algorithm is used to calculate the comprehensive weighted value of the audio file. 15.如权利要求14所述的一种播放列表生成装置,其特征在于,该运算法则可为下面两种运算法则的一种:15. A kind of play list generation device as claimed in claim 14, is characterized in that, this algorithm can be a kind of of following two kinds of algorithm: 将该音频文件的每一字段内容对应的子项的加权值加总;及summing up the weighted values of the subitems corresponding to each field content of the audio file; and 将该音频文件的每一字段内容对应的子项的加权值先乘以一权重百分比然后再加总,其中权重百分比的大小表示每一字段内容的重要性,各权重百分比的和为1。The weighted value of the subitem corresponding to each field content of the audio file is first multiplied by a weight percentage and then summed up, wherein the size of the weight percentage represents the importance of each field content, and the sum of each weight percentage is 1.
CN2005100359848A 2005-06-17 2005-07-13 Listing play generator and generation Expired - Fee Related CN1896987B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2005100359848A CN1896987B (en) 2005-07-13 2005-07-13 Listing play generator and generation
US11/309,155 US20070078895A1 (en) 2005-06-17 2006-06-30 System and method for generating a play-list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2005100359848A CN1896987B (en) 2005-07-13 2005-07-13 Listing play generator and generation

Publications (2)

Publication Number Publication Date
CN1896987A CN1896987A (en) 2007-01-17
CN1896987B true CN1896987B (en) 2012-05-16

Family

ID=37609515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005100359848A Expired - Fee Related CN1896987B (en) 2005-06-17 2005-07-13 Listing play generator and generation

Country Status (1)

Country Link
CN (1) CN1896987B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327376B (en) * 2009-08-03 2015-09-02 鸿富锦精密工业(深圳)有限公司 Music video service device and music video customized setting method thereof
CN105516738B (en) * 2015-12-04 2019-08-06 聚好看科技股份有限公司 Video on demand processing method, device and equipment
CN105867859A (en) * 2016-03-25 2016-08-17 广东威创视讯科技股份有限公司 A splicing wall window windowing method and device
CN106816162A (en) * 2017-01-02 2017-06-09 安徽金鼎机电装备制造有限公司 The control method and playback terminal of a kind of music

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438579B1 (en) * 1999-07-16 2002-08-20 Agent Arts, Inc. Automated content and collaboration-based system and methods for determining and providing content recommendations
US6526411B1 (en) * 1999-11-15 2003-02-25 Sean Ward System and method for creating dynamic playlists
CN1577599A (en) * 2003-07-04 2005-02-09 佳能株式会社 Recording apparatus having playlist editing function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438579B1 (en) * 1999-07-16 2002-08-20 Agent Arts, Inc. Automated content and collaboration-based system and methods for determining and providing content recommendations
US6526411B1 (en) * 1999-11-15 2003-02-25 Sean Ward System and method for creating dynamic playlists
CN1577599A (en) * 2003-07-04 2005-02-09 佳能株式会社 Recording apparatus having playlist editing function

Also Published As

Publication number Publication date
CN1896987A (en) 2007-01-17

Similar Documents

Publication Publication Date Title
US8751030B2 (en) Audio player and operating method automatically selecting music type mode according to environment noise
US7613736B2 (en) Sharing music essence in a recommendation system
US9247295B2 (en) Automated playlist generation
JP4214475B2 (en) Information processing apparatus and method, and program
US20070078895A1 (en) System and method for generating a play-list
US8103793B2 (en) Method and system for updating playlists
US7698350B2 (en) Reproducing apparatus, reproduction controlling method, and program
US20060294131A1 (en) System and method for generating a play-list
US12118267B2 (en) Automatically generated media preview
US20060294132A1 (en) System and method for generating a play-list
US20060288042A1 (en) System and method for generating a play-list
JP3911436B2 (en) Audio recording / reproducing apparatus and audio recording / reproducing program
JP2002150664A (en) Method and device for reproducing information and recording medium with this method programmed and recorded thereon
CN100468389C (en) A playlist generation system and method
CN100555278C (en) A kind of play list generation system and method
CN1896987B (en) Listing play generator and generation
US20070078847A1 (en) System and method for generating a play-list
TWI315036B (en) A apparatus and method for generating a playlist
US20110125297A1 (en) Method for setting up a list of audio files
JP4905190B2 (en) Audio reproduction device, audio reproduction method, and program
TWI285317B (en) A system and method for generating a playlist
US20100153469A1 (en) Electronic device and method of creating a sequence of content items
AU2007202654A1 (en) Intelligent synchronization for a media player
KR20070046471A (en) User terminal device having music file management function and management method thereof
JP2010243785A (en) Content reproduction apparatus and program thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120516

Termination date: 20140713

EXPY Termination of patent right or utility model