JP6180271B2 - Video recording apparatus and video recording method - Google Patents

Video recording apparatus and video recording method Download PDF

Info

Publication number
JP6180271B2
JP6180271B2 JP2013211876A JP2013211876A JP6180271B2 JP 6180271 B2 JP6180271 B2 JP 6180271B2 JP 2013211876 A JP2013211876 A JP 2013211876A JP 2013211876 A JP2013211876 A JP 2013211876A JP 6180271 B2 JP6180271 B2 JP 6180271B2
Authority
JP
Japan
Prior art keywords
address
recording
video
compression rate
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013211876A
Other languages
Japanese (ja)
Other versions
JP2015075931A (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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting 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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2013211876A priority Critical patent/JP6180271B2/en
Publication of JP2015075931A publication Critical patent/JP2015075931A/en
Application granted granted Critical
Publication of JP6180271B2 publication Critical patent/JP6180271B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、高精細映像用の映像記録装置及び映像記録方法に関する。   The present invention relates to a video recording apparatus and a video recording method for high-definition video.

近年、HDTV(High Definition Television)よりも更に高精細な、走査線数が2000本超の超高精細映像(4K UHDTV(Ultra High Definition Television))用のカメラが、デジタルシネマ産業又は医療用途等で用いられている。さらに、走査線数が4000本超の超高精細映像(8K UHDTV)用のカメラも、次世代の放送方式として研究されている。
超高精細映像(例えば、8K UHDTV)は、非圧縮のデータレートが24Gbps〜144Gbpsと非常に高いため、画質劣化の少ない圧縮符号化を施し、記録データレートを一定の割合まで抑えて記録する手法が考えられる。
In recent years, cameras for ultra-high-definition video (4K UHDTV (Ultra High Definition Television)) with more than 2000 scanning lines and higher definition than HDTV (High Definition Television) have been used in the digital cinema industry or medical applications. It is used. Furthermore, a camera for ultra-high definition video (8K UHDTV) having more than 4000 scanning lines has been studied as a next-generation broadcasting system.
Ultra high-definition video (for example, 8K UHDTV) has a very high uncompressed data rate of 24 Gbps to 144 Gbps. Therefore, compression encoding with little deterioration in image quality is performed, and the recording data rate is suppressed to a certain ratio. Can be considered.

ところで、近年、高速化及び大容量化が進むNANDフラッシュメモリは、映像のような連続データの書き込みに適した記録素子であり、デジタルカメラ用の記録素子として多用されている。NANDフラッシュメモリで構成される代表的な記録デバイスとしてSSD(Solid State Drive)が挙げられる。   By the way, NAND flash memory, which has recently been increased in speed and capacity, is a recording element suitable for writing continuous data such as video, and is widely used as a recording element for digital cameras. A typical recording device composed of NAND flash memory is SSD (Solid State Drive).

不揮発性の固体メモリであるNANDフラッシュメモリは、書き込みと消去の繰り返しにより記録素子が劣化し、データの信頼性が低下する。NANDフラッシュメモリを用いた記録装置は、劣化した記録素子を、予め用意された代替の記録素子に振り替えることで、データの信頼性を保証している。この記録素子の振り替えは、論理アドレスと物理アドレス(記録素子)との変換テーブルを更新することによって実現される(例えば、特許文献1参照)。   In a NAND flash memory that is a nonvolatile solid-state memory, a recording element deteriorates due to repeated writing and erasing, and data reliability is lowered. A recording apparatus using a NAND flash memory guarantees data reliability by transferring a deteriorated recording element to an alternative recording element prepared in advance. This transfer of recording elements is realized by updating a conversion table between logical addresses and physical addresses (recording elements) (for example, see Patent Document 1).

特開2008−181380号公報JP 2008-181380 A

NANDフラッシュメモリを用いて映像記録用の大容量な記録装置を構成する場合、論理アドレスと物理アドレス(記録素子)とを一対一で変換すると変換テーブルのサイズが大きくなり、記録素子の振り替え等を含む変換テーブルの更新処理の負荷が大きくなっていた。   When a large-capacity recording device for video recording is configured using a NAND flash memory, if the logical address and the physical address (recording element) are converted on a one-to-one basis, the size of the conversion table increases, and the recording element can be transferred. The load of the update process of the conversion table including it became large.

本発明は、アドレス管理の処理負荷を低減できる映像記録装置及び映像記録方法を提供することを目的とする。   An object of the present invention is to provide a video recording apparatus and a video recording method that can reduce the processing load of address management.

本発明に係る映像記録装置は、NANDメモリを記録素子とする映像記録装置であって、前記記録素子に対応する物理アドレスと、論理アドレスとを動的に関連付ける管理テーブルを記憶する記憶部と、前記管理テーブルを管理すると共に、当該管理テーブルに基づいてアドレス変換を行い、指定された前記論理アドレスに関連付けられている物理アドレスの記録素子を制御する制御部と、を備え、前記管理テーブルにおいて、所定の圧縮率で符号化された映像データの1フレームの容量に相当する複数の物理アドレスからなるグループに対して中間アドレスが設けられ、前記制御部は、前記映像データのフレーム単位に前記論理アドレスを割り当て、当該論理アドレスと前記中間アドレスとの関連付けを管理する。   A video recording apparatus according to the present invention is a video recording apparatus having a NAND memory as a recording element, and a storage unit that stores a management table that dynamically associates a physical address corresponding to the recording element with a logical address; A management unit that manages the management table, performs address conversion based on the management table, and controls a recording element of a physical address associated with the designated logical address. An intermediate address is provided for a group of a plurality of physical addresses corresponding to the capacity of one frame of video data encoded at a predetermined compression rate, and the control unit is configured to output the logical address in units of frames of the video data. And the association between the logical address and the intermediate address is managed.

この構成によれば、映像記録装置は、大容量の映像データを記録する場合に、複数の物理アドレスをまとめた中間アドレスを設けることで、管理テーブルにおけるアドレス管理及び更新の負荷を低減できる。さらに、映像記録装置は、1つの中間アドレスに格納するデータサイズを、映像の1フレーム分のデータサイズとすることで、記録素子の利用効率を損なわず、処理負荷を低減できる。   According to this configuration, when recording a large amount of video data, the video recording apparatus can reduce the load of address management and updating in the management table by providing an intermediate address in which a plurality of physical addresses are collected. Furthermore, the video recording apparatus can reduce the processing load without impairing the use efficiency of the recording elements by setting the data size stored in one intermediate address to the data size of one frame of the video.

前記制御部は、前記記録素子の劣化を検出した場合、当該記録素子と対応付けられている中間アドレスと前記論理アドレスとの関連付けを、新たな中間アドレスに振り替えてもよい。   When detecting deterioration of the printing element, the control unit may transfer the association between the intermediate address associated with the printing element and the logical address to a new intermediate address.

この構成によれば、映像記録装置は、記録素子の劣化を検出した場合、この記録素子と対応付けられている中間アドレスへの関連付けを、新たな中間アドレスに振り替えるので、同程度に劣化が進んだ複数ページをまとめて効率的に処理できる。   According to this configuration, when the video recording device detects the deterioration of the recording element, the association with the intermediate address associated with the recording element is transferred to the new intermediate address, so the deterioration progresses to the same extent. Multiple pages can be processed efficiently.

前記制御部は、前記所定の圧縮率よりも高い圧縮率の映像データを記録する場合、複数の論理アドレスに対して1つの中間アドレスを関連付けてもよい。   When recording video data having a compression rate higher than the predetermined compression rate, the control unit may associate one intermediate address with a plurality of logical addresses.

この構成によれば、映像記録装置は、記録する映像データの圧縮率が設計時の所定の圧縮率よりも高く変更された場合、複数の論理アドレスに対して1つの中間アドレスを関連付ける。これにより、映像記録装置は、記録する映像の圧縮率が変更されて1フレーム分のデータサイズが減少した場合にも、記録素子の利用効率を下げることなく映像を記録できる。   According to this configuration, the video recording apparatus associates one intermediate address with a plurality of logical addresses when the compression rate of video data to be recorded is changed to be higher than a predetermined compression rate at the time of design. As a result, the video recording apparatus can record video without reducing the use efficiency of the recording element even when the compression rate of the video to be recorded is changed and the data size for one frame is reduced.

前記制御部は、前記所定の圧縮率よりも低い圧縮率の映像データを記録する場合、フレームを分割し、1つの論理アドレスに対して、当該分割したデータそれぞれを記録する複数の中間アドレスを関連付けてもよい。   When recording video data having a compression rate lower than the predetermined compression rate, the control unit divides a frame and associates a plurality of intermediate addresses for recording the divided data with one logical address. May be.

この構成によれば、映像記録装置は、記録する映像データの圧縮率が設計時の所定の圧縮率よりも低く変更された場合、1つの論理アドレスに対して複数の中間アドレスを関連付ける。これにより、映像記録装置は、記録する映像の圧縮率が変更されて1フレーム分のデータサイズが増加した場合にも、柔軟に対応できる。   According to this configuration, the video recording apparatus associates a plurality of intermediate addresses with one logical address when the compression rate of the video data to be recorded is changed to be lower than the predetermined compression rate at the time of design. As a result, the video recording apparatus can flexibly cope with a case where the data size for one frame increases due to a change in the compression rate of the video to be recorded.

本発明に係る映像記録方法は、NANDメモリを記録素子とする映像記録方法であって、前記記録素子に対応する物理アドレスと、論理アドレスとを動的に関連付ける管理テーブルを記憶する記憶部と、前記管理テーブルを管理すると共に、当該管理テーブルに基づいてアドレス変換を行い、指定された前記論理アドレスに関連付けられている物理アドレスの記録素子を制御する制御部と、を備えたコンピュータが、前記管理テーブルにおいて、所定の圧縮率で符号化された映像データの1フレームの容量に相当する複数の物理アドレスからなるグループに対して中間アドレスを設け、前記映像データのフレーム単位に前記論理アドレスを割り当て、当該論理アドレスと前記中間アドレスとの関連付けを管理する。   A video recording method according to the present invention is a video recording method using a NAND memory as a recording element, and a storage unit that stores a management table that dynamically associates a physical address corresponding to the recording element with a logical address; And a control unit that manages the management table, performs address conversion based on the management table, and controls a recording element having a physical address associated with the designated logical address. In the table, an intermediate address is provided for a group consisting of a plurality of physical addresses corresponding to the capacity of one frame of video data encoded at a predetermined compression rate, and the logical address is assigned to each frame of the video data, The association between the logical address and the intermediate address is managed.

本発明によれば、アドレス管理の処理負荷が低減される。   According to the present invention, the processing load of address management is reduced.

映像記録システムの機能構成を示すブロック図である。It is a block diagram which shows the function structure of a video recording system. 管理テーブル群の一例を示す図である。It is a figure which shows an example of a management table group. アドレス変換管理の第1パターンを示す図である。It is a figure which shows the 1st pattern of address translation management. 第1パターンにおいて、記録素子の劣化が検出された場合の関連付けの更新例を示す図である。FIG. 6 is a diagram illustrating an association update example when deterioration of a printing element is detected in the first pattern. アドレス変換管理の第2パターンを示す図である。It is a figure which shows the 2nd pattern of address translation management. 第2パターンにおいて、記録素子の劣化が検出された場合の関連付けの更新例を示す図である。It is a figure which shows the example of an update of an association when deterioration of a printing element is detected in the 2nd pattern. 圧縮率が2倍に変更された場合のデータ記録状況の第1パターンを示す図である。It is a figure which shows the 1st pattern of the data recording condition when a compression rate is changed into 2 times. 圧縮率が2倍に変更された場合のデータ記録状況の第2パターンを示す図である。It is a figure which shows the 2nd pattern of the data recording condition when a compression rate is changed into 2 times. 圧縮率が1/2倍に変更された場合のデータ記録状況を示す図である。It is a figure which shows the data recording condition when a compression rate is changed into 1/2 time.

以下、本発明の実施形態の一例について説明する。
本実施形態の映像記録システム1は、高精細な(例えば、24Gbps以上の)映像信号、又はその圧縮信号をNANDフラッシュメモリに記録する。例えば、24Gbps(フレーム周波数60Hz)の映像を1/6圧縮すると、1フレーム当たりのデータ量は8333Kbyteになる。このデータに対して、更に音声、字幕、カメラパラメータ、プロキシ画像等のメタデータを付加すると、9000Kbyte程度の容量となり、映像記録システム1は、これらを、映像データとして映像記録装置10により逐次記憶する。本実施形態では、9000Kbyteの映像データを記録する場合を例として説明する。
Hereinafter, an example of an embodiment of the present invention will be described.
The video recording system 1 of the present embodiment records a high-definition video signal (for example, 24 Gbps or more) or a compressed signal thereof in a NAND flash memory. For example, when a video of 24 Gbps (frame frequency 60 Hz) is compressed by 1/6, the data amount per frame becomes 8333 Kbytes. If metadata such as audio, subtitles, camera parameters, and proxy images is added to this data, the capacity becomes about 9000 Kbytes. The video recording system 1 sequentially stores these as video data by the video recording device 10. . In the present embodiment, a case where 9000 Kbytes of video data is recorded will be described as an example.

図1は、映像記録システム1の機能構成を示すブロック図である。
映像記録システム1は、映像記録装置10と、圧縮符号化装置20と、映像信号源30とを備える。
映像信号源30は、例えば、ビデオカメラ又はプレイヤ等を含み、映像信号をSDI等の伝送規格により出力する。出力された非圧縮の映像信号は、圧縮符号化装置20により所定の圧縮率で符号化され、映像記録装置10に入力される。
FIG. 1 is a block diagram showing a functional configuration of the video recording system 1.
The video recording system 1 includes a video recording device 10, a compression encoding device 20, and a video signal source 30.
The video signal source 30 includes, for example, a video camera or a player, and outputs a video signal according to a transmission standard such as SDI. The output uncompressed video signal is encoded at a predetermined compression rate by the compression encoding device 20 and input to the video recording device 10.

映像記録装置10は、NANDフラッシュメモリ11と、管理用メモリ12(記憶部)と、NANDコントローラ13(制御部)と、作業用一時記憶領域であるDRAM14と、圧縮符号化装置20から映像信号を受信するI/F(インタフェース)15とを備える。   The video recording device 10 receives video signals from a NAND flash memory 11, a management memory 12 (storage unit), a NAND controller 13 (control unit), a DRAM 14 which is a working temporary storage area, and a compression encoding device 20. And an I / F (interface) 15 for reception.

NANDフラッシュメモリ11は、NAND型の記録素子で構成される不揮発性の記憶部である。記録素子には、ページ(例えば、8Kbyte)単位で物理アドレスとしてのページアドレスが割り当てられている。
なお、通常のフラッシュメモリでは、ページサイズは、4〜16Kbyte程度が一般的であり、映像データの容量(例えば、1フレーム当たり9000Kbyte)に比べて極めて小さい。
The NAND flash memory 11 is a non-volatile storage unit composed of NAND type recording elements. A page address as a physical address is assigned to the recording element in units of pages (for example, 8 Kbytes).
In a normal flash memory, the page size is generally about 4 to 16 Kbytes, which is extremely small compared to the capacity of video data (for example, 9000 Kbytes per frame).

管理用メモリ12は、記録素子に対応する物理アドレスと、論理アドレスとの動的な関連付けを記憶した管理テーブルを格納する。
また、本実施形態では、管理テーブルにおいて、所定の圧縮率(例えば、1/6)で符号化された映像データの1フレームの容量(例えば、9000Kbyte)に相当する複数の物理アドレスからなるグループに対して中間アドレスが設けられる。そして、論理アドレスと中間アドレスとの1対1の関連付けが管理テーブルに記憶される。
The management memory 12 stores a management table storing dynamic associations between physical addresses corresponding to printing elements and logical addresses.
In the present embodiment, in the management table, a group of a plurality of physical addresses corresponding to a capacity of one frame (for example, 9000 Kbytes) of video data encoded at a predetermined compression rate (for example, 1/6). On the other hand, an intermediate address is provided. A one-to-one association between the logical address and the intermediate address is stored in the management table.

図2は、管理用メモリ12に格納される管理テーブル群の一例を示す図である。
まず、映像データを識別するクリップ番号と、各クリップに含まれるフレームを識別するフレーム番号(論理アドレス)とが1対多に対応付けられる(a)。
次に、フレーム番号と中間アドレスとが1対1に対応付けられ(b)、中間アドレスとページアドレス(物理アドレス)とが1対多に対応付けられる(c)。
これらの管理テーブルにより、映像データに含まれる各フレームのデータが、いずれの記録素子群に記憶されているのかが管理される。
FIG. 2 is a diagram illustrating an example of a management table group stored in the management memory 12.
First, a clip number for identifying video data and a frame number (logical address) for identifying a frame included in each clip are associated one-to-many (a).
Next, the frame number and the intermediate address are associated one-to-one (b), and the intermediate address and the page address (physical address) are associated one-to-many (c).
These management tables manage in which recording element group the data of each frame included in the video data is stored.

NANDコントローラ13は、FTL(Flash Translation Layer)コントローラ131により、管理用メモリ12に格納されている管理テーブルを更新管理する。また、NANDコントローラ13は、FTLコントローラ131により、この管理テーブルに基づいて、論理アドレスと物理アドレスとのアドレス変換を行う。これにより、NANDコントローラ13は、指定された論理アドレスに関連付けられている物理アドレスの記録素子を制御して、データの書き込み又は消去を行う。   The NAND controller 13 updates and manages the management table stored in the management memory 12 by using an FTL (Flash Translation Layer) controller 131. Also, the NAND controller 13 performs address conversion between a logical address and a physical address based on the management table by the FTL controller 131. As a result, the NAND controller 13 controls the recording element at the physical address associated with the designated logical address to write or erase data.

ここで、FTLコントローラ131は、映像データが入力されると、映像のフレーム単位(例えば、9000Kbyte)に論理アドレスを割り当て、この論理アドレスと中間アドレスとの関連付けを、管理テーブルによって管理する。
また、FTLコントローラ131は、所定の評価基準によりNANDフラッシュメモリ11における記録素子の劣化を検出した場合、この劣化が検出された記録素子と対応付けられている中間アドレスと論理アドレスとの関連付けを、新たな中間アドレスに振り替える。
Here, when video data is input, the FTL controller 131 assigns a logical address to a video frame unit (for example, 9000 Kbytes), and manages the association between the logical address and the intermediate address using a management table.
Further, when the FTL controller 131 detects the deterioration of the recording element in the NAND flash memory 11 based on a predetermined evaluation criterion, the FTL controller 131 associates the intermediate address and the logical address associated with the recording element in which the deterioration is detected, Transfer to a new intermediate address.

図3は、FTLコントローラ131によるアドレス変換管理の第1パターンを示す図である。
この第1パターンでは、NANDコントローラ13は、従来の通り、前述の中間アドレスを用いない。この場合、論理アドレスとページアドレス(物理アドレス)とが1対1に対応するので、論理アドレスが1つ指定されると、NANDフラッシュメモリ11内の対応する1ページ分の記録素子が決定する。
ここで、ページアドレスN+1以降は、論理アドレスと関連付けられていない予備領域である。
FIG. 3 is a diagram showing a first pattern of address translation management by the FTL controller 131.
In the first pattern, the NAND controller 13 does not use the above-described intermediate address as in the past. In this case, since a logical address and a page address (physical address) have a one-to-one correspondence, when one logical address is designated, recording elements for one page in the NAND flash memory 11 are determined.
Here, the page address N + 1 and later are spare areas not associated with logical addresses.

図4は、第1パターンにおいて、記録素子の劣化が検出された場合の関連付けの更新例を示す図である。
劣化を検出した記録素子n−1に割り当てられているページアドレスn−1は、更新前には、論理アドレスn−1と関連付けられていた。FTLコントローラ131は、論理アドレスn−1との関連付けを、ページアドレスn−1から、予備領域のページアドレスN+1へ振り替えることにより、エラーレートの上昇を抑制する。
FIG. 4 is a diagram illustrating an association update example when deterioration of the printing element is detected in the first pattern.
The page address n-1 assigned to the recording element n-1 in which the deterioration was detected was associated with the logical address n-1 before the update. The FTL controller 131 suppresses an increase in the error rate by transferring the association with the logical address n−1 from the page address n−1 to the page address N + 1 in the spare area.

映像記録の場合、ストレージ容量が大きいため、管理テーブルのサイズも膨大になる。したがって、ページ単位でのアドレス変換及び関連付けの変更は、処理負荷が高く困難となる。
そこで、映像をフレーム単位で記録する場合に、複数ページをフレームサイズにまとめ、中間アドレスで管理することにより、アドレス管理が効率化し、処理負荷が低減する。
In the case of video recording, since the storage capacity is large, the size of the management table also becomes enormous. Therefore, it is difficult to change the address translation and association in units of pages because of high processing load.
Therefore, when video is recorded in units of frames, a plurality of pages are grouped into frame sizes and managed by intermediate addresses, so that address management becomes efficient and processing load is reduced.

図5は、FTLコントローラ131によるアドレス変換管理の第2パターンを示す図である。
この第2パターンでは、FTLコントローラ131は、前述の中間アドレスを用いる。この場合、論理アドレスとページアドレス(物理アドレス)とが中間アドレスを介して1対多に対応するので、論理アドレスが1つ指定されると、NANDフラッシュメモリ11内の複数(m)ページ分の記録素子が決定する。
ここで、中間アドレスでグループ化された複数ページの容量は、映像データの1フレーム(例えば、9000Kbyte)を収容できるサイズであり、1フレーム毎に論理アドレス1つが割り当てられる。
FIG. 5 is a diagram showing a second pattern of address translation management by the FTL controller 131.
In the second pattern, the FTL controller 131 uses the above-described intermediate address. In this case, since the logical address and the page address (physical address) correspond one-to-many via the intermediate address, when one logical address is designated, a plurality of (m) pages in the NAND flash memory 11 are provided. The recording element is determined.
Here, the capacity of a plurality of pages grouped by intermediate addresses is a size that can accommodate one frame of video data (for example, 9000 Kbytes), and one logical address is assigned to each frame.

図6は、第2パターンにおいて、記録素子の劣化が検出された場合の関連付けの更新例を示す図である。
劣化を検出した記録素子N×mに割り当てられている中間アドレスNは、更新前には、論理アドレスNと関連付けられていた。FTLコントローラ131は、論理アドレスNとの関連付けを、中間アドレスNから、予備領域の中間アドレスへ振り替えることにより、エラーレートの上昇を抑制する。
このとき、中間アドレスNに属している複数の記録素子は、同一フレームのデータが記録されるため、消去及び書き込みの回数が同等であり、同程度に劣化が進んでいると考えられる。したがって、中間アドレスの単位で、合理的に振り替えが行われる。
FIG. 6 is a diagram illustrating an update example of association when deterioration of the printing element is detected in the second pattern.
The intermediate address N assigned to the recording element N × m that has detected the deterioration was associated with the logical address N before the update. The FTL controller 131 suppresses an increase in error rate by transferring the association with the logical address N from the intermediate address N to the intermediate address of the spare area.
At this time, since a plurality of recording elements belonging to the intermediate address N record the same frame data, the number of times of erasing and writing is the same, and it is considered that the deterioration is progressing to the same extent. Therefore, the transfer is rationally performed in units of intermediate addresses.

次に、圧縮符号化装置20における圧縮率が変更され、1フレーム当たりの容量が変化した場合について説明する。圧縮符号化装置20は、圧縮率を変更することにより、映像の画質と記録時間を変更できる。
FTLコントローラ131は、設計時の所定の圧縮率よりも高い圧縮率の映像データを記録する場合、複数のフレーム(論理アドレス)に対して1つの中間アドレスを関連付ける。これにより、1つの中間アドレスに対して複数のフレームのデータが格納される。
Next, a case where the compression rate in the compression encoding device 20 is changed and the capacity per frame is changed will be described. The compression encoding device 20 can change the image quality and recording time of the video by changing the compression rate.
The FTL controller 131 associates one intermediate address with a plurality of frames (logical addresses) when recording video data having a compression rate higher than a predetermined compression rate at the time of design. Thereby, data of a plurality of frames is stored for one intermediate address.

圧縮率が2倍(圧縮後のデータサイズは1/2)に変更された場合、FTLコントローラ131は、2フレーム分の圧縮データを1つの中間アドレスに格納することで、記録素子の利用効率を低下させることなく記録できる。同様に、圧縮率が3倍(圧縮後のデータサイズは1/3)に変更された場合、FTLコントローラ131は、3フレーム分の圧縮データを1つの中間アドレスに格納することで、記録素子の利用効率を低下させることなく記録する。   When the compression rate is changed to twice (the data size after compression is ½), the FTL controller 131 stores the compressed data for two frames at one intermediate address, thereby improving the use efficiency of the recording element. It can record without deteriorating. Similarly, when the compression rate is changed to 3 times (the data size after compression is 1/3), the FTL controller 131 stores the compressed data for three frames in one intermediate address, thereby allowing the recording element to Records without reducing usage efficiency.

このとき、FTLコントローラ131は、管理テーブルに、メタ情報として圧縮率を2倍に変更した情報を併せて記録する。例えば、管理テーブルにおいて、フレーム番号(論理アドレス)と中間アドレスとが多対1に関連付けられ、フレーム毎に圧縮率が併せて記憶される。
記録された映像の再生時には、圧縮率のメタ情報を参照しながらデータを切り出して圧縮復号することで、元の映像データが再生可能である。
At this time, the FTL controller 131 also records information in which the compression rate is changed to double as meta information in the management table. For example, in the management table, frame numbers (logical addresses) and intermediate addresses are associated in many-to-one correspondence, and the compression rate is stored together for each frame.
When the recorded video is played back, the original video data can be played back by extracting and compressing and decoding the data while referring to the compression rate meta information.

図7は、圧縮率が2倍に変更された場合のデータ記録状況の第1パターンを示す図である。
非圧縮で24Gbpsの映像データ(1フレーム当たり54000Kbyte)は、圧縮率1/6により、1フレーム当たりの容量は9000Kbyteとなる。この場合、論理アドレス及び中間アドレスが9000Kbyte単位で設けられている。
FIG. 7 is a diagram showing a first pattern of a data recording situation when the compression rate is changed to 2 times.
Uncompressed video data of 24 Gbps (54000 Kbytes per frame) has a capacity of 9000 Kbytes per frame due to a compression rate of 1/6. In this case, the logical address and the intermediate address are provided in units of 9000 Kbytes.

このとき、圧縮符号化装置20における圧縮率が1/12に変更されると、1フレーム当たりの容量は4500Kbyteに縮小される。すると、1つの中間アドレスに割り当てられている記録素子に1フレーム分のデータを記録した場合、約半分の容量が未使用の状態となる。   At this time, when the compression rate in the compression encoding device 20 is changed to 1/12, the capacity per frame is reduced to 4500 Kbytes. Then, when data for one frame is recorded on the recording element assigned to one intermediate address, about half of the capacity becomes unused.

図8は、圧縮率が2倍に変更された場合のデータ記録状況の第2パターンを示す図である。
第1パターンと同様に、中間アドレスは9000Kbyte単位で設けられている。
FIG. 8 is a diagram showing a second pattern of the data recording situation when the compression rate is changed to 2 times.
Similar to the first pattern, the intermediate address is provided in units of 9000 Kbytes.

このとき、圧縮符号化装置20における圧縮率が1/12に変更されると、1フレーム当たりの容量は4500Kbyteに縮小される。すると、1つの中間アドレスに割り当てられている記録素子は、2フレーム分の容量を持つことになる。
そこで、FTLコントローラ131は、2つのフレーム(論理アドレス)を同一の中間アドレスに割り当て、1つの中間アドレスに割り当てられている記録素子に2フレーム分のデータを記録する。これにより、未使用の記録素子が減少するため、記録素子の利用効率が向上する。
特に、設計時に比べて更に定数倍の圧縮がなされた場合、FTLコントローラ131は、複数フレームを同一の中間アドレスに割り当てることにより、利用効率の低下を防ぐことができる。
At this time, when the compression rate in the compression encoding device 20 is changed to 1/12, the capacity per frame is reduced to 4500 Kbytes. Then, the recording element assigned to one intermediate address has a capacity for two frames.
Therefore, the FTL controller 131 assigns two frames (logical addresses) to the same intermediate address, and records data for two frames on the recording element assigned to one intermediate address. As a result, unused recording elements are reduced, and the utilization efficiency of the recording elements is improved.
In particular, when the compression is further multiplied by a constant compared to the design time, the FTL controller 131 can prevent a decrease in utilization efficiency by assigning a plurality of frames to the same intermediate address.

なお、本実施形態では、圧縮率が初期設定より高くなった場合を説明したが、映像記録装置10は、圧縮率が低くなった場合にも対応可能である。
この場合、FTLコントローラ131は、設計時の所定の圧縮率よりも低い圧縮率の映像データを記録する場合、フレームを分割し、1つのフレーム(論理アドレス)に対して、分割したデータそれぞれを記録するための複数の中間アドレスを関連付ける。
In the present embodiment, the case where the compression rate is higher than the initial setting has been described. However, the video recording apparatus 10 can cope with the case where the compression rate is low.
In this case, when recording video data with a compression rate lower than the predetermined compression rate at the time of design, the FTL controller 131 divides the frame and records each of the divided data for one frame (logical address). To associate multiple intermediate addresses.

図9は、圧縮率が1/2倍に変更された場合のデータ記録状況を示す図である。
中間アドレスは、1/6圧縮時のフレームサイズとして、9000Kbyte単位で設けられている。
FIG. 9 is a diagram showing a data recording state when the compression rate is changed to 1/2.
The intermediate address is provided in units of 9000 Kbytes as a frame size at 1/6 compression.

このとき、圧縮符号化装置20における圧縮率が1/3に変更されると、1フレーム当たりの容量は18000Kbyteに拡大される。すると、1つの中間アドレスに割り当てられている記録素子では、1フレーム分のデータを記録できない。
そこで、FTLコントローラ131は、1フレーム(論理アドレス)を2つの中間アドレスに割り当て、2つの中間アドレスに割り当てられている記録素子に1フレーム分のデータを記録する。これにより、映像記録装置10は、圧縮率の変更に対応できる。
なお、設計時に対してフレーム容量が定数倍になる場合、FTLコントローラ131は、1フレームを複数の中間アドレスに割り当てることにより、利用効率の低下を防ぐことができる。
At this time, when the compression rate in the compression encoding device 20 is changed to 1/3, the capacity per frame is expanded to 18000 Kbytes. Then, the recording element assigned to one intermediate address cannot record data for one frame.
Therefore, the FTL controller 131 assigns one frame (logical address) to two intermediate addresses and records data for one frame on the recording elements assigned to the two intermediate addresses. Thereby, the video recording apparatus 10 can cope with the change of the compression rate.
When the frame capacity is a constant multiple compared to the design time, the FTL controller 131 can prevent a decrease in utilization efficiency by assigning one frame to a plurality of intermediate addresses.

以上のように、本実施形態によれば、映像記録装置10は、複数の物理アドレスをまとめた中間アドレスを設けることで、管理テーブルにおけるアドレス管理及び更新の負荷を低減できる。例えば、1つの中間アドレスに格納するデータサイズを、映像の1フレーム分のデータサイズとすることで、記録素子の利用効率を損なわず、処理負荷を低減できる。   As described above, according to the present embodiment, the video recording apparatus 10 can reduce the load of address management and update in the management table by providing an intermediate address obtained by collecting a plurality of physical addresses. For example, by setting the data size stored in one intermediate address to the data size for one frame of video, the processing load can be reduced without impairing the use efficiency of the recording element.

映像記録装置10は、記録素子の劣化を検出した場合、この記録素子と対応付けられている中間アドレスへの関連付けを、新たな中間アドレスに振り替えるので、同程度に劣化が進んだ複数ページをまとめて効率的に処理できる。   When the video recording device 10 detects deterioration of the recording element, the association with the intermediate address associated with the recording element is transferred to a new intermediate address, so that a plurality of pages that have deteriorated to the same extent are collected. Can be processed efficiently.

映像記録装置10は、記録する映像データの圧縮率が設計時の所定の圧縮率よりも高く変更された場合、複数フレーム(論理アドレス)に対して同一の中間アドレスを関連付ける。画像圧縮した映像を記録する場合、圧縮率を変更すると(例えば、圧縮率を2倍、3倍に上げると)、1フレーム分のデータサイズが変化するが、映像記録装置10は、1つの中間アドレスに対して複数のフレームを記録することにより、記録素子の利用効率を下げることなく映像を記録できる。   The video recording apparatus 10 associates the same intermediate address with a plurality of frames (logical addresses) when the compression rate of the video data to be recorded is changed to be higher than the predetermined compression rate at the time of design. When recording an image-compressed video, if the compression rate is changed (for example, if the compression rate is increased by 2 or 3), the data size for one frame changes, but the video recording apparatus 10 is one intermediate By recording a plurality of frames for an address, it is possible to record a video without reducing the utilization efficiency of the recording element.

映像記録装置10は、記録する映像データの圧縮率が設計時の所定の圧縮率よりも低く変更された場合、1つのフレーム(論理アドレス)に対して複数の中間アドレスを関連付ける。これにより、映像記録装置10は、記録する映像データの圧縮率の変更に柔軟に対応できる。   The video recording apparatus 10 associates a plurality of intermediate addresses with one frame (logical address) when the compression rate of the video data to be recorded is changed to be lower than a predetermined compression rate at the time of design. Thereby, the video recording apparatus 10 can flexibly cope with a change in the compression rate of the video data to be recorded.

以上、本発明の実施形態について説明したが、本発明は前述した実施形態に限るものではない。また、本実施形態に記載された効果は、本発明から生じる最も好適な効果を列挙したに過ぎず、本発明による効果は、本実施形態に記載されたものに限定されるものではない。   As mentioned above, although embodiment of this invention was described, this invention is not restricted to embodiment mentioned above. Further, the effects described in the present embodiment are merely a list of the most preferable effects resulting from the present invention, and the effects of the present invention are not limited to those described in the present embodiment.

本実施形態では、主に映像記録装置の構成と動作について説明したが、本発明はこれに限られず、各構成要素を備え、映像データを記録するための方法、又はプログラムとして構成されてもよい。   In the present embodiment, the configuration and operation of the video recording apparatus have been mainly described. However, the present invention is not limited to this, and may be configured as a method or program for recording video data including each component. .

さらに、映像記録装置の機能を実現するためのプログラムをコンピュータで読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。   Further, it may be realized by recording a program for realizing the function of the video recording apparatus on a computer-readable recording medium, causing the computer system to read and execute the program recorded on the recording medium. .

ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータで読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。   The “computer system” here includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a storage device such as a portable medium such as a flexible disk, a magneto-optical disk, a ROM, and a CD-ROM, and a hard disk built in the computer system.

さらに「コンピュータで読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時刻の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時刻プログラムを保持しているものも含んでもよい。また、上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。   Furthermore, “computer-readable recording medium” means that a program is dynamically held for a short time, like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. It is also possible to include one that holds a program for a certain time, such as a volatile memory inside a computer system that becomes a server or client in that case. Further, the program may be for realizing a part of the above-described functions, and may be capable of realizing the above-described functions in combination with a program already recorded in the computer system. .

1 映像記録システム
10 映像記録装置
11 NANDフラッシュメモリ
12 管理用メモリ(記憶部)
13 NANDコントローラ(制御部)
14 DRAM
131 FTLコントローラ
DESCRIPTION OF SYMBOLS 1 Video recording system 10 Video recording apparatus 11 NAND flash memory 12 Management memory (memory | storage part)
13 NAND controller (control unit)
14 DRAM
131 FTL controller

Claims (5)

NANDメモリを記録素子とする映像記録装置であって、
前記記録素子に対応する物理アドレスと、論理アドレスとを動的に関連付ける管理テーブルを記憶する記憶部と、
前記管理テーブルを管理すると共に、当該管理テーブルに基づいてアドレス変換を行い、指定された前記論理アドレスに関連付けられている物理アドレスの記録素子を制御する制御部と、を備え、
前記管理テーブルにおいて、所定の圧縮率で符号化された映像データの1フレームの容量に相当する複数の物理アドレスからなるグループに対して中間アドレスが設けられ、
前記制御部は、前記映像データのフレーム単位に前記論理アドレスを割り当て、当該論理アドレスと前記中間アドレスとの関連付けを管理する映像記録装置。
A video recording apparatus using a NAND memory as a recording element,
A storage unit that stores a management table that dynamically associates a physical address corresponding to the recording element with a logical address;
A controller that manages the management table, performs address conversion based on the management table, and controls a recording element of a physical address associated with the designated logical address;
In the management table, an intermediate address is provided for a group consisting of a plurality of physical addresses corresponding to the capacity of one frame of video data encoded at a predetermined compression rate,
The control unit assigns the logical address to each frame of the video data, and manages the association between the logical address and the intermediate address.
前記制御部は、前記記録素子の劣化を検出した場合、当該記録素子と対応付けられている中間アドレスと前記論理アドレスとの関連付けを、新たな中間アドレスに振り替える請求項1に記載の映像記録装置。   2. The video recording apparatus according to claim 1, wherein when the deterioration of the recording element is detected, the control unit transfers the association between the intermediate address associated with the recording element and the logical address to a new intermediate address. . 前記制御部は、前記所定の圧縮率よりも高い圧縮率の映像データを記録する場合、複数の論理アドレスに対して1つの中間アドレスを関連付ける請求項1又は請求項2に記載の映像記録装置。   The video recording apparatus according to claim 1, wherein the control unit associates one intermediate address with a plurality of logical addresses when recording video data having a compression rate higher than the predetermined compression rate. 前記制御部は、前記所定の圧縮率よりも低い圧縮率の映像データを記録する場合、フレームを分割し、1つの論理アドレスに対して、当該分割したデータそれぞれを記録する複数の中間アドレスを関連付ける請求項1又は請求項2に記載の映像記録装置。   When recording video data having a compression rate lower than the predetermined compression rate, the control unit divides a frame and associates a plurality of intermediate addresses for recording the divided data with one logical address. The video recording apparatus according to claim 1. NANDメモリを記録素子とする映像記録方法であって、
前記記録素子に対応する物理アドレスと、論理アドレスとを動的に関連付ける管理テーブルを記憶する記憶部と、
前記管理テーブルを管理すると共に、当該管理テーブルに基づいてアドレス変換を行い、指定された前記論理アドレスに関連付けられている物理アドレスの記録素子を制御する制御部と、を備えたコンピュータが、
前記管理テーブルにおいて、所定の圧縮率で符号化された映像データの1フレームの容量に相当する複数の物理アドレスからなるグループに対して中間アドレスを設け、
前記映像データのフレーム単位に前記論理アドレスを割り当て、当該論理アドレスと前記中間アドレスとの関連付けを管理する映像記録方法。
A video recording method using a NAND memory as a recording element,
A storage unit that stores a management table that dynamically associates a physical address corresponding to the recording element with a logical address;
A computer having a control unit that manages the management table, performs address conversion based on the management table, and controls a recording element of a physical address associated with the designated logical address,
In the management table, an intermediate address is provided for a group consisting of a plurality of physical addresses corresponding to the capacity of one frame of video data encoded at a predetermined compression rate,
A video recording method in which the logical address is assigned to each frame of the video data, and the association between the logical address and the intermediate address is managed.
JP2013211876A 2013-10-09 2013-10-09 Video recording apparatus and video recording method Expired - Fee Related JP6180271B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013211876A JP6180271B2 (en) 2013-10-09 2013-10-09 Video recording apparatus and video recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013211876A JP6180271B2 (en) 2013-10-09 2013-10-09 Video recording apparatus and video recording method

Publications (2)

Publication Number Publication Date
JP2015075931A JP2015075931A (en) 2015-04-20
JP6180271B2 true JP6180271B2 (en) 2017-08-16

Family

ID=53000738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013211876A Expired - Fee Related JP6180271B2 (en) 2013-10-09 2013-10-09 Video recording apparatus and video recording method

Country Status (1)

Country Link
JP (1) JP6180271B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102036514B1 (en) 2015-07-13 2019-10-28 엘에스산전 주식회사 Data access apparatus using memory device
JP6466295B2 (en) * 2015-09-09 2019-02-06 株式会社東芝 Video recording / playback apparatus, control method, and computer program
JP6479617B2 (en) * 2015-09-15 2019-03-06 ラピスセミコンダクタ株式会社 Nonvolatile memory data recovery method and memory control device
US11042490B2 (en) 2018-11-15 2021-06-22 Micron Technology, Inc. Address obfuscation for memory

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3139084B2 (en) * 1991-11-01 2001-02-26 キヤノン株式会社 Image storage device
JPH0793210A (en) * 1993-09-22 1995-04-07 Toshiba Corp Shared memory managing system
JP4016718B2 (en) * 2002-05-23 2007-12-05 ソニー株式会社 Data recording apparatus, data recording / reproducing apparatus, data recording method, and data recording / reproducing method
JP5323030B2 (en) * 2010-12-01 2013-10-23 株式会社東芝 Memory device and memory control method
JP5694212B2 (en) * 2012-02-23 2015-04-01 株式会社東芝 Management information generation method and memory system

Also Published As

Publication number Publication date
JP2015075931A (en) 2015-04-20

Similar Documents

Publication Publication Date Title
JP6180271B2 (en) Video recording apparatus and video recording method
EP3047650B1 (en) Streaming media
EP2721816A1 (en) Method and device for encoding and decoding an image
JP2017017447A5 (en)
US20220318187A1 (en) Storage device and server including the storage device
CN101387985B (en) Information processing device, recording method and computer program
TWI308459B (en) Context-aware frame memory scheme for motion compensation in video decoding
JP2015080149A (en) Video recording device and video recording method
CN101399895B (en) Storage space fast organizing system and method for digital camera
KR20190042234A (en) Video encoding device and encoder
CN103648021A (en) Method for playing network video files from USB storage device
US20180189143A1 (en) Simultaneous compression of multiple stored videos
JP7185133B2 (en) Information processing device, information processing program and analysis method
US8565584B2 (en) Editing apparatus and editing method
JP3631234B2 (en) File data storage management method, file data storage device, program for executing processing for storing file data, and storage medium
US10026149B2 (en) Image processing system and image processing method
JP2007279873A (en) Data recorder
JPH09319523A (en) Recording and reproducing controller for digital video signal
US9350968B1 (en) Enhanced digital video recording using video transcoding
EP2256648A1 (en) Method for storing data files, method for reading data content, and data store
CN114025162B (en) Entropy decoding method, medium, program product, and electronic device
KR102129870B1 (en) Apparatus and method for compressing video
US10354695B2 (en) Data recording control device and data recording control method
WO2016092647A1 (en) Moving image editing device, moving image editing method and program
JP2005050383A (en) File data storage control method, file data storage device, program for executing process for storing file data, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160829

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170525

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170718

R150 Certificate of patent or registration of utility model

Ref document number: 6180271

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees