JP2006135815A - Error detection encoding circuit, data recorder having the error detection encoding circuit and data recording method - Google Patents

Error detection encoding circuit, data recorder having the error detection encoding circuit and data recording method Download PDF

Info

Publication number
JP2006135815A
JP2006135815A JP2004324398A JP2004324398A JP2006135815A JP 2006135815 A JP2006135815 A JP 2006135815A JP 2004324398 A JP2004324398 A JP 2004324398A JP 2004324398 A JP2004324398 A JP 2004324398A JP 2006135815 A JP2006135815 A JP 2006135815A
Authority
JP
Japan
Prior art keywords
data
error detection
storage unit
encryption key
decrypted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004324398A
Other languages
Japanese (ja)
Inventor
Yasunori Kano
靖紀 加野
Hiroshi Uchida
裕志 内田
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2004324398A priority Critical patent/JP2006135815A/en
Publication of JP2006135815A publication Critical patent/JP2006135815A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Error Detection And Correction (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an error detection encoding circuit capable of preventing wrong data from being outputted and wrong data record processing based on this output, a data recorder having the error detection encoding circuit and a data recording method. <P>SOLUTION: A storing part stores error detection encoded data, when the data stored in the storing part are sequentially read and outputted, the data stored in the storing part are encrypted by using an encryption key, the encrypted data are stored in the storing part, the encrypted data read from the storing part are decrypted by using the encryption key, the correctness of the data is determined on the basis of the decrypted data, and the decrypted data are outputted when the data are correct. The encryption key is configured by using unused bits in the data to be encrypted. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、エラー検出符号化回路及びこのエラー検出符号化回路を有するデータ記録装置及びデータ記録方法に関するものである。   The present invention relates to an error detection encoding circuit, a data recording apparatus having the error detection encoding circuit, and a data recording method.

従来、光ディスクなどの記録媒体にデータの記録を行う場合には、CIRC(Cross Interleaved Reed-Solomon Code)エンコーダなどのエラー検出符号化手段を用いてエラー検出符号化したデータを記録することにより、記録したデータの再生を正確に行えるようにしている(例えば、特許文献1参照。)。   Conventionally, when data is recorded on a recording medium such as an optical disk, the error detection encoded data such as a CIRC (Cross Interleaved Reed-Solomon Code) encoder is used to record the data. The reproduced data can be accurately reproduced (see, for example, Patent Document 1).

このようなCIRCエンコーダなどのエラー検出符号化手段では、エラー検出符号化したデータをSRAM(Static Random Access Memory)などで構成した記憶部に一次記憶させ、この記憶部からエラー検出符号化されたデータを逐次読出し、データ書込手段によって記録媒体への書込みを行っている。
特開2003−243993号公報
In such an error detection encoding means such as a CIRC encoder, the error detection encoded data is temporarily stored in a storage unit configured by SRAM (Static Random Access Memory) or the like, and the error detection encoded data is stored from this storage unit. Are sequentially read and written to the recording medium by the data writing means.
JP 2003-243993 A

しかしながら、上記したようにエラー検出符号化手段の記憶部に記憶されたデータを読出して記録媒体へのデータの書込みを行わせる場合に、記憶部における誤ったアドレスのデータが読出される場合があり、誤ったデータに基づいて記録媒体への書込処理が行われるおそれがあった。   However, when the data stored in the storage unit of the error detection encoding unit is read and the data is written to the recording medium as described above, data at an incorrect address in the storage unit may be read out. There is a risk that the writing process to the recording medium may be performed based on erroneous data.

特に、このような誤ったアドレスのデータの読出しは、記録媒体へのデータの書込処理における開始時に生じる場合が多く、フレームインフォメーションと呼ばれるデータの書込処理時に発生した場合には、記録媒体に誤ったフレームインフォメーションの書込みが行われることにより、記録媒体からのデータの正しい再生が行えなくなるおそれがあった。   In particular, reading of data at such an incorrect address often occurs at the start of the data writing process to the recording medium, and if it occurs during the data writing process called frame information, If incorrect frame information is written, there is a possibility that correct reproduction of data from the recording medium cannot be performed.

本発明のエラー検出符号化回路では、記録媒体に記録するデータにエラー検出符号化を行うエラー検出符号化回路であって、エラー検出符号化したデータを記憶部で記憶するとともに、この記憶部からデータを逐次読出して出力するエラー検出符号化回路において、記憶部に記憶するデータに暗号化キーを用いて暗号化を行って、暗号化されたデータを記憶部に記憶させる暗号化部と、記憶部から読出した暗号化されたデータを暗号化キーを用いて復号化するとともに、復号化されたデータに基づいてデータの正当性を判定し、正当であった場合に復号化されたデータを出力する復号化部を有することとした。   The error detection encoding circuit of the present invention is an error detection encoding circuit that performs error detection encoding on data to be recorded on a recording medium, and stores the error detection encoded data in a storage unit. In an error detection encoding circuit that sequentially reads and outputs data, an encryption unit that encrypts data stored in the storage unit using an encryption key and stores the encrypted data in the storage unit; Decrypts the encrypted data read from the unit using the encryption key, determines the validity of the data based on the decrypted data, and outputs the decrypted data if it is valid It has decided to have the decoding part which performs.

さらに、暗号化キーは、暗号化されるデータにおける未使用ビットを用いて構成したことにも特徴を有するものである。   Furthermore, the encryption key is also characterized in that it is configured using unused bits in the data to be encrypted.

また、本発明のデータ記録装置は、エラー検出符号化したデータを記憶部で記憶するとともに、この記憶部からデータを逐次読出して出力するエラー検出符号化手段と、このエラー検出符号化手段から出力されたデータを記録媒体に記録する記録手段を有するデータ記録装置において、エラー検出符号化手段は、記憶部に記憶するデータに暗号化キーを用いて暗号化を行って、暗号化されたデータを前記記憶部に記憶させる暗号化部と、記憶部から読出した暗号化されたデータを暗号化キーを用いて復号化するとともに、復号化されたデータに基づいてデータの正当性を判定し、正当であった場合に復号化されたデータを出力する復号化部を有することとした。   The data recording apparatus of the present invention stores the error detection encoded data in the storage unit, and sequentially reads out and outputs the data from the storage unit, and outputs from the error detection encoding unit. In a data recording apparatus having a recording means for recording the recorded data on a recording medium, the error detection encoding means encrypts the data stored in the storage unit by using an encryption key, and converts the encrypted data into The encryption unit to be stored in the storage unit, and the encrypted data read from the storage unit are decrypted using the encryption key, and the validity of the data is determined based on the decrypted data. In this case, a decoding unit that outputs the decoded data is provided.

さらに、暗号化キーは、暗号化されるデータにおける未使用ビットを用いて構成したことにも特徴を有するものである。   Furthermore, the encryption key is also characterized in that it is configured using unused bits in the data to be encrypted.

また、本発明のデータ記録方法では、エラー検出符号化手段でエラー検出符号化したデータを記憶部で記憶するとともに、この記憶部からデータを読出して記録媒体に記録するデータ記録方法において、データを暗号化キーで暗号化して生成した暗号化データを記憶部に記憶し、この記憶部から読出した暗号化データを暗号化キーを用いて復号化するとともに、復号化されたデータに基づいてそのデータの正当性を判定し、正当であった場合に復号化されたデータを記録媒体に記録させることとした。   Further, in the data recording method of the present invention, in the data recording method in which the data subjected to the error detection encoding by the error detection encoding means is stored in the storage unit, and the data is read from the storage unit and recorded on the recording medium. The encrypted data generated by encrypting with the encryption key is stored in the storage unit, and the encrypted data read from the storage unit is decrypted using the encryption key, and the data is based on the decrypted data. It is decided that the decrypted data is recorded on the recording medium if it is valid.

さらに、暗号化キーは、データにおける未使用ビットを用いて構成することにも特徴を有するものである。   Furthermore, the encryption key is also characterized by being configured using unused bits in the data.

本発明では、エラー検出符号化したデータを生成して出力するエラー検出符号化回路からなるエラー検出符号化手段で、エラー検出符号化したデータを記憶部に一時的に記憶して、その後逐次出力する場合に、記憶部にはエラー検出符号化したデータであって、暗号化キーで暗号化された暗号化データを記憶させ、記憶部から読出した暗号化データを暗号化に用いた暗号化キーで復号化して、復号化したデータを出力するようにしており、特に復号化されたデータに基づいてそのデータの正当性を判定し、正当であった場合に復号化されたデータを出力するようにしていることによって、エラー検出符号化手段から出力されるデータの正当性の判定手段を設けることができる。   In the present invention, error detection encoding means comprising an error detection encoding circuit that generates and outputs error detection encoded data, the error detection encoded data is temporarily stored in a storage unit, and then sequentially output In this case, the storage unit stores the error detection encoded data that is encrypted with the encryption key, and uses the encrypted data read from the storage unit for encryption. The data is decrypted and the decrypted data is output. Especially, the legitimacy of the data is judged based on the decrypted data, and the decrypted data is output if it is valid. Thus, it is possible to provide a means for determining the validity of the data output from the error detection encoding means.

したがって、復号化されたデータに異常が存在している場合には、そのデータを出力させないことにより誤ったデータの出力を抑制して、誤動作の発生を抑制することができる。   Therefore, when there is an abnormality in the decoded data, the output of erroneous data can be suppressed by not outputting the data, and the occurrence of malfunction can be suppressed.

特に、記録媒体に所要のデータを書き込む場合に上記した判定手段によって検出される異常は、いわゆるフレームインフォメーション部分に発生することとなっているので、誤ったフレームインフォメーションに基づいた誤解釈による書込制御回路などの誤動作を抑制できる。   In particular, when the required data is written on the recording medium, the abnormality detected by the above-described determination means occurs in a so-called frame information portion, so that writing control by misinterpretation based on erroneous frame information is performed. Malfunctions such as circuits can be suppressed.

さらに、暗号化されるデータにおける未使用ビットを用いて暗号化キーを構成したことによって、この未使用ビット部分において容易に復号化されたデータの正当性の判定を行うことができ、判定手段の構成を簡潔として、高コスト化することを防止できる。   Further, since the encryption key is configured using the unused bits in the data to be encrypted, the validity of the data decrypted easily in the unused bit portion can be determined. It is possible to prevent the increase in cost by simplifying the configuration.

本発明のエラー検出符号化回路、及びこのエラー検出符号化回路を有するデータ記録装置、及びデータ記録方法では、エラー検出符号化したデータを記憶部で記憶するとともに、この記憶部からデータを逐次読出して出力する場合に、記憶部で記憶させるデータを暗号化キーを用いて暗号化しておくとともに、記憶部から暗号化されたデータを読み出した際に、暗号化に用いた暗号化キーによって復号化を行って復号化されたデータを出力しているものである。   In the error detection coding circuit of the present invention, the data recording apparatus having the error detection coding circuit, and the data recording method, the error detection coded data is stored in the storage unit, and the data is sequentially read from the storage unit. The data stored in the storage unit is encrypted using the encryption key, and when the encrypted data is read from the storage unit, it is decrypted by the encryption key used for encryption. To output the decrypted data.

特に、データを出力するために記憶部から正しく読み出されたデータは、暗号化キーを用いた復号化にともなって暗号化前のデータを正しく再現することができ、一方、記憶部から誤ったデータが読み出された場合には、暗号化キーを用いた復号化にともなって暗号化前のデータを正しく再現することがでず、正当でないデータが読み出されたことを検出し、このような正当ではないデータの出力を禁止することによって、正当なデータのみを出力可能としているものである。   In particular, data that has been correctly read from the storage unit to output data can be correctly reproduced with the decryption using the encryption key, while the data stored in the storage unit is erroneous. When data is read, the data before encryption cannot be correctly reproduced along with decryption using the encryption key, and it is detected that illegal data is read. By prohibiting the output of invalid data, only valid data can be output.

特に、暗号化キーは、暗号化されるデータにおける未使用ビットを用いて構成している。以下において、この暗号化キー、及び本実施形態における暗号化キーを用いて復号化されたデータの正当性判定の方法について詳説する。   In particular, the encryption key is configured using unused bits in the data to be encrypted. In the following, a method for determining the validity of data encrypted using this encryption key and the encryption key in this embodiment will be described in detail.

ここで、記憶部に記憶されるデータは、4ビット、8ビット、16ビットなどの所要のビット数によって1つのデータを構成しているものとする。以下においては、説明の便宜上、データは8ビットであるとする。   Here, it is assumed that the data stored in the storage unit constitutes one data with a required number of bits such as 4 bits, 8 bits, and 16 bits. In the following, for convenience of explanation, it is assumed that the data is 8 bits.

このように8ビットで構成されるデータにおいて、いずれかのビットは所要のデータを保持するデータビットとしては使用していないことがある。このようにデータビットとして使用していないビットを未使用ビットと呼んでいる。ここで、未使用ビットには「0」が格納されているとする。   In this way, in the data composed of 8 bits, any one of the bits may not be used as a data bit for holding required data. Such bits that are not used as data bits are called unused bits. Here, it is assumed that “0” is stored in the unused bits.

暗号化キーは、この未使用ビットを用いて構成しており、例えば、図1に示すように8ビットのデータにおいて、右から1番目のビット(以下、「第1ビット」と呼ぶ)と、右から3番目のビット(以下、「第3ビット」と呼ぶ)が未使用ビットである場合、暗号化キーは、「00000000」、「00000001」、「00000100」、「00000101」の4通りとなる。なお、未使用ビット以外のビットには「0」を記憶させているが、「1」を記憶させるようにしてもよい。   The encryption key is configured using these unused bits. For example, as shown in FIG. 1, in 8-bit data, the first bit from the right (hereinafter referred to as “first bit”), When the third bit from the right (hereinafter referred to as “third bit”) is an unused bit, there are four encryption keys: “00000000”, “00000001”, “00000100”, and “00000101”. . Note that “0” is stored in bits other than unused bits, but “1” may be stored.

ここで、暗号化キーもデータと同じ8ビットとしているが、暗号化及び復号化の処理の都合上、データと同じビット数としているものであり、場合によっては必ずしもデータのビット数に合わせる必要はなく、例えば第1ビットと第3ビットの2ビットで暗号化キーを構成するようにしてもよい。   Here, the encryption key has the same 8 bits as the data, but for the convenience of encryption and decryption, it has the same number of bits as the data. In some cases, it is necessary to match the number of bits of the data. For example, the encryption key may be composed of 2 bits of the first bit and the third bit.

以下において、図1に示すように、暗号化キーとして「00000100」が採用されたものとする。このとき、図1(a)に示すように、エラー検出符号化されたデータ「01100010」を暗号化キーにより暗号化して記憶部に記憶する場合には、データと暗号化キーの排他的論理和から生成した暗号化データ「01100110」を記憶部に記憶している。   In the following, it is assumed that “00000100” is adopted as the encryption key, as shown in FIG. At this time, as shown in FIG. 1A, when the data “01100010” error-encoded and encoded is stored in the storage unit using the encryption key, the exclusive OR of the data and the encryption key is stored. The encrypted data “01100110” generated from is stored in the storage unit.

そして、この記憶部から暗号化データが正しく読出された場合には、この読出された暗号化データである「01100110」と、先の暗号化キー「00000100」との排他的論理和による復号化によって、復号化データ「01100010」を生成している。   When the encrypted data is correctly read from the storage unit, the read encrypted data “01100110” and the previous encryption key “00000100” are decrypted by exclusive OR. Decrypted data “01100010” is generated.

この復号化データと、暗号化される前のデータとはどちらも「01100010」であって、記憶部から正しいデータが読み出されていることがわかる。特に、未使用ビットである第1ビットと第3ビットは「0」となっている。   The decrypted data and the data before encryption are both “01100010”, and it can be seen that correct data is read from the storage unit. In particular, the first and third bits, which are unused bits, are “0”.

一方、図1(b)に示すように、記憶部から誤ったデータとして例えば「01010010」が読出された場合であって、暗号化キー「00000100」によって暗号化されたデータの読出しを行っているものとした場合、この誤ったデータを暗号化キー「00000100」で復号化すると「01010110」となり、特に、未使用ビットのうちの第3ビットは「1」となっている。   On the other hand, as shown in FIG. 1B, for example, “01010010” is read as erroneous data from the storage unit, and the data encrypted with the encryption key “00000100” is read. In this case, when the erroneous data is decrypted with the encryption key “00000100”, it becomes “010110110”, and in particular, the third bit among the unused bits is “1”.

このように、未使用ビット部分に対しては、同一の暗号化キーを用いて暗号化と復号化とを行うと必ず「0」となることを利用し、復号化後に未使用ビット部分に「1」を検出することにより、正当でないデータが読出されたものと判定することができる。   In this way, the unused bit portion is always used as “0” when encryption and decryption are performed using the same encryption key. By detecting “1”, it can be determined that illegal data has been read.

一方、復号化後に未使用ビット部分が全て「0」である場合には、復号化されたデータは正当に読出されたデータとして出力させるようにしている。   On the other hand, when all the unused bit portions are “0” after decryption, the decrypted data is output as legitimately read data.

このように、暗号化キーを用いたデータの暗号化と復号化とを用いることによって、記憶部から読出したデータの正当性の判定を行う判定手段を構築することができる。   In this way, by using data encryption and decryption using the encryption key, it is possible to construct a determination means for determining the validity of the data read from the storage unit.

しかも、データの未使用ビットを用いて暗号化キーを構成することにより、復号化されたデータの正当性の判定を極めて容易に行うことができ、判定手段の構成を簡潔として、高コスト化することを防止できる。   Moreover, by configuring the encryption key using unused bits of data, it is possible to determine the validity of the decrypted data very easily, simplifying the configuration of the determination means and increasing the cost. Can be prevented.

最後に、上記したように暗号化キーによる暗号化と復号化を行いながら記憶部へのデータの書込み、及び記憶部からのデータの読出しを行っているエラー検出符号化回路を有するデータ記録装置について説明する。ここで、データ記録装置は書込み可能とした光ディスクへのデータ書込みを行うものであり、エラー検出符号化手段はCIRCエンコーダで構成しているものである。   Finally, as described above, a data recording apparatus having an error detection encoding circuit that writes data to the storage unit and reads data from the storage unit while performing encryption and decryption using an encryption key. explain. Here, the data recording apparatus performs data writing to an optical disc that is writable, and the error detection encoding means is constituted by a CIRC encoder.

図2に示すように、本実施形態のデータ記録装置Aは、光ディスク11に書込むデータを記憶しているハードディスクなどのデータ記憶部30と、このデータ記憶部30から読出したデータを記録媒体の光ディスク11に適合させたデータ形式に符号化するエンコーダ部20と、このエンコーダ部20で符号化したデータを光ディスク11に書込んで記録する記録手段としてのデータ書込部10とで構成している。   As shown in FIG. 2, the data recording apparatus A according to the present embodiment includes a data storage unit 30 such as a hard disk that stores data to be written on the optical disc 11, and data read from the data storage unit 30 on a recording medium. An encoder unit 20 that encodes data in a data format adapted to the optical disc 11 and a data writing unit 10 as a recording unit that writes and records the data encoded by the encoder unit 20 on the optical disc 11 are configured. .

データ書込部10には、光ディスク11へのデータの書込みに用いるレーザーを出力するレーザーダイオード12、及びこのレーザーダイオード12を制御する制御ドライバ回路13などを設けており、エンコーダ部20から入力されたデータに基づいて制御ドライバ回路13によりレーザーダイオード12の出力を制御して、所要のデータの書込みを行っている。   The data writing unit 10 is provided with a laser diode 12 for outputting a laser used for writing data to the optical disc 11, a control driver circuit 13 for controlling the laser diode 12, and the like. Based on the data, the control driver circuit 13 controls the output of the laser diode 12 to write the required data.

エンコーダ部20では、データ記憶部30から入力されたデータを適宜符号化して出力するようにしており、特に、本実施形態では、エラー検出符号化手段としてのCIRCエンコーダ21を設けてCIRCエンコードされたデータを出力している。   The encoder unit 20 appropriately encodes and outputs the data input from the data storage unit 30. In particular, in the present embodiment, the CIRC encoder 21 serving as error detection encoding means is provided to perform CIRC encoding. The data is being output.

CIRCエンコーダ21は、入力されたデータのCIRCエンコードを行うCIRCデータコントロール回路22と、このCIRCデータコントロール回路22で生成されたCIRCデータを一時的に記憶するSRAMからなる記憶部23と、この記憶部23で記憶されたCIRCデータを読出してEFM(Eight to Fourteen Modulation)処理を行って出力するEFMデータコントロール回路24とで構成している。   The CIRC encoder 21 includes a CIRC data control circuit 22 that performs CIRC encoding of input data, a storage unit 23 that includes an SRAM that temporarily stores the CIRC data generated by the CIRC data control circuit 22, and the storage unit The ERC data control circuit 24 is configured to read out the CIRC data stored in 23, perform EFM (Eight to Fourteen Modulation) processing, and output it.

特に、CIRCデータコントロール回路22及びEFMデータコントロール回路24と、記憶部23との間にはインターフェース回路25を設け、このインターフェース回路25を介してCIRCデータコントロール回路22から記憶部23へのデータの入力、及び記憶部23からEFMデータコントロール回路24へのデータの出力を行っている。さらに、インターフェース回路25には、パリティ付加回路26を接続して、インターフェース回路25においても所望の符号化を可能としている。   In particular, an interface circuit 25 is provided between the CIRC data control circuit 22 and the EFM data control circuit 24 and the storage unit 23, and data is input from the CIRC data control circuit 22 to the storage unit 23 via the interface circuit 25. The data is output from the storage unit 23 to the EFM data control circuit 24. Further, a parity adding circuit 26 is connected to the interface circuit 25 so that the interface circuit 25 can perform desired encoding.

インターフェース回路25には、図3に示すように、暗号化キーを生成する暗号化キー生成手段となる暗号化キー生成部25aと、この暗号化キー生成部25aで生成した暗号化キーに基づいてCIRCデータコントロール回路22から入力されたデータの暗号化する暗号化部25bと、記憶部23から読出したデータを暗号化キー生成部25aで生成した暗号化キーに基づいて復号化する復号化部25cとを設けている。   As shown in FIG. 3, the interface circuit 25 includes an encryption key generation unit 25a serving as an encryption key generation unit for generating an encryption key, and an encryption key generated by the encryption key generation unit 25a. An encryption unit 25b that encrypts data input from the CIRC data control circuit 22, and a decryption unit 25c that decrypts data read from the storage unit 23 based on the encryption key generated by the encryption key generation unit 25a And are provided.

暗号化キー生成部25aでは、図4に示すように、エンコードの開始信号あるいは終了信号あるいは中断信号の入力に基づいてカウントを行うカウンタ部25a-1と、このカウンタ部25a-1でのカウント結果をデコードするデコード部25a-2と、このデコード部25a-2で生成した暗号化キーデータを未使用ビット位置に割り付けるとともに、未使用ビット以外のビット部分に「0」を割り付けて暗号化キーを合成する合成部25a-3とで構成し、合成部25a-3から暗号化キーを出力している。   In the encryption key generation unit 25a, as shown in FIG. 4, a counter unit 25a-1 that counts based on the input of an encoding start signal, an end signal, or an interruption signal, and the count result in the counter unit 25a-1 The decoding unit 25a-2 for decoding the data, and the encryption key data generated by the decoding unit 25a-2 are assigned to the unused bit positions, and “0” is assigned to the bit portion other than the unused bits to assign the encryption key. The synthesizing unit 25a-3 is configured to synthesize the encryption key from the synthesizing unit 25a-3.

暗号化部25bは、CIRCデータコントロール回路22から入力されたデータと、暗号化キー生成部25aから入力された暗号化キーとの排他的論理和を行って暗号化データを生成する暗号化回路で構成しており、排他的論理和により生成した暗号化データを記憶部23に記憶させている。   The encryption unit 25b is an encryption circuit that generates encrypted data by performing an exclusive OR of the data input from the CIRC data control circuit 22 and the encryption key input from the encryption key generation unit 25a. The encrypted data generated by exclusive OR is stored in the storage unit 23.

特に、記憶部23に暗号化データを記憶させる場合には、例えば、k番目のCIRCデータコントロール回路22から入力されたデータに対しては、暗号化キー生成部25aで生成されたk番目の暗号化キーを用いて暗号化データを生成し、記憶部23におけるk番目の第k記憶領域23kに記憶させるようにしている。ここで、kは自然数である。 In particular, when storing the encrypted data in the storage unit 23, for example, for the data input from the k-th CIRC data control circuit 22, the k-th encryption generated by the encryption key generation unit 25a is used. Encrypted data is generated using the encryption key and stored in the k-th k-th storage area 23 k in the storage unit 23. Here, k is a natural number.

すなわち、記憶部23に記憶させるデータごとに暗号化キー生成部25aで生成した異なる暗号化キーを用いて暗号化データを生成し、記憶部23の所定の記憶領域に記憶している。   That is, encrypted data is generated using a different encryption key generated by the encryption key generation unit 25 a for each data to be stored in the storage unit 23 and stored in a predetermined storage area of the storage unit 23.

復号化部25cは、記憶部23の所定の記憶領域に記憶されている暗号化データを読出し、読出した暗号化データと、暗号化キー生成部25aで生成した暗号化キーとの排他的論理和を行って復号化を行う復号化回路を有しており、復号化したデータをEFMデータコントロール回路24に出力している。   The decryption unit 25c reads the encrypted data stored in the predetermined storage area of the storage unit 23, and performs an exclusive OR operation between the read encrypted data and the encryption key generated by the encryption key generation unit 25a. And a decryption circuit that performs decryption and outputs the decrypted data to the EFM data control circuit 24.

特に、記憶部23におけるk番目の第k記憶領域23kに記憶された暗号化データを読出す場合には、暗号化キー生成部25aで生成されたk番目の暗号化キーを用いて復号化しており、隣接したデータ間で異なる暗号化キーを用いるようにして、誤って隣接したデータを読み出した場合に、確実に誤ったデータの読み出しを行ったことを検出可能としている。 In particular, when the encrypted data stored in the k-th k-th storage area 23 k in the storage unit 23 is read, it is decrypted using the k-th encryption key generated by the encryption key generation unit 25a. In addition, by using different encryption keys between adjacent data, it is possible to reliably detect that erroneous data has been read when the adjacent data is erroneously read.

EFMデータコントロール回路24は、複合化したデータの未使用ビット部分の値を確認して、未使用ビットの値が全て「0」である場合に、複合化されたデータは正当なデータであると判定する判定回路を有しており、複合化されたデータが正当なデータであると判定された場合には、その複合化されたデータを出力している。   The EFM data control circuit 24 checks the value of the unused bit portion of the combined data, and if the values of the unused bits are all “0”, the combined data is valid data. A determination circuit for determining is provided, and when it is determined that the combined data is valid data, the combined data is output.

一方、復号化されたデータの未使用ビットに「1」が存在している場合には、その復号化されたデータは正当なデータではなく、このデータがフレームインフォメーションである場合には、EFMデータコントロール回路24内の判定回路により、このデータを無効化している。   On the other hand, when “1” is present in the unused bit of the decoded data, the decoded data is not valid data. When this data is frame information, EFM data is used. This data is invalidated by the determination circuit in the control circuit 24.

このように、暗号化キーを用いた暗号化及び復号化利用することによって、記憶部23から読出したデータの正当性を極めて容易に判定することができる。   In this way, the validity of the data read from the storage unit 23 can be determined very easily by using the encryption and decryption using the encryption key.

上記した実施形態では記録媒体を光ディスク11としてCIRCエンコードが行われる場合について説明したが、CIRCエンコードの場合に限定されるものではなく、DVD(Digital Versatile Disc)のエンコーダにも適用可能であり、エンコードが行われるものには容易に適用することができる。   In the above-described embodiment, the case where CIRC encoding is performed using the optical disc 11 as the recording medium has been described. However, the present invention is not limited to the CIRC encoding, but can be applied to a DVD (Digital Versatile Disc) encoder. It can be easily applied to what is performed.

暗号化キーによる暗号化及び復号化を説明する説明図である。It is explanatory drawing explaining the encryption and decryption by an encryption key. 本発明に係るデータ記録装置の概略説明図である。1 is a schematic explanatory diagram of a data recording apparatus according to the present invention. 本発明に係るエラー検出符号化回路の概略説明図である。It is a schematic explanatory drawing of the error detection encoding circuit based on this invention. 暗号化キー生成部の説明図である。It is explanatory drawing of an encryption key production | generation part.

符号の説明Explanation of symbols

A データ記録装置
10 データ書込部
11 光ディスク
12 レーザーダイオード
13 制御ドライバ回路
20 エンコーダ部
21 CIRCエンコーダ
22 CIRCデータコントロール回路
23 記憶部
24 EFMデータコントロール回路
25 インターフェース回路
25a 暗号化キー生成部
25b 暗号化部
25c 復号化部
26 パリティ付加回路
30 データ記憶部
A Data recording device
10 Data writing part
11 Optical disc
12 Laser diode
13 Control driver circuit
20 Encoder section
21 CIRC encoder
22 CIRC data control circuit
23 Memory
24 EFM data control circuit
25 Interface circuit
25a Encryption key generator
25b Encryption part
25c Decryption unit
26 Parity addition circuit
30 Data storage

Claims (6)

記録媒体に記録するデータにエラー検出符号化を行うエラー検出符号化回路であって、エラー検出符号化したデータを記憶部で記憶するとともに、この記憶部から前記データを逐次読出して出力するエラー検出符号化回路において、
前記記憶部に記憶するデータに暗号化キーを用いて暗号化を行って、暗号化されたデータを前記記憶部に記憶させる暗号化部と、
前記記憶部から読出した前記暗号化されたデータを前記暗号化キーを用いて復号化するとともに、復号化されたデータに基づいてそのデータの正当性を判定し、正当であった場合に前記復号化されたデータを出力する復号化部を
有することを特徴とするエラー検出符号化回路。
An error detection encoding circuit for performing error detection encoding on data to be recorded on a recording medium, storing the error detection encoded data in a storage unit, and sequentially reading and outputting the data from the storage unit In the encoding circuit,
An encryption unit that encrypts data stored in the storage unit using an encryption key and stores the encrypted data in the storage unit;
The encrypted data read from the storage unit is decrypted using the encryption key, and the validity of the data is determined based on the decrypted data. An error detection encoding circuit comprising: a decoding unit that outputs converted data.
前記暗号化キーは、前記暗号化されるデータにおける未使用ビットを用いて構成したことを特徴とする請求項1記載のエラー検出符号化回路。   2. The error detection encoding circuit according to claim 1, wherein the encryption key is configured using unused bits in the encrypted data. エラー検出符号化したデータを記憶部で記憶するとともに、この記憶部から前記データを逐次読出して出力するエラー検出符号化手段と、このエラー検出符号化手段から出力された前記データを記録媒体に記録する記録手段を有するデータ記録装置において、
前記エラー検出符号化手段は、
前記記憶部に記憶するデータに暗号化キーを用いて暗号化を行って、暗号化されたデータを前記記憶部に記憶させる暗号化部と、
前記記憶部から読出した前記暗号化されたデータを前記暗号化キーを用いて復号化するとともに、復号化されたデータに基づいてそのデータの正当性を判定し、正当であった場合に前記復号化されたデータを出力する復号化部を
有することを特徴とするデータ記録装置。
The error detection encoded data is stored in the storage unit, and the error detection encoding unit that sequentially reads and outputs the data from the storage unit, and the data output from the error detection encoding unit is recorded on the recording medium. In a data recording apparatus having recording means for
The error detection encoding means includes
An encryption unit that encrypts data stored in the storage unit using an encryption key and stores the encrypted data in the storage unit;
The encrypted data read from the storage unit is decrypted using the encryption key, and the validity of the data is determined based on the decrypted data. A data recording apparatus comprising: a decoding unit that outputs converted data.
前記暗号化キーは、前記暗号化されるデータにおける未使用ビットを用いて構成したことを特徴とする請求項3記載のデータ記録装置。   4. The data recording apparatus according to claim 3, wherein the encryption key is configured using unused bits in the encrypted data. エラー検出符号化手段でエラー検出符号化したデータを記憶部で記憶するとともに、この記憶部からデータを読出して記録媒体に記録するデータ記録方法において、
前記データを暗号化キーで暗号化して生成した暗号化データを前記記憶部に記憶し、この記憶部から読出した前記暗号化データを前記暗号化キーを用いて復号化するとともに、復号化されたデータに基づいてそのデータの正当性を判定し、正当であった場合に前記復号化されたデータを前記記録媒体に記録させることを特徴とするデータ記録方法。
In the data recording method of storing the data subjected to error detection encoding by the error detection encoding means in the storage unit, and reading the data from the storage unit and recording it on the recording medium
Encrypted data generated by encrypting the data with an encryption key is stored in the storage unit, and the encrypted data read from the storage unit is decrypted using the encryption key and decrypted. A data recording method comprising: determining validity of data based on the data; and recording the decrypted data on the recording medium when the data is valid.
前記暗号化キーは、前記データにおける未使用ビットを用いて構成することを特徴とする請求項5記載のデータ記録方法。   6. The data recording method according to claim 5, wherein the encryption key is configured using unused bits in the data.
JP2004324398A 2004-11-08 2004-11-08 Error detection encoding circuit, data recorder having the error detection encoding circuit and data recording method Pending JP2006135815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004324398A JP2006135815A (en) 2004-11-08 2004-11-08 Error detection encoding circuit, data recorder having the error detection encoding circuit and data recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004324398A JP2006135815A (en) 2004-11-08 2004-11-08 Error detection encoding circuit, data recorder having the error detection encoding circuit and data recording method

Publications (1)

Publication Number Publication Date
JP2006135815A true JP2006135815A (en) 2006-05-25

Family

ID=36728911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004324398A Pending JP2006135815A (en) 2004-11-08 2004-11-08 Error detection encoding circuit, data recorder having the error detection encoding circuit and data recording method

Country Status (1)

Country Link
JP (1) JP2006135815A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043862A (en) * 2010-08-16 2012-03-01 Fuji Mach Mfg Co Ltd Electronic component mounting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043862A (en) * 2010-08-16 2012-03-01 Fuji Mach Mfg Co Ltd Electronic component mounting system

Similar Documents

Publication Publication Date Title
US7272772B2 (en) Data recording method, recording medium and reproduction apparatus
JP2003208755A (en) Recording method, recording apparatus, reproducing method, and reproducing apparatus
US7091887B2 (en) Modulator, modulation method, and method of manufacturing an optical recordable medium with enhanced security for confidential information
JP4854588B2 (en) Codeword used in digital optical media and method for generating codeword
JP3972879B2 (en) Information recording processing apparatus, information reproducing processing apparatus, information recording medium and method, and computer program
JP3735591B2 (en) Signal processing apparatus, signal processing method, and storage medium
JP2006135815A (en) Error detection encoding circuit, data recorder having the error detection encoding circuit and data recording method
KR101039223B1 (en) Method and apparatus for copying copy protected optical discs
JP5021197B2 (en) DISC RECORDING MEDIUM AND MANUFACTURING METHOD THEREOF, DISC RECORDING METHOD AND DEVICE, AND DISC REPRODUCING METHOD AND DEVICE
JP3953008B2 (en) Information recording processing apparatus, information reproducing processing apparatus, information recording medium and method, and computer program
JP3953007B2 (en) Information recording processing apparatus, information reproducing processing apparatus, information recording medium and method, and computer program
KR20040108823A (en) Recording medium, recording method, recording device, and reproduction method and reproducer
JP2001155421A (en) Recording device and method, reproducing device and method and recording medium
JP3941764B2 (en) Information recording processing apparatus, information reproducing processing apparatus, information recording medium and method, and computer program
JP2005141341A (en) Memory control unit and memory control method
JP2009054255A (en) Optical disk drive, data recording/reproducing device
JP2010008899A (en) Method of confirming drive unique key, and optical disk recording/reproducing apparatus
JPH06223511A (en) Method for processing encoding, method for processing decoding, method for processing encoding/decoding, encoding processing device, decoding processing device and encoding/decoding processing device
JP2005092990A (en) Information record processing apparatus, information reproduction processing apparatus, information recording medium and method, and computer program
JP2010049559A (en) Storage device and recording and reproducing system
JP2004127447A (en) Date processing method and data recording and reproducing apparatus
JP2005085400A (en) Data recording medium, method and device for recording data, method and device for reproducing data, and method for transmitting/receiving data
JP2004127448A (en) Date processing method and data recording and reproducing apparatus