JP2004146875A - Moving picture file distributor - Google Patents

Moving picture file distributor Download PDF

Info

Publication number
JP2004146875A
JP2004146875A JP2002306197A JP2002306197A JP2004146875A JP 2004146875 A JP2004146875 A JP 2004146875A JP 2002306197 A JP2002306197 A JP 2002306197A JP 2002306197 A JP2002306197 A JP 2002306197A JP 2004146875 A JP2004146875 A JP 2004146875A
Authority
JP
Japan
Prior art keywords
moving image
image file
file
event
distribution device
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.)
Granted
Application number
JP2002306197A
Other languages
Japanese (ja)
Other versions
JP4136588B2 (en
Inventor
Satoshi Miyaji
宮地 悟史
Yasuhiro Takishima
滝嶋 康弘
Masahiro Wada
和田 正裕
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.)
KDDI Corp
Original Assignee
KDDI Corp
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 KDDI Corp filed Critical KDDI Corp
Priority to JP2002306197A priority Critical patent/JP4136588B2/en
Publication of JP2004146875A publication Critical patent/JP2004146875A/en
Application granted granted Critical
Publication of JP4136588B2 publication Critical patent/JP4136588B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a moving picture file distributor which can distribute both the latest moving picture file and the past moving picture file. <P>SOLUTION: An event identifier 6 identifies the event attribute of a moving picture file received from a file provider upon uploading it. If the moving picture file is identified that it has an event, the file name is changed for an upload request and stored in a memory means 5. If the moving picture file is identified that it has no event, the file name of the moving picture file is stored in the memory means for the upload request. A file list generator 7 generates a changed file list to provide it to clients. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、動画像ファイル配信装置に関し、特に、最新の動画像ファイルの配信と過去の動画像ファイルとの配信とを両立させることができる動画像ファイル配信装置に関するものである。
【0002】
【従来の技術】
従来、動画像ファイルをHTTP(hypertext transfer protocol)でダウンロード配信する場合、動画像ファイル配信用に特化されていない通常のWWWファイル配信装置(以下、サーバと称す。)を用いるのが一般的である。
【0003】
従来のサーバの構成を図7に示す。サーバ1は、LANやADSLなどのネットワークに接続されるネットワークI/F部2、HTTPサーバ部3、ファイルI/O部4、およびハードディスクなどの記憶手段5を備える。
【0004】
ファイル提供者からサーバ1へのファイル格納、すなわちファイルアップロード時、HTTPサーバ部3は、ネットワークI/F部2を介して受信されたアップロードリクエストに従ってアップロードファイルを直ちにファイルI/O部4を介して記憶手段5に転送し、所定の場所(ディレクトリ)に保存する。また、アップロードの成功あるいは失敗という結果をレスポンスとしてファイル提供者へ送信する。
【0005】
ファイル格納の際のファイル名は、ファイル提供者が指定したものとなる。ライブ動画像の配信のように、常に最新情報の提供を目的として動画像ファイルを継続的にアップロードする場合では、最新のファイルだけがサーバに存在していればよく、さらに、後述のダウンロード時の利便性を考慮して同一ファイル名を使用して連続的に上書きアップロードを行うことが一般的である。
【0006】
受信者(以下、クライアントと称す。)へのファイル配信、すなわちファイルダウンロード時、まず、クライアントは、サーバ1側で事前に用意したファイルリストからダウンロードしたいファイルを選択し、選択したファイルに関するリクエストをサーバ1に送信する。サーバ1におけるHTTPサーバ部3は、リクエストされたファイルをディレクトリから探し出し、当該ファイルをレスポンスとしてクライアントに配信する。リクエストされたファイルが見つからなかった場合などのエラー情報もレスポンスとして送信される。
【0007】
ライブ動画像の配信の場合には、クライアントは最新の動画像ファイルを取得できればよいので、同一ファイル名でダウンロードリクエストを行えばファイル名を意識することなく、常に最新の動画像ファイルを取得することができる。
【0008】
【発明が解決しようとする課題】
しかしながら、従来のサーバにおいて、記憶手段に格納する動画像ファイルのファイル名は、ファイル提供者により主導的に決定されたものであり、また、ダウンロード時にリスト表示されるファイル名は、予め用意されたものとなっている。
【0009】
このようなサーバを用いる配信システムは、同一ファイル名によりアップロードおよびダウンロードができ、ファイル名を意識せずに常に最新のファイルを取得できるという利点がある。しかしながら、このようなシステムでは、過去にアップロードされた動画像ファイルのいくつかを保存したいという要求や重要な情報を持つ動画像ファイルを事後確認したいという要求などに対処することができない。
【0010】
特定ファイルに対するファイル名をアップロード時に適宜変更し、その後にアップロードされるファイルによる上書きを避けるといった手法を採ることにより、特定ファイルをサーバ内に保存させることは可能であるが、保存されたファイルのリストが更新されず、ダウンロード側から参照することができないため、それらの特定ファイルへのアクセスが困難である。
【0011】
本発明の目的は、前述した従来技術の問題点を解決し、最新の動画像ファイルの配信と過去の動画像ファイルとの配信とを両立させることができる動画像ファイル配信装置を提供することにある。
【0012】
【課題を解決するための手段】
前記した課題を解決するために、本発明は、動画像ファイルをアップロードにより受信して記憶手段に蓄積し、前記記憶手段に蓄積した動画像ファイルをダウンロードによりクライアントに配信する動画像ファイル配信装置において、アップロードに際して受信されるイベント属性を識別し、イベント有りと識別された動画像ファイルについては、該動画像ファイルを特定する情報をアップロードのリクエストに対し変更して蓄積させる手段と、イベント無しと識別された動画像ファイルについては、該動画像を特定する情報をアップロードのリクエストに従って蓄積させる手段とを具備する点に第1の特徴がある。
【0013】
また、本発明は、動画像ファイルがマルチパート構成であり、前記イベント属性は、マルチパート構成の一部パート中に含まれる点に第2の特徴がある。
【0014】
また、本発明は、前記イベント属性が、アップロードファイル中に含まれる点に第3の特徴がある。
【0015】
また、本発明は、前記イベント属性が、アップロードリクエスト中に含まれる点に第4の特徴がある。
【0016】
また、本発明は、前記動画像を特定する情報が、該動画像ファイルのファイル名である点に第5の特徴がある。
【0017】
また、本発明は、アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら該動画像ファイルを削除する手段を具備する点に第6の特徴がある。
【0018】
また、本発明は、アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルが一定個数を超えたら所定に順序に従って動画像ファイルを削除する手段を備え、蓄積される動画像ファイルを前記一定個数以下にする点に第7の特徴がある。
【0019】
また、本発明は、アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルについてのイベント履歴を作成する手段を具備する点に第8の特徴がある。
【0020】
また、本発明は、アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら該動画像ファイルおよびそのイベント履歴を削除する手段を具備する点に第9の特徴がある。
【0021】
さらに、アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルが一定個数を超えたら所定に順序に従って動画像ファイルおよびそのイベント履歴を削除する手段を備え、蓄積される動画像ファイルおよびそのイベント履歴を前記一定個数以下にする点に第10の特徴がある。
【0022】
本発明の特徴によれば、ファイル提供者からの同一ファイル名のファイルであっても、イベント無しと識別されたファイルは、連続アップロードにより常に最新のファイルが保持され、イベント有りと識別されたファイルは、別のファイルとして蓄積されるので、最新の動画像ファイルの配信と過去の動画像ファイルとの配信とを両立させることができる。
【0023】
また、アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら、あるいはその動画像ファイルが一定個数を超えたら適宜動画像ファイルを削除するので、蓄積に要する記憶容量を必要最小限にすることができる。
【0024】
さらに、蓄積される動画像ファイルのイベント履歴を作成することにより、動画像ファイルの履歴を容易に知ることができ、それを利用して関係する画像ファイルへのアクセスが容易になる。
【0025】
【発明の実施の形態】
以下、図面を参照して本発明を詳細に説明する。図1は、本発明に係る動画像ファイル配信装置の一実施形態を示すブロック構成図である。なお、図7と同一あるいは同等部分には同一番号を付してある。本実施形態は、HTTPサーバ部3とファイルI/O部4との間に、イベント識別部6およびファイルリスト生成部7を配設した点で図7のサーバと異なっている。
【0026】
図2(a)、(b)は、伝送されるファイル構成の例であり、図2(a)は、1つのヘッダ情報Hを伴うビデオデータVとオーディオデータAからなる通常のファイル構造であり、図2(b)は、1つのヘッダ情報Hを伴うビデオデータVとオーディオデータAからなるフラグメントFが連続するフラグメント構造である。
【0027】
VやAの1つの塊は、チャンクと呼ばれるもので、図2(a)の場合、具体例では、V,Aの1チャンクはそれぞれ1秒分のデータを含み、ビデオフレームレート10fps、x=15秒とすると、各ファイルはVとAの15組を含み、ビデオフレームは1チャンク当たり10枚となる。
【0028】
ヘッダ情報は、例えば、(1)ファイルの時間長、(2)ファイルの作成日時、(3)各メディア(V、A)ごとの時間長、(4)各メディアごとの作成日時、(5)Vのサイズ(縦×横)、(6)Vチャンクの配置位置(バイトオフセット)、(7)Vのフレームの総数、(8)Vの1フレームごとのデータサイズ(バイト数)、(9)Vのフレーム表示継続時間、(10)Vの符号化ビットレート、(11)Aのサンプリング周波数、(12)Aのモード(モノラル、ステレオ)、(13)Aチャンクの配置位置(バイトオフセット)、(14)Aの1フレームごとのデータサイズ、(15)Aのフレーム再生継続時間、(16)Aのフレーム総数などを含む。
【0029】
また、図2(b)の場合、ファイル先頭のヘッダ情報は、図2(a)の場合と同様に上記(1)〜(16)を含むが、後続のヘッダ情報は、上記(6)〜(10)、(13)〜(16)を含む。
【0030】
図3は、アップロードに際してファイル提供者側から送信されるHTTPリクエストのヘッダの例であり、ここで、「Boundary」は、以後に続く実際のデータ部分がマルチパート形式の場合に区切り文字を指定する。また。「Content−Length」は、伝送するファイルのサイズを示す。
【0031】
本実施形態の動画像ファイル配信装置(サーバ)1の動作を、まず、アップロード時について説明する。サーバ1がファイル提供者からHTTPプロトコルによるアップロードリクエストをネットワークI/F部2を介して受信すると、HTTPサーバ部3は、1つのHTTPアップロードセッションを開始させる。ここで、セッションは、1つのファイルの伝送に対応するものである。
【0032】
アップロードに際してはイベント属性情報も受信される。イベント属性情報は、アップロードした動画像ファイルが、他の動画像ファイルとは区別してそのまま蓄積されるようにする場合に付される情報であり、例えば、イベントの有無を含み、さらに、これにイベントの発生日時、当該動画像ファイルの保存期間や重要度などを含ませて、後のファイル利用に有効な情報とすることができる。
【0033】
イベント属性情報の伝送形態は、例えば、以下の(1)〜(3)のように、いくつかの形態が考えられる。
(1)図4(a)に示すように、アップロードするファイル(図3の「実際のデータ」に相当)をマルチパート構成にし、それぞれを動画像ファイルパートおよびイベント属性情報パートとする形態。なお、図示の「××−−××」は区切り文字列であり、アップロードの際のリクエストヘッダ(図3の「boundary」)により指定される。
【0034】
なお、先頭の「−−」は自動的に付加される。イベント属性情報は、例えばイベントの有無を含み、イベント有りの場合はさらに、イベントの発生日時、該ファイルの保存期間や相対的な重要度などを含む。また、最後の「−−」は、マルチパート構成のファイルの最後を示す。
(2)図4(b)に示すように、図2(a)、(b)に示す動画像ファイルのヘッダ情報内にイベント属性情報を埋め込んで伝送する形態。なお、図2(b)のように、ファイル内部が分割されたフラグメント形式の場合には後続のヘッダに埋め込むようにしてもよい。
(3)図4(c)に示すように、HTTPアップロードのリクエストヘッダに埋め込む形態。すなわち、アップロードファイル名のクエリー(Query)パートにイベント属性情報を付加する形態。図4(c)は、図3の〈ファイル〉名に関し、test.mp4をアップロードする場合についてのものであり、「?ev=1・・・s=10」部分(クエリーパート)が埋め込まれたイベント属性情報であり、「ev=1」はイベント有りを示し、「date=20021010&time=173502」、「keep=24」、「s=10」はそれぞれ、イベント発生日時が2002年10月10日17時35分2秒、ファイルの保存期間が24時間、重要度が10であることを示す。
【0035】
以上のようにしてファイル提供者から伝送されたイベント属性情報および動画像ファイルは、ネットワークI/F部2およびHTTPサーバ部3を介してイベント識別部6およびファイルI/O部4へと入力される。
【0036】
イベント識別部6は、伝送されたイベント属性情報を抽出して識別し、イベント有りと識別した場合は、受信された動画像ファイルのファイル名を適宜変更し、ファイルリスト生成部7へリスト追加命令を発行する。同時に、ファイルI/O部4へ変更されたファイル名を通知し、当該ファイルを変更されたファイル名のイベントファイルとして保存するように指示を出す。
【0037】
イベント識別部6がイベント無しを識別した場合は、動画像ファイル名の変更やリスト追加命令の発行は行わない。これにより、記憶手段5では同名ファイルによる上書き保存が行われる。なお、イベント無しを識別した場合とは、イベント属性情報が伝送されず、それを抽出しない場合も含む。
【0038】
ファイルリスト生成部7は、イベント識別部6からのリスト追加命令を受けると、ダウンロード可能ファイルリストとして当該動画像ファイルのファイル名を追加する。追加するファイル名は、イベントの項目でよく、イベントの発生日時などを同時に追加することも可能である。
【0039】
ファイルリスト生成部7で生成されるファイリストは、動的に生成されるHTMLファイルであり、例えば、図5に示すように、イベントの項目と発生日時、イベントの動画像ファイルをダウンロードするためのクリックボタンを表示させるものである。さらに、クライアントが動画像ファイルをダウンロードする際に必要な最新の動画像ファイル、ならびにイベント発生時の動画像ファイルへのリンク情報、さらにはイベントの履歴を一覧で表示させるものとすることもできる。
【0040】
次に、ダウンロード時の動作について説明する。ダウンロード時、クライアントからのリクエストにより、まず、初期ページを提示してファイルリストページにアクセス可能にする。初期ページは、まず、最新の動画像ファイルかイベントファイルかを選択可能にし、続いてファイルを選択可能なものにすることができる。
【0041】
続いて、クライアントがファイルリストページにより取得したい動画像ファイルを選択すると、該動画像ファイルのリクエストがHTTPサーバ部3へと発行される。これによりHTTPサーバ部3は、リクエストされた動画像ファイルをファイルI/O部4を通じて記憶手段5から取得し、クライアントへと配信する。ファイルのダウンロードは、ファイル名を直接指定することによっても可能である。この場合に送信されるダウンロードリクエストおよびそれに対するレスポンスの例を図6に示す。
【0042】
以上、実施形態について説明したが、本発明の範囲内で種々の改変が可能である。例えば、アップロードのリクエストに対しファイル名が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら該動画像ファイルを削除するようにすることができる。また、アップロードのリクエストに対しファイル名が変更されて蓄積された動画像ファイルが一定個数を超えたら所定の順序、例えば、蓄積の古いものからの順や重要度に従う順に従って動画像ファイルを削除するようにすることもできる。
【0043】
また、アップロードのリクエストに対しファイル名が変更されて蓄積された動画像ファイルについてのイベント履歴が作成される場合、蓄積後、一定時間経過したら該動画像ファイルおよびそのイベント履歴を削除するようにすることができ、また、アップロードのリクエストに対しファイル名が変更されて蓄積された動画像ファイルが一定個数を超えたら所定の順序に従って動画像ファイルおよびそのイベント履歴を削除するようにすることもできる。これらの処理は、ソフトウエアにより行わせることができる。
【0044】
また、動画像ファイルは、オーディオデータAを含まなくてもよい。さらに、動画像ファイルを蓄積する記憶手段としては、ハードディスクに限らず、メモリによる仮想ディスクなど、種々のデータ記憶手段を採用することができる。
【0045】
本発明の動画像ファイル配信装置は、監視カメラにより撮像されたライブ画像を、携帯電話やインターネット向けに配信する監視映像配信サーバシステム、その他の動画像配信サーバシステムに適用できる。
【0046】
【発明の効果】
以上に詳細に説明したように、本発明によれば、アップロードファイル中に含まれるイベント属性情報を識別し、イベント有りと認識されたものについては新たにファイルリストを生成して一覧として表示可能にし、また、アップロードファイルを固有のファイル名で蓄積するので、ファイル提供者からの同一ファイル名のファイルであっても、イベント無しと識別されたファイルは、連続アップロードにより常に最新のファイルが保持され、イベント有りと識別されたファイルは、別のファイルとして蓄積され、最新の動画像ファイルの配信と過去の動画像ファイルとの配信とを両立させることができる。
【0047】
また、アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら、あるいはその動画像ファイルが一定個数を超えたら適宜動画像ファイルを削除するので、蓄積に要する記憶容量を必要最小限にすることができる。
【0048】
さらに、蓄積される動画像ファイルのイベント履歴を作成することにより、動画像ファイルの履歴を容易に知ることができ、それを利用して関係する画像ファイルへのアクセスが容易になるという効果がある.
【図面の簡単な説明】
【図1】本発明に係る動画像ファイル配信装置の一実施形態を示すブロック構成図である。
【図2】伝送されるファイル構成の説明図である。
【図3】アップロードリクエストのヘッダの説明図である。
【図4】イベント属性情報の伝送形態の説明図である。
【図5】ダウンロードに際して表示されるイベントファイのリストの説明図である。
【図6】ファイル名指定によるダウンロードリクエストとそのレスポンスの説明図である。
【図7】従来のサーバを示すブロック構成図である。
【符号の説明】
1・・・サーバ、2・・・ネットワークI/F部、3・・・HTTPサーバ部、4・・・ファイルI/O部、5・・・記憶手段、6・・・イベント識別部、7・・・ファイルリスト生成部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a moving image file distribution device, and more particularly to a moving image file distribution device capable of achieving both distribution of the latest moving image file and distribution of a past moving image file.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, when a moving image file is downloaded and distributed by HTTP (hypertext transfer protocol), a general WWW file distribution device (hereinafter, referred to as a server) that is not specialized for moving image file distribution is generally used. is there.
[0003]
FIG. 7 shows a configuration of a conventional server. The server 1 includes a network I / F unit 2, an HTTP server unit 3, a file I / O unit 4, and a storage unit 5 such as a hard disk connected to a network such as a LAN or ADSL.
[0004]
When storing a file from the file provider to the server 1, that is, when uploading the file, the HTTP server unit 3 immediately uploads the uploaded file via the file I / O unit 4 according to the upload request received via the network I / F unit 2. The data is transferred to the storage means 5 and stored in a predetermined location (directory). In addition, the result of the success or failure of the upload is transmitted to the file provider as a response.
[0005]
The file name when storing the file is specified by the file provider. In the case of uploading a moving image file continuously for the purpose of always providing the latest information, such as the distribution of live moving images, only the latest file needs to exist on the server. In general, it is common to perform continuous overwrite upload using the same file name for convenience.
[0006]
At the time of file distribution to a recipient (hereinafter, referred to as a client), that is, when downloading a file, the client first selects a file to be downloaded from a file list prepared in advance on the server 1 side, and sends a request for the selected file to the server 1. Send to 1. The HTTP server unit 3 in the server 1 searches for the requested file from the directory and distributes the file to the client as a response. Error information such as when the requested file cannot be found is also transmitted as a response.
[0007]
In the case of live video distribution, the client only needs to be able to obtain the latest video file, so if a download request is made with the same file name, the client must always obtain the latest video file regardless of the file name. Can be.
[0008]
[Problems to be solved by the invention]
However, in the conventional server, the file name of the moving image file stored in the storage unit is determined initiatively by the file provider, and the file name displayed in the list at the time of download is prepared in advance. It has become something.
[0009]
A distribution system using such a server has the advantage that uploading and downloading can be performed with the same file name, and the latest file can always be obtained without regard to the file name. However, such a system cannot cope with a request to save some moving image files uploaded in the past or a request to later confirm a moving image file having important information.
[0010]
It is possible to save a specific file in the server by changing the file name of the specific file as appropriate at the time of uploading and avoiding overwriting by the file uploaded later, but the list of saved files Are not updated and cannot be referenced from the download side, making it difficult to access those specific files.
[0011]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the conventional technology and to provide a moving image file distribution device that can achieve both the distribution of the latest moving image file and the distribution of a past moving image file. is there.
[0012]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the present invention provides a moving image file distribution device that receives a moving image file by uploading, stores the moving image file in a storage unit, and distributes the moving image file stored in the storage unit to a client by download. Means for identifying an event attribute received at the time of uploading, for a moving image file identified as having an event, means for changing the information specifying the moving image file in response to the upload request and storing the information, The first feature is that the obtained moving image file includes means for storing information for specifying the moving image in accordance with an upload request.
[0013]
Further, the present invention has a second feature in that the moving image file has a multi-part configuration, and the event attribute is included in a part of the multi-part configuration.
[0014]
Further, the present invention has a third feature in that the event attribute is included in an upload file.
[0015]
The present invention has a fourth feature in that the event attribute is included in an upload request.
[0016]
Further, the present invention has a fifth feature in that the information for specifying the moving image is a file name of the moving image file.
[0017]
According to a sixth aspect of the present invention, there is provided a means for deleting a moving image file after a certain period of time has elapsed after the storage of a moving image file in which information specified in response to an upload request has been changed. There are features.
[0018]
Further, the present invention includes means for deleting moving image files in a predetermined order when the information specified for the upload request is changed and the number of stored moving image files exceeds a certain number. Has a seventh feature in that is set to be equal to or less than the predetermined number.
[0019]
An eighth feature of the present invention resides in that the present invention includes means for creating an event history for a moving image file stored by changing information specified in response to an upload request.
[0020]
Further, the present invention includes a means for deleting a moving image file and its event history after a certain period of time has elapsed after storing the moving image file in which the information specified in response to the upload request has been changed. Has a ninth feature.
[0021]
Further, if the information specified in response to the upload request is changed and the number of accumulated moving image files exceeds a certain number, the moving image file and the event history thereof are deleted in a predetermined order, and the stored moving image file is provided. A tenth feature is that the event history is set to be equal to or less than the predetermined number.
[0022]
According to the feature of the present invention, even if the file has the same file name from the file provider, the file identified as having no event is always kept the latest file by continuous upload and the file identified as having an event Are stored as separate files, so that the distribution of the latest moving image file and the distribution of the past moving image file can be made compatible.
[0023]
In addition, for a moving image file stored with changed information specified in response to an upload request, the moving image file is appropriately deleted after a certain period of time after the storage or when the number of the moving image files exceeds a certain number. In addition, the storage capacity required for storage can be minimized.
[0024]
Further, by creating an event history of the stored moving image file, the history of the moving image file can be easily known, and the access to the related image file can be facilitated using the history.
[0025]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a moving image file distribution device according to the present invention. The same or equivalent parts as those in FIG. 7 are denoted by the same reference numerals. This embodiment is different from the server in FIG. 7 in that an event identification unit 6 and a file list generation unit 7 are provided between the HTTP server unit 3 and the file I / O unit 4.
[0026]
FIGS. 2A and 2B show examples of a file structure to be transmitted. FIG. 2A shows a normal file structure including video data V and audio data A with one piece of header information H. 2B shows a fragment structure in which a fragment F including video data V and audio data A accompanied by one piece of header information H is continuous.
[0027]
One chunk of V and A is called a chunk. In the case of FIG. 2A, in a specific example, one chunk of V and A includes data for one second, and a video frame rate of 10 fps and x = Assuming 15 seconds, each file contains 15 sets of V and A, and there are 10 video frames per chunk.
[0028]
The header information includes, for example, (1) file time length, (2) file creation date and time, (3) time length for each medium (V, A), (4) creation date and time for each medium, (5) V size (length × width), (6) V chunk arrangement position (byte offset), (7) total number of V frames, (8) data size per V frame (number of bytes), (9) V frame display duration, (10) V encoding bit rate, (11) A sampling frequency, (12) A mode (monaural, stereo), (13) A chunk arrangement position (byte offset), (14) The data size of each frame of A, (15) the frame reproduction duration of A, and (16) the total number of frames of A.
[0029]
In the case of FIG. 2B, the header information at the head of the file includes the above (1) to (16) as in the case of FIG. 2A, but the subsequent header information includes the above (6) to (10) and (13) to (16) are included.
[0030]
FIG. 3 shows an example of a header of an HTTP request transmitted from the file provider at the time of uploading. Here, “Boundary” designates a delimiter when an actual data part that follows is in a multipart format. . Also. “Content-Length” indicates the size of the file to be transmitted.
[0031]
First, the operation of the moving image file distribution device (server) 1 according to the present embodiment will be described for uploading. When the server 1 receives an upload request by the HTTP protocol from the file provider via the network I / F unit 2, the HTTP server unit 3 starts one HTTP upload session. Here, the session corresponds to transmission of one file.
[0032]
Upon uploading, event attribute information is also received. The event attribute information is information to be added when the uploaded moving image file is stored as it is in distinction from other moving image files, and includes, for example, the presence or absence of an event, Of the moving image file, the storage period of the moving image file, the importance of the moving image file, and the like can be used as effective information for later file use.
[0033]
Several forms of transmission of the event attribute information are conceivable, for example, as in the following (1) to (3).
(1) As shown in FIG. 4 (a), a file to be uploaded (corresponding to “actual data” in FIG. 3) has a multi-part configuration, each of which is a moving image file part and an event attribute information part. Note that “xx-−xx” in the figure is a delimiter character string, and is specified by a request header (“boundary” in FIG. 3) at the time of upload.
[0034]
Note that the leading “−−” is automatically added. The event attribute information includes, for example, the presence / absence of an event. If an event is present, the event attribute information further includes the date and time of occurrence of the event, the storage period of the file, and the relative importance. The last "---" indicates the end of the multi-part file.
(2) As shown in FIG. 4B, a form in which event attribute information is embedded in the header information of the moving image file shown in FIGS. 2A and 2B and transmitted. As shown in FIG. 2B, in the case of a fragment format in which the inside of the file is divided, it may be embedded in a subsequent header.
(3) As shown in FIG. 4C, a form embedded in the HTTP upload request header. That is, a form in which event attribute information is added to a query part of an upload file name. FIG. 4C shows the <file> name in FIG. mp4 is uploaded, event attribute information in which a “? ev = 1... s = 10” part (query part) is embedded, “ev = 1” indicates that an event is present, date = 20021010 & time = 173502 "," keep = 24 ", and" s = 10 "indicate that the event occurrence date and time are 17: 35: 2 on October 10, 2002, the file storage period is 24 hours, and the importance is 10 It is shown that.
[0035]
The event attribute information and the moving image file transmitted from the file provider as described above are input to the event identification unit 6 and the file I / O unit 4 via the network I / F unit 2 and the HTTP server unit 3. You.
[0036]
The event identification unit 6 extracts and identifies the transmitted event attribute information. If the event identification unit 6 identifies that there is an event, the event identification unit 6 appropriately changes the file name of the received moving image file, and sends a list addition instruction to the file list generation unit 7. Issue At the same time, it notifies the file I / O unit 4 of the changed file name and issues an instruction to save the file as an event file having the changed file name.
[0037]
When the event identification unit 6 identifies that there is no event, the moving image file name is not changed and the list addition instruction is not issued. As a result, the storage unit 5 overwrites and saves the file with the same name. Note that the case where no event is identified includes a case where the event attribute information is not transmitted and is not extracted.
[0038]
When receiving the list addition command from the event identification unit 6, the file list generation unit 7 adds the file name of the moving image file as a downloadable file list. The file name to be added may be an item of the event, and the date and time of occurrence of the event can be added at the same time.
[0039]
The file list generated by the file list generating unit 7 is an HTML file that is dynamically generated. For example, as shown in FIG. A click button is displayed. Furthermore, the latest moving image file required when the client downloads the moving image file, link information to the moving image file when the event occurs, and the history of the event can be displayed in a list.
[0040]
Next, the operation at the time of downloading will be described. At the time of download, upon request from a client, first, an initial page is presented to make the file list page accessible. The initial page can first allow selection of the latest moving image file or event file, and then can select the file.
[0041]
Subsequently, when the client selects a moving image file to be obtained on the file list page, a request for the moving image file is issued to the HTTP server unit 3. Thus, the HTTP server unit 3 acquires the requested moving image file from the storage unit 5 through the file I / O unit 4, and distributes the requested moving image file to the client. Downloading a file is also possible by directly specifying the file name. FIG. 6 shows an example of a download request transmitted in this case and a response to the request.
[0042]
The embodiments have been described above, but various modifications are possible within the scope of the present invention. For example, with respect to a moving image file whose file name has been changed in response to an upload request, the moving image file can be deleted after a certain period of time has elapsed after the storage. If the number of stored moving image files exceeds a certain number after the file name is changed in response to the upload request, the moving image files are deleted according to a predetermined order, for example, the order from the oldest one or the order according to the importance. You can also do so.
[0043]
When an event history is created for a moving image file that has been stored with a file name changed in response to an upload request, the moving image file and its event history are deleted after a certain period of time after the storage. Further, when the file name is changed in response to the upload request and the number of accumulated moving image files exceeds a certain number, the moving image files and their event histories can be deleted in a predetermined order. These processes can be performed by software.
[0044]
Further, the moving image file may not include the audio data A. Further, the storage means for storing the moving image file is not limited to a hard disk, and various data storage means such as a virtual disk using a memory can be adopted.
[0045]
INDUSTRIAL APPLICABILITY The moving image file distribution device of the present invention can be applied to a surveillance video distribution server system that distributes live images captured by a surveillance camera to mobile phones and the Internet, and other moving image distribution server systems.
[0046]
【The invention's effect】
As described above in detail, according to the present invention, event attribute information included in an upload file is identified, and a file list is newly generated for an event recognized as having an event, and the file list can be displayed as a list. Also, since the upload file is stored with a unique file name, even if the file has the same file name from the file provider, the file identified as having no event is always kept the latest file by continuous upload, The file identified as having an event is stored as another file, and it is possible to make the distribution of the latest moving image file compatible with the distribution of the past moving image file.
[0047]
In addition, for a moving image file stored with changed information specified in response to an upload request, the moving image file is appropriately deleted after a certain period of time after the storage or when the number of the moving image files exceeds a certain number. In addition, the storage capacity required for storage can be minimized.
[0048]
Further, by creating the event history of the accumulated moving image file, the history of the moving image file can be easily known, and there is an effect that the access to the related image file is facilitated using the history. .
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a moving image file distribution device according to the present invention.
FIG. 2 is an explanatory diagram of a file configuration to be transmitted.
FIG. 3 is an explanatory diagram of a header of an upload request.
FIG. 4 is an explanatory diagram of a transmission form of event attribute information.
FIG. 5 is an explanatory diagram of a list of event files displayed at the time of download.
FIG. 6 is an explanatory diagram of a download request by specifying a file name and its response.
FIG. 7 is a block diagram showing a conventional server.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Server, 2 ... Network I / F part, 3 ... HTTP server part, 4 ... File I / O part, 5 ... Storage means, 6 ... Event identification part, 7 ... File list generator

Claims (10)

動画像ファイルをアップロードにより受信して記憶手段に蓄積し、前記記憶手段に蓄積した動画像ファイルをダウンロードによりクライアントに配信する動画像ファイル配信装置において、
アップロードに際して受信されるイベント属性を識別し、イベント有りと識別された動画像ファイルについては、該動画像ファイルを特定する情報をアップロードのリクエストに対し変更して蓄積させる手段と、
イベント無しと識別された動画像ファイルについては、該動画像を特定する情報をアップロードのリクエストに従って蓄積させる手段とを具備することを特徴とする動画像ファイル配信装置。
A moving image file distribution device that receives a moving image file by uploading, stores the moving image file in a storage unit, and distributes the moving image file stored in the storage unit to a client by download,
Means for identifying an event attribute received at the time of upload, and for a moving image file identified as having an event, changing information for specifying the moving image file in response to an upload request and accumulating the information;
Means for storing, for a moving image file identified as having no event, information for specifying the moving image in accordance with an upload request.
動画像ファイルがマルチパート構成であり、前記イベント属性は、マルチパート構成の一部パート中に含まれることを特徴とする請求項1に記載の動画像ファイル配信装置。2. The moving image file distribution device according to claim 1, wherein the moving image file has a multi-part configuration, and the event attribute is included in a part of the multi-part configuration. 前記イベント属性は、アップロードファイル中に含まれることを特徴とする請求項1に記載の動画像ファイル配信装置。The moving image file distribution device according to claim 1, wherein the event attribute is included in an upload file. 前記イベント属性は、アップロードリクエスト中に含まれることを特徴とする請求項1に記載の動画像ファイル配信装置。The moving image file distribution device according to claim 1, wherein the event attribute is included in an upload request. 前記動画像を特定する情報が、該動画像ファイルのファイル名であることを特徴とする請求項1ないし3のいずれかに記載の動画像ファイル配信装置。4. The moving image file distribution device according to claim 1, wherein the information specifying the moving image is a file name of the moving image file. アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら該動画像ファイルを削除する手段を具備することを特徴とする請求項1ないし4のいずれかに記載の動画像ファイル配信装置。5. A system according to claim 1, further comprising means for deleting the moving image file after a certain period of time has elapsed after storing the moving image file in which the information specified in response to the upload request has been changed. The moving image file distribution device according to any one of the above. アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルが一定個数を超えたら所定に順序に従って動画像ファイルを削除する手段を備え、蓄積される動画像ファイルを前記一定個数以下にすることを特徴とする請求項1ないし5のいずれかに記載の動画像ファイル配信装置。When the information specified for the upload request is changed and the number of accumulated moving image files exceeds a certain number, the moving image file is deleted according to a predetermined order, and the stored moving image files are reduced to the fixed number or less. The moving image file distribution device according to any one of claims 1 to 5, wherein アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルについてのイベント履歴を作成する手段を具備することを特徴とする請求項1ないし6のいずれかに記載の動画像ファイル配信装置。7. The moving image file distribution device according to claim 1, further comprising means for creating an event history for a moving image file stored by changing information specified in response to an upload request. . アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら該動画像ファイルおよびそのイベント履歴を削除する手段を具備することを特徴とする請求項7に記載の動画像ファイル配信装置。For a moving image file stored by changing information specified in response to an upload request, a means for deleting the moving image file and its event history after a lapse of a predetermined time after the storing is provided. 8. The moving image file distribution device according to 7. アップロードのリクエストに対し特定する情報が変更されて蓄積された動画像ファイルが一定個数を超えたら所定に順序に従って動画像ファイルおよびそのイベント履歴を削除する手段を備え、蓄積される動画像ファイルおよびそのイベント履歴を前記一定個数以下にすることを特徴とする請求項7または8に記載の動画像ファイル配信装置。If the information specified for the upload request is changed and the number of accumulated moving image files exceeds a certain number, the moving image files and the event history thereof are deleted according to a predetermined order. 9. The moving image file distribution device according to claim 7, wherein the event history is equal to or less than the predetermined number.
JP2002306197A 2002-10-21 2002-10-21 Video file distribution device Expired - Fee Related JP4136588B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002306197A JP4136588B2 (en) 2002-10-21 2002-10-21 Video file distribution device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002306197A JP4136588B2 (en) 2002-10-21 2002-10-21 Video file distribution device

Publications (2)

Publication Number Publication Date
JP2004146875A true JP2004146875A (en) 2004-05-20
JP4136588B2 JP4136588B2 (en) 2008-08-20

Family

ID=32453058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002306197A Expired - Fee Related JP4136588B2 (en) 2002-10-21 2002-10-21 Video file distribution device

Country Status (1)

Country Link
JP (1) JP4136588B2 (en)

Also Published As

Publication number Publication date
JP4136588B2 (en) 2008-08-20

Similar Documents

Publication Publication Date Title
US10693930B2 (en) Real-time or near real-time streaming
US10735800B2 (en) Rendering content and time-shifted playback operations for personal over-the-top network video recorder
CA2748548C (en) Real-time or near real-time streaming
KR101528991B1 (en) Real-time or near real-time streaming
US8280863B2 (en) Real-time or near real-time streaming with compressed playlists
US7639943B1 (en) Computer-implemented system and method for automated image uploading and sharing from camera-enabled mobile devices
JP5588517B2 (en) Streaming with optional broadcast delivery of data segments
JP7105675B2 (en) Transmission device, server device, transmission method and program
JP3675739B2 (en) Digital stream content creation method, digital stream content creation system, digital stream content creation program, recording medium recording this program, and digital stream content distribution method
CN112584194A (en) Video code stream pushing method and device, computer equipment and storage medium
CN112218165A (en) Video playing control method and device, electronic equipment and storage medium
JP5006659B2 (en) Video transmission device, video transmission method, program, and storage medium
EP3293977B1 (en) Information device
KR101397183B1 (en) Method and apparatus for managing playlist file in streaming service
JP2004146875A (en) Moving picture file distributor
JP2003274382A (en) Video information streaming distribution system, computer, program, and video information streaming distributing method
JP2017107408A (en) File transfer system, transfer controller, transfer source device, transfer destination device, and transfer control method
JP7302076B2 (en) Transmission device, server device, transmission method and program
JP2004145392A (en) Moving image file distributing device
JP7438835B2 (en) Server device, communication system, program and information processing method
JP7419151B2 (en) Server device, information processing method and program
US20070276927A1 (en) Streaming player with time index memory and catalog
JP2004236240A (en) Network broadcast system, content distributing method, and program providing apparatus
JP6950386B2 (en) Distribution device, playback device, distribution method, playback method, playback program and data structure
KR20220125039A (en) Video providing system and video cache method using the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040922

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070427

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080521

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080603

R150 Certificate of patent or registration of utility model

Ref document number: 4136588

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140613

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees