CN101996665B - Media playing method of portable device and its portable device - Google Patents

Media playing method of portable device and its portable device Download PDF

Info

Publication number
CN101996665B
CN101996665B CN 200910167364 CN200910167364A CN101996665B CN 101996665 B CN101996665 B CN 101996665B CN 200910167364 CN200910167364 CN 200910167364 CN 200910167364 A CN200910167364 A CN 200910167364A CN 101996665 B CN101996665 B CN 101996665B
Authority
CN
China
Prior art keywords
media
media files
list
portable device
file
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
CN 200910167364
Other languages
Chinese (zh)
Other versions
CN101996665A (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.)
Transcend Information Inc
Original Assignee
Transcend Information Inc
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 Transcend Information Inc filed Critical Transcend Information Inc
Priority to CN 200910167364 priority Critical patent/CN101996665B/en
Publication of CN101996665A publication Critical patent/CN101996665A/en
Application granted granted Critical
Publication of CN101996665B publication Critical patent/CN101996665B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

在可携式装置进行媒体文件播放之前(或媒体文件播放过程中),由使用者通过使用者界面先行设定欲产生播放列表的方式或以系统预设的方式,由可携式装置在列表规则库中选取一列表规则,并依照一锚点文件以及该列表规则产生包含多个媒体文件的播放列表,接着通过使用者界面设定(或不设定,而以系统预设的方式)欲播放该播放列表内媒体文件的顺序,再由该锚点文件开始播放该播放列表内所选择的多个媒体文件,通过提供产生播放列表的设定,使可携式装置中媒体播放的方法具有更多的选择性以及符合使用者需求更大的弹性。

Figure 200910167364

Before the portable device plays a media file (or during the media file playing process), the user sets the method for generating a playlist through a user interface or in a system preset method, the portable device selects a list rule from a list rule library, and generates a playlist containing multiple media files according to an anchor file and the list rule, then sets the order of playing the media files in the playlist through the user interface (or does not set it, but in a system preset method), and then starts playing the multiple media files selected in the playlist from the anchor file. By providing a setting for generating a playlist, the method for media playing in the portable device has more selectivity and greater flexibility to meet user needs.

Figure 200910167364

Description

可携式装置的媒体播放方法以及其可携式装置Media playing method of portable device and its portable device

技术领域 technical field

本发明是有关一种播放方法以及应用该播放方法来播放媒体的可携式装置,尤指一种以目录为基础的媒体播放方法以及相关的可携式装置。The present invention relates to a playing method and a portable device using the playing method to play media, especially a directory-based media playing method and the related portable device.

背景技术 Background technique

对于如移动电话、移动随身听、个人数字助理、移动多媒体装置等可携式装置,其诉求多媒体播放以提供消费者多样且随心所欲的使用经验,已是目前主流的产品趋势,这些可携式装置可以播放的多媒体种类的支持度也越来越高。就使用者使用可携式装置来播放多媒体文件而言(例如MP3格式的音乐文件),一般MP3播放器在播放文件时,是基于一包含一个或多个媒体文件消息的播放列表来进行播放。For portable devices such as mobile phones, mobile walkmans, personal digital assistants, and mobile multimedia devices, it is the current mainstream product trend to demand multimedia playback to provide consumers with diverse and free-wheeling experience. The support for the types of multimedia that can be played is also increasing. As far as the user uses a portable device to play multimedia files (such as music files in MP3 format), a general MP3 player plays files based on a playlist that includes one or more media file messages.

通常播放列表的产生有几种方式:There are usually several ways to generate a playlist:

1.利用媒体文件内嵌的ID3各字段的信息来建立播放列表。使用者可以依据既有的分类(例如专辑名称、演奏者、发行年份、音乐类型...等)进行选择,而可携式装置则针对使用者的选择,将具有同一种属性的多个媒体文件的数据建立为一个播放列表以进行播放。然而这些媒体文件内嵌的ID3字段信息必需在媒体文件建立时(或媒体文件在装置内被搜寻之前)就预先建立好,或者在可携式装置开机或关机的时候必需先把欲搜寻的媒体数据库建好。1. Use the information of each field of ID3 embedded in the media file to create a playlist. Users can make selections based on existing classifications (such as album titles, performers, release years, music genres, etc.), while portable devices will select multiple media with the same attribute according to the user's selection. The data of the file is created as a playlist for playback. However, the ID3 field information embedded in these media files must be pre-established when the media file is created (or before the media file is searched in the device), or the media to be searched must be first set when the portable device is powered on or off. The database is built.

2.以磁盘目录为基础的列表产生方式。以目前常用的文件目录系统建立列表,而这样的列表产生方式是由使用者在可携式装置中选取一媒体文件后,直接将整个可携式装置中所有的媒体文件建立一全域媒体播放列表,并由使用者选取的该媒体文件处开始播放整个全域播放列表。这样的作法缺乏媒体选择的弹性,因为使用者只能使用一种产生列表的方式。2. The list generation method based on the disk directory. Create a list with the file directory system commonly used at present, and the generation method of such a list is that after the user selects a media file in the portable device, all the media files in the entire portable device are directly created into a global media play list , and start playing the entire global playlist at the media file selected by the user. This approach lacks the flexibility of media selection, because the user can only use one way to generate the list.

3.由使用者事先建立播放列表清单。在可携式装置播放媒体文件之前,由使用者依据个人的偏好逐一选择不同的媒体文件,以建立一个播放列表。其中播放列表的内容包含使用者自行选取的媒体文件以及使用者自行定义的顺序。此种作法虽可提供使用者高度自订的弹性,但也意味使用者必需额外花费大量的心力事先建立播放列表,并且此种播放列表一旦建立好之后,并不容易机动性地修改,也限制了在某些场合使用的方便性。3. The user creates a list of playlists in advance. Before the portable device plays the media files, the user selects different media files one by one according to personal preferences to create a playlist. The content of the playlist includes media files selected by the user and a sequence defined by the user. Although this approach can provide users with a high degree of flexibility in customization, it also means that users must spend a lot of effort to create playlists in advance, and once such playlists are created, it is not easy to modify them flexibly, which also limits It is convenient to use in some occasions.

发明内容 Contents of the invention

本发明提供一种可携式装置的媒体播放方法,该可携式装置储存有多个媒体文件,该媒体播放方法包含步骤:于该多个媒体文件中选取一锚点文件;自一列表规则库中选取一第一列表规则;依据该锚点文件以及该第一列表规则自该多个媒体文件中选取媒体文件以产生一播放列表;以及依据一播放规则利用该可携式装置播放该播放列表内的媒体文件;其中该多个媒体文件、该第一列表规则、该播放规则以及该播放列表被储存于该可携式装置的一存储单元内;该可携式装置以一文件目录系统储存该多个媒体文件,该列表规则库被储存于该存储单元内,该列表规则库包含:选取与该锚点文件同一目录及其子目录下的媒体文件(in same folder including subfolders)、选取与该锚点文件同阶层的目录的媒体文件(in sibling folders)、以及选取与该锚点文件同阶层的目录及其子目录下的媒体文件(in sibling foldersincluding subfolders)等多个列表规则。The present invention provides a media playing method of a portable device. The portable device stores a plurality of media files. The media playing method comprises the steps of: selecting an anchor file from the plurality of media files; Select a first list rule in the library; select media files from the plurality of media files according to the anchor file and the first list rule to generate a play list; and play the play with the portable device according to a play rule Media files in the list; wherein the plurality of media files, the first list rule, the play rule and the play list are stored in a storage unit of the portable device; the portable device uses a file directory system Store the plurality of media files, the list rule base is stored in the storage unit, the list rule base includes: select media files (in same folder including subfolders) under the same directory as the anchor file and its subfolders, select Multiple list rules such as media files (in sibling folders) of directories at the same level as the anchor file, and selection of media files (in sibling folders including subfolders) under the directory at the same level as the anchor file and its subdirectories.

本发明还提供一种可携式装置,其包含有一存储单元以及一处理单元。该存储单元储存有多个媒体文件、一第一列表规则以及一第一播放规则。该处理单元用来于该多个媒体文件中选取一锚点文件、依据该锚点文件以及该第一列表规则自该多个媒体文件中选取媒体文件以产生一播放列表,以及依据该第一播放规则播放该播放列表内的媒体文件,其中该播放列表被储存于该存储单元内。The invention also provides a portable device, which includes a storage unit and a processing unit. The storage unit stores a plurality of media files, a first list rule and a first play rule. The processing unit is used to select an anchor file from the plurality of media files, select a media file from the plurality of media files according to the anchor file and the first list rule to generate a playlist, and generate a playlist according to the first list rule. The playing rules play the media files in the playlist, wherein the playlist is stored in the storage unit.

附图说明 Description of drawings

图1为本发明用于一可携式装置的媒体播放方法的流程示意图。FIG. 1 is a schematic flowchart of a media playing method for a portable device according to the present invention.

图2为该可携式装置的方块示意图。FIG. 2 is a schematic block diagram of the portable device.

图3为该可携式装置中一第一存储器的方块示意图。FIG. 3 is a schematic block diagram of a first memory in the portable device.

图4为该可携式装置中一第二存储器的方块示意图。FIG. 4 is a schematic block diagram of a second memory in the portable device.

图5为该可携式装置中多个媒体以文件目录系统的形式储存的示意图。FIG. 5 is a schematic diagram of multiple media stored in the form of a file directory system in the portable device.

图6为依据本发明的媒体播放方法所建立的多种播放列表的示意图。FIG. 6 is a schematic diagram of various playlists established according to the media playing method of the present invention.

图7为媒体播放方法于该可携式装置中的工作流程图。FIG. 7 is a flow chart of the media playing method in the portable device.

[主要元件标号说明][Description of main component labels]

1                可携式装置      5            文件目录系统1 Portable Device 5 File Directory System

10               处理单元        20           存储单元10 Processing Unit 20 Storage Unit

21               第一存储器      22           第二存储器21 The first memory 22 The second memory

30               使用者界面      51、52、53   选择区块30 User Interface 51, 52, 53 Selection block

54、55、56、211  媒体文件        71~75、224  播放列表54, 55, 56, 211 media files 71~75, 224 playlists

100              媒体播放方法    102~120     步骤100 Media Playing Method 102~120 Steps

212              列表规则库      213          播放规则库212 List rule base 213 Play rule base

221              第一列表规则    222          第二列表规则221 First List Rules 222 Second List Rules

223              第一播放规则223 First play rule

具体实施方式 Detailed ways

请参考图1以及图2,图1为本发明用于一可携式装置1的媒体播放方法100的流程示意图,图2为可携式装置1的方块示意图。本发明所指的可携式装置1可为数字随身听(Music player)、个人数字助理(Personaldigital assistant,PDA)、移动电话(Mobile phone)、智能型手机(Smartphone)、导航装置(Portable navigation device,PND)、或任何可携式的多媒体播放装置,且可携式装置1包含有一处理单元10、一存储单元20以及一使用者界面30,于存储单元20内可储存多个以及多种音乐文件(压缩或非压缩格式的音乐、录音等声音文件)、静态图像文件(照片、图片)、动态图像文件(电影、短片、简报文件...)等多媒体文件。使用者界面30可为可携式装置1上的按键、触控式屏幕、感应器、信号接收器等,通过接收或输入指令以控制处理单元10对储存于存储单元20内一或多个多媒体文件进行播放。存储单元20还可包含一第一存储器21以及一第二存储器22,于实作上第一存储器21可为如闪存(Flash memory)一类的非易失性存储器(non-volatile memory,),主要储存前述各种多媒体文件,而第二存储器22亦可为一非易失性存储器,或一易失性存储器(volatile memory),以储存可携式装置1操作过程产生的临时文件。Please refer to FIG. 1 and FIG. 2 . FIG. 1 is a flow diagram of a media playing method 100 for a portable device 1 according to the present invention, and FIG. 2 is a block diagram of the portable device 1 . The portable device 1 that the present invention refers to can be a digital walkman (Music player), a personal digital assistant (Personaldigital assistant, PDA), a mobile phone (Mobile phone), a smart phone (Smartphone), a navigation device (Portable navigation device) , PND), or any portable multimedia player, and the portable device 1 includes a processing unit 10, a storage unit 20 and a user interface 30, in the storage unit 20 can store multiple and multiple music Files (compressed or uncompressed audio files such as music and recordings), static image files (photos, pictures), dynamic image files (movies, short films, presentation files...) and other multimedia files. The user interface 30 can be a button on the portable device 1, a touch screen, a sensor, a signal receiver, etc., and controls the processing unit 10 to store one or more multimedia files in the storage unit 20 by receiving or inputting instructions. file to play. The storage unit 20 may also include a first memory 21 and a second memory 22. In practice, the first memory 21 may be a non-volatile memory (non-volatile memory) such as flash memory (Flash memory), The various multimedia files mentioned above are mainly stored, and the second memory 22 can also be a non-volatile memory or a volatile memory to store temporary files generated during the operation of the portable device 1 .

请参考图3以及图4。图3为可携式装置1中第一存储器21的方块示意图,图4为可携式装置1中第二存储器22的方块示意图。本发明所揭露的媒体播放方法100以及可携式装置1可由使用者通过使用者界面30操作以选择播放列表的产生方式,以及播放列表内的媒体文件的播放方式。在此实施例中,第一存储器21储存有多个媒体文件211以及一列表规则库212以及一播放规则库213,而在其它实施例中,列表规则库212以及播放规则库213也可以是程序码、或储存于动态存取存储器,不一定要和媒体文件211(以及可携式装置1储存文件所建构的文件目录系统)储存于同一个存储器中。列表规则库212包含有多个预先定义好用来产生一播放列表的列表规则(如图4中的第一列表规则221或第二列表规则222),播放规则库213则包含有多个预先定义好用来播放产生的该播放列表的播放规则(如图4中的第一播放规则223)。Please refer to Figure 3 and Figure 4. FIG. 3 is a schematic block diagram of the first memory 21 in the portable device 1 , and FIG. 4 is a schematic block diagram of the second memory 22 in the portable device 1 . The media playing method 100 and the portable device 1 disclosed in the present invention can be operated by the user through the user interface 30 to select the way to generate the playlist and the way to play the media files in the playlist. In this embodiment, the first memory 21 stores a plurality of media files 211, a list rule base 212 and a play rule base 213, and in other embodiments, the list rule base 212 and the play rule base 213 can also be programs Code, or stored in the dynamic access memory, not necessarily stored in the same memory as the media file 211 (and the file directory system constructed by the portable device 1 for storing files). The list rule base 212 contains a plurality of pre-defined list rules (such as the first list rule 221 or the second list rule 222 in Fig. 4) that are used to generate a playlist, and the play rule base 213 includes a plurality of pre-defined It is easy to play the play rule (such as the first play rule 223 in FIG. 4 ) of the generated playlist.

此外,于此实施例中揭露的存储单元20所具有的第一存储器21与第二存储器22亦可通过同一实体的存储器(如一非易失性随机存取存储器)的二个或多个以上扇区等方式达成相同效果;且第一存储器21与第二存储器22的位置并非限定于一单一的物理存储器内,其中至少一存储器亦可位于处理器等控制单元10内。至于列表规则221、222、播放规则223及播放列表224等亦可直接储存于处理器等处理单元10的暂存区内。In addition, the first memory 21 and the second memory 22 of the storage unit 20 disclosed in this embodiment can also be accessed through two or more sectors of the same physical memory (such as a non-volatile random access memory). The same effect can be achieved by means of regions, etc.; and the locations of the first memory 21 and the second memory 22 are not limited to a single physical memory, and at least one memory can also be located in the control unit 10 such as a processor. As for the list rules 221, 222, play rules 223 and play list 224, etc., they can also be directly stored in the temporary storage area of the processing unit 10 such as a processor.

举例而言,为了使可携式装置1中播放列表的产生方式具有更多的选择,在一个以文件目录系统(如一般常见的窗口操作系统所使用的文件目录系统)为储存方式的文件架构中,当使用者于可携式装置1上通过使用者界面30选取了其中一媒体文件,该媒体文件被可携式装置1视为一锚点文件(anchorfile)时,列表规则库212至少可包含下列数种播放列表的列表规则:For example, in order to have more options for the generation of playlists in the portable device 1, in a file structure using a file directory system (such as the file directory system used by common window operating systems) as a storage method Among them, when the user selects one of the media files through the user interface 30 on the portable device 1, and the media file is regarded as an anchor file (anchorfile) by the portable device 1, the list rule library 212 can at least List rules that contain the following types of playlists:

1.选取可携式装置1所有媒体文件(all files);1. Select all media files (all files) of the portable device 1;

2.选取与该锚点文件同一目录的媒体文件(same folder);2. Select the media file (same folder) in the same directory as the anchor file;

3.选取与该锚点文件同一目录及其子目录下的媒体文件(in same folderincluding subfolders);3. Select the media files in the same directory as the anchor file and its subdirectories (in same folder including subfolders);

