JP6847635B2 - Memory management device, video recording / playback device, memory management method, video recording / playback method and computer program - Google Patents
Memory management device, video recording / playback device, memory management method, video recording / playback method and computer program Download PDFInfo
- Publication number
- JP6847635B2 JP6847635B2 JP2016221908A JP2016221908A JP6847635B2 JP 6847635 B2 JP6847635 B2 JP 6847635B2 JP 2016221908 A JP2016221908 A JP 2016221908A JP 2016221908 A JP2016221908 A JP 2016221908A JP 6847635 B2 JP6847635 B2 JP 6847635B2
- Authority
- JP
- Japan
- Prior art keywords
- processing time
- block
- memory management
- memory
- unit
- 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.)
- Active
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Hardware Redundancy (AREA)
- Memory System (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Description
本発明の実施形態は、メモリ管理装置、映像収録再生装置、メモリ管理方法、映像収録再生方法及びコンピュータプログラムに関する。 Embodiments of the present invention relate to a memory management device, a video recording / playback device, a memory management method, a video recording / playback method, and a computer program.
テレビ番組などのコンテンツの収録や再生を行う映像収録再生装置は、APC(Automatic Program Controller:自動番組送出制御装置)が制御するタイミングに同期してコンテンツの収録及び再生を行う必要がある。APCは1フレームの再生及び収録が33msecで実行されるようにタイミングを制御する。映像収録再生装置がAPCの制御タイミングに同期できなくなると、コンテンツの収録や再生が正常に行われなくなる。いずれも放送事故を引きおこす要因となり、このような放送事故は社会的に大きな問題となる。そのため、映像収録再生装置は、コンテンツの収録時や再生時において、APCの制御タイミングに同期することができるように確実に制御される必要がある。 A video recording / playback device that records / plays back content such as a television program needs to record / play back the content in synchronization with the timing controlled by an APC (Automatic Program Controller). The APC controls the timing so that the reproduction and recording of one frame are executed in 33 msec. If the video recording / playback device cannot synchronize with the control timing of the APC, the content cannot be recorded or played back normally. All of them cause broadcasting accidents, and such broadcasting accidents become a big social problem. Therefore, the video recording / playback device needs to be reliably controlled so as to be synchronized with the control timing of the APC at the time of recording or playing back the content.
映像収録再生装置は、不揮発性を有する記憶媒体を複数備え、これらの記憶媒体に映像データを記録することでコンテンツを収録する。このようなコンテンツの収録に用いられる記憶媒体の一つに、NAND型フラッシュメモリ(以下「NANDメモリ」という。)がある。NANDメモリはフラッシュメモリの一種であり、NOR型フラッシュメモリと比べて回路規模が小さく、安価に大容量化できるというメリットを持つ。NANDメモリには、工場出荷時において既に不良ブロックとなっている先天性の不良ブロック(以下「先天性バッドブロック」という。)と、ユーザの使用によって書き込みやデータ消去等の処理が繰り返し行われることによって不良ブロックとなる後天性の不良ブロック(以下「後天性バッドブロック」という。)がある。一般に、NANDメモリを備える記憶装置には、NANDメモリの各ブロックを管理し、不良ブロックとなったブロックをそれ以降使用しないようにする機能が備えられている。 The video recording / playback device includes a plurality of non-volatile storage media, and records content by recording video data on these storage media. One of the storage media used for recording such contents is a NAND flash memory (hereinafter referred to as "NAND memory"). NAND memory is a type of flash memory, and has the advantage that the circuit scale is smaller than that of NOR type flash memory, and the capacity can be increased at low cost. The NAND memory has a congenital defective block (hereinafter referred to as "congenital bad block") that is already a defective block at the time of shipment from the factory, and processing such as writing and erasing data is repeatedly performed by the user's use. There is an acquired defective block (hereinafter referred to as "acquired bad block") that becomes a defective block. Generally, a storage device including a NAND memory has a function of managing each block of the NAND memory and preventing the block that has become a defective block from being used thereafter.
一方、最近のNANDメモリは、小型化や大容量化等の影響により、記憶素子ごとの性能にばらつきが生じる傾向にある。具体的には、記憶素子に対する書き込みや消去、読み出し等の処理が完了するまでの時間(以下「完了時間」という。)にばらつきが生じている。そのため、このような性能にばらつきのあるNANDメモリを用いるには、これらの処理に対して、処理の完了を待機する時間(以下「待機時間」という。)を従来よりも長く設定する必要がある。上述のとおり、映像収録再生装置はコンテンツの収録や出力、再生等の処理においてAPCの制御タイミングに同期する必要があるため、上記処理を高速かつ並列で実行可能にする高い品質及び性能が求められる。しかしながら、待機時間を長く設定するということは、処理性能を低下させることになるため、同時収録出力及び再生数を満足できないという問題が生じる可能性がある。 On the other hand, recent NAND memories tend to have variations in performance for each storage element due to the influence of miniaturization and large capacity. Specifically, there are variations in the time until the processing such as writing, erasing, and reading to the storage element is completed (hereinafter referred to as "completion time"). Therefore, in order to use NAND memories with such variations in performance, it is necessary to set the time for waiting for the completion of processing (hereinafter referred to as "waiting time") longer than before for these processes. .. As described above, since the video recording / playback device needs to be synchronized with the control timing of the APC in the processing such as content recording, output, and playback, high quality and performance that enable the above processing to be executed in parallel at high speed are required. .. However, setting a long standby time lowers the processing performance, which may cause a problem that the simultaneous recording output and the number of playbacks cannot be satisfied.
一方で、NANDメモリの各記憶素子の性能のばらつきを十分に考慮せずに待機時間を短く設定すると、正常なブロック(以下「正常ブロック」という。)が誤って後天性バッドブロックであると判断される可能性がある。その結果、NANDメモリの使用効率が著しく悪化し、耐用年数が短くなるという問題が生じる可能性がある。 On the other hand, if the standby time is set short without fully considering the variation in the performance of each storage element of the NAND memory, the normal block (hereinafter referred to as "normal block") is erroneously determined to be an acquired bad block. May be done. As a result, the usage efficiency of the NAND memory is significantly deteriorated, and there may be a problem that the service life is shortened.
本発明が解決しようとする課題は、NANDメモリの使用効率の低下を抑制することができるメモリ管理装置、映像収録再生装置、メモリ管理方法、映像収録再生方法及びコンピュータプログラムを提供することである。 An object to be solved by the present invention is to provide a memory management device, a video recording / playback device, a memory management method, a video recording / playback method, and a computer program capable of suppressing a decrease in usage efficiency of a NAND memory.
実施形態のメモリ管理装置は、記憶部と、メモリ管理部とを持つ。記憶部は、データを記憶する一以上の記憶媒体を備える。メモリ管理部は、前記記憶媒体が有するメモリブロックを、前記メモリブロックに対する書き込み、読み出し又はデータ消去に要する処理時間に基づいて、正常ブロック又は不良ブロックのいずれかに管理する。前記メモリ管理部は、前記メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる前記処理時間の閾値を、前記各処理の処理時間に応じて調整する。 The memory management device of the embodiment has a storage unit and a memory management unit. The storage unit includes one or more storage media for storing data. The memory management unit manages the memory block of the storage medium as either a normal block or a defective block based on the processing time required for writing, reading, or erasing the memory block. The memory management unit adjusts the threshold value of the processing time used for determining whether the memory block is a normal block or a defective block according to the processing time of each processing.
以下、実施形態のメモリ管理装置、映像収録再生装置、メモリ管理方法、映像収録再生方法及びコンピュータプログラムを、図面を参照して説明する。 Hereinafter, the memory management device, the video recording / playback device, the memory management method, the video recording / playback method, and the computer program of the embodiment will be described with reference to the drawings.
(第1の実施形態)
図1は、第1の実施形態の映像収録再生装置1(メモリ管理装置の一例)を用いて構成される放送システム100の概要を示す概略図である。放送システム100は、映像収録再生装置1、映像取得装置2、再生装置3、ノンリニア編集機4、操作端末5、映像確認用モニタ6及び放送設備7等の関連設備を備えて構成される。映像収録再生装置1は、放送されるコンテンツの収録及び再生を行う装置である。
(First Embodiment)
FIG. 1 is a schematic view showing an outline of a
映像収録再生装置1は、APCが制御する1フレーム当たり33msecのタイミングに同期してコンテンツの収録及び再生を行う。具体的には、映像収録再生装置1は、映像取得装置2又は再生装置3が出力する映像信号を自装置に入力する。映像信号は、撮影中又は再生中の映像を表示させるための信号であり、連続して時系列に出力される信号(以下「ストリーム」という。)である。映像収録再生装置1は、自装置に入力した映像信号を符号化してデジタルデータに変換することにより映像データを生成する。その一方で、映像収録再生装置1は、ノンリニア編集機4からファイル形式の映像データ(以下「映像ファイル」という。)を取得する。映像収録再生装置1は、生成した映像データや、取得した映像ファイルを、放送用の映像データ(以下「コンテンツデータ」という。)として記憶することによってコンテンツの収録を行う。
The video recording /
また、映像収録再生装置1は、自装置に記憶されたコンテンツデータを必要に応じて読み出して再生することによりコンテンツの映像信号を生成する。映像収録再生装置1は、生成した映像信号を映像確認用モニタ6等の表示装置や放送設備7などにストリーム出力する。
Further, the video recording /
映像取得装置2は、コンテンツとなる映像を取得する装置である。例えば、映像取得装置2はビデオカメラなどの撮影装置である。映像取得装置2は、放送用のコンテンツとなる被写体を撮像することにより映像信号を生成し、映像収録再生装置1にストリーム出力する。
The
再生装置3は、種々の記録メディアに記録された映像を再生する装置である。再生装置3は、映像の再生により映像信号を生成し、映像収録再生装置1にストリーム出力する。
記録メディア8は、映像を記録することが可能な記録媒体である。例えば、記録メディア8は、8mmフィルムやビデオテープ、半導体メモリなどの記録媒体である。
The
The recording medium 8 is a recording medium capable of recording video. For example, the recording medium 8 is a recording medium such as an 8 mm film, a video tape, or a semiconductor memory.
ノンリニア編集機4は、映像ファイルに対してノンリニア編集を行うための端末である。ノンリニア編集機4は、編集された映像ファイルを映像収録再生装置1に送信する。
The
操作端末5は、映像収録再生装置1を操作するために用いられる端末装置である。映像収録再生装置1のユーザは、操作端末5の操作によって、映像収録再生装置1が有する各機能の動作指示や、各機能の動作設定などの操作を入力することができる。
The
映像確認用モニタ6は、映像収録再生装置1によって再生されているコンテンツの映像を確認するためのモニタ装置である。映像確認用モニタ6は、CRT(Cathode Ray Tube)ディスプレイや液晶ディスプレイ、有機EL(Electro-Luminescence)ディスプレイ等の表示装置を用いて構成される。映像確認用モニタ6及び放送設備7は、映像収録再生装置1から出力される再生中のコンテンツの映像信号を自身に入力する。映像確認用モニタ6は、自装置に入力した映像信号に基づいて映像収録再生装置1が再生中のコンテンツの映像を表示する。
The
放送設備7は、自装置に入力した映像信号に基づいて映像収録再生装置1が再生中のコンテンツの映像をオンエアで放送する。なお、以下では、説明を簡単にするため、映像収録再生装置1が収録又は再生によって取得又は生成する映像信号や映像ファイル、コンテンツデータ等の情報であって、表示される映像自体の信号やデータを含む情報を総称して映像情報と称する。これに対して、映像収録再生装置1の収録や再生等の動作の制御に関する情報を制御情報と称する。
The
図2は、第1の実施形態における映像収録再生装置1の機能構成を示す機能ブロック図である。映像収録再生装置1は、バスで接続されたCPU(Central Processing Unit)やメモリや補助記憶装置などを備え、映像収録再生プログラムを実行する。映像収録再生装置1は、映像収録再生プログラムの実行によって、主制御部11、収録出力部12(収録部の一例)、記憶部13、再生部14及び伝送部15を備える装置として機能する。なお、映像収録再生装置1の各機能の全て又は一部は、ASIC(Application Specific Integrated Circuit)やPLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)等のハードウェアを用いて実現されてもよい。映像収録再生プログラムは、コンピュータ読み取り可能な記録媒体に記録されてもよい。コンピュータ読み取り可能な記録媒体とは、例えばフレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置である。映像収録再生プログラムは、電気通信回線を介して送信されてもよい。
FIG. 2 is a functional block diagram showing a functional configuration of the video recording /
主制御部11は、収録出力部12、記憶部13及び再生部14との間で制御情報を送受信することによって、映像収録再生装置1におけるコンテンツの収録及び再生に関する動作を制御する。図2では、破線矢印が制御情報の入出力を表し、実線矢印は映像情報の入出力を表している。
The
収録出力部12は、外部機器との間で映像情報の入出力を行う。具体的には、収録出力部12は、コンテンツの収録時において、映像取得装置2又は再生装置3から出力される映像信号を自装置に入力する。なお、映像ファイルでの収録を行う場合、収録出力部12は、ノンリニア編集機4から映像ファイルを取得する。収録出力部12は、自装置に入力された映像信号をMPEG−2(Moving Picture Experts Group Phase 2)等の符号化方式を用いて符号化及び圧縮し、映像データに変換する。また、収録出力部12は、取得された映像ファイルや映像データに対してMXF(Material Exchange Format)解析などの処理を行うことにより、映像ファイルや映像データをコンテンツデータとして扱うためのフォーマットに変換する。
The
収録出力部12は、このようにして生成されたコンテンツデータを、伝送部15を介して記憶部13に出力する。また、収録出力部12は、ノンリニア編集機4や操作端末5などの外部機器から要求されたコンテンツデータを、伝送部15を介して記憶部13から取得する。収録出力部12は、取得したコンテンツデータをファイル形式に変換し、要求元の外部機器に送信する。以下、コンテンツデータを、外部機器に対してファイル形式で送信することをファイル出力と称する。
The
記憶部13は、磁気ハードディスク装置や半導体記憶装置などの記憶装置を用いて構成される。記憶部13は、収録出力部12から出力されたコンテンツデータを記憶するとともに、要求されたコンテンツデータを読み出し、読み出されたコンテンツデータを、伝送部15を介して収録出力部12や再生部14等の他の機能部に出力する。
The
再生部14は、伝送部15を介して、記憶部13から再生対象のコンテンツデータを取得する。再生部14は、取得されたコンテンツデータを符号化方式に応じた方法で再生することにより、映像信号を生成する。再生部14は、生成した映像信号を映像確認用モニタ6等の表示装置や放送設備7にストリーム出力する。
The
伝送部15は、収録出力部12、記憶部13及び再生部14との間で映像情報の転送処理を行う。具体的には、伝送部15は、コンテンツの収録時においては、収録出力部12から出力されるコンテンツデータを記憶部13に出力し、コンテンツの再生時においては、記憶部13から出力されるコンテンツデータを再生部14に出力する。
The
なお、図2において、収録出力部12、記憶部13、再生部14及び映像情報の入出力を表す矢印が複数表示されているのは、映像収録再生装置1が、複数のコンテンツの収録及び再生を並行して行うことが可能であることを表している。以下では、映像収録再生装置1がコンテンツの収録及び再生を行う単位をチャネルと称する。
In FIG. 2, a plurality of arrows indicating the
図3は、第1の実施形態における映像収録再生装置1が備える記憶部13の機能構成の詳細を示す機能ブロック図である。図3において、破線矢印は主に映像情報の入出力を表し、実線矢印は主に制御情報の入出力を表す。記憶部13は、一以上のメモリユニット10と、メモリコントローラ20とを備える。図3には、一以上のメモリユニット10の一例として、メモリユニット10−1〜10−3が示されている。メモリコントローラ20は、主制御部11による制御のもと、収録出力部12から出力される映像情報を一以上のメモリユニット10に記憶させることでコンテンツの収録を実現し、一以上のメモリユニット10からコンテンツデータを取得して再生部14に出力することでコンテンツの再生を実現する。
FIG. 3 is a functional block diagram showing details of the functional configuration of the
メモリユニット10は、メモリ部110、コンテンツ制御部120及びメモリ管理部130を備える。メモリ部110は一以上のNANDメモリ111を備えて構成され、NANDメモリ上に、コンテンツデータを記憶するコンテンツデータ記憶部112を持つ。図3には、一以上のNANDメモリ111の一例として、NANDメモリ111−1〜111−3が示されている。
The memory unit 10 includes a
また、メモリ部110は、コンテンツ管理情報を記憶するコンテンツ管理情報記憶部113を持つ。コンテンツ管理情報は、収録されたコンテンツデータの管理に必要な情報である。具体的には、コンテンツ管理情報には、コンテンツデータと、コンテンツデータを記憶するメモリブロック(又はページ)との対応関係や、収録されたコンテンツの属性(例えば、再生時間や符号化方式、タイトルなどの情報)等の情報(以下「コンテンツ情報」という。)が含まれる。例えば、これらのコンテンツ情報はコンテンツ収録時のMFX解析によって取得される。取得されたコンテンツ情報は制御情報としてコンテンツ制御部120に送信され、コンテンツ管理情報の生成に用いられる。このように生成されるコンテンツ管理情報は、コンテンツ再生時において、再生対象のコンテンツデータを読み出す際に参照されるとともに、コンテンツの収録や削除に応じて適宜更新される。なお、コンテンツ管理情報記憶部113は、メモリ部110が有するNANDメモリを用いて構成されてもよいし、NANDメモリ以外の記憶媒体を用いて構成されてもよい。
Further, the
コンテンツ制御部120は、メモリコントローラ20とメモリ部110との間で、コンテンツの収録及び再生に関する情報の入出力を制御する。具体的には、コンテンツ制御部120は、コンテンツデータ入出力部121及びコンテンツ管理部122を備える。コンテンツデータ入出力部121は、メモリコントローラ20とコンテンツデータ記憶部112との間で、コンテンツデータの入出力を行う。コンテンツ管理部122は、メモリコントローラ20とコンテンツ管理情報記憶部113との間で、コンテンツ管理情報の入出力を行う。コンテンツ管理部122は、コンテンツ管理情報に基づいて、コンテンツデータ入出力部121のコンテンツデータの入出力動作を制御する。
The
例えば、コンテンツ管理部122は、コンテンツの再生時において、メモリコントローラ20から通知される収録済みのコンテンツについてのコンテンツ管理情報をコンテンツ管理情報記憶部113から取得する。コンテンツ管理部122は、取得したコンテンツ管理情報に基づいて再生対象のコンテンツデータを識別し、コンテンツ管理情報が示す記憶領域から再生対象のコンテンツデータが読み出されるようにコンテンツデータ入出力部121を制御する。また、コンテンツ管理部122は、必要に応じてコンテンツデータの削除や、削除済みとしてマークされているデータを保持するメモリブロックに対するデータの消去処理等を行うことによりNANDメモリの空き領域を確保する。
For example, the
メモリ管理部130は、コンテンツデータ入出力部121がコンテンツデータ記憶部112に対して行うデータの書き込み、読み出し及び消去等の各種処理(以下、これらの処理を総称して「アクセス」という。)に要する時間(以下「処理時間」という。)を監視し、各種アクセスに要した処理時間に基づいて、NANDメモリが有するメモリブロックを正常ブロック又は不良ブロックのいずれかに分類して管理する。コンテンツデータ入出力部121は正常ブロックに対してのみメモリアクセスが可能なように構成される。そのため、不良ブロックとして管理されるメモリブロックはメモリアクセスの対象外として管理される。
The
メモリコントローラ20は、メモリユニット10に対する情報の入出力を制御する。具体的には、メモリコントローラ20は、映像情報入出力部21及びユニット制御部22を備える。映像情報入出力部21は、伝送部15を介して収録出力部12及び再生部14との間でコンテンツデータの入出力を行う。コンテンツ収録時においては、映像情報入出力部21は収録出力部12からコンテンツデータを取得し、取得したコンテンツデータをメモリユニット10に出力する。一方、コンテンツ再生時においては、映像情報入出力部21はメモリユニット10から読み出されたコンテンツデータを再生部14に出力する。
The
ユニット制御部22は、一以上のメモリユニット10に対する情報の入出力を制御する。ユニット制御部22は、主制御部11との間で制御情報を送受信することにより、コンテンツの収録又は再生に関する記憶部13の動作を、記憶部13以外の各機能部と連携して動作させることができる。コンテンツ収録時においては、ユニット制御部22は収録出力部12から取得されるコンテンツデータがメモリユニット10に出力されるように映像情報入出力部21を制御するとともに、コンテンツ管理情報の生成に必要な収録対象のコンテンツ情報を制御情報に含めてメモリユニット10に通知する。一方、コンテンツ再生時においては、ユニット制御部22は再生対象のコンテンツをメモリユニット10に通知する。
The
図4は、第1の実施形態におけるメモリ管理部130の構成の具体例を示すブロック図である。メモリ管理部130は、記憶部131、アクセス情報取得部132及びアクセス監視部133を備える。記憶部131は、磁気ハードディスク装置や半導体記憶装置などの記憶装置を用いて構成される。記憶部131は、アクセス情報及び設定情報を記憶する。アクセス情報は、NANDメモリに対して発生した各種アクセスに関する情報である。また、設定情報は、NANDメモリの各ブロックを、各種アクセスに要した処理時間に基づいて正常ブロック又は不良ブロックのいずれかに判定するための設定を示す情報である。例えば、設定情報には、アクセス種別ごとの処理時間の閾値のほか、これらの閾値の調整に用いられる各種条件や設定値等が含まれる。設定情報は、予め記憶部131に記憶されてもよい。
FIG. 4 is a block diagram showing a specific example of the configuration of the
図5は、第1の実施形態におけるアクセス情報及び設定情報の具体例を示す図である。例えばアクセス情報は、図5に示されるアクセス情報テーブル31として記憶部131に記憶される。アクセス情報テーブル31は、書き込み、読み出し及び消去のアクセス種別ごとに、正常なアクセスが連続して実行された回数を示す連続正常回数の値を保持する。連続正常回数の値はメモリブロックごとに保持される。連続正常回数の値は、発生したアクセスが正常であると判定されるごとに1ずつカウントアップされ、発生したアクセスが異常であると判定された場合、又は連続正常回数が所定の閾値に達した場合にゼロに初期化される。
FIG. 5 is a diagram showing specific examples of access information and setting information according to the first embodiment. For example, the access information is stored in the
また、例えば設定情報は、図5に示される設定情報テーブル32として記憶部131に記憶される。設定情報テーブル32は、書き込み、読み出し及び消去のアクセス種別ごとに、処理時間閾値、連続回数閾値、減算値及び加算値の各値を保持する。処理時間閾値は、発生したアクセスの正常性を判定するための閾値である。具体的には、処理時間閾値より短い処理時間で終了したアクセスは正常と判定され、処理時間閾値までに終了しなかったアクセスは異常と判定される。
Further, for example, the setting information is stored in the
連続回数閾値は、処理時間閾値を調整する必要性の有無を、連続する複数回のアクセスの正常性に基づいて判定する際に用いられる閾値である。具体的には、連続正常回数が連続回数閾値以上となった場合に、処理時間閾値の調整が必要であると判定される。減算値は処理時間閾値の短縮に用いられ、加算値は処理時間閾値の延長に用いられる。 The continuous number threshold is a threshold used when determining whether or not it is necessary to adjust the processing time threshold based on the normality of a plurality of consecutive accesses. Specifically, when the number of consecutive normal times becomes equal to or greater than the threshold for the number of consecutive times, it is determined that the processing time threshold needs to be adjusted. The subtraction value is used to shorten the processing time threshold, and the addition value is used to extend the processing time threshold.
図4の説明に戻る。アクセス情報取得部132は、コンテンツデータ入出力部121からアクセス情報を取得する。例えば、アクセス情報は制御情報として伝達される。この場合、アクセス情報取得部132は、コンテンツデータ入出力部121から制御情報を取得することによってアクセス情報を取得することができる。アクセス情報取得部132は、取得したアクセス情報をアクセス監視部133に出力する。
Returning to the description of FIG. The access
アクセス監視部133は、各種アクセスの処理時間を、アクセス種別に応じた処理時間の閾値と比較することにより、アクセス対象のメモリブロックが正常ブロックであるか又は不良ブロックであるかの判定(以下「ブロック判定」という。)を行う。アクセス監視部133は、判定結果に基づいてメモリブロックの管理情報を更新する。このような管理情報の更新により、不良ブロックは、以降、使用できないメモリブロックとして管理される。
The
このようなメモリブロックの管理を行う一方で、アクセス監視部133は、ブロック判定の判定基準となる処理時間の閾値を、各種アクセスの状況に応じて調整する機能を有する。アクセス監視部133が、各種アクセスの状況に応じて処理時間の閾値を調整することにより、映像収録再生装置1はNANDメモリの使用効率の低下を抑制することができる。
While managing such memory blocks, the
図6は、第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第一の動作例を示すフローチャートである。まず、コンテンツデータ入出力部121が、コンテンツデータ記憶部112に対して書き込み、読み出し又はデータ消去のいずれかの処理(アクセス)を実行する(ステップS101)。アクセス監視部133は、ステップS101において発生したアクセスが正常に実行されたか否かを判定する(ステップS102)。
FIG. 6 is a flowchart showing a first operation example of the process in which the
具体的には、アクセス監視部133は、当該アクセス自体が正常に完了しなかった場合、又は当該アクセスが処理時間閾値以上の処理時間をかけて正常に完了した場合には、当該アクセスが正常に実行されなかったと判定する。この場合(ステップS102−NO)、アクセス監視部133は処理時間閾値の調整を行うことなく処理を終了する。一方、アクセス監視部133は、発生したアクセスが、処理時間閾値よりも短い処理時間で正常に完了した場合に当該アクセスが正常に実行されたと判定する。この場合(ステップS102−YES)、アクセス監視部133は連続正常回数をインクリメントする(ステップS103)。例えば図5に示されるように、書き込み、読み出し及び消去のそれぞれに対応する現在の連続正常回数がCW、CR及びCEで表される場合、ステップS103のインクリメントは次の式(1)〜式(3)によって表される。
Specifically, the
続いて、アクセス監視部133はインクリメント後の連続正常回数が連続回数閾値以上であるか否かを判定する(ステップS104)。例えば図5に示されるように、書き込み、読み出し及び消去のそれぞれに対応する連続回数閾値がNWC、NRC及びNECで表される場合、ステップS104の判定式は次の式(4)〜式(6)によって表される。
Subsequently, the
連続正常回数が連続回数閾値未満である場合(ステップS104−NO)、アクセス監視部133は処理時間閾値の調整を行うことなく処理を終了する。一方、連続正常回数が連続回数閾値以上である場合(ステップS104−YES)、アクセス監視部133は処理時間閾値を減算値分だけ短縮させる(ステップS105)。例えば図5に示されるように、書き込み、読み出し及び消去のそれぞれに対応する減算値がtWd、tRd及びtEdで表される場合、処理時間閾値の短縮は次の式(7)〜式(9)によって表される。
When the number of continuous normal times is less than the continuous number of times threshold value (step S104-NO), the
アクセス監視部133は、処理時間閾値を短縮すると、連続正常回数をゼロに初期化する(ステップS106)。この連続正常回数の初期化は次の式(10)〜式(12)のように表される。
When the processing time threshold value is shortened, the
図7は、第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第二の動作例を示すフローチャートである。まず、コンテンツデータ入出力部121が、コンテンツデータ記憶部112に対して書き込み、読み出し又はデータ消去のいずれかの処理(アクセス)を実行する(ステップS201)。アクセス監視部133は、ステップS201において発生したアクセスが正常に実行されたか否かを判定する(ステップS202)。
FIG. 7 is a flowchart showing a second operation example of the process in which the
発生したアクセスが正常に実行されたと判定された場合(ステップS202−YES)、アクセス監視部133は処理時間閾値の調整を行うことなく処理を終了する。一方、発生したアクセスが正常に実行されなかったと判定された場合(ステップS202−NO)、アクセス監視部133は処理時間閾値を加算値分だけ延長させる(ステップS203)。例えば図5に示されるように書き込み、読み出し及び消去のそれぞれに対応する加算値がtWa、tRa及びtEaで表される場合、処理時間閾値の延長は次の式(13)〜式(15)によって表される。
When it is determined that the generated access is normally executed (step S202-YES), the
なお、図1に示した処理時間閾値を短縮する処理と、図2に示した処理時間を延長する処理は適宜組み合わせて実行されてもよい。例えば、図1のステップS102−NOにおいて、図2のステップS201〜S203が実行されてもよい。 The process of shortening the processing time threshold shown in FIG. 1 and the process of extending the processing time shown in FIG. 2 may be executed in an appropriate combination. For example, in step S102-NO of FIG. 1, steps S201 to S203 of FIG. 2 may be executed.
図8は、第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第三の動作例を示すフローチャートである。図8では、図6及び図7と同様の処理には同じ符号を付すことにより説明を省略する。アクセス監視部133は、ステップS105で処理時間閾値の短縮を行う前に、調整(短縮)の結果として得られる処理時間閾値が予め定められた所定の下限値以上となるか否かを判定する(ステップS301)。アクセス監視部133は、調整(短縮)の結果として得られる処理時間閾値が下限値以上となる場合(ステップS301−YES)にはステップS105に進み処理時間閾値の短縮を実行する。一方、調整(短縮)の結果として得られる処理時間閾値が下限値以上とならない場合(ステップS301−NO)、アクセス監視部133は処理時間閾値の調整を行うことなく処理を終了する。
FIG. 8 is a flowchart showing a third operation example of the process in which the
同様に、アクセス監視部133は、ステップS302で処理時間閾値の延長を行う前に、調整(延長)の結果として得られる処理時間閾値が予め定められた所定の上限値以下となるか否かを判定する(ステップS302)。アクセス監視部133は、調整(延長)の結果として得られる処理時間閾値が上限値以下となる場合(ステップS302−YES)にはステップS203に進み処理時間閾値の延長を実行する。一方、調整(延長)の結果として得られる処理時間閾値が上限値以下とならない場合(ステップS302−NO)、アクセス監視部133は処理時間閾値の調整を行うことなく処理を終了する。
Similarly, before extending the processing time threshold value in step S302, the
図9は、第1の実施形態におけるメモリ管理部130の第三の動作例における設定情報の具体例を示す図である。設定情報テーブル32aは、第三の動作例における設定情報を保持するテーブルである。設定情報テーブル32aは、書き込み、読み出し及び消去のアクセス種別ごとに、処理時間閾値についての下限値及び上限値をさらに保持する点で設定情報テーブル32と異なる。例えば図9に示されるように、書き込み、読み出し及び消去のそれぞれに対応する処理時間閾値の下限値がTWL、TRL及びTELで表される場合、ステップS301の判定は次の式(16)〜式(18)に基づいて行われる。
FIG. 9 is a diagram showing a specific example of setting information in the third operation example of the
また、例えば図9に示されるように、書き込み、読み出し及び消去のそれぞれに対応する処理時間閾値の上限値がTWH、TRH及びTEHで表される場合、ステップS302の判定は次の式(19)〜式(21)に基づいて行われる。 Further, as shown in FIG. 9, the writing, reading and upper limit T WH processing time threshold corresponding to each of the erasing, when represented by T RH and T EH, the determination in step S302 is the following formula It is performed based on the equations (19) to (21).
図10は、第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第四の動作例を示すフローチャートである。図10では、図6、図7及び図8と同様の処理には同じ符号を付すことにより説明を省略する。また、図11は、第1の実施形態におけるメモリ管理部130の第四の動作例における設定情報の具体例を示す図である。設定情報テーブル32bは、第四の動作例における設定情報を保持するテーブルである。設定情報テーブル32bは、書き込み、読み出し及び消去のアクセス種別ごとに、加算値識別子、第1の加算値及び第2の加算値の各値をさらに保持する点で設定情報テーブル32と異なる。
FIG. 10 is a flowchart showing a fourth operation example of the process in which the
アクセス監視部133は、発生したアクセスが正常に実行されなかった場合(ステップS102−NO)、処理時間閾値の延長に用いるべき加算値がいずれであるかを判定する。例えば、図10の動作例では第1の加算値及び第2の加算値が使用可能であり、第2の加算値は第1の加算値よりも大きな値であるものとする。この場合、アクセス監視部133は、加算値識別子を参照することにより、使用すべき加算値が第1の加算値及び第2の加算値のいずれの加算値であるかを識別する(ステップS401)。加算値識別子は、次回使用すべき加算値を示す情報である。加算値識別子の初期値は第1の加算値を示す。
When the generated access is not normally executed (step S102-NO), the
使用すべき加算値が第1の加算値である場合(ステップS401:第1の加算値)、アクセス監視部133は処理時間閾値を第1の加算値分だけ延長する(ステップS402)。そして、アクセス監視部133は、次回使用すべき加算値として第2の加算値が示されるように加算値識別子を設定する(ステップS403)。
When the addition value to be used is the first addition value (step S401: first addition value), the
ステップS403が実行された後にステップS401が実行された場合、ステップS401においては第2の加算値が使用すべき加算値として判定される。この場合(ステップS401:第2の加算値)、アクセス監視部133は処理時間閾値を第2の加算値分だけ延長する(ステップS404)。
If step S401 is executed after step S403 is executed, the second addition value is determined as the addition value to be used in step S401. In this case (step S401: second added value), the
一方、連続正常回数が連続回数閾値以上である場合(ステップS104−YES)、アクセス監視部133は処理時間閾値を減算値分だけ短縮させる(ステップS105)とともに、次回使用すべき加算値として第1の加算値が示されるように加算値識別子を設定する(ステップS405)。
On the other hand, when the number of continuous normal times is equal to or greater than the continuous number of times threshold value (step S104-YES), the
図12は、第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第五の動作例を示すフローチャートである。図12では、図6〜図8及び図10と同様の処理には同じ符号を付すことにより説明を省略する。また、図13は、第1の実施形態におけるメモリ管理部130の第五の動作例におけるアクセス情報及び設定情報の具体例を示す図である。アクセス情報テーブル31cは、第五の動作例におけるアクセス情報を保持するテーブルである。アクセス情報テーブル31cは、NANDメモリが有するメモリブロックごとに、アクセス種別(書き込み、読み出し及び消去)ごとの連続正常回数の値を保持する点でアクセス情報テーブル31と異なる。アクセス情報テーブル31cは、各メモリブロックのアクセスの状況に応じて随時更新される。
FIG. 12 is a flowchart showing a fifth operation example of the process in which the
設定情報テーブル32cは、第五の動作例における設定情報を保持するテーブルである。設定情報テーブル32cは、NANDメモリが有するメモリブロックごとに、アクセス種別(書き込み、読み出し及び消去)ごとの処理時間閾値、連続回数閾値、減算値及び加算値の各値を保持する点で設定情報テーブル32と異なる。 The setting information table 32c is a table that holds the setting information in the fifth operation example. The setting information table 32c holds each value of the processing time threshold value, the continuous number of times threshold value, the subtraction value, and the addition value for each access type (write, read, and erase) for each memory block of the NAND memory. Different from 32.
この場合、まず、コンテンツデータ入出力部121が、コンテンツデータ記憶部112に対して書き込み、読み出し又はデータ消去のいずれかの処理(アクセス)を実行する(ステップS101)と、アクセス監視部133は、アクセスが発生したメモリブロック(以下「対象ブロック」という。)を識別する(ステップS501)。アクセス監視部133は、対象ブロックの識別により、対象ブロックのブロックIDを取得する。アクセス監視部133は、アクセス情報テーブル31c及び設定情報テーブル32cを参照し、取得したブロックIDに対応するアクセス情報及び設定情報を取得する。アクセス監視部133は、このように取得される対象ブロックのアクセス情報及び設定情報に基づいて、対象ブロックのアクセス種別ごとに処理時間閾値を調整する。
In this case, first, when the content data input / output unit 121 executes a process (access) of writing, reading, or erasing the data to the content data storage unit 112 (step S101), the
なお、処理時間閾値の調整は、上記のようにアクセス対象となるブロックごとに調整されてもよいし、ストライピング等の並列処理が実行される単位ごとに調整されてもよい。例えば、処理時間閾値の調整は、同じストライピンググループを構成する記憶媒体ごとに調整されてもよいし、同じストライピンググループを構成する記憶媒体に対して並列にアクセス処理を行うコントローラごとに調整されてもよい。 The processing time threshold may be adjusted for each block to be accessed as described above, or may be adjusted for each unit in which parallel processing such as striping is executed. For example, the adjustment of the processing time threshold value may be adjusted for each storage medium constituting the same striping group, or may be adjusted for each controller that performs access processing in parallel to the storage media constituting the same striping group. Good.
このように構成された第1の実施形態の映像収録再生装置1は、メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる処理時間閾値を、アクセス種別ごとの処理時間に応じて調整するメモリ管理部130を備える。このような構成を備えることにより、第1の実施形態の映像収録再生装置1は、NANDメモリの使用効率の低下を抑制することができる。
The video recording /
(第2の実施形態)
第2の実施形態の映像収録再生装置1は、記憶部13がメモリ管理部130に代えてメモリ管理部130aを備える点で第1の実施形態の映像収録再生装置1と異なる。
(Second embodiment)
The video recording /
図14は、第2の実施形態におけるメモリ管理部130aの構成の具体例を示すブロック図である。メモリ管理部130aは、記憶部131に代えて記憶部131aを備える点、アクセス監視部133に代えてアクセス監視部133aを備える点で第1の実施形態におけるメモリ管理部130と異なる。
FIG. 14 is a block diagram showing a specific example of the configuration of the
記憶部131aは、映像収録再生装置1が行うコンテンツの収録や再生、削除によって発生したアクセス種別ごとの処理数(以下「アクセス処理数」という。)を示す情報をアクセス情報として記憶する。ここでいう処理数とは、具体的には、発生した書き込み処理の回数、読み出し処理の回数又は消去処理の回数を意味する。また、記憶部131aは、アクセス種別ごとの処理時間閾値を示す情報を設定情報として記憶する。
The
図15は、第2の実施形態におけるアクセス情報及び設定情報の具体例を示す図である。例えばアクセス情報は、図15に示されるアクセス情報テーブル31dとして記憶部131aに記憶される。アクセス情報テーブル31dは、書き込み、読み出し及び消去のアクセス種別ごとに発生したアクセス処理数の値を保持する。また、例えば設定情報は、図15に示される設定情報テーブル32dとして記憶部131aに記憶される。設定情報テーブル32dは、書き込み、読み出し及び消去のアクセス種別ごとの処理時間閾値の値を保持する。
FIG. 15 is a diagram showing specific examples of access information and setting information in the second embodiment. For example, the access information is stored in the
図16は、第2の実施形態において、メモリ管理部130aが処理時間閾値を調整する処理の動作例を示すフローチャートである。まず、アクセス監視部133aは、次の制御周期にて処理されるべき各アクセスの処理数(アクセス処理数)を取得する(ステップS601)。ここで、APCの制御周期(1フレーム当たり33msec)に同期して動作する映像収録再生装置1においては、現在の制御周期において、少なくとも次の制御周期に実行されるべき処理の種別(収録、再生又は削除)及び量が既に決定されている。そのため、アクセス監視部133aは、次の制御周期に実行されるべき処理に関する情報に基づいて、次の制御周期にて処理されるアクセス処理数を推定することができる。
FIG. 16 is a flowchart showing an operation example of the process in which the
続いて、アクセス監視部133aは、取得されたアクセス処理数(以下「必要数」という。)分の各種アクセスをAPCの制御周期に同期して実行可能であるか否かを判定する(ステップS602)。具体的には、アクセス監視部133aは、必要数分の各種アクセスが次の制御周期のうちに完了するか否かを判定する。例えば図15に示されるように、書き込み、読み出し及び消去のそれぞれに対応するアクセス処理数がPW、PR及びPEで表される場合、ステップS602の判定は次の式(22)に基づいて行われる。
Subsequently, the
アクセス監視部133aは、式(22)が真である場合には必要数分の各種アクセスが次の制御周期のうちに完了すると判定し、式(22)が偽である場合には必要数分の各種アクセスが次の制御周期のうちに完了しないと判定する。
The
必要数分の各種アクセスが次の制御周期のうちに完了すると判定された場合(ステップS602−YES)、アクセス監視部133aは処理時間閾値の調整を行うことなく処理を終了する。一方、必要数分の各種アクセスが次の制御周期のうちに完了しないと判定された場合(ステップS602−NO)、アクセス監視部133aは、処理時間閾値をアクセス処理数の割合に応じて調整する(ステップS603)。例えば、ステップS603における処理時間閾値の調整は次の式(23)〜式(25)に基づいて行われる。
When it is determined that the required number of various accesses are completed within the next control cycle (step S602-YES), the
即ち、この場合、アクセス監視部133aは、必要数分の各種アクセスの処理時間の総和が1周期分の時間となるように各アクセス種別の処理時間閾値を調整する。
That is, in this case, the
なお、ステップS603における処理時間閾値の調整は次の式(26)〜式(28)に基づいて行われてもよい。 The processing time threshold value in step S603 may be adjusted based on the following equations (26) to (28).
即ち、この場合、アクセス監視部133aは、読み出し処理についての処理時間閾値を変更しない。アクセス監視部133aは、必要数分の書き込み及び消去の処理時間の総和が、1周期分の時間から読み出しの処理時間を引いた残りの時間となるように、書き込み及び消去の処理時間閾値を調整する。このような調整方法は、コンテンツの再生(読み出し)により多くのリソースを確保する場合に用いることができる。
That is, in this case, the
また、ステップS603における処理時間閾値の調整は次の式(29)〜式(31)に基づいて行われてもよい。 Further, the adjustment of the processing time threshold value in step S603 may be performed based on the following equations (29) to (31).
即ち、この場合、アクセス監視部133aは、書き込み処理及び読み出し処理についての処理時間閾値を変更しない。アクセス監視部133aは、必要数分の消去の処理時間の総和が、1周期分の時間から書き込み及び読み出しの処理時間を引いた残りの時間となるように、消去の処理時間閾値を調整する。このような調整方法は、コンテンツの収録(書き込み)及び再生(読み出し)により多くのリソースを確保する場合に用いることができる。
That is, in this case, the
このように構成された第2の実施形態の映像収録再生装置1は、メモリブロックへの各種アクセスに係る処理時間閾値を、次の制御周期において所定量のアクセスが制御周期内に完了するように調整するメモリ管理部130aを備える。このような構成を備えることにより、第2の実施形態の映像収録再生装置1は、コンテンツの収録又は再生の信頼性を維持しつつ、NANDメモリの使用効率の低下を抑制することができる。
The video recording /
以下、上記各実施形態の映像収録再生装置の変形例について説明する。
アクセス監視部133(又は133a)は、アクセス情報(例えば、連続正常回数)又は設定情報(例えば、処理時間閾値、連続回数閾値、減算値又は加算値)を不揮発性を有する記憶媒体を用いて構成された記憶領域に記憶するように構成されてもよい。これにより、映像収録再生装置1は、自装置が停止された場合であっても、次回稼働時に前回稼働時のアクセス情報又は設定情報を引き継ぐことが可能となる。
Hereinafter, modifications of the video recording / playback device of each of the above embodiments will be described.
The access monitoring unit 133 (or 133a) configures access information (for example, continuous normal number of times) or setting information (for example, processing time threshold, continuous number of times threshold, subtraction value or addition value) using a non-volatile storage medium. It may be configured to store in the stored storage area. As a result, the video recording /
アクセス監視部133(又は133a)は、アクセス情報又は設定情報に対する変更入力を受け付ける変更入力受付部を備えてもよい。これにより、映像収録再生装置1は、ユーザが所望するアクセス情報又は設定情報に基づいて処理時間閾値を調整することが可能となる。
The access monitoring unit 133 (or 133a) may include a change input receiving unit that accepts a change input for access information or setting information. As a result, the video recording /
以上説明した少なくともひとつの実施形態によれば、記憶媒体が有するメモリブロックを、メモリブロックに対する書き込み、読み出し又はデータ消去に要する処理時間に基づいて、正常ブロック又は不良ブロックのいずれかに管理するメモリ管理部であって、メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる処理時間閾値を、各処理の処理時間に応じて調整するメモリ管理部を持つことにより、NANDメモリの使用効率の低下を抑制することができる。 According to at least one embodiment described above, memory management that manages a memory block of a storage medium into either a normal block or a bad block based on the processing time required for writing, reading, or erasing data to the memory block. By having a memory management unit that adjusts the processing time threshold used for determining whether the memory block is a normal block or a bad block according to the processing time of each processing, the NAND memory It is possible to suppress a decrease in usage efficiency.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, as well as in the scope of the invention described in the claims and the equivalent scope thereof.
100…放送システム、1…映像収録再生装置、2…映像取得装置、3…再生装置、4…ノンリニア編集機、5…操作端末、6…映像確認用モニタ、7…放送設備、8…記録メディア、11…主制御部、12…収録出力部、13…記憶部、14…再生部、15…伝送部、10,10−1〜10−3…メモリユニット、110…メモリ部、111,111−1〜111−3…NANDメモリ、112…コンテンツデータ記憶部、113…コンテンツ管理情報記憶部、120…コンテンツ制御部、121…コンテンツデータ入出力部、122…コンテンツ管理部、130,130a…メモリ管理部、131,131a…記憶部、132…アクセス情報取得部、133,133a…アクセス監視部、31,31c,31d…アクセス情報テーブル、32,32a,32b,32c,32d…設定情報テーブル、20…メモリコントローラ、21…映像情報入出力部、22…ユニット制御部 100 ... Broadcast system, 1 ... Video recording / playback device, 2 ... Video acquisition device, 3 ... Playback device, 4 ... Non-linear editing machine, 5 ... Operation terminal, 6 ... Video confirmation monitor, 7 ... Broadcasting equipment, 8 ... Recording media , 11 ... Main control unit, 12 ... Recording output unit, 13 ... Storage unit, 14 ... Playback unit, 15 ... Transmission unit, 10,10-1 to 10-3 ... Memory unit, 110 ... Memory unit, 111,111- 1-111-3 ... NAND memory, 112 ... content data storage unit, 113 ... content management information storage unit, 120 ... content control unit, 121 ... content data input / output unit, 122 ... content management unit, 130, 130a ... memory management Units, 131, 131a ... Storage unit, 132 ... Access information acquisition unit, 133, 133a ... Access monitoring unit, 31, 31c, 31d ... Access information table, 32, 32a, 32b, 32c, 32d ... Setting information table, 20 ... Memory controller, 21 ... Video information input / output unit, 22 ... Unit control unit
Claims (14)
前記記憶媒体が有するメモリブロックを、前記メモリブロックに対する書き込み、読み出し又はデータ消去に要する処理時間に基づいて、正常ブロック又は不良ブロックのいずれかに管理するとともに、前記メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる前記処理時間の閾値を調整するメモリ管理部を備え、
前記メモリ管理部は、前記メモリブロックに対する書き込み、読み出し又はデータ消去の処理時間が所定の回数連続して正常であると判定された場合、所定値を減算することによって前記処理時間の閾値をより短い時間に更新する、
メモリ管理装置。 A storage unit including one or more storage media for storing data,
The memory block of the storage medium is managed as either a normal block or a bad block based on the processing time required for writing, reading, or erasing the memory block, and whether the memory block is a normal block or not. A memory management unit that adjusts the threshold value of the processing time used for determining whether or not the block is defective is provided.
When the memory management unit determines that the processing time for writing, reading, or erasing data to the memory block is normal for a predetermined number of times in a row, the memory management unit reduces the threshold value of the processing time by subtracting a predetermined value. Update on time,
Memory management device.
前記記憶媒体が有するメモリブロックを、前記メモリブロックに対する書き込み、読み出し又はデータ消去に要する処理時間に基づいて、正常ブロック又は不良ブロックのいずれかに管理するとともに、前記メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる前記処理時間の閾値を調整するメモリ管理部を備え、
前記メモリ管理部は、前記メモリブロックに対する書き込み、読み出し又はデータ消去の処理時間が所定の回数連続して異常であると判定された場合、所定値を加算することによって前記処理時間の閾値をより長い時間に更新する、
メモリ管理装置。 A storage unit including one or more storage media for storing data,
The memory block of the storage medium is managed as either a normal block or a bad block based on the processing time required for writing, reading, or erasing the memory block, and whether the memory block is a normal block or not. A memory management unit that adjusts the threshold value of the processing time used for determining whether or not the block is defective is provided.
When the memory management unit determines that the processing time for writing, reading, or erasing data to the memory block is abnormal a predetermined number of times in a row, the memory management unit adds a predetermined value to make the threshold value of the processing time longer. Update on time,
Memory management unit.
前記記憶媒体が有するメモリブロックを、前記メモリブロックに対する書き込み、読み出し又はデータ消去に要する処理時間に基づいて、正常ブロック又は不良ブロックのいずれかに管理するとともに、前記メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる前記処理時間の閾値を調整するメモリ管理部を備え、The memory block of the storage medium is managed as either a normal block or a bad block based on the processing time required for writing, reading, or erasing the memory block, and whether the memory block is a normal block or not. A memory management unit for adjusting the threshold value of the processing time used for determining whether or not the block is defective is provided.
前記メモリ管理部は、前記メモリブロックに対する書き込み、読み出し又はデータ消去の処理時間が所定の回数連続して正常であると判定された場合、所定値を減算することによって前記処理時間の閾値をより短い時間に更新し、前記処理時間が所定の回数連続して異常であると判定された場合、所定値を加算することによって前記処理時間の閾値をより長い時間に更新する、When the memory management unit determines that the processing time for writing, reading, or erasing data to the memory block is normal for a predetermined number of times in a row, the memory management unit reduces the threshold value of the processing time by subtracting a predetermined value. When the processing time is updated to the time and it is determined that the processing time is abnormal a predetermined number of times in a row, the threshold value of the processing time is updated to a longer time by adding a predetermined value.
メモリ管理装置。Memory management device.
請求項1から3のいずれか一項に記載のメモリ管理装置。 The memory management unit updates the threshold value of the processing time so as not to deviate from a predetermined range.
The memory management device according to any one of claims 1 to 3.
請求項2から4のいずれか一項に記載のメモリ管理装置。 When the memory management unit updates the threshold value of the processing time to a longer time, and then determines that the processing time for writing, reading, or erasing the memory block is abnormal a predetermined number of times in a row. , The threshold value of the processing time is updated to a longer time by adding a value larger than the previous time.
The memory management device according to any one of claims 2 to 4.
請求項1から5のいずれか一項に記載のメモリ管理装置。 The memory management unit adjusts the processing time threshold for each unit in which parallel processing of writing, reading, or erasing data is executed for a plurality of memory blocks.
The memory management device according to any one of claims 1 to 5.
前記映像データを取得して前記記憶部に記憶させる収録部と、
前記記憶部から前記映像データを読み出して再生する再生部と、
前記記憶部が有するメモリブロックを、前記メモリブロックに対する書き込み、読み出し又はデータ消去に要する処理時間に基づいて、正常ブロック又は不良ブロックのいずれかに管理するとともに、前記メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる前記処理時間の閾値を、前記映像データの収録又は再生が所定の制御周期に同期して実行可能となるように調整するメモリ管理部と、
を備え、
前記メモリ管理部は、前記メモリブロックに対する書き込み、読み出し又はデータ消去の処理時間が所定の回数連続して正常であると判定された場合、所定値を減算することによって前記処理時間の閾値をより短い時間に更新する、
映像収録再生装置。 A storage unit that stores video data for broadcasting,
A recording unit that acquires the video data and stores it in the storage unit,
A playback unit that reads and reproduces the video data from the storage unit,
The memory block of the storage unit is managed as either a normal block or a bad block based on the processing time required for writing, reading, or erasing the data block, and whether the memory block is a normal block or not. A memory management unit that adjusts the threshold value of the processing time used for determining whether or not it is a defective block so that recording or reproduction of the video data can be executed in synchronization with a predetermined control cycle.
With
When the memory management unit determines that the processing time for writing, reading, or erasing data to the memory block is normal for a predetermined number of times in a row, the memory management unit reduces the threshold value of the processing time by subtracting a predetermined value. Update on time,
Video recording / playback device.
請求項7に記載の映像収録再生装置。 When it is estimated that the writing, reading, and data erasing related to the recording or reproduction of the video data are not completed within the predetermined time, the memory management unit sets the threshold value of the processing time of each processing to the estimated value of each processing time. And adjust based on the ratio of time that can be allocated to perform each process,
The video recording / playback device according to claim 7.
請求項7に記載の映像収録再生装置。 When it is estimated that the writing, reading, and data erasing related to the recording or playback of the video data are not completed within a predetermined time, the memory management unit sets the threshold of each processing time of writing and data erasing, writing and erasing the data. Adjust based on the ratio of the estimated processing time of to the time that can be allocated to perform each write and data erase process.
The video recording / playback device according to claim 7.
請求項7に記載の映像収録再生装置。 When it is estimated that the writing, reading, and data erasure related to the recording or reproduction of the video data are not completed within a predetermined time, the memory management unit sets the threshold value of the data erasure processing time and estimates the data erasure processing time. Adjust based on the ratio of the value to the time that can be allocated to perform the data erasure,
The video recording / playback device according to claim 7.
前記記憶媒体が有するメモリブロックを、前記メモリブロックに対する書き込み、読み出し又はデータ消去に要する処理時間に基づいて、正常ブロック又は不良ブロックのいずれかに管理するするとともに、前記メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる前記処理時間の閾値を調整するメモリ管理ステップを有し、
前記メモリ管理ステップにおいて、前記メモリブロックに対する書き込み、読み出し又はデータ消去の処理時間が所定の回数連続して正常であると判定された場合、所定値を減算することによって前記処理時間の閾値をより短い時間に更新する、
メモリ管理方法。 A memory management method performed by a memory management device having a storage unit including one or more storage media for storing data.
The memory block of the storage medium is managed as either a normal block or a defective block based on the processing time required for writing, reading, or erasing the memory block, and whether the memory block is a normal block or not. Alternatively, it has a memory management step for adjusting the threshold value of the processing time used for determining whether or not the block is defective.
In the memory management step, when it is determined that the processing time for writing, reading, or erasing data to the memory block is normal for a predetermined number of times in a row, the threshold value for the processing time is shortened by subtracting a predetermined value. Update on time,
Memory management method.
前記記憶部が有するメモリブロックを、前記メモリブロックに対する書き込み、読み出し又はデータ消去に要する処理時間に基づいて、正常ブロック又は不良ブロックのいずれかに管理するとともに、前記メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる前記処理時間の閾値を、前記映像データの収録又は再生が所定の制御周期に同期して実行可能となるように調整するメモリ管理ステップを有し、
前記メモリ管理ステップにおいて、前記メモリブロックに対する書き込み、読み出し又はデータ消去の処理時間が所定の回数連続して正常であると判定された場合、所定値を減算することによって前記処理時間の閾値をより短い時間に更新する、
映像収録再生方法。 Video recording / playback having a storage unit that stores video data for broadcasting, a recording unit that acquires the video data and stores it in the storage unit, and a playback unit that reads the video data from the storage unit and reproduces the video data. This is a video recording / playback method performed by the device.
The memory block of the storage unit is managed as either a normal block or a bad block based on the processing time required for writing, reading, or erasing the data block, and whether the memory block is a normal block or not. It has a memory management step that adjusts the threshold value of the processing time used for determining whether or not it is a defective block so that the recording or reproduction of the video data can be executed in synchronization with a predetermined control cycle.
In the memory management step, when it is determined that the processing time for writing, reading, or erasing data to the memory block is normal for a predetermined number of times in a row, the threshold value for the processing time is shortened by subtracting a predetermined value. Update on time,
Video recording and playback method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016221908A JP6847635B2 (en) | 2016-11-14 | 2016-11-14 | Memory management device, video recording / playback device, memory management method, video recording / playback method and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016221908A JP6847635B2 (en) | 2016-11-14 | 2016-11-14 | Memory management device, video recording / playback device, memory management method, video recording / playback method and computer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018081387A JP2018081387A (en) | 2018-05-24 |
JP6847635B2 true JP6847635B2 (en) | 2021-03-24 |
Family
ID=62198067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016221908A Active JP6847635B2 (en) | 2016-11-14 | 2016-11-14 | Memory management device, video recording / playback device, memory management method, video recording / playback method and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6847635B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6256755B1 (en) * | 1998-10-19 | 2001-07-03 | International Business Machines Corporation | Apparatus and method for detecting defective NVRAM cells |
JP2007156862A (en) * | 2005-12-06 | 2007-06-21 | Fujitsu Ltd | Method and apparatus for managing flash memory |
JP5720210B2 (en) * | 2010-12-02 | 2015-05-20 | 富士通株式会社 | Access control device, error correction control method, and storage device |
-
2016
- 2016-11-14 JP JP2016221908A patent/JP6847635B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018081387A (en) | 2018-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100266263A1 (en) | Recording apparatus | |
US8416658B2 (en) | Recording apparatus and recording method for data and file system information | |
US8346051B2 (en) | Recording apparatus and recording method | |
JP5406750B2 (en) | Recording apparatus and control method thereof | |
JP6847635B2 (en) | Memory management device, video recording / playback device, memory management method, video recording / playback method and computer program | |
JP5473623B2 (en) | Data recording apparatus and control method thereof | |
JP5523128B2 (en) | Recording apparatus and control method thereof | |
CN106027930B (en) | Recording apparatus and control method of recording apparatus | |
US8761573B2 (en) | Recording device, imaging and recording device, recording method, and program | |
WO2002065299A1 (en) | Device and method for managing the access to a storage medium | |
US7890553B2 (en) | Information recording apparatus and information recording method | |
KR100647371B1 (en) | Apparatus and method for record space management in the record and paly apparatus | |
KR20120118789A (en) | Image recorder and overwriting method thereof | |
JP6466295B2 (en) | Video recording / playback apparatus, control method, and computer program | |
JP5375134B2 (en) | Recording device | |
JP3747904B2 (en) | Reference system and method for AV data stored in AV server | |
WO2020037526A1 (en) | Method for evaluating storage performance of solid-state drive, device, and image storage system | |
JP6884675B2 (en) | Video server and broadcasting system | |
JP3631234B2 (en) | File data storage management method, file data storage device, program for executing processing for storing file data, and storage medium | |
US20090304364A1 (en) | Digital video recorder and hard disc management method | |
KR101590845B1 (en) | An apparatus for performing multi channel image recording and management considering the life-time of a storage medium and the method thereof | |
JP2016170595A (en) | Image recording/reproduction apparatus, storage medium management method and computer program | |
JP2017187817A (en) | Memory management device, memory management method and video recording/reproducing device | |
EP1549059A2 (en) | Optical disk apparatus | |
JP2010166273A (en) | Data recorder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20170913 Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20170913 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190910 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200722 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201117 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210118 |
|
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: 20210202 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210303 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6847635 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |