JP2012244587A - Storage server - Google Patents

Storage server Download PDF

Info

Publication number
JP2012244587A
JP2012244587A JP2011116028A JP2011116028A JP2012244587A JP 2012244587 A JP2012244587 A JP 2012244587A JP 2011116028 A JP2011116028 A JP 2011116028A JP 2011116028 A JP2011116028 A JP 2011116028A JP 2012244587 A JP2012244587 A JP 2012244587A
Authority
JP
Japan
Prior art keywords
video
audio data
memory buffer
storage
storage server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011116028A
Other languages
Japanese (ja)
Inventor
Takeshi Koike
猛 小池
Tomohito Fukuda
智史 福田
Makoto Kutsuwada
誠 轡田
Hidetoshi Yuzaki
秀俊 勇崎
Toyokatsu Yamada
豊勝 山田
Yoshiharu Imazeki
善晴 今関
Katsumasa Hirose
克昌 広瀬
Masayuki Ohito
誠之 大人
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
Hitachi Kokusai Electric Inc
Japan Broadcasting Corp
Original Assignee
Hitachi Ltd
Hitachi Kokusai Electric Inc
Nippon Hoso Kyokai NHK
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, Hitachi Kokusai Electric Inc, Nippon Hoso Kyokai NHK filed Critical Hitachi Ltd
Priority to JP2011116028A priority Critical patent/JP2012244587A/en
Publication of JP2012244587A publication Critical patent/JP2012244587A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reduce a response delay at data acquisition time in a system which acquires video/audio data stored in a storage and transmits the acquired data for reproduction, thereby enabling video/audio to be reproduced smoothly in whichever mode it is reproduced, double-speed or reverse.SOLUTION: A storage server 102 transmits video/audio data acquired from a storage 107 in which the video/audio data is stored to a decoder 101 included in a video/audio data reproduction device. The storage server 102 includes three memory buffers A104 to C106 as the buffers in which to buffer the video/audio data. Of these memory buffers A104 to C106, the one used for data acquisition is used as a current memory buffer, while the others are used as a future memory buffer and a past memory buffer, respectively.

Description

本発明は、ストレージサーバに係り、特に、ストレージに蓄積された映像・音声データを取得して再生装置に送信する際に、再生装置における映像データの連続再生時のタイムラグを少なくするための映像・音声データに対するストレージサーバに関する。   The present invention relates to a storage server, and in particular, when acquiring video / audio data stored in a storage and transmitting it to a playback device, video / video for reducing a time lag during continuous playback of video data in the playback device. The present invention relates to a storage server for audio data.

本発明に関連する従来技術として、例えば、特許文献1等に記載された技術が知られている。この技術は、素材映像を放送用映像に編集加工する編集処理を行って番組を制作し、送出するためのシステムであり、素材映像の読み出し遅延、通信網を介して素材映像データを送信する際の転送遅延が一定時間以下に収まり、画面フリーズが生じないように、通信網の帯域幅を確保するというものである。   As a conventional technique related to the present invention, for example, a technique described in Patent Document 1 is known. This technology is a system for producing and sending a program by performing editing processing that edits and processes the material video into a broadcast video. When transmitting material video data via a communication network, the readout delay of the material video Therefore, the bandwidth of the communication network is ensured so that the transfer delay is less than a certain time and screen freeze does not occur.

特開2000−83192号公報JP 2000-83192 A

一般に、ストレージに蓄積された映像・音声データを読み出し、読み出した映像・音声データを再生装置に送信して再生させるシステムは、映像・音声データを一括取得して再生することが可能なだけの記憶容量が再生装置側で確保できていない構成の場合、映像・音声データの再生・逆再生を行う(再生の方向が変わる)際に生じるタイムラグをどのように解消するかが問題となっている。また、前述したシステムは、通常の連続再生や逆再生を行う場合においても、また、再生速度を変更した場合であってもなめらかな画面表示を行うことが要求されている。   In general, a system that reads video / audio data stored in a storage, and transmits the read video / audio data to a playback device for playback can only acquire and play back the video / audio data collectively. In a configuration in which the capacity cannot be secured on the playback device side, there is a problem of how to eliminate the time lag that occurs when video / audio data is played back / reversely (the playback direction changes). Further, the above-described system is required to display a smooth screen even when normal continuous playback or reverse playback is performed or when the playback speed is changed.

また、前述したシステムは、映像・音声データを任意のときに随時取得するために、ストレージの物理ディスクへのアクセスを再生の都度実施した場合、物理ディスクからのデータ読み出しのための応答遅延を発生させ、また、高速再生時や逆再生を行う場合、ストレージに対してランダムアクセスを行う必要があるために、更に大きな応答遅延を生じさせてしまう。   In addition, the system described above generates a response delay for reading data from the physical disk when accessing the physical disk of the storage every time playback is performed in order to acquire video / audio data at any time. In addition, when performing high-speed playback or reverse playback, it is necessary to perform random access to the storage, resulting in a larger response delay.

前述したような遅延を生じさせないようにすることのできる従来技術として、ストレージへのアクセスを制御するストレージサーバが、再生装置から再生すべき映像・音声データが要求される度に物理ディスクからの映像・音声データの取得を行うのではなく、一定サイズの映像・音声データを、予めストレージサーバのメモリ上にバッファリングしておき、要求を受信したときに、バッファの内容を再生装置に送信するというものがある。   As a conventional technique capable of preventing the delay as described above, every time the storage server that controls access to the storage requests video / audio data to be played back from the playback device, the video from the physical disk・ Rather than acquiring audio data, video / audio data of a certain size is buffered in advance on the memory of the storage server, and when the request is received, the contents of the buffer are sent to the playback device. There is something.

このように、物理ディスク上のデータの一部をメモリ上にバッファリングして保持しておくことにより、応答速度を向上させることができる。しかし、映像・音声データを、予めストレージサーバのメモリ上にバッファリングしておくという前述の従来技術は、バッファが1面のみの場合、バッファの最後に行き着いたときにメモリをクリアし、ディスクからreadする必要があり、その際に遅延を発生させるという問題点を有する。そのため、2面のバッファを準備し、交互に使用するという技術が一般に採用されているが、このような従来技術も、再生方向を逆転させた場合に、遅延を発生させてしまうという問題点を生じさせる。   In this way, a part of the data on the physical disk is buffered and held in the memory, so that the response speed can be improved. However, the above-described conventional technique in which video / audio data is buffered in advance on the memory of the storage server clears the memory when it reaches the end of the buffer when there is only one buffer and removes it from the disk. There is a problem that it is necessary to read, and a delay occurs at that time. For this reason, a technique of preparing two buffers and using them alternately is generally adopted. However, such a conventional technique also has a problem that a delay occurs when the reproduction direction is reversed. Cause it to occur.

本発明の目的は、前述した従来技術の問題点を解決し、ストレージに蓄積された映像・音声データを取得して再生装置に送信して再生させるシステムにおける前述したような応答遅延を少なくし、倍速再生、逆再生等のどのような再生の場合にも映像・音声を滑らかに再生できるようにしたストレージサーバにおける映像・音声データに対するバッファ制御方法及びストレージサーバを提供することにある。   The object of the present invention is to solve the above-mentioned problems of the prior art, reduce the response delay as described above in the system that acquires the video / audio data stored in the storage, transmits it to the playback device, and plays it back. It is an object of the present invention to provide a buffer control method and a storage server for video / audio data in a storage server capable of smoothly reproducing video / audio in any reproduction such as double speed reproduction and reverse reproduction.

前記目的は、例えば、ストレージに保管された映像・音声データを取得し再生装置に送信して再生させるストレージサーバでの映像・音声に対するバッファ制御において、前記ストレージサーバは、前記ストレージから取得した映像・音声データを保持する3面のメモリバッファを有し、再生装置が使用中の一定量の映像・音声データと、未来方向の一定量の映像・音声データと、過去方向の一定量の映像・音声データとを前記3面のメモリバッファのそれぞれに保持するように、前記3面のメモリバッファを制御することにより達成される。   The purpose is, for example, buffer control for video / audio in a storage server that acquires video / audio data stored in a storage, transmits it to a playback device, and plays back the video / audio data. It has a three-sided memory buffer that holds audio data, a certain amount of video / audio data being used by the playback device, a certain amount of video / audio data in the future direction, and a certain amount of video / audio data in the past direction This is accomplished by controlling the three-sided memory buffer to hold data in each of the three-sided memory buffers.

再生側の装置が映像・音声ファイルを一括して取得しなくても、倍速再生や逆再生時も含めて、どのような再生の場合にも映像・音声を滑らかに再生させることができる。   Even if the playback-side apparatus does not acquire the video / audio files all together, the video / audio can be smoothly played back in any playback, including double-speed playback and reverse playback.

本発明の一実施形態によるストレージサーバを備え、ストレージに蓄積された映像・音声データを取得し、再生装置に送信して再生させる再生システムの構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of a playback system that includes a storage server according to an embodiment of the present invention, acquires video / audio data stored in a storage, and transmits the acquired video / audio data to a playback device. 本発明により実現される映像・音声データに対するメモリバッファの制御方法の第1の例を説明する図である。It is a figure explaining the 1st example of the control method of the memory buffer with respect to video / audio data implement | achieved by this invention. 本発明により実現される映像・音声データに対するメモリバッファの制御方法の第2の例を説明するフローチャートである。It is a flowchart explaining the 2nd example of the control method of the memory buffer with respect to video / audio data implement | achieved by this invention. デコーダからの映像・音声データの取得要求の例を要求順にテーブルとして示した図である。It is the figure which showed the example of the acquisition request of the video / audio data from a decoder as a table in order of request.

以下、本発明による映像・音声データに対するバッファの実施形態を図面により詳細に説明する。ここで説明する本発明の実施形態は、映像・音声データを保持するストレージへのアクセスを制御するストレージサーバを、映像・音声データを保持するメモリバッファを3面備えて構成することにより、再生装置からの映像・音声データの取得要求に対して応答遅延を防止し、なめらかな再生、逆再生を行うことができるようにしたものである。   Hereinafter, embodiments of a buffer for video / audio data according to the present invention will be described in detail with reference to the drawings. In the embodiment of the present invention described herein, a storage server that controls access to a storage that holds video / audio data is configured to include three memory buffers that hold video / audio data. Response delay in response to a video / audio data acquisition request from the user, and smooth playback and reverse playback can be performed.

図1は本発明の一実施形態によるストレージサーバを備え、ストレージに蓄積された映像・音声データを取得し、再生装置に送信して再生させる再生システムの構成例を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration example of a playback system that includes a storage server according to an embodiment of the present invention, acquires video / audio data stored in a storage, and transmits the acquired video / audio data to a playback device.

図1に示す再生システムの例は、映像・音声データを格納しているストレージ107と、該ストレージ107に接続されていて、ストレージ107から取得した映像・音声データをデコーダ101に送信する本発明の実施形態によるストレージサーバ102と、デコーダ101を含んで構成される図示しない映像・音声データの再生装置とにより構成される。   The example of the reproduction system shown in FIG. 1 is a storage 107 storing video / audio data, and is connected to the storage 107 and transmits video / audio data acquired from the storage 107 to the decoder 101. The storage server 102 according to the embodiment and a video / audio data reproducing device (not shown) including the decoder 101 are configured.

前述において、図示しない映像・音声データの再生装置は、デコーダ101を有するどのような構成のものであってもよく、ストレージサーバ102に再生に必要な映像・音声データを要求し、デコーダ101がストレージサーバから受け取って復号した映像・音声を表示・出力することができるものであればよい。   In the above description, the video / audio data reproducing apparatus (not shown) may have any configuration having the decoder 101. The video / audio data required for reproduction is requested from the storage server 102, and the decoder 101 stores the data. Any device that can display and output the decoded video / audio received from the server may be used.

また、ストレージ107は、複数のHDD等のディスクを備えて構成され、ディスク内な映像・音声データを蓄積していて、ストレージサーバ102からの要求により、要求された映像・音声データをストレージサーバ102に送信する機能を備えている。   The storage 107 includes a plurality of disks such as HDDs, accumulates video / audio data in the disks, and sends the requested video / audio data to the storage server 102 in response to a request from the storage server 102. The function to transmit to.

また、ストレージサーバ102は、よく知られているように、図示しないが、CPU、メモリ、OS及びアプリケーションプログラム等を格納するHDD等の記憶装置、必要であれば、管理者が使用する表示装置及びキーボード等の入力装置を備えた情報処理装置であり、デコーダ101からの要求により、ストレージ107にアクセスしてストレージ107から要求された映像・音声データを取得し、取得した映像・音声データをデコーダ101に送信する機能を有している。また、ストレージサーバ102は、本発明のために、ストレージ107から取得した映像・音声データを格納する3面のメモリバッファA104からC106と、デコーダとの間でのデータ等の授受を制御する制御部103とを備えている。   In addition, as is well known, the storage server 102 is not shown, but includes a storage device such as an HDD that stores a CPU, memory, OS, application programs, and the like, and a display device used by an administrator if necessary. The information processing apparatus includes an input device such as a keyboard. In response to a request from the decoder 101, the storage 107 is accessed to acquire the requested video / audio data from the storage 107, and the acquired video / audio data is stored in the decoder 101. It has the function to transmit to. In addition, for the present invention, the storage server 102 is a control unit that controls transmission / reception of data and the like between the decoders and the three-surface memory buffers A104 to C106 for storing video / audio data acquired from the storage 107 103.

そして、ストレージサーバ102の図示しない記憶装置内には、本発明におけるメモリバッファの制御を行う機能部を構築するプログラムが格納されており、そのプログラムがメモリにロードされ、OSの下にCPUにより実行されることにより、後述するような本発明の実施形態でのメモリバッファの制御機能が構築される。   A storage device (not shown) of the storage server 102 stores a program for constructing a functional unit that controls the memory buffer according to the present invention. The program is loaded into the memory and executed by the CPU under the OS. As a result, a memory buffer control function in the embodiment of the present invention, which will be described later, is constructed.

図2は本発明により実現される映像・音声データに対するメモリバッファの制御方法の第1の例を説明する図である。ここで説明するメモリバッファの制御方法は、ストレージサーバ102に備えられる3面のメモリバッファA104〜C106の全てが空きとなっている初期状態で、ストレージサーバ102がデコーダ101から要求された映像・音声データをストレージ107のディスクから取得してデコーダに転送する制御を説明するものである。   FIG. 2 is a diagram for explaining a first example of a memory buffer control method for video / audio data realized by the present invention. The memory buffer control method described here is the video / audio requested by the storage server 102 from the decoder 101 in an initial state in which all of the three memory buffers A104 to C106 provided in the storage server 102 are empty. The control for acquiring data from the disk of the storage 107 and transferring it to the decoder will be described.

(1)状態1として示すように、デコーダ101は、まず、ストレージサーバ102に、再生すべき先頭からの映像・音声データを要求する。この要求を受けたストレージサーバ102は、ストレージ107から先頭から所定量の映像・音声データ(図2では単に映像とのみ表示)1を読み出して取得し、メモリバッファA104に格納すると共に、映像・音声データ1をデコーダ101に転送して、先頭の映像・音声を再生させると同時に、先頭からの映像・音声データ1に続く所定量の映像・音声データ2、3をストレージ107から取得してメモリバッファB105、C106に格納する。 (1) As shown as state 1, the decoder 101 first requests the storage server 102 for video / audio data from the beginning to be reproduced. Upon receipt of this request, the storage server 102 reads out and acquires a predetermined amount of video / audio data 1 (displayed only as video in FIG. 2) 1 from the storage 107, stores it in the memory buffer A104, and video / audio. Data 1 is transferred to the decoder 101 to reproduce the head video / audio, and at the same time, a predetermined amount of video / audio data 2 and 3 following the video / audio data 1 from the head is acquired from the storage 107 and the memory buffer Stored in B105 and C106.

(2)次に、デコーダ101が、状態2として示すように、ストレージサーバ102に、再生すべき先頭の映像・音声データ1の次のデータ2を要求したとする。この要求を受けたストレージサーバ102は、メモリバッファB105に格納されている映像・音声データ2をデコーダ101に転送して、次の映像・音声データ2の映像・音声を再生させる。このとき、ストレージサーバ102は、デコーダ101からの要求が順方向の再生、逆方向の再生のとちらにも対応することができるように、3面のメモリバッファA104〜C106には、映像・音声データ1〜3を保持したままとする。 (2) Next, it is assumed that the decoder 101 requests the storage server 102 for the next data 2 after the first video / audio data 1 to be reproduced, as shown as state 2. Receiving this request, the storage server 102 transfers the video / audio data 2 stored in the memory buffer B 105 to the decoder 101 to reproduce the video / audio of the next video / audio data 2. At this time, the storage server 102 stores the video / audio in the three memory buffers A104 to C106 so that the request from the decoder 101 can cope with either forward playback or reverse playback. Keep data 1-3.

(3)次に、デコーダ101が、状態3として示すように、ストレージサーバ102に、次に再生すべき映像・音声データ3を要求したとする。この要求を受けたストレージサーバ102は、メモリバッファC106に格納されている映像・音声データ3をデコーダ101に転送して、次に再生すべき映像・音声データ3の映像・音声を再生させる。このとき、ストレージサーバ102は、逆方向の再生に備えるため、映像・音声データ2を継続して保持し、2世代古い映像・音声データ1を破棄して、メモリバッファA104を空け、次の順方向の再生のために映像・音声データ3に続く所定量の映像・音声データ4をストレージ107から取得してメモリバッファA104に格納する。 (3) Next, it is assumed that the decoder 101 requests the storage server 102 for video / audio data 3 to be reproduced next, as indicated by state 3. Upon receiving this request, the storage server 102 transfers the video / audio data 3 stored in the memory buffer C106 to the decoder 101, and reproduces the video / audio of the video / audio data 3 to be reproduced next. At this time, the storage server 102 continuously holds the video / audio data 2 in order to prepare for playback in the reverse direction, discards the video / audio data 1 that is two generations older, frees up the memory buffer A104, and A predetermined amount of video / audio data 4 following the video / audio data 3 is acquired from the storage 107 and stored in the memory buffer A104 for reproduction in the direction.

