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 PDF

Info

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
Application number
JP2016221908A
Other languages
Japanese (ja)
Other versions
JP2018081387A (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.)
Toshiba Corp
Toshiba Infrastructure Systems and Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Infrastructure Systems and Solutions Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Infrastructure Systems and Solutions Corp filed Critical Toshiba Corp
Priority to JP2016221908A priority Critical patent/JP6847635B2/en
Publication of JP2018081387A publication Critical patent/JP2018081387A/en
Application granted granted Critical
Publication of JP6847635B2 publication Critical patent/JP6847635B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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.

特開2007−156862号公報Japanese Unexamined Patent Publication No. 2007-156862 特開2011−70346号公報Japanese Unexamined Patent Publication No. 2011-70346

本発明が解決しようとする課題は、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.

第1の実施形態の映像収録再生装置1を用いて構成される放送システム100の概要を示す概略図。The schematic diagram which shows the outline of the broadcasting system 100 configured by using the video recording / playback apparatus 1 of 1st Embodiment. 第1の実施形態における映像収録再生装置1の機能構成を示す機能ブロック図。FIG. 3 is a functional block diagram showing a functional configuration of the video recording / playback device 1 according to the first embodiment. 第1の実施形態における映像収録再生装置1が備える記憶部13の機能構成の詳細を示す機能ブロック図。FIG. 3 is a functional block diagram showing details of the functional configuration of the storage unit 13 included in the video recording / playback device 1 according to the first embodiment. 第1の実施形態におけるメモリ管理部130の構成の具体例を示すブロック図。The block diagram which shows the specific example of the structure of the memory management part 130 in 1st Embodiment. 第1の実施形態におけるアクセス情報及び設定情報の具体例を示す図。The figure which shows the specific example of access information and setting information in 1st Embodiment. 第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第一の動作例を示すフローチャート。FIG. 5 is a flowchart showing a first operation example of a process in which the memory management unit 130 adjusts a processing time threshold value in the first embodiment. 第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第二の動作例を示すフローチャート。FIG. 5 is a flowchart showing a second operation example of the process in which the memory management unit 130 adjusts the processing time threshold value in the first embodiment. 第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第三の動作例を示すフローチャート。FIG. 5 is a flowchart showing a third operation example of the process in which the memory management unit 130 adjusts the processing time threshold value in the first embodiment. 第1の実施形態におけるメモリ管理部130の第三の動作例における設定情報の具体例を示す図。The figure which shows the specific example of the setting information in the 3rd operation example of the memory management unit 130 in 1st Embodiment. 第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第四の動作例を示すフローチャート。FIG. 5 is a flowchart showing a fourth operation example of the process in which the memory management unit 130 adjusts the processing time threshold value in the first embodiment. 第1の実施形態におけるメモリ管理部130の第四の動作例における設定情報の具体例を示す図。The figure which shows the specific example of the setting information in the 4th operation example of the memory management unit 130 in 1st Embodiment. 第1の実施形態において、メモリ管理部130が処理時間閾値を調整する処理の第五の動作例を示すフローチャート。FIG. 5 is a flowchart showing a fifth operation example of the process in which the memory management unit 130 adjusts the processing time threshold value in the first embodiment. 第1の実施形態におけるメモリ管理部130の第五の動作例におけるアクセス情報及び設定情報の具体例を示す図。The figure which shows the specific example of the access information and the setting information in the 5th operation example of the memory management unit 130 in 1st Embodiment. 第2の実施形態におけるメモリ管理部130aの構成の具体例を示すブロック図。The block diagram which shows the specific example of the structure of the memory management part 130a in 2nd Embodiment. 第2の実施形態におけるアクセス情報及び設定情報の具体例を示す図。The figure which shows the specific example of access information and setting information in 2nd Embodiment. 第2の実施形態において、メモリ管理部130aが処理時間閾値を調整する処理の動作例を示すフローチャート。FIG. 5 is a flowchart showing an operation example of a process in which the memory management unit 130a adjusts a processing time threshold value in the second embodiment.

以下、実施形態のメモリ管理装置、映像収録再生装置、メモリ管理方法、映像収録再生方法及びコンピュータプログラムを、図面を参照して説明する。 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 broadcasting system 100 configured by using the video recording / playback device 1 (an example of a memory management device) of the first embodiment. The broadcasting system 100 includes related equipment such as a video recording / playback device 1, a video acquisition device 2, a playback device 3, a non-linear editing machine 4, an operation terminal 5, a video confirmation monitor 6, and broadcasting equipment 7. The video recording / playback device 1 is a device that records and plays back broadcast content.

映像収録再生装置1は、APCが制御する1フレーム当たり33msecのタイミングに同期してコンテンツの収録及び再生を行う。具体的には、映像収録再生装置1は、映像取得装置2又は再生装置3が出力する映像信号を自装置に入力する。映像信号は、撮影中又は再生中の映像を表示させるための信号であり、連続して時系列に出力される信号(以下「ストリーム」という。)である。映像収録再生装置1は、自装置に入力した映像信号を符号化してデジタルデータに変換することにより映像データを生成する。その一方で、映像収録再生装置1は、ノンリニア編集機4からファイル形式の映像データ(以下「映像ファイル」という。)を取得する。映像収録再生装置1は、生成した映像データや、取得した映像ファイルを、放送用の映像データ(以下「コンテンツデータ」という。)として記憶することによってコンテンツの収録を行う。 The video recording / playback device 1 records and reproduces the content in synchronization with the timing of 33 msec per frame controlled by the APC. Specifically, the video recording / playback device 1 inputs a video signal output by the video acquisition device 2 or the playback device 3 to its own device. The video signal is a signal for displaying a video being shot or reproduced, and is a signal (hereinafter referred to as “stream”) that is continuously output in chronological order. The video recording / playback device 1 generates video data by encoding a video signal input to its own device and converting it into digital data. On the other hand, the video recording / playback device 1 acquires video data in a file format (hereinafter referred to as “video file”) from the non-linear editing machine 4. The video recording / playback device 1 records the content by storing the generated video data and the acquired video file as broadcast video data (hereinafter referred to as “content data”).

また、映像収録再生装置1は、自装置に記憶されたコンテンツデータを必要に応じて読み出して再生することによりコンテンツの映像信号を生成する。映像収録再生装置1は、生成した映像信号を映像確認用モニタ6等の表示装置や放送設備7などにストリーム出力する。 Further, the video recording / playback device 1 generates a video signal of the content by reading and playing back the content data stored in the own device as needed. The video recording / playback device 1 streams the generated video signal to a display device such as a video confirmation monitor 6 or a broadcasting facility 7.

映像取得装置2は、コンテンツとなる映像を取得する装置である。例えば、映像取得装置2はビデオカメラなどの撮影装置である。映像取得装置2は、放送用のコンテンツとなる被写体を撮像することにより映像信号を生成し、映像収録再生装置1にストリーム出力する。 The video acquisition device 2 is a device that acquires video as content. For example, the image acquisition device 2 is a photographing device such as a video camera. The video acquisition device 2 generates a video signal by capturing an image of a subject to be broadcast content, and outputs a stream to the video recording / playback device 1.

再生装置3は、種々の記録メディアに記録された映像を再生する装置である。再生装置3は、映像の再生により映像信号を生成し、映像収録再生装置1にストリーム出力する。
記録メディア8は、映像を記録することが可能な記録媒体である。例えば、記録メディア8は、8mmフィルムやビデオテープ、半導体メモリなどの記録媒体である。
The playback device 3 is a device that reproduces images recorded on various recording media. The playback device 3 generates a video signal by playing back the video, and outputs the stream to the video recording / playback device 1.
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 non-linear editing machine 4 is a terminal for performing non-linear editing on a video file. The non-linear editing machine 4 transmits the edited video file to the video recording / playback device 1.

操作端末5は、映像収録再生装置1を操作するために用いられる端末装置である。映像収録再生装置1のユーザは、操作端末5の操作によって、映像収録再生装置1が有する各機能の動作指示や、各機能の動作設定などの操作を入力することができる。 The operation terminal 5 is a terminal device used for operating the video recording / playback device 1. The user of the video recording / playback device 1 can input operations such as operation instructions of each function of the video recording / playback device 1 and operation settings of each function by operating the operation terminal 5.

映像確認用モニタ6は、映像収録再生装置1によって再生されているコンテンツの映像を確認するためのモニタ装置である。映像確認用モニタ6は、CRT(Cathode Ray Tube)ディスプレイや液晶ディスプレイ、有機EL(Electro-Luminescence)ディスプレイ等の表示装置を用いて構成される。映像確認用モニタ6及び放送設備7は、映像収録再生装置1から出力される再生中のコンテンツの映像信号を自身に入力する。映像確認用モニタ6は、自装置に入力した映像信号に基づいて映像収録再生装置1が再生中のコンテンツの映像を表示する。 The video confirmation monitor 6 is a monitor device for confirming the video of the content being reproduced by the video recording / playback device 1. The image confirmation monitor 6 is configured by using a display device such as a CRT (Cathode Ray Tube) display, a liquid crystal display, or an organic EL (Electro-Luminescence) display. The video confirmation monitor 6 and the broadcasting equipment 7 input to themselves the video signal of the content being played, which is output from the video recording / playback device 1. The video confirmation monitor 6 displays the video of the content being played by the video recording / playback device 1 based on the video signal input to the own device.

放送設備7は、自装置に入力した映像信号に基づいて映像収録再生装置1が再生中のコンテンツの映像をオンエアで放送する。なお、以下では、説明を簡単にするため、映像収録再生装置1が収録又は再生によって取得又は生成する映像信号や映像ファイル、コンテンツデータ等の情報であって、表示される映像自体の信号やデータを含む情報を総称して映像情報と称する。これに対して、映像収録再生装置1の収録や再生等の動作の制御に関する情報を制御情報と称する。 The broadcasting equipment 7 broadcasts the video of the content being played by the video recording / playback device 1 on the air based on the video signal input to the own device. In the following, for the sake of simplicity, information such as a video signal, a video file, and content data acquired or generated by the video recording / playback device 1 by recording or playback, and the signal or data of the displayed video itself. Information including the above is collectively referred to as video information. On the other hand, information related to control of operations such as recording and playback of the video recording / playback device 1 is referred to as control information.

図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 / playback device 1 according to the first embodiment. The video recording / playback device 1 includes a CPU (Central Processing Unit), a memory, an auxiliary storage device, and the like connected by a bus, and executes a video recording / playback program. The video recording / playback device 1 functions as a device including a main control unit 11, a recording / output unit 12 (an example of a recording unit), a storage unit 13, a playback unit 14, and a transmission unit 15 by executing a video recording / playback program. Even if all or part of each function of the video recording / playback device 1 is realized by using hardware such as ASIC (Application Specific Integrated Circuit), PLD (Programmable Logic Device), FPGA (Field Programmable Gate Array), etc. Good. The video recording / playback program may be recorded on a computer-readable recording medium. The computer-readable recording medium is, for example, a flexible disk, a magneto-optical disk, a portable medium such as a ROM or a CD-ROM, or a storage device such as a hard disk built in a computer system. The video recording / playback program may be transmitted via a telecommunication line.

主制御部11は、収録出力部12、記憶部13及び再生部14との間で制御情報を送受信することによって、映像収録再生装置1におけるコンテンツの収録及び再生に関する動作を制御する。図2では、破線矢印が制御情報の入出力を表し、実線矢印は映像情報の入出力を表している。 The main control unit 11 controls operations related to content recording and playback in the video recording / playback device 1 by transmitting / receiving control information between the recording / output unit 12, the storage unit 13, and the playback unit 14. In FIG. 2, the broken line arrow represents the input / output of control information, and the solid line arrow represents the input / output of video information.

収録出力部12は、外部機器との間で映像情報の入出力を行う。具体的には、収録出力部12は、コンテンツの収録時において、映像取得装置2又は再生装置3から出力される映像信号を自装置に入力する。なお、映像ファイルでの収録を行う場合、収録出力部12は、ノンリニア編集機4から映像ファイルを取得する。収録出力部12は、自装置に入力された映像信号をMPEG−2(Moving Picture Experts Group Phase 2)等の符号化方式を用いて符号化及び圧縮し、映像データに変換する。また、収録出力部12は、取得された映像ファイルや映像データに対してMXF(Material Exchange Format)解析などの処理を行うことにより、映像ファイルや映像データをコンテンツデータとして扱うためのフォーマットに変換する。 The recording output unit 12 inputs / outputs video information to / from an external device. Specifically, the recording output unit 12 inputs the video signal output from the video acquisition device 2 or the playback device 3 to its own device when the content is recorded. When recording as a video file, the recording output unit 12 acquires the video file from the non-linear editing machine 4. The recording output unit 12 encodes and compresses the video signal input to its own device using a coding method such as MPEG-2 (Moving Picture Experts Group Phase 2), and converts it into video data. Further, the recording output unit 12 converts the acquired video file or video data into a format for handling the video file or video data as content data by performing processing such as MXF (Material Exchange Format) analysis. ..

収録出力部12は、このようにして生成されたコンテンツデータを、伝送部15を介して記憶部13に出力する。また、収録出力部12は、ノンリニア編集機4や操作端末5などの外部機器から要求されたコンテンツデータを、伝送部15を介して記憶部13から取得する。収録出力部12は、取得したコンテンツデータをファイル形式に変換し、要求元の外部機器に送信する。以下、コンテンツデータを、外部機器に対してファイル形式で送信することをファイル出力と称する。 The recording output unit 12 outputs the content data thus generated to the storage unit 13 via the transmission unit 15. Further, the recording output unit 12 acquires the content data requested from an external device such as the non-linear editing machine 4 or the operation terminal 5 from the storage unit 13 via the transmission unit 15. The recording output unit 12 converts the acquired content data into a file format and transmits the acquired content data to the requesting external device. Hereinafter, transmitting the content data to an external device in a file format is referred to as file output.

記憶部13は、磁気ハードディスク装置や半導体記憶装置などの記憶装置を用いて構成される。記憶部13は、収録出力部12から出力されたコンテンツデータを記憶するとともに、要求されたコンテンツデータを読み出し、読み出されたコンテンツデータを、伝送部15を介して収録出力部12や再生部14等の他の機能部に出力する。 The storage unit 13 is configured by using a storage device such as a magnetic hard disk device or a semiconductor storage device. The storage unit 13 stores the content data output from the recording output unit 12, reads the requested content data, and reads the read content data to the recording output unit 12 and the playback unit 14 via the transmission unit 15. Output to other functional parts such as.

再生部14は、伝送部15を介して、記憶部13から再生対象のコンテンツデータを取得する。再生部14は、取得されたコンテンツデータを符号化方式に応じた方法で再生することにより、映像信号を生成する。再生部14は、生成した映像信号を映像確認用モニタ6等の表示装置や放送設備7にストリーム出力する。 The reproduction unit 14 acquires the content data to be reproduced from the storage unit 13 via the transmission unit 15. The reproduction unit 14 generates a video signal by reproducing the acquired content data by a method according to the coding method. The playback unit 14 streams the generated video signal to a display device such as a video confirmation monitor 6 or a broadcasting facility 7.

伝送部15は、収録出力部12、記憶部13及び再生部14との間で映像情報の転送処理を行う。具体的には、伝送部15は、コンテンツの収録時においては、収録出力部12から出力されるコンテンツデータを記憶部13に出力し、コンテンツの再生時においては、記憶部13から出力されるコンテンツデータを再生部14に出力する。 The transmission unit 15 performs video information transfer processing between the recording output unit 12, the storage unit 13, and the reproduction unit 14. Specifically, the transmission unit 15 outputs the content data output from the recording output unit 12 to the storage unit 13 when the content is recorded, and the content output from the storage unit 13 when the content is reproduced. The data is output to the reproduction unit 14.

なお、図2において、収録出力部12、記憶部13、再生部14及び映像情報の入出力を表す矢印が複数表示されているのは、映像収録再生装置1が、複数のコンテンツの収録及び再生を並行して行うことが可能であることを表している。以下では、映像収録再生装置1がコンテンツの収録及び再生を行う単位をチャネルと称する。 In FIG. 2, a plurality of arrows indicating the recording output unit 12, the storage unit 13, the playback unit 14, and the input / output of video information are displayed because the video recording / playback device 1 records and reproduces a plurality of contents. Indicates that it is possible to perform in parallel. Hereinafter, the unit in which the video recording / playback device 1 records and reproduces the content is referred to as a channel.

図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 storage unit 13 included in the video recording / playback device 1 according to the first embodiment. In FIG. 3, the broken line arrow mainly represents the input / output of video information, and the solid line arrow mainly represents the input / output of control information. The storage unit 13 includes one or more memory units 10 and a memory controller 20. In FIG. 3, memory units 10-1 to 10-3 are shown as an example of one or more memory units 10. Under the control of the main control unit 11, the memory controller 20 realizes content recording by storing video information output from the recording output unit 12 in one or more memory units 10, and one or more memory units 10 The content is reproduced by acquiring the content data from the above and outputting it to the reproduction unit 14.

メモリユニット10は、メモリ部110、コンテンツ制御部120及びメモリ管理部130を備える。メモリ部110は一以上のNANDメモリ111を備えて構成され、NANDメモリ上に、コンテンツデータを記憶するコンテンツデータ記憶部112を持つ。図3には、一以上のNANDメモリ111の一例として、NANDメモリ111−1〜111−3が示されている。 The memory unit 10 includes a memory unit 110, a content control unit 120, and a memory management unit 130. The memory unit 110 is configured to include one or more NAND memories 111, and has a content data storage unit 112 that stores content data on the NAND memory. In FIG. 3, NAND memories 111-1 to 111-3 are shown as an example of one or more NAND memories 111.

また、メモリ部110は、コンテンツ管理情報を記憶するコンテンツ管理情報記憶部113を持つ。コンテンツ管理情報は、収録されたコンテンツデータの管理に必要な情報である。具体的には、コンテンツ管理情報には、コンテンツデータと、コンテンツデータを記憶するメモリブロック(又はページ)との対応関係や、収録されたコンテンツの属性(例えば、再生時間や符号化方式、タイトルなどの情報)等の情報(以下「コンテンツ情報」という。)が含まれる。例えば、これらのコンテンツ情報はコンテンツ収録時のMFX解析によって取得される。取得されたコンテンツ情報は制御情報としてコンテンツ制御部120に送信され、コンテンツ管理情報の生成に用いられる。このように生成されるコンテンツ管理情報は、コンテンツ再生時において、再生対象のコンテンツデータを読み出す際に参照されるとともに、コンテンツの収録や削除に応じて適宜更新される。なお、コンテンツ管理情報記憶部113は、メモリ部110が有するNANDメモリを用いて構成されてもよいし、NANDメモリ以外の記憶媒体を用いて構成されてもよい。 Further, the memory unit 110 has a content management information storage unit 113 that stores the content management information. The content management information is information necessary for managing the recorded content data. Specifically, the content management information includes the correspondence between the content data and the memory block (or page) that stores the content data, the attributes of the recorded content (for example, playback time, coding method, title, etc.). Information) and other information (hereinafter referred to as "content information") are included. For example, these content information is acquired by MFX analysis at the time of content recording. The acquired content information is transmitted to the content control unit 120 as control information, and is used for generating the content management information. The content management information generated in this way is referred to when the content data to be reproduced is read at the time of content reproduction, and is appropriately updated according to the recording or deletion of the content. The content management information storage unit 113 may be configured by using the NAND memory included in the memory unit 110, or may be configured by using a storage medium other than the NAND memory.

コンテンツ制御部120は、メモリコントローラ20とメモリ部110との間で、コンテンツの収録及び再生に関する情報の入出力を制御する。具体的には、コンテンツ制御部120は、コンテンツデータ入出力部121及びコンテンツ管理部122を備える。コンテンツデータ入出力部121は、メモリコントローラ20とコンテンツデータ記憶部112との間で、コンテンツデータの入出力を行う。コンテンツ管理部122は、メモリコントローラ20とコンテンツ管理情報記憶部113との間で、コンテンツ管理情報の入出力を行う。コンテンツ管理部122は、コンテンツ管理情報に基づいて、コンテンツデータ入出力部121のコンテンツデータの入出力動作を制御する。 The content control unit 120 controls the input / output of information related to the recording and reproduction of the content between the memory controller 20 and the memory unit 110. Specifically, the content control unit 120 includes a content data input / output unit 121 and a content management unit 122. The content data input / output unit 121 inputs / outputs content data between the memory controller 20 and the content data storage unit 112. The content management unit 122 inputs and outputs content management information between the memory controller 20 and the content management information storage unit 113. The content management unit 122 controls the content data input / output operation of the content data input / output unit 121 based on the content management information.

例えば、コンテンツ管理部122は、コンテンツの再生時において、メモリコントローラ20から通知される収録済みのコンテンツについてのコンテンツ管理情報をコンテンツ管理情報記憶部113から取得する。コンテンツ管理部122は、取得したコンテンツ管理情報に基づいて再生対象のコンテンツデータを識別し、コンテンツ管理情報が示す記憶領域から再生対象のコンテンツデータが読み出されるようにコンテンツデータ入出力部121を制御する。また、コンテンツ管理部122は、必要に応じてコンテンツデータの削除や、削除済みとしてマークされているデータを保持するメモリブロックに対するデータの消去処理等を行うことによりNANDメモリの空き領域を確保する。 For example, the content management unit 122 acquires the content management information about the recorded content notified from the memory controller 20 from the content management information storage unit 113 at the time of reproducing the content. The content management unit 122 identifies the content data to be reproduced based on the acquired content management information, and controls the content data input / output unit 121 so that the content data to be reproduced is read from the storage area indicated by the content management information. .. Further, the content management unit 122 secures a free area of the NAND memory by deleting the content data and erasing the data for the memory block holding the data marked as deleted as necessary.

メモリ管理部130は、コンテンツデータ入出力部121がコンテンツデータ記憶部112に対して行うデータの書き込み、読み出し及び消去等の各種処理(以下、これらの処理を総称して「アクセス」という。)に要する時間(以下「処理時間」という。)を監視し、各種アクセスに要した処理時間に基づいて、NANDメモリが有するメモリブロックを正常ブロック又は不良ブロックのいずれかに分類して管理する。コンテンツデータ入出力部121は正常ブロックに対してのみメモリアクセスが可能なように構成される。そのため、不良ブロックとして管理されるメモリブロックはメモリアクセスの対象外として管理される。 The memory management unit 130 performs various processes such as writing, reading, and erasing data performed by the content data input / output unit 121 on the content data storage unit 112 (hereinafter, these processes are collectively referred to as "access"). The required time (hereinafter referred to as "processing time") is monitored, and the memory block of the NAND memory is classified into either a normal block or a bad block and managed based on the processing time required for various accesses. The content data input / output unit 121 is configured so that memory access is possible only to a normal block. Therefore, the memory block managed as a bad block is managed as a non-target of memory access.

メモリコントローラ20は、メモリユニット10に対する情報の入出力を制御する。具体的には、メモリコントローラ20は、映像情報入出力部21及びユニット制御部22を備える。映像情報入出力部21は、伝送部15を介して収録出力部12及び再生部14との間でコンテンツデータの入出力を行う。コンテンツ収録時においては、映像情報入出力部21は収録出力部12からコンテンツデータを取得し、取得したコンテンツデータをメモリユニット10に出力する。一方、コンテンツ再生時においては、映像情報入出力部21はメモリユニット10から読み出されたコンテンツデータを再生部14に出力する。 The memory controller 20 controls the input / output of information to the memory unit 10. Specifically, the memory controller 20 includes a video information input / output unit 21 and a unit control unit 22. The video information input / output unit 21 inputs / outputs content data between the recording / output unit 12 and the playback unit 14 via the transmission unit 15. At the time of content recording, the video information input / output unit 21 acquires content data from the recording output unit 12 and outputs the acquired content data to the memory unit 10. On the other hand, at the time of content reproduction, the video information input / output unit 21 outputs the content data read from the memory unit 10 to the reproduction unit 14.

ユニット制御部22は、一以上のメモリユニット10に対する情報の入出力を制御する。ユニット制御部22は、主制御部11との間で制御情報を送受信することにより、コンテンツの収録又は再生に関する記憶部13の動作を、記憶部13以外の各機能部と連携して動作させることができる。コンテンツ収録時においては、ユニット制御部22は収録出力部12から取得されるコンテンツデータがメモリユニット10に出力されるように映像情報入出力部21を制御するとともに、コンテンツ管理情報の生成に必要な収録対象のコンテンツ情報を制御情報に含めてメモリユニット10に通知する。一方、コンテンツ再生時においては、ユニット制御部22は再生対象のコンテンツをメモリユニット10に通知する。 The unit control unit 22 controls the input / output of information to one or more memory units 10. By transmitting and receiving control information to and from the main control unit 11, the unit control unit 22 operates the operation of the storage unit 13 related to content recording or reproduction in cooperation with each functional unit other than the storage unit 13. Can be done. At the time of content recording, the unit control unit 22 controls the video information input / output unit 21 so that the content data acquired from the recording output unit 12 is output to the memory unit 10, and is necessary for generating the content management information. The content information to be recorded is included in the control information and notified to the memory unit 10. On the other hand, at the time of content reproduction, the unit control unit 22 notifies the memory unit 10 of the content to be reproduced.

図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 memory management unit 130 according to the first embodiment. The memory management unit 130 includes a storage unit 131, an access information acquisition unit 132, and an access monitoring unit 133. The storage unit 131 is configured by using a storage device such as a magnetic hard disk device or a semiconductor storage device. The storage unit 131 stores access information and setting information. The access information is information related to various accesses generated to the NAND memory. Further, the setting information is information indicating a setting for determining each block of the NAND memory as either a normal block or a bad block based on the processing time required for various accesses. For example, the setting information includes not only the processing time threshold value for each access type, but also various conditions and set values used for adjusting these threshold values. The setting information may be stored in the storage unit 131 in advance.

図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 storage unit 131 as the access information table 31 shown in FIG. The access information table 31 holds a value of the number of consecutive normal times indicating the number of times that normal access is continuously executed for each access type of write, read, and erase. The value of the number of consecutive normal times is retained for each memory block. The value of the number of consecutive normal times is counted up by 1 each time the generated access is determined to be normal, and when the generated access is determined to be abnormal, or the number of consecutive normal times reaches a predetermined threshold value. If it is initialized to zero.

また、例えば設定情報は、図5に示される設定情報テーブル32として記憶部131に記憶される。設定情報テーブル32は、書き込み、読み出し及び消去のアクセス種別ごとに、処理時間閾値、連続回数閾値、減算値及び加算値の各値を保持する。処理時間閾値は、発生したアクセスの正常性を判定するための閾値である。具体的には、処理時間閾値より短い処理時間で終了したアクセスは正常と判定され、処理時間閾値までに終了しなかったアクセスは異常と判定される。 Further, for example, the setting information is stored in the storage unit 131 as the setting information table 32 shown in FIG. The setting information table 32 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 of write, read, and erase. The processing time threshold is a threshold for determining the normality of the access that has occurred. Specifically, an access that is completed in a processing time shorter than the processing time threshold is determined to be normal, and an access that is not completed by the processing time threshold is determined to be abnormal.

連続回数閾値は、処理時間閾値を調整する必要性の有無を、連続する複数回のアクセスの正常性に基づいて判定する際に用いられる閾値である。具体的には、連続正常回数が連続回数閾値以上となった場合に、処理時間閾値の調整が必要であると判定される。減算値は処理時間閾値の短縮に用いられ、加算値は処理時間閾値の延長に用いられる。 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 information acquisition unit 132 acquires access information from the content data input / output unit 121. For example, access information is transmitted as control information. In this case, the access information acquisition unit 132 can acquire the access information by acquiring the control information from the content data input / output unit 121. The access information acquisition unit 132 outputs the acquired access information to the access monitoring unit 133.

アクセス監視部133は、各種アクセスの処理時間を、アクセス種別に応じた処理時間の閾値と比較することにより、アクセス対象のメモリブロックが正常ブロックであるか又は不良ブロックであるかの判定(以下「ブロック判定」という。)を行う。アクセス監視部133は、判定結果に基づいてメモリブロックの管理情報を更新する。このような管理情報の更新により、不良ブロックは、以降、使用できないメモリブロックとして管理される。 The access monitoring unit 133 determines whether the memory block to be accessed is a normal block or a bad block by comparing the processing time of various accesses with the threshold value of the processing time according to the access type (hereinafter, "" "Block judgment"). The access monitoring unit 133 updates the management information of the memory block based on the determination result. By updating the management information in this way, the defective block is managed as a memory block that cannot be used thereafter.

このようなメモリブロックの管理を行う一方で、アクセス監視部133は、ブロック判定の判定基準となる処理時間の閾値を、各種アクセスの状況に応じて調整する機能を有する。アクセス監視部133が、各種アクセスの状況に応じて処理時間の閾値を調整することにより、映像収録再生装置1はNANDメモリの使用効率の低下を抑制することができる。 While managing such memory blocks, the access monitoring unit 133 has a function of adjusting the threshold value of the processing time, which is a determination standard for block determination, according to various access situations. The access monitoring unit 133 adjusts the threshold value of the processing time according to various access situations, so that the video recording / playback device 1 can suppress a decrease in the usage efficiency of the NAND memory.

図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 memory management unit 130 adjusts the processing time threshold value in the first embodiment. First, the content data input / output unit 121 executes a process (access) of writing, reading, or erasing data to the content data storage unit 112 (step S101). The access monitoring unit 133 determines whether or not the access generated in step S101 is normally executed (step S102).

具体的には、アクセス監視部133は、当該アクセス自体が正常に完了しなかった場合、又は当該アクセスが処理時間閾値以上の処理時間をかけて正常に完了した場合には、当該アクセスが正常に実行されなかったと判定する。この場合(ステップS102−NO)、アクセス監視部133は処理時間閾値の調整を行うことなく処理を終了する。一方、アクセス監視部133は、発生したアクセスが、処理時間閾値よりも短い処理時間で正常に完了した場合に当該アクセスが正常に実行されたと判定する。この場合(ステップS102−YES)、アクセス監視部133は連続正常回数をインクリメントする(ステップS103)。例えば図5に示されるように、書き込み、読み出し及び消去のそれぞれに対応する現在の連続正常回数がC、C及びCで表される場合、ステップS103のインクリメントは次の式(1)〜式(3)によって表される。 Specifically, the access monitoring unit 133 normally completes the access when the access itself is not completed normally, or when the access is normally completed over a processing time equal to or longer than the processing time threshold value. Judge that it was not executed. In this case (step S102-NO), the access monitoring unit 133 ends the process without adjusting the processing time threshold. On the other hand, the access monitoring unit 133 determines that the access is normally executed when the generated access is normally completed in a processing time shorter than the processing time threshold value. In this case (step S102-YES), the access monitoring unit 133 increments the number of consecutive normal times (step S103). For example, as shown in FIG. 5, when the current number of consecutive normal times corresponding to each of writing, reading, and erasing is represented by C W , CR, and CE , the increment in step S103 is expressed by the following equation (1). It is expressed by the formula (3).

Figure 0006847635
Figure 0006847635

続いて、アクセス監視部133はインクリメント後の連続正常回数が連続回数閾値以上であるか否かを判定する(ステップS104)。例えば図5に示されるように、書き込み、読み出し及び消去のそれぞれに対応する連続回数閾値がNWC、NRC及びNECで表される場合、ステップS104の判定式は次の式(4)〜式(6)によって表される。 Subsequently, the access monitoring unit 133 determines whether or not the number of consecutive normal times after incrementing is equal to or greater than the threshold number of consecutive times (step S104). For example, as shown in FIG. 5, the write, when the continuous frequency threshold corresponding to each of the read and erase are represented by N WC, N RC and N EC, determination expression following expression (4) in steps S104 ~ It is represented by the equation (6).

Figure 0006847635
Figure 0006847635

連続正常回数が連続回数閾値未満である場合(ステップ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 access monitoring unit 133 ends the process without adjusting the processing time threshold value. On the other hand, when the continuous normal number of times is equal to or greater than the continuous number of times threshold value (step S104-YES), the access monitoring unit 133 shortens the processing time threshold value by the subtraction value (step S105). For example, as shown in FIG. 5, when the subtraction values corresponding to each of writing, reading, and erasing are represented by t Wd , t Rd, and t Ed , the reduction of the processing time threshold value is expressed by the following equations (7) to (7). It is represented by (9).

Figure 0006847635
Figure 0006847635

アクセス監視部133は、処理時間閾値を短縮すると、連続正常回数をゼロに初期化する(ステップS106)。この連続正常回数の初期化は次の式(10)〜式(12)のように表される。 When the processing time threshold value is shortened, the access monitoring unit 133 initializes the number of continuous normal times to zero (step S106). The initialization of the number of consecutive normal times is expressed by the following equations (10) to (12).

Figure 0006847635
Figure 0006847635

図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 memory management unit 130 adjusts the processing time threshold value in the first embodiment. First, the content data input / output unit 121 executes a process (access) of writing, reading, or erasing data to the content data storage unit 112 (step S201). The access monitoring unit 133 determines whether or not the access generated in step S201 has been normally executed (step S202).

発生したアクセスが正常に実行されたと判定された場合(ステップ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 access monitoring unit 133 ends the process without adjusting the processing time threshold value. On the other hand, when it is determined that the generated access is not normally executed (step S202-NO), the access monitoring unit 133 extends the processing time threshold value by the added value (step S203). For example, as shown in FIG. 5, when the added values corresponding to each of writing, reading, and erasing are represented by t Wa , t Ra, and t Ea , the extension of the processing time threshold value is expressed by the following equations (13) to (13) to (2). It is represented by 15).

Figure 0006847635
Figure 0006847635

なお、図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 memory management unit 130 adjusts the processing time threshold value in the first embodiment. In FIG. 8, the same processing as in FIGS. 6 and 7 is designated by the same reference numerals, and the description thereof will be omitted. Before shortening the processing time threshold value in step S105, the access monitoring unit 133 determines whether or not the processing time threshold value obtained as a result of the adjustment (shortening) is equal to or greater than a predetermined lower limit value (predetermined value). Step S301). When the processing time threshold value obtained as a result of the adjustment (shortening) becomes equal to or greater than the lower limit value (step S301-YES), the access monitoring unit 133 proceeds to step S105 to shorten the processing time threshold value. On the other hand, when the processing time threshold value obtained as a result of the adjustment (shortening) does not exceed the lower limit value (step S301-NO), the access monitoring unit 133 ends the processing without adjusting the processing time threshold value.

同様に、アクセス監視部133は、ステップS302で処理時間閾値の延長を行う前に、調整(延長)の結果として得られる処理時間閾値が予め定められた所定の上限値以下となるか否かを判定する(ステップS302)。アクセス監視部133は、調整(延長)の結果として得られる処理時間閾値が上限値以下となる場合(ステップS302−YES)にはステップS203に進み処理時間閾値の延長を実行する。一方、調整(延長)の結果として得られる処理時間閾値が上限値以下とならない場合(ステップS302−NO)、アクセス監視部133は処理時間閾値の調整を行うことなく処理を終了する。 Similarly, before extending the processing time threshold value in step S302, the access monitoring unit 133 determines whether or not the processing time threshold value obtained as a result of the adjustment (extension) is equal to or less than a predetermined upper limit value set in advance. Determine (step S302). When the processing time threshold value obtained as a result of the adjustment (extension) becomes equal to or less than the upper limit value (step S302-YES), the access monitoring unit 133 proceeds to step S203 and executes the extension of the processing time threshold value. On the other hand, when the processing time threshold value obtained as a result of the adjustment (extension) does not fall below the upper limit value (step S302-NO), the access monitoring unit 133 ends the processing without adjusting the processing time threshold value.

図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 memory management unit 130 in the first embodiment. The setting information table 32a is a table that holds the setting information in the third operation example. The setting information table 32a is different from the setting information table 32 in that it further holds a lower limit value and an upper limit value for the processing time threshold value for each write, read, and erase access type. For example, as shown in FIG. 9, the writing, if the lower limit value of the processing time threshold corresponding to each of the read and erase are represented by T WL, T RL and T EL, determining the following expression in step S301 (16 ) ~ Equation (18).

Figure 0006847635
Figure 0006847635

また、例えば図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).

Figure 0006847635
Figure 0006847635

図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 memory management unit 130 adjusts the processing time threshold value in the first embodiment. In FIG. 10, the same processes as those in FIGS. 6, 7, and 8 are designated by the same reference numerals, and the description thereof will be omitted. Further, FIG. 11 is a diagram showing a specific example of the setting information in the fourth operation example of the memory management unit 130 in the first embodiment. The setting information table 32b is a table that holds the setting information in the fourth operation example. The setting information table 32b is different from the setting information table 32 in that it further holds each value of the addition value identifier, the first addition value, and the second addition value for each write, read, and erase access type.

アクセス監視部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 access monitoring unit 133 determines which additional value should be used for extending the processing time threshold value. For example, in the operation example of FIG. 10, the first added value and the second added value can be used, and the second added value is assumed to be a value larger than the first added value. In this case, the access monitoring unit 133 identifies which of the first added value and the second added value is the added value to be used by referring to the added value identifier (step S401). .. The added value identifier is information indicating an added value to be used next time. The initial value of the added value identifier indicates the first added value.

使用すべき加算値が第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 access monitoring unit 133 extends the processing time threshold value by the first addition value (step S402). Then, the access monitoring unit 133 sets the added value identifier so that the second added value is shown as the added value to be used next time (step S403).

ステップ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 access monitoring unit 133 extends the processing time threshold value by the second added value (step S404).

一方、連続正常回数が連続回数閾値以上である場合(ステップ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 access monitoring unit 133 shortens the processing time threshold value by the subtraction value (step S105) and sets the first addition value to be used next time. The added value identifier is set so that the added value of is indicated (step S405).

図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 memory management unit 130 adjusts the processing time threshold value in the first embodiment. In FIG. 12, the same processes as those in FIGS. 6 to 8 and 10 are designated by the same reference numerals, and the description thereof will be omitted. Further, FIG. 13 is a diagram showing specific examples of access information and setting information in the fifth operation example of the memory management unit 130 in the first embodiment. The access information table 31c is a table that holds the access information in the fifth operation example. The access information table 31c is different from the access information table 31 in that the value of the number of consecutive normal times for each access type (write, read, and erase) is held for each memory block of the NAND memory. The access information table 31c is updated at any time according to the access status of each memory block.

設定情報テーブル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 access monitoring unit 133 receives the access monitoring unit 133. The memory block in which the access has occurred (hereinafter referred to as “target block”) is identified (step S501). The access monitoring unit 133 acquires the block ID of the target block by identifying the target block. The access monitoring unit 133 refers to the access information table 31c and the setting information table 32c, and acquires the access information and the setting information corresponding to the acquired block ID. The access monitoring unit 133 adjusts the processing time threshold value for each access type of the target block based on the access information and the setting information of the target block acquired in this way.

なお、処理時間閾値の調整は、上記のようにアクセス対象となるブロックごとに調整されてもよいし、ストライピング等の並列処理が実行される単位ごとに調整されてもよい。例えば、処理時間閾値の調整は、同じストライピンググループを構成する記憶媒体ごとに調整されてもよいし、同じストライピンググループを構成する記憶媒体に対して並列にアクセス処理を行うコントローラごとに調整されてもよい。 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 / playback device 1 of the first embodiment configured in this way sets the processing time threshold value used for determining whether the memory block is a normal block or a bad block to the processing time for each access type. A memory management unit 130 that adjusts accordingly is provided. By providing such a configuration, the video recording / playback device 1 of the first embodiment can suppress a decrease in the usage efficiency of the NAND memory.

(第2の実施形態)
第2の実施形態の映像収録再生装置1は、記憶部13がメモリ管理部130に代えてメモリ管理部130aを備える点で第1の実施形態の映像収録再生装置1と異なる。
(Second embodiment)
The video recording / playback device 1 of the second embodiment is different from the video recording / playback device 1 of the first embodiment in that the storage unit 13 includes the memory management unit 130a instead of the memory management unit 130.

図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 memory management unit 130a in the second embodiment. The memory management unit 130a is different from the memory management unit 130 in the first embodiment in that the storage unit 131a is provided in place of the storage unit 131 and the access monitoring unit 133a is provided in place of the access monitoring unit 133.

記憶部131aは、映像収録再生装置1が行うコンテンツの収録や再生、削除によって発生したアクセス種別ごとの処理数(以下「アクセス処理数」という。)を示す情報をアクセス情報として記憶する。ここでいう処理数とは、具体的には、発生した書き込み処理の回数、読み出し処理の回数又は消去処理の回数を意味する。また、記憶部131aは、アクセス種別ごとの処理時間閾値を示す情報を設定情報として記憶する。 The storage unit 131a stores information indicating the number of processes for each access type (hereinafter referred to as “access process number”) generated by the recording, playback, and deletion of the content performed by the video recording / playback device 1 as access information. Specifically, the number of processes referred to here means the number of times of write processing, the number of read processes, or the number of erase processes that have occurred. Further, the storage unit 131a stores information indicating the processing time threshold value for each access type as setting information.

図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 storage unit 131a as the access information table 31d shown in FIG. The access information table 31d holds the value of the number of access processes generated for each write, read, and erase access type. Further, for example, the setting information is stored in the storage unit 131a as the setting information table 32d shown in FIG. The setting information table 32d holds the value of the processing time threshold value for each access type of writing, reading, and erasing.

図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 memory management unit 130a adjusts the processing time threshold value in the second embodiment. First, the access monitoring unit 133a acquires the processing number (access processing number) of each access to be processed in the next control cycle (step S601). Here, in the video recording / playback device 1 that operates in synchronization with the control cycle of the APC (33 msec per frame), the type of processing (recording, playback) to be executed at least in the next control cycle in the current control cycle. Or deleted) and the amount has already been determined. Therefore, the access monitoring unit 133a can estimate the number of access processes processed in the next control cycle based on the information about the processes to be executed in the next control cycle.

続いて、アクセス監視部133aは、取得されたアクセス処理数(以下「必要数」という。)分の各種アクセスをAPCの制御周期に同期して実行可能であるか否かを判定する(ステップS602)。具体的には、アクセス監視部133aは、必要数分の各種アクセスが次の制御周期のうちに完了するか否かを判定する。例えば図15に示されるように、書き込み、読み出し及び消去のそれぞれに対応するアクセス処理数がP、P及びPで表される場合、ステップS602の判定は次の式(22)に基づいて行われる。 Subsequently, the access monitoring unit 133a determines whether or not various accesses corresponding to the acquired number of access processes (hereinafter referred to as “necessary number”) can be executed in synchronization with the control cycle of the APC (step S602). ). Specifically, the access monitoring unit 133a determines whether or not the required number of various accesses are completed within the next control cycle. For example, as shown in FIG. 15 on the basis, writing, reading and to the corresponding access processing number P W erasing, if represented by P R and P E, the determination in step S602 to the following equation (22) Is done.

Figure 0006847635
Figure 0006847635

アクセス監視部133aは、式(22)が真である場合には必要数分の各種アクセスが次の制御周期のうちに完了すると判定し、式(22)が偽である場合には必要数分の各種アクセスが次の制御周期のうちに完了しないと判定する。 The access monitoring unit 133a determines that the required number of accesses will be completed within the next control cycle when the equation (22) is true, and the required number of accesses when the equation (22) is false. It is determined that the various accesses of the above are not completed within the next control cycle.

必要数分の各種アクセスが次の制御周期のうちに完了すると判定された場合(ステップ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 access monitoring unit 133a ends the process without adjusting the processing time threshold value. On the other hand, when it is determined that the required number of various accesses are not completed within the next control cycle (step S602-NO), the access monitoring unit 133a adjusts the processing time threshold value according to the ratio of the number of access processes. (Step S603). For example, the adjustment of the processing time threshold value in step S603 is performed based on the following equations (23) to (25).

Figure 0006847635
Figure 0006847635

即ち、この場合、アクセス監視部133aは、必要数分の各種アクセスの処理時間の総和が1周期分の時間となるように各アクセス種別の処理時間閾値を調整する。 That is, in this case, the access monitoring unit 133a adjusts the processing time threshold value of each access type so that the total processing time of various accesses for the required number is the time for one cycle.

なお、ステップS603における処理時間閾値の調整は次の式(26)〜式(28)に基づいて行われてもよい。 The processing time threshold value in step S603 may be adjusted based on the following equations (26) to (28).

Figure 0006847635
Figure 0006847635

即ち、この場合、アクセス監視部133aは、読み出し処理についての処理時間閾値を変更しない。アクセス監視部133aは、必要数分の書き込み及び消去の処理時間の総和が、1周期分の時間から読み出しの処理時間を引いた残りの時間となるように、書き込み及び消去の処理時間閾値を調整する。このような調整方法は、コンテンツの再生(読み出し)により多くのリソースを確保する場合に用いることができる。 That is, in this case, the access monitoring unit 133a does not change the processing time threshold value for the reading process. The access monitoring unit 133a adjusts the write / erase processing time threshold so that the total of the required number of write / erase processing times is the remaining time obtained by subtracting the read processing time from the time for one cycle. To do. Such an adjustment method can be used when a large amount of resources are secured for playing (reading) the content.

また、ステップ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).

Figure 0006847635
Figure 0006847635

即ち、この場合、アクセス監視部133aは、書き込み処理及び読み出し処理についての処理時間閾値を変更しない。アクセス監視部133aは、必要数分の消去の処理時間の総和が、1周期分の時間から書き込み及び読み出しの処理時間を引いた残りの時間となるように、消去の処理時間閾値を調整する。このような調整方法は、コンテンツの収録(書き込み)及び再生(読み出し)により多くのリソースを確保する場合に用いることができる。 That is, in this case, the access monitoring unit 133a does not change the processing time threshold value for the writing process and the reading process. The access monitoring unit 133a adjusts the erasing processing time threshold so that the total of the required number of erasing processing times is the remaining time obtained by subtracting the writing and reading processing times from the time for one cycle. Such an adjustment method can be used when a large amount of resources are secured for recording (writing) and playing (reading) content.

このように構成された第2の実施形態の映像収録再生装置1は、メモリブロックへの各種アクセスに係る処理時間閾値を、次の制御周期において所定量のアクセスが制御周期内に完了するように調整するメモリ管理部130aを備える。このような構成を備えることにより、第2の実施形態の映像収録再生装置1は、コンテンツの収録又は再生の信頼性を維持しつつ、NANDメモリの使用効率の低下を抑制することができる。 The video recording / playback device 1 of the second embodiment configured in this way sets the processing time threshold value related to various accesses to the memory block so that a predetermined amount of access is completed within the control cycle in the next control cycle. A memory management unit 130a for adjustment is provided. By providing such a configuration, the video recording / playback device 1 of the second embodiment can suppress a decrease in the usage efficiency of the NAND memory while maintaining the reliability of recording or playback of the content.

以下、上記各実施形態の映像収録再生装置の変形例について説明する。
アクセス監視部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 / playback device 1 can take over the access information or the setting information at the time of the previous operation at the next operation even when the own device is stopped.

アクセス監視部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 / playback device 1 can adjust the processing time threshold value based on the access information or setting information desired by the user.

以上説明した少なくともひとつの実施形態によれば、記憶媒体が有するメモリブロックを、メモリブロックに対する書き込み、読み出し又はデータ消去に要する処理時間に基づいて、正常ブロック又は不良ブロックのいずれかに管理するメモリ管理部であって、メモリブロックが正常ブロックであるか又は不良ブロックであるかの判定に用いられる処理時間閾値を、各処理の処理時間に応じて調整するメモリ管理部を持つことにより、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.
データを記憶する一以上の記憶媒体を備える記憶部と、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 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.
請求項1に記載のメモリ管理装置としてコンピュータを機能させるためのコンピュータプログラム。 A computer program for operating a computer as the memory management device according to claim 1. 請求項7に記載の映像収録再生装置としてコンピュータを機能させるためのコンピュータプログラム。 A computer program for operating a computer as the video recording / playback device according to claim 7.
JP2016221908A 2016-11-14 2016-11-14 Memory management device, video recording / playback device, memory management method, video recording / playback method and computer program Active JP6847635B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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