JP5498124B2 - Video storage conversion system and program - Google Patents

Video storage conversion system and program Download PDF

Info

Publication number
JP5498124B2
JP5498124B2 JP2009245355A JP2009245355A JP5498124B2 JP 5498124 B2 JP5498124 B2 JP 5498124B2 JP 2009245355 A JP2009245355 A JP 2009245355A JP 2009245355 A JP2009245355 A JP 2009245355A JP 5498124 B2 JP5498124 B2 JP 5498124B2
Authority
JP
Japan
Prior art keywords
file
server
video
conversion
moving image
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
JP2009245355A
Other languages
Japanese (ja)
Other versions
JP2011091736A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2009245355A priority Critical patent/JP5498124B2/en
Publication of JP2011091736A publication Critical patent/JP2011091736A/en
Application granted granted Critical
Publication of JP5498124B2 publication Critical patent/JP5498124B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Description

本発明は、映像ストリームをストレージに動画ファイルとして蓄積し、蓄積した動画ファイルを読込んで別の映像フォーマットへと変換した動画ファイルを生成する映像蓄積変換システムに関し、特に蓄積処理と変換処理をパラレルに実行する蓄積プログラムおよび変換プログラムに関する。   The present invention relates to a video accumulation conversion system for accumulating a video stream in a storage as a moving image file and generating a moving image file obtained by reading the accumulated moving image file and converting it into another video format. The present invention relates to a storage program and a conversion program to be executed.

近年、ネットワークを介したコンテンツ配信サーバおよび受信端末が普及し始めた。これに伴い、多様な配信プラットフォームが登場している。しかし、各配信プラットフォームは、それぞれ異なる動画フォーマットを採用する場合が多い。そのため、コンテンツの提供事業者は、同一内容のコンテンツに対して、フォーマットの異なる複数の動画ファイルを用意する必要に迫られている。   In recent years, content distribution servers and receiving terminals via a network have begun to spread. Along with this, various distribution platforms have appeared. However, each distribution platform often adopts a different video format. Therefore, a content provider is required to prepare a plurality of moving image files having different formats for the same content.

また、配信する動画像や音声などの映像コンテンツは、高精細となって容量が増大化している。この結果、1つのコンテンツを動画ファイルとしての蓄積および別のフォーマットへの変換にかかる処理時間を短縮することが、迅速に映像配信サービスを提供するという観点から重要になっている。   In addition, video contents such as moving images and audio to be distributed are high definition and capacity is increasing. As a result, it is important to reduce the processing time required to store one content as a moving image file and convert it to another format from the viewpoint of quickly providing a video distribution service.

特許文献1は、受信端末が希望する動画像ストリームを受信端末から指定された位置から配信する場合に、所望のフレームから高画質な動画像ストリームを高速に変換して受信端末に送信することができる動画像配信システム、変換装置および動画像配信方法を開示している。   In Patent Document 1, when a moving image stream desired by a receiving terminal is distributed from a position designated by the receiving terminal, a high-quality moving image stream is quickly converted from a desired frame and transmitted to the receiving terminal. Disclosed are a moving image distribution system, a conversion device, and a moving image distribution method.

国際公開第2008/142948号パンフレットInternational Publication No. 2008/142948 Pamphlet

しかし、特許文献1は、映像ストリームを受信してから動画ファイルとして蓄積し、更に動画ファイルを別のフォーマットへ変換するまでのシステム全体としての処理時間を短縮するという観点について、記載していない。   However, Patent Document 1 does not describe the viewpoint of shortening the processing time of the entire system from receiving a video stream to accumulating it as a moving image file and further converting the moving image file to another format.

また、従来の映像蓄積変換システムでは、動画蓄積と動画変換をシーケンシャルに実行することが一般的である。このため、変換された動画ファイルが配信プラットフォームに対して提供可能となるまでの時間が多大である。これは、映像フォーマットの変換では、変換元ファイル(ベースとなる蓄積ファイル)が既にファイルとしてストレージで完成している状態に対して、変換プログラムが変換元ファイルを先頭から読込んでいき、変換元ファイルの終端までの変換を実施するとフォーマット変換が完了し、変換後ファイル(別の映像フォーマットの動画ファイル)が完成する方法のためである。   Further, in a conventional video storage / conversion system, it is common to perform moving image accumulation and moving image conversion sequentially. For this reason, it takes a long time until the converted video file can be provided to the distribution platform. In video format conversion, the conversion program reads the conversion source file from the beginning when the conversion source file (base storage file) has already been completed in the storage as a file, and the conversion source file This is because the format conversion is completed when the conversion up to the end of is completed, and the converted file (moving image file of another video format) is completed.

そこで、動画蓄積と動画変換をパラレルに実行することで、システムトータルとしての処理時間を短縮する方法が有効となる。しかし、パラレル方式では、蓄積サーバがエンコーダ装置から入力される映像ストリームをストレージに書きこんでいる生成中ファイルを、変換サーバが追いかけ読込みを行って変換を行っていく必要がある。しかし、蓄積サーバによってファイルを蓄積していく処理速度と、変換サーバによってファイルを変換していく処理速度の同期をとることは困難である。   Therefore, a method of shortening the processing time as a total system by executing moving image accumulation and moving image conversion in parallel is effective. However, in the parallel system, it is necessary for the conversion server to follow and read and convert the file being generated in which the storage server writes the video stream input from the encoder device to the storage. However, it is difficult to synchronize the processing speed of storing files with the storage server and the processing speed of converting files with the conversion server.

上述した課題は、映像信号の符号化を行なうエンコーダ装置と、エンコーダ装置から受信した映像ストリームを第1の動画ファイルとして蓄積する蓄積サーバと、蓄積サーバが蓄積中の第1の動画ファイルを他の動画フォーマットへ変換して第2の動画ファイルを生成する変換サーバと、蓄積サーバおよび変換サーバによって生成された動画ファイルを格納するファイルサーバとで構成され、蓄積サーバは、ファイルサーバに、蓄積処理中であることを示す書込みファイルを生成/削除し、変換サーバは、書込みファイルの有無に基づいて、第1の動画ファイルから第2の動画ファイルへの変換を継続または終了する映像蓄積変換システムにより、解決できる。   The above-described problems include an encoder device that encodes a video signal, a storage server that stores a video stream received from the encoder device as a first moving image file, and a first moving image file that the storage server is storing. It is composed of a conversion server that converts the video format into a second video file and a storage server and a file server that stores the video file generated by the conversion server. A conversion file is generated / deleted by the video storage conversion system that continues or terminates the conversion from the first video file to the second video file based on the presence or absence of the write file. Solvable.

また、コンピュータを、エンコーダから映像ストリームを受信するストリーム受信部、受信した映像ストリームを動画ファイルとしてファイルサーバに蓄積する動画ファイル蓄積部、蓄積の開始および終了のタイミングを判定し、蓄積の開始に先立って、蓄積状況を示す書込みファイルをファイルサーバに生成し、蓄積の終了を以て、書込みファイルを削除する管理部、として機能させるためのプログラムにより、解決できる。   In addition, the computer determines a stream reception unit that receives a video stream from the encoder, a video file storage unit that accumulates the received video stream as a video file in a file server, and determines the start and end timing of the storage, and prior to the start of the storage This can be solved by a program for generating a write file indicating the storage status in the file server and causing the file server to function as a management unit that deletes the write file upon completion of the storage.

さらに、コンピュータを、ファイルサーバに格納されている動画ファイルを受信する動画ファイル読込み部、動画ファイルのフォーマットを変換し、ファイルサーバに出力する動画フォーマット変換部、ファイルサーバに記録された蓄積状況を示す書込みファイルに基づいて、動画ファイルを受信する速度とタイミングとを判定する制御部、として機能させるためのプログラムにより、解決できる。   Furthermore, the video file reading unit that receives the video file stored in the file server, the video format conversion unit that converts the format of the video file and outputs it to the file server, and the storage status recorded in the file server are shown. This can be solved by a program for functioning as a control unit that determines the speed and timing of receiving a moving image file based on the written file.

本発明によれば、変換サーバが変換終了または一定期間経過後の読込み再開の判定をすることで、変換サーバにおける変換速度を調整することができる。   According to the present invention, the conversion speed in the conversion server can be adjusted by the conversion server determining whether the conversion is completed or reading is resumed after a certain period of time has elapsed.

映像蓄積変換システムのハードウェアブロック図である。It is a hardware block diagram of a video storage conversion system. 蓄積サーバの機能ブロック図である。It is a functional block diagram of a storage server. 変換サーバの機能ブロック図である。It is a functional block diagram of a conversion server. ファイルサーバの機能ブロック図である。It is a functional block diagram of a file server. 蓄積サーバ/変換サーバのハードウェアブロック図である。It is a hardware block diagram of a storage server / conversion server. 書込みファイルの記載内容を説明する図である。It is a figure explaining the description content of a write file. エラーファイルの記載内容を説明する図である。It is a figure explaining the description content of an error file. 蓄積サーバの動作を説明するフローチャートである。It is a flowchart explaining operation | movement of a storage server. 変換サーバの動作を説明するフローチャート(その1)である。It is a flowchart (the 1) explaining operation | movement of a conversion server. 変換サーバの動作を説明するフローチャート(その2)である。It is a flowchart (the 2) explaining operation | movement of a conversion server.

以下、本発明の実施の形態について、実施例を用い図面を参照しながら詳細に説明する。なお、実質同一部位には同じ参照番号を振り、説明は繰り返さない。以下説明する実施例は、動画像や音声などの映像ストリームをファイルサーバなどのストレージに動画ファイルとして蓄積し、蓄積した動画ファイルを読込んで、別の映像フォーマットへ変換された動画ファイルを生成する映像蓄積変換システムである。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings using examples. The same reference numerals are assigned to substantially the same parts, and the description will not be repeated. In the embodiment described below, a video stream such as a moving image or audio is stored as a moving image file in a storage such as a file server, and the stored moving image file is read to generate a moving image file converted into another video format. It is a storage conversion system.

まず、図1を参照して、映像蓄積変換システム1000のハードウェアを説明する。図1において、映像蓄積変換システム1000は、カメラまたは映像再生装置等の映像信号出力装置101と、映像信号ケーブル102と、エンコーダ装置103と、LAN(Local Area Network)104と、蓄積サーバ200と、変換サーバ300と、ファイルサーバ400と、ビデオオンデマンドやダウンロード等の映像配信サービスを提供する2台の配信サーバ108と、インターネット網に代表される公衆回線110と、公衆回線110に接続して映像および音声の受信再生等が可能なn台の受信端末111から構成されている。   First, the hardware of the video storage conversion system 1000 will be described with reference to FIG. In FIG. 1, a video storage conversion system 1000 includes a video signal output device 101 such as a camera or a video playback device, a video signal cable 102, an encoder device 103, a LAN (Local Area Network) 104, a storage server 200, Conversion server 300, file server 400, two distribution servers 108 that provide video distribution services such as video-on-demand and download, public line 110 typified by the Internet, and video connected to public line 110 And n receiving terminals 111 capable of receiving and reproducing audio.

映像信号出力装置101とエンコーダ装置103とは、映像信号ケーブル102を介して接続されている。またエンコーダ装置103と蓄積サーバ200と変換サーバ300とファイルサーバ400と配信サーバ108とは、LAN104を介して接続されている。なお、相互接続するネットワークは、必ずしもLAN104である必要はなく、情報の送受信ができるネットワークであれば公衆回線網などであってもよい。   The video signal output device 101 and the encoder device 103 are connected via a video signal cable 102. The encoder device 103, the accumulation server 200, the conversion server 300, the file server 400, and the distribution server 108 are connected via the LAN 104. Note that the network to be interconnected is not necessarily the LAN 104, and may be a public line network or the like as long as it can transmit and receive information.

配信サーバ108と受信端末111とは、公衆回線110を介して接続されている。受信端末111は、映像配信要求を送信する。配信サーバ108は、映像配信要求に対する応答として映像を配信する。配信サーバ108と受信端末111とは、区別するとき、配信サーバ108A、配信サーバ108B、受信端末111a〜受信端末111nと記載する。 The distribution server 108 and the receiving terminal 111 are connected via a public line 110. The receiving terminal 111 transmits a video distribution request. The distribution server 108 distributes video as a response to the video distribution request. The delivery server 108 and the receiving terminal 111, when distinguishing, delivery server 108 - A, the distribution server 108 - B, the receiving terminal 111 - a to the receiving terminal 111 - referred to as n.

図2を参照して、蓄積サーバ200の機能ブロックを説明する。図2において、蓄積サーバ200は、通信制御部201と、ストリーム受信部202と、動画ファイル蓄積部203と、スケジュール管理部204と、バッファメモリ205とから構成される。   With reference to FIG. 2, functional blocks of the storage server 200 will be described. In FIG. 2, the storage server 200 includes a communication control unit 201, a stream reception unit 202, a moving image file storage unit 203, a schedule management unit 204, and a buffer memory 205.

通信制御部201は、LAN104を介して情報の送受信を行なう。ストリーム受信部202は、通信制御部201より映像ストリームを受け取る。動画ファイル蓄積部203は、受信した映像ストリームを動画ファイルとして蓄積するために通信制御部201を介してファイルサーバ400へと出力する。バッファメモリ205は、受信したストリームを一時的に保存する。   The communication control unit 201 transmits and receives information via the LAN 104. The stream receiving unit 202 receives a video stream from the communication control unit 201. The moving image file storage unit 203 outputs the received video stream to the file server 400 via the communication control unit 201 in order to store the received video stream as a moving image file. The buffer memory 205 temporarily stores the received stream.

スケジュール管理部204は、蓄積の開始および終了するタイミングを判定する。スケジュール管理部204は、動画ファイル蓄積部203による蓄積に先立って、ファイルサーバ400に書込みファイルを格納する。また、スケジュール管理部204は、動画ファイル蓄積部203の蓄積が終了すると、ファイルサーバ400の書込みファイルを削除する。さらに、スケジュール管理部204は、書込みエラーを確認する。書込みエラーを検出したとき、スケジュール管理部204は、エラーファイルをファイルサーバ400に格納する。   The schedule management unit 204 determines the timing for starting and ending accumulation. The schedule management unit 204 stores the write file in the file server 400 prior to the accumulation by the moving image file accumulation unit 203. In addition, when the storage of the moving image file storage unit 203 ends, the schedule management unit 204 deletes the write file of the file server 400. Furthermore, the schedule management unit 204 confirms a write error. When the writing error is detected, the schedule management unit 204 stores the error file in the file server 400.

図3を参照して、変換サーバ300の機能ブロックを説明する。図3において、変換サーバ300は、通信制御部301と、動画ファイル読込み部302と、動画フォーマット変換部303と、変換制御部304と、バッファメモリ305とから構成される。   With reference to FIG. 3, the functional block of the conversion server 300 is demonstrated. In FIG. 3, the conversion server 300 includes a communication control unit 301, a moving image file reading unit 302, a moving image format conversion unit 303, a conversion control unit 304, and a buffer memory 305.

通信制御部301は、LAN104を介して情報の送受信を行なう。動画ファイル読込み部302は、通信制御部301を介してファイルサーバ400に格納されている動画ファイルを読込む。動画フォーマット変換部303は、読込んだ動画ファイルの動画像や音声などのフォーマットを、別のフォーマットへ変換する。動画フォーマット変換部303は、通信制御部201を介してファイルサーバ400へと出力する。バッファメモリ305は、読込んだ動画ファイルのデータを一時的に保存する。   The communication control unit 301 transmits and receives information via the LAN 104. The moving image file reading unit 302 reads a moving image file stored in the file server 400 via the communication control unit 301. The moving image format conversion unit 303 converts the format of the moving image or sound of the read moving image file to another format. The moving image format conversion unit 303 outputs the file format to the file server 400 via the communication control unit 201. The buffer memory 305 temporarily stores the read moving image file data.

変換制御部304は、ファイルサーバ400の書込みファイル407に基づいて、変換の開始および終了するタイミングを判定する。変換制御部304は、ファイルサーバ400にエラーファイル408があるか確認する。エラーファイル408があったとき、変換制御部304は、動画フォーマットの変換をエラー終了する。変換制御部304は、ファイルサーバ400に書込みファイル407があるか確認する。書込みファイル407がなかったとき、変換制御部304は、動画フォーマットの変換を正常終了する。
The conversion control unit 304 determines the timing for starting and ending conversion based on the write file 407 of the file server 400. The conversion control unit 304 checks whether there is an error file 408 in the file server 400. When there is an error file 408, the conversion control unit 304 ends the conversion of the moving image format with an error. The conversion control unit 304 confirms whether the write file 407 exists in the file server 400. When the writing file 407 does not exist, the conversion control unit 304 normally ends the conversion of the moving image format.

図4を参照して、ファイルサーバ400の機能ブロックを説明する。図4において、ファイルサーバ400は、通信制御部401と、ファイル読出し部402と、ファイル書出し部403と、ストレージ404とから構成される。
A functional block of the file server 400 will be described with reference to FIG. In FIG. 4, the file server 400 includes a communication control unit 401, a file reading unit 402, a file writing unit 403, and a storage 404 .

通信制御部401は、LAN104を介して情報の送受信を行なう。ファイル読出し部402は、ストレージ404からファイルを読出す。ファイル書出し部403は、ストレージ404へファイルを書込む。また、ストレージ404は、動画ファイルA405と、動画ファイルB406と、書込みファイル407と、エラーファイル408とを格納する。ここで、動画ファイルA405と、動画ファイルB406とは、フォーマットの異なる動画ファイルである。   The communication control unit 401 transmits and receives information via the LAN 104. The file reading unit 402 reads a file from the storage 404. A file writing unit 403 writes a file to the storage 404. In addition, the storage 404 stores a moving image file A 405, a moving image file B 406, a writing file 407, and an error file 408. Here, the moving image file A 405 and the moving image file B 406 are moving image files having different formats.

図5を参照して、蓄積サーバ200および変換サーバ300のハードウェア構成を説明する。図5において、蓄積サーバ200は、内部バス210に接続された中央演算装置(CPU)220、メインメモリ230、バッファメモリ240、NIC(Network Interface Card)250、HDD(Hard Disk Drive)260で構成されている。図5の内部の参照番号は、蓄積サーバ200のハードウェアの参照番号を振っている。しかし、図5を変換サーバ300として、参照するとき、それぞれ、内部バス310、CPU320、メインメモリ330、バッファメモリ340、NIC350、HDD360と読み替える。   The hardware configuration of the storage server 200 and the conversion server 300 will be described with reference to FIG. In FIG. 5, the storage server 200 includes a central processing unit (CPU) 220, a main memory 230, a buffer memory 240, a NIC (Network Interface Card) 250, and an HDD (Hard Disk Drive) 260 connected to an internal bus 210. ing. The internal reference numbers in FIG. 5 are assigned the hardware reference numbers of the storage server 200. However, when referring to FIG. 5 as the conversion server 300, they are read as the internal bus 310, the CPU 320, the main memory 330, the buffer memory 340, the NIC 350, and the HDD 360, respectively.

図5から明らかなように、蓄積サーバ200および変換サーバ300は、コンピュータである。図2と図5の対比および図3と図5の対比から明らかなように、蓄積サーバ200/変換サーバ300の各機能ブロックは、HDD260/360に記録された蓄積プログラム/変換プログラムをメインメモリ230/330に読み込んで、CPU220/320が実行することで、実現する。   As is clear from FIG. 5, the storage server 200 and the conversion server 300 are computers. As apparent from the comparison between FIG. 2 and FIG. 5 and the comparison between FIG. 3 and FIG. 5, each functional block of the storage server 200 / conversion server 300 stores the storage program / conversion program recorded in the HDD 260/360 into the main memory 230. / 330 is read and executed by the CPU 220/320.

図6を参照して、書込みファイル407の記載内容を説明する。図6において、書込みファイル407は、蓄積対象とする動画ファイルの蓄積開始日時71、蓄積終了日時72、書込み中の動画ファイルパス73、書込み済みファイルサイズ74、進捗状況75が書かれている。また場合によっては、書込み済みファイルサイズ74、蓄積の進捗状況75は、書かれていなくてもよい。   The description content of the write file 407 will be described with reference to FIG. In FIG. 6, the write file 407 contains the accumulation start date and time 71, accumulation end date and time 72, the moving image file path 73 being written, the written file size 74, and the progress status 75. In some cases, the written file size 74 and the storage progress status 75 may not be written.