(4)次に、デコーダ101が、状態4として示すように、ストレージサーバ102に、逆方向の再生を行うために再生すべき映像・音声データとして映像・音声データ2を要求したとする。この要求を受けたストレージサーバ102は、メモリバッファB105に保持していた映像・音声データ2をデコーダ101に転送して、映像・音声データ2の映像・音声を逆方向に再生させる。このとき、ストレージサーバ102は、順方向再生のために、映像・音声データ3を継続して保持すると共に、逆方向の再生が続くことも予測して、2世代先の映像・音声データ4を破棄して、メモリバッファA104を空け、次の逆方向の再生のために映像・音声データ2の逆方向の映像・音声データ1をストレージ107から取得してメモリバッファA104に格納する。 (4) Next, it is assumed that the decoder 101 requests the storage server 102 for video / audio data 2 as video / audio data to be played back in order to perform playback in the reverse direction, as indicated by state 4. Upon receiving this request, the storage server 102 transfers the video / audio data 2 held in the memory buffer B105 to the decoder 101, and reproduces the video / audio of the video / audio data 2 in the reverse direction. At this time, the storage server 102 continues to hold the video / audio data 3 for forward playback, and predicts that playback in the reverse direction will continue. Discard it, free up the memory buffer A104, and obtain the video / audio data 1 in the reverse direction of the video / audio data 2 from the storage 107 for the next reverse reproduction and store it in the memory buffer A104.

本発明の実施形態は、前述したようなメモリバッファの制御を行うことにより、再生側の装置が映像・音声ファイルを一括して取得しなくても、倍速再生や逆再生時も含めて、どのような再生の場合にも映像・音声を滑らかに再生させることができる。   In the embodiment of the present invention, the memory buffer is controlled as described above, so that the playback side device does not acquire video / audio files all at once, including double speed playback and reverse playback. Even in the case of such reproduction, video / audio can be reproduced smoothly.

図3は本発明により実現される映像・音声データに対するメモリバッファの制御方法の第2の例を説明するフローチャート、図4はデコーダ101からの映像・音声データの取得要求の例を要求順にテーブルとして示した図であり、次に、図3、図4を参照すると共に、図1をも参照して、映像・音声データに対するメモリバッファの制御方法の第2の例を説明する。ここで説明するメモリバッファの制御方法は、ストレージサーバ102に備えられる3面のメモリバッファA104〜C106の全てに映像・音声データが格納されている状態で、ストレージサーバ102がデコーダから図4に示しているような要求を受けたときに、要求された映像・音声データをストレージ107のディスクから取得してデコーダに転送する制御を説明するものである。   FIG. 3 is a flowchart for explaining a second example of the memory buffer control method for video / audio data realized by the present invention. FIG. 4 shows an example of an acquisition request for video / audio data from the decoder 101 in the order of request. Next, a second example of a memory buffer control method for video / audio data will be described with reference to FIGS. 3 and 4 as well as FIG. The memory buffer control method described here is shown in FIG. 4 when the storage server 102 is connected to the decoder 102 from the decoder in a state where video / audio data is stored in all of the three memory buffers A104 to C106 provided in the storage server 102. The control of acquiring the requested video / audio data from the disk of the storage 107 and transferring it to the decoder when receiving such a request will be described.

そして、ここでは、メモリバッファからの読み取りフレーム数を最大5とし、各バッファには、10フレーム分のデータが保持されている場合の例を挙げて説明するが、これらの値は、システム構成に応じて任意に設定可能である。そして、デコーダ101からの映像・音声データの取得要求は、図4に示すように、要求を一意に特定するID、リード状態を示すモード、再生方向と再生速度とを示す再生モード、開始フレーム番号を示す開始位置、再生の場合の取得フレーム数を示すフレーム数を1つのレコードとした複数の取得要求からなり、ここで説明する例では、デコーダ101からの映像・音声データの取得要求が、ID001から順ストレージサーバに送信されてくるものとする。また、ストレージサーバ102内のメモリバッファA104〜C106には、フレーム番号−10〜20までの30フレームの映像・音声データが10フレームずつ格納されているものとしている。   In this example, the maximum number of frames read from the memory buffer is set to 5, and each buffer holds data for 10 frames. However, these values are determined depending on the system configuration. It can be set arbitrarily depending on the situation. As shown in FIG. 4, the video / audio data acquisition request from the decoder 101 includes an ID for uniquely identifying the request, a mode indicating a read state, a playback mode indicating a playback direction and a playback speed, and a start frame number. In the example described here, an acquisition request for video / audio data from the decoder 101 is ID001. To the forward storage server. Further, it is assumed that 10 frames of video / audio data of 30 frames having frame numbers −10 to 20 are stored in the memory buffers A104 to C106 in the storage server 102.

(1)ストレージサーバ102は、デコーダ101からの映像・音声データの取得要求を受信すると、データ取得要求の完了までの処理を繰り返すようにループを設定する(ステップ201、202)。 (1) Upon receiving the video / audio data acquisition request from the decoder 101, the storage server 102 sets a loop so as to repeat the processing up to the completion of the data acquisition request (steps 201 and 202).

(2)その後、ストレージサーバ102の制御部103は、デコーダ101からの要求を解析してフレーム開始位置を特定し、要求に含まれる再生モードから再生方向、再生速度を判断し、返信する指定されたフレームを特定する(ステップ203、204)。 (2) Thereafter, the control unit 103 of the storage server 102 analyzes the request from the decoder 101 to identify the frame start position, determines the playback direction and playback speed from the playback mode included in the request, and is designated to send back. The specified frame is specified (steps 203 and 204).

(3)次に、ストレージサーバ102の制御部103は、3面のメモリバッファをまたぐフレームが要求されているか否かを判定する。例えば、デコーダ101からの取得要求がID=001の取得要求であった場合、必要なフレームは、フレーム3〜7の5フレームであり、これらのフレームはメモリバッファB105に保持されているので、メモリバッファのまたぎが発生していないと判断でき、このメモリバッファB105内から全フレームを取得可能であるためメモリバッファB105から取得要求のフレームを抽出してデコーダ101に返信し、次の要求についての処理を行う(ステップ205、206)。 (3) Next, the control unit 103 of the storage server 102 determines whether or not a frame that straddles the three memory buffers is requested. For example, if the acquisition request from the decoder 101 is an acquisition request with ID = 001, the necessary frames are five frames 3 to 7, and these frames are held in the memory buffer B105. Since it can be determined that no buffer crossing has occurred, and all frames can be acquired from the memory buffer B105, the acquisition request frame is extracted from the memory buffer B105 and sent back to the decoder 101 to process the next request. (Steps 205 and 206).

(4)ステップ205の判定で、3面のメモリバッファをまたぐフレームが要求されていた場合、例えば、デコーダ101からの取得要求が次の要求であるID=002の取得要求であった場合、必要なフレームがフレーム8〜12の5フレームであり、メモリバッファB105からメモリバッファC106にまたがっていると判定される。この場合、制御部103は、抽出対象のフレーム8〜12を抽出してデコーダ101に返信する。その際、制御部103は、抽出するフレームがメモリバッファB105からメモリバッファC106に移ったときに、メモリバッファA104に保持していた映像・音声データを破棄してメモリバッファA104を開放し、ストレージ107からフレーム21以降の10フレーム分のフレームをディスクから先読みし、ここでは未来面と呼ぶバッファをメモリバッファA104内に生成し、メモリバッファC106を現在面と呼ぶバッファとし、メモリバッファB105を過去面と呼ぶバッファとして、次の取得要求に備える(ステップ207)。 (4) Necessary when a frame across three memory buffers is requested in the determination in step 205, for example, when an acquisition request from the decoder 101 is an acquisition request for ID = 002 which is the next request It is determined that there are five frames 8 to 12 and the frame extends from the memory buffer B105 to the memory buffer C106. In this case, the control unit 103 extracts the extraction target frames 8 to 12 and returns them to the decoder 101. At this time, when the frame to be extracted moves from the memory buffer B 105 to the memory buffer C 106, the control unit 103 discards the video / audio data held in the memory buffer A 104, releases the memory buffer A 104, and stores the storage 107 10 frames after frame 21 are pre-read from the disk, a buffer called a future plane is generated in the memory buffer A 104 here, a memory buffer C 106 is a buffer called a current plane, and a memory buffer B 105 is a past plane. The buffer to be called is prepared for the next acquisition request (step 207).

(5)ステップ206またはステップ207の処理の後、ステップ202の処理で設定したループでのデータ取得要求の繰り返し処理が終了していれば、ここでの処理を終了する(ステップ208)。 (5) After the process of step 206 or 207, if the data acquisition request repeated process in the loop set in the process of step 202 has been completed, the process is terminated (step 208).

次に、続けて、デコーダ101からID=003、ID=004の取得要求が順に届いたものとして、前述のステップ205以降の処理について説明する。   Next, assuming that the acquisition requests of ID = 003 and ID = 004 have arrived in order from the decoder 101, the processing after step 205 will be described.

