JP4136588B2 - Video file distribution device - Google Patents

Video file distribution device Download PDF

Info

Publication number
JP4136588B2
JP4136588B2 JP2002306197A JP2002306197A JP4136588B2 JP 4136588 B2 JP4136588 B2 JP 4136588B2 JP 2002306197 A JP2002306197 A JP 2002306197A JP 2002306197 A JP2002306197 A JP 2002306197A JP 4136588 B2 JP4136588 B2 JP 4136588B2
Authority
JP
Japan
Prior art keywords
file
moving image
image file
event
attribute information
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
JP2002306197A
Other languages
Japanese (ja)
Other versions
JP2004146875A (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.)
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

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の特徴がある。
【0017】
また、本発明は、前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら該動画像ファイルを削除する手段を具備する点に第の特徴がある。
【0018】
また、本発明は、前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルが一定個数を超えたら所定に順序に従って動画像ファイルを削除する手段を備え、蓄積される動画像ファイルを前記一定個数以下にする点に第の特徴がある。
【0019】
また、本発明は、前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルについて、イベント有りを示すイベント属性情報と共に動画像ファイルが受信されたことを記録するイベント履歴を作成する手段を具備する点に第の特徴がある。
【0020】
また、本発明は、前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら該動画像ファイルおよびその前記イベント履歴を削除する手段を具備する点に第の特徴がある。
【0021】
さらに、本発明は、前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルが一定個数を超えたら所定に順序に従って動画像ファイルおよびその前記イベント履歴を削除する手段を備え、蓄積される動画像ファイルおよびそのイベント履歴を前記一定個数以下にする点に第の特徴がある。
【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]
BACKGROUND 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 the distribution of the latest moving image file and the distribution of a past moving image file.
[0002]
[Prior art]
Conventionally, when a moving image file is downloaded and distributed by HTTP (hypertext transfer protocol), it is common to use a normal WWW file distribution device (hereinafter referred to as a server) that is not specialized for moving image file distribution. is there.
[0003]
A configuration of a conventional server is shown in FIG. The server 1 includes a network I / F unit 2 connected to a network such as a LAN or ADSL, an HTTP server unit 3, a file I / O unit 4, and a storage unit 5 such as a hard disk.
[0004]
When storing a file from the file provider to the server 1, that is, when uploading a file, the HTTP server unit 3 immediately sends 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). Also, the result of upload success or failure is sent as a response to the file provider.
[0005]
The file name when storing the file is specified by the file provider. When continuously uploading moving image files for the purpose of always providing the latest information, such as live moving image distribution, it is sufficient that only the latest files exist on the server. In consideration of convenience, it is common to perform overwrite upload continuously using the same file name.
[0006]
When delivering a file to a receiver (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, and sends a request regarding the selected file to the server. 1 to send. The HTTP server unit 3 in the server 1 searches the directory for the requested file and distributes the file as a response to the client. Error information such as when the requested file is not found is also sent as a response.
[0007]
In the case of live video distribution, the client only needs to be able to acquire the latest video file, so if you make a download request with the same file name, you will always get the latest video file without being aware of the file name. Can do.
[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 means is determined by the file provider, and the file name displayed as a list when downloading is prepared in advance. It has become a thing.
[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 being conscious of the file name. However, such a system cannot cope with a request for storing some of the previously uploaded moving image files or a request for confirming a moving image file having important information.
[0010]
It is possible to save the specific file in the server by changing the file name for the specific file as appropriate at the time of uploading, and avoiding overwriting by the subsequent uploaded file, but the list of saved files Are not updated and cannot be referenced from the download side, so it is difficult to access these specific files.
[0011]
An object of the present invention is to provide a moving image file distribution apparatus that solves the above-described problems of the prior art and can achieve both the distribution of the latest moving image file and the distribution of past moving image files. is there.
[0012]
[Means for Solving the Problems]
To solve the problems described above, the present invention is a moving picture file delivery apparatus accumulates received to the storage means a motion picture file, delivering the moving image file stored in the storage means to the client , together with the moving image file during upload, to identify whether the event attribute information including the existence of an event for instructing to accumulate in distinction from the moving image file stored the moving picture file in the storage means is received identification And a moving image file identified as having received event attribute information including the presence of an event by the identifying means, the moving image file is renamed from the file name corresponding to the upload request to the storage means. means for accumulated, an event attribute information including the presence of events in said identification means is not received identification Been for moving image file, the moving picture file, there is a first feature in that and means for accumulating in the storage means the file name as a left file name for the upload request.
[0013]
Further, the present invention, the a moving image file and the event attribute information, there is a second feature in that it is the respective multi-part configuration in which a part.
[0014]
Further, the present invention has a third feature in that the event attribute information is included in the moving image file.
[0015]
Further, the present invention, the event attribute information, there is a fourth feature in that contained in the upload request.
[0017]
Further, the present invention is described above for the uploaded drill Quest accumulated is a file name changed to the moving picture file, after storage, the in that comprises means for deleting the moving picture file when predetermined time elapses There are 5 features.
[0018]
The present invention also videos the uploaded drill Quest accumulated is a file name changed to the moving picture file comprises a means for deleting the moving image file in the order in a predetermined After exceeds a predetermined number, accumulated A sixth feature is that the number of image files is less than the predetermined number.
[0019]
Further, the present invention, for the upload drill quest to file name is changed by the stored moving image file, the event history to record that the moving image file is received along with event attribute information indicating that the event A seventh feature is that a means for creating is provided.
[0020]
Further, the present invention, for the upload to drill quest file name is stored after being changed moving image file after storing, means for deleting the moving picture file and the event history that after the lapse a certain time There is an eighth feature in that it is provided.
[0021]
Furthermore, the present invention comprises means for the uploaded drill Quest accumulated is a file name changed to the moving picture file to remove the moving image file and the event history that the order in a predetermined After exceeds a predetermined number , there is a ninth aspect of the moving image file and the event history are stored in the point to below 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 moving image files that have been stored with the information specified in response to an upload request being changed, the moving image files are deleted as appropriate after a certain amount of time has elapsed since the accumulation or when the number of moving image files exceeds a certain number. The storage capacity required for accumulation can be minimized.
[0024]
Furthermore, by creating an event history of the moving image file to be accumulated, it is possible to easily know the history of the moving image file, and it becomes easy to access the related image file by using it.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block configuration diagram showing an embodiment of a moving image file distribution apparatus according to the present invention. In addition, the same number is attached | subjected to the same or equivalent part as FIG. This embodiment is different from the server of FIG. 7 in that an event identification unit 6 and a file list generation unit 7 are arranged between the HTTP server unit 3 and the file I / O unit 4.
[0026]
2 (a) and 2 (b) are examples of the file structure to be transmitted, and FIG. 2 (a) is a normal file structure composed of video data V and audio data A with one header information H. FIG. 2B shows a fragment structure in which a fragment F composed of video data V and audio data A accompanied by one header information H is continuous.
[0027]
One chunk of V and A is called a chunk. In the case of FIG. 2A, in the specific example, each chunk of V and A includes data for 1 second, and the video frame rate is 10 fps, x = Assuming 15 seconds, each file includes 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 (vertical x horizontal), (6) V chunk arrangement position (byte offset), (7) total number of V frames, (8) data size (number of bytes) for each V frame, (9) V frame display duration, (10) V encoding bit rate, (11) A sampling frequency, (12) A mode (monaural, stereo), (13) A chunk placement position (byte offset), (14) A data size for each frame, (15) A frame playback duration, (16) A total number of frames, and the like.
[0029]
In the case of FIG. 2B, the header information at the beginning 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), (13) to (16) are included.
[0030]
FIG. 3 is an example of an HTTP request header transmitted from the file provider side at the time of uploading. Here, “Boundary” designates a delimiter when the subsequent actual data portion is in a multipart format. . Also. “Content-Length” indicates the size of a file to be transmitted.
[0031]
The operation of the moving image file distribution apparatus (server) 1 according to the present embodiment will be described first when uploading. When the server 1 receives an upload request based on 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]
Event attribute information is also received upon uploading. The event attribute information is information attached when the uploaded moving image file is stored as it is in distinction from other moving image files. For example, the event attribute information includes the presence / absence of an event, and further includes the event Including the date and time of occurrence, the storage period of the moving image file, the importance level, and the like, can be used as information effective for later use of the file.
[0033]
There are several possible forms of event attribute information transmission, such as the following (1) to (3).
(1) As shown in FIG. 4A, a file to be uploaded (corresponding to “actual data” in FIG. 3) has a multi-part configuration, and each is a moving image file part and an event attribute information part. In addition, “xxx--xxx” shown 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]
The leading “-” is automatically added. The event attribute information includes, for example, the presence / absence of an event. When there is an event, the event attribute information further includes an event occurrence date / time, a storage period of the file, a relative importance level, and the like. The last “-” indicates the end of the multipart file.
(2) As shown in FIG. 4B, the 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 the subsequent header.
(3) As shown in FIG.4 (c), the form embedded in the request header of HTTP upload. In other words, event attribute information is added to the query part of the uploaded file name. FIG. 4C shows the case where test.mp4 is uploaded with respect to the <file> name in FIG. 3, and the “? Ev = 1... S = 10” portion (query part) is embedded. Event attribute information, “ev = 1” indicates the presence of an event, and “date = 20021010 & time = 173502”, “keep = 24”, and “s = 10” are event occurrence dates and times of October 10, 2002 17 This indicates that the time is 35 minutes and 2 seconds, the file storage period is 24 hours, and the importance is 10.
[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. The
[0036]
The event identification unit 6 extracts and identifies the transmitted event attribute information, and if it is identified 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 command to the file list generation unit 7 Issue. At the same time, the changed file name is notified to the file I / O unit 4 and an instruction is issued to save the file as an event file with the changed file name.
[0037]
When the event identifying unit 6 identifies that there is no event, the moving image file name is not changed and a list addition command is not issued. As a result, the storage unit 5 performs overwriting with the same name file. The case where no event is identified includes the case where event attribute information is not transmitted and is not extracted.
[0038]
Upon 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 an event, and an event occurrence date and time can be added at the same time.
[0039]
The file list generated by the file list generation unit 7 is an HTML file that is dynamically generated. For example, as shown in FIG. 5, an event item, an occurrence date and time, and an event moving image file are downloaded. 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 at the time of event occurrence, and a history of events can be displayed in a list.
[0040]
Next, the operation at the time of downloading will be described. At the time of downloading, upon request from the client, first, an initial page is presented to make the file list page accessible. The initial page can first select the latest moving image file or event file, and then make the file selectable.
[0041]
Subsequently, when the client selects a moving image file to be acquired on the file list page, a request for the moving image file is issued to the HTTP server unit 3. Accordingly, 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 it to the client. The file can be downloaded by directly specifying the file name. FIG. 6 shows an example of a download request transmitted in this case and a response to the download request.
[0042]
Although the embodiments have been described above, various modifications can be made within the scope of the present invention. For example, for a moving image file that has been stored with a file name changed in response to an upload request, the moving image file can be deleted after a certain period of time has elapsed after storage. In addition, when the number of moving image files that have been renamed and stored in response to an upload request exceeds a certain number, the moving image files are deleted in a predetermined order, for example, in order from the oldest or the order of importance. It can also be done.
[0043]
In addition, when an event history is created for a moving image file whose file name has been changed in response to an upload request, the moving image file and its event history are deleted after a certain period of time has elapsed after accumulation. It is also possible to delete a moving image file and its event history according to a predetermined order when the number of moving image files whose file names have been changed in response to an upload request exceeds a certain number. 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 accumulating moving image files is not limited to a hard disk, and various data storage means such as a virtual disk using a memory can be employed.
[0045]
The moving image file distribution apparatus of the present invention can be applied to a monitoring video distribution server system that distributes a live image captured by a monitoring camera to a mobile phone or 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 uploaded file is identified, and a file list is newly generated for those recognized as having an event, and can be displayed as a list. In addition, upload files are stored with unique file names, so even files with the same file name from the file provider will always keep the latest file by continuous upload, The file identified as having an event is stored as a separate file, and both the distribution of the latest moving image file and the distribution of the past moving image file can be made compatible.
[0047]
In addition, for moving image files that have been stored with the information specified in response to an upload request being changed, the moving image files are deleted as appropriate after a certain amount of time has elapsed since the accumulation or when the number of moving image files exceeds a certain number. The storage capacity required for accumulation can be minimized.
[0048]
Furthermore, by creating an event history of the moving image file to be accumulated, it is possible to easily know the history of the moving image file, and it is easy to access the related image file by using it. .
[Brief description of the drawings]
FIG. 1 is a block configuration diagram showing an embodiment of a moving image file distribution apparatus according to the present invention.
FIG. 2 is an explanatory diagram of a file structure 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 when downloading;
FIG. 6 is an explanatory diagram of a download request and its response by specifying a file name.
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 (9)

動画像ファイルを受信して記憶手段に蓄積し、前記記憶手段に蓄積した動画像ファイルをクライアントに配信する動画像ファイル配信装置であって
アップロードに際して動画像ファイルと共に、該動画像ファイルを前記記憶手段に蓄積されている動画像ファイルと区別して蓄積することを指示するイベント有りを含むイベント属性情報が受信されたか否かを識別する識別手段と
前記識別手段でイベント有りを含むイベント属性情報が受信されたと識別された動画像ファイルについては、該動画像ファイルを、そのファイル名アップロードリクエストに対するファイル名から変更して前記蓄積手段に蓄積させる手段と、
前記識別手段でイベント有りを含むイベント属性情報が受信されないと識別された動画像ファイルについては、該動画像ファイル、そのファイル名アップロードリクエストに対するファイル名のままとして前記蓄積手段に蓄積させる手段とを具備することを特徴とする動画像ファイル配信装置。
Moving image file received and accumulated in the storage means, a moving image file stored in the storage means a motion picture file delivery apparatus for delivering to the client,
Together with the moving picture file during upload, identification means for identifying whether an event attribute information including the existence of an event for instructing to accumulate in distinction from the moving image file stored the moving picture file in the storage means is received And
For the moving image file identified as having received event attribute information including the presence of an event by the identifying means, the moving image file is stored in the accumulating means by changing the file name from the file name corresponding to the upload request. When,
Wherein the moving image file event attribute information is identified as not received, including the presence of events in the identification means, the moving picture file, and means for accumulating in the storage means the file name as a left file name for the upload request A moving image file distribution apparatus comprising:
前記動画像ファイルと前記イベント属性情報とは、それぞれをパートとしたマルチパート構成にされていることを特徴とする請求項1に記載の動画像ファイル配信装置。The moving image file distribution apparatus according to claim 1, wherein the moving image file and the event attribute information have a multipart configuration in which each is a part . 前記イベント属性情報は、前記動画像ファイル中に含まれることを特徴とする請求項1に記載の動画像ファイル配信装置。The event attribute information, moving picture file delivery device according to claim 1, characterized in that contained in the moving image file. 前記イベント属性情報は、前記アップロードリクエスト中に含まれることを特徴とする請求項1に記載の動画像ファイル配信装置。The event attribute information, moving picture file delivery device of claim 1, characterized in that contained in the upload request. 前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら該動画像ファイルを削除する手段を具備することを特徴とする請求項1ないし4のいずれかに記載の動画像ファイル配信装置。For the uploaded drill Quest accumulated is a file name changed to the moving image file, after storage, claims 1, characterized in that it comprises means for deleting the moving picture file when predetermined time elapses 5. The moving image file delivery device according to any one of 4 above. 前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルが一定個数を超えたら所定に順序に従って動画像ファイルを削除する手段を備え、蓄積される動画像ファイルを前記一定個数以下にすることを特徴とする請求項1ないしのいずれかに記載の動画像ファイル配信装置。Comprising means for said upload to drill quest file name is stored after being changed moving image file to delete the moving image file in the order in a predetermined After exceeds a predetermined number, the predetermined number of moving image files to be stored claims 1, characterized in that below the moving image file delivery device according to any one of the 4. 前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルについて、イベント有りを示すイベント属性情報と共に動画像ファイルが受信されたことを記録するイベント履歴を作成する手段を具備することを特徴とする請求項1ないし6のいずれかに記載の動画像ファイル配信装置。For the upload drill quest to file name is changed by the stored moving image file, comprising means for creating an event history to record that the moving image file is received along with event attribute information indicating that the event 7. The moving image file distribution apparatus according to claim 1, wherein 前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルについては、蓄積後、一定時間経過したら該動画像ファイルおよびその前記イベント履歴を削除する手段を具備することを特徴とする請求項7に記載の動画像ファイル配信装置。For the uploaded drill Quest accumulated been changed file name to a moving picture file after storage, and characterized in that it comprises means for deleting the moving picture file and the event history that after the lapse a certain time The moving image file delivery apparatus according to claim 7. 前記アップロードリクエストに対してファイル名が変更されて蓄積された動画像ファイルが一定個数を超えたら所定に順序に従って動画像ファイルおよびその前記イベント履歴を削除する手段を備え、蓄積される動画像ファイルおよびそのイベント履歴を前記一定個数以下にすることを特徴とする請求項7または8に記載の動画像ファイル配信装置。Comprising means for the uploaded drill Quest accumulated is a file name changed to the moving picture file to remove the moving image file and the event history that the order in a predetermined After exceeds a predetermined number, moving images accumulated 9. The moving image file distribution apparatus according to claim 7, wherein the file and its event history are set to be 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 JP2004146875A (en) 2004-05-20
JP4136588B2 true 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
JP2004146875A (en) 2004-05-20

Similar Documents

Publication Publication Date Title
US7639943B1 (en) Computer-implemented system and method for automated image uploading and sharing from camera-enabled mobile devices
CN107231581B (en) Method and system for video playing and streaming media playing control server
JP3812727B2 (en) Information processing system
KR101476938B1 (en) Selectively receiving media content
JP4315827B2 (en) Image display method, image display apparatus, and image display program
JPWO2015097922A1 (en) Video editing device
EP1811391A1 (en) File transferring system, transmitting device and receiving apparatus
WO2012074659A1 (en) Selectively receiving media content
TWI760328B (en) Animation dividing device and monitoring method
CN109819265B (en) Data storage method, data acquisition method and system
JP7105675B2 (en) Transmission device, server device, transmission method and program
CN112584194A (en) Video code stream pushing method and device, computer equipment and storage medium
JP5006659B2 (en) Video transmission device, video transmission method, program, and storage medium
EP2615563A1 (en) Device for synchronously sharing files and method for synchronously sharing files
CA3110461A1 (en) Data storage and retrieval system for non-contiguous medical device operational data
JP4136588B2 (en) Video file distribution device
KR101397183B1 (en) Method and apparatus for managing playlist file in streaming service
US7889971B2 (en) Method, apparatus, and program for image filing
JP7302076B2 (en) Transmission device, server device, transmission method and program
CN113542342B (en) Server device, information processing method, and storage medium
JP2004070470A (en) Information distribution system
JP2004145392A (en) Moving image file distributing device
CN113315997B (en) Transmission device, server device, transmission method, and program
CN113542747A (en) Server device, communication system, and storage medium
JP6950386B2 (en) Distribution device, playback device, distribution method, playback method, playback program and data structure

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