Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6479697B2 - Video server device and memory read method - Google Patents
[go: Go Back, main page]

JP6479697B2 - Video server device and memory read method - Google Patents

Video server device and memory read method Download PDF

Info

Publication number
JP6479697B2
JP6479697B2 JP2016028203A JP2016028203A JP6479697B2 JP 6479697 B2 JP6479697 B2 JP 6479697B2 JP 2016028203 A JP2016028203 A JP 2016028203A JP 2016028203 A JP2016028203 A JP 2016028203A JP 6479697 B2 JP6479697 B2 JP 6479697B2
Authority
JP
Japan
Prior art keywords
read
memory
data
ecc
channels
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
JP2016028203A
Other languages
Japanese (ja)
Other versions
JP2017146793A (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 JP2016028203A priority Critical patent/JP6479697B2/en
Publication of JP2017146793A publication Critical patent/JP2017146793A/en
Application granted granted Critical
Publication of JP6479697B2 publication Critical patent/JP6479697B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)
  • Television Signal Processing For Recording (AREA)

Description

実施形態は、NANDフラッシュメモリに対してリトライリードを実行するビデオサーバ装置およびメモリのリード方法に関する。   Embodiments described herein relate generally to a video server apparatus and a memory read method that perform retry read on a NAND flash memory.

近年、NANDフラッシュメモリは、その微細化および多値化に伴い、信頼性が求められている。このため、ECC(Error Check and Correction)、ランダマイズ、およびリトライリードといった処理が必要である。リトライリードでは、ECCによるデータの訂正不能エラーが発生した場合に再度エラーが発生したデータを読み出す。リトライリードは、メモリの多値化に伴い、信頼性を向上させるためにその回数が増加傾向にある。例えば、最近では、10回のリトライリードが求められる製品もある。   In recent years, the reliability of NAND flash memories has been demanded along with miniaturization and multi-leveling. For this reason, processing such as ECC (Error Check and Correction), randomization, and retry reading is necessary. In the retry read, when an uncorrectable data error due to ECC occurs, the data in which the error has occurred is read again. The number of retry reads tends to increase in order to improve reliability as the number of memory levels increases. For example, recently, there are products that require 10 retry leads.

リトライリード回数が増加することで、以下の問題が生じる。   Increasing the number of retry reads causes the following problems.

SSD(solid-state drive)やSDカード等では、リトライリード回数(総回数)が増加することでリトライリードの処理時間が長くなる。その結果、リード(ノーマルリードおよびリトライリード)のトータル処理時間が長くなり、ユーザの待機時間が長くなってしまう。   In a solid-state drive (SSD), an SD card, etc., the retry read processing time becomes longer as the number of retry reads (total number of times) increases. As a result, the total processing time for reads (normal read and retry read) becomes longer, and the waiting time for the user becomes longer.

一方、放送局向けのビデオサーバ装置では、映像の再生処理(リード処理)にリアルタイム性が要求される。このため、リトライリード回数の増加によるリード処理時間の増加は、放送事故につながる恐れがある。   On the other hand, a video server device for a broadcasting station requires real-time performance for video playback processing (read processing). For this reason, an increase in read processing time due to an increase in the number of retry reads may lead to a broadcast accident.

ビデオサーバ装置では、映像フレームに同期して収録・再生処理が行われる。1個の映像フレームでは複数の再生チャネルが制御され、各再生チャネルにおいてリード(1回のノーマルリードと複数回のリトライリード)が行われる。例えば、33msの1個の映像フレームにおいて20個の再生チャネルが制御される場合であって、各再生チャネルにおいて1回のノーマルリードと10回のリトライリードが行われる場合を考える。このとき、1回のノーマルリードおよび1回のリトライリードの処理時間が0.5msであるとすると、20個の再生チャネルの処理時間は0.5×11×20=110msとなる。したがって、各再生チャネルにおいて10回のリトライリードが行われる場合、1個の映像フレーム(33ms)内に20個の再生チャネルを処理することができない。   In the video server device, recording / playback processing is performed in synchronization with the video frame. In one video frame, a plurality of playback channels are controlled, and reading (one normal read and one retry read) is performed in each playback channel. For example, consider a case where 20 playback channels are controlled in one video frame of 33 ms, and one normal read and 10 retry reads are performed in each playback channel. At this time, if the processing time of one normal read and one retry read is 0.5 ms, the processing time of 20 playback channels is 0.5 × 11 × 20 = 110 ms. Therefore, when 10 retry reads are performed in each playback channel, 20 playback channels cannot be processed in one video frame (33 ms).

上記のようなリードの処理時間の増加を抑制するために、NANDフラッシュメモリの同時処理並列チップ数を増やす、ECCの同時処理並列数を増やす、ECC可能数(訂正能力)を増やすといった方法が挙げられる。   In order to suppress the increase in the read processing time as described above, there are methods such as increasing the number of simultaneous processing parallel chips of the NAND flash memory, increasing the number of parallel processing parallel processing of ECC, and increasing the number of possible ECCs (correction ability). It is done.

しかし、NANDフラッシュメモリの同時処理並列チップ数が増加する場合、基板に実装するチップ数を増やす必要があり、コストアップ、および実装面積の拡大に繋がる。また、メモリコントローラはI/O数(ピン数)を増やす必要があり、それに対応するデバイスを使用する必要がある。このため、コストアップとなる。   However, when the number of simultaneously processed parallel chips in the NAND flash memory increases, it is necessary to increase the number of chips mounted on the substrate, leading to an increase in cost and an increase in mounting area. In addition, the memory controller needs to increase the number of I / O (number of pins), and it is necessary to use a device corresponding to it. This increases the cost.

一方、ECCの同時処理並列数が増加すると、ECCの回路規模が大きくなる。これにより、メモリコントローラ全体の回路規模が拡大する。このため、仮にメモリコントローラがFPGA(Field Programmable Gate Array)で構成される場合、FPGAがロジック量の大きなデバイスとなり、結果的にコストアップとなる。   On the other hand, when the number of parallel processing of ECC increases, the circuit scale of ECC increases. This increases the circuit scale of the entire memory controller. For this reason, if the memory controller is configured by an FPGA (Field Programmable Gate Array), the FPGA becomes a device with a large amount of logic, resulting in an increase in cost.

また、ECCの訂正能力を上げる場合も、ECCの回路規模が拡大するため、上記同様にコストアップとなる。   In addition, when the ECC correction capability is increased, the ECC circuit scale is increased, resulting in a cost increase as described above.

このように、リード処理時間の増加、およびこれに伴う装置のコストアップといった問題を解決することが求められる。   Thus, it is required to solve problems such as an increase in the read processing time and an associated increase in the cost of the apparatus.

特願2008−204114号公報Japanese Patent Application No. 2008-204114

以上のように、従来のビデオサーバ装置では、リトライリード回数の増加に伴うリード時間の増加の問題が、装置のコストアップなしには解決することができなかった。   As described above, in the conventional video server apparatus, the problem of increase in the read time accompanying the increase in the number of retry reads cannot be solved without increasing the cost of the apparatus.

実施形態では、装置のコストアップを抑制しつつ、リード時間の増加を抑制するビデオサーバ装置およびメモリのリード方法を提供する。   Embodiments provide a video server device and a memory read method that suppress an increase in read time while suppressing an increase in cost of the device.

実施形態によるビデオサーバ装置は、メモリと、前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、を具備する。   The video server device according to the embodiment performs a first read on the memory and the first data in the memory, performs an ECC on the first data on which the first read is performed, and the ECC performs the first read on the first data. And a memory controller that performs a second read that is variable in number of times for the first data in the memory when an error occurs in one data.

第1実施形態に係るビデオサーバ装置を示すブロック図。The block diagram which shows the video server apparatus which concerns on 1st Embodiment. 第1実施形態に係るビデオサーバ装置におけるメモリコントローラおよびメモリをより詳細に示す図。The figure which shows the memory controller and memory in the video server apparatus which concerns on 1st Embodiment in detail. 第1実施形態に係るビデオサーバ装置におけるメモリのメモリチップ群を示すブロック図。The block diagram which shows the memory chip group of the memory in the video server apparatus which concerns on 1st Embodiment. 第1実施形態に係るビデオサーバ装置におけるリードを示すフローチャート。The flowchart which shows the read in the video server apparatus which concerns on 1st Embodiment. 第1実施形態に係るビデオサーバ装置におけるリトライリードシーケンスを示すフローチャート。6 is a flowchart showing a retry read sequence in the video server device according to the first embodiment. 第1実施形態に係るビデオサーバ装置におけるリトライリード回数決定シーケンスを示すフローチャートThe flowchart which shows the retry lead frequency | count determination sequence in the video server apparatus which concerns on 1st Embodiment. 第1実施形態に係るビデオサーバ装置による映像処理の映像フレームの第1例を示す図。The figure which shows the 1st example of the image | video frame of the image processing by the video server apparatus which concerns on 1st Embodiment. 第1実施形態に係るビデオサーバ装置による映像処理の映像フレームの第2例を示す図。The figure which shows the 2nd example of the video frame of the video processing by the video server apparatus which concerns on 1st Embodiment. 第1実施形態に係るビデオサーバ装置による映像処理の映像フレームの第3例を示す図。The figure which shows the 3rd example of the video frame of the video processing by the video server apparatus which concerns on 1st Embodiment. 第2実施形態に係るビデオサーバ装置におけるリトライリード回数決定シーケンスを示すフローチャート。The flowchart which shows the retry lead frequency determination sequence in the video server apparatus which concerns on 2nd Embodiment. 第2実施形態に係るビデオサーバ装置による映像処理の映像フレームの第4例を示す図。The figure which shows the 4th example of the video frame of the video processing by the video server apparatus which concerns on 2nd Embodiment. 第3実施形態に係るビデオサーバ装置におけるリトライリード回数決定シーケンスを示すフローチャート。The flowchart which shows the retry read frequency | count determination sequence in the video server apparatus which concerns on 3rd Embodiment. 第3実施形態に係るビデオサーバ装置による映像処理の映像フレームの第5例を示す図。The figure which shows the 5th example of the video frame of the video processing by the video server apparatus which concerns on 3rd Embodiment. 第4実施形態に係るビデオサーバ装置におけるリトライリード回数決定シーケンスを示すフローチャート。The flowchart which shows the retry read frequency | count determination sequence in the video server apparatus which concerns on 4th Embodiment. 第5実施形態に係るビデオサーバ装置におけるリトライリード回数決定シーケンスを示すフローチャート。The flowchart which shows the retry lead frequency | count determination sequence in the video server apparatus which concerns on 5th Embodiment. 第5実施形態に係るビデオサーバ装置におけるメモリコントローラに入力されるコマンドおよびレディー/ビジー状態の第1例を示す図。The figure which shows the 1st example of the command and ready / busy state which are input into the memory controller in the video server apparatus which concerns on 5th Embodiment. 第5実施形態に係るビデオサーバ装置におけるメモリコントローラに入力されるコマンドおよびレディー/ビジー状態の第2例を示す図。The figure which shows the 2nd example of the command and ready / busy state which are input into the memory controller in the video server device concerning 5th Embodiment.

本実施形態を以下に図面を参照して説明する。図面において、同一部分には同一の参照符号を付す。   The present embodiment will be described below with reference to the drawings. In the drawings, the same parts are denoted by the same reference numerals.

<第1実施形態>
以下に図1乃至図9を用いて、第1実施形態に係るビデオサーバ装置について説明する。
<First Embodiment>
The video server apparatus according to the first embodiment will be described below with reference to FIGS.

(第1実施形態における構成)
図1は、第1実施形態に係るビデオサーバ装置10を示すブロック図である。
(Configuration in the first embodiment)
FIG. 1 is a block diagram showing a video server device 10 according to the first embodiment.

図1に示すように、ビデオサーバ装置10は、収録部100、メインコントローラ200、再生部300、メモリコントローラ400、およびメモリ500を備える。   As shown in FIG. 1, the video server device 10 includes a recording unit 100, a main controller 200, a playback unit 300, a memory controller 400, and a memory 500.

メインコントローラ200は、装置全体の制御を行う。収録部100は、カメラやビデオデッキ等から入力される映像信号ならびにコンテンツサーバ等から入力される素材ファイルを映像データに符号化し、収録処理を実行する。メモリコントローラ400は、収録部100からの映像データをメモリ500に書き込む。また、メモリコントローラ400は、メモリ500に記憶された映像データを読み出す。メモリ500は、不揮発性メモリであり、例えばNANDフラッシュメモリ等である。再生部300は、メモリ500から読み出された映像データを映像信号に復号化し、映像信号を出力する。   The main controller 200 controls the entire apparatus. The recording unit 100 encodes a video signal input from a camera, a video deck or the like and a material file input from a content server or the like into video data, and executes a recording process. The memory controller 400 writes the video data from the recording unit 100 into the memory 500. Further, the memory controller 400 reads the video data stored in the memory 500. The memory 500 is a non-volatile memory, such as a NAND flash memory. The reproduction unit 300 decodes the video data read from the memory 500 into a video signal and outputs the video signal.

図2は、第1実施形態に係るビデオサーバ装置10におけるメモリコントローラ400およびメモリ500をより詳細に示す図である。図3は、第1実施形態に係るビデオサーバ装置10におけるメモリ500のメモリチップ群Gを示すブロック図である。ここでは、メモリ500としてNANDフラッシュメモリの場合を示している。   FIG. 2 is a diagram showing in more detail the memory controller 400 and the memory 500 in the video server device 10 according to the first embodiment. FIG. 3 is a block diagram showing the memory chip group G of the memory 500 in the video server device 10 according to the first embodiment. Here, the case where the memory 500 is a NAND flash memory is shown.

図2に示すように、メモリ500は、複数のメモリチップ群G1,G2,…を含む。各メモリチップ群Gは、複数のメモリチップ1〜Mを有する。複数のメモリチップ1〜Mは、メモリインターフェース440に並列に接続される。このため、ライトおよびリードにおいて、各メモリチップ群Gにおける複数のメモリチップ1〜Mは並列にアクセスされる。   As shown in FIG. 2, the memory 500 includes a plurality of memory chip groups G1, G2,. Each memory chip group G has a plurality of memory chips 1 to M. The plurality of memory chips 1 to M are connected to the memory interface 440 in parallel. Therefore, in writing and reading, the plurality of memory chips 1 to M in each memory chip group G are accessed in parallel.

図3に示すように、NANDフラッシュメモリにおけるメモリチップ群Gは、複数のメモリブロックBLK0〜BLKi(以下、単にメモリブロックBLKと称することがある)からなるメモリセルアレイ、およびページバッファ510を有する。各メモリブロックBLKは、図示せぬ複数のメモリセルトランジスタを備える。本例のメモリセルトランジスタは、多ビットのデータを記録することが可能な多値メモリである。   As shown in FIG. 3, the memory chip group G in the NAND flash memory has a memory cell array composed of a plurality of memory blocks BLK0 to BLKi (hereinafter sometimes simply referred to as memory blocks BLK), and a page buffer 510. Each memory block BLK includes a plurality of memory cell transistors (not shown). The memory cell transistor of this example is a multi-value memory capable of recording multi-bit data.

データの消去は、メモリブロックBLK単位で行われる。すなわち、同一メモリブロックBLK内のデータは一括して消去される。一方、データのライトおよびリードは、複数のメモリセルトランジスタの集合毎に行われ、このメモリセルトランジスタの集合をページPGと呼ぶ。   Data is erased in units of memory blocks BLK. That is, the data in the same memory block BLK is erased collectively. On the other hand, data writing and reading are performed for each set of a plurality of memory cell transistors, and this set of memory cell transistors is called a page PG.

ページバッファ510は、メモリセルアレイへのデータ入出力を行い、データを一時的に保持する。ページバッファ510が保持可能なデータサイズは、各メモリブロックBLKのページサイズと同じである。データライトなどの際、ページバッファ510は、メモリセルアレイに対するデータ入出力処理を、自身の記憶容量に相当する1ページ分の単位で実行する。   The page buffer 510 inputs / outputs data to / from the memory cell array and temporarily holds data. The data size that the page buffer 510 can hold is the same as the page size of each memory block BLK. At the time of data write or the like, the page buffer 510 performs data input / output processing for the memory cell array in units of one page corresponding to its own storage capacity.

図2に示すように、メモリコントローラ400は、CPU410からのライトコマンドに従ってメモリ500へのライトを制御する。また、メモリコントローラ400は、CPU410からのリードコマンドに従ってメモリ500からのリード(ノーマルリードおよびリトライリード)を制御する。   As shown in FIG. 2, the memory controller 400 controls writing to the memory 500 in accordance with a write command from the CPU 410. Further, the memory controller 400 controls reading (normal reading and retry reading) from the memory 500 in accordance with a read command from the CPU 410.

メモリコントローラ400は、例えばFPGAであり、ECC回路430、メモリインターフェース440、およびリトライリード制御回路450を備える。ECC回路430、メモリインターフェース440、およびリトライリード制御回路450は、互いに内部バス460で電気的に接続される。また、ECC回路430、メモリインターフェース440、およびリトライリード制御回路450は、内部バス460を介してメモリコントローラ400外のCPU410およびバッファ420に電気的に接続される。なお、CPU410は、メモリコントローラ400内に設けられてもよい。また、CPU410およびバッファ420は、図1において省略されている。   The memory controller 400 is, for example, an FPGA, and includes an ECC circuit 430, a memory interface 440, and a retry read control circuit 450. The ECC circuit 430, the memory interface 440, and the retry read control circuit 450 are electrically connected to each other via an internal bus 460. The ECC circuit 430, the memory interface 440, and the retry read control circuit 450 are electrically connected to the CPU 410 and the buffer 420 outside the memory controller 400 via the internal bus 460. Note that the CPU 410 may be provided in the memory controller 400. Further, the CPU 410 and the buffer 420 are omitted in FIG.

CPU410は、メモリコントローラ400を統括的に制御する。CPU410は、各種コマンドを発行し、メモリコントローラ400に出力する。例えば、CPU410は、ライトコマンドを発行して、メモリ500への映像データのライトをメモリインターフェース440へ指示する。また、CPU410は、リードコマンド(ノーマルリードコマンドおよびリトライリードコマンド)を発行して、メモリ500からの映像データのリードを、メモリインターフェース440へ指示する。   The CPU 410 controls the memory controller 400 in an integrated manner. The CPU 410 issues various commands and outputs them to the memory controller 400. For example, the CPU 410 issues a write command to instruct the memory interface 440 to write video data to the memory 500. Further, the CPU 410 issues a read command (normal read command and retry read command) to instruct the memory interface 440 to read the video data from the memory 500.

バッファ420は、外部から受信した映像データをメモリ500に書き込むまで一時格納したり、メモリ500から読み出した映像データを外部へ送信するまでに一時格納したりする。バッファ420は、RAM(Random Access Memory)であり、例えばSRAM(Static Random Access Memory)、DRAM(Dynamic Random Access Memory)、またはMRAM(Magnetic Random Access Memory)などの汎用メモリである。   The buffer 420 temporarily stores video data received from the outside until it is written to the memory 500, or temporarily stores video data read from the memory 500 until it is transmitted to the outside. The buffer 420 is a RAM (Random Access Memory), and is a general-purpose memory such as an SRAM (Static Random Access Memory), a DRAM (Dynamic Random Access Memory), or an MRAM (Magnetic Random Access Memory).

ECC回路430は、バッファ420に格納された映像データにECC符号を付加する(ECC符号化)。ECC符号の方式は任意であり、例えばBCH(Bose Chaudhuri Hocquenghem)、RS(Reed Solomon)、およびLDPC(Low Density Parity Check)等が挙げられる。また、ECC回路430は、ECC符号が付加されたデータに対してECC符号に基づいてエラー訂正する(ECC復号化)。   The ECC circuit 430 adds an ECC code to the video data stored in the buffer 420 (ECC encoding). The ECC code system is arbitrary, and examples include BCH (Bose Chaudhuri Hocquenghem), RS (Reed Solomon), and LDPC (Low Density Parity Check). Further, the ECC circuit 430 performs error correction on the data to which the ECC code is added based on the ECC code (ECC decoding).

メモリインターフェース440は、CPU410からのコマンドに基づいて、映像データ等をメモリ500へ書き込み、またはメモリ500から読み出す(ノーマルリードおよびリトライリード)。このとき、メモリインターフェース440は、映像データを各メモリチップ群Gにおける複数のメモリチップ1〜Mに並列に書き込む。また、メモリインターフェース440は、映像データを各メモリチップ群Gにおける複数のメモリチップ1〜Mから並列に読み出す。   The memory interface 440 writes video data or the like to or from the memory 500 based on a command from the CPU 410 (normal read and retry read). At this time, the memory interface 440 writes the video data in parallel to the plurality of memory chips 1 to M in each memory chip group G. The memory interface 440 reads video data in parallel from the plurality of memory chips 1 to M in each memory chip group G.

リトライリード制御回路450は、諸条件に応じてリトライリードの回数を可変制御する。リトライリード制御回路450は、映像処理において、映像フレーム内の再生チャネル数または収録チャネル数に応じて、リトライリードの回数を決定する。例えば、リトライリード制御回路450は、再生チャネル数が所定数より多い場合に各再生チャネルにおけるリトライリードの回数を減らし、再生チャネル数が所定数以下である場合に各再生チャネルにおけるリトライリードの回数を増やす。また、リトライリード制御回路450は、収録チャネル数が所定数より多い場合に各再生チャネルにおけるリトライリードの回数を減らし、収録チャネル数が所定数以下である場合に各再生チャネルにおけるリトライリードの回数を増やす。また、リトライリード制御回路450は、これまでに行われたリトライリード回数を記憶し、それが最大回数に達したか否かを判断する。   The retry read control circuit 450 variably controls the number of retry reads according to various conditions. In the video processing, the retry read control circuit 450 determines the number of retry reads in accordance with the number of playback channels or recording channels in the video frame. For example, the retry read control circuit 450 reduces the number of retry reads in each playback channel when the number of playback channels is greater than a predetermined number, and sets the number of retry reads in each playback channel when the number of playback channels is equal to or less than the predetermined number. increase. The retry read control circuit 450 reduces the number of retry reads in each playback channel when the number of recording channels is greater than a predetermined number, and determines the number of retry reads in each playback channel when the number of recording channels is less than the predetermined number. increase. The retry read control circuit 450 stores the number of retry reads performed so far, and determines whether or not the maximum number has been reached.

(第1実施形態におけるリード)
図4は、第1実施形態に係るビデオサーバ装置10におけるリードを示すフローチャートである。
(Lead in the first embodiment)
FIG. 4 is a flowchart showing a read in the video server device 10 according to the first embodiment.

ここで、リードとは、ノーマルリードおよびリトライリードを含むものとする。ノーマルリードとは、ノーマルリードコマンドに応じて、最初に行われるデータのリードである。また、リトライリードとは、ノーマルリード後のECCにおいてデータの訂正不能エラーが発生した場合に、リトライリードコマンドに応じて、エラーが発生したデータに再度行われるリードである。   Here, the lead includes a normal read and a retry lead. The normal read is a data read performed first in response to a normal read command. The retry read is a read performed again on the data in which an error has occurred in response to a retry read command when an uncorrectable data error occurs in the ECC after normal reading.

図4に示すように、まず、ステップS11において、メモリインターフェース440により、ノーマルリードが行われる。これにより、メモリ500からFPGA400に1ページ分のデータが読み出される。   As shown in FIG. 4, first, normal reading is performed by the memory interface 440 in step S11. As a result, data for one page is read from the memory 500 to the FPGA 400.

次に、ステップS12において、ECC回路430により、ECCが行われる。すなわち、メモリ500から読み出されたデータに対してエラー訂正が行われる。   Next, in step S12, ECC is performed by the ECC circuit 430. That is, error correction is performed on the data read from the memory 500.

次に、ステップS13において、ECCが可能か否か判断される。ステップS13においてECCが不可能な場合(訂正不能エラーが生じた場合)、ステップS14においてリトライリードシーケンスが行われる。リトライリードシーケンスについては、図5を用いて後述する。一方、ステップS13においてECCが可能な場合、リードは終了する。   Next, in step S13, it is determined whether ECC is possible. When ECC is impossible in step S13 (when an uncorrectable error occurs), a retry read sequence is performed in step S14. The retry read sequence will be described later with reference to FIG. On the other hand, if ECC is possible in step S13, the reading is terminated.

図5は、第1実施形態に係るビデオサーバ装置10におけるリトライリードシーケンス(図4のステップS14)を示すフローチャートである。   FIG. 5 is a flowchart showing a retry read sequence (step S14 in FIG. 4) in the video server device 10 according to the first embodiment.

図5に示すように、まず、ステップS21において、リトライリード制御回路450により、リトライリード回数決定シーケンスが行われる。これにより、諸条件に応じてリトライリードの回数が決定される。リトライリード回数決定シーケンスについては、図6等を用いて、後述する。   As shown in FIG. 5, first, in step S21, the retry read control circuit 450 performs a retry read number determination sequence. Thus, the number of retry reads is determined according to various conditions. The retry read number determination sequence will be described later with reference to FIG.

次に、ステップS22において、メモリインターフェース440により、リトライリードが行われる。これにより、ステップS13のECCでエラーの生じた1ページ分のデータが、メモリ500からバッファ420に再度読み出される。   Next, retry read is performed by the memory interface 440 in step S22. As a result, the data for one page in which an error has occurred in the ECC in step S13 is read again from the memory 500 to the buffer 420.

次に、ステップS23において、ECC回路430により、ECCが行われる。すなわち、メモリ500から再度読み出されたデータに対してエラー訂正が行われる。   Next, in step S23, ECC is performed by the ECC circuit 430. That is, error correction is performed on the data read again from the memory 500.

次に、ステップS24においてECCが可能か否か判断される。ステップS24においてECCが不可能な場合(エラーが生じた場合)、ステップS25においてリトライリード制御回路によりリトライリード回数が最大回数に達したか否かが判断される。一方、ステップS24においてECCが可能な場合、リトライリードシーケンスは終了する。   Next, in step S24, it is determined whether ECC is possible. When ECC is impossible in step S24 (when an error occurs), in step S25, the retry read control circuit determines whether or not the number of retry reads has reached the maximum number. On the other hand, if ECC is possible in step S24, the retry read sequence ends.

ステップS25においてリトライリード回数が最大回数に達していない場合、ステップS22に戻ってリトライリードが行われる。一方、ステップS25においてリトライリード回数が最大回数に達した場合、リトライリードシーケンスは終了する。   If the number of retry reads has not reached the maximum number in step S25, the process returns to step S22 and retry read is performed. On the other hand, when the number of retry reads reaches the maximum number in step S25, the retry read sequence ends.

なお、本例では、ノーマルリードおよびリトライリードがページ単位のデータで行われたがこれに限らない。ノーマルリードおよびリトライリードが、ページ単位よりも小さなECC単位(ECCが行われる単位)で行われてもよい。また、ノーマルリードがページ単位、リトライリードがECC単位で行われてもよい。この場合、リトライリードは、訂正エラーが生じたECC単位のデータのみに行われてもよい。   In this example, normal read and retry read are performed with page-unit data, but the present invention is not limited to this. Normal reading and retry reading may be performed in ECC units (units in which ECC is performed) smaller than page units. Further, normal reading may be performed in units of pages, and retry reading may be performed in units of ECC. In this case, the retry read may be performed only on data in ECC units in which a correction error has occurred.

図6は、第1実施形態に係るビデオサーバ装置10におけるリトライリード回数決定シーケンス(図5のステップS21)を示すフローチャートである。   FIG. 6 is a flowchart showing a retry read number determination sequence (step S21 in FIG. 5) in the video server device 10 according to the first embodiment.

図6に示すように、まず、ステップS31において、リトライリード制御回路450により、時分割多重された映像フレーム内の再生チャネル数または収録チャネル数が所定数以下であるか否かが判断される。映像フレーム内の再生チャネル数または収録チャネル数は、外部システムからの要求、すなわち、外部システムからの制御の数によって決まる。   As shown in FIG. 6, first, in step S31, the retry read control circuit 450 determines whether or not the number of playback channels or the number of recording channels in the time-division multiplexed video frame is equal to or less than a predetermined number. The number of playback channels or recording channels in a video frame is determined by a request from an external system, that is, the number of controls from the external system.

ステップS31において再生チャネル数または収録チャネル数が所定数以下である場合、ステップS32においてリトライリード制御回路450により各再生チャネルのリトライリードの回数がN回であると決定される。一方、ステップS31において再生チャネル数または収録チャネル数が所定数より多い場合、ステップS33においてリトライリード制御回路450により各再生チャネルのリトライリードの回数がM回であると決定される。ここで、N>Mである。   If the number of playback channels or the number of recording channels is less than or equal to the predetermined number in step S31, the retry read control circuit 450 determines that the number of retry reads for each playback channel is N in step S32. On the other hand, if the number of reproduction channels or the number of recording channels is larger than the predetermined number in step S31, the retry read control circuit 450 determines that the number of retry reads for each reproduction channel is M in step S33. Here, N> M.

すなわち、リトライリード制御回路450は、再生チャネル数が所定数より多い場合に各再生チャネルにおけるリトライリードの回数を少なく設定し、再生チャネル数が所定数以下である場合に各再生チャネルにおけるリトライリードの回数を多く設定する。また、リトライリード制御回路450は、収録チャネル数が所定数より多い場合に各再生チャネルにおけるリトライリードの回数を少なく設定し、収録チャネル数が所定数以下である場合に各再生チャネルにおけるリトライリードの回数を多く設定する。   In other words, the retry read control circuit 450 sets the number of retry reads in each reproduction channel to be small when the number of reproduction channels is greater than the predetermined number, and the retry read in each reproduction channel when the number of reproduction channels is equal to or less than the predetermined number. Set a large number of times. Further, the retry read control circuit 450 sets the number of retry reads in each reproduction channel to be small when the number of recording channels is larger than the predetermined number, and when the number of recording channels is equal to or less than the predetermined number, Set a large number of times.

なお、本例において、リトライリード回数をN回またはM回の2種類としたが、これに限らず、3種類以上のリトライリード回数を用いてもよい。   In this example, the number of retry reads is two, N or M. However, the number is not limited to this, and three or more types of retry reads may be used.

以下に、図7乃至図9を用いて、第1実施形態に係るリトライリード回数決定シーケンスについて詳説する。   The retry read count determination sequence according to the first embodiment will be described in detail below with reference to FIGS.

図7乃至図9はそれぞれ、第1実施形態に係るビデオサーバ装置10による映像処理の映像フレームの第1例乃至第3例を示す図である。   7 to 9 are diagrams illustrating first to third examples of video frames of video processing performed by the video server device 10 according to the first embodiment, respectively.

ここで、図7乃至図9において、再生チャネルおよびファイル出力チャネルは、リードが実行されるチャネルである。すなわち、各再生チャネルおよび各ファイル出力チャネルにおいて、1回のノーマルリードと複数回のリトライリードが行われる。また、収録チャネルは、ライトが実行されるチャネルである。同一フレーム内の再生チャネル、収録チャネル、およびファイル出力チャネルは、時分割多重化されたチャネルである。   Here, in FIGS. 7 to 9, the reproduction channel and the file output channel are channels on which reading is executed. That is, one normal read and a plurality of retry reads are performed in each reproduction channel and each file output channel. The recording channel is a channel on which writing is performed. The playback channel, recording channel, and file output channel in the same frame are time-division multiplexed channels.

図7に示すように、第1例における時間10Tの1個の映像フレームにおいて、例えば、再生チャネルCH1〜CH5、収録チャネルCH1〜CH3、およびファイル出力チャネルCH1〜CH2が制御される。各再生チャネルCHにおいて、図4に示した1回のノーマルリードおよび複数回のリトライリード(リトライリードシーケンス)が行われる。   As shown in FIG. 7, in one video frame at time 10T in the first example, for example, playback channels CH1 to CH5, recording channels CH1 to CH3, and file output channels CH1 to CH2 are controlled. In each reproduction channel CH, one normal read and a plurality of retry reads (retry read sequence) shown in FIG. 4 are performed.

図7において、再生チャネルCH1〜CH5、収録チャネルCH1〜CH3、およびファイル出力チャネルCH1〜CH2に割り当てられる時間はそれぞれ、時間5T,3T,2Tである。したがって、各再生チャネルCHに割り当てられる時間は、時間Tである。ここで、1回のノーマルリードまたは1回のリトライリードに必要な時間は、時間T/5であるとする。この場合、各再生チャネルCHでは、1回のノーマルリードおよび4回のリトライリードが実行され得る。   In FIG. 7, the times allocated to the reproduction channels CH1 to CH5, the recording channels CH1 to CH3, and the file output channels CH1 to CH2 are times 5T, 3T, and 2T, respectively. Therefore, the time allocated to each reproduction channel CH is time T. Here, the time required for one normal read or one retry read is time T / 5. In this case, one normal read and four retry reads can be executed in each reproduction channel CH.

一方、図8に示すように、第2例における映像フレームでは、第1例と比べて収録チャネルCHおよびファイル出力チャネルCHの数は変わらないが、再生チャネルCHの数が増加している。ここでは、再生チャネルCH1〜CH10が制御される。したがって、各再生チャネルCHに割り当てられる時間は、第1例よりも短く、時間T/2である。1回のノーマルリードまたは1回のリトライリードに必要な時間は時間T/5であるため、各再生チャネルCHでは1回のノーマルリードおよび1回のリトライリードが実行され得る。   On the other hand, as shown in FIG. 8, in the video frame in the second example, the number of recording channels CH and file output channels CH is not changed compared to the first example, but the number of reproduction channels CH is increased. Here, playback channels CH1 to CH10 are controlled. Therefore, the time allocated to each reproduction channel CH is shorter than that in the first example and is time T / 2. Since the time required for one normal read or one retry read is time T / 5, one normal read and one retry read can be executed in each reproduction channel CH.

すなわち、図7および図8に示すように、再生チャネル数が増加すると、1個の再生チャネルCHに割り当てられる時間が短くなる。したがって、本例では、再生チャネル数が増加した場合、各再生チャネルの処理時間を短くするために、各再生チャネルにおけるリトライリードの回数を減らしている。   That is, as shown in FIGS. 7 and 8, as the number of playback channels increases, the time allocated to one playback channel CH becomes shorter. Therefore, in this example, when the number of playback channels increases, the number of retry reads in each playback channel is reduced in order to shorten the processing time of each playback channel.

また、図9に示すように、第3例における映像フレームでは、第1例と比べて再生チャネルCHおよびファイル出力チャネルCHの数は変わらないが、収録チャネルCHの数が増加している。このため、再生チャネルCH1〜CH5、収録チャネルCH1〜CH4、およびファイル出力チャネルCH1〜CH2に割り当てられる時間はそれぞれ、時間4T,4T,2Tである。すなわち、収録チャネルCH1〜CH4の時間が長くなり、その分、再生チャネルCH1〜CH5の時間が短くなる。したがって、各再生チャネルCHに割り当てられる時間は、時間4/5Tである。1回のノーマルリードまたは1回のリトライリードに必要な時間は時間T/5であるため、各再生チャネルCHでは1回のノーマルリードおよび3回のリトライリードが実行され得る。   Also, as shown in FIG. 9, in the video frame in the third example, the number of playback channels CH and file output channels CH is not changed compared to the first example, but the number of recording channels CH is increased. For this reason, the times allocated to the reproduction channels CH1 to CH5, the recording channels CH1 to CH4, and the file output channels CH1 to CH2 are times 4T, 4T, and 2T, respectively. That is, the time for the recording channels CH1 to CH4 becomes longer, and the time for the reproduction channels CH1 to CH5 becomes shorter accordingly. Therefore, the time allocated to each reproduction channel CH is time 4 / 5T. Since the time required for one normal read or one retry read is time T / 5, one normal read and three retry reads can be executed in each reproduction channel CH.

すなわち、図7および図9に示すように、収録チャネル数が増加すると、1個の再生チャネルCHに割り当てられる時間が短くなる。したがって、本例では、収録チャネル数が増加した場合、各再生チャネルの処理時間を短くするために、各再生チャネルにおけるリトライリードの回数を減らしている。   That is, as shown in FIGS. 7 and 9, as the number of recording channels increases, the time allocated to one reproduction channel CH becomes shorter. Therefore, in this example, when the number of recording channels increases, the number of retry reads in each reproduction channel is reduced in order to shorten the processing time of each reproduction channel.

(第1実施形態における効果)
上記第1実施形態によれば、メモリコントローラ400は、リトライリード制御回路450を備える。リトライリード制御回路450は、諸条件に応じてリトライリードの回数を可変制御する。すなわち、リトライリード回数を適宜減らすことができ、リード時間の増加を抑制することができる。また、第1実施形態では、リトライリード回数を制御するリトライリード制御回路450が追加して設けられるだけである。このため、リード時間の増加を抑制するために、ECC回路430を複雑にする場合、またはチップ積層数を増やす場合に比べて、コストアップ等を最小限に抑えることができる。
(Effect in 1st Embodiment)
According to the first embodiment, the memory controller 400 includes the retry read control circuit 450. The retry read control circuit 450 variably controls the number of retry reads according to various conditions. That is, the number of retry reads can be appropriately reduced, and an increase in read time can be suppressed. In the first embodiment, a retry read control circuit 450 for controlling the number of retry reads is only additionally provided. For this reason, in order to suppress an increase in read time, the cost increase and the like can be minimized as compared with the case where the ECC circuit 430 is complicated or the number of chip stacks is increased.

また、第1実施形態によれば、映像フレーム内の再生チャネル数または収録チャネル数に応じて、リトライリードの回数が決定される。例えば、リトライリード制御回路450は、再生チャネル数が多い場合に各再生チャネルにおけるリトライリードの回数を減らし、再生チャネル数が少ない場合に各再生チャネルにおけるリトライリードの回数を増やす。これにより、再生チャネル数に関係なく、映像フレーム内における全再生チャネルのトータルの処理時間を均等にすることができる。したがって、1個の映像フレーム内に必要な再生チャネル数を確保することができる。その結果、リアルタイム性が要求される映像処理において、映像フレーム内で必要な所定数の再生チャネルを適宜処理することができ、放送事故等を防ぐことができる。   Also, according to the first embodiment, the number of retry reads is determined according to the number of playback channels or recording channels in a video frame. For example, the retry read control circuit 450 reduces the number of retry reads in each reproduction channel when the number of reproduction channels is large, and increases the number of retry reads in each reproduction channel when the number of reproduction channels is small. Thereby, the total processing time of all the playback channels in the video frame can be equalized regardless of the number of playback channels. Therefore, it is possible to secure the necessary number of reproduction channels in one video frame. As a result, in video processing that requires real-time performance, a predetermined number of playback channels required in the video frame can be appropriately processed, and broadcast accidents and the like can be prevented.

<第2実施形態>
以下に図10および図11を用いて、第2実施形態に係るビデオサーバ装置について説明する。なお、第2実施形態において、上記第1実施形態と同様の点については説明を省略し、主に異なる点について説明する。
Second Embodiment
The video server device according to the second embodiment will be described below with reference to FIGS. 10 and 11. Note that in the second embodiment, description of the same points as in the first embodiment will be omitted, and different points will be mainly described.

(第2実施形態における構成およびリード)
第2実施形態において、上記第1実施形態と異なる点は、映像フレーム内におけるリードが再生であるかファイル出力であるかに応じて、これらのリトライリードの回数を可変制御する点である。ここで、再生とは、メモリ500の映像データを映像として他の再生媒体に読み出す動作を示す。一方、ファイル出力とは、メモリ500の映像データをデータとして他の記憶媒体等に読み出す動作を示す。
(Configuration and Lead in Second Embodiment)
The second embodiment is different from the first embodiment in that the number of retry reads is variably controlled depending on whether the read in the video frame is reproduction or file output. Here, the reproduction indicates an operation of reading the video data in the memory 500 as a video to another reproduction medium. On the other hand, the file output indicates an operation of reading video data in the memory 500 as data to another storage medium.

リトライリード制御回路450は、映像処理において、映像フレーム内のリードが再生チャネルであるかファイル出力チャネルであるかに応じて、それぞれのリトライリードの回数を決定する。リトライリード制御回路450は、リードが再生チャネルである場合にリトライリードの回数を増やし、リードがファイル出力チャネルである場合にリトライリードの回数を減らす。すなわち、同一映像フレーム内において(時分割多重化された状態において)、再生チャネルのリトライリードの回数はファイル出力チャネルのリトライリードの回数よりも多くなるように設定される。これは、ビデオサーバ装置のリード機能として、一般的にファイル出力よりも再生のほうが重要度が高いためである。すなわち、ファイル出力よりも再生のほうが、高い信頼性を必要とするためである。   In the video processing, the retry read control circuit 450 determines the number of retry reads depending on whether the read in the video frame is a reproduction channel or a file output channel. The retry read control circuit 450 increases the number of retry reads when the read is a reproduction channel, and decreases the number of retry reads when the read is a file output channel. That is, in the same video frame (in a time-division multiplexed state), the number of times of retry reading of the playback channel is set to be larger than the number of times of retry reading of the file output channel. This is because reproduction is generally more important than file output as a read function of a video server device. That is, playback requires higher reliability than file output.

図10は、第2実施形態に係るビデオサーバ装置10におけるリトライリード回数決定シーケンス(図5のステップS21)を示すフローチャートである。   FIG. 10 is a flowchart showing a retry read number determination sequence (step S21 in FIG. 5) in the video server device 10 according to the second embodiment.

図10に示すように、まず、ステップS41において、リトライリード制御回路450により、映像フレーム内のリードが再生チャネルであるかファイル出力チャネルであるかが判断される。   As shown in FIG. 10, first, in step S41, the retry read control circuit 450 determines whether the read in the video frame is a reproduction channel or a file output channel.

ステップS41においてリードが再生チャネルである場合、ステップS42においてリトライリード制御回路450によりリトライリードの回数がN回であると決定される。一方、ステップS41においてファイル出力チャネルである場合、ステップS43においてリトライリード制御回路450によりリトライリードの回数がM回であると決定される。ここで、N>Mである。   If the read is a reproduction channel in step S41, the retry read control circuit 450 determines that the number of retry reads is N in step S42. On the other hand, if it is a file output channel in step S41, the retry read control circuit 450 determines that the number of retry reads is M in step S43. Here, N> M.

以下に、図11および第1実施形態で示した図7を用いて、第2実施形態に係るリトライリード回数決定シーケンスについて詳説する。   The retry read number determination sequence according to the second embodiment will be described in detail below with reference to FIG. 11 and FIG. 7 shown in the first embodiment.

図11は、第2実施形態に係るビデオサーバ装置10による映像処理の映像フレームの第4例を示す図である。   FIG. 11 is a diagram illustrating a fourth example of a video frame of video processing performed by the video server device 10 according to the second embodiment.

図11に示すように、第4例における映像フレームでは、第1例と比べて、再生チャネルCH、収録チャネルCH、およびファイル出力チャネルCHの数は変わらない。しかし、再生チャネルCH1〜CH5の時間を長くし(時間6T)、ファイル出力チャネルCH1〜CH2の時間を短くしている(時間T)。したがって、各再生チャネルCHに割り当てられる時間は時間T+T/5であり、各ファイル出力チャネルCHに割り当てられる時間は時間Tである。1回のノーマルリードまたは1回のリトライリードに必要な時間は時間T/5であるため、各再生チャネルCHでは1回のノーマルリードおよび5回のリトライリードが実行され得る。一方、各ファイル出力チャネルCHでは1回のノーマルリードおよび2回のリトライリードが実行され得る。   As shown in FIG. 11, in the video frame in the fourth example, the number of reproduction channels CH, recording channels CH, and file output channels CH does not change compared to the first example. However, the time of the reproduction channels CH1 to CH5 is lengthened (time 6T), and the time of the file output channels CH1 to CH2 is shortened (time T). Therefore, the time allocated to each reproduction channel CH is time T + T / 5, and the time allocated to each file output channel CH is time T. Since the time required for one normal read or one retry read is time T / 5, one normal read and five retry reads can be executed in each reproduction channel CH. On the other hand, one normal read and two retry reads can be executed in each file output channel CH.

すなわち、図7および図11に示すように、各ファイル出力チャネルCHのリトライリードの回数を減らすことで、1個の再生チャネルCHに割り当てられる時間が長くなる。これにより、1個の再生チャネルCHで行われ得るリトライリードの回数を増やしている。   That is, as shown in FIG. 7 and FIG. 11, the time allocated to one reproduction channel CH becomes longer by reducing the number of retry reads of each file output channel CH. This increases the number of retry reads that can be performed on one reproduction channel CH.

(第2実施形態における効果)
上記第2実施形態によれば、第1実施形態と同様の効果を得ることができる。
(Effect in 2nd Embodiment)
According to the said 2nd Embodiment, the effect similar to 1st Embodiment can be acquired.

また、第2実施形態によれば、映像フレーム内のリードが再生チャネルであるかファイル出力チャネルであるかに応じて、それぞれのリトライリードの回数が決定される。リトライリード制御回路450は、リードが再生チャネルである場合にリトライリードの回数を増やし、リードがファイル出力チャネルである場合にリトライリードの回数を減らす。これにより、ビデオサーバ装置のリード機能として、重要性の高い再生の信頼性を向上させることができる。   According to the second embodiment, the number of retry reads is determined according to whether the read in the video frame is a reproduction channel or a file output channel. The retry read control circuit 450 increases the number of retry reads when the read is a reproduction channel, and decreases the number of retry reads when the read is a file output channel. As a result, it is possible to improve the reliability of highly important reproduction as a read function of the video server device.

<第3実施形態>
以下に図12および図13を用いて、第3実施形態に係るビデオサーバ装置について説明する。なお、第3実施形態において、上記第1実施形態と同様の点については説明を省略し、主に異なる点について説明する。
<Third Embodiment>
Hereinafter, a video server device according to the third embodiment will be described with reference to FIGS. 12 and 13. Note that in the third embodiment, a description of the same points as in the first embodiment will be omitted, and different points will mainly be described.

(第3実施形態における構成およびリード)
第3実施形態において、上記第1実施形態と異なる点は、映像フレーム内における再生チャネルがオンエアチャネルであるかプレビューチャネルであるかに応じて、これらのリトライリードの回数を可変制御する点である。なお、オンエアチャネルとは、実際の放送で用いられるチャネルである。一方、プレビューチャネルとは、収録素材の確認用として用いられるチャネルである。
(Configuration and Lead in Third Embodiment)
The third embodiment is different from the first embodiment in that the number of retry reads is variably controlled depending on whether the playback channel in the video frame is an on-air channel or a preview channel. . The on-air channel is a channel used in actual broadcasting. On the other hand, the preview channel is a channel used for confirming recorded material.

リトライリード制御回路450は、映像処理において、映像フレーム内における再生チャネルがオンエアチャネルであるかプレビューチャネルであるかに応じて、それぞれのリトライリードの回数を決定する。リトライリード制御回路450は、再生チャネルがオンエアチャネルである場合にリトライリードの回数を増やし、再生チャネルがプレビューチャネルである場合にリトライリードの回数を減らす。すなわち、同一映像フレーム内において(時分割多重化された状態において)、オンエアチャネルのリトライリードの回数はプレビューチャネルのリトライリードの回数よりも多くなるように設定される。したがって、同一映像フレーム内の異なる再生チャネル間で、リトライリードの回数が異なる。これは、再生チャネルのうち、プレビューチャネルよりもオンエアチャネルのほうが重要度が高いためである。すなわち、プレビューチャネルよりもオンエアチャネルのほうが、高い信頼性を必要とするためである。   In the video processing, the retry read control circuit 450 determines the number of retry reads depending on whether the playback channel in the video frame is an on-air channel or a preview channel. The retry read control circuit 450 increases the number of retry reads when the playback channel is an on-air channel, and decreases the number of retry reads when the playback channel is a preview channel. That is, in the same video frame (in a time-division multiplexed state), the number of on-air channel retry reads is set to be greater than the number of preview channel retry reads. Therefore, the number of retry reads differs between different playback channels in the same video frame. This is because the on-air channel of the playback channels is more important than the preview channel. That is, the on-air channel requires higher reliability than the preview channel.

図12は、第3実施形態に係るビデオサーバ装置10におけるリトライリード回数決定シーケンス(図5のステップS21)を示すフローチャートである。   FIG. 12 is a flowchart showing a retry read number determination sequence (step S21 in FIG. 5) in the video server device 10 according to the third embodiment.

図12に示すように、まず、ステップS51において、リトライリード制御回路450により、映像フレーム内における再生チャネルがオンエアチャネルであるかプレビューチャネルであるかが判断される。   As shown in FIG. 12, first, in step S51, the retry read control circuit 450 determines whether the playback channel in the video frame is an on-air channel or a preview channel.

ステップS51において再生チャネルがオンエアチャネルである場合、ステップS52においてリトライリード制御回路450によりオンエアチャネルにおけるリトライリード回数がN回であると決定される。一方、ステップS51において再生チャネルがプレビューチャネル場合、ステップS53においてリトライリード制御回路450によりプレビューチャネルにおけるリトライリード回数がM回であると決定される。ここで、N>Mである。   If the playback channel is an on-air channel in step S51, the retry read control circuit 450 determines that the number of retry reads in the on-air channel is N in step S52. On the other hand, if the playback channel is a preview channel in step S51, the retry read control circuit 450 determines that the number of retry reads in the preview channel is M in step S53. Here, N> M.

以下に、図13および第1実施形態で示した図7を用いて、第3実施形態に係るリトライリード回数決定シーケンスについて詳説する。   The retry read number determination sequence according to the third embodiment will be described in detail below with reference to FIG. 13 and FIG. 7 shown in the first embodiment.

図13は、第3実施形態に係るビデオサーバ装置10による映像処理の映像フレームの第5例を示す図である。図13において、再生チャネルCH1はオンエアチャネルであり、再生チャネルCH5はプレビューチャネルである。   FIG. 13 is a diagram illustrating a fifth example of a video frame of video processing by the video server device 10 according to the third embodiment. In FIG. 13, the reproduction channel CH1 is an on-air channel, and the reproduction channel CH5 is a preview channel.

図13に示すように、第5例における映像フレームでは、第1例と比べて、再生チャネルCH、収録チャネルCH、およびファイル出力チャネルCHの数は変わらない。しかし、再生チャネルCH1の時間を長くし(時間T+T/2)、再生チャネルCH5の時間を短くしている(時間T/2)。1回のノーマルリードまたは1回のリトライリードに必要な時間は時間T/5であるため、再生チャネルCH1では1回のノーマルリードおよび6回のリトライリードが実行され得る。一方、再生チャネルCH5では1回のノーマルリードおよび2回のリトライリードが実行され得る。   As shown in FIG. 13, in the video frame in the fifth example, the number of playback channels CH, recording channels CH, and file output channels CH does not change compared to the first example. However, the time of the reproduction channel CH1 is lengthened (time T + T / 2), and the time of the reproduction channel CH5 is shortened (time T / 2). Since the time required for one normal read or one retry read is time T / 5, one normal read and six retry reads can be executed on the reproduction channel CH1. On the other hand, one normal read and two retry reads can be executed on the reproduction channel CH5.

すなわち、図7および図13に示すように、プレビューチャネルである再生チャネルCH5のリトライリード回数を減らすことで、オンエアチャネルである再生チャネルCH1に割り当てられる時間が長くなる。これにより、再生チャネルCH1で行われ得るリトライリードの回数を増やしている。   That is, as shown in FIGS. 7 and 13, by reducing the number of retry reads of the reproduction channel CH5 that is a preview channel, the time allocated to the reproduction channel CH1 that is an on-air channel becomes longer. This increases the number of retry reads that can be performed on the reproduction channel CH1.

(第3実施形態における効果)
上記第3実施形態によれば、第1実施形態と同様の効果を得ることができる。
(Effect in 3rd Embodiment)
According to the said 3rd Embodiment, the effect similar to 1st Embodiment can be acquired.

また、第3実施形態によれば、映像フレーム内における再生チャネルがオンエアチャネルであるかプレビューチャネルであるかに応じて、それぞれのリトライリードの回数が決定される。リトライリード制御回路450は、再生チャネルがオンエアチャネルである場合にリトライリードの回数を増やし、再生チャネルがプレビューチャネルである場合にリトライリードの回数を減らす。これにより、再生チャネルのうち、重要性の高いオンエアチャネルの信頼性を向上させることができる。   According to the third embodiment, the number of retry reads is determined according to whether the playback channel in the video frame is an on-air channel or a preview channel. The retry read control circuit 450 increases the number of retry reads when the playback channel is an on-air channel, and decreases the number of retry reads when the playback channel is a preview channel. Thereby, it is possible to improve the reliability of the on-air channel having high importance among the reproduction channels.

<第4実施形態>
以下に図14を用いて、第4実施形態に係るビデオサーバ装置について説明する。なお、第4実施形態において、上記第1実施形態と同様の点については説明を省略し、主に異なる点について説明する。
<Fourth embodiment>
The video server apparatus according to the fourth embodiment will be described below with reference to FIG. Note that in the fourth embodiment, a description of the same points as in the first embodiment will be omitted, and different points will mainly be described.

(第4実施形態における構成およびリード)
第4実施形態において、上記第1実施形態と異なる点は、NANDフラッシュメモリであるメモリ500の各種情報に応じてリトライリードの回数を可変制御する点である。これらの各種情報はメモリブロックBLK単位で管理される。
(Configuration and Lead in Fourth Embodiment)
The fourth embodiment is different from the first embodiment in that the number of retry reads is variably controlled according to various information of the memory 500 that is a NAND flash memory. These various types of information are managed in units of memory blocks BLK.

CPU410は、メモリ500におけるメモリブロックBLK単位の各種情報を記憶する。各種情報は、例えば以前に実行されたライト回数およびリード回数(ノーマルリード回数およびリトライリード回数)等である。そして、CPU410は、リード時においてリードコマンドとともにこれらの情報をメモリコントローラ400に出力する。   The CPU 410 stores various types of information in units of memory blocks BLK in the memory 500. The various types of information include, for example, the number of times of writing and the number of times of reading (the number of times of normal reading and the number of retry readings) executed previously. Then, the CPU 410 outputs the information together with the read command to the memory controller 400 at the time of reading.

リトライリード制御回路450は、メモリブロックBLKに以前に実行されたライト回数またはリード回数に応じて、そのメモリブロックBLKのリトライリードの回数を決定する。リトライリード制御回路450は、メモリブロックBLKに実行されたライト回数またはリード回数が少ない場合にそのメモリブロックBLKのリトライリードの回数を減らし、メモリブロックBLKに実行されたライト回数またはリード回数が多い場合にそのメモリブロックBLKのリトライリードの回数を増やす。これは、実行されたライト回数またはリード回数が多いほどそのメモリブロックBLKのリード時にビットエラーが起きる確率が高くなるためであり、このようなメモリブロックBLKに対して多くのリトライリードが必要になるためである。   The retry read control circuit 450 determines the number of times of retry reading of the memory block BLK according to the number of times of writing or reading previously executed on the memory block BLK. The retry read control circuit 450 reduces the number of retry reads of the memory block BLK when the number of writes or reads performed on the memory block BLK is small, and the number of writes or reads performed on the memory block BLK is large. In addition, the number of retry reads of the memory block BLK is increased. This is because the probability of a bit error occurring when the memory block BLK is read increases as the number of executed writes or reads increases, and many retry reads are required for such a memory block BLK. Because.

図14は、第4実施形態に係るビデオサーバ装置10におけるリトライリード回数決定シーケンス(図5のステップS21)を示すフローチャートである。   FIG. 14 is a flowchart showing a retry read number determination sequence (step S21 in FIG. 5) in the video server device 10 according to the fourth embodiment.

図14に示すように、まず、ステップS61において、リトライリード制御回路450により、実行されたライト回数またはリード回数が所定回数以下であるか否かが判断される。   As shown in FIG. 14, first, in step S61, the retry read control circuit 450 determines whether or not the number of executed writes or the number of reads is equal to or less than a predetermined number.

ステップS61においてライト回数またはリード回数が所定回数より多い場合、ステップS62においてリトライリード制御回路450によりリトライリードの回数がN回であると決定される。一方、ステップS61においてライト回数またはリード回数が所定回数以下である場合、ステップS63においてリトライリード制御回路450によりリトライリードの回数がM回であると決定される。ここで、N>Mである。   If the number of writes or the number of reads is greater than the predetermined number in step S61, the retry read control circuit 450 determines that the number of retry reads is N in step S62. On the other hand, if the number of writes or the number of reads is equal to or less than the predetermined number in step S61, the retry read control circuit 450 determines that the number of retry reads is M in step S63. Here, N> M.

(第4実施形態における効果)
上記第4実施形態によれば、第1実施形態と同様の効果を得ることができる。
(Effect in 4th Embodiment)
According to the said 4th Embodiment, the effect similar to 1st Embodiment can be acquired.

また、第4実施形態によれば、メモリ500(メモリブロックBLK)に以前に実行されたライト回数またはリード回数に応じて、リトライリードの回数が決定される。リトライリード制御回路450は、ライト回数またはリード回数が所定回数より多い場合にリトライリードの回数を増やし、ライト回数またはリード回数が所定回数以下である場合にリトライリードの回数を減らす。これにより、ライト回数またはリード回数が多いことによってビットエラーが起きる確率が高いメモリブロックBLKに対して、リトライリードを多くすることができる。   Further, according to the fourth embodiment, the number of retry reads is determined according to the number of times of writing or reading performed previously in the memory 500 (memory block BLK). The retry read control circuit 450 increases the number of retry reads when the number of writes or the number of reads is greater than a predetermined number, and reduces the number of retry reads when the number of writes or the number of reads is equal to or less than the predetermined number. As a result, it is possible to increase the retry read for the memory block BLK that has a high probability of causing a bit error due to a large number of writes or reads.

なお、実行されたライト回数およびリード回数に限らず、実行された消去回数またはリトライリード発生頻度に応じて、リトライリードの回数を可変制御してもよい。この場合、消去回数が多い場合にリトライリードの回数を増やし、消去回数が少ない場合にリトライリードの回数を減らす。また、リトライリード発生頻度が多い場合にリトライリードの回数を増やし、リトライリード発生頻度が少ない場合にリトライリードの回数を減らす。   Note that the number of retry reads may be variably controlled according to the number of erases performed or the frequency of occurrence of retry reads, not limited to the number of performed writes and the number of reads. In this case, the retry read count is increased when the erase count is large, and the retry read count is decreased when the erase count is small. Further, the number of retry reads is increased when the retry read frequency is high, and the retry read frequency is decreased when the retry read frequency is low.

<第5実施形態>
以下に図15乃至図17を用いて、第5実施形態に係るビデオサーバ装置について説明する。第5実施形態は、第4実施形態の変形例である。なお、第5実施形態において、上記第4実施形態と同様の点については説明を省略し、主に異なる点について説明する。
<Fifth Embodiment>
The video server device according to the fifth embodiment will be described below with reference to FIGS. 15 to 17. The fifth embodiment is a modification of the fourth embodiment. Note that in the fifth embodiment, a description of the same points as in the fourth embodiment will be omitted, and different points will mainly be described.

(第5実施形態における構成およびリード)
第5実施形態において、上記第4実施形態と異なる点は、メモリ500の各種情報としてライトのビジー時間またはノーマルリードのビジー時間を用いる点である。
(Configuration and lead in the fifth embodiment)
The fifth embodiment is different from the fourth embodiment in that a write busy time or a normal read busy time is used as various information in the memory 500.

リトライリード制御回路450は、ライトのビジー時間またはノーマルリードのビジー時間に応じて、リトライリードの回数を決定する。リトライリード制御回路450は、ノーマルリードのビジー時間が長い場合にリトライリードの回数を減らし、ノーマルリードのビジー時間が短い場合にそのメモリブロックBLKのリトライリードの回数を増やす。また、リトライリード制御回路450は、ライトのビジー時間が長い場合にリトライリードの回数を減らし、ライトのビジー時間が短い場合にそのメモリブロックBLKのリトライリードの回数を増やす。   The retry read control circuit 450 determines the number of retry reads according to the write busy time or the normal read busy time. The retry read control circuit 450 decreases the number of retry reads when the normal read busy time is long, and increases the number of retry reads of the memory block BLK when the normal read busy time is short. The retry read control circuit 450 reduces the number of retry reads when the write busy time is long, and increases the number of retry reads of the memory block BLK when the write busy time is short.

図15は、第5実施形態に係るビデオサーバ装置10におけるリトライリード回数決定シーケンス(図5のステップS21)を示すフローチャートである。   FIG. 15 is a flowchart showing a retry read number determination sequence (step S21 in FIG. 5) in the video server device 10 according to the fifth embodiment.

図15に示すように、まず、ステップS71において、リトライリード制御回路450により、ライトのビジー時間またはノーマルリードのビジー時間が所定時間以下であるか否かが判断される。   As shown in FIG. 15, first, in step S71, the retry read control circuit 450 determines whether or not the write busy time or the normal read busy time is equal to or shorter than a predetermined time.

ステップS71においてライトのビジー時間またはノーマルリードのビジー時間が所定時間以下である場合、ステップS72においてリトライリード制御回路450によりリトライリードの回数がN回であると決定される。一方、ステップS71においてライトのビジー時間またはノーマルリードのビジー時間が所定時間より多い場合、ステップS73においてリトライリード制御回路450によりリトライリードの回数がM回であると決定される。ここで、N>Mである。   If the write busy time or the normal read busy time is equal to or shorter than the predetermined time in step S71, the retry read control circuit 450 determines that the number of retry reads is N in step S72. On the other hand, if the write busy time or normal read busy time is longer than the predetermined time in step S71, the retry read control circuit 450 determines that the number of retry reads is M in step S73. Here, N> M.

以下に、図16および図17を用いて、第5実施形態に係るリトライリード回数決定シーケンスについて詳説する。   The retry read number determination sequence according to the fifth embodiment will be described in detail below with reference to FIGS. 16 and 17.

図16および図17はそれぞれ、第5実施形態に係るビデオサーバ装置10におけるメモリコントローラ400に入力されるコマンドおよびレディー/ビジー状態の第1例および第2例を示す図である。ここでは、再生チャネルCH1におけるリード(ノーマルリードおよびリトライリード)のレディー/ビジー状態を示している。   FIGS. 16 and 17 are diagrams showing a first example and a second example of commands and a ready / busy state input to the memory controller 400 in the video server device 10 according to the fifth embodiment, respectively. Here, the read / busy read / normal read / retry read state is shown.

なお、メモリコントローラ400のレディー状態とは、動作の待機中であり、コマンドやデータを受け付ける状態である。また、ビジー状態とは、コマンドに従った動作中であり、コマンドやデータを受け付けない状態である。   Note that the ready state of the memory controller 400 is a state of waiting for an operation and receiving a command or data. The busy state is a state in which an operation according to a command is being performed and a command or data is not accepted.

図16に示すように、メモリコントローラ400は、レディー状態(Hレベル)においてノーマルコマンドを受信すると、時刻t1においてビジー状態(Lレベル)となってノーマルリードを実行する。メモリコントローラ400は、ノーマルリードが終了すると、時刻t2においてレディー状態となる。   As shown in FIG. 16, when receiving a normal command in the ready state (H level), the memory controller 400 becomes busy (L level) at time t1 and executes normal read. When the normal read is completed, the memory controller 400 enters a ready state at time t2.

その後、メモリコントローラ400は、レディー状態においてリトライリードコマンドを受信すると、時刻t4においてビジー状態となってリトライリード1を実行する。そして、リトライリード1が終了すると、時刻t5においてレディー状態となる。その後、同様に、リトライリード2〜5が実行される。このように本例では、再生チャネルCH1に割り当てられた時間内(時刻t13までの間)に5回のリトライリードが実行される。より具体的には、リトライリード1は時刻t4〜t5、リトライリード2は時刻t6〜t7、リトライリード3は時刻t8〜t9、リトライリード4は時刻t10〜t11、リトライリード5は時刻t12〜t13において実行される。   Thereafter, when receiving a retry read command in the ready state, the memory controller 400 becomes busy at time t4 and executes retry read 1. When retry read 1 is completed, the ready state is entered at time t5. Thereafter, similarly, retry leads 2 to 5 are executed. As described above, in this example, five retry reads are executed within the time allocated to the reproduction channel CH1 (until time t13). More specifically, the retry lead 1 is time t4 to t5, the retry lead 2 is time t6 to t7, the retry lead 3 is time t8 to t9, the retry lead 4 is time t10 to t11, and the retry lead 5 is time t12 to t13. Executed in

NANDフラッシュメモリのデータシートには、ビジー時間のTYP(typical)およびMAXの値が記載されている。通常、1個のチャネルにおけるライト/リード(収録/再生)の処理時間は、ビジー時間のMAXの値を用いて設定される。しかし、実際の動作において、ビジー時間はTYP値程度であるため、ビジー時間がMAX値まで到達することはほとんどない。このため、1個のチャネルにおける収録/再生の処理時間は、設定された時間よりも短くなる。そこで、本例では、ライト/リードのビジー時間がTYP値程度の場合に、リトライリードの回数を多くする。   The NAND flash memory data sheet includes busy time TYP (typical) and MAX values. Usually, the processing time for writing / reading (recording / reproducing) in one channel is set using the MAX value of the busy time. However, in the actual operation, the busy time is about the TYP value, so the busy time hardly reaches the MAX value. For this reason, the recording / playback processing time for one channel is shorter than the set time. Therefore, in this example, when the write / read busy time is about the TYP value, the number of retry reads is increased.

図16に示すように、第1例では、ノーマルリードのビジー時間が、MAX値(時刻t3)まで到達することなく、TYP値(時刻t2)で終了している。このため、その後のリトライリード1のビジー状態が時刻t4から開始される。その結果、再生チャネルCH1に割り当てられた時刻t13までの間に、5回のリトライリードが実行され得る。   As shown in FIG. 16, in the first example, the normal read busy time ends at the TYP value (time t2) without reaching the MAX value (time t3). For this reason, the subsequent busy state of the retry lead 1 is started from time t4. As a result, five retry reads can be executed until time t13 assigned to the reproduction channel CH1.

一方、図17に示すように、第2例では、ノーマルリードのビジー時間が、MAX値(時刻t3)まで到達して終了している。このため、その後のリトライリード1のビジー状態が時刻t6から開始される。その結果、再生チャネルCH1に割り当てられた時刻t13までの間に、4回のリトライリードが実行され得る。   On the other hand, as shown in FIG. 17, in the second example, the normal read busy time reaches the MAX value (time t3) and ends. For this reason, the subsequent busy state of the retry lead 1 is started from time t6. As a result, four retry reads can be executed until time t13 assigned to the reproduction channel CH1.

すなわち、図16および図17に示すように、再生チャネルにおいて、ノーマルリードのビジー時間が増加すると、その後のリトライリードに割り当てられる時間が短くなる。したがって、本例では、ノーマルリードのビジー時間が増加した場合、リトライリードが再生チャネルの処理時間に収まるように、リトライリードの回数を減らしている。   That is, as shown in FIGS. 16 and 17, when the normal read busy time is increased in the playback channel, the time allocated to the subsequent retry read is shortened. Therefore, in this example, when the normal read busy time increases, the number of retry reads is reduced so that the retry read falls within the processing time of the reproduction channel.

なお、図示はしないが、収録チャネルにおけるライトのビジー時間が増加した場合、収録チャネルに割り当てられる時間が増加するため、再生チャネルに割り当てられる時間が減少する。その結果、再生チャネルにおけるリトライリードの回数を減らすことで、再生チャネルの処理を時間内に収める。   Although not shown, when the write busy time in the recording channel increases, the time allocated to the recording channel increases, and therefore the time allocated to the reproduction channel decreases. As a result, by reducing the number of retry reads in the playback channel, the processing of the playback channel is kept in time.

(第5実施形態における効果)
上記第5実施形態によれば、ライトのビジー時間またはノーマルリードのビジー時間に応じて、リトライリードの回数が決定される。例えば、リトライリード制御回路450は、ノーマルリードのビジー時間が長い場合にリトライリードの回数を減らし、ノーマルリードのビジー時間が短い場合にリトライリードの回数を増やす。これにより、設定された再生チャネルの処理時間を有効に用いて、リトライリードを実行することができる。
(Effect in 5th Embodiment)
According to the fifth embodiment, the number of retry reads is determined in accordance with the write busy time or the normal read busy time. For example, the retry read control circuit 450 reduces the number of retry reads when the normal read busy time is long, and increases the number of retry reads when the normal read busy time is short. Thereby, retry read can be executed by effectively using the processing time of the set reproduction channel.

なお、本例では、ライトのビジー時間またはノーマルリードのビジー時間に応じて、リトライリードの回数が決定されたがこれに限らない。リトライリード自体のビジー時間に応じて、リトライリードの回数が決定されてもよい。例えば、リトライリード1のビジー時間に応じて、それ以降のリトライリードの回数が調整されてもよい。   In this example, the number of retry reads is determined according to the write busy time or the normal read busy time, but the present invention is not limited to this. The number of retry reads may be determined according to the busy time of the retry read itself. For example, the number of retry reads after that may be adjusted according to the busy time of the retry lead 1.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

10…ビデオサーバ装置、400…メモリコントローラ、500…メモリ。   DESCRIPTION OF SYMBOLS 10 ... Video server apparatus, 400 ... Memory controller, 500 ... Memory.

Claims (18)