デコーダ101からID=003の取得要求が届いたものとする。このID=003の取得要求は、逆再生でメモリバッファC106が保持している現在面及びメモリバッファB105が保持している過去面のフレームを要求しているので、ステップ205の判定で、メモリバッファのまたぎが発生していると判定される。そして、制御部103は、抽出対象のフレームであるフレーム12〜フレーム8を抽出して返信するが、抽出するフレームを格納しているバッファが切り替わると同時に、ID=002の要求の処理で先読みを行い、未来方向の映像・音声データを保持していたメモリバッファA104を開放し、ストレージ107のディスクから過去方向の映像・音声データを先読みしてメモリバッファA104に格納し、メモリバッファA104を過去面と呼ぶバッファとして次の取得要求に備える。   It is assumed that an acquisition request with ID = 003 is received from the decoder 101. This acquisition request of ID = 003 requests the frame of the current plane held by the memory buffer C106 and the past plane held by the memory buffer B105 in reverse playback. It is determined that straddling has occurred. Then, the control unit 103 extracts and returns the frames 12 to 8 which are the frames to be extracted, and at the same time the buffer storing the frame to be extracted is switched, and at the same time, prefetching is performed in the request processing of ID = 002. The memory buffer A104 holding the video / audio data in the future direction is released, the video / audio data in the past direction is prefetched from the disk of the storage 107 and stored in the memory buffer A104, and the memory buffer A104 is stored in the past screen. Prepare for the next acquisition request as a buffer called.

続けて、デコーダ101からID=004の取得要求が届いたものとする。この場合、そのまま逆方向への再生の処理であるが、2倍速の逆再生であるため、ステップ204の処理で1フレームずつ間引いたフレーム、すなわち、フレーム8、6、4、2、−1が特定される。取得するフレームは、メモリバッファB105及びA104内に存在するので、ステップ205の判定で、メモリバッファのまたぎが発生していると判定される。そして、制御部103は、抽出対象のフレームを抽出してデコーダ101に返信する。その際、制御部103は、前述と同様に、抽出するフレームを格納しているバッファが切り替わると同時に、メモリバッファC106を開放し、ストレージのディスクからさらに過去方向の映像・音声データの先読みを行い、メモリバッファC106に過去面のバッファを生成して次の取得要求に備える。このときメモリバッファB105は未来面のバッファとされ、メモリバッファA104は現在面のバッファとされる。   Subsequently, it is assumed that an acquisition request with ID = 004 is received from the decoder 101. In this case, the playback process in the reverse direction is performed as it is, but since the reverse playback is at double speed, the frames thinned out one frame at a time in the process of step 204, that is, frames 8, 6, 4, 2, and -1 are included. Identified. Since the frame to be acquired exists in the memory buffers B105 and A104, it is determined in step 205 that the memory buffer is straddled. Then, the control unit 103 extracts the extraction target frame and returns it to the decoder 101. At that time, as described above, the control unit 103 switches the buffer storing the frame to be extracted, and at the same time, releases the memory buffer C106 and pre-reads video / audio data in the past direction from the storage disk. A buffer for the past plane is generated in the memory buffer C106 to prepare for the next acquisition request. At this time, the memory buffer B105 is a future plane buffer, and the memory buffer A104 is a current plane buffer.

本発明の実施形態は、前述で説明したような制御を行うことにより、安定した映像・音声データを再生装置に配信して再生を行わせることができる。   In the embodiment of the present invention, stable video / audio data can be distributed to a playback device and played back by performing the control described above.

なお、3倍速以上の再生モードの場合、メモリバッファからのフレームの取得を行わず、ストレージから必要なフレームを抽出し、再生装置に返信後、メモリバッファを必要に応じて開放し、次の要求に備えるようにすればよい。   In the playback mode of 3x speed or higher, frames are not acquired from the memory buffer, the necessary frames are extracted from the storage, returned to the playback device, the memory buffer is released as necessary, and the next request You should be prepared for.

101 デコーダ
102 ストレージサーバ
103 制御部
104 メモリバッファA
105 メモリバッファB
106 メモリバッファC
107 ストレージ
101 Decoder 102 Storage Server 103 Control Unit 104 Memory Buffer A
105 Memory buffer B
106 Memory buffer C
107 storage

Claims (3)

ストレージに保管された映像・音声データを取得し再生装置に送信して再生させるストレージサーバにおいて、
前記ストレージから取得した映像・音声データを保持する3面のメモリバッファ、及び、再生装置が使用中の一定量の映像・音声データと、未来方向の一定量の映像・音声データと、過去方向の一定量の映像・音声データとを前記3面のメモリバッファのそれぞれに保持するように、前記3面のメモリバッファを制御する制御手段を有することを特徴とするストレージサーバ。
In a storage server that acquires video / audio data stored in storage, sends it to a playback device, and plays it back,
Three memory buffers for holding video / audio data acquired from the storage, a certain amount of video / audio data being used by the playback device, a certain amount of video / audio data in the future direction, and a past direction A storage server comprising control means for controlling the three-surface memory buffer so as to hold a certain amount of video / audio data in each of the three-surface memory buffer.
前記再生装置が順方向の再生を行い、再生すべき映像・音声データが前記未来方向の映像・音声データを保持しているメモリバッファ内の映像・音声データとなったとき、前記過去方向の映像・音声データを保持しているメモリバッファを開放し、該開放したメモリバッファに、さらに未来方向の一定量の映像・音声データを前記ストレージから取得して保持させることを特徴とする請求項1記載のストレージサーバ。   When the playback device performs playback in the forward direction and the video / audio data to be played becomes the video / audio data in the memory buffer holding the video / audio data in the future direction, the video in the past direction 2. A memory buffer holding audio data is released, and a certain amount of video / audio data in the future direction is further acquired from the storage and held in the released memory buffer. Storage server. 前記再生装置が逆方向の再生を行い、再生すべき映像・音声データが前記過去方向の映像・音声データを保持しているメモリバッファ内の映像・音声データとなったとき、前記未来方向の映像・音声データを保持しているメモリバッファを開放し、該開放したメモリバッファに、さらに過去方向の一定量の映像・音声データを前記ストレージから取得して保持させることを特徴とする請求項1記載のストレージサーバ。   When the playback device performs playback in the reverse direction and the video / audio data to be played becomes the video / audio data in the memory buffer holding the video / audio data in the past direction, the video in the future direction 2. A memory buffer holding audio data is released, and a certain amount of video / audio data in the past direction is acquired from the storage and held in the released memory buffer. Storage server.
JP2011116028A 2011-05-24 2011-05-24 Storage server Pending JP2012244587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011116028A JP2012244587A (en) 2011-05-24 2011-05-24 Storage server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011116028A JP2012244587A (en) 2011-05-24 2011-05-24 Storage server

Publications (1)

Publication Number Publication Date
JP2012244587A true JP2012244587A (en) 2012-12-10

Family

ID=47465774

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011116028A Pending JP2012244587A (en) 2011-05-24 2011-05-24 Storage server

Country Status (1)

Country Link
JP (1) JP2012244587A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0846900A (en) * 1994-02-14 1996-02-16 Sony Electron Inc Equipment and method for data memory and retrieving
US20050078943A1 (en) * 2003-09-02 2005-04-14 Masaru Kimura Image playback device and image data reverse playback method
JP2009165009A (en) * 2008-01-09 2009-07-23 Sony Corp Recording/playing back method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0846900A (en) * 1994-02-14 1996-02-16 Sony Electron Inc Equipment and method for data memory and retrieving
US20050078943A1 (en) * 2003-09-02 2005-04-14 Masaru Kimura Image playback device and image data reverse playback method
JP2009165009A (en) * 2008-01-09 2009-07-23 Sony Corp Recording/playing back method and device

Similar Documents

Publication Publication Date Title
WO2013008867A1 (en) Transmission device, method for controlling transmission device, control program, and recording medium
US20020122656A1 (en) Method and apparatus for recording broadcast data
CN101232611B (en) Image process apparatus and method thereof
US20140351450A1 (en) System and method for streaming a media file from a server to a client device
US20130138736A1 (en) Multimedia file sharing method and system thereof
JP2012054788A (en) Data file transfer device, control method therefor, program, and storage medium
TW200926806A (en) Content reproduction apparatus, content reproduction method, and content reproduction system
EP2629514B1 (en) Video playback device and video playback method
JP2001111937A (en) Data recording/reproducing device, recording/ reproducing method for video data, disc drive unit and control unit for the data recording/reproducing device
JP4999931B2 (en) Disc-shaped recording medium, and video information reproducing apparatus and method
JP6258168B2 (en) Distribution device, playback device, and distribution system
JP2016072858A (en) Media data generation method, media data reproduction method, media data generation device, media data reproduction device, computer readable recording medium and program
US8655139B2 (en) Video recording and reproducing system and reading method of video data
US20090129756A1 (en) Method and device to seamlessly reproduce contents using storage medium
JP5423661B2 (en) Network system, server, playback device, and content playback method
JP2003209823A (en) Stream transmission/reception system, and stream transmission/reception method
JP2012244587A (en) Storage server
JP2012222530A (en) Receiving device and method, and program
JP6294527B2 (en) Transmission device, transmission method, reproduction device, and reproduction method
JP4682267B1 (en) Progressive download playback method and playback program
JP2021082882A (en) Information processing program, information processing method, and information processing device
JP2014093733A (en) Video distribution device, video reproduction device, video distribution program, and video reproduction program
JP6036373B2 (en) Content reproduction system, communication apparatus, and content reproduction method
JP2015510727A (en) Method and system for providing file data for media files
JP5589654B2 (en) Video / audio playback device and video / audio playback method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130719

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140520

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140716

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140805