書込みファイル407は、蓄積サーバ200による動画ファイル405の蓄積が開始した直後にスケジュール管理部204によって生成され、ファイルサーバ400のストレージ404の中に格納される。また書込みファイル407は、蓄積サーバ200による動画ファイル405の蓄積が終了した直後にスケジュール管理部204によって、ファイルサーバ400のストレージ404の中から削除される。   The write file 407 is generated by the schedule management unit 204 immediately after accumulation of the moving image file 405 by the accumulation server 200 is started, and stored in the storage 404 of the file server 400. The write file 407 is deleted from the storage 404 of the file server 400 by the schedule management unit 204 immediately after the storage of the moving image file 405 by the storage server 200 is completed.

変換サーバ300は、ファイルサーバ400のストレージ404上の書込みファイル407の存在有無をチェックする。存在しない場合、変換サーバ300は、蓄積サーバ200による動画ファイル405の蓄積が終了したことを認識する。書込みファイル407が存在する場合、変換サーバ300は、蓄積サーバ200による動画ファイル405の生成は継続中であると認識する。   The conversion server 300 checks whether the write file 407 on the storage 404 of the file server 400 exists. If not present, the conversion server 300 recognizes that the accumulation of the moving image file 405 by the accumulation server 200 has ended. When the write file 407 exists, the conversion server 300 recognizes that the generation of the moving image file 405 by the storage server 200 is continuing.

また変換サーバ300の変換制御部304は、書込みファイル407に記載される書込み済みファイルサイズを参照する。参照結果により、変換制御部304は、動画ファイル405の読込み済みファイルサイズと比較し、蓄積サーバ200による動画ファイルA405の書込みに追いつかないように、1回あたりの読込みサイズを小さくすることで読込み速度を調整する。   The conversion control unit 304 of the conversion server 300 refers to the written file size described in the write file 407. Based on the reference result, the conversion control unit 304 compares the read file size of the moving image file 405 with the read speed by reducing the read size per time so that the storage server 200 cannot catch up with the writing of the moving image file A405. Adjust.

図7を参照して、エラーファイル408の記載内容を説明する。図7において、エラーファイル408は、蓄積対象とする動画ファイル405の蓄積開始日時81、蓄積終了日時82、書込み中の動画ファイルパス83、書込み途中に発生したエラーを識別するためのエラーコード84、エラーの詳細内容であるエラー内容85が書かれている。また場合によっては、エラーコード84またはエラー内容85は、省略可能である。   The description content of the error file 408 will be described with reference to FIG. In FIG. 7, an error file 408 includes an accumulation start date / time 81, an accumulation end date / time 82, a movie file path 83 being written, an error code 84 for identifying an error that occurred during writing, An error content 85 which is a detailed content of the error is written. In some cases, the error code 84 or the error content 85 can be omitted.

エラーファイル408は、蓄積サーバ200による動画ファイル405の蓄積中にファイル書込みエラー等が発生した場合にスケジュール管理部204によって生成され、ファイルサーバ400のストレージ404の中に格納される。   The error file 408 is generated by the schedule management unit 204 and stored in the storage 404 of the file server 400 when a file write error or the like occurs during the accumulation of the moving image file 405 by the accumulation server 200.

変換サーバ300は、ファイルサーバ400のストレージ404上のエラーファイル408の存在有無をチェックする。存在しない場合、変換サーバ300は、蓄積サーバ200による動画ファイル405の蓄積が正常であることを認識する。エラーファイル408が存在する場合、変換サーバ300は、蓄積サーバ200による動画ファイル405の蓄積にエラーが発生したことを認識し、動画フォーマット変換を終了する。   The conversion server 300 checks whether the error file 408 on the storage 404 of the file server 400 exists. If it does not exist, the conversion server 300 recognizes that the accumulation of the moving image file 405 by the accumulation server 200 is normal. When the error file 408 exists, the conversion server 300 recognizes that an error has occurred in the accumulation of the moving image file 405 by the accumulation server 200 and ends the moving image format conversion.

図8を参照して、蓄積サーバ200の動作を説明する。図8において、まず、蓄積サーバ200は、スケジュール管理部204において蓄積開始日時が到来しているかどうかの判定を行なう(S701)。蓄積開始日時が到来していない場合、蓄積サーバ200は、ステップ701に戻る。蓄積開始日時が到来していた場合、蓄積サーバ200は、ファイルサーバ400へ書込みファイル407を生成する(S702)。そして、蓄積サーバ200は、通信制御部201を介してストリーム受信部202が受信した映像ストリームについて、動画ファイル蓄積部203においてファイルサーバ400へ動画ファイルA405としてファイル書込みを開始する(S703)。   The operation of the storage server 200 will be described with reference to FIG. In FIG. 8, first, the storage server 200 determines whether or not the storage start date / time has arrived in the schedule management unit 204 (S701). If the accumulation start date / time has not arrived, the accumulation server 200 returns to Step 701. When the accumulation start date / time has arrived, the accumulation server 200 generates a write file 407 to the file server 400 (S702). Then, the storage server 200 starts writing the video stream received by the stream receiving unit 202 via the communication control unit 201 as a video file A405 to the file server 400 in the video file storage unit 203 (S703).

蓄積サーバ200は、動画ファイルA405を書込み、エラー発生の有無を確認する(S704)。エラー発生が無いとき、蓄積サーバ200は、蓄積終了日時に至ったか判定する(S707)。ステップ704でエラー発生があるとき、蓄積サーバ200は、ファイルサーバ400にエラーファイル408を生成して(S706)、ステップ707に遷移する。ステップ707でNOのとき、蓄積サーバ200は、ステップ704に遷移する。ステップ707でYESのとき、蓄積サーバ200は、ファイルサーバ400への動画ファイルA405の書込みを終了する(S708)。蓄積サーバ200は、ファイルサーバ400の書込みファイル407を削除して(S709)、終了する。   The storage server 200 writes the moving image file A405 and checks whether an error has occurred (S704). When no error has occurred, the storage server 200 determines whether or not the storage end date / time has been reached (S707). When an error occurs in step 704, the storage server 200 generates an error file 408 in the file server 400 (S706), and the process proceeds to step 707. When NO in step 707, the storage server 200 transitions to step 704. When YES is determined in the step 707, the storage server 200 ends the writing of the moving image file A405 to the file server 400 (S708). The storage server 200 deletes the write file 407 of the file server 400 (S709) and ends.

図9を参照して、変換サーバ300の動作を説明する。図9Aにおいて、まず、変換サーバ300は、変換開始日時が到来しているか判定する(S801)。NOのとき、変換サーバ300は、ステップ801に再び遷移する。ステップ801でYESのとき、変換サーバ300は、ファイルサーバ400から、動画ファイルA405の読込みを開始する(S802)。変換サーバ300は、読み込んだ部分の動画フォーマットの変換を開始する(S803)。変換サーバ300は、変換した部分をファイルサーバ400のファイルB406への書込みを開始する(S804)。   The operation of the conversion server 300 will be described with reference to FIG. In FIG. 9A, first, the conversion server 300 determines whether the conversion start date and time has arrived (S801). When NO, the conversion server 300 makes a transition again to step 801. If YES in step 801, the conversion server 300 starts reading the moving image file A405 from the file server 400 (S802). The conversion server 300 starts converting the moving image format of the read portion (S803). The conversion server 300 starts writing the converted portion to the file B 406 of the file server 400 (S804).

図9Bにおいて、変換サーバ300は、動画ファイルA405を読込み、動画フォーマット変換し、動画ファイルB406を書込む(S806)。変換サーバ300は、エラーファイル408がファイルサーバ400にあるか確認する(S807)。変換サーバ300は、エラーファイル408の有無を判定する(S808)。エラーファイル408がないとき、変換サーバ300は、動画ファイルA405の読込みファイル終端か判定する(S809)。NOのとき、変換サーバ300は、そのままステップ806に遷移する。ステップ809でYESのとき、変換サーバ300は、書き込みファイルの存在を確認する(S811)。変換サーバ300は、書込みファイルの有無を判定する(S812)。YESのとき、変換サーバ300は、そのままステップ806に遷移する。ステップ812でNOのとき、変換サーバ300は、動画フォーマット変換を終了して(S813)、終了する。なお、ステップ808でYESのとき、変換サーバ300は、そのままステップ813に遷移する。   In FIG. 9B, the conversion server 300 reads the moving image file A405, converts the moving image format, and writes the moving image file B406 (S806). The conversion server 300 confirms whether the error file 408 exists in the file server 400 (S807). The conversion server 300 determines whether or not the error file 408 exists (S808). When there is no error file 408, the conversion server 300 determines whether the end of the read file of the moving image file A405 (S809). If NO, the conversion server 300 proceeds to step 806 as it is. When YES is determined in the step 809, the conversion server 300 confirms the existence of the write file (S811). The conversion server 300 determines whether there is a write file (S812). If YES, the conversion server 300 proceeds to step 806 as it is. If NO in step 812, the conversion server 300 ends the moving image format conversion (S813) and ends. If YES in step 808, conversion server 300 proceeds to step 813 as it is.

以上に説明した実施例によれば、蓄積サーバ200がエンコーダ装置103から入力される映像ストリームをファイルサーバ400のストレージ404へ書き込んでいる蓄積中の動画ファイルを、変換サーバ300が追いかけて読込み変換を行っていく際に、同期ずれを回避して蓄積および変換の両方をパラレルに実現することが可能となる。   According to the embodiment described above, the conversion server 300 follows and reads and converts the moving image file being stored in which the storage server 200 writes the video stream input from the encoder device 103 to the storage 404 of the file server 400. When performing, it is possible to avoid both synchronization and realize both accumulation and conversion in parallel.

なお、蓄積プログラムおよび変換プログラムは、光ディスク、ハードディスクなどの記録媒体に記録させておくことができる。またネットワークを介して処理プログラムを得るようにしてもよい。   The storage program and the conversion program can be recorded on a recording medium such as an optical disk or a hard disk. The processing program may be obtained via a network.

以上、好適な実施例を説明したが、発明は、実施の形態に限定されず、発明の趣旨を逸脱しない範囲で適宜変更が可能である。以下のような実施の形態が考えられる。
(1)蓄積サーバ200と変換サーバ300は別サーバとして記載したが、同一のサーバ内に蓄積プログラムおよび変換プログラムを実装して運用するようにしてもよい。
(2)ファイルサーバ400を独立したサーバとして記載したが、蓄積サーバもしくは変換サーバ内のハードディスクなどの記録媒体に対して、動画ファイル、書込みファイルおよびエラーファイルを格納する運用が考えられる。
(3)ファイルサーバ400は、変換前の動画ファイルAと変換後の動画ファイルBとを保持知るが、別個のファイルサーバで保持してもよい。
The preferred embodiments have been described above, but the invention is not limited to the embodiments and can be appropriately changed without departing from the spirit of the invention. The following embodiments are conceivable.
(1) Although the storage server 200 and the conversion server 300 are described as separate servers, the storage program and the conversion program may be mounted and operated in the same server.
(2) Although the file server 400 is described as an independent server, it is conceivable to store a moving image file, a write file, and an error file in a recording medium such as a hard disk in the storage server or the conversion server.
(3) Although the file server 400 holds and knows the moving image file A before conversion and the moving image file B after conversion, it may be held by separate file servers.

101…映像信号出力装置、103…エンコーダ装置、200…蓄積サーバ、202…ストリーム受信部、203…動画ファイル蓄積部、204…スケジュール管理部、210…内部バス、220…CPU、230…メインメモリ、240…バッファメモリ、250…NIS、260…HDD、300…変換サーバ、302…動画ファイル読込み部、303…動画フォーマット変換部、304…変換制御部、310…内部バス、320…CPU、330…メインメモリ、340…バッファメモリ、350…NIC、360…HDD、400…ファイルサーバ、407…書込みファイル、408…エラーファイル、1000…映像蓄積変換システム。   DESCRIPTION OF SYMBOLS 101 ... Video signal output device, 103 ... Encoder device, 200 ... Storage server, 202 ... Stream receiving part, 203 ... Movie file storage part, 204 ... Schedule management part, 210 ... Internal bus, 220 ... CPU, 230 ... Main memory, 240 ... Buffer memory, 250 ... NIS, 260 ... HDD, 300 ... Conversion server, 302 ... Video file reading unit, 303 ... Video format conversion unit, 304 ... Conversion control unit, 310 ... Internal bus, 320 ... CPU, 330 ... Main Memory, 340 ... Buffer memory, 350 ... NIC, 360 ... HDD, 400 ... File server, 407 ... Write file, 408 ... Error file, 1000 ... Video storage conversion system.

Claims (5)

映像信号の符号化を行なうエンコーダ装置と、前記エンコーダ装置から受信した映像ストリームを第1の動画ファイルとしてファイルサーバに蓄積する蓄積サーバと、前記蓄積サーバが前記ファイルサーバに蓄積中の前記第1の動画ファイルを他の動画フォーマットへ変換して第2の動画ファイルを生成する変換サーバと、前記蓄積サーバによって生成された前記第1の動画ファイルおよび前記変換サーバによって生成された第2の動画ファイルを格納する前記ファイルサーバとで構成される映像蓄積変換システムにおいて、
前記蓄積サーバは、前記ファイルサーバに、前記第1の動画ファイルの蓄積処理中であることを示す書込みファイルを生成し、かつ前記第1の動画ファイルの蓄積が終了したときに前記書込みファイルを削除し、
前記変換サーバは、前記書込みファイルがあるときには、前記第1の動画ファイルから前記第2の動画ファイルへの変換を継続し、前記書込みファイルがないときには、前記第1の動画ファイルから前記第2の動画ファイルへの変換を終了することを特徴とする映像蓄積変換システム。
An encoder device that encodes a video signal; a storage server that stores a video stream received from the encoder device as a first video file in a file server; and the first server that is storing the video server in the file server . a conversion server for generating a second video file to convert the video files to other video formats, the second moving image file generated by the first video file and the conversion server that is generated by the storage server in the video storage conversion system composed of the said file server storing,
The accumulation server generates a write file indicating that the first moving image file is being accumulated in the file server, and deletes the written file when the accumulation of the first moving image file is completed. And
The conversion server continues the conversion from the first moving image file to the second moving image file when the writing file exists, and from the first moving image file to the second moving image when there is no writing file. A video storage and conversion system characterized by terminating the conversion to a video file.
コンピュータを、
エンコーダから映像ストリームを受信するストリーム受信部、
受信した前記映像ストリームを動画ファイルとしてファイルサーバに蓄積する動画ファイル蓄積部、
蓄積の開始および終了のタイミングを判定し、蓄積の開始に先立って、蓄積状況を示す書込みファイルを前記ファイルサーバに生成し、蓄積の終了を以て、前記映像ストリームの他の動画フォーマットへの変換の終了の可否の判定のために前記書込みファイルを削除する管理部、
として機能させるためのプログラム。
Computer
A stream receiver for receiving a video stream from the encoder;
A video file storage unit for storing the received video stream as a video file in a file server;
Determine the start and end timing of storage, generate a write file indicating the storage status in the file server prior to the start of storage, and end the conversion of the video stream to another video format upon completion of storage A management unit for deleting the write file to determine whether or not
Program to function as.
前記管理部は、さらに、
書込みエラーを検出したとき、エラーの発生を記録するエラーファイルを前記ファイルサーバに生成することを特徴とする請求項2に記載のプログラム。
The management unit further includes:
The program according to claim 2, wherein when a write error is detected, an error file for recording the occurrence of the error is generated in the file server.
コンピュータを、
ファイルサーバに格納されている動画ファイルを受信する動画ファイル読込み部、
前記動画ファイルのフォーマットを変換し、前記ファイルサーバに出力する動画フォーマット変換部、
前記ファイルサーバに記録された蓄積状況を示す書込みファイルに基づいて、動画ファイルを受信する速度とタイミングとを判定し、前記書込みファイルが削除されているときに前記動画ファイルのフォーマットの変換を終了する制御部、
として機能させるためのプログラム。
Computer
Movie file reading unit that receives movie files stored in the file server,
A video format conversion unit that converts the format of the video file and outputs the video file to the file server;
Based on the write file indicating the accumulation status recorded in the file server, the speed and timing of receiving the moving image file are determined, and the conversion of the format of the moving image file is terminated when the write file is deleted. Control unit,
Program to function as.
前記制御部は、さらに、
前記書込みファイルが前記ファイルサーバに記録されていないとき、正常終了し、前記ファイルサーバに書込みエラーの発生を示すエラーファイルが記録されているとき、エラー終了することを特徴とする請求項4記載のプログラム。
The control unit further includes:
5. The process according to claim 4, wherein the process ends normally when the write file is not recorded on the file server, and ends with an error when an error file indicating the occurrence of a write error is recorded on the file server. program.
JP2009245355A 2009-10-26 2009-10-26 Video storage conversion system and program Expired - Fee Related JP5498124B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009245355A JP5498124B2 (en) 2009-10-26 2009-10-26 Video storage conversion system and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009245355A JP5498124B2 (en) 2009-10-26 2009-10-26 Video storage conversion system and program

