JP4418431B2 - Data processing device - Google Patents

Data processing device Download PDF

Info

Publication number
JP4418431B2
JP4418431B2 JP2005515583A JP2005515583A JP4418431B2 JP 4418431 B2 JP4418431 B2 JP 4418431B2 JP 2005515583 A JP2005515583 A JP 2005515583A JP 2005515583 A JP2005515583 A JP 2005515583A JP 4418431 B2 JP4418431 B2 JP 4418431B2
Authority
JP
Japan
Prior art keywords
scramble
data
seed value
transferred
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005515583A
Other languages
Japanese (ja)
Other versions
JPWO2005050909A1 (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Publication of JPWO2005050909A1 publication Critical patent/JPWO2005050909A1/en
Application granted granted Critical
Publication of JP4418431B2 publication Critical patent/JP4418431B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • G11B20/00217Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier the cryptographic key used for encryption and/or decryption of contents recorded on or reproduced from the record carrier being read from a specific source
    • G11B20/00253Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier the cryptographic key used for encryption and/or decryption of contents recorded on or reproduced from the record carrier being read from a specific source wherein the key is stored on the record carrier
    • G11B20/00333Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier the cryptographic key used for encryption and/or decryption of contents recorded on or reproduced from the record carrier being read from a specific source wherein the key is stored on the record carrier the key being stored in header data, e.g. in sector headers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • G11B20/00217Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier the cryptographic key used for encryption and/or decryption of contents recorded on or reproduced from the record carrier being read from a specific source
    • G11B20/00253Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier the cryptographic key used for encryption and/or decryption of contents recorded on or reproduced from the record carrier being read from a specific source wherein the key is stored on the record carrier
    • G11B20/00347Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier the cryptographic key used for encryption and/or decryption of contents recorded on or reproduced from the record carrier being read from a specific source wherein the key is stored on the record carrier wherein the medium identifier is used as a key
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • G11B20/00485Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier characterised by a specific kind of data which is encrypted and recorded on and/or reproduced from the record carrier
    • G11B20/00492Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier characterised by a specific kind of data which is encrypted and recorded on and/or reproduced from the record carrier wherein content or user data is encrypted
    • G11B20/00507Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier characterised by a specific kind of data which is encrypted and recorded on and/or reproduced from the record carrier wherein content or user data is encrypted wherein consecutive physical data units of the record carrier are encrypted with separate encryption keys, e.g. the key changes on a cluster or sector basis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

本発明は、データ処理装置に関し、特に、転送中のデータをスクランブする処理、及び転送中のスクランブルデータをデスクランブルする処理を行うデータ処理装置に関する。   The present invention relates to a data processing apparatus, and more particularly, to a data processing apparatus that performs a process of scrambling data being transferred and a process of descrambling scrambled data being transferred.

近年、オーディオ用途や記録メディア用途としてDVDプレイヤーやDVDレコーダが多種開発されている。これらDVDプレイヤーやDVDレコーダにおいては、動作速度の高速化を実現できるシステムが望まれている。   In recent years, various DVD players and DVD recorders have been developed for audio and recording media. In these DVD players and DVD recorders, there is a demand for a system that can increase the operation speed.

従来のDVDシステムについて、図6を参照しながら説明する。図6は、従来のDVDシステムの構成例を示すブロック図である。図6に示すように、このシステムは、ディスクインターフェイス(ディスクI/F)600と、バス制御回路(BCU)601と、メモリ602と、誤り訂正回路603と、ホストインターフェース(ホストI/F)604とを有する。   A conventional DVD system will be described with reference to FIG. FIG. 6 is a block diagram showing a configuration example of a conventional DVD system. As shown in FIG. 6, this system includes a disk interface (disk I / F) 600, a bus control circuit (BCU) 601, a memory 602, an error correction circuit 603, and a host interface (host I / F) 604. And have.

以上のように構成されるDVDシステムにおけるデータの再生動作について図6を用いて説明する。DVDシステムは、まずDVDメディアからのデータ610を、ディスクI/F600とBCU601とを介してメモリ602に格納する。次に、メモリ602から誤り訂正回路603にBCU601を介してデータを転送する。誤り訂正回路603はデータに対してパリティを作成して誤り訂正を行い、誤り訂正したデータをメモリ602に書き込む。次に、DVDシステムは、誤り訂正後のデータを、メモリ602からBCU601を介してホストI/F604に送信する。   A data reproduction operation in the DVD system configured as described above will be described with reference to FIG. The DVD system first stores data 610 from the DVD medium in the memory 602 via the disk I / F 600 and the BCU 601. Next, data is transferred from the memory 602 to the error correction circuit 603 via the BCU 601. The error correction circuit 603 creates a parity for the data, corrects the error, and writes the error-corrected data in the memory 602. Next, the DVD system transmits the error-corrected data from the memory 602 to the host I / F 604 via the BCU 601.

次に、DVDシステムにおけるデータの記録動作について図6を用いて説明する。DVDシステムは、まず、ホスト(パーソナルコンピュータや、AVデコーダ等)から送信される記録データ615を入力し、ホストI/F604とBCU601とを介してメモリ602に格納する。次に、メモリ602から誤り訂正回路603にBCU601を介して記録データを転送する。誤り訂正回路603は記録データに対するパリティを作成して誤り訂正を行い、誤り訂正した記録データをメモリ602に書き込む。次に、DVDシステムは、メモリ602からBCU601とディスクI/F600とを介して、DVDメディアに誤り訂正後の記録データを送信する。   Next, a data recording operation in the DVD system will be described with reference to FIG. The DVD system first inputs recording data 615 transmitted from a host (such as a personal computer or AV decoder) and stores it in the memory 602 via the host I / F 604 and the BCU 601. Next, the recording data is transferred from the memory 602 to the error correction circuit 603 via the BCU 601. The error correction circuit 603 creates a parity for the recording data, performs error correction, and writes the error-corrected recording data to the memory 602. Next, the DVD system transmits the error-corrected recording data from the memory 602 to the DVD medium via the BCU 601 and the disk I / F 600.

従来、以上のようにしてDVDシステムは、DVDメディアからのデータの再生及びDVDメディアへのデータの記録を実現していたが(特許文献1参照)、DVDメディアに記録されるデータにはスクランブルがかけられることになっている。よって、DVDメディアに記録されているデータはスクランブル後のデータ(スクランブルデータ)である。このことから、再生時にはディスクI/F600から送信されてくるスクランブルデータを通常データに戻す処理(デスクランブル)が必要になる。一方、記録時にはディスクI/F600からDVDメディアに送信する前にデータに対してスクランブルをかける必要がある。   Conventionally, the DVD system has realized the reproduction of data from the DVD medium and the recording of the data on the DVD medium as described above (see Patent Document 1), but the data recorded on the DVD medium is scrambled. It is supposed to be applied. Therefore, the data recorded on the DVD medium is scrambled data (scrambled data). For this reason, a process (descrambling) for returning the scrambled data transmitted from the disk I / F 600 to normal data is necessary at the time of reproduction. On the other hand, at the time of recording, it is necessary to scramble the data before transmitting it from the disk I / F 600 to the DVD medium.

以下、DVDスクランブル仕様のスクランブル処理について説明する。まず、データの先頭にあるID領域に含まれるID情報を、図4に示す変換テーブルにより初期スクランブルシード値(初期スクランブルSEED値)に変換する。なお、図4において、ID情報は2進数表記、初期スクランブルSEED値は16進数表記である。また、DVDスクランブル仕様において、スクランブルブロック単位は複数フレームからなるセクタであることから、ID情報はセクタの先頭に含まれている。ID情報には、セクタ番号とセクタの属する層、領域等の情報が含まれている。   Hereinafter, the scramble process of the DVD scramble specification will be described. First, the ID information included in the ID area at the head of the data is converted into an initial scramble seed value (initial scramble SEED value) using the conversion table shown in FIG. In FIG. 4, the ID information is expressed in binary, and the initial scramble SEED value is expressed in hexadecimal. In the DVD scramble specification, since the scramble block unit is a sector composed of a plurality of frames, the ID information is included at the head of the sector. The ID information includes information such as the sector number and the layer and area to which the sector belongs.

次に、初期スクランブルSEED値から、図5に示すように、スクランブルSEED値を生成する。図5は、スクランブルSEED値をそれぞれ格納したフィードバックシフトレジスタを示す図である。DVDスクランブル仕様では、図5に示すように、メインデータ1bitごとにスクランブルSEED値の14bit目と10bit目に対して排他的論理和を行い、結果を0bit目に格納し、13bit目から0bit目まで情報を左にシフトし、メインデータの情報量分、排他的論理和とシフト操作を行うことでスクランブルSEED値を生成する。そして、転送されるデータ(パリティを除く)に対して、以上のようにして生成されるスクランブルSEED値を排他的論理和することで、スクランブルをかけていく(非特許文献1参照)。また、デスクランブルする際も、スクランブルデータに対してスクランブルSEED値を排他的論理和することで、スクランブルデータをデスクランブルする。   Next, as shown in FIG. 5, a scramble SEED value is generated from the initial scramble SEED value. FIG. 5 is a diagram illustrating feedback shift registers each storing scrambled SEED values. In the DVD scramble specification, as shown in FIG. 5, exclusive OR is performed on the 14th bit and the 10th bit of the scramble SEED value for each 1 bit of main data, and the result is stored in the 0th bit, from the 13th bit to the 0th bit. The information is shifted to the left, and a scrambled SEED value is generated by performing exclusive OR and shift operation by the amount of information of the main data. The transferred data (excluding parity) is scrambled by exclusive ORing the scramble SEED value generated as described above (see Non-Patent Document 1). Also, when descrambling, the scrambled data is descrambled by exclusive ORing the scrambled SEED value with the scrambled data.

以上のような仕様から、DVDシステムでスクランブル処理及びデスクランブル処理を行うためには、2つの必要事項がある。   From the above specifications, there are two necessary items for performing the scramble process and the descramble process in the DVD system.

(1)ID情報に誤りがない。
ID情報に誤りがあれば、スクランブルSEED値の初期値(初期スクランブルSEED値)が誤ることになり、スクランブル処理及びデスクランブル処理を行うスクランブルフィルタによってすべてのデータが破壊されてしまう。
(1) There is no error in the ID information.
If there is an error in the ID information, the initial value of the scramble SEED value (initial scramble SEED value) will be incorrect, and all data will be destroyed by the scramble filter that performs the scramble process and the descramble process.

(2)データアドレスとスクランブルSEED値のアドレスとが一致している。
スクランブルSEED値はデータの位置によって異なるため、データとスクランブルフィルタとのアドレス認識は常に一致している必要がある。ずれが発生するとそのアドレスからスクランブルフィルタによってデータが破壊されてしまう。
(2) The data address matches the address of the scramble SEED value.
Since the scramble SEED value varies depending on the position of the data, the address recognition between the data and the scramble filter must always match. When a deviation occurs, data is destroyed from the address by a scramble filter.

上述の2つの課題があることから、従来のDVDシステムでは図6におけるホストI/Fにスクランブルフィルタを入れることが一般的である。これは、誤り訂正後であれば、ID情報に高い信頼性があり、データも誤り訂正後の全アドレス分有って連続性が確保されているため、デスクランブルが可能になるからである。
特開平11−242647号公報 (図1) ecma international Home Page“DVDフォーマット”[平成15年10月16日検索]、インターネット<URL:http://www.ecma-international.org/publications/standards/Ecma-267.htm>Ecma-267.pdf
Because of the above-described two problems, a conventional DVD system generally includes a scramble filter in the host I / F in FIG. This is because after error correction, the ID information has high reliability, and the data has all addresses after error correction, and continuity is ensured, so that descrambling becomes possible.
JP-A-11-242647 (FIG. 1) ecma international Home Page “DVD format” [searched October 16, 2003], Internet <URL: http: //www.ecma-international.org/publications/standards/Ecma-267.htm> Ecma-267.pdf

しかしながら、前記従来のDVDシステムのように、ホストI/Fにスクランブルフィルタを設けて、DVDメディアに記録するデータに対してスクランブルをかける場合、高速な動作ができないという問題が発生する。以下、その問題について説明する。   However, as in the conventional DVD system, when a scramble filter is provided in the host I / F to scramble the data recorded on the DVD medium, there arises a problem that high-speed operation cannot be performed. The problem will be described below.

記録動作時、ホストI/Fにスクランブルフィルタを設けたDVDシステムは、ホストI/Fの経路でデータに対して予め決めておいたID情報を使用してスクランブルを行い、スクランブルデータをメモリに格納する。そして、そのスクランブルデータに対し、誤り訂正回路でパリティを付加して誤り訂正を行い、最後にディスクI/Fを経由してDVDメディアへと誤り訂正後のデータを送信する。   During recording operation, a DVD system with a scramble filter in the host I / F scrambles data using ID information that has been determined in advance through the host I / F path, and stores the scrambled data in the memory. To do. The scrambled data is subjected to error correction by adding a parity by an error correction circuit, and finally the error-corrected data is transmitted to the DVD medium via the disk I / F.

しかし、DVD−RAM等の規格においては、DVDディスクに記録するデータのアドレスが予め決められたアドレスとずれる場合がある。DVDメディア上のデータアドレスが、予め決められたアドレスと異なる場合、同時にID情報も異なったものとなるため、一旦スクランブルデータをデスクランブルして、スクランブルをかけなおす必要が生じる。   However, in a standard such as DVD-RAM, the address of data recorded on a DVD disc may be different from a predetermined address. When the data address on the DVD medium is different from a predetermined address, the ID information is also different at the same time. Therefore, it is necessary to descramble the scrambled data and re-scramble it.

そのため、DVDシステムでは、図7に示すように、再スクランブル装置が必要になる。以下、図7に示すDVDシステムの動作について説明する。   For this reason, the DVD system requires a re-scrambler as shown in FIG. Hereinafter, the operation of the DVD system shown in FIG. 7 will be described.

記録動作時、ホストI/Fの経路でデータに対して、予め決めておいたID情報を使用してスクランブルを行い、スクランブルデータをメモリ602に格納する。ここで、データのID情報が予め決められたID情報と異なっていた場合、再スクランブル装置700でスクランブルデータをデスクランブルし、かつ、正確なID情報からスクランブルSEED値を決めてスクランブルをかけ直した後、メモリ602にデータを格納する。そして、そのデータに対し、誤り訂正回路603でパリティを付加して誤り訂正を行い、最後にディスクI/F600を経由してDVDメディアへと誤り訂正後のデータを送信する。以上のようなDVDシステムでは、再スクランブル処理を行う工程が追加されるため、動作の高倍速化の弊害となっていた。   During the recording operation, the data is scrambled using ID information determined in advance through the host I / F path, and the scrambled data is stored in the memory 602. Here, when the ID information of the data is different from the predetermined ID information, the scrambled data is descrambled by the re-scramble device 700, and the scramble SEED value is determined from the accurate ID information and scrambled again. Thereafter, the data is stored in the memory 602. The error correction circuit 603 adds parity to the data for error correction, and finally transmits the error-corrected data to the DVD medium via the disk I / F 600. In the DVD system as described above, a step of performing a re-scramble process is added, which has been an adverse effect of increasing the operation speed.

そこで、ホストI/F604ではなく、ディスクI/F600にスクランブルフィルタを含めた場合について考える。   Therefore, a case where a scramble filter is included in the disk I / F 600 instead of the host I / F 604 will be considered.

この場合、記録動作時においては、ホストI/F604からのデータに対してスクランブルをかけずにメモリ602に格納する。これにより、アドレスが変化しても、そのデータに対して誤り訂正回路603を使用してパリティを付加し、信頼性の高いID情報を用いてディスクI/F600でデータをスクランブルして、DVDメディアへとスクランブルデータを送信することが可能になる。   In this case, during the recording operation, the data from the host I / F 604 is stored in the memory 602 without being scrambled. As a result, even if the address changes, the parity is added to the data using the error correction circuit 603, the data is scrambled by the disk I / F 600 using the highly reliable ID information, and the DVD media It is possible to send scrambled data to

しかし、このDVDシステムの場合、DVDメディアからのスクランブルデータを再生する際に問題が発生する。すなわち、再生動作時に、ディスクI/F600の経路でデスクランブル処理を行う上で2つの問題点が存在する。   However, in the case of this DVD system, a problem occurs when reproducing scrambled data from a DVD medium. That is, there are two problems in performing the descrambling process along the path of the disk I / F 600 during the reproduction operation.

(1)DVDメディアから転送されるスクランブルデータをデスクランブルする場合、スクランブルデータが誤り訂正回路で誤り訂正処理する前のものであるため正確なID情報を得ることができないことがある。   (1) When descrambling scrambled data transferred from a DVD medium, accurate ID information may not be obtained because the scrambled data is before error correction processing by an error correction circuit.

ID情報とは各セクタの先頭12Byte上に含まれており、デスクランブル処理するために必須の情報である。このID情報により初期スクランブルSEED値を決定している。誤り訂正処理前のスクランブルデータは誤ったデータである可能性があり信頼性に欠く。スクランブルフィルタは、正確なID情報を得ることができなければ誤ったデスクランブル処理を行い続けることになる。その結果、DVD仕様において、スクランブル処理を行うブロック単位である1セクタ分誤ったデータがメモリに格納されることになり、誤り訂正回路は1セクタ分誤り訂正を行うことができなくなる。   The ID information is included in the top 12 bytes of each sector and is essential information for descrambling. The initial scramble SEED value is determined based on this ID information. The scrambled data before error correction processing may be incorrect data and lacks reliability. If accurate ID information cannot be obtained, the scramble filter continues to perform erroneous descrambling processing. As a result, in the DVD specification, erroneous data for one sector, which is a block unit to be scrambled, is stored in the memory, and the error correction circuit cannot perform error correction for one sector.

(2)データ抜け等により、異常系処理であるジャンプ処理が発生した場合、ジャンプ先からの正確なスクランブルSEED値が不明になる。   (2) When a jump process, which is an abnormal process, occurs due to missing data or the like, the exact scramble SEED value from the jump destination is unknown.

スクランブルブロック単位であるセクタは複数のフレームから構成される。DVD仕様ではメインデータと誤り訂正時に必要になるパリティデータ(ダミーデータを含む)とを合わせて1セクタあたり2392Byteのデータが存在する。DVDのフォーマットでは1セクタあたり13行あり、1行あたりダミーデータを含め184Byteで構成されている。12行までがメインデータとC1と呼ばれるパリティデータで構成され、13行目はC2とC1C2と呼ばれるパリティデータで構成されている。そして1セクタを26分割したものを1フレームと呼ぶ。よって、1行あたり2フレームで構成され、フレームの境目は91Byteになる(184Byteの内の最後の2Byteはダミーであるため)。スクランブルSEED値に注目すると、連続したデータであればスクランブルSEED値も順に演算されていくが、データ転送中に、あるフレームにおいてフレームジャンプ処理が発生した場合、転送されるデータが次のフレームの先頭に飛ぶことになる。フレームジャンプ処理が発生するとその処理が発生した地点から次のフレームの先頭までの間、メインデータが存在しないことになる。そのためスクランブルSEED値の演算も行われず、次のフレームから再び演算を開始してしまう。これではスクランブルSEED値が誤っていることになり、デスクランブル処理を行うと誤ったデータが生成される。すなわち、あるフレームでフレームジャンプ処理が発生すると、次のフレームにジャンプしたその地点からの正確なスクランブルSEED値が不明になる。   A sector which is a scramble block unit is composed of a plurality of frames. In the DVD specification, there are 2392 bytes of data per sector including the main data and parity data (including dummy data) required for error correction. In the DVD format, there are 13 lines per sector, and each line is composed of 184 bytes including dummy data. Up to 12 rows are composed of main data and parity data called C1, and the 13th row is composed of parity data called C2 and C1C2. One sector divided into 26 is called one frame. Therefore, it is composed of 2 frames per line, and the boundary between frames is 91 bytes (since the last 2 bytes of 184 bytes are dummy). Paying attention to the scrambled SEED value, the scrambled SEED value is calculated in order if it is continuous data. However, if a frame jump process occurs in a certain frame during data transfer, the transferred data becomes the head of the next frame. Will fly to. When a frame jump process occurs, there is no main data from the point where the process occurs to the beginning of the next frame. Therefore, the calculation of the scramble SEED value is not performed, and the calculation is started again from the next frame. This means that the scramble SEED value is incorrect, and erroneous data is generated when the descrambling process is performed. That is, when a frame jump process occurs in a certain frame, the exact scramble SEED value from the point where the jump to the next frame is made becomes unknown.

以上のような課題を解決するために、本発明では、転送中のデータの信頼性に依存することなく、スクランブル処理及びデスクランブル処理を行うデータ処理装置を提供することを目的とする。   In order to solve the above problems, an object of the present invention is to provide a data processing apparatus that performs a scramble process and a descramble process without depending on the reliability of data being transferred.

本発明に係るデータ処理装置は、転送中のデータをスクランブルする、又は転送中のスクランブルデータをデスクランブルするデータ処理装置において、中央演算装置によって設定され、転送中のデータのスクランブルブロック単位であるセクタに関するID情報を格納するID格納部と、転送中のデータにおける前記セクタの数をカウントするセクタカウント部と、前記ID格納部からのID情報と前記セクタカウント部からのセクタ数情報とを加算する演算部と、前記演算部から入力した加算結果をスクランブルシード値に変換するスクランブルシードテーブル変換部と、所定の長さのデータが転送される期間を1サイクルとし、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を作成する少なくとも1Byteを超えるスクランブルフィルタ部と、転送されるデータがセクタの先頭であるときは前記スクランブルシードテーブル変換部が出力するスクランブルシード値を選択し、それ以外のときは前記スクランブルフィルタ部が出力するスクランブルシード値を選択して、前記スクランブルフィルタ部に出力するセレクタとを有し、前記セレクタが出力するスクランブルシード値を用いて、転送中のデータをスクランブルする、又は転送中のスクランブルデータをデスクランブルすることを特徴とする。   A data processing apparatus according to the present invention is a data processing apparatus that scrambles data being transferred or descrambles scrambled data being transferred, and is a sector that is set by a central processing unit and is a scramble block unit of data being transferred An ID storage unit that stores ID information related to the data, a sector count unit that counts the number of sectors in the data being transferred, an ID information from the ID storage unit, and a sector number information from the sector count unit. The calculation unit, a scramble seed table conversion unit that converts the addition result input from the calculation unit into a scramble seed value, and a period during which data of a predetermined length is transferred are defined as one cycle, and the next cycle is determined from the scramble seed value of the current cycle. Create a scramble seed value for at least 1 By a scramble seed value output from the scramble seed table conversion unit when the data to be transferred is at the head of the sector, and a scramble seed value output from the scramble filter unit otherwise A selector that selects a value and outputs it to the scramble filter unit, and scrambles the data being transferred or descrambles the scrambled data being transferred using the scramble seed value output by the selector It is characterized by.

本発明に係るデータ処理装置は、前記データ処理装置において、前記スクランブルフィルタ部は、少なくとも2つのスクランブルフィルタを有し、転送されるデータのデータ長に合わせてスクランブルフィルタを選択して、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成することを特徴とする。   In the data processing device according to the present invention, in the data processing device, the scramble filter unit has at least two scramble filters, selects a scramble filter according to a data length of data to be transferred, and A scramble seed value for the next cycle is generated from the scramble seed value.

本発明に係るデータ処理装置は、転送中のデータをスクランブルするデータ処理装置において、中央演算装置によって設定され、転送中のデータのスクランブルブロック単位であるセクタに関するID情報を格納するID格納部と、転送中のデータにおける前記セクタの数をカウントするセクタカウント部と、前記ID格納部からのID情報と前記セクタカウント部からのセクタ数情報とを加算する演算部と、前記演算部から入力した加算結果をスクランブルシード値に変換するスクランブルシードテーブル変換部と、所定の長さのデータが転送される期間を1サイクルとし、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成するスクランブルフィルタ部と、前記演算部の加算結果と転送中のデータのアドレス情報とを入力し、転送中のデータの一部が抜けるジャンプ処理が発生する場合に備えて、前記加算結果を用いてジャンプ先のスクランブルシード値を生成して保持し、ジャンプ処理が発生した場合、ジャンプ先のデータアドレスに対応するスクランブルシード値を出力するジャンプ処理用スクランブルフィルタと、ジャンプ処理が発生した場合は前記ジャンプ処理用スクランブルフィルタが出力するスクランブルシード値を選択し、それ以外の場合は前記スクランブルフィルタ部が出力するスクランブルシード値を選択して出力する第1のセレクタと、転送されるデータがセクタの先頭であるときは前記スクランブルシードテーブル変換部が出力するスクランブルシード値を選択し、それ以外のときは前記第1のセレクタが出力するスクランブルシード値を選択して、前記スクランブルフィルタ部に出力する第2のセレクタとを有し、前記第2のセレクタが出力するスクランブルシード値を用いて、転送中のデータをスクランブルすることを特徴とする。   The data processing device according to the present invention is a data processing device that scrambles data being transferred, an ID storage unit that stores ID information relating to a sector that is set by the central processing unit and is a scramble block unit of data being transferred; A sector count unit that counts the number of sectors in the data being transferred, an arithmetic unit that adds ID information from the ID storage unit and sector number information from the sector count unit, and an addition input from the arithmetic unit A scramble seed table conversion unit that converts the result into a scramble seed value, and a scramble filter that generates a scramble seed value of the next cycle from the scramble seed value of the current cycle, with a period during which data of a predetermined length is transferred as one cycle And the addition result of the calculation unit and the data being transferred When the jump process occurs, a part of the data being transferred is lost, and the jump destination scramble seed value is generated and held using the addition result, and the jump process occurs. Select a scramble filter for jump processing that outputs a scramble seed value corresponding to the data address of the jump destination, and a scramble seed value that is output by the scramble filter for jump processing when a jump processing occurs, otherwise Selects a scramble seed value output from the scramble filter unit, and selects a scramble seed value output from the scramble seed table conversion unit when the transferred data is at the head of a sector. In other cases, the output from the first selector A second selector that selects a scramble seed value and outputs the scramble seed value to the scramble filter unit, and scrambles the data being transferred using the scramble seed value output from the second selector. .

本発明に係るデータ処理装置は、転送中のスクランブルデータをデスクランブルするデータ処理装置において、中央演算装置によって設定され、転送中のデータのスクランブルブロック単位であるセクタに関するID情報を格納するID格納部と、転送中のデータにおける前記セクタの数をカウントするセクタカウント部と、前記ID格納部からのID情報と前記セクタカウント部からのセクタ数情報とを加算する演算部と、前記演算部から入力した加算結果をスクランブルシード値に変換するスクランブルシードテーブル変換部と、所定の長さのデータが転送される期間を1サイクルとし、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成するスクランブルフィルタ部と、前記演算部の加算結果と転送中のデータのアドレス情報とを入力し、転送中のデータの一部が抜けるジャンプ処理が発生する場合に備えて、前記加算結果を用いてジャンプ先のスクランブルシード値を生成して保持し、ジャンプ処理が発生した場合、ジャンプ先のデータアドレスに対応するスクランブルシード値を出力するジャンプ処理用スクランブルフィルタと、ジャンプ処理が発生した場合は前記ジャンプ処理用スクランブルフィルタが出力するスクランブルシード値を選択し、それ以外の場合は前記スクランブルフィルタ部が出力するスクランブルシード値を選択して出力する第1のセレクタと、転送されるデータがセクタの先頭であるときは前記スクランブルシードテーブル変換部が出力するスクランブルシード値を選択し、それ以外のときは前記第1のセレクタが出力するスクランブルシード値を選択して、前記スクランブルフィルタ部に出力する第2のセレクタとを有し、前記第2のセレクタが出力するスクランブルシード値を用いて、転送中のスクランブルデータをデスクランブルすることを特徴とする。   The data processing device according to the present invention is a data processing device that descrambles scrambled data being transferred, and an ID storage unit that stores ID information related to a sector that is set by a central processing unit and is a scramble block unit of the data being transferred A sector count unit that counts the number of sectors in the data being transferred, an arithmetic unit that adds ID information from the ID storage unit and sector number information from the sector count unit, and an input from the arithmetic unit A scramble seed table conversion unit for converting the added result into a scramble seed value and a period during which data of a predetermined length is transferred as one cycle, and a scramble seed value for the next cycle is generated from the scramble seed value of the current cycle The scramble filter unit and the addition result of the calculation unit and the transfer in progress The address information of the data is input, and the jump process generates and holds a scramble seed value of the jump destination using the addition result in preparation for a case where a jump process occurs in which a part of the data being transferred is lost. If it occurs, select the scramble filter for jump processing that outputs the scramble seed value corresponding to the data address of the jump destination, and if the jump processing occurs, select the scramble seed value output by the scramble filter for jump processing. In this case, the first selector that selects and outputs the scramble seed value output from the scramble filter unit, and the scramble seed value output from the scramble seed table conversion unit when the transferred data is the head of the sector. Select, otherwise the first selector A second selector for selecting a scramble seed value to be output and outputting the scramble seed value to the scramble filter unit, and descrambles the scrambled data being transferred using the scramble seed value output by the second selector It is characterized by that.

本発明に係るデータ処理装置は、前記データ処理装置において、前記スクランブルフィルタ部は、少なくとも2つのスクランブルフィルタを有し、転送されるデータのデータ長に合わせてスクランブルフィルタを選択して、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成することを特徴とする。   In the data processing device according to the present invention, in the data processing device, the scramble filter unit has at least two scramble filters, selects a scramble filter according to a data length of data to be transferred, and A scramble seed value for the next cycle is generated from the scramble seed value.

本発明に係るデータ処理装置は、前記データ処理装置において、前記ジャンプ用スクランブルフィルタは、少なくとも2つのスクランブルフィルタを有し、転送されるデータのジャンプ先に合わせてスクランブルフィルタを選択して、前記スクランブルシード値を生成することを特徴とする。   In the data processing device according to the present invention, in the data processing device, the jump scramble filter has at least two scramble filters, selects a scramble filter in accordance with a jump destination of transferred data, and selects the scramble A seed value is generated.

本発明に係るデータ処理装置は、転送中のデータをスクランブルする、又は転送中のスクランブルデータをデスクランブルするデータ処理装置において、中央演算装置によって設定され、転送中のデータのスクランブルブロック単位であるセクタに関するID情報を格納するID格納部と、転送中のデータにおける前記セクタの数をカウントするセクタカウント部と、前記ID格納部からのID情報と前記セクタカウント部からのセクタ数情報とを加算する演算部と、前記演算部から入力した加算結果をスクランブルシード値に変換するスクランブルシードテーブル変換部と、所定の長さのデータが転送される期間を1サイクルとし、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を作成する少なくとも1Byteを超えるスクランブルフィルタ部と、転送されるデータがセクタの先頭であるときは前記スクランブルシードテーブル変換部が出力するスクランブルシード値を選択し、それ以外のときは前記スクランブルフィルタ部が出力するスクランブルシード値を選択して、前記スクランブルフィルタ部に出力するセレクタとを有し、前記セレクタが出力するスクランブルシード値を用いて、転送中のデータをスクランブルする、又は転送中のスクランブルデータをデスクランブルするようにした。これにより、転送中のデータに含まれるID情報ではなく、中央演算装置が設定する確実なID情報を用いて正確なスクランブルシード値を生成し、このスクランブルシード値を用いて、DVDシステムにおけるディスクI/Fで信頼性の高いスクランブル処理、又はデスクランブル処理を行うことができる。さらに、1サイクルで2Byte以上のデータ転送が可能になり、演算するデータが連続的に変化するデスクランブル処理を高速に行うことができる。   A data processing apparatus according to the present invention is a data processing apparatus that scrambles data being transferred or descrambles scrambled data being transferred, and is a sector that is set by a central processing unit and is a scramble block unit of data being transferred An ID storage unit that stores ID information related to the data, a sector count unit that counts the number of sectors in the data being transferred, an ID information from the ID storage unit, and a sector number information from the sector count unit. The calculation unit, a scramble seed table conversion unit that converts the addition result input from the calculation unit into a scramble seed value, and a period during which data of a predetermined length is transferred are defined as one cycle, and the next cycle is determined from the scramble seed value of the current cycle. Create a scramble seed value for at least 1 By a scramble seed value output from the scramble seed table conversion unit when the data to be transferred is at the head of the sector, and a scramble seed value output from the scramble filter unit otherwise A selector that selects a value and outputs it to the scramble filter unit, and uses the scramble seed value output by the selector to scramble the data being transferred or to descramble the scrambled data being transferred I made it. As a result, an accurate scramble seed value is generated using reliable ID information set by the central processing unit, not the ID information included in the data being transferred, and the disc I in the DVD system is generated using this scramble seed value. / F can perform highly reliable scramble processing or descrambling processing. Furthermore, data transfer of 2 bytes or more can be performed in one cycle, and descrambling processing in which data to be calculated continuously changes can be performed at high speed.

本発明に係るデータ処理装置は、前記データ処理装置において、前記スクランブルフィルタ部は、少なくとも2つのスクランブルフィルタを有し、転送されるデータのデータ長に合わせてスクランブルフィルタを選択して、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成するようにした。これにより、少なくとも2種類のデータ長に対応したスクランブルシード値を生成することができる。   In the data processing device according to the present invention, in the data processing device, the scramble filter unit has at least two scramble filters, selects a scramble filter according to a data length of data to be transferred, and The scramble seed value for the next cycle is generated from the scramble seed value. Thereby, the scramble seed value corresponding to at least two types of data lengths can be generated.

本発明に係るデータ処理装置は、転送中のデータをスクランブルするデータ処理装置において、中央演算装置によって設定され、転送中のデータのスクランブルブロック単位であるセクタに関するID情報を格納するID格納部と、転送中のデータにおける前記セクタの数をカウントするセクタカウント部と、前記ID格納部からのID情報と前記セクタカウント部からのセクタ数情報とを加算する演算部と、前記演算部から入力した加算結果をスクランブルシード値に変換するスクランブルシードテーブル変換部と、所定の長さのデータが転送される期間を1サイクルとし、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成するスクランブルフィルタ部と、前記演算部の加算結果と転送中のデータのアドレス情報とを入力し、転送中のデータの一部が抜けるジャンプ処理が発生する場合に備えて、前記加算結果を用いてジャンプ先のスクランブルシード値を生成して保持し、ジャンプ処理が発生した場合、ジャンプ先のデータアドレスに対応するスクランブルシード値を出力するジャンプ処理用スクランブルフィルタと、ジャンプ処理が発生した場合は前記ジャンプ処理用スクランブルフィルタが出力するスクランブルシード値を選択し、それ以外の場合は前記スクランブルフィルタ部が出力するスクランブルシード値を選択して出力する第1のセレクタと、転送されるデータがセクタの先頭であるときは前記スクランブルシードテーブル変換部が出力するスクランブルシード値を選択し、それ以外のときは前記第1のセレクタが出力するスクランブルシード値を選択して、前記スクランブルフィルタ部に出力する第2のセレクタとを有し、前記第2のセレクタが出力するスクランブルシード値を用いて、転送中のデータをスクランブルするようにした。これにより、転送中にデータ抜け(データ飛び)が発生した場合も、DVDシステムにおけるディスクI/Fで信頼性の高いスクランブル処理を継続して行うことができる。   The data processing device according to the present invention is a data processing device that scrambles data being transferred, an ID storage unit that stores ID information relating to a sector that is set by the central processing unit and is a scramble block unit of data being transferred; A sector count unit that counts the number of sectors in the data being transferred, an arithmetic unit that adds ID information from the ID storage unit and sector number information from the sector count unit, and an addition input from the arithmetic unit A scramble seed table conversion unit that converts the result into a scramble seed value, and a scramble filter that generates a scramble seed value of the next cycle from the scramble seed value of the current cycle, with a period during which data of a predetermined length is transferred as one cycle And the addition result of the calculation unit and the data being transferred When the jump process occurs, a part of the data being transferred is lost, and the jump destination scramble seed value is generated and held using the addition result, and the jump process occurs. Select a scramble filter for jump processing that outputs a scramble seed value corresponding to the data address of the jump destination, and a scramble seed value that is output by the scramble filter for jump processing when a jump processing occurs, otherwise Selects a scramble seed value output from the scramble filter unit, and selects a scramble seed value output from the scramble seed table conversion unit when the transferred data is at the head of a sector. In other cases, the output from the first selector Select Nburushido value, and a second selector for outputting the scramble filter unit, by using the scramble seed value which the second selector outputs, and adapted to scramble the data in transit. As a result, even when data loss (data skipping) occurs during transfer, highly reliable scramble processing can be continuously performed by the disk I / F in the DVD system.

本発明に係るデータ処理装置は、転送中のスクランブルデータをデスクランブルするデータ処理装置において、中央演算装置によって設定され、転送中のデータのスクランブルブロック単位であるセクタに関するID情報を格納するID格納部と、転送中のデータにおける前記セクタの数をカウントするセクタカウント部と、前記ID格納部からのID情報と前記セクタカウント部からのセクタ数情報とを加算する演算部と、前記演算部から入力した加算結果をスクランブルシード値に変換するスクランブルシードテーブル変換部と、所定の長さのデータが転送される期間を1サイクルとし、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成するスクランブルフィルタ部と、前記演算部の加算結果と転送中のデータのアドレス情報とを入力し、転送中のデータの一部が抜けるジャンプ処理が発生する場合に備えて、前記加算結果を用いてジャンプ先のスクランブルシード値を生成して保持し、ジャンプ処理が発生した場合、ジャンプ先のデータアドレスに対応するスクランブルシード値を出力するジャンプ処理用スクランブルフィルタと、ジャンプ処理が発生した場合は前記ジャンプ処理用スクランブルフィルタが出力するスクランブルシード値を選択し、それ以外の場合は前記スクランブルフィルタ部が出力するスクランブルシード値を選択して出力する第1のセレクタと、転送されるデータがセクタの先頭であるときは前記スクランブルシードテーブル変換部が出力するスクランブルシード値を選択し、それ以外のときは前記第1のセレクタが出力するスクランブルシード値を選択して、前記スクランブルフィルタ部に出力する第2のセレクタとを有し、前記第2のセレクタが出力するスクランブルシード値を用いて、転送中のスクランブルデータをデスクランブルするようにした。これにより、転送中にデータ抜け(データ飛び)が発生した場合も、DVDシステムにおけるディスクI/Fで信頼性の高いデスクランブル処理を継続して行うことができる。   The data processing device according to the present invention is a data processing device that descrambles scrambled data being transferred, and an ID storage unit that stores ID information related to a sector that is set by a central processing unit and is a scramble block unit of the data being transferred A sector count unit that counts the number of sectors in the data being transferred, an arithmetic unit that adds ID information from the ID storage unit and sector number information from the sector count unit, and an input from the arithmetic unit A scramble seed table conversion unit for converting the added result into a scramble seed value and a period during which data of a predetermined length is transferred as one cycle, and a scramble seed value for the next cycle is generated from the scramble seed value of the current cycle The scramble filter unit and the addition result of the calculation unit and the transfer in progress The address information of the data is input, and the jump process generates and holds a scramble seed value of the jump destination using the addition result in preparation for a case where a jump process occurs in which a part of the data being transferred is lost. If it occurs, select the scramble filter for jump processing that outputs the scramble seed value corresponding to the data address of the jump destination, and if the jump processing occurs, select the scramble seed value output by the scramble filter for jump processing. In this case, the first selector that selects and outputs the scramble seed value output from the scramble filter unit, and the scramble seed value output from the scramble seed table conversion unit when the transferred data is the head of the sector. Select, otherwise the first selector A second selector for selecting a scramble seed value to be output and outputting the scramble seed value to the scramble filter unit, and descrambles the scrambled data being transferred using the scramble seed value output by the second selector I did it. As a result, even when data loss (data skipping) occurs during transfer, highly reliable descrambling processing can be continuously performed by the disk I / F in the DVD system.

本発明に係るデータ処理装置は、前記データ処理装置において、前記スクランブルフィルタ部は、少なくとも2つのスクランブルフィルタを有し、転送されるデータのデータ長に合わせてスクランブルフィルタを選択して、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成するようにした。これにより、少なくとも2種類のデータ長に対応したスクランブルシード値を生成することができる。   In the data processing device according to the present invention, in the data processing device, the scramble filter unit has at least two scramble filters, selects a scramble filter according to a data length of data to be transferred, and The scramble seed value for the next cycle is generated from the scramble seed value. Thereby, the scramble seed value corresponding to at least two types of data lengths can be generated.

本発明に係るデータ処理装置は、前記データ処理装置において、前記ジャンプ用スクランブルフィルタは、少なくとも2つのスクランブルフィルタを有し、転送されるデータのジャンプ先に合わせてスクランブルフィルタを選択して、前記スクランブルシード値を生成するようにした。これにより、転送されるデータにおいて、奇数フレームまたは偶数フレームでフレームジャンプ処理が発生しても、ジャンプ先のフレームの先頭から正確なスクランブルシード値を生成することができる。   In the data processing device according to the present invention, in the data processing device, the jump scramble filter has at least two scramble filters, selects a scramble filter in accordance with a jump destination of transferred data, and selects the scramble A seed value was generated. As a result, even if frame jump processing occurs in the transferred data in an odd frame or an even frame, an accurate scramble seed value can be generated from the head of the jump destination frame.

(実施の形態1)
以下、本発明の実施の形態1に係るデータ処理装置について図1を用いて説明する。本発明の実施の形態1に係るデータ処理装置は、図6に示すディスクI/Fに存在し、転送中のデータをスクランブルする処理、及び転送中のスクランブルデータをデスクランブルする処理を行う。
(Embodiment 1)
Hereinafter, a data processing apparatus according to Embodiment 1 of the present invention will be described with reference to FIG. The data processing apparatus according to the first embodiment of the present invention, which exists in the disk I / F shown in FIG. 6, performs a process of scrambling data being transferred and a process of descrambling the scrambled data being transferred.

図1において、データ処理装置は、IDクリエイター部300と、スクランブルSEEDテーブル103と、セレクタ105と、通常スクランブルフィルタ104とを備える。IDクリエイター部300は、セクタカウント部100と、ID格納部101と、演算部102とを備える。   In FIG. 1, the data processing apparatus includes an ID creator unit 300, a scramble SEED table 103, a selector 105, and a normal scramble filter 104. The ID creator unit 300 includes a sector count unit 100, an ID storage unit 101, and a calculation unit 102.

ID格納部101はマイコンなどの中央演算装置により設定される8bit(ビット幅[7:0])のセクタ情報を格納する。セクタ情報は、8bitの情報量の内、上位4bit([7:4])はID情報を示し、下位4bit([3:0])はブロックのどのセクタからデータの転送を開始するのかを示す。ID情報には、セクタ番号とセクタが属する層、領域を示す情報が含まれている。   The ID storage unit 101 stores 8-bit (bit width [7: 0]) sector information set by a central processing unit such as a microcomputer. Of the 8-bit information amount, the upper 4 bits ([7: 4]) indicate ID information, and the lower 4 bits ([3: 0]) indicate from which sector of the block data transfer starts. . The ID information includes information indicating the sector number and the layer and area to which the sector belongs.

セクタカウント部100は、初期値を4‘h0として、データの転送が1セクタ分完了されるごとにカウントアップしていく装置であり、転送開始から転送中のセクタ数をセクタ数情報200として出力する。   The sector counting unit 100 is an apparatus that sets the initial value to 4′h0 and counts up every time data transfer is completed for one sector, and outputs the number of sectors being transferred from the start of transfer as sector number information 200. To do.

演算部102は、ID格納部101が出力するセクタ情報201と、セクタカウント部100が出力するセクタ数情報200とを加算し、上位4bitをID情報202として出力する。   The calculation unit 102 adds the sector information 201 output from the ID storage unit 101 and the sector number information 200 output from the sector count unit 100, and outputs the upper 4 bits as ID information 202.

スクランブルSEEDテーブル103は、ID情報202を入力し、図4に示すテーブルを用いてID情報202を初期スクランブルSEED値203に変換して出力する。   The scramble SEED table 103 receives the ID information 202, converts the ID information 202 into an initial scramble SEED value 203 using the table shown in FIG.

セレクタ105は、セクタの先頭を示す信号であるセクタトップ信号204を入力したとき、すなわち、転送されたデータがセクタの先頭であったときは、スクランブルSEED値203を選択してスクランブルSEED値205として出力し、セクタの先頭でないときは、後述する通常スクランブルフィルタ104が出力するスクランブルSEED値206を選択してスクランブルSEED値205として出力する。なお、セレクタ105はセクタトップ信号204を、例えば、マイコンのような中央演算装置から入力する。   The selector 105 selects the scramble SEED value 203 as the scramble SEED value 205 when the sector top signal 204 which is a signal indicating the head of the sector is input, that is, when the transferred data is the head of the sector. If it is not the head of the sector, a scramble SEED value 206 output by a normal scramble filter 104, which will be described later, is selected and output as a scramble SEED value 205. The selector 105 receives the sector top signal 204 from a central processing unit such as a microcomputer.

通常スクランブルフィルタ104は少なくとも2つのスクランブルフィルタを備える。本発明の実施の形態1では、4Byteと8Byteのスクランブルフィルタを備える場合について説明する。通常スクランブルフィルタ104は、所定のデータ長(4Byteと8Byte)のデータが転送される期間を1サイクルとし、スクランブルSEED値205を入力して、それをスクランブルフィルタに通して次のサイクルのスクランブルSEED値206を生成して出力する。すなわち、スクランブルデータ長に合わせて、データが4Byteの場合は4Byte後の、データが8Byteの場合は8Byte後の、次のサイクルのスクランブルSEED値を作成する。   The normal scramble filter 104 includes at least two scramble filters. In Embodiment 1 of the present invention, a case will be described in which a 4-byte and 8-byte scramble filter is provided. The normal scramble filter 104 takes a period during which data of a predetermined data length (4 bytes and 8 bytes) is transferred as one cycle, inputs a scramble SEED value 205, passes it through the scramble filter, and scrambles the SEED value of the next cycle. 206 is generated and output. That is, in accordance with the scramble data length, a scramble SEED value for the next cycle is created after 4 bytes if the data is 4 bytes, and after 8 bytes if the data is 8 bytes.

データ処理装置は、さらに、以上のようにして生成したスクランブルSEED値を転送されるデータ量分拡張する拡張フィルタ(図示せず)と、拡張したスクランブルSEED値とデータとを1bitごとに排他的論理和する回路(図示せず)とを有し、これらの回路により、データをスクランブルする処理及びスクランブルデータをデスクランブルする処理を行う。なお、前記拡張フィルタ及び排他的論理和回路は、本発明の本質的な部分ではないため、その説明を省略する。   The data processing apparatus further performs an exclusive filter for expanding the scramble SEED value generated as described above by an amount corresponding to the amount of data to be transferred, and the expanded scramble SEED value and data for each bit. A circuit for summing (not shown) is provided, and a process for scrambling data and a process for descrambling scrambled data are performed by these circuits. Note that the extended filter and the exclusive OR circuit are not essential parts of the present invention, and the description thereof will be omitted.

以上のように構成されるデータ処理装置の動作について説明する。
ID格納部101に設定されるID情報の値は16進数表記で0x01とする。セクタカウント部100の初期値は16進数表記で0x0となる。演算部102はID格納部101からのセクタ情報201(0x01)とセクタカウント部100からのセクタ数情報200(0x0)とを加算して0x01を得る。演算部102は、上位4ビットの情報、すなわち、0x0をID情報202としてスクランブルSEEDテーブル103に対して出力する。
The operation of the data processing apparatus configured as described above will be described.
The value of ID information set in the ID storage unit 101 is 0x01 in hexadecimal notation. The initial value of the sector count unit 100 is 0x0 in hexadecimal notation. The calculation unit 102 adds the sector information 201 (0x01) from the ID storage unit 101 and the sector number information 200 (0x0) from the sector count unit 100 to obtain 0x01. The calculation unit 102 outputs the upper 4 bits of information, that is, 0x0 as ID information 202 to the scramble SEED table 103.

スクランブルSEEDテーブル103はID情報202から初期スクランブルSEED値を図4に示す変換テーブルを用いて決定する。本発明の実施の形態1では、ID情報202は0x0であるので、スクランブルSEEDテーブル103が決定した初期スクランブルSEED値203は15’h0001となる。   The scramble SEED table 103 determines the initial scramble SEED value from the ID information 202 using the conversion table shown in FIG. In Embodiment 1 of the present invention, since the ID information 202 is 0x0, the initial scramble SEED value 203 determined by the scramble SEED table 103 is 15'h0001.

スクランブルSEED値203はセクタの先頭時にのみ使用するスクランブルSEED値である。スクランブルSEED値203の使用はセクタ先頭であることをセクタトップ信号204により通知されたときのみで、このとき、セレクタ105はスクランブルSEED値203を選択してスクランブルSEED値205として出力する。すなわち、このタイミングでは15’0001が選択される。   The scramble SEED value 203 is a scramble SEED value used only at the beginning of the sector. The scramble SEED value 203 is used only when the sector top signal 204 indicates that it is the sector head. At this time, the selector 105 selects the scramble SEED value 203 and outputs it as the scramble SEED value 205. That is, 15'0001 is selected at this timing.

それ以降のスクランブルSEED値は通常スクランブルフィルタ104が生成する。具体的には、図5に示すように、メインデータ1bitごとにスクランブルSEED値の14bit目と10bit目に対して排他的論理和を行い、結果を0bit目に格納する。そして、13bit目から0bit目まで情報を左にシフトする。以上のような排他的論理和とシフト操作をメインデータの情報量分行うことでスクランブルシード値を生成する。   Subsequent scramble SEED values are normally generated by the scramble filter 104. Specifically, as shown in FIG. 5, exclusive OR is performed on the 14th and 10th bits of the scrambled SEED value for each 1-bit main data, and the result is stored in the 0th bit. Then, the information is shifted to the left from the 13th bit to the 0th bit. The scramble seed value is generated by performing the exclusive OR and the shift operation as described above for the amount of information of the main data.

例えば8Byteのメインデータに対してスクランブルSEED値を生成する場合は、排他的論理和とシフト操作を8×8bit分行い、8Byteのメインデータに対するスクランブルSEED値を生成する。   For example, when generating a scramble SEED value for 8 bytes of main data, an exclusive OR and a shift operation are performed for 8 × 8 bits to generate a scramble SEED value for the 8 bytes of main data.

デモジュ転送の際、すなわち、図6に示すDVDシステムにおいて、DVDメディアからのデータを、ディスクI/F600を介してBCU601に転送する際には、データが4Byteのときと8Byteのときがあるため、通常スクランブルフィルタ104では4Byte用のスクランブルフィルタと8Byte用のスクランブルフィルタとを用意する。4Byte用スクランブルフィルタは、排他的論理和とシフト操作を32回行い、次のメインデータに対する開始スクランブルSEED値を生成する。また、8Byte用スクランブルフィルタは、4Byte用のスクランブルフィルタと同様の処理を64回行い、8Byte後の次のメインデータに対するスクランブルSEED値を生成する。   In the case of demodulated transfer, that is, in the DVD system shown in FIG. 6, when data from a DVD medium is transferred to the BCU 601 via the disk I / F 600, the data may be 4 bytes or 8 bytes. In the normal scramble filter 104, a scramble filter for 4 bytes and a scramble filter for 8 bytes are prepared. The 4-byte scramble filter performs exclusive OR and shift operation 32 times, and generates a start scramble SEED value for the next main data. The 8-byte scramble filter performs the same process as the 4-byte scramble filter 64 times, and generates a scramble SEED value for the next main data after 8 bytes.

例えば、スクランブルSEED値203(0x0001)を8Byte用スクランブルフィルタに通した場合、次のサイクルのメインデータに対するスクランブルSEED値206は0x0100である。そして、このスクランブルSEED値206が再びセレクタ105に送られる。このとき、セレクタ105は、現メインデータがセクタの先頭から8Byte後でありセクタの先頭メインデータではないため、スクランブルSEED値206を選択する。次のサイクルで転送されるメインデータ量も8Byteである場合、その次のスクランブルSEED値206は0x0022になる。   For example, when the scramble SEED value 203 (0x0001) is passed through the 8-byte scramble filter, the scramble SEED value 206 for the main data of the next cycle is 0x0100. The scramble SEED value 206 is sent to the selector 105 again. At this time, the selector 105 selects the scramble SEED value 206 because the current main data is 8 bytes after the head of the sector and is not the head main data of the sector. If the amount of main data transferred in the next cycle is also 8 bytes, the next scramble SEED value 206 is 0x0022.

1セクタ分のデータの転送が終了すると、2セクタ目の先頭から処理を行うために、2セクタ目の先頭データが転送される前に、セクタカウント部100は初期値をカウントアップし、カウント結果をセクタ数情報200として出力する。これにより、演算部102が出力するID情報202の上位4bitは1インクリメントされ、ID情報202は、次のサイクルのスクランブルブロック単位であるセクタのID情報を示すことになる。そして、このID情報202により、再びスクランブルSEEDテーブル103でセクタの先頭時にのみ使用するスクランブルSEED値203が生成される。   When the transfer of data for one sector is completed, the sector count unit 100 counts up the initial value before the start data of the second sector is transferred in order to perform processing from the start of the second sector. Is output as the sector number information 200. As a result, the upper 4 bits of the ID information 202 output by the arithmetic unit 102 is incremented by 1, and the ID information 202 indicates the ID information of the sector that is the scramble block unit of the next cycle. Based on the ID information 202, a scramble SEED value 203 used only at the beginning of the sector is generated again in the scramble SEED table 103.

以上のように、本発明の実施の形態1に係るデータ処理装置によれば、セクタカウント部100と、ID格納部101と、演算部102とからなるIDクリエイター部300を備え、転送中のデータに含まれるID情報ではなく、外部の中央演算装置等がIDクリエイター部300に設定するID情報を用いてスクランブルSEED値を生成するようにしたことから、DVDシステムにおけるディスクI/Fで、DVDメディアからのスクランブルデータを正確なID情報を用いてデスクランブルすることができ、かつ、ホスト(パーソナルコンピュータや、AVデコーダ等)からのデータを正確なID情報を用いてスクランブルすることができる。   As described above, the data processing apparatus according to Embodiment 1 of the present invention includes the ID creator unit 300 including the sector count unit 100, the ID storage unit 101, and the calculation unit 102, and data being transferred. Since the scramble SEED value is generated using the ID information set in the ID creator unit 300 by the external central processing unit or the like instead of the ID information included in the DVD media, Can be descrambled using accurate ID information, and data from a host (personal computer, AV decoder, etc.) can be scrambled using accurate ID information.

(実施の形態2)
以下、本発明の実施の形態2に係るデータ処理装置について図2を用いて説明する。図1に示すデータ処理装置と同一の構成要素については同一符号を付し、説明を省略する。本発明の実施の形態2に係るデータ処理装置では、図1に示すデータ処理装置に、フレームジャンプ処理用スクランブルフィルタ301とセレクタ303とをさらに備え、データ抜けのような異常処理(ジャンプ処理)が発生した場合に、スクランブルSEED値の生成をフレーム単位で補正することを特徴とする。
(Embodiment 2)
Hereinafter, a data processing apparatus according to Embodiment 2 of the present invention will be described with reference to FIG. The same components as those of the data processing apparatus shown in FIG. In the data processing device according to the second embodiment of the present invention, the data processing device shown in FIG. 1 further includes a frame jump processing scramble filter 301 and a selector 303, and performs an abnormal process (jump processing) such as missing data. When it occurs, the generation of the scramble SEED value is corrected in units of frames.

IDクリエイター部300は、前記実施の形態1で説明したようにセクタに対応するID情報202を出力する。   The ID creator unit 300 outputs the ID information 202 corresponding to the sector as described in the first embodiment.

スクランブルSEEDテーブル103は、ID情報202を入力し、初期スクランブルSEED値203に変換して出力する。   The scramble SEED table 103 receives the ID information 202, converts it to an initial scramble SEED value 203, and outputs it.

セレクタ105は、セクタトップ信号204を入力したとき、すなわち、転送されたデータがセクタの先頭であったときは、スクランブルSEED値203を選択してスクランブルSEED値205として出力し、セクタの先頭でないときは、後述するセレクタ303が出力するスクランブルSEED値206を選択してスクランブルSEED値205として出力する。   The selector 105 selects the scramble SEED value 203 and outputs it as the scramble SEED value 205 when the sector top signal 204 is input, that is, when the transferred data is the head of the sector, and when it is not the head of the sector. Selects a scramble SEED value 206 output by a selector 303 described later and outputs it as a scramble SEED value 205.

通常スクランブルフィルタ104は少なくとも2つのスクランブルフィルタを備える。本発明の実施の形態2では、4Byteと8Byteのスクランブルフィルタを備える場合について説明する。通常スクランブルフィルタ104は、所定のデータ長(ここでは、4Byteと8Byte)のデータが転送される期間を1サイクルとし、スクランブルSEED値205を入力して、それをスクランブルフィルタに通して次のサイクルのスクランブルSEED値402を生成して出力する。すなわち、スクランブルデータ長に合わせて、データが4Byteの場合は4Byte後の、データが8Byteの場合は8Byte後の、次のサイクルのスクランブルSEED値を作成する。   The normal scramble filter 104 includes at least two scramble filters. In the second embodiment of the present invention, a case where a 4-byte and 8-byte scramble filter is provided will be described. The normal scramble filter 104 takes a period during which data of a predetermined data length (here, 4 bytes and 8 bytes) is transferred as one cycle, inputs a scramble SEED value 205, passes it through the scramble filter, and passes through the next cycle. A scramble SEED value 402 is generated and output. That is, in accordance with the scramble data length, a scramble SEED value for the next cycle is created after 4 bytes if the data is 4 bytes, and after 8 bytes if the data is 8 bytes.

フレームジャンプ処理用スクランブルフィルタ301は、転送中のデータのアドレス情報405を入力し、フレームジャンプ処理が発生する前にフレームジャンプ後のスクランブルシード値を作成しておき、スクランブルSEED値401として出力する。なお、フレームジャンプ処理用スクランブルフィルタ301は、アドレス情報405を、例えば、マイコンのような中央演算装置から入力する。   The frame jump processing scramble filter 301 receives the address information 405 of the data being transferred, creates a scramble seed value after the frame jump before the frame jump processing occurs, and outputs it as a scramble SEED value 401. The frame jump processing scramble filter 301 receives the address information 405 from, for example, a central processing unit such as a microcomputer.

セレクタ303は、スクランブルSEED値401とスクランブルSEED値402とを入力し、フレームジャンプ信号404の入力時、すなわちフレームジャンプ発生時にはフレームジャンプ後のスクランブルSEED値401を、それ以外のときにはスクランブルSEED値402を選択して、スクランブルSEED値206として出力する。なお、セレクタ303は、フレームジャンプ信号404を、マイコンのような中央演算装置から入力する。   The selector 303 inputs the scramble SEED value 401 and the scramble SEED value 402, and when the frame jump signal 404 is input, that is, when a frame jump occurs, the scramble SEED value 401 after the frame jump is obtained. Select and output as a scramble SEED value 206. The selector 303 receives the frame jump signal 404 from a central processing unit such as a microcomputer.

以上のように構成されるデータ処理装置の動作について説明する。なお、以下の説明において、初期IDを0x0とし、開始セクタナンバーを0x00とする。またメインデータ8Byte転送後にフレームジャンプ処理が発生する場合について説明する。   The operation of the data processing apparatus configured as described above will be described. In the following description, the initial ID is 0x0 and the start sector number is 0x00. A case where a frame jump process occurs after the main data 8 bytes are transferred will be described.

スクランブルSEEDテーブル103は、IDクリエイター部300から得られたID情報202(0x0)をもとに、初期スクランブルSEED値203(0x0001)を生成し出力する。   The scramble SEED table 103 generates and outputs an initial scramble SEED value 203 (0x0001) based on the ID information 202 (0x0) obtained from the ID creator unit 300.

セレクタ105は、セクタトップ信号204を入力したとき、初期スクランブルSEED値(0x0001)203を選択してスクランブルSEED値205として出力する。   When the sector top signal 204 is input, the selector 105 selects the initial scramble SEED value (0x0001) 203 and outputs it as the scramble SEED value 205.

ここでは、フレームジャンプ処理が発生していないため、セレクタ303は、通常スクランブルフィルタ104が出力するスクランブルSEED値402、すなわち、スクランブルSEED値(0x0100)を選択して出力する。   Here, since the frame jump processing has not occurred, the selector 303 selects and outputs the scramble SEED value 402 output from the normal scramble filter 104, that is, the scramble SEED value (0x0100).

セレクタ105は、次のサイクルにおいて、転送されるデータがセクタの先頭でないことを判断し、次のスクランブルSEED値(0x0100)を選択して、スクランブルSEED値205として出力する。   In the next cycle, the selector 105 determines that the transferred data is not the head of the sector, selects the next scramble SEED value (0x0100), and outputs it as the scramble SEED value 205.

通常スクランブルフィルタ104は、スクランブルSEED値(0x0100)を入力して、次のサイクルのスクランブルSEED値(0x0022)を出力する。   The normal scramble filter 104 receives the scramble SEED value (0x0100) and outputs the scramble SEED value (0x0022) of the next cycle.

しかし、ここで、セレクタ303がフレームジャンプ信号404を入力したとする。このとき、セレクタ303はフレームジャンプ処理用スクランブルフィルタ301から得られるスクランブルSEED値(0x4A16)401を選択する。フレームジャンプ後のスクランブルSEED値401は、初期スクランブルSEED値(0x0001)からメインデータ80Byte後のスクランブルSEED値、つまり2フレーム目先頭のスクランブルSEED値である。このフレームジャンプ後のスクランブルSEED値401はスクランブルSEED値206としてセレクタ105に出力される。セレクタ105はセクタの先頭ではないことを判断して、フレームジャンプ後のスクランブルSEED値401を選択して、通常スクランブルフィルタ104に出力する。   However, here, it is assumed that the selector 303 receives the frame jump signal 404. At this time, the selector 303 selects the scramble SEED value (0x4A16) 401 obtained from the scramble filter 301 for frame jump processing. The scramble SEED value 401 after the frame jump is the scramble SEED value after the main data 80 bytes from the initial scramble SEED value (0x0001), that is, the scramble SEED value at the head of the second frame. The scramble SEED value 401 after this frame jump is output to the selector 105 as a scramble SEED value 206. The selector 105 determines that it is not the head of the sector, selects the scramble SEED value 401 after the frame jump, and outputs it to the normal scramble filter 104.

ジャンプ処理により、2フレーム目からデータの転送が開始されると、フレームジャンプ処理用スクランブルフィルタ301では、2フレーム目からフレームジャンプ処理がさらに起きる場合を想定して、3フレーム目先頭のスクランブルSEED値(0x71B6)をフレームジャンプフィルタにより生成する。   When data transfer is started from the second frame by the jump processing, the frame jump processing scramble filter 301 assumes that the frame jump processing further occurs from the second frame and the scramble SEED value at the head of the third frame. (0x71B6) is generated by the frame jump filter.

2フレーム目で再びフレームジャンプ処理が発生した場合、フレームジャンプ信号404を入力したセレクタ303は、フレームジャンプ処理用スクランブルフィルタ301からの3フレーム目先頭のスクランブルSEED値(0x71B6)を選択する。   When the frame jump process occurs again at the second frame, the selector 303 receiving the frame jump signal 404 selects the scramble SEED value (0x71B6) at the head of the third frame from the scramble filter 301 for the frame jump process.

3フレーム目先頭のスクランブルSEED値はセレクタ105に出力される。セレクタ105はセクタの先頭ではないことを判断して、3フレーム目の開始スクランブルSEED値を選択し、それを通常スクランブルフィルタ104に出力する。   The scramble SEED value at the beginning of the third frame is output to the selector 105. The selector 105 determines that it is not the head of the sector, selects the start scramble SEED value of the third frame, and outputs it to the normal scramble filter 104.

フレームジャンプ処理用スクランブルフィルタ301は4フレーム目先頭のスクランブルSEED値を生成し、3フレーム目でのフレームジャンプ処理に備える。4フレーム目の開始スクランブルSEED値は3フレーム目の開始スクランブルSEED値から92Byte後のスクランブルSEED値であるため、その値は0x5D8Eになる。   The frame jump processing scramble filter 301 generates a scramble SEED value at the beginning of the fourth frame, and prepares for the frame jump processing at the third frame. Since the start scramble SEED value of the fourth frame is a scramble SEED value after 92 bytes from the start scramble SEED value of the third frame, the value is 0x5D8E.

以下、フレームジャンプ処理用スクランブルフィルタ301の詳細について図3を用いて説明する。図3において、フレームジャンプ処理用スクランブルフィルタ301は、初期値作成用テーブル500と、奇数用フレームジャンプフィルタ501と、偶数用フレームジャンプフィルタ502と、セレクタ503と、レジスタ504とを有する。   The details of the frame jump processing scramble filter 301 will be described below with reference to FIG. In FIG. 3, the frame jump processing scramble filter 301 includes an initial value creation table 500, an odd number frame jump filter 501, an even number frame jump filter 502, a selector 503, and a register 504.

初期値作成用テーブル500は、ID情報202を入力し、2フレーム目先頭のスクランブルSEED値、すなわち80Byte先のスクランブルSEED値800を生成して出力する。   The initial value creation table 500 receives the ID information 202 and generates and outputs a scramble SEED value at the beginning of the second frame, that is, a scramble SEED value 800 80 bytes ahead.

セレクタ503は、転送中のデータのアドレス情報405を入力し、1フレーム期間はスクランブルSEED値800を選択し、フレームジャンプ後のスクランブルSEED値401として出力する。   The selector 503 receives the address information 405 of the data being transferred, selects the scramble SEED value 800 for one frame period, and outputs it as the scramble SEED value 401 after the frame jump.

レジスタ504は、2フレーム目先頭のスクランブルSEED値401を入力し、保持する。   The register 504 inputs and holds the scramble SEED value 401 at the head of the second frame.

データの転送が2フレーム目に入ったとき、偶数用フレームジャンプフィルタ502は、レジスタ504の出力信号803、ここでは、2フレーム目先頭のスクランブルSEED値401を使用し、3フレーム目先頭のスクランブルSEED値802を生成して出力する。   When the data transfer enters the second frame, the even-numbered frame jump filter 502 uses the output signal 803 of the register 504, here, the scramble SEED value 401 at the head of the second frame, and the scramble SEED at the head of the third frame. A value 802 is generated and output.

セレクタ503は、転送中のデータが偶数フレームのときには、スクランブルSEED値802を選択し、次のフレームジャンプ時のスクランブルSEED値401として出力する。   The selector 503 selects the scramble SEED value 802 when the data being transferred is an even frame, and outputs it as the scramble SEED value 401 at the next frame jump.

そして、レジスタ504は、3フレーム目先頭のスクランブルSEED値401を入力し、保持する。   The register 504 inputs and holds the scramble SEED value 401 at the beginning of the third frame.

データの転送が3フレーム目に入ったとき、奇数用フレームジャンプフィルタ501は、レジスタ504の出力信号803、ここでは3フレーム目先頭のスクランブルSEED値401を使用して、4フレーム目先頭のスクランブルSEED値801を生成して出力する。   When the data transfer enters the third frame, the odd-numbered frame jump filter 501 uses the output signal 803 of the register 504, here the scramble SEED value 401 at the beginning of the third frame, and the scramble SEED at the beginning of the fourth frame. A value 801 is generated and output.

セレクタ503は、初期転送時(1フレーム目)を除く奇数フレームのとき、スクランブルSEED値801を選択して、次のフレームジャンプ時のスクランブルSEED値401を出力する。   The selector 503 selects the scramble SEED value 801 and outputs the scramble SEED value 401 at the time of the next frame jump in the case of an odd frame except the initial transfer (first frame).

そして、レジスタ504は、4フレーム目先頭のスクランブルSEED値401を入力し、保持する。   The register 504 inputs and holds the scramble SEED value 401 at the head of the fourth frame.

以上の動作を、1セクタ(26フレーム)分繰り返す。これにより、1フレーム目でフレームジャンプ処理が発生した場合、さらに、奇数・偶数フレームでフレームジャンプ処理が発生した場合でも、ジャンプ先のフレームの先頭から正確なスクランブルSEED値を生成することができる。   The above operation is repeated for one sector (26 frames). As a result, an accurate scramble SEED value can be generated from the head of the jump destination frame even when the frame jump process occurs in the first frame and even when the frame jump process occurs in the odd and even frames.

以上のように、本実施の形態2に係るデータ処理装置によれば、フレームジャンプ処理が発生したとき、ジャンプ先のフレームの先頭スクランブルSEED値を生成するフレームジャンプ処理用スクランブルフィルタ301を備えたことから、データ転送中にジャンプ処理が発生しても、ディスクI/Fで、DVDメディアからのスクランブルデータを正確なID情報を用いてデスクランブルすることができ、かつ、ホスト(パーソナルコンピュータや、AVデコーダ等)からのデータを正確なID情報を用いてスクランブルすることができる。   As described above, the data processing apparatus according to the second embodiment includes the frame jump processing scramble filter 301 that generates the head scramble SEED value of the jump destination frame when the frame jump processing occurs. Therefore, even if jump processing occurs during data transfer, the scrambled data from the DVD medium can be descrambled by using the accurate ID information by the disk I / F, and the host (personal computer or AV Data from a decoder or the like) can be scrambled using accurate ID information.

本発明は、DVDなどの光ディスク分野をはじめとして、データをスクランブル処理及びスクランブルデータをデスクランブルする処理を行うすべてのデータ通信分野への展開が可能である。   The present invention can be applied to all data communication fields in which data is scrambled and scrambled data is descrambled, including the field of optical disks such as DVD.

図1は、本発明の実施の形態1に係るデータ処理装置に構成例を示すブロック図である。FIG. 1 is a block diagram showing a configuration example of the data processing apparatus according to Embodiment 1 of the present invention. 図2は、本発明の実施の形態2に係るデータ処理装置に構成例を示すブロック図である。FIG. 2 is a block diagram showing a configuration example of the data processing apparatus according to Embodiment 2 of the present invention. 図3は、本発明の実施の形態2に係るデータ処理装置のフレームジャンプ処理用スクランブルフィルタの構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a scramble filter for frame jump processing of the data processing apparatus according to Embodiment 2 of the present invention. 図4は、DVD仕様におけるID/スクランブルSEED値変換テーブルを示す図である。FIG. 4 is a diagram showing an ID / scramble SEED value conversion table in the DVD specification. 図5は、スクランブルフィルタのスクランブル処理を説明するための図である。FIG. 5 is a diagram for explaining the scramble process of the scramble filter. 図6は、従来のDVDシステムの構成を示す図である。FIG. 6 is a diagram showing a configuration of a conventional DVD system. 図7は、従来のDVDシステムのおける記録動作を説明するための図である。FIG. 7 is a diagram for explaining a recording operation in a conventional DVD system.

符号の説明Explanation of symbols

100 セクタカウント部
101 ID格納部
102 演算部
103 スクランブルSEEDテーブル
104 通常スクランブルフィルタ
105、303、503 セレクタ
300 IDクリエイター部
301 フレームジャンプ処理用スクランブルフィルタ
500 初期値作成用テーブル
501 奇数用フレームジャンプフィルタ
502 偶数用フレームジャンプフィルタ
504 レジスタ
600 ディスクI/F
601 BCU
602 メモリ
603 誤り訂正回路
604 ホストI/F
700 再スクランブル装置
DESCRIPTION OF SYMBOLS 100 Sector count part 101 ID storage part 102 Operation part 103 Scramble SEED table 104 Normal scramble filter 105,303,503 Selector 300 ID creator part 301 Frame jump process scramble filter 500 Initial value creation table 501 Odd frame jump filter 502 Even number Frame jump filter 504 register 600 disk I / F
601 BCU
602 Memory 603 Error correction circuit 604 Host I / F
700 Re-scrambler

Claims (6)

転送中のデータをスクランブルする、又は転送中のスクランブルデータをデスクランブルするデータ処理装置において、
中央演算装置によって設定され、転送中のデータのスクランブルブロック単位であるセクタに関するID情報を格納するID格納部と、
転送中のデータにおける前記セクタの数をカウントするセクタカウント部と、
前記ID格納部からのID情報と前記セクタカウント部からのセクタ数情報とを加算する演算部と、
前記演算部から入力した加算結果をスクランブルシード値に変換するスクランブルシードテーブル変換部と、
所定の長さのデータが転送される期間を1サイクルとし、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を作成する少なくとも1Byteを超えるスクランブルフィルタ部と、
転送されるデータがセクタの先頭であるときは前記スクランブルシードテーブル変換部が出力するスクランブルシード値を選択し、それ以外のときは前記スクランブルフィルタ部が出力するスクランブルシード値を選択して、前記スクランブルフィルタ部に出力するセレクタとを有し、
前記セレクタが出力するスクランブルシード値を用いて、転送中のデータをスクランブルする、又は転送中のスクランブルデータをデスクランブルすることを特徴とするデータ処理装置。
In a data processing device that scrambles data being transferred or descrambles scrambled data being transferred,
An ID storage unit that stores ID information related to a sector that is set by the central processing unit and is a scramble block unit of data being transferred;
A sector count unit that counts the number of sectors in the data being transferred;
An arithmetic unit for adding the ID information from the ID storage unit and the sector number information from the sector count unit;
A scramble seed table conversion unit that converts the addition result input from the calculation unit into a scramble seed value;
A scramble filter unit exceeding at least 1 byte that creates a scramble seed value of the next cycle from a scramble seed value of the current cycle, wherein a period during which data of a predetermined length is transferred is one cycle;
When the transferred data is the head of a sector, the scramble seed value output from the scramble seed table conversion unit is selected. In other cases, the scramble seed value output from the scramble filter unit is selected, and the scramble seed value is selected. A selector that outputs to the filter unit,
A data processing apparatus, wherein the data being transferred is scrambled using the scramble seed value output by the selector, or the scrambled data being transferred is descrambled.
請求項1に記載のデータ処理装置において、
前記スクランブルフィルタ部は、
少なくとも2つのスクランブルフィルタを有し、転送されるデータのデータ長に合わせてスクランブルフィルタを選択して、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成することを特徴とするデータ処理装置。
The data processing apparatus according to claim 1,
The scramble filter unit is
Data processing characterized by having at least two scramble filters, selecting a scramble filter according to the data length of data to be transferred, and generating a scramble seed value for the next cycle from a scramble seed value for the current cycle apparatus.
転送中のデータをスクランブルするデータ処理装置において、
中央演算装置によって設定され、転送中のデータのスクランブルブロック単位であるセクタに関するID情報を格納するID格納部と、
転送中のデータにおける前記セクタの数をカウントするセクタカウント部と、
前記ID格納部からのID情報と前記セクタカウント部からのセクタ数情報とを加算する演算部と、
前記演算部から入力した加算結果をスクランブルシード値に変換するスクランブルシードテーブル変換部と、
所定の長さのデータが転送される期間を1サイクルとし、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成するスクランブルフィルタ部と、
前記演算部の加算結果と転送中のデータのアドレス情報とを入力し、転送中のデータの一部が抜けるジャンプ処理が発生する場合に備えて、前記加算結果を用いてジャンプ先のスクランブルシード値を生成して保持し、ジャンプ処理が発生した場合、ジャンプ先のデータアドレスに対応するスクランブルシード値を出力するジャンプ処理用スクランブルフィルタと、
ジャンプ処理が発生した場合は前記ジャンプ処理用スクランブルフィルタが出力するスクランブルシード値を選択し、それ以外の場合は前記スクランブルフィルタ部が出力するスクランブルシード値を選択して出力する第1のセレクタと、
転送されるデータがセクタの先頭であるときは前記スクランブルシードテーブル変換部が出力するスクランブルシード値を選択し、それ以外のときは前記第1のセレクタが出力するスクランブルシード値を選択して、前記スクランブルフィルタ部に出力する第2のセレクタとを有し、
前記第2のセレクタが出力するスクランブルシード値を用いて、転送中のデータをスクランブルすることを特徴とするデータ処理装置。
In a data processing device that scrambles data being transferred,
An ID storage unit that stores ID information related to a sector that is set by the central processing unit and is a scramble block unit of data being transferred;
A sector count unit that counts the number of sectors in the data being transferred;
An arithmetic unit for adding the ID information from the ID storage unit and the sector number information from the sector count unit;
A scramble seed table conversion unit that converts the addition result input from the calculation unit into a scramble seed value;
A scramble filter unit that generates a scramble seed value for the next cycle from a scramble seed value for the current cycle, with a period during which data of a predetermined length is transferred as one cycle;
The addition result of the arithmetic unit and the address information of the data being transferred are input, and the jump destination scramble seed value is used using the addition result in preparation for a jump process in which a part of the data being transferred is lost. When the jump process occurs, a jump process scramble filter that outputs a scramble seed value corresponding to the data address of the jump destination;
A first selector that selects and outputs a scramble seed value that is output by the scramble filter for jump processing when a jump process occurs; otherwise, a scramble seed value that is output by the scramble filter unit;
When the transferred data is the head of the sector, select the scramble seed value output by the scramble seed table conversion unit, otherwise select the scramble seed value output by the first selector, A second selector that outputs to the scramble filter unit;
A data processing apparatus, wherein the data being transferred is scrambled using the scramble seed value output from the second selector.
転送中のスクランブルデータをデスクランブルするデータ処理装置において、
中央演算装置によって設定され、転送中のデータのスクランブルブロック単位であるセクタに関するID情報を格納するID格納部と、
転送中のデータにおける前記セクタの数をカウントするセクタカウント部と、
前記ID格納部からのID情報と前記セクタカウント部からのセクタ数情報とを加算する演算部と、
前記演算部から入力した加算結果をスクランブルシード値に変換するスクランブルシードテーブル変換部と、
所定の長さのデータが転送される期間を1サイクルとし、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成するスクランブルフィルタ部と、
前記演算部の加算結果と転送中のデータのアドレス情報とを入力し、転送中のデータの一部が抜けるジャンプ処理が発生する場合に備えて、前記加算結果を用いてジャンプ先のスクランブルシード値を生成して保持し、ジャンプ処理が発生した場合、ジャンプ先のデータアドレスに対応するスクランブルシード値を出力するジャンプ処理用スクランブルフィルタと、
ジャンプ処理が発生した場合は前記ジャンプ処理用スクランブルフィルタが出力するスクランブルシード値を選択し、それ以外の場合は前記スクランブルフィルタ部が出力するスクランブルシード値を選択して出力する第1のセレクタと、
転送されるデータがセクタの先頭であるときは前記スクランブルシードテーブル変換部が出力するスクランブルシード値を選択し、それ以外のときは前記第1のセレクタが出力するスクランブルシード値を選択して、前記スクランブルフィルタ部に出力する第2のセレクタとを有し、
前記第2のセレクタが出力するスクランブルシード値を用いて、転送中のスクランブルデータをデスクランブルすることを特徴とするデータ処理装置。
In a data processing device that descrambles scrambled data being transferred,
An ID storage unit that stores ID information related to a sector that is set by the central processing unit and is a scramble block unit of data being transferred;
A sector count unit that counts the number of sectors in the data being transferred;
An arithmetic unit for adding the ID information from the ID storage unit and the sector number information from the sector count unit;
A scramble seed table conversion unit that converts the addition result input from the calculation unit into a scramble seed value;
A scramble filter unit that generates a scramble seed value for the next cycle from a scramble seed value for the current cycle, with a period during which data of a predetermined length is transferred as one cycle;
The addition result of the arithmetic unit and the address information of the data being transferred are input, and the jump destination scramble seed value is used using the addition result in preparation for a jump process in which a part of the data being transferred is lost. When the jump process occurs, a jump process scramble filter that outputs a scramble seed value corresponding to the data address of the jump destination;
A first selector that selects and outputs a scramble seed value that is output by the scramble filter for jump processing when a jump process occurs; otherwise, a scramble seed value that is output by the scramble filter unit;
When the transferred data is the head of the sector, select the scramble seed value output by the scramble seed table conversion unit, otherwise select the scramble seed value output by the first selector, A second selector that outputs to the scramble filter unit;
A scrambled data being transferred is descrambled using the scramble seed value output from the second selector.
請求項3または請求項4に記載のデータ処理装置において、
前記スクランブルフィルタ部は、
少なくとも2つのスクランブルフィルタを有し、転送されるデータのデータ長に合わせてスクランブルフィルタを選択して、現サイクルのスクランブルシード値から次のサイクルのスクランブルシード値を生成することを特徴とするデータ処理装置。
The data processing device according to claim 3 or 4,
The scramble filter unit is
Data processing characterized by having at least two scramble filters, selecting a scramble filter according to the data length of data to be transferred, and generating a scramble seed value for the next cycle from a scramble seed value for the current cycle apparatus.
請求項3または請求項4に記載のデータ処理装置において、
前記ジャンプ用スクランブルフィルタは、
少なくとも2つのスクランブルフィルタを有し、転送されるデータのジャンプ先に合わせてスクランブルフィルタを選択して、前記スクランブルシード値を生成することを特徴とするデータ処理装置。
The data processing device according to claim 3 or 4,
The jump scramble filter is:
A data processing apparatus comprising at least two scramble filters, wherein the scramble seed value is generated by selecting a scramble filter in accordance with a jump destination of data to be transferred.
JP2005515583A 2003-11-14 2004-11-10 Data processing device Expired - Fee Related JP4418431B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2003385715 2003-11-14
JP2003385715 2003-11-14
PCT/JP2004/016643 WO2005050909A1 (en) 2003-11-14 2004-11-10 Data processing device

Publications (2)

Publication Number Publication Date
JPWO2005050909A1 JPWO2005050909A1 (en) 2007-12-06
JP4418431B2 true JP4418431B2 (en) 2010-02-17

Family

ID=34616108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005515583A Expired - Fee Related JP4418431B2 (en) 2003-11-14 2004-11-10 Data processing device

Country Status (4)

Country Link
US (1) US7831044B2 (en)
JP (1) JP4418431B2 (en)
CN (1) CN1879343A (en)
WO (1) WO2005050909A1 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685211B2 (en) * 2007-03-27 2010-03-23 Microsoft Corporation Deterministic file content generation of seed-based files
JP2009284024A (en) * 2008-05-19 2009-12-03 Fujitsu Ltd Frame transmission apparatus, and frame transmission method
US9778389B2 (en) 2011-05-27 2017-10-03 Halliburton Energy Services, Inc. Communication applications
WO2012166100A1 (en) * 2011-05-27 2012-12-06 Halliburton Energy Services, Inc. Downhole communication applications
KR101818445B1 (en) 2011-07-08 2018-01-16 삼성전자주식회사 Memory controller, method thereof, and electronic devices having the memory controller
US9086456B2 (en) * 2013-07-03 2015-07-21 Storart Technology Co. Ltd Optimization of a storage system containing ECC and scramble engines
KR20160127525A (en) * 2015-04-27 2016-11-04 에스케이하이닉스 주식회사 Memory system and operating method of memory system
US10891083B2 (en) * 2017-04-18 2021-01-12 Microsemi Solutions (Us), Inc. System and method for randomizing data
US11357038B2 (en) * 2019-02-15 2022-06-07 Qualcomm Incorporated Two-stage uplink grant procedures
US11398291B2 (en) 2020-11-20 2022-07-26 Microchip Technology Inc. Method and apparatus for determining when actual wear of a flash memory device differs from reliability states for the flash memory device
US11514992B2 (en) 2021-02-25 2022-11-29 Microchip Technology Inc. Method and apparatus for reading a flash memory device
US11934696B2 (en) 2021-05-18 2024-03-19 Microchip Technology Inc. Machine learning assisted quality of service (QoS) for solid state drives
US11699493B2 (en) 2021-05-24 2023-07-11 Microchip Technology Inc. Method and apparatus for performing a read of a flash memory using predicted retention-and-read-disturb-compensated threshold voltage shift offset values
US11514994B1 (en) 2021-05-28 2022-11-29 Microchip Technology Inc. Method and apparatus for outlier management
WO2023055676A1 (en) 2021-09-28 2023-04-06 Microchip Technology Inc. Ldpc decoding with trapped-block management

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0152788B1 (en) * 1994-11-26 1998-10-15 이헌조 Copy protecting method and apparatus of digital image system
JP3703958B2 (en) 1998-02-25 2005-10-05 松下電器産業株式会社 Information processing device
US7155015B2 (en) * 2000-08-08 2006-12-26 Hitachi, Ltd. Optical disk apparatus and data randomizing method using for optical disk apparatus
JP2002150698A (en) 2000-11-06 2002-05-24 Pioneer Electronic Corp Method and device for recording information and method and device for reproducing information
JP2002170336A (en) 2000-12-01 2002-06-14 Hitachi Ltd Data recording method, data recorder and recording medium
US20020114360A1 (en) * 2001-02-20 2002-08-22 Perlman Stephen G. System and method for processing multiple broadcast multimedia streams
JP2003115830A (en) 2001-10-03 2003-04-18 Victor Co Of Japan Ltd Information recording device and information recording and reproducing device
US7020287B2 (en) * 2002-09-30 2006-03-28 Sony Corporation Method and system for key insertion for stored encrypted content
US7055082B2 (en) * 2002-10-29 2006-05-30 Victor Company Of Japan, Ltd. Information recording and reproducing apparatus

Also Published As

Publication number Publication date
JPWO2005050909A1 (en) 2007-12-06
US20070076873A1 (en) 2007-04-05
WO2005050909A1 (en) 2005-06-02
CN1879343A (en) 2006-12-13
US7831044B2 (en) 2010-11-09

Similar Documents

Publication Publication Date Title
JP4418431B2 (en) Data processing device
EP0388031B1 (en) Reliability enhancement of nonvolatile tracked data storage devices
JP5115914B2 (en) Digital data encoding apparatus, DVD recording apparatus and method
JP2005050420A (en) Pipeline processing system and information processor
JP3562544B2 (en) Decoding device and decoding method
US8171373B2 (en) Coding circuit for recording data on DVD disk
US20040187065A1 (en) Apparatus and method generating error flag for error correction
JP2005078120A (en) Pipeline processing system and information processor
JP4171688B2 (en) Data scrambling / descrambling apparatus and method for word unit in optical disc system
JP4140344B2 (en) Decoding device and computer program
JP4135497B2 (en) Data reproduction method and data reproduction apparatus
JP3869598B2 (en) Digital data encoding processing circuit, encoding processing method, and digital data recording apparatus including encoding processing circuit
JP2005078656A (en) Pipeline processing system and information processor
EP0855638A1 (en) Method and apparatus for encrypting and for decrypting data arranged in a data sector
US7334180B2 (en) Optical encoding method
JP3556054B2 (en) Digital data playback device
JP3714301B2 (en) Recording apparatus, recording method, reproducing apparatus, reproducing method, and recording medium
US6959087B1 (en) Method and apparatus for transmitting encryption-resultant information and decrypting information
JP2005332544A (en) Data encoding circuit, data encoding method, and data recording apparatus
JP3619151B2 (en) Data processing method using error correction code and apparatus using the method
KR100290867B1 (en) apparatus and method for correcting ID Code of recording/regenerating digital data system
KR100609166B1 (en) Method and apparatus for encoding data in dvd device
JP3804676B2 (en) Disc playback method and disc playback apparatus
JP2000090595A (en) Descrambling device
US20080123501A1 (en) Data recording devices and methods thereof

Legal Events

Date Code Title Description
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: 20091104

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091127

R150 Certificate of patent or registration of utility model

Ref document number: 4418431

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131204

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees