JP2009128464A - Portable media player, file server, media file transfer method, and computer program - Google Patents
Portable media player, file server, media file transfer method, and computer program Download PDFInfo
- Publication number
- JP2009128464A JP2009128464A JP2007301262A JP2007301262A JP2009128464A JP 2009128464 A JP2009128464 A JP 2009128464A JP 2007301262 A JP2007301262 A JP 2007301262A JP 2007301262 A JP2007301262 A JP 2007301262A JP 2009128464 A JP2009128464 A JP 2009128464A
- Authority
- JP
- Japan
- Prior art keywords
- file
- media
- partial
- playback
- partial 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.)
- Pending
Links
Images
Abstract
Description
本発明は、ネットワーク環境でのストリーミング再生機能を有したポータブルメディアプレーヤ(以下ではPMP(Portable Media Player) と呼ぶ)、このPMPにメディアファイルを転送するファイルサーバ、これらを利用したファイル転送方法およびコンピュータプログラムに関する。 The present invention relates to a portable media player (hereinafter referred to as a PMP (Portable Media Player)) having a streaming reproduction function in a network environment, a file server for transferring a media file to the PMP, a file transfer method using these, and a computer. Regarding the program.
ネットワーク環境でのストリーミング再生機能を有したPMP型のクライアントが存在する(例えば、特許文献1参照)。これは、ファイルサーバとPMPとの間をネットワーク(LAN:Local Area Network)接続し、ファイルサーバ側に貯めてある音楽ファイルまたは動画ファイルまたは静止画ファイルなどのメディアファイルをPMP側にストリーミング転送し、PMP側で再生するものである。 There is a PMP type client having a streaming reproduction function in a network environment (see, for example, Patent Document 1). This is a network (LAN: Local Area Network) connection between the file server and the PMP, and media files such as music files, moving image files or still image files stored on the file server side are streamed to the PMP side, Playback is performed on the PMP side.
利点としては、PMP側にファイルを溜め込むための内蔵メディアが不要になることが挙げられる。一般的にメディアファイルは数MB〜数GB単位のファイルが存在し、これを保存する内蔵メディアは、やはり数GBの大容量である必要がある。 As an advantage, there is no need for a built-in medium for storing files on the PMP side. In general, there are media files of several MB to several GB units, and the built-in media for storing them must have a large capacity of several GB.
従来のシステム構成を図1に示し、PMPがファイルサーバからネットワーク経由でファイルを取得して再生が開始するまでの手順を図2に示す。図1に示すように、例えばファイルサーバ100と固定プレーヤ300とが有線LANで接続され、ファイルサーバ100とPMP200とが無線LANで接続されている。無線LANの場合には、屋外に設置されたホットスポットを介して接続することもできる。
FIG. 1 shows a conventional system configuration, and FIG. 2 shows a procedure from when a PMP acquires a file from a file server via a network to start playback. As shown in FIG. 1, for example, the
図2に示すように、PMP200はファイルサーバ100と共有フォルダを指定してアクセスする(S1)。これにより、PMP200とファイルサーバ100との間では、通信開始の要求および返答が行われ(S2)、以降の通信に必要なパラメータの交換であるネゴシエーションが行われ(S3)、認証が行われるとセッションを確立し(S4)、PMP200はファイルサーバ100からファイルやフォルダの索引情報を取得する(S5)。
As shown in FIG. 2, the PMP 200 accesses the
続いて、PMP200は取得した共有フォルダ内のメディアファイルを表示部などのUI(User Interface)上に表示する(S6)。ユーザは、表示されたメディアファイルを参照し、その中からメディアファイルを選択して再生要求する(S7)。再生要求が行われるとPMP200はファイルサーバ100から一定量のファイル情報を取得する(S8)。
Subsequently, the
ファイル情報を取得したPMP200では取得したファイルの正当性を解析し(S9)、再生を開始する(S10)。以降も順次、ファイル情報を取得する(S11)。
The
ここでファイルの正当性の解析とは、例えば、ファイルが規格に定められた正当なファイル形式であるか否かを解析する。例えば、MP3(MPEG Audio Layer-3)であればフレームヘッダが正当かどうかを解析する。あるいは、プレイヤが再生対応できる範囲内のサンプリングレート、ビットレート、チャネル数の音楽ファイルか否かを解析する。 Here, the analysis of the validity of the file is, for example, analyzing whether or not the file is a valid file format defined in the standard. For example, in the case of MP3 (MPEG Audio Layer-3), it is analyzed whether the frame header is valid. Alternatively, it is analyzed whether or not the music file has a sampling rate, bit rate, and number of channels within a range that the player can play.
PMP側では、ストリーミング再生を始めるにあたり、サーバ内のファイルのありかを取得する必要があり、その後に、ある一定量のファイル情報を取得する必要がある。 On the PMP side, when streaming playback is started, it is necessary to acquire the presence of a file in the server, and thereafter, it is necessary to acquire a certain amount of file information.
そのため、ファイルのありかを取得するのと、ファイルの再生を指示してから一定量のファイル情報を取得するまでに時間がかかり、トータルして所望のファイルを再生するまでに時間を費やすことになる。 Therefore, it takes time to acquire the existence of a file and to acquire a certain amount of file information after instructing the file to be played, and to spend time to play the desired file in total. Become.
例えば、家庭内の有線LANは閉じた環境であり、その環境毎の転送速度はある程度約束されるが、特に、屋外のホットスポットを利用した無線LAN環境では、ネットワークの転送速度は環境あるいは混雑具合によってまちまちであり、ネットワーク認証およびデータ取得にかかる時間も長くなることが考えられ、その結果、再生開始がさらに遅くなることもあり、ユーザの不利益になる。 For example, a wired LAN in a home is a closed environment, and a transfer rate for each environment is promised to some extent. However, particularly in a wireless LAN environment using an outdoor hot spot, the network transfer rate depends on the environment or the degree of congestion. Depending on the situation, the time required for network authentication and data acquisition may be longer. As a result, the playback start may be further delayed, which is disadvantageous to the user.
本発明は、このような課題を解決するために行われたものであって、再生開始時のファイル情報の取得に要する時間を短縮することができるPMP、ファイルサーバ、メディアファイル転送方法およびコンピュータプログラムを提供することを目的とする。 The present invention has been made to solve such a problem, and is a PMP, a file server, a media file transfer method, and a computer program that can reduce the time required to acquire file information at the start of reproduction. The purpose is to provide.
上記目的を達成するために、本発明は、ストリーミング転送されるメディアファイルを受信して再生するPMPであり、メディアファイルの受信に先立って、このメディアファイルの転送元からこのメディアファイルの部分ファイルを取得する部分ファイル取得手段と、メディアファイルの再生要求を受け付けると予め取得した部分ファイルの再生を開始すると共に、当該部分ファイルを包含するメディアファイルを転送元から取得して再生するメディアファイル再生手段とを備える。 In order to achieve the above object, the present invention is a PMP that receives and plays back a media file to be streamed, and prior to receiving the media file, the partial file of the media file is transferred from the source of the media file. A partial file acquisition unit to acquire, and a media file playback unit to start playback of a partial file acquired in advance upon receiving a media file playback request, and to acquire and play a media file including the partial file from a transfer source; Is provided.
また、自プレーヤ内における部分ファイルの格納場所へのパス情報とネットワーク内における部分ファイルを包含するメディアファイルの格納場所へのパス情報とを互いに関連付けて保持する部分ファイル保持手段を備えることができる。 Further, it is possible to provide partial file holding means for holding the path information to the storage location of the partial file in the player and the path information to the storage location of the media file including the partial file in the network in association with each other.
また、メディアファイル再生手段は、例えば、部分ファイルの再生終了後に当該部分ファイルに後続するメディアファイルの再生を開始する。あるいは、部分ファイルの再生中であっても当該部分ファイルに後続するメディアファイルを一定量取得した時点で部分ファイルの再生から当該部分ファイルに後続するメディアファイルの再生に切替えることもできる。 Also, the media file playback means starts playback of the media file that follows the partial file after the playback of the partial file, for example. Alternatively, even when a partial file is being played, it is possible to switch from playing a partial file to playing a media file following the partial file when a certain amount of media files following the partial file are acquired.
また、部分ファイル保持手段は、取得した部分ファイルを最下位ノードに含むツリー構成のインデックスを所定のルールに従って作成することができる。 The partial file holding means can create a tree-structured index including the acquired partial file in the lowest node according to a predetermined rule.
また、別の本発明は、ファイルサーバであり、メディアファイルの一部分を選択して部分ファイルを生成する部分ファイル生成手段と、生成した部分ファイルを本発明のPMPに転送する部分ファイル転送手段とを備える。 Another aspect of the present invention is a file server, comprising: a partial file generation unit that selects a part of a media file and generates a partial file; and a partial file transfer unit that transfers the generated partial file to the PMP of the present invention. Prepare.
また、別の本発明は、ストリーミング転送されるメディアファイルを受信してPMPで再生するメディアファイル転送方法であり、PMPが、メディアファイルの受信に先立って、このメディアファイルの転送元からこのメディアファイルの部分ファイルを取得し、メディアファイルの再生要求を受け付けると予め取得した部分ファイルの再生を開始すると共に、当該部分ファイルを包含するメディアファイルを転送元から取得して再生する。 Another aspect of the present invention is a media file transfer method for receiving a media file to be transferred by streaming and playing it by PMP. The PMP receives the media file from the transfer source of the media file prior to receiving the media file. When the partial file is acquired and a reproduction request for the media file is received, reproduction of the partial file acquired in advance is started, and a media file including the partial file is acquired from the transfer source and reproduced.
また、PMPが、自プレーヤ内における部分ファイルの格納場所へのパス情報とネットワーク内における部分ファイルを包含するメディアファイルの格納場所へのパス情報とを互いに関連付けて保持することができる。 Further, the PMP can hold the path information to the storage location of the partial file in the player and the path information to the storage location of the media file including the partial file in the network in association with each other.
また、部分ファイルの再生終了後に当該部分ファイルに後続するメディアファイルの再生を開始することもできるし、あるいは、部分ファイルの再生中であっても当該部分ファイルに後続するメディアファイルを一定量取得した時点で部分ファイルの再生から当該部分ファイルに後続するメディアファイルの再生に切替えることもできる。 It is also possible to start playback of the media file that follows the partial file after the playback of the partial file, or to acquire a certain amount of media files that follow the partial file even during playback of the partial file. It is also possible to switch from playback of a partial file to playback of a media file that follows the partial file at that time.
また、取得した部分ファイルを最下位ノードに含むツリー構成のインデックスを所定のルールに従って作成することができる。 In addition, a tree-structured index including the acquired partial file at the lowest node can be created according to a predetermined rule.
また、ファイルサーバが、メディアファイルの一部分を選択して部分ファイルを生成し、生成した部分ファイルをPMPに転送することができる。 Further, the file server can select a part of the media file to generate a partial file, and transfer the generated partial file to the PMP.
また、別の本発明は、コンピュータプログラムであり、汎用のコンピュータ装置にインストールすることにより、その汎用のコンピュータ装置に、本発明のPMPまたはファイルサーバの少なくとも一部の機能に相応する機能を実現させるコンピュータプログラムである。 Another aspect of the present invention is a computer program that, when installed in a general-purpose computer apparatus, causes the general-purpose computer apparatus to realize functions corresponding to at least some of the functions of the PMP or file server of the present invention. It is a computer program.
本発明のコンピュータプログラムは記録媒体に記録されることにより、汎用のコンピュータ装置は、この記録媒体を用いて本発明のコンピュータプログラムをインストールすることができる。あるいは、本発明のコンピュータプログラムを保持するサーバからネットワークを介して直接汎用のコンピュータ装置に本発明のコンピュータプログラムをインストールすることもできる。 By recording the computer program of the present invention on a recording medium, a general-purpose computer apparatus can install the computer program of the present invention using this recording medium. Alternatively, the computer program of the present invention can be directly installed on a general-purpose computer device via a network from a server holding the computer program of the present invention.
これにより、汎用のコンピュータ装置を用いて、本発明のPMPまたはファイルサーバの機能に相応する機能を実現することができる。 Thereby, a function corresponding to the function of the PMP or the file server of the present invention can be realized using a general-purpose computer device.
なお、本発明のコンピュータプログラムは、汎用のコンピュータ装置によって直接実行可能なものだけでなく、ハードディスクなどにインストールすることによって実行可能となるものも含む。また、圧縮されたり、暗号化されたりしたものも含む。 The computer program of the present invention includes not only a program that can be directly executed by a general-purpose computer device but also a program that can be executed by being installed on a hard disk or the like. Also included are those that are compressed or encrypted.
本発明によれば、再生開始時のファイル情報の取得に要する時間を短縮することができる。 According to the present invention, the time required to acquire file information at the start of playback can be shortened.
本発明の実施形態のポータブルメディアプレーヤ(以後、PMPという)およびファイルサーバの構成を図3および図4を参照して説明する。図3は本実施形態のPMPのブロック構成図であり、図4は本実施形態のファイルサーバのブロック構成図である。 A configuration of a portable media player (hereinafter referred to as PMP) and a file server according to an embodiment of the present invention will be described with reference to FIGS. FIG. 3 is a block diagram of the PMP of this embodiment, and FIG. 4 is a block diagram of the file server of this embodiment.
本実施形態のPMP20は、図3に示すように、メディアファイルの受信に先立って、このメディアファイルの転送元であるファイルサーバ10からこのメディアファイルの部分ファイルを取得する部分ファイル取得手段としての部分ファイル取得部21と、メディアファイルの再生要求を受け付けると予め取得した部分ファイルの再生を開始すると共に、当該部分ファイルを包含するメディアファイルをファイルサーバ10から取得して再生するメディアファイル再生手段としてのメディアファイル再生部23とを備えたことを特徴とする。
As shown in FIG. 3, the
取得した部分ファイルは部分ファイル保持部22に保持されてメディアファイル再生部23によって利用される。
The acquired partial file is held in the partial
また、メディアファイル再生部23は、表示部24に、部分ファイル保持部22に格納されている情報を表示する。ユーザは、この表示を参照し、再生を希望するメディアファイルを選択して操作部25により再生要求をメディアファイル再生部23に入力する。
In addition, the media
また、本実施形態のファイルサーバ10は、図4に示すように、メディアファイルの一部分を選択して部分ファイルを生成する部分ファイル生成部13と、生成した部分ファイルをPMP20に転送する部分ファイル転送手段としての部分ファイル転送部15とを備える。
Further, as shown in FIG. 4, the
部分ファイル生成部13が生成した部分ファイルは、部分ファイル保持部14に格納されて部分ファイル転送部15によってPMP20に配信される。
The partial file generated by the partial
また、メディアファイル転送手段としてのメディアファイル転送部11が配信するメディアファイルはメディアファイル保持部12に保持されている。部分ファイル生成手段としての部分ファイル生成部13は、メディアファイル保持部12に保持されているメディアファイルから部分ファイルを生成する。
A media file distributed by the media file transfer unit 11 serving as a media file transfer unit is held in the media
次に、本実施形態のPMP20がメディアファイルの再生を行うまでの準備段階について図5から図8を参照して説明する。図5はファイルサーバ10が有するフォルダツリーを示す図である。図6はPMP20が有するフォルダツリーを示す図である。図7はPMP20が有する仮想フォルダツリーを示す図である。図8はファイルサーバ10からPMP20へのツリーリスト転送手順を示すフローチャートである。
(1)有線ケーブル(有線LAN、有線USB(Universal Serial Bus) など)でPMP20とファイルサーバ10とを接続する。
(2)ファイルサーバ10の共有フォルダ以下の図5に示すフォルダツリー構成情報およびメディアファイルの先頭部分をピックアップした部分ファイルをPMP20が内蔵するメディア(フラッシュメモリ、HDD(Hard Disk Drive)など)に転送する。
(3)PMP20内にデータベース情報として図6に示すようなツリー構成のインデックスを作成する。また、図7に示すように、それぞれのメディアファイルノードに対し、PMP内の部分ファイルのパス情報とサーバ側のネットワークのパス情報とを関連付けておく(図7のフォルダツリーを仮想フォルダツリーと呼ぶ)。
(4)PMP20とファイルサーバ10との接続を解除する。
Next, a preparation stage until the
(1) The
(2) Shared folder of the
(3) Create a tree-structured index as shown in FIG. Further, as shown in FIG. 7, the path information of the partial file in the PMP and the path information of the network on the server side are associated with each media file node (the folder tree in FIG. 7 is called a virtual folder tree). ).
(4) Release the connection between the
ここで、ファイルサーバ10からPMP20に部分ファイルを転送するときの手順を図8のフローチャートを参照して詳述する。
Here, the procedure for transferring a partial file from the
ファイルサーバ10におけるPCアプリケーション上で共有フォルダの転送が指示されると(S10)、PCアプリケーション上で「転送中」の表示を行い(S11)、PCの共有フォルダ以下のフォルダ構成およびファイル構成をツリーリストに保存し(S12)、PMP側にツリーリストを転送する(S13)。 When the transfer of the shared folder is instructed on the PC application in the file server 10 (S10), “Transferring” is displayed on the PC application (S11), and the folder structure and file structure below the PC shared folder are displayed in a tree. The list is stored (S12), and the tree list is transferred to the PMP side (S13).
PMP側にツリーリストを転送する際には、共有フォルダ以下で、PMPに未転送のファイルを検索し(S14)、未転送のファイルが存在する場合には、その転送するファイルをオープンする(S15)。このとき、ファイルのヘッダ情報からメタ情報を取得し、メモリ内に記憶しておく(S16)。 When the tree list is transferred to the PMP side, a file not transferred to the PMP is searched under the shared folder (S14). If there is an untransferred file, the file to be transferred is opened (S15). ). At this time, the meta information is acquired from the header information of the file and stored in the memory (S16).
ファイル先頭のN秒分までをPCMデータにデコードし、一時的に退避する(S17)。このPCMデータを所定のファイル形式に変換する(S18)。変換したファイルのヘッダに事前に記憶したメタ情報を書き込む(S19)。変換したファイルをPMP側に転送する(S20)。PMP側に転送したツリーリストに、変換したファイルを関連付ける(S21)。 Up to N seconds at the beginning of the file are decoded into PCM data and temporarily saved (S17). The PCM data is converted into a predetermined file format (S18). The meta information stored in advance is written in the header of the converted file (S19). The converted file is transferred to the PMP side (S20). The converted file is associated with the tree list transferred to the PMP side (S21).
このようにして未転送のファイルが無くなったら(S14)、転送終了の表示を行う(S22)。 When there is no untransferred file in this way (S14), the transfer end display is performed (S22).
次に、PMP20における再生手順を図9を参照して説明する。図9はPMP20における再生手順を示すフローチャートである。PMP20を屋外に持ち出し、無線ネットワーク接続環境下で再生する際には、図9に示すような手順となる。
Next, the playback procedure in the
すなわち、予め転送された仮想フォルダ情報を用いてファイルサーバ10の共有フォルダ内のメディアファイルを表示部24上に表示する(S30)。ユーザは、表示部24に表示されたメディアファイルの中から所望するメディアファイルを選択して操作部25により再生要求を行う(S31)。
That is, the media file in the shared folder of the
予め転送された部分ファイルでファイル情報を取得すると共にファイルの正当性を解析する(S32)。さらに、予め転送された部分ファイルを再生する(S33)。 The file information is acquired with the partial file transferred in advance and the validity of the file is analyzed (S32). Further, the partial file transferred in advance is reproduced (S33).
続いて、ファイルサーバ10、共有フォルダ、メディアファイルを指定してアクセスする(S34)。これにより、PMP20とファイルサーバ10との間では、通信開始の要求および返答が行われ(S35)、以降の通信に必要なパラメータの交換であるネゴシエーションが行われ(S36)、認証が行われるとセッションを確立し(S37)、PMP20はファイルサーバ10からファイルやフォルダの索引情報を取得する(S38)。
Subsequently, the
さらに、一定量のファイル情報を取得すると(S39)。取得したファイルの正当性を解析し(S40)、再生を継続する(S41)。以降も順次、ファイル情報を取得する(S42)。 Further, when a certain amount of file information is acquired (S39). The legitimacy of the acquired file is analyzed (S40), and reproduction is continued (S41). Thereafter, the file information is acquired sequentially (S42).
なお、ステップS40においてファイルの正当性が認められない場合には、過去に取得した部分ファイルと今回取得したファイル情報とが異なっていることがわかり、そのようなときには、PMP20はファイルサーバ10に対して転送されたファイル情報が誤りである旨の通知を行って正しいファイル情報の再送を促すなどの処置を行うことができる。
If the validity of the file is not recognized in step S40, it is found that the partial file acquired in the past is different from the file information acquired this time. In such a case, the
図2と比較すると、再生候補となるファイルのありかや、再生対象ファイルそのものの一定量のファイル情報は既にPMP20の内蔵メディアに保存されているため、再生開始までの手順ではネットワーク接続は不要であり、速やかにファイル再生を開始することができる。
Compared with FIG. 2, since there is a file as a playback candidate and a certain amount of file information of the file to be played back is already stored in the built-in medium of the
次に、部分ファイルの生成方法について図10および図11を参照して説明する。図10はWAV(RIFF Waveform Audio Format)ファイルにおける部分ファイル生成方法を説明するための図であり、図11はMP3ファイルにおける部分ファイル生成方法を説明するための図である。 Next, a method for generating a partial file will be described with reference to FIGS. FIG. 10 is a diagram for explaining a partial file generation method in a WAV (RIFF Waveform Audio Format) file, and FIG. 11 is a diagram for explaining a partial file generation method in an MP3 file.
例えば、WAVファイルであれば、図10に示すように、dataチャンク内の任意のデータフレームでファイルを切り、データサイズを変更することで作成できる。あるいは、MP3ファイルであれば、図11に示すように、任意のsyncデータの先頭位置でファイルを切ることで作成できる。部分ファイル♯1はデータフレーム1個分であり、部分ファイル♯2はデータフレーム2個分である。その他、必要に応じて転送時にファイル変換を行うこととする。
For example, a WAV file can be created by cutting the file at an arbitrary data frame in the data chunk and changing the data size, as shown in FIG. Alternatively, an MP3 file can be created by cutting the file at the start position of arbitrary sync data, as shown in FIG.
次に、部分ファイルから取得したファイル情報による部分データ再生とネットワークから取得したファイル情報によるデータ再生とを切替える手順が必要となるが、その切替え手順について図12および図13を参照して説明する。 Next, a procedure for switching between the partial data reproduction based on the file information acquired from the partial file and the data reproduction based on the file information acquired from the network is necessary. The switching procedure will be described with reference to FIGS.
再生する際に、実際に使用するファイル情報は、保存された部分ファイル情報とネットワークから取得したファイル情報のどちらかとなり、再生が進む中で部分ファイルによる部分ファイル再生からネットワークから取得したファイル情報による全ファイル再生に切替える必要がある。 When playing back, the file information actually used is either the saved partial file information or the file information acquired from the network, and the file information acquired from the network from the partial file playback by the partial file as playback progresses It is necessary to switch to all file playback.
図12の例は、最初に部分ファイル再生し(S50)、部分ファイル再生が終わったら(S51)、ネットワークから取得したファイル情報による全ファイル再生に切替える(S52)。 In the example of FIG. 12, partial file reproduction is first performed (S50), and when partial file reproduction is completed (S51), switching to full file reproduction based on file information acquired from the network is performed (S52).
図13の例は、最初に部分ファイル再生し(S60)、ネットワークから一定量(再生処理中にファイル情報が枯渇しない量)のファイル情報を取得したら(S61)、ネットワークから取得したファイル情報による全ファイル再生に切替える(S62)。 In the example of FIG. 13, when a partial file is first played back (S60) and a certain amount of file information is obtained from the network (amount of file information is not exhausted during playback processing) (S61), all the file information obtained from the network is obtained. Switching to file playback (S62).
なお、図12および図13のいずれの例でも、部分ファイル再生から全ファイル再生に切替える際には、部分ファイルで既に再生した部分に後続する部分からシームレスに全ファイル再生に切替えるようにする。 In both examples of FIGS. 12 and 13, when switching from partial file playback to full file playback, it is possible to seamlessly switch to playback of all files from a portion subsequent to a portion already played back in the partial file.
この切替え処理についてさらに詳細に説明すると、例えば、オーディオファイルの音楽データは、細切れになったフレーム(パケット)の集合により構成されている。ここでMP3を例に挙げると、1152サンプル(サンプルレート44.1kHzならば約26ms分)毎に細切れになったフレーム(パケット)の集合により構成されている。 The switching process will be described in more detail. For example, music data of an audio file is composed of a set of frames (packets) that are cut into pieces. Here, taking MP3 as an example, it is composed of a set of frames (packets) that are cut into pieces every 1152 samples (about 26 ms if the sample rate is 44.1 kHz).
したがって、部分ファイル作成時に、このフレームの切れ目で分割すれば、再生時には、部分ファイルを頭からNフレームデコードしていたとしたら、後続ファイルへの再生切替時には、(N+1)フレーム目からデコードするように切り替えることにより、シームレスに全ファイル再生に切替えることができる。 Therefore, when the partial file is created, if it is divided at this frame break, if the partial file is decoded N frames from the beginning at the time of playback, it will be decoded from the (N + 1) th frame when switching to playback of the subsequent file. By switching, it is possible to seamlessly switch to all file playback.
例えば、図12の処理では、予め部分ファイルはNフレーム目までと決めておき、部分ファイルをNフレームデコードしたら(N+1)フレーム目から後続ファイルの再生を開始する。また、図13の例では、再生処理中にファイル情報が枯渇しない一定量のファイル情報を取得する際に、いずれかのフレームの切れ目まで取得し、後続ファイルの再生は、その切れ目に後続するフレームからデコードを開始する。 For example, in the process of FIG. 12, the partial file is determined in advance to the Nth frame, and when the partial file is decoded by N frames, the reproduction of the subsequent file is started from the (N + 1) th frame. In the example of FIG. 13, when acquiring a certain amount of file information that does not run out of file information during the playback process, it acquires up to any frame break, and the subsequent file is played back by the frame following that break. Start decoding.
その他に、再生が一時停止した場合にもネットワークからのファイル情報の取得は止めないので、再生再開時に一定量のファイル情報が取得できていればネットワークから取得したファイル情報の再生に切替える。 In addition, since the acquisition of the file information from the network is not stopped even when the reproduction is paused, if a certain amount of file information can be acquired when the reproduction is resumed, the file information acquired from the network is switched to the reproduction.
また、早送りなどで速やかに部分ファイルの再生が終わった場合には一定量のネットワークからのファイル情報の取得が終わるまで再生を再開させないようにする。 Further, when the partial file has been played back quickly, such as by fast-forwarding, playback is not resumed until the acquisition of file information from a certain amount of network is finished.
また、リジューム再生時など、部分ファイル外の時間帯からの再生が促された場合にはネットワークからファイル情報を取得した後に再生を再開することとする。 Also, when playback from a time zone outside the partial file is prompted, such as during resume playback, playback is resumed after file information is acquired from the network.
また、PMP内蔵メディアに空きが無い場合は部分ファイルは転送しないことは言うまでもないが、この場合は、当該ファイルの再生指示があった際に、ネットワークからファイル情報の一定量の取得が完了した後に再生することとする。 Needless to say, if there is no free space in the PMP built-in media, the partial file will not be transferred. In this case, however, after a certain amount of file information has been acquired from the network when a playback instruction for the file is given, Let's play it.
また、ネットワークパス情報の保存先は、データベース内でファイルに関連付けて保存してもよいし、メディアファイルのメタデータ内にURL(Universal Resource Locator)情報フレームやプライベートフレームに埋め込んでもよい。例として、MP3のID3v2.3タグ仕様にはユーザ定義URLリンクフレーム(WXXX)を追加可能である。 The network path information storage destination may be stored in association with the file in the database, or may be embedded in a URL (Universal Resource Locator) information frame or a private frame in the metadata of the media file. As an example, a user-defined URL link frame (WXXX) can be added to the ID3v2.3 tag specification of MP3.
次に、共有フォルダの整合チェック手順を図14を参照して説明する。図14はPMP20における共有フォルダの整合チェックの手順を示すフローチャートである。ファイルサーバ10側のデータをPMP20に転送後、ファイルサーバ10側のファイルが削除された後に再度、PMP20へのファイル転送が行われた場合には、存在しなくなったファイルに対応する部分ファイルは削除し、仮想ファイルツリーからも削除することとする。
Next, the consistency check procedure of the shared folder will be described with reference to FIG. FIG. 14 is a flowchart showing the procedure of shared folder consistency check in the
すなわち、ファイルサーバ10のPCアプリケーション上で、共有フォルダの整合チェックが指示されたときには(S70)、PMP20は保存された仮想フォルダツリーを開き(S71)、仮想ファイルに対応するファイルサーバ10側のファイルを検索する(S73)。このときに、仮想ファイルに対応するファイルサーバ10側のファイルが存在しなければ、当該仮想ファイルに対応するPMP20側の部分ファイルを削除する(S74)。また、仮想フォルダツリーからファイルに当たる仮想ファイルを削除する(S75)。この手順を仮想フォルダツリー内から未チェックの仮想ファイルが無くなるまで繰り返す(S72)。
That is, when the shared folder consistency check is instructed on the PC application of the file server 10 (S70), the
また、ファイルサーバ10側のデータをPMP20に転送後、ファイルサーバ10側のファイルが改変された後に再度、PMP20へのファイル転送が行われた場合には、改変されたファイルに対応する部分のファイルを改変することとする。
In addition, when the data on the
また、再生開始後、ネットワーク接続したときに当該ファイルが存在しない場合は、部分ファイルの最後までは再生させることもできる。当該ファイルかどうかの検出方法としては、元ファイルの一定量データのサム値にするなどの方法が考えられる。 In addition, after the start of reproduction, if the file does not exist when connected to the network, it is possible to reproduce until the end of the partial file. As a method for detecting whether or not the file is concerned, a method such as setting the sum value of a certain amount of data of the original file can be considered.
次に、仮想フォルダツリーの作成方法についての他の実施例を図15および図16を参照して説明する。ファイルサーバ10からPMP20へのファイル転送時に、前述した仮想フォルダツリーを作成する以外に、図15に示すファイルのメタデータから図16に示すように、アーティスト階層、アルバム階層で構成されたユーザインタフェースを提供することもできる。
Next, another embodiment of a method for creating a virtual folder tree will be described with reference to FIGS. At the time of file transfer from the
この場合も仮想フォルダツリー内のファイルノードにPMP内の部分ファイルのパス情報とサーバ側のファイルのネットワークパス情報とを関連付けることで、同様に待ち時間のない再生が可能となる。 In this case as well, by relating the path information of the partial file in the PMP and the network path information of the file on the server side to the file node in the virtual folder tree, it is possible to reproduce without waiting time similarly.
なお、PMP20としては、ユーザが身に付けて携帯できる形式以外でもメディア内蔵のカーオーディオなどでもよい。その場合には、ガレージでは家庭のサーバPCと安定した無線LAN環境で接続する方法が考えられる。
The
(効果の説明)
PMP側で再生開始する際に、まずファイル選択時のリスト表示にかかるユーザインタフェース待ち時間がなく、また、再生開始時のファイル情報取得にかかる待ち時間もないため、ユーザは待ち時間のストレス無く再生を開始することができる。
(Explanation of effect)
When starting playback on the PMP side, there is no user interface waiting time for list display at the time of file selection, and there is no waiting time for file information acquisition at the start of playback. Can start.
また、ネットワーク非対応のPMPに比べて内蔵メディアサイズを小さくすることができ、コストダウンにつながる。 In addition, the size of the built-in media can be reduced compared to a non-network compatible PMP, leading to cost reduction.
また、ネットワーク非対応のPMPに比べて転送ファイルデータ量が少なくなるため、ファイルサーバからPMPへのデータ転送時間を短くできる。 In addition, since the amount of transferred file data is smaller than that of a PMP that does not support the network, the time for transferring data from the file server to the PMP can be shortened.
また、オフラインで再生した場合にも、一応の再生が可能となる。例えば、ファイルの一部をプリセットで保存しておき、会員制でファイルサーバへのアクセスを許可して全ファイル再生を可能にするなどのビジネスモデルにも適用できる。 In addition, even when played off-line, it can be played once. For example, the present invention can be applied to a business model in which a part of a file is stored as a preset and access to the file server is permitted under a membership system so that all files can be reproduced.
(コンピュータプログラムの実施例)
汎用のコンピュータ装置にインストールすることにより、その汎用のコンピュータ装置に、本実施例のファイルサーバ10またはPMP20の少なくとも一部の機能に相応する機能を実現させるコンピュータプログラムの実施例を説明する。
(Example of computer program)
An embodiment of a computer program for realizing functions corresponding to at least a part of the functions of the
例えば、ファイルサーバ10におけるメディアファイル転送部11、メディアファイル保持部12、部分ファイル生成部13、部分ファイル保持部14、部分ファイル転送部15、PMP20における部分ファイル取得部21、部分ファイル保持部22、メディアファイル再生部23の各機能に相応する機能についは、本実施例のコンピュータプログラムを汎用のコンピュータ装置(MPU(Micro Processor Unit)等も含む)にインストールすることによって実現することができる。
For example, the media file transfer unit 11, the media
本実施例のコンピュータプログラムは記録媒体に記録されることにより、汎用のコンピュータ装置は、この記録媒体を用いて本実施例のコンピュータプログラムをインストールすることができる。あるいは、本実施例のコンピュータプログラムを保持するサーバからネットワークを介して直接汎用のコンピュータ装置に本実施例のコンピュータプログラムをインストールすることもできる。 By recording the computer program of this embodiment on a recording medium, a general-purpose computer apparatus can install the computer program of this embodiment using this recording medium. Alternatively, the computer program of this embodiment can also be installed directly from a server that holds the computer program of this embodiment to a general-purpose computer device via a network.
これにより、汎用のコンピュータ装置を用いて、本実施例のファイルサーバ10またはPMP20の少なくとも一部の機能に相応する機能を実現することができる。
Thereby, the function corresponding to the function of at least one part of the
なお、本実施例のコンピュータプログラムは、汎用のコンピュータ装置によって直接実行可能なものだけでなく、ハードディスクなどにインストールすることによって実行可能となるものも含む。また、圧縮されたり、暗号化されたりしたものも含む。 Note that the computer program of this embodiment includes not only a computer program that can be directly executed by a general-purpose computer device but also a computer program that can be executed by being installed on a hard disk or the like. Also included are those that are compressed or encrypted.
10、100 ファイルサーバ
11 メディアファイル転送部(メディアファイル転送手段)
12 メディアファイル保持部
13 部分ファイル生成部(部分ファイル生成手段)
14 部分ファイル保持部
15 部分ファイル転送部(部分ファイル転送手段)
20、200 PMP
21 部分ファイル取得部(部分ファイル取得手段)
22 部分ファイル保持部
23 メディアファイル再生部(メディアファイル再生手段)
24 表示部
25 操作部
300 固定プレーヤ
10, 100 File server 11 Media file transfer unit (media file transfer means)
12 Media
14 Partial
20, 200 PMP
21 Partial file acquisition unit (partial file acquisition means)
22 Partial
24
Claims (8)
メディアファイルの受信に先立って、このメディアファイルの転送元からこのメディアファイルの部分ファイルを取得する部分ファイル取得手段と、
メディアファイルの再生要求を受け付けると予め取得した上記部分ファイルの再生を開始すると共に、当該部分ファイルを包含するメディアファイルを上記転送元から取得して再生するメディアファイル再生手段と、
を備えたことを特徴とするポータブルメディアプレーヤ。 In a portable media player that receives and plays streaming media files,
Prior to receiving the media file, a partial file acquisition means for acquiring a partial file of the media file from the transfer source of the media file;
Media file playback means for starting playback of the partial file acquired in advance upon receipt of a media file playback request, and acquiring and playing back the media file including the partial file from the transfer source;
A portable media player comprising:
生成した部分ファイルを請求項1から5のいずれか1記載のポータブルメディアプレーヤに転送する部分ファイル転送手段と、
を備えたファイルサーバ。 Partial file generation means for selecting a part of a media file and generating a partial file;
A partial file transfer means for transferring the generated partial file to the portable media player according to claim 1;
A file server with
ポータブルメディアプレーヤが、メディアファイルの受信に先立って、このメディアファイルの転送元からこのメディアファイルの部分ファイルを取得し、メディアファイルの再生要求を受け付けると予め取得した上記部分ファイルの再生を開始すると共に、当該部分ファイルを包含するメディアファイルを上記転送元から取得して再生することを特徴とするメディアファイル転送方法。 In a media file transfer method for receiving a media file to be streamed and playing it on a portable media player,
Prior to receiving the media file, the portable media player acquires a partial file of the media file from the transfer source of the media file, and upon receiving a playback request for the media file, starts playing the previously acquired partial file. A media file transfer method characterized in that a media file including the partial file is acquired from the transfer source and played back.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007301262A JP2009128464A (en) | 2007-11-21 | 2007-11-21 | Portable media player, file server, media file transfer method, and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007301262A JP2009128464A (en) | 2007-11-21 | 2007-11-21 | Portable media player, file server, media file transfer method, and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009128464A true JP2009128464A (en) | 2009-06-11 |
Family
ID=40819483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007301262A Pending JP2009128464A (en) | 2007-11-21 | 2007-11-21 | Portable media player, file server, media file transfer method, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009128464A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002091863A (en) * | 2000-09-12 | 2002-03-29 | Sony Corp | Information providing method |
JP2005135008A (en) * | 2003-10-28 | 2005-05-26 | Sony Corp | Information distribution system and information distribution method |
JP2005309606A (en) * | 2004-04-19 | 2005-11-04 | Matsushita Electric Ind Co Ltd | Data processing circuit and method for receiving and transferring stream data |
JP2007066473A (en) * | 2005-09-01 | 2007-03-15 | Kenwood Corp | Media server device, media server control method and program |
JP2007295038A (en) * | 2006-04-20 | 2007-11-08 | Canon Inc | Moving video reproducer and reproduction method |
-
2007
- 2007-11-21 JP JP2007301262A patent/JP2009128464A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002091863A (en) * | 2000-09-12 | 2002-03-29 | Sony Corp | Information providing method |
JP2005135008A (en) * | 2003-10-28 | 2005-05-26 | Sony Corp | Information distribution system and information distribution method |
JP2005309606A (en) * | 2004-04-19 | 2005-11-04 | Matsushita Electric Ind Co Ltd | Data processing circuit and method for receiving and transferring stream data |
JP2007066473A (en) * | 2005-09-01 | 2007-03-15 | Kenwood Corp | Media server device, media server control method and program |
JP2007295038A (en) * | 2006-04-20 | 2007-11-08 | Canon Inc | Moving video reproducer and reproduction method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7752202B2 (en) | Information processing and, content distribution apparatus method, and program with conversion identification information | |
JP5622210B2 (en) | Method and apparatus for transferring digital content from a personal computer to a portable handset | |
JP2004303259A (en) | Method of providing additional information for server | |
JPWO2008029640A1 (en) | Method and apparatus for reproducing high bit rate format video data with a player suitable for low bit rate format video data reproduction | |
WO2004068354A1 (en) | Information processing device, information processing method, and computer program | |
JP2009118367A (en) | Recording apparatus, recording method, program and recording system | |
TW200824452A (en) | Method for processing connection request of a disk player | |
JP2012085264A (en) | Video file generating device and video file generating method | |
US9264746B2 (en) | Content distribution system, content distribution server, content distribution method, software program, and storage medium | |
JP2007150786A (en) | Transmission/reception system, information processing apparatus and information processing method, and program | |
JP4198711B2 (en) | Recording / reproducing system, recording apparatus, reproducing apparatus, recording medium, recording / reproducing method, recording method, reproducing method, program, and recording medium | |
JP2007514231A (en) | Electronic bookmark | |
JP2008041120A (en) | Information processing apparatus and information processing method | |
JP2008048091A (en) | Motion picture tagging program, motion picture tag system, and motion picture distributing method | |
JP2009128464A (en) | Portable media player, file server, media file transfer method, and computer program | |
JP2007188573A (en) | Reproducing device and method | |
JP6963835B2 (en) | Playback control device, playback control method, and program | |
JP4600891B2 (en) | AV apparatus and broadcast recording method in AV apparatus | |
JP6256105B2 (en) | Information processing apparatus, playlist generation method and program in information processing apparatus | |
JP2008060945A (en) | Distribution system and method | |
JP2006081069A (en) | Moving image playback device, moving image playback method and network moving image playback system using same | |
JP3741215B2 (en) | Movie editing method, movie editing system, information processing apparatus | |
JP3856217B2 (en) | Recording apparatus and method, recording medium, and program | |
JP5355251B2 (en) | Karaoke background video display system | |
JP4826677B2 (en) | Recording medium and reproducing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100827 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110715 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20111012 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120511 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120522 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121113 |