4.选取与该锚点文件同阶层的目录的媒体文件(in sibling folders);以及4. Select media files (in sibling folders) of directories at the same level as the anchor file; and

5.选取与该锚点文件同阶层的目录及其子目录下的媒体文件(insibling folders including subfolders)...5. Select the directory at the same level as the anchor file and the media files under its subdirectories (insibling folders including subfolders)...

而这些列表规则包含如图4中的第一列表规则221、第二列表规则222,且可由制造者事先定义设计好,或由使用者自行定义并储存于可携式装置1的存储单元20内。播放规则库213则至少可包含下列数种播放列表的播放规则:These list rules include the first list rule 221 and the second list rule 222 in Figure 4, and can be defined and designed by the manufacturer in advance, or defined by the user and stored in the storage unit 20 of the portable device 1 . The play rule base 213 can at least include the play rules of the following several playlists:

1.以循序方式(normal mode)播放该播放列表的媒体文件;1. Play the media files of the playlist in a sequential manner (normal mode);

2.以重复播放方式(repeat all mode)播放该播放列表的媒体文件;2. Play the media files of the playlist in repeat play mode (repeat all mode);

3.以单一重复播放方式(repeat one mode)播放该锚点文件;以及3. Play the anchor file in a repeat one mode; and

4.以随机播放方式(random mode)播放该播放列表的媒体文件...4. Play the media files of the playlist in random mode...

同样地,这些播放规则包含如图4中的第一播放规则223,且可由制造者事先定义设计好,或由使用者自行定义并储存于可携式装置1的存储单元20内。Likewise, these play rules include the first play rule 223 in FIG. 4 , and can be defined and designed by the manufacturer in advance, or defined by the user and stored in the storage unit 20 of the portable device 1 .

请继续参考图1至图4,在可携式装置1上的媒体播放方法100流程如下:Please continue to refer to FIG. 1 to FIG. 4, the flow of the media playing method 100 on the portable device 1 is as follows:

步骤102:于可携式装置1,利用使用者界面30自多个媒体文件211中选取一媒体文件作为一锚点文件(anchor file)。Step 102: On the portable device 1, use the user interface 30 to select a media file from a plurality of media files 211 as an anchor file.

步骤104:利用使用者界面30设定产生一播放列表224的方式(亦可不需设定,直接以系统预设的方式产生该播放列表224)。如前所述,在存储单元20的第一存储器21的列表规则库212中储存有多个列表规则,于此步骤中,使用者通过可携式装置1所提供的设置选单(即使用者界面30)设定欲产生播放列表224的方式(即选取一第一列表规则221),而在可携式装置1中,处理单元10则自列表规则库212中将使用者通过使用者界面30所设定的列表产生方式(或系统预设的方式)将第一列表规则221复制至第二存储器22内以供产生播放列表224。Step 104: Use the user interface 30 to set the way to generate a playlist 224 (the playlist 224 can be generated directly in the system default way without setting). As mentioned above, a plurality of list rules are stored in the list rule library 212 of the first memory 21 of the storage unit 20. 30) Set the mode of wanting to generate play list 224 (i.e. select a first list rule 221), and in portable device 1, processing unit 10 then from the list rule storehouse 212 the user passes through the user interface 30 The set list generation method (or the system default method) copies the first list rule 221 to the second memory 22 for generating the playlist 224 .

步骤106:依据步骤102选取的该锚点文件以及步骤104所设定产生该播放列表的方式,自该多个媒体文件211中选取一或多个媒体文件,并依据这些选取的媒体文件产生一播放列表224。其中产生的播放列表224亦储存于第二存储器22内。Step 106: Select one or more media files from the plurality of media files 211 according to the anchor file selected in step 102 and the method of generating the playlist set in step 104, and generate a media file based on these selected media files Playlist 224. The playlist 224 generated therein is also stored in the second memory 22 .

步骤108:利用使用者界面30,设定播放此播放列表224内的媒体文件的方式。如前所述,在存储单元20的第一存储器21的播放规则库213中储存有多个播放规则,于此步骤中,使用者通过可携式装置1所提供的设置选单(即使用者界面30)设定如何播放该播放列表224的方式(即选取一第一播放规则223,或使用者不设定的情况下,以系统预设的方式),而在可携式装置1中,处理单元10则自播放规则库213中将使用者通过使用者界面30所设定的播放方式将第一播放规则223复制至第二存储器22内以供播放播放列表224。Step 108: Use the user interface 30 to set the mode of playing the media files in the playlist 224 . As mentioned above, a plurality of playing rules are stored in the playing rules library 213 of the first memory 21 of the storage unit 20. 30) How to set the mode of playing the play list 224 (i.e. select a first play rule 223, or in the case of the user not setting, in the system default mode), and in the portable device 1, process The unit 10 copies the first play rule 223 from the play rule library 213 to the second memory 22 for playing the play list 224 according to the play mode set by the user through the user interface 30 .

步骤110:依据步骤108设定的播放媒体文件的方式,播放播放列表224内所指向储存于第一存储器21内的媒体文件211。Step 110 : Play the media file 211 stored in the first memory 21 pointed to in the playlist 224 according to the playing mode of the media file set in step 108 .

而在可携式装置1的媒体文件211播放过程中,亦可允许使用者重新建立新的播放列表以及播放方式,当欲更新播放列表时,于步骤112:于目前的播放列表224中取得可携式装置1目前正在播放的媒体文件并将该媒体文件设为该锚点文件。而图1中从此处步骤112开始至步骤120亦可不需延续自前述的步骤102至步骤110,换言之,本发明所揭露的媒体播放方法亦可以步骤112至步骤120为一独立的操作流程。And in the media file 211 playing process of portable device 1, also can allow the user to re-establish new playlist and play mode, when desiring to update playlist, in step 112: obtain available in current playlist 224 The media file that the portable device 1 is currently playing and sets the media file as the anchor file. In FIG. 1, the process from step 112 to step 120 does not need to continue from step 102 to step 110. In other words, the media playing method disclosed in the present invention can also be an independent operation process from step 112 to step 120.

步骤114:利用使用者界面30,重新设定产生新的播放列表224的方式。亦即使用者通过可携式装置1所提供的设置选单(即使用者界面30)重新设定欲产生播放列表224的方式(即选取一第二列表规则222,亦可直接使用第一列表规则221),而在可携式装置1中,处理单元10则自列表规则库212中将使用者通过使用者界面30所设定的列表产生方式将第二列表规则222复制至第二存储器22内以供产生新的播放列表224。Step 114 : Use the user interface 30 to reset the way to generate a new playlist 224 . That is to say, the user resets the mode of wanting to generate the playlist 224 through the setting menu provided by the portable device 1 (i.e. the user interface 30) (i.e. selects a second list rule 222, or directly uses the first list rule 221), and in the portable device 1, the processing unit 10 copies the second list rule 222 from the list rule library 212 to the second memory 22 in the list generation mode set by the user through the user interface 30 for generating a new playlist 224 .

步骤116:依据步骤112设定的新锚点文件以及步骤114所设定的产生该播放列表的方式,自该多个媒体文件211中选取一或多个媒体文件,并依据这些选取的媒体文件产生一新的播放列表224。其中更新的播放列表224亦储存于第二存储器22内。Step 116: Select one or more media files from the plurality of media files 211 according to the new anchor file set in step 112 and the method of generating the playlist set in step 114, and select one or more media files according to these selected media files A new playlist 224 is generated. The updated playlist 224 is also stored in the second memory 22 .

步骤118:利用使用者界面30,重新设定播放该新的播放列表224的媒体文件的方式。于此阶段,使用者可决定是否亦变更播放该更新的播放列表224的方式。若然,则通过可携式装置1所提供的设置选单(即使用者界面30)重新设定播放该播放列表224的方式。Step 118 : Use the user interface 30 to reset the mode of playing the media files of the new playlist 224 . At this stage, the user can decide whether to change the way of playing the updated playlist 224 as well. If yes, then reset the way to play the playlist 224 through the setting menu provided by the portable device 1 (ie, the user interface 30 ).

步骤120:依据步骤118(若未执行步骤118,则依据步骤108)设定的播放媒体文件的方式,播放该更新的播放列表224内所指向储存于第一存储器21内的媒体文件211。Step 120: Play the media file 211 pointed to in the updated playlist 224 and stored in the first memory 21 according to the playing media file mode set in step 118 (if step 118 is not executed, then according to step 108).

此外,在步骤110以及步骤120中,播放列表224内的锚点文件(由使用者选取,或可携式装置1目前正在播放的媒体文件)以及其它媒体文件于播放列表224内皆具有独特的索引值,因此播放播放列表224所指向储存于第一存储器21内的媒体文件211意味着可携式装置1的处理单元10先计算该锚点文件于播放列表224内具有的索引值,再依据计算得的索引值以及步骤108或步骤118所设定的播放规则自该锚点文件开始播放播放列表224内所有的媒体文件。In addition, in steps 110 and 120, the anchor file in the playlist 224 (selected by the user, or the media file that the portable device 1 is currently playing) and other media files in the playlist 224 all have unique Therefore, playing the media file 211 pointed to by the playlist 224 and stored in the first memory 21 means that the processing unit 10 of the portable device 1 first calculates the index value that the anchor file has in the playlist 224, and then according to The calculated index value and the playing rules set in step 108 or step 118 start playing all the media files in the playlist 224 from the anchor file.

接着以实际的例子说明本发明所揭露的媒体播放方法100于可携式装置1中的执行过程,且此处在步骤108或步骤118所描述的播放规则的设定皆「以循序方式(normal mode)播放该播放列表的媒体文件」作说明,其它播放规则的说明则不赘述。如图5以及图6所示,于可携式装置1中的媒体文件211以文件目录系统5的形式储存于存储单元20内,而在步骤104或步骤114中使用者通过可携式装置1所提供的设置选单(即使用者界面30)设定欲产生播放列表224的方式中,举例而言:Then, the execution process of the media playing method 100 disclosed in the present invention in the portable device 1 is illustrated with a practical example, and the setting of the playing rules described in step 108 or step 118 here is "in a sequential manner (normal mode) to play the media file of the playlist" for description, and the description of other play rules will not be described in detail. As shown in Fig. 5 and Fig. 6, the media file 211 in the portable device 1 is stored in the storage unit 20 in the form of the file directory system 5, and in step 104 or step 114, the user passes through the portable device 1 The provided setting menu (ie, the user interface 30) sets the mode for generating the playlist 224, for example:

若锚点文件为媒体文件54,且设定的列表规则为「选取可携式装置1所有媒体文件(all files)」,则会产生如图6的播放列表71,包含可携式装置1中所有的媒体文件,且自锚点文件54(具有索引值2)开始播放;If the anchor file is a media file 54, and the set list rule is "select all media files (all files) of the portable device 1", then a play list 71 as shown in Figure 6 will be generated, including in the portable device 1 All media files, and start playing from anchor point file 54 (with index value 2);

若锚点文件为媒体文件54,且设定的列表规则为「选取与该锚点文件同一目录的媒体文件(samc folder)」,则会产生如图6的播放列表72,包含可携式装置1中目录一下的媒体一以及媒体二(于选择区块51内),且自锚点文件54(具有索引值2)开始播放;If the anchor file is a media file 54, and the set list rule is "select the media file (samc folder) of the same directory as the anchor file", then a play list 72 as shown in Figure 6 will be produced, including portable devices Media 1 and Media 2 (in the selection block 51) of the first directory in 1, and start playing from the anchor point file 54 (with index value 2);

若锚点文件为媒体文件55,且设定的列表规则为「选取与该锚点文件同一目录的媒体文件(same folder)」,则会产生如图6的播放列表73,包含可携式装置1中目录三下的媒体文件,且自锚点文件55(具有索引值3)开始播放;If the anchor file is a media file 55, and the set list rule is "select the media file (same folder) of the same directory as the anchor file", then a playlist 73 as shown in Figure 6 will be produced, including portable devices The media file under directory three in 1, and starts to play from anchor point file 55 (with index value 3);

若锚点文件为媒体文件56,且设定的列表规则为「选取与该锚点文件同一目录及其子目录下的媒体文件(in same folder including subfolders)」,则会产生如图6的播放列表74,包含可携式装置1中目录二下(包含子目录:目录五以及目录六下)的媒体文件(于选择区块52内),且自锚点文件56(具有索引值1)开始播放;If the anchor file is a media file 56, and the set list rule is "select media files in the same directory as the anchor file and its subdirectories (in the same folder including subfolders)", the playback as shown in Figure 6 will be produced List 74, including media files (in selection block 52) under directory two (including subdirectories: directory five and directory six) in portable device 1, and starts from anchor file 56 (with index value 1) play;

若锚点文件为媒体文件55,且设定的列表规则为「选取与该锚点文件同阶层的目录的媒体文件(in sibling folders)」,则会产生如图6的播放列表75,包含可携式装置1中目录三以及目录四(与目录三同阶层)的媒体文件(于选择区块53内),且自锚点文件55(具有索引值3)开始播放;If the anchor point file is a media file 55, and the set list rule is "select the media file (in sibling folders) of the directory with the same level as the anchor point file", then the play list 75 as shown in Figure 6 will be produced, including the Media files (in the selection block 53) of directory three and directory four (same level as directory three) in the portable device 1, and start playing from the anchor point file 55 (with index value 3);

若锚点文件为媒体文件56,且设定的列表规则为「选取与该锚点文件同阶层的目录及其子目录下的媒体文件(in sibling folders includingsubfolders)」,则此条件下亦会产生如图6的播放列表71,亦包含可携式装置1中所有的媒体文件,且自锚点文件56(具有索引值9)开始播放。If the anchor file is a media file 56, and the set list rule is "select the media files in the directory and its subdirectories at the same level as the anchor file (in sibling folders including subfolders)", it will also be generated under this condition The playlist 71 shown in FIG. 6 also includes all media files in the portable device 1 and starts playing from the anchor file 56 (with an index value of 9).

图7则为上述媒体播放方法100于可携式装置1中的工作流程图。FIG. 7 is a flowchart of the operation of the above-mentioned media playing method 100 in the portable device 1 .

本发明于上述实施例中所揭露的媒体播放方式以及应用的可携式装置提供建立播放列表的方式,在可携式装置进行媒体文件播放之前(或媒体文件播放过程中),由使用者通过使用者界面先行设定欲产生播放列表的方式(或使用者不设定的情况下,以系统预设的方式),由可携式装置在列表规则库中选取一列表规则,并依照一锚点文件以及该列表规则产生包含多个媒体文件的播放列表,接着通过使用者界面设定(或不设定,而以系统预设的方式)欲播放该播放列表内媒体文件的顺序,再由该锚点文件开始播放该播放列表内所选择的多个媒体文件,通过提供产生播放列表的设定,使可携式装置中媒体播放的方法具有更多的选择性以及符合使用者需求更大的弹性。The media playing method disclosed in the above-mentioned embodiments of the present invention and the applied portable device provide a way to create a playlist. Before the portable device plays the media file (or during the media file playing), the user The user interface first sets the way to generate the playlist (or if the user does not set it, the system default method), the portable device selects a list rule in the list rule library, and according to an anchor Click the file and the list rules to generate a playlist that includes multiple media files, then set the order of the media files in the playlist through the user interface (or not set, but in the system default mode), and then by The anchor file starts to play multiple media files selected in the playlist, and by providing settings for generating the playlist, the method of media playback in the portable device has more options and meets the needs of users more flexibility.

以上所述仅为本发明的较佳实施例,凡依本发明权利要求范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.

Claims (21)

1.一种可携式装置的媒体播放方法,该可携式装置以一文件目录系统储存有多个媒体文件,该媒体播放方法包含步骤:1. A media playing method of a portable device, the portable device stores a plurality of media files with a file directory system, and the media playing method comprises steps: 于该多个媒体文件中选取一锚点文件;Select an anchor file from the plurality of media files; 自多个列表规则中选取一第一列表规则,该多个列表规则包含:(a)选取与该锚点文件同一目录及其子目录下的媒体文件、(b)选取与该锚点文件同阶层的目录的媒体文件、以及(c)选取与该锚点文件同阶层的目录及其子目录下的媒体文件,其中该多个列表规则存储于一列表规则库中;Select a first list rule from a plurality of list rules, the plurality of list rules include: (a) select the media file under the same directory as the anchor file and its subdirectory, (b) select the same directory as the anchor file The media files of the directory of the hierarchy, and (c) selecting the media files under the directory of the same hierarchy as the anchor file and its subdirectories, wherein the plurality of list rules are stored in a list rule library; 通过选取所述锚点文件以及选取该第一列表规则后,依据该第一列表规则内容自该多个媒体文件中选取媒体文件,以产生一播放列表;以及After selecting the anchor file and selecting the first list rule, select media files from the plurality of media files according to the content of the first list rule to generate a playlist; and 依据一播放规则利用该可携式装置播放该播放列表内的媒体文件;Utilize the portable device to play the media files in the playlist according to a play rule; 其中该多个媒体文件、该第一列表规则、该播放规则以及该列表规则库被储存于该可携式装置的一存储单元内。Wherein the plurality of media files, the first list rule, the play rule and the list rule library are stored in a storage unit of the portable device. 2.根据权利要求1所述的媒体播放方法,其中于该多个媒体文件中选取一锚点文件包含步骤:2. The media playing method according to claim 1, wherein selecting an anchor file in the plurality of media files comprises the steps of: 于该多个媒体文件中,设定该可携式装置正在播放的一媒体文件为该锚点文件。Among the plurality of media files, a media file being played by the portable device is set as the anchor file. 3.根据权利要求1所述的媒体播放方法,其中于该多个媒体文件中选取一锚点文件包含步骤:3. The media playing method according to claim 1, wherein selecting an anchor file in the plurality of media files comprises the steps of: 利用该可携式装置的一使用者界面于该多个媒体文件中选取一媒体文件作为该锚点文件。Using a user interface of the portable device to select a media file from the plurality of media files as the anchor file. 4.根据权利要求1所述的媒体播放方法,该多个列表规则还至少包含:(d)选取该可携式装置所有媒体文件、以及(e)选取与该锚点文件同一目录的媒体文件。4. The media playing method according to claim 1, the plurality of list rules also at least include: (d) selecting all media files of the portable device, and (e) selecting media files in the same directory as the anchor file . 5.根据权利要求1所述的媒体播放方法,其中自该多个列表规则中选取该第一列表规则是利用该可携式装置的一使用者界面选取该第一列表规则。5. The media playing method according to claim 1, wherein selecting the first list rule from the plurality of list rules is selecting the first list rule by using a user interface of the portable device. 6.根据权利要求1所述的媒体播放方法,还包含步骤:依据该锚点文件,以及该第一列表规则或一第二列表规则自该多个媒体文件中选取媒体文件以更新该播放列表。6. The media playing method according to claim 1, further comprising the step of: selecting media files from the plurality of media files to update the playlist according to the anchor file, and the first list rule or a second list rule . 7.根据权利要求1所述的媒体播放方法,还包含步骤:自一播放规则库中选取该播放规则;7. The media playing method according to claim 1, further comprising the step of: selecting the playing rule from a playing rule storehouse; 其中该播放规则库被储存于该存储单元内,该播放规则库至少包含:以循序方式播放该播放列表的媒体文件、以重复播放方式播放该播放列表的媒体文件、以单一重复播放方式播放该锚点文件、以及以随机播放方式播放该播放列表的媒体文件。Wherein the playing rule library is stored in the storage unit, the playing rule library at least includes: playing the media files of the play list in a sequential manner, playing the media files of the play list in a repeat playing mode, playing the media files of the play list in a single repeat playing mode Anchor point file, and play the media file of this play list in random play mode. 8.根据权利要求7所述的媒体播放方法,其中自一播放规则库中选取该播放规则是利用该可携式装置的一使用者界面选取该播放规则。8. The media playing method according to claim 7, wherein selecting the playing rule from a playing rule library is selecting the playing rule through a user interface of the portable device. 9.一种可携式装置,其包含有:9. A portable device comprising: 一存储单元,储存有多个媒体文件、一列表规则库包含有多个列表规则、以及一播放规则,其中该多个媒体文件是以一文件目录系统的方式存储于该存储单元中;以及A storage unit stores a plurality of media files, a list rule library includes a plurality of list rules, and a play rule, wherein the plurality of media files are stored in the storage unit in the form of a file directory system; and 一处理单元,用来于该多个媒体文件中选取一锚点文件,通过选取该锚点文件以及自该多个列表规则中选取一第一列表规则,依据该第一列表规则内容自该多个媒体文件中选取媒体文件以产生一播放列表,以及依据该播放规则播放该播放列表内的媒体文件,其中该播放列表被储存于该存储单元内,而该多个列表规则包括(a)选取与该锚点文件同一目录及其子目录下的媒体文件、(b)选取与该锚点文件同阶层的目录的媒体文件、以及(c)选取与该锚点文件同阶层的目录及其子目录下的媒体文件。A processing unit is used to select an anchor file from the plurality of media files, by selecting the anchor file and selecting a first list rule from the plurality of list rules, according to the content of the first list rule from the multiple list rules Select media files in a media file to generate a playlist, and play the media files in the playlist according to the play rule, wherein the playlist is stored in the storage unit, and the plurality of list rules include (a) selection Media files in the same directory as the anchor file and its subdirectories, (b) select the media files in the directory at the same level as the anchor file, and (c) select the directory at the same level as the anchor file and its subdirectories media files in the directory. 10.根据权利要求9所述的可携式装置,其中该处理单元用来于该多个媒体文件中设定正在播放的一媒体文件为该锚点文件。10. The portable device according to claim 9, wherein the processing unit is configured to set a media file being played as the anchor file among the plurality of media files. 11.根据权利要求9所述的可携式装置,还包含一使用者界面,用来于该多个媒体文件中选取一媒体文件以供该处理单元设定为该锚点文件。11. The portable device according to claim 9, further comprising a user interface for selecting a media file from among the plurality of media files for the processing unit to set as the anchor file. 12.根据权利要求11所述的可携式装置,其中该使用者界面为该可携式装置上的按键、触控式屏幕、感应器或信号接收器。12. The portable device according to claim 11, wherein the user interface is a button, a touch screen, a sensor or a signal receiver on the portable device. 13.根据权利要求9所述的可携式装置,其中该存储单元包含一第一存储器以及一第二存储器,该第一存储器用来储存该多个媒体文件、该列表规则库以及一播放规则库,该第二存储器用来储存该第一列表规则、该播放规则以及该播放列表。13. The portable device according to claim 9, wherein the storage unit comprises a first memory and a second memory, the first memory is used to store the plurality of media files, the list rule base and a play rule library, the second memory is used to store the first list rule, the play rule and the play list. 14.根据权利要求13所述的可携式装置,其中该第一存储器与该第二存储器为两相异物理存储器或一物理存储器的相异扇区。14. The portable device according to claim 13, wherein the first memory and the second memory are two different physical memories or different sectors of a physical memory. 15.根据权利要求13所述的可携式装置,其中该存储单元中至少一存储器是位于该控制单元的暂存区内。15. The portable device according to claim 13, wherein at least one memory in the storage unit is located in a temporary storage area of the control unit. 16.根据权利要求13所述的媒体播放方法,该多个列表规则还至少包含以下规则:(d)选取该可携式装置所有媒体文件、以及(e)选取与该锚点文件同一目录的媒体文件。16. The media playing method according to claim 13, the plurality of list rules also at least include the following rules: (d) select all media files of the portable device, and (e) select the same directory as the anchor file media files. 17.根据权利要求13所述的可携式装置,还包含一使用者界面,用来自该列表规则库中选取该第一列表规则以储存于该第二存储器中。17. The portable device according to claim 13, further comprising a user interface for selecting the first list rule from the list rule library to store in the second memory. 18.根据权利要求13所述的可携式装置,其中该播放规则库至少包含:以循序方式播放该播放列表的媒体文件、以重复播放方式播放该播放列表的媒体文件、以单一重复播放方式播放该锚点文件、以及以随机播放方式播放该播放列表的媒体文件。18. The portable device according to claim 13, wherein the play rule library at least includes: playing the media files of the playlist in a sequential manner, playing the media files of the playlist in a repeat play mode, and playing the media files in the play list in a single repeat play mode The anchor file is played, and the media files of the playlist are played randomly. 19.根据权利要求18所述的可携式装置,还包含一使用者界面,用来自该播放规则库中选取该第一播放规则以储存于该第二存储器中。19. The portable device according to claim 18, further comprising a user interface for selecting the first playing rule from the playing rule library to store in the second memory. 20.根据权利要求13所述的可携式装置,其中该存储单元中至少一存储器为一闪存。20. The portable device according to claim 13, wherein at least one memory in the storage unit is a flash memory. 21.根据权利要求9所述的可携式装置,其中该多个媒体文件为音乐文件、静态图像文件或动态图像文件。21. The portable device according to claim 9, wherein the plurality of media files are music files, still image files or dynamic image files.
CN 200910167364 2009-08-21 2009-08-21 Media playing method of portable device and its portable device Expired - Fee Related CN101996665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910167364 CN101996665B (en) 2009-08-21 2009-08-21 Media playing method of portable device and its portable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910167364 CN101996665B (en) 2009-08-21 2009-08-21 Media playing method of portable device and its portable device

Publications (2)

Publication Number Publication Date
CN101996665A CN101996665A (en) 2011-03-30
CN101996665B true CN101996665B (en) 2012-12-12

Family

ID=43786692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910167364 Expired - Fee Related CN101996665B (en) 2009-08-21 2009-08-21 Media playing method of portable device and its portable device

Country Status (1)

Country Link
CN (1) CN101996665B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360352A (en) * 2011-09-29 2012-02-22 惠州市德赛西威汽车电子有限公司 Method for managing dynamic media library of vehicle-mounted entertainment system
CN103165148B (en) * 2011-12-09 2017-11-07 上海博泰悦臻电子设备制造有限公司 A kind of vehicle-mounted end and vehicle-mounted end method for playing music
CN103165149B (en) * 2011-12-09 2017-05-24 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted terminal and vehicle-mounted terminal music playing method
TWI553492B (en) * 2013-02-04 2016-10-11 緯創資通股份有限公司 Display method, electronic device, multimedia system, and computer program product

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148857A (en) * 2006-07-20 2011-08-10 桑迪士克股份有限公司 Content distribution system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148857A (en) * 2006-07-20 2011-08-10 桑迪士克股份有限公司 Content distribution system

Also Published As

Publication number Publication date
CN101996665A (en) 2011-03-30

Similar Documents

Publication Publication Date Title
KR100990611B1 (en) System and method for creating playlist
US8560950B2 (en) Advanced playlist creation
US20100229088A1 (en) Graphical representations of music using varying levels of detail
US20140123006A1 (en) User interface for streaming media stations with flexible station creation
CN101185136B (en) Creation of digital program playback lists in a digital device based on hierarchal grouping of a current digital program
CN101149948B (en) Reproducing device, reproducing method and reproducing program
CN103201732B (en) The method of management playlist and portable media device
KR20100132705A (en) Method of providing contents list and applied multimedia device
EP2035964A1 (en) Graphical display
WO2010065107A1 (en) System and method for browsing, selecting and/or controlling rendering of media with a mobile device
CN105575413A (en) Method for playing music of multimedia device in vehicle
US7840292B2 (en) Multiuser playlist generation
CN101582287A (en) Method and device for providing content playlist
JP4685015B2 (en) Method, system and media player for selecting media items
CN101996665B (en) Media playing method of portable device and its portable device
US20100162120A1 (en) Digital Media Player User Interface
CN100374997C (en) Device for playing back multimedia files
US20060294131A1 (en) System and method for generating a play-list
US20110047131A1 (en) Media playback method for a portable device and portable device thereof
US20060288042A1 (en) System and method for generating a play-list
US20110125297A1 (en) Method for setting up a list of audio files
US20070005617A1 (en) Display control method, content data reproduction apparatus, and program
CN103970405B (en) display method, electronic device and multimedia system
KR100732665B1 (en) User terminal device having music file management function and management method thereof
US20140359440A1 (en) Shuffle functionality for a media player

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

Termination date: 20140821

EXPY Termination of patent right or utility model