メモリと、
前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、
を具備し、
前記メモリコントローラは、時分割多重化された複数の再生チャネルを制御し、前記再生チャネル毎に前記第1リードおよび1回以上の前記第2リードを行い、前記再生チャネル数に応じて前記再生チャネル毎の前記第2リードの回数を決定することを特徴とするビデオサーバ装置。
Memory,
A first read is performed on the first data in the memory, an ECC is performed on the first data on which the first read is performed, and an error occurs in the first data in the ECC. A memory controller for performing a second read with a variable number of times for the first data
Equipped with,
The memory controller controls a plurality of time-division multiplexed playback channels, performs the first read and the second read at least once for each playback channel, and the playback channels according to the number of playback channels A video server device that determines the number of times of the second read for each .
メモリと、
前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、
を具備し、
前記メモリコントローラは、時分割多重化された複数の再生チャネルおよび複数の収録チャネルを制御し、前記再生チャネル毎に前記第1リードおよび1回以上の前記第2リードを行い、前記収録チャネル数に応じて前記再生チャネル毎の前記第2リードの回数を決定することを特徴とするビデオサーバ装置。
Memory,
A first read is performed on the first data in the memory, an ECC is performed on the first data on which the first read is performed, and an error occurs in the first data in the ECC. A memory controller for performing a second read with a variable number of times for the first data
Comprising
The memory controller controls a plurality of reproduction channels and a plurality of recording channels that are time-division multiplexed, performs the first read and the second read at least once for each reproduction channel, and sets the number of recording channels. depending on features and be ruby Deosaba device to determine the number of the second lead of each of the playback channels.
メモリと、
前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、
を具備し、
前記メモリコントローラは、時分割多重化された複数の再生チャネルおよび複数のファイル出力チャネルを制御し、前記再生チャネル毎または前記ファイル出力チャネル毎に前記第1リードおよび1回以上の前記第2リードを行い、前記再生チャネル毎における前記第2リードの回数と前記ファイル出力チャネルにおける前記第2リードの回数とを可変にすることを特徴とするビデオサーバ装置。
Memory,
A first read is performed on the first data in the memory, an ECC is performed on the first data on which the first read is performed, and an error occurs in the first data in the ECC. A memory controller for performing a second read with a variable number of times for the first data
Comprising
The memory controller controls a plurality of reproduction channels and a plurality of file output channels that are time-division multiplexed, and performs the first read and one or more second reads for each reproduction channel or each file output channel. performed, wherein the second read count and the file the second lead, wherein the to ruby Deosaba apparatus be variable and the number of the output channel of the respective reproduction channels.
メモリと、
前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、
を具備し、
前記メモリコントローラは、時分割多重化された複数の再生チャネルを制御し、前記再生チャネル毎に前記第1リードおよび1回以上の前記第2リードを行い、前記複数の再生チャネルのうちのオンエアチャネルの前記第2リードの回数と前記複数の再生チャネルのうちのプレビューチャネルの前記第2リードの回数とを可変にすることを特徴とするビデオサーバ装置。
Memory,
A first read is performed on the first data in the memory, an ECC is performed on the first data on which the first read is performed, and an error occurs in the first data in the ECC. A memory controller for performing a second read with a variable number of times for the first data
Comprising
The memory controller controls the time division multiplexed plurality of reproduction channels, performs the first lead and one or more of the second lead in each of the reproduction channels, air channel of the plurality of reproduction channels features and to ruby Deosaba apparatus be variable and the number of the second lead of the preview channel of the number and the plurality of reproduction channels of the second lead.
メモリと、
前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、
を具備し、
前記メモリは、複数のメモリブロックを含み、
前記メモリコントローラは、前記複数のメモリブロックのうちの第1メモリブロックに対して以前に実行されたライトの回数に応じて、前記第1メモリブロックの前記第2リードの回数を決定することを特徴とするビデオサーバ装置。
Memory,
A first read is performed on the first data in the memory, an ECC is performed on the first data on which the first read is performed, and an error occurs in the first data in the ECC. A memory controller for performing a second read with a variable number of times for the first data
Comprising
The memory includes a plurality of memory blocks;
The memory controller determines the number of times of the second read of the first memory block according to the number of times of the previous write to the first memory block of the plurality of memory blocks. and be ruby Deosaba apparatus.
メモリと、
前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、
を具備し、
前記メモリは、複数のメモリブロックを含み、
前記メモリコントローラは、前記複数のメモリブロックのうちの第1メモリブロックに対して以前に実行された前記第1リードの回数に応じて、前記第1メモリブロックの前記第2リードの回数を決定することを特徴とするビデオサーバ装置。
Memory,
A first read is performed on the first data in the memory, an ECC is performed on the first data on which the first read is performed, and an error occurs in the first data in the ECC. A memory controller for performing a second read with a variable number of times for the first data
Comprising
The memory includes a plurality of memory blocks;
The memory controller determines the number of times of the second read of the first memory block according to the number of times of the first read performed previously on the first memory block of the plurality of memory blocks. features and to ruby Deosaba device that.
メモリと、
前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、
を具備し、
前記メモリは、複数のメモリブロックを含み、
前記メモリコントローラは、前記複数のメモリブロックのうちの第1メモリブロックに対して以前に実行された前記第2リードの回数に応じて、前記第1メモリブロックの前記第2リードの回数を決定することを特徴とするビデオサーバ装置。
Memory,
A first read is performed on the first data in the memory, an ECC is performed on the first data on which the first read is performed, and an error occurs in the first data in the ECC. A memory controller for performing a second read with a variable number of times for the first data
Comprising
The memory includes a plurality of memory blocks;
The memory controller determines the number of times of the second read of the first memory block according to the number of times of the second read performed previously on the first memory block of the plurality of memory blocks. features and to ruby Deosaba device that.
メモリと、
前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、
を具備し、
前記メモリコントローラは、前記第1リードのビジー時間に応じて、前記第2リードの回数を決定することを特徴とするビデオサーバ装置。
Memory,
A first read is performed on the first data in the memory, an ECC is performed on the first data on which the first read is performed, and an error occurs in the first data in the ECC. A memory controller for performing a second read with a variable number of times for the first data
Comprising
The memory controller, in response to said first lead of busy time, the features and to ruby Deosaba device that the second determining the number of leads.
メモリと、
前記メモリ内の第1データに対して第1リードを行い、前記第1リードが行われた第1データに対してECCを行い、前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行うメモリコントローラと、
を具備し、
前記メモリコントローラは、前記第1リードおよび前記第2リードと時分割多重化されたライトを行い、前記ライトのビジー時間に応じて前記第2リードの回数を決定することを特徴とするビデオサーバ装置。
Memory,
A first read is performed on the first data in the memory, an ECC is performed on the first data on which the first read is performed, and an error occurs in the first data in the ECC. A memory controller for performing a second read with a variable number of times for the first data
Comprising
The memory controller, said first perform read and the second lead and the time-division multiplexed lights, features and to ruby Deosaba determining the number of the second lead in response to the busy time of the light apparatus.
メモリ内の第1データに対して第1リードを行い、  Perform a first read on the first data in the memory;
前記第1リードが行われた第1データに対してECCを行い、  ECC is performed on the first data subjected to the first read,
前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行い、  When an error occurs in the first data in the ECC, a second read that is variable in number of times is performed on the first data in the memory;
時分割多重化された複数の再生チャネルを制御し、前記再生チャネル毎に前記第1リードおよび1回以上の前記第2リードを行い、前記再生チャネル数に応じて前記再生チャネル毎の前記第2リードの回数を決定することを特徴とするメモリのリード方法。  Controls a plurality of time-division multiplexed playback channels, performs the first read and one or more second reads for each playback channel, and performs the second read for each playback channel according to the number of playback channels. A method of reading a memory, wherein the number of reads is determined.
メモリ内の第1データに対して第1リードを行い、
前記第1リードが行われた第1データに対してECCを行い、
前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行い、
時分割多重化された複数の再生チャネルおよび複数の収録チャネルを制御し、前記再生チャネル毎に前記第1リードおよび1回以上の前記第2リードを行い、前記収録チャネル数に応じて前記再生チャネル毎の前記第2リードの回数を決定することを特徴とするメモリのリード方法。
Perform a first read on the first data in the memory;
ECC is performed on the first data subjected to the first read,
When an error occurs in the first data in the ECC, a second read that is variable in number of times is performed on the first data in the memory;
A plurality of playback channels and a plurality of recording channels that are time-division multiplexed are controlled, the first read and the second read at least once are performed for each of the playback channels, and the playback channels according to the number of recording channels A method of reading a memory , comprising determining the number of times of the second read for each .
メモリ内の第1データに対して第1リードを行い、
前記第1リードが行われた第1データに対してECCを行い、
前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行い、
時分割多重化された複数の再生チャネルおよび複数のファイル出力チャネルを制御し、前記再生チャネル毎または前記ファイル出力チャネル毎に前記第1リードおよび1回以上の前記第2リードを行い、前記再生チャネル毎における前記第2リードの回数と前記ファイル出力チャネルにおける前記第2リードの回数とを可変にすることを特徴とするメモリのリード方法。
Perform a first read on the first data in the memory;
ECC is performed on the first data subjected to the first read,
When an error occurs in the first data in the ECC, a second read that is variable in number of times is performed on the first data in the memory;
Controlling a plurality of time-division multiplexed playback channels and file output channels, performing the first read and the second read at least once for each playback channel or each file output channel, and features and to Rume mori read method that the number of the second lead to the variable in number and the file output channel of the second lead in each.
メモリ内の第1データに対して第1リードを行い、
前記第1リードが行われた第1データに対してECCを行い、
前記ECCにおいて前記第1データにエラーが生じた場合に前記メモリ内の前記第1データに対して回数可変の第2リードを行い、
時分割多重化された複数の再生チャネルを制御し、前記再生チャネル毎に前記第1リードおよび1回以上の前記第2リードを行い、前記複数の再生チャネルのうちのオンエアチャネルの前記第2リードの回数と前記複数の再生チャネルのうちのプレビューチャネルの前記第2リードの回数とを可変にすることを特徴とするメモリのリード方法。
Perform a first read on the first data in the memory;
ECC is performed on the first data subjected to the first read,
When an error occurs in the first data in the ECC, a second read that is variable in number of times is performed on the first data in the memory;
Controls a plurality of time-division multiplexed playback channels, performs the first lead and the second lead at least once for each playback channel, and the second lead of the on-air channel of the plurality of playback channels features and to Rume mori read method that the number of and the number of the second lead of the preview channel of the plurality of reproduction channels variable.
前記メモリに含まれる複数のメモリブロックのうちの第1メモリブロックに対して以前に実行されたライト回数に応じて、前記第1メモリブロックの前記第2リードの回数を決定することを特徴とする請求項10乃至13のうち何れか1項に記載のメモリのリード方法。 The number of times of the second read of the first memory block is determined according to the number of times of writing previously performed on the first memory block of the plurality of memory blocks included in the memory. The method for reading a memory according to claim 10 . 前記メモリに含まれる複数のメモリブロックのうちの第1メモリブロックに対して以前に実行された前記第1リード回数に応じて、前記第1メモリブロックの前記第2リードの回数を決定することを特徴とする請求項10乃至13のうち何れか1項に記載のメモリのリード方法。 Determining the number of times of the second read of the first memory block according to the number of times of the first read performed previously on the first memory block of the plurality of memory blocks included in the memory. 14. The memory reading method according to claim 10, wherein the memory reading method is a memory reading method. 前記メモリに含まれる複数のメモリブロックのうちの第1メモリブロックに対して以前に実行された前記第2リード回数に応じて、前記第1メモリブロックの前記第2リードの回数を決定することを特徴とする請求項10乃至13のうち何れか1項に記載のメモリのリード方法。 Determining the number of times of the second read of the first memory block according to the number of times of the second read performed previously on the first memory block of the plurality of memory blocks included in the memory. 14. The memory reading method according to claim 10, wherein the memory reading method is a memory reading method. 前記第1リードのビジー時間に応じて、前記第2リードの回数を決定することを特徴とする請求項10乃至13のうち何れか1項に記載のメモリのリード方法。 In response to said first lead of busy time, before SL any memory read method according to one of claims 10 to 13, characterized by determining the number of the second lead. 前記第1リードおよび前記第2リードと時分割多重化されたライトを行い、前記ライトのビジー時間に応じて前記第2リードの回数を決定することを特徴とする請求項10乃至13のうち何れか1項に記載のメモリのリード方法。 14. The method according to claim 10 , wherein the time division multiplexed write is performed with the first read and the second read, and the number of times of the second read is determined according to a busy time of the write. 2. A memory reading method according to claim 1.
JP2016028203A 2016-02-17 2016-02-17 Video server device and memory read method Active JP6479697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016028203A JP6479697B2 (en) 2016-02-17 2016-02-17 Video server device and memory read method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016028203A JP6479697B2 (en) 2016-02-17 2016-02-17 Video server device and memory read method

Publications (2)

Publication Number Publication Date
JP2017146793A JP2017146793A (en) 2017-08-24
JP6479697B2 true JP6479697B2 (en) 2019-03-06

Family

ID=59682276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016028203A Active JP6479697B2 (en) 2016-02-17 2016-02-17 Video server device and memory read method

Country Status (1)

Country Link
JP (1) JP6479697B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6884675B2 (en) * 2017-09-20 2021-06-09 株式会社東芝 Video server and broadcasting system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000100087A (en) * 1998-09-18 2000-04-07 Sony Corp Information reproducing apparatus, information reproducing method, information recording apparatus, and information recording method
JP2009212794A (en) * 2008-03-04 2009-09-17 Victor Co Of Japan Ltd Photography signal coding recorder
US10310770B2 (en) * 2015-11-05 2019-06-04 Hitachi, Ltd. Nonvolatile memory device, and storage apparatus having nonvolatile memory device

Also Published As

Publication number Publication date
JP2017146793A (en) 2017-08-24

Similar Documents

Publication Publication Date Title
KR101659888B1 (en) Flash memory control method, controller and electronic apparatus
US7562183B2 (en) Flash memory system and data writing method thereof
US20160070507A1 (en) Memory system and method of controlling memory device
US9076531B2 (en) Memory device and redundancy method thereof
US9348694B1 (en) Detecting and managing bad columns
JP6131207B2 (en) Semiconductor memory device
US9665426B2 (en) Semiconductor device and reading method
US10186302B2 (en) Semiconductor systems performing double-write operations and methods of operating the same
US10062418B2 (en) Data programming method and memory storage device
KR20220075448A (en) Apparatuses and methods including error correction code organization
KR102667783B1 (en) Object storage system managing error-correction-code-related data in key-value mapping information
JP2001332096A (en) Nonvolatile semiconductor memory and recording / reproducing apparatus using nonvolatile semiconductor memory
US20210081276A1 (en) Memory system
CN101796498A (en) memory system
US9928137B2 (en) Data storage device and error correction method
JP2020047353A (en) Memory system
JP6479697B2 (en) Video server device and memory read method
US10360986B1 (en) Memory management method and storage controller
JP6479638B2 (en) Video server apparatus and data writing / reading method
US9972390B2 (en) Two pass memory programming method, memory control circuit unit and memory storage apparatus
KR20200015283A (en) Error correcting circuit performing error corretion on user data and error correcting method using thereof
US11928026B2 (en) Memory and operation method of memory
CN119132368A (en) Flash memory controller, flash memory device and corresponding method
US9104596B2 (en) Memory system
US12327596B2 (en) Semiconductor storage device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170904

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20170905

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181009

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190206

R150 Certificate of patent or registration of utility model

Ref document number: 6479697

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350