Publications (2)

Publication Number Publication Date
JP2011091736A JP2011091736A (en) 2011-05-06
JP5498124B2 true JP5498124B2 (en) 2014-05-21

Family

ID=44109543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009245355A Expired - Fee Related JP5498124B2 (en) 2009-10-26 2009-10-26 Video storage conversion system and program

Country Status (1)

Country Link
JP (1) JP5498124B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005065008A (en) * 2003-08-18 2005-03-10 Matsushita Electric Ind Co Ltd Home server
JP4268930B2 (en) * 2004-12-27 2009-05-27 株式会社日立国際電気 Network-type image storage and distribution device
JP4796367B2 (en) * 2005-09-28 2011-10-19 株式会社フェイス Video distribution system
JP2007181047A (en) * 2005-12-28 2007-07-12 Matsushita Electric Ind Co Ltd Recording and reproducing device control system
JP2008301208A (en) * 2007-05-31 2008-12-11 Toshiba Corp Video recorder

Also Published As

Publication number Publication date
JP2011091736A (en) 2011-05-06

Similar Documents

Publication Publication Date Title
JP4989054B2 (en) Media conversion method and apparatus on network with limited bandwidth
JP4772297B2 (en) Media Foundation Media Processor
JP5068197B2 (en) Apparatus and method for writing data to tape medium
JP2008243367A (en) Method and device for recording broadcast data
JP6443173B2 (en) Video data processing apparatus, video data processing system, video data processing method, and video data processing program
JP2012054788A (en) Data file transfer device, control method therefor, program, and storage medium
US7194548B1 (en) Data transmission apparatus, receiving apparatus, and sending apparatus
EP2083421A1 (en) Video recording device, video recording method, video recording program, and integrated circuit
JP5498124B2 (en) Video storage conversion system and program
JP4534940B2 (en) Information recording apparatus, imaging apparatus, information recording control method, and computer program
JP4595247B2 (en) Data reproduction method, data reproduction control program, and data reproduction apparatus
US20100241802A1 (en) Storage unit, data write method and data write program
JP5150696B2 (en) Storage processing apparatus and failover control method
JP2005110024A (en) Data transmitter, data transmission/reception system, and data transmission/reception method
US10354695B2 (en) Data recording control device and data recording control method
JP7104819B1 (en) Video data transmission device, video data transmission program and video data transmission method
JP2007193909A (en) Recorder, sound recorder and program
JP2005278201A (en) Data transfer apparatus, and data transfer method
JP4378232B2 (en) Data transmission apparatus and data transmission method
JP2006195632A (en) Record reproduction device, management information control method thereof, and program
JP2007317328A (en) Image recording/reproducing device
JP2008172629A (en) Content integration server
JP2005276226A (en) Data transfer device and method for controlling it
JP4207483B2 (en) Transmitter
CN117998045A (en) Method and device for transmitting multimedia file, electronic equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130305

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140121

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140307

R150 Certificate of patent or registration of utility model

Ref document number: 5498124

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees