[go: up one dir, main page]

JP2009140604A - Digital data recording / reproducing apparatus and digital data recording / reproducing method - Google Patents

Digital data recording / reproducing apparatus and digital data recording / reproducing method Download PDF

Info

Publication number
JP2009140604A
JP2009140604A JP2007319085A JP2007319085A JP2009140604A JP 2009140604 A JP2009140604 A JP 2009140604A JP 2007319085 A JP2007319085 A JP 2007319085A JP 2007319085 A JP2007319085 A JP 2007319085A JP 2009140604 A JP2009140604 A JP 2009140604A
Authority
JP
Japan
Prior art keywords
recording medium
data
recording
access unit
digital data
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.)
Granted
Application number
JP2007319085A
Other languages
Japanese (ja)
Other versions
JP4714726B2 (en
Inventor
Tsutomu Imai
勉 今井
Yasushi Suketa
裕史 助田
Akira Kanehira
晃 兼平
Shuzo Iwamoto
秀造 岩本
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007319085A priority Critical patent/JP4714726B2/en
Publication of JP2009140604A publication Critical patent/JP2009140604A/en
Application granted granted Critical
Publication of JP4714726B2 publication Critical patent/JP4714726B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

【課題】記録媒体の接続インタフェースに依存せず、ミラーリング先の記録媒体において不正コピー防止機能を有することにより、ミラーリング先のデータを保護することができるデジタルデータ記録再生装置およびデジタルデータ記録再生方法を提供する。
【解決手段】記録媒体に対してデジタルデータの記録および読み出しを行うデジタルデータ記録再生装置110であって、内蔵HDD120にアクセスする記録媒体アクセス部1(111)と、外付HDD130にアクセスする記録媒体アクセス部2(115)と、記録媒体の固有の情報を取得するIDアクセス部(112)と、暗号化/復号化部(113)とを有し、内蔵HDD120のデータを読み出して外付HDD130に記録することによりミラーリングを行う際に、読み出したデータを外付HDD130の固有の情報を鍵として暗号化/復号化部113にて暗号化し、暗号化されたデータを外付HDD130に記録する。
【選択図】図1
A digital data recording / reproducing apparatus and a digital data recording / reproducing method capable of protecting data at a mirroring destination by providing an illegal copy prevention function in the recording medium at a mirroring destination without depending on a connection interface of the recording medium. provide.
A digital data recording / reproducing apparatus 110 for recording and reading digital data to and from a recording medium, the recording medium access unit 1 (111) for accessing an internal HDD 120, and the recording medium for accessing an external HDD 130 It has an access unit 2 (115), an ID access unit (112) that acquires information specific to the recording medium, and an encryption / decryption unit (113), reads out data from the internal HDD 120, and stores it in the external HDD 130. When mirroring is performed by recording, the read data is encrypted by the encryption / decryption unit 113 using information unique to the external HDD 130 as a key, and the encrypted data is recorded in the external HDD 130.
[Selection] Figure 1

Description

本発明は、デジタルデータを記録再生する装置および方法に関し、特に、一方の記録媒体のデータ等を他方の記録媒体にミラーリングする機能を有する記録再生装置および記録再生方法に適用して有効な技術に関するものである。   The present invention relates to an apparatus and method for recording / reproducing digital data, and more particularly to a technique effective when applied to a recording / reproducing apparatus and a recording / reproducing method having a function of mirroring data on one recording medium on the other recording medium. Is.

近年、デジタル蓄積メディアの発展に伴って、ハードディスクドライブ(HDD)は、PC(Personal Computer)だけでなくAV(Audio Visual)機器などでの利用も広がってきている。HDDについては、機器に内蔵するタイプのものと機器に外付けするタイプのものとがあり、外付タイプのHDDでは、リムーバブルなカートリッジを採用し、インタフェースを共通化することによって、情報家電機器やモバイル機器、車載用機器などの様々な機器での利用を可能とする標準化が進んでいる。   In recent years, with the development of digital storage media, the use of hard disk drives (HDD) not only in PCs (Personal Computers) but also in AV (Audio Visual) devices has been spreading. There are two types of HDDs: those built into the device and those that are externally attached to the device. The external type HDD employs a removable cartridge and shares a common interface, so Standardization that enables use in various devices such as mobile devices and in-vehicle devices is progressing.

その一例として、iVDR(登録商標)(information Versatile Disc for Removable usage)という規格によるHDDが挙げられる。iVDRには、通常のHDDとしての機能の他にコンテンツの著作権保護技術であるSAFIA(Security Architecture Intelligent Attachment Device)という規格に準拠したiVDR−SecureというHDDも製品化されている。このため、PCだけでなく、コンテンツの著作権保護が必要なハードディスクレコーダや、レコーダ機能内蔵のテレビ等のAV機器での利用も広がっている。   As an example, there is an HDD according to a standard called iVDR (registered trademark) (information Versatile Disc for Removable usage). In addition to functions as a normal HDD, iVDR has also been commercialized as an iVDR-Secure HDD that complies with a standard called SAFIA (Security Architecture Intelligent Attachment Device), which is a copyright protection technology for content. For this reason, the use not only in PCs but also in AV devices such as hard disk recorders that require content copyright protection and TVs with a built-in recorder function is spreading.

一方、HDDの大容量化が進むにつれて、HDDの破損等によるデータの滅失を回避するための技術にも種々のものが出てきている。この技術としては、例えば、データを複数のHDDに書き込むミラーリング(RAID1:Redundant Array of Independent Disks 1)という技術が知られている。   On the other hand, as the capacity of HDDs has increased, various techniques for avoiding data loss due to HDD damage or the like have come out. As this technique, for example, a technique called mirroring (RAID 1: Redundant Array of Independent Disks 1) for writing data to a plurality of HDDs is known.

特開2004−362444号公報(特許文献1)には、データだけではなく、HDDが搭載される機器のOS(Operating System)もミラーリングすることにより、OSが格納されているHDDの破損時にもOSが正常に起動することを可能とするとともに、全体のHDDの数を削減する技術が開示されている。
特開2004−362444号公報
In JP 2004-362444 A (Patent Document 1), not only the data but also the OS (Operating System) of the device in which the HDD is installed is mirrored, so that the OS can be damaged even when the HDD storing the OS is damaged. Discloses a technique for enabling the system to start up normally and reducing the total number of HDDs.
JP 2004-362444 A

特許文献1に開示されている技術では、PCとHDDとの接続は基本的にIDE(Integrated Drive Electronics)インタフェースとなるため、様々な機器で用いることを考慮すると、使い勝手という点で制約を受ける可能性がある。また、ミラーリング先のHDDにおける不正コピー防止の手段を特に有していないため、データ等が不正にコピーされてしまう可能性がある。   In the technique disclosed in Patent Document 1, since the connection between the PC and the HDD is basically an IDE (Integrated Drive Electronics) interface, there is a possibility of being restricted in terms of usability when considering use with various devices. There is sex. Further, since there is no special means for preventing unauthorized copying in the mirroring HDD, there is a possibility that data or the like will be copied illegally.

そこで本発明の目的は、記録媒体の接続インタフェースに依存せず、ミラーリング先の記録媒体において不正コピー防止機能を有することにより、ミラーリング先のデータを保護することができるデジタルデータ記録再生装置およびデジタルデータ記録再生方法を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a digital data recording / reproducing apparatus and digital data that can protect the mirrored data by having an illegal copy prevention function in the mirrored recording medium without depending on the connection interface of the recording medium. To provide a recording / reproducing method.

本発明の前記ならびにその他の目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち、代表的なものの概要を簡単に説明すれば、次のとおりである。   Of the inventions disclosed in the present application, the outline of typical ones will be briefly described as follows.

本発明の代表的な実施の形態によるデジタルデータ記録再生装置は、第1の記録媒体のデータを読み出して第2の記録媒体に記録することによりミラーリングを行い、ミラーリングの際に、第2の記録媒体の固有の情報を鍵としてデータを暗号化して記録することを特徴とするものである。   The digital data recording / reproducing apparatus according to the representative embodiment of the present invention performs mirroring by reading the data of the first recording medium and recording it on the second recording medium, and the second recording is performed at the time of mirroring. Data is encrypted and recorded using information unique to the medium as a key.

本願において開示される発明のうち、代表的なものによって得られる効果を簡単に説明すれば以下のとおりである。   Among the inventions disclosed in the present application, effects obtained by typical ones will be briefly described as follows.

本発明の代表的な実施の形態によれば、記録媒体の接続インタフェースに依存せず、不正コピー防止機能を有するミラーリングシステムを容易に構築することが可能となる。   According to the representative embodiment of the present invention, it is possible to easily construct a mirroring system having an unauthorized copy prevention function without depending on the connection interface of the recording medium.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一部には原則として同一の符号を付し、その繰り返しの説明は省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.

<実施の形態1>
例えば、PCの内蔵HDDが破損等で動作しなくなった場合、当該PCではOSが起動できないため、他の記録媒体にデータがバックアップされていてもデータを取り出すことができなくなってしまう。OSとデータをともにミラーリングしておけば、ミラーリングしたHDDを使用することでOSが起動可能となる。そこで、本発明の実施の形態1では、PCの内蔵HDDにインストールされたOSおよび保存したデータを、外付HDDにミラーリングするデジタルデータ記録再生装置を有するミラーリングシステムについて説明する。
<Embodiment 1>
For example, when the internal HDD of a PC stops operating due to damage or the like, the OS cannot be started on the PC, so that data cannot be extracted even if the data is backed up to another recording medium. If both the OS and data are mirrored, the OS can be started by using the mirrored HDD. Therefore, in the first embodiment of the present invention, a mirroring system having a digital data recording / reproducing apparatus that mirrors an OS installed in a built-in HDD of a PC and stored data on an external HDD will be described.

図2は、本実施の形態であるデジタルデータ記録再生装置を有するミラーリングシステムの構成例を示した図である。図2において、本実施の形態のシステムはパーソナルコンピュータ(PC)100によって構成され、PC100の内部にデジタルデータ記録再生装置110と、ミラーリング元である第1の記録媒体として内蔵記録媒体220を有している。PC100の外部には、表示出力端子210に表示装置200が接続されており、また、接続インタフェース240にミラーリング先である第2の記録媒体として外付記録媒体230が接続されている。ここで、接続インタフェース240は、例えば、Serial ATA(Serial Advanced Technology Attachment)やUSB(Universal Serial Bus)等の接続端子である。   FIG. 2 is a diagram showing a configuration example of a mirroring system having a digital data recording / reproducing apparatus according to the present embodiment. In FIG. 2, the system of the present embodiment is configured by a personal computer (PC) 100, and has a digital data recording / reproducing device 110 and a built-in recording medium 220 as a first recording medium as a mirroring source. ing. A display device 200 is connected to the display output terminal 210 outside the PC 100, and an external recording medium 230 is connected to the connection interface 240 as a second recording medium that is a mirroring destination. Here, the connection interface 240 is a connection terminal such as, for example, Serial ATA (Serial Advanced Technology Attachment) or USB (Universal Serial Bus).

PC100は、表示装置200以外に他の入出力装置やネットワーク装置を有する構成であっても構わない。また、内蔵記録媒体220および外付記録媒体230は、デジタルデータを記録・読み出しできるものであればHDDや半導体メモリなど種々の記録媒体を用いることが可能であるが、以下ではHDDを用いた場合について説明する。HDDを用いた外付記録媒体230としては、例えば、前述のiVDRのようなリムーバブルな記録媒体を用いることもできる。   The PC 100 may have a configuration including other input / output devices and network devices in addition to the display device 200. As the internal recording medium 220 and the external recording medium 230, various recording media such as an HDD and a semiconductor memory can be used as long as digital data can be recorded and read out. Will be described. As the external recording medium 230 using the HDD, for example, a removable recording medium such as the aforementioned iVDR can also be used.

図1は、記録媒体にHDDを用いた場合のデジタルデータ記録再生装置110を有するミラーリングシステムの構成例を示した図である。図1において、PC100は内部に第1の記録媒体として内蔵HDD120を有し、また、デジタルデータ記録再生装置110を有している。外部には接続インタフェース240を介して第2の記録媒体として外付HDD130が接続されている。   FIG. 1 is a diagram showing a configuration example of a mirroring system having a digital data recording / reproducing apparatus 110 when an HDD is used as a recording medium. In FIG. 1, a PC 100 has a built-in HDD 120 as a first recording medium, and also has a digital data recording / reproducing device 110. An external HDD 130 is connected to the outside via a connection interface 240 as a second recording medium.

また、デジタルデータ記録再生装置110は、内蔵HDD120のデータにアクセスする記録媒体アクセス部1(111)、内蔵HDD120および外付HDD130の固有の情報を取得するIDアクセス部112、データを暗号化および復号化する暗号化/復号化部113、外付HDD130についての不正コピーの判定を行う判定部114、外付HDD130のデータにアクセスする記録媒体アクセス部2(115)を有する構成となっている。   The digital data recording / reproducing apparatus 110 also includes a recording medium access unit 1 (111) for accessing data in the internal HDD 120, an ID access unit 112 for acquiring unique information of the internal HDD 120 and the external HDD 130, and encryption and decryption of data. The encryption / decryption unit 113 to be converted, the determination unit 114 that determines unauthorized copying of the external HDD 130, and the recording medium access unit 2 (115) that accesses the data of the external HDD 130 are configured.

内蔵HDD120には、内蔵HDD120の固有の情報であるID(IDENTIFY DEVICE information)1(121)、PC100にインストールされたOS122、およびデータ123が記録されている。また、外付HDD130には、外付HDD130のID2(131)、内蔵HDD120のID1(121)をコピーしたID1(132)、ID1(121)を暗号化した暗号化ID1(133)、内蔵HDD120のOS122を暗号化した暗号化OS134、内蔵HDD120のデータ123の一部または全部を暗号化した暗号化データ135、データ123のうち暗号化せずにコピーしたデータ136が記録されている。   The built-in HDD 120 stores ID (IDENTIFY DEVICE information) 1 (121), which is unique information of the built-in HDD 120, an OS 122 installed in the PC 100, and data 123. The external HDD 130 includes ID2 (131) of the external HDD 130, ID1 (132) obtained by copying ID1 (121) of the internal HDD 120, encrypted ID1 (133) obtained by encrypting ID1 (121), and the internal HDD 120. An encrypted OS 134 obtained by encrypting the OS 122, encrypted data 135 obtained by encrypting a part or all of the data 123 of the built-in HDD 120, and data 136 copied without encryption are recorded.

以下に、図3を用いて本実施の形態のデジタルデータ記録再生装置110におけるミラーリングの具体的な処理内容について説明する。図3は、ミラーリングの処理の流れの例を示すフローチャートである。   The specific processing contents of mirroring in the digital data recording / reproducing apparatus 110 of this embodiment will be described below with reference to FIG. FIG. 3 is a flowchart illustrating an example of the flow of the mirroring process.

ミラーリングの処理を開始すると(ステップS301)、まず、内蔵HDD120に記録されているOS122の一部または全部を記録媒体アクセス部1(111)によって読み出す。また、ミラーリング先の外付HDD130のID2(131)をIDアクセス部112によって読み出す。このID2(131)を鍵として、暗号化/復号化部113によってOS122を暗号化し、記録媒体アクセス部2(115)によって外付HDD130に暗号化OS134として記録する(ステップS302)。   When the mirroring process is started (step S301), a part or all of the OS 122 recorded in the internal HDD 120 is first read by the recording medium access unit 1 (111). The ID access unit 112 reads ID2 (131) of the external HDD 130 that is the mirroring destination. Using this ID2 (131) as a key, the OS 122 is encrypted by the encryption / decryption unit 113 and recorded as the encrypted OS 134 in the external HDD 130 by the recording medium access unit 2 (115) (step S302).

次に、記録媒体アクセス部1(111)によって内蔵HDD120に記録されているデータ123を読み出して、読み出したデータ123を暗号化するかどうか判定する(ステップS303)。暗号化しない場合は、読み出したデータ123を記録媒体アクセス部2(115)によってそのまま外付HDD130にデータ136として記録する(ステップS304)。   Next, the data 123 recorded in the internal HDD 120 is read by the recording medium access unit 1 (111), and it is determined whether or not the read data 123 is to be encrypted (step S303). If not encrypted, the read data 123 is recorded as it is in the external HDD 130 by the recording medium access unit 2 (115) as data 136 (step S304).

読み出したデータ123を暗号化する場合は、IDアクセス部112によって読み出した外付HDD130のID2(131)を鍵として、暗号化/復号化部113によって読み出したデータ123を暗号化する。これを記録媒体アクセス部2(115)によって外付HDD130に暗号化データ135として記録する(ステップS305)。以上のステップS303〜ステップS305までの処理をミラーリング対象の全てのデータ123について実行する。   When encrypting the read data 123, the data 123 read by the encryption / decryption unit 113 is encrypted using the ID 2 (131) of the external HDD 130 read by the ID access unit 112 as a key. This is recorded as encrypted data 135 in the external HDD 130 by the recording medium access unit 2 (115) (step S305). The processes from step S303 to step S305 are executed for all data 123 to be mirrored.

本実施の形態のデジタルデータ記録再生装置110では、ミラーリング元のHDDを特定するため、ミラーリング先のHDDには、ミラーリング元のHDDのIDを記録するものとする。従って、内蔵HDD120のID1(121)をIDアクセス部112によって読み出し、IDアクセス部112によって読み出した外付HDD130のID2(131)を鍵として、暗号化/復号化部113によってID1(121)を暗号化する。これを記録媒体アクセス部2(115)によって外付HDD130に暗号化ID1(133)として記録する(ステップS306)。   In the digital data recording / reproducing apparatus 110 of this embodiment, in order to specify the mirroring source HDD, the mirroring source HDD ID is recorded on the mirroring destination HDD. Accordingly, ID1 (121) of internal HDD 120 is read by ID access unit 112, and ID1 (121) of encryption / decryption unit 113 is encrypted by ID2 (131) of external HDD 130 read by ID access unit 112 as a key. Turn into. This is recorded as the encryption ID 1 (133) in the external HDD 130 by the recording medium access unit 2 (115) (step S306).

また、ID1(121)は、記録媒体アクセス部2(115)によってそのまま外付HDD130にID1(132)として記録する(ステップS307)。なお、ミラーリング元のHDDを特定するためには、上述の暗号化ID1(133)か、ID1(132)のいずれか一方があれば良いが、本実施の形態では、後述する不正コピーの判定処理も行うために両方記録している。以上で、ミラーリングの処理を終了する(ステップS308)。   ID1 (121) is recorded as ID1 (132) in the external HDD 130 as it is by the recording medium access unit 2 (115) (step S307). In order to identify the mirroring source HDD, either one of the above-mentioned encryption ID1 (133) or ID1 (132) may be used. In this embodiment, the unauthorized copy determination process described later is performed. Also record both to do. This completes the mirroring process (step S308).

次に、図4を用いて暗号化の鍵データおよびミラーリング元のHDDを特定するデータとして使用するID1(121)およびID2(131)について説明する。内蔵HDD120および外付HDD130内のIDは、IDアクセス部112によって、HDDに対してIDENTIFY DEVICEコマンドを発行することで読み出す。IDENTIFY DEVICEコマンドは、ATAデバイスで標準装備されているHDDの詳細情報を読み出す命令であり、IDENTIFY DEVICEコマンドに対して応答される情報を用いてID1(121)およびID2(131)の情報とする。   Next, ID1 (121) and ID2 (131) used as encryption key data and data for specifying the mirroring HDD will be described with reference to FIG. The IDs in the internal HDD 120 and the external HDD 130 are read out by issuing an IDENTIFY DEVICE command to the HDD by the ID access unit 112. The IDENTIFY DEVICE command is a command for reading the detailed information of the HDD that is provided as a standard in the ATA device, and is used as information of ID1 (121) and ID2 (131) using information responded to the IDENTIFY DEVICE command.

図4は、IDENTIFY DEVICEコマンドで実際に読み出される情報の一部を示した図である。IDENTIFY DEVICEコマンドで読み出される情報のうち、ID1(121)およびID2(131)で使用するデータは、個々の記録媒体に固有の書き換えがされない情報である必要があり、また、個々の記録媒体で異なる情報であることが望ましいため、シリアル番号402(20バイト)およびモデル番号403(40バイト)を使用する。   FIG. 4 is a diagram showing a part of information actually read by the IDENTIFY DEVICE command. Of the information read by the IDENTIFY DEVICE command, the data used for ID1 (121) and ID2 (131) must be information that is not rewritten unique to each recording medium, and is different for each recording medium. Since it is desirable to be information, the serial number 402 (20 bytes) and the model number 403 (40 bytes) are used.

本実施の形態のデジタルデータ記録再生装置110では、暗号化/復号化部113で使用する暗号方式には、強固で処理が速いAES(Advanced Encryption Standard)を使用するものとする。AESの鍵長は16バイト(128ビット)、24バイト(192ビット)、32バイト(256ビット)から選択可能であるが、本実施の形態では、鍵長16バイト(128ビット)を使用するものとする。   In the digital data recording / reproducing apparatus 110 of the present embodiment, it is assumed that the encryption method used in the encryption / decryption unit 113 uses AES (Advanced Encryption Standard) that is strong and fast in processing. The AES key length can be selected from 16 bytes (128 bits), 24 bytes (192 bits), and 32 bytes (256 bits). In this embodiment, the key length uses 16 bytes (128 bits). And

ここで、シリアル番号402は16バイト以上であるため、本実施の形態では、シリアル番号402の下位16バイトのデータを使用する。これにより、実用上個々の記録媒体で異なる値を得ることができる。また、これより長い鍵長を選択する場合は、シリアル番号402の長さでは足りないため、シリアル番号402にさらにモデル番号403を合わせたデータを使用することができる。なお、本実施の形態では暗号方式にAESを使用しているが、これに限られるものではなく、他の暗号方式を用いることもできる。その場合は、暗号方式で用いる鍵長に対応した長さのデータを使用することになる。   Here, since the serial number 402 is 16 bytes or more, in this embodiment, data of lower 16 bytes of the serial number 402 is used. Thereby, practically different values can be obtained for individual recording media. When a longer key length is selected, the length of the serial number 402 is not sufficient, so that data obtained by adding the model number 403 to the serial number 402 can be used. In this embodiment, AES is used as the encryption method, but the present invention is not limited to this, and other encryption methods can also be used. In that case, data having a length corresponding to the key length used in the encryption method is used.

また、IDとして使用するデータは、個々の記録媒体に固有の書き換えがされない情報であり、暗号方式で用いる鍵長以上の長さを有し、コマンド等により読み出すことができる情報であれば、使用する記録媒体の種類に応じて他の情報を使用することも可能である。   The data used as the ID is information that is not rewritten unique to each recording medium, and is information that has a length longer than the key length used in the encryption method and can be read by a command or the like. Other information can be used depending on the type of recording medium to be used.

次に、図5を用いて、上述した手順によりミラーリングされた外付HDD130を使用する際の具体的な処理内容について説明する。図5は、ミラーリングされた外付HDD130を使用する処理の流れの例を示すフローチャートである。   Next, specific processing contents when using the external HDD 130 mirrored according to the above-described procedure will be described with reference to FIG. FIG. 5 is a flowchart showing an example of the flow of processing using the mirrored external HDD 130.

処理を開始すると(ステップS501)、まず、外付HDD130に記録されているID1(132)および暗号化ID1(133)を、記録媒体アクセス部2(115)によって読み出す。読み出した暗号化ID1(133)を、IDアクセス部112によって取得したID2(131)を鍵として、暗号化/復号化部113によって復号化し、これを判定部114によって、ID1(132)と比較する(ステップS502)。   When the process is started (step S501), first, ID1 (132) and encrypted ID1 (133) recorded in the external HDD 130 are read by the recording medium access unit 2 (115). The read encrypted ID1 (133) is decrypted by the encryption / decryption unit 113 using the ID2 (131) acquired by the ID access unit 112 as a key, and is compared with the ID1 (132) by the determination unit 114. (Step S502).

両者が一致しない場合は、外付HDD130内のデータについて不正コピーがされているものと判定し、処理を終了する(ステップS503)。一致した場合は、暗号化OS134を記録媒体アクセス部2(115)によって読み出し、IDアクセス部112によって取得したID2(131)を鍵として、暗号化/復号化部113によって復号化する(ステップS504)。その後、復号化したOSによってPC100を起動する(ステップS505)。   If they do not match, it is determined that the data in the external HDD 130 has been illegally copied, and the process ends (step S503). If they match, the encryption OS 134 is read by the recording medium access unit 2 (115), and the encryption / decryption unit 113 decrypts the ID 2 (131) acquired by the ID access unit 112 as a key (step S504). . Thereafter, the PC 100 is activated by the decrypted OS (step S505).

次に、暗号化データ135を使用するかどうかを判定する(ステップS506)。暗号化データ135を使用する場合は、暗号化データ135を記録媒体アクセス部2(115)によって読み出し、IDアクセス部112によって取得したID2(131)を鍵として、暗号化/復号化部113によって復号化し、復号化したデータを外付HDD130に記録する(ステップS507)。以上で、外付HDD130を使用する処理を終了する(ステップS508)。   Next, it is determined whether to use the encrypted data 135 (step S506). When the encrypted data 135 is used, the encrypted data 135 is read by the recording medium access unit 2 (115), and decrypted by the encryption / decryption unit 113 using the ID2 (131) acquired by the ID access unit 112 as a key. The decrypted data is recorded in the external HDD 130 (step S507). This completes the process of using the external HDD 130 (step S508).

次に、図6を用いて外付HDD130を不正にコピーした場合の動作について説明する。図6は、外付HDD130のデータを別の外付HDD630にコピーした場合の例を示した図である。外付HDD130内のID1(132)、暗号化ID1(133)、暗号化OS134、暗号化データ135、データ136を、図6に示すように、外付HDD630へ不正にコピーしたとする。このとき、外付HDD630のID3(631)については、書き換えできないデータであるため、外付HDD130のデータをコピーしたとしても上書きされない。   Next, an operation when the external HDD 130 is illegally copied will be described with reference to FIG. FIG. 6 is a diagram showing an example when the data in the external HDD 130 is copied to another external HDD 630. Assume that ID1 (132), encrypted ID1 (133), encrypted OS 134, encrypted data 135, and data 136 in the external HDD 130 are illegally copied to the external HDD 630 as shown in FIG. At this time, since ID3 (631) of the external HDD 630 is data that cannot be rewritten, even if the data of the external HDD 130 is copied, it is not overwritten.

上述の図5で説明した処理内容に従って、外付HDD130の場合と同様の手順で外付HDD630を使用してOSを起動させようとした場合、ステップS502において、暗号化ID1(633)をID3(631)を鍵として復号化したデータと、ID1(632)とを比較することになる。暗号化ID1(633)は、外付HDD130のID2(131)を鍵として暗号化されたものであるため正しく復号化されず、両者は不一致となりステップS503にて処理は終了する。   If the OS is to be started up using the external HDD 630 in the same procedure as the case of the external HDD 130 in accordance with the processing contents described above with reference to FIG. 5, the encrypted ID 1 (633) is set to ID 3 ( 631) is compared with ID1 (632). The encrypted ID 1 (633) is encrypted using the ID 2 (131) of the external HDD 130 as a key, so it is not correctly decrypted, and the two do not match, and the process ends in step S503.

このように、外付HDD130に、ミラーリング元の内蔵HDD120のIDであるID1(132)と、このID1(132)を外付HDD130自身のIDであるID2(131)で暗号化した暗号化ID1(133)をともに記録しておき、両者を比較することで、不正コピーの有無を判定することができる。   As described above, the ID1 (132) that is the ID of the mirroring source internal HDD 120 and the ID1 (132) that is obtained by encrypting the ID1 (132) with the ID2 (131) that is the ID of the external HDD 130 are stored in the external HDD 130. 133) is recorded together, and by comparing the two, the presence or absence of unauthorized copying can be determined.

仮に、不正コピーした他のデータ、例えば暗号化OS(634)を、何らかの手段により使用しようとして、ID3(631)を鍵として復号化しても、この鍵が暗号化したときの鍵であるID2(131)と異なるため、正しく復号化することはできない。すなわち、不正にコピーしてもOSを起動させることはできない。同様に、暗号化データ(635)を復号化して使用しようとしても、復号化するときの鍵が暗号化したときの鍵と異なるため正しく復号化することはできず、データを使用することはできない。   Even if other data illegally copied, for example, the encrypted OS (634) is used by some means and decrypted using ID3 (631) as a key, ID2 (ID2) which is the key when this key is encrypted is used. 131), it cannot be correctly decoded. In other words, the OS cannot be started even if copied illegally. Similarly, even if the encrypted data (635) is to be decrypted and used, it cannot be correctly decrypted because the key used for decryption is different from the encrypted key, and the data cannot be used. .

以上に説明したように、本実施の形態のデジタルデータ記録再生装置110によれば、Serial ATAやUSB等の手軽なインタフェースによってHDD等の記録媒体を接続し、ミラーリング先の記録媒体において不正コピーを防止する機能を有するミラーリングシステムを容易に構築することが可能となる。   As described above, according to the digital data recording / reproducing apparatus 110 of this embodiment, a recording medium such as an HDD is connected by a simple interface such as Serial ATA or USB, and unauthorized copying is performed on the recording medium at the mirroring destination. It is possible to easily construct a mirroring system having a function to prevent.

<実施の形態2>
外付HDDは手軽にPCと接続できるため、重要なデータのみを外付HDDにミラーリングしてバックアップを取るという使用方法も想定される。そこで、本発明の実施の形態2では、PCの内蔵HDDに保存したデータのみを外付HDDにミラーリングするデジタルデータ記録再生装置を有するミラーリングシステムについて説明する。
<Embodiment 2>
Since an external HDD can be easily connected to a PC, a method of using only important data by mirroring the external HDD for backup is also assumed. Therefore, in the second embodiment of the present invention, a mirroring system having a digital data recording / reproducing apparatus that mirrors only data stored in an internal HDD of a PC to an external HDD will be described.

図7は、本発明の実施の形態2であるデジタルデータ記録再生装置110を有するミラーリングシステムの構成例を示した図である。図7において、ミラーリングシステム全体の構成は、実施の形態1の図1に示す構成とほぼ同様である。図1との相違点は、外付HDD130に暗号化OS134が記録されていない点である。   FIG. 7 is a diagram showing a configuration example of a mirroring system having the digital data recording / reproducing apparatus 110 according to the second embodiment of the present invention. In FIG. 7, the configuration of the entire mirroring system is substantially the same as the configuration shown in FIG. The difference from FIG. 1 is that the encrypted OS 134 is not recorded in the external HDD 130.

以下に、図8を用いて本実施の形態のデジタルデータ記録再生装置110におけるミラーリングの具体的な処理内容について説明する。図8は、ミラーリングの処理の流れの例を示すフローチャートである。   The specific processing contents of mirroring in the digital data recording / reproducing apparatus 110 of this embodiment will be described below with reference to FIG. FIG. 8 is a flowchart illustrating an example of a processing flow of mirroring.

ミラーリングの処理を開始すると(ステップS801)、まず、記録媒体アクセス部1(111)によって内蔵HDD120に記録されているデータ123を読み出して、読み出したデータ123を暗号化するかどうか判定する(ステップS802)。暗号化しない場合は、読み出したデータ123を記録媒体アクセス部2(115)によってそのまま外付HDD130にデータ136として記録する(ステップS803)。   When the mirroring process is started (step S801), first, the data 123 recorded in the internal HDD 120 is read by the recording medium access unit 1 (111), and it is determined whether or not the read data 123 is to be encrypted (step S802). ). If not encrypted, the read data 123 is recorded as data 136 in the external HDD 130 as it is by the recording medium access unit 2 (115) (step S803).

読み出したデータ123を暗号化する場合は、IDアクセス部112によって読み出した外付HDD130のID2(131)を鍵として、暗号化/復号化部113によって読み出したデータ123を暗号化する。これを記録媒体アクセス部2(115)によって外付HDD130に暗号化データ135として記録する(ステップS804)。以上のステップS802〜ステップS804までの処理をミラーリング対象の全てのデータ123について実行する。なお、実施の形態1と同様に、暗号化/復号化部113で使用する暗号方式にはAESを使用するものとする。   When encrypting the read data 123, the data 123 read by the encryption / decryption unit 113 is encrypted using the ID 2 (131) of the external HDD 130 read by the ID access unit 112 as a key. This is recorded as encrypted data 135 in the external HDD 130 by the recording medium access unit 2 (115) (step S804). The processes from step S802 to step S804 are executed for all data 123 to be mirrored. As in the first embodiment, AES is used as the encryption method used in the encryption / decryption unit 113.

本実施の形態では、実施の形態1と同様に、ミラーリング元のHDDを特定するため、ミラーリング先のHDDには、ミラーリング元のHDDのIDを記録するものとする。従って、内蔵HDD120のID1(121)をIDアクセス部112によって読み出し、IDアクセス部112によって読み出した外付HDD130のID2(131)を鍵として、暗号化/復号化部113によってID1(121)を暗号化する。これを記録媒体アクセス部2(115)によって外付HDD130に暗号化ID1(133)として記録する(ステップS805)。   In the present embodiment, as in the first embodiment, in order to identify the mirroring source HDD, the mirroring source HDD ID is recorded in the mirroring destination HDD. Accordingly, ID1 (121) of internal HDD 120 is read by ID access unit 112, and ID1 (121) of encryption / decryption unit 113 is encrypted by ID2 (131) of external HDD 130 read by ID access unit 112 as a key. Turn into. This is recorded as the encryption ID 1 (133) in the external HDD 130 by the recording medium access unit 2 (115) (step S805).

また、ID1(121)は、記録媒体アクセス部2(115)によってそのまま外付HDD130にID1(132)として記録する(ステップS806)。なお、実施の形態1と同様に、ミラーリング元のHDDを特定するためには、上述の暗号化ID1(133)か、ID1(132)のいずれか一方があれば良いが、本実施の形態では、後述する不正コピーの判定処理も行うために両方記録している。以上で、ミラーリングの処理を終了する(ステップS807)。   ID1 (121) is directly recorded as ID1 (132) in the external HDD 130 by the recording medium access unit 2 (115) (step S806). As in the first embodiment, in order to identify the mirroring source HDD, either the above-described encryption ID1 (133) or ID1 (132) is sufficient. Both are recorded in order to perform an illegal copy determination process described later. This completes the mirroring process (step S807).

次に、図9を用いて、上述した手順によりミラーリングされた外付HDD130を使用する際の具体的な処理内容について説明する。図9は、ミラーリングされた外付HDD130を使用する処理の流れの例を示すフローチャートである。   Next, specific processing contents when using the external HDD 130 mirrored by the above-described procedure will be described with reference to FIG. FIG. 9 is a flowchart showing an example of a flow of processing using the mirrored external HDD 130.

処理を開始すると(ステップS901)、まず、外付HDD130に記録されているID1(132)および暗号化ID1(133)を、記録媒体アクセス部2(115)によって読み出す。読み出した暗号化ID1(133)を、IDアクセス部112によって取得したID2(131)を鍵として、暗号化/復号化部113によって復号化し、これを判定部114によって、ID1(132)と比較する(ステップS902)。   When the process is started (step S901), first, ID1 (132) and encrypted ID1 (133) recorded in the external HDD 130 are read by the recording medium access unit 2 (115). The read encrypted ID1 (133) is decrypted by the encryption / decryption unit 113 using the ID2 (131) acquired by the ID access unit 112 as a key, and is compared with the ID1 (132) by the determination unit 114. (Step S902).

両者が一致しない場合は、外付HDD130内のデータについて不正コピーがされているものと判定し、処理を終了する(ステップS903)。一致した場合は、暗号化データ135を使用するかどうかを判定する(ステップS904)。暗号化データ135を使用する場合は、暗号化データ135を記録媒体アクセス部2(115)によって読み出し、IDアクセス部112によって取得したID2(131)を鍵として、暗号化/復号化部113によって復号化し、復号化したデータを外付HDD130に記録する(ステップS905)。以上で、外付HDD130を使用する処理を終了する(ステップS906)。   If they do not match, it is determined that the data in the external HDD 130 has been illegally copied, and the process ends (step S903). If they match, it is determined whether or not to use the encrypted data 135 (step S904). When the encrypted data 135 is used, the encrypted data 135 is read by the recording medium access unit 2 (115), and decrypted by the encryption / decryption unit 113 using the ID2 (131) acquired by the ID access unit 112 as a key. The decrypted data is recorded in the external HDD 130 (step S905). This completes the process of using the external HDD 130 (step S906).

このように、実施の形態1と同様に、外付HDD130に、ミラーリング元の内蔵HDD120のIDであるID1(132)と、このID1(132)を外付HDD130自身のIDであるID2(131)で暗号化した暗号化ID1(133)をともに記録しておき、両者を比較することで、不正コピーの有無を判定することができる。また、暗号化データ(135)を不正コピーして使用しようとしても、暗号化したときの鍵と復号化するときの鍵が異なるため正しく復号化することができず、データを使用することはできないため、不正コピーを防止することができる。   As described above, as in the first embodiment, the external HDD 130 has the ID1 (132) that is the ID of the mirroring-source internal HDD 120 and the ID1 (132) that is the ID of the external HDD 130 itself (131). It is possible to determine whether or not there is an unauthorized copy by recording together the encrypted ID 1 (133) encrypted in step S1 and comparing the two. Even if the encrypted data (135) is illegally copied and used, it cannot be correctly decrypted because the encrypted key and the decrypted key are different, and the data cannot be used. Therefore, unauthorized copying can be prevented.

<実施の形態3>
本発明の実施の形態3では、ミラーリング先の記録媒体が、セキュア領域と通常領域とを有する記録媒体である場合の、デジタルデータ記録再生装置を有するミラーリングシステムについて説明する。
<Embodiment 3>
In the third embodiment of the present invention, a mirroring system having a digital data recording / reproducing apparatus when the recording medium to be mirrored is a recording medium having a secure area and a normal area will be described.

ここで、セキュア領域とは、機器と記録媒体との間で認証を行い、認証が有効である場合にのみ特別なコマンドを使用してアクセス可能となる領域であり、通常領域とは、通常のHDD等での領域と同様に特別な認証なしでアクセスできる領域である。上述のようなセキュア領域を有する記録媒体としては、例えば、前述のSAFIA規格に準拠したHDD等がある。   Here, the secure area is an area that is authenticated between the device and the recording medium, and can be accessed using a special command only when the authentication is valid. The normal area is a normal area. It is an area that can be accessed without special authentication in the same way as an area in an HDD or the like. Examples of the recording medium having the secure area as described above include an HDD conforming to the above-described SAFIA standard.

図10は、本発明の実施の形態3であるデジタルデータ記録再生装置110を有するミラーリングシステムの構成例を示した図である。図10において、ミラーリングシステム全体の構成は、実施の形態1の図1に示す構成とほぼ同様である。図1との相違点は、外付HDD130がセキュア領域付き外付HDD1000になっている点と、デジタルデータ記録再生装置110が、IDアクセス部112、判定部114を有さず、暗号化/復号化部113で使用される鍵を生成する鍵データ生成部1001と、セキュア領域付き外付HDD1000のセキュア領域のデータにアクセスするセキュア領域アクセス部1002とを有する点である。   FIG. 10 is a diagram showing a configuration example of a mirroring system having the digital data recording / reproducing apparatus 110 according to the third embodiment of the present invention. 10, the configuration of the entire mirroring system is almost the same as the configuration shown in FIG. 1 of the first embodiment. The difference from FIG. 1 is that the external HDD 130 is an external HDD 1000 with a secure area, and the digital data recording / reproducing device 110 does not have the ID access unit 112 and the determination unit 114, and is encrypted / decrypted. The key data generating unit 1001 that generates a key used in the converting unit 113 and the secure area access unit 1002 that accesses the data in the secure area of the external HDD 1000 with the secure area.

セキュア領域付き外付HDD1000は、内蔵HDD120のID1(132)および、これを暗号化した暗号化ID1(133)を保持せず、セキュア領域1010に、鍵データ1(1011)、鍵データ2(1012)を保持している。これら鍵データ1(1011)、鍵データ2(1012)は、鍵データ生成部1001によって生成された鍵である。   The external HDD 1000 with the secure area does not hold the ID 1 (132) of the internal HDD 120 and the encrypted ID 1 (133) obtained by encrypting the internal HDD 120, and the key data 1 (1011) and the key data 2 (1012) are stored in the secure area 1010. ). The key data 1 (1011) and the key data 2 (1012) are keys generated by the key data generation unit 1001.

以下に、図11を用いて本実施の形態のデジタルデータ記録再生装置110におけるミラーリングの具体的な処理内容について説明する。図11は、ミラーリングの処理の流れの例を示すフローチャートである。   The specific processing contents of mirroring in the digital data recording / reproducing apparatus 110 of this embodiment will be described below with reference to FIG. FIG. 11 is a flowchart illustrating an example of a processing flow of mirroring.

ミラーリングの処理を開始すると(ステップS1101)、まず、鍵データ生成部1001で、ランダムデータを発生させることにより鍵データ1を生成する(ステップS1102)。   When the mirroring process is started (step S1101), first, the key data generation unit 1001 generates key data 1 by generating random data (step S1102).

次に、記録媒体アクセス部1(111)により読み出した内蔵HDD120のOS122の一部分もしくは全体を、鍵データ生成部1001で生成した鍵データ1を鍵として、暗号化/復号化部113で暗号化し、記録媒体アクセス部2(115)により、セキュア領域付き外付HDD1000に暗号化OS134として記録する。また、鍵データ1を、セキュア領域アクセス部1002により、セキュア領域付き外付HDD1000のセキュア領域1010に鍵データ1(1011)として記録する(ステップS1103)。   Next, a part or all of the OS 122 of the internal HDD 120 read by the recording medium access unit 1 (111) is encrypted by the encryption / decryption unit 113 using the key data 1 generated by the key data generation unit 1001 as a key, Recording is performed as an encrypted OS 134 in the external HDD 1000 with a secure area by the recording medium access unit 2 (115). Further, the key data 1 is recorded as key data 1 (1011) in the secure area 1010 of the external HDD 1000 with the secure area by the secure area access unit 1002 (step S1103).

次に、記録媒体アクセス部1(111)によって内蔵HDD120に記録されているデータ123を読み出して、読み出したデータ123を暗号化するかどうか判定する(ステップS1104)。暗号化しない場合は、読み出したデータ123を記録媒体アクセス部2(115)によってそのままセキュア領域付き外付HDD1000にデータ136として記録する(ステップS1105)。   Next, the data 123 recorded in the internal HDD 120 is read by the recording medium access unit 1 (111), and it is determined whether or not the read data 123 is to be encrypted (step S1104). If not encrypted, the read data 123 is recorded as it is in the external HDD 1000 with secure area as data 136 by the recording medium access unit 2 (115) (step S1105).

読み出したデータ123を暗号化する場合は、鍵データ生成部1001で、ランダムデータを発生させることにより鍵データ2を生成する(ステップS1106)。次に、生成された鍵データ2を鍵として、暗号化/復号化部113によって読み出したデータ123を暗号化する。これを記録媒体アクセス部2(115)によってセキュア領域付き外付HDD1000に暗号化データ135として記録する。また、鍵データ2を、セキュア領域アクセス部1002により、セキュア領域付き外付HDD1000のセキュア領域1010に鍵データ2(1012)として記録する(ステップS1107)。   When encrypting the read data 123, the key data generation unit 1001 generates the key data 2 by generating random data (step S1106). Next, the data 123 read by the encryption / decryption unit 113 is encrypted using the generated key data 2 as a key. This is recorded as encrypted data 135 in the external HDD 1000 with a secure area by the recording medium access unit 2 (115). Further, the key data 2 is recorded as key data 2 (1012) in the secure area 1010 of the external HDD 1000 with the secure area by the secure area access unit 1002 (step S1107).

以上のステップS1104〜ステップS1107までの処理をミラーリング対象の全てのデータ123について実行する。以上で、ミラーリングの処理を終了する(ステップS1108)。   The processing from step S1104 to step S1107 is executed for all data 123 to be mirrored. This completes the mirroring process (step S1108).

なお、実施の形態1と同様に、暗号化/復号化部113で使用する暗号方式にはAESを使用するものとする。AESの鍵長は、16バイト(128ビット)、24バイト(192ビット)、32バイト(256ビット)から選択可能であるが、本実施の形態では、鍵データ生成部1001にて16バイトのデータを生成することにより、鍵長16バイト(128ビット)を使用するものとする。   As in the first embodiment, AES is used as the encryption method used in the encryption / decryption unit 113. The key length of AES can be selected from 16 bytes (128 bits), 24 bytes (192 bits), and 32 bytes (256 bits). In this embodiment, the key data generation unit 1001 uses 16 bytes of data. It is assumed that a key length of 16 bytes (128 bits) is used.

次に、図12を用いて、上述した手順によりミラーリングされたセキュア領域付き外付HDD1000を使用する際の具体的な処理内容について説明する。図12は、ミラーリングされたセキュア領域付き外付HDD1000を使用する処理の流れの例を示すフローチャートである。   Next, specific processing contents when using the external HDD 1000 with the secure area mirrored by the above-described procedure will be described with reference to FIG. FIG. 12 is a flowchart showing an example of the flow of processing using the mirrored external HDD 1000 with a secure area.

処理を開始すると(ステップS1201)、まず、暗号化OS134を記録媒体アクセス部2(115)によって読み出し、セキュア領域アクセス部1002によって読み出した鍵データ1(1011)を鍵として、暗号化/復号化部113によって復号化する(ステップS1202)。その後、復号化したOSによってPC100を起動する(ステップS1203)。   When the processing is started (step S1201), first, the encrypted OS 134 is read by the recording medium access unit 2 (115), and the encryption / decryption unit using the key data 1 (1011) read by the secure area access unit 1002 as a key. The data is decrypted by 113 (step S1202). Thereafter, the PC 100 is activated by the decrypted OS (step S1203).

次に、暗号化データ135を使用するかどうかを判定する(ステップS1204)。暗号化データ135を使用する場合は、暗号化データ135を記録媒体アクセス部2(115)によって読み出し、セキュア領域アクセス部1002によって読み出した鍵データ2(1012)を鍵として、暗号化/復号化部113によって復号化し、復号化したデータをセキュア領域付き外付HDD1000に記録する(ステップS1205)。以上で、セキュア領域付き外付HDD1000を使用する処理を終了する(ステップS1206)。   Next, it is determined whether to use the encrypted data 135 (step S1204). When the encrypted data 135 is used, the encrypted data 135 is read by the recording medium access unit 2 (115), and the key data 2 (1012) read by the secure area access unit 1002 is used as a key for the encryption / decryption unit. The decrypted data is recorded in the external HDD 1000 with the secure area (step S1205). This completes the process of using the external HDD 1000 with the secure area (step S1206).

セキュア領域付き外付HDD1000のデータの内容を不正にコピーして、暗号化OS134や、暗号化データ135を使用しようとした場合は、暗号化時に使用した鍵データ1(1011)および鍵データ2(1012)が、セキュア領域1010にあることからこれらをコピーできず、正しく復号化することができない。これにより、ミラーリング先の記録媒体にて不正コピーを防止することができる。   If the content of data in the external HDD 1000 with secure area is copied illegally and the encryption OS 134 or the encrypted data 135 is used, the key data 1 (1011) and the key data 2 ( 1012) are in the secure area 1010, they cannot be copied and cannot be correctly decrypted. Thereby, unauthorized copying can be prevented on the recording medium of the mirroring destination.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the embodiment, and various modifications can be made without departing from the scope of the invention. Needless to say.

例えば、実施の形態1〜3にて説明したデジタルデータ記録再生装置110は、回路やLSI等によって構成し、基板やカード等のハードウェアとしてPC等の機器に実装する形態をとることも可能であるし、また、これらの機能を実現するソフトウェアとして実装し、例えば、機器の起動時に実行されたり、稼働中に随時実行されたりするようにして実現することも可能である。   For example, the digital data recording / reproducing apparatus 110 described in the first to third embodiments can be configured by a circuit, an LSI, or the like and mounted on a device such as a PC as hardware such as a board or a card. In addition, it can be implemented as software that realizes these functions, and can be realized, for example, to be executed when the device is activated or at any time during operation.

また、実施の形態1〜3では、デジタルデータ記録再生装置110をPC100に実装する構成としているが、実装の対象の機器は特にこれに限られず、例えばサーバ機器や、NAS(Network Attached Storage)等に実装する構成とすることも可能である。   In the first to third embodiments, the digital data recording / reproducing apparatus 110 is mounted on the PC 100. However, the target device is not limited to this, and for example, a server device, NAS (Network Attached Storage), or the like. It is also possible to adopt a configuration to be mounted on.

また、実施の形態1〜3では、ミラーリング元の記録媒体を内蔵の記録媒体とし、ミラーリング先の記録媒体を外付の記録媒体としているが、このような構成に限られず、内蔵から内蔵、外付から内蔵、外付から外付にミラーリングするような構成であっても構わない。   In the first to third embodiments, the mirroring source recording medium is a built-in recording medium, and the mirroring destination recording medium is an external recording medium. However, the present invention is not limited to such a configuration. A configuration in which mirroring is performed from the external to the internal and from the external to the external may be employed.

本発明は、デジタルデータを記録再生する装置および方法に利用可能である。   The present invention can be used in an apparatus and method for recording / reproducing digital data.

本発明の実施の形態1である、記録媒体にHDDを用いた場合のデジタルデータ記録再生装置を有するミラーリングシステムの構成例を示した図である。1 is a diagram showing a configuration example of a mirroring system having a digital data recording / reproducing device when an HDD is used as a recording medium, which is Embodiment 1 of the present invention. FIG. 本発明の実施の形態1である、デジタルデータ記録再生装置を有するミラーリングシステムの構成例を示した図である。It is the figure which showed the structural example of the mirroring system which has a digital data recording / reproducing apparatus which is Embodiment 1 of this invention. 本発明の実施の形態1における、ミラーリングの処理の流れの例を示すフローチャートである。It is a flowchart which shows the example of the flow of the process of mirroring in Embodiment 1 of this invention. 本発明の実施の形態1における、IDENTIFY DEVICEコマンドで実際に読み出される情報の一部を示した図である。FIG. 5 is a diagram showing a part of information actually read by an IDENTIFY DEVICE command in the first embodiment of the present invention. 本発明の実施の形態1における、ミラーリングされた外付HDDを使用する処理の流れの例を示すフローチャートである。4 is a flowchart showing an example of a flow of processing using a mirrored external HDD in the first embodiment of the present invention. 本発明の実施の形態1における、外付HDDのデータを他の外付HDDにコピーした場合の例を示した図である。It is the figure in Embodiment 1 of this invention which showed the example at the time of copying the data of external HDD to other external HDD. 本発明の実施の形態2である、デジタルデータ記録再生装置を有するミラーリングシステムの構成例を示した図である。It is the figure which showed the structural example of the mirroring system which has a digital data recording / reproducing apparatus which is Embodiment 2 of this invention. 本発明の実施の形態2における、ミラーリングの処理の流れの例を示すフローチャートである。It is a flowchart which shows the example of the flow of the process of mirroring in Embodiment 2 of this invention. 本発明の実施の形態2における、ミラーリングされた外付HDDを使用する処理の流れの例を示すフローチャートである。It is a flowchart which shows the example of the flow of a process which uses the mirrored external HDD in Embodiment 2 of this invention. 本発明の実施の形態3である、デジタルデータ記録再生装置を有するミラーリングシステムの構成例を示した図である。It is the figure which showed the structural example of the mirroring system which has a digital data recording / reproducing apparatus which is Embodiment 3 of this invention. 本発明の実施の形態3における、ミラーリングの処理の流れの例を示すフローチャートである。It is a flowchart which shows the example of the flow of a mirroring process in Embodiment 3 of this invention. 本発明の実施の形態3における、ミラーリングされたセキュア領域付き外付HDDを使用する処理の流れの例を示すフローチャートである。10 is a flowchart showing an example of a flow of processing using a mirrored external HDD with a secure area in Embodiment 3 of the present invention.

符号の説明Explanation of symbols

100…パーソナルコンピュータ(PC)、110…デジタルデータ記録再生装置、111…記録媒体アクセス部1、112…IDアクセス部、113…暗号化/復号化部、114…判定部、115…記録媒体アクセス部2、120…内蔵HDD、121…ID1、122…OS、123…データ、130…外付HDD、131…ID2、132…ID1、133…暗号化ID1、134…暗号化OS、135…暗号化データ、136…データ、
200…表示装置、210…表示出力端子、220…内蔵記録媒体、230…外付記録媒体、240…接続インタフェース、
630…外付HDD、631…ID3、632…ID1、633…暗号化ID1、634…暗号化OS、635…暗号化データ、636…データ、
1000…セキュア領域付き外付HDD、1001…鍵データ生成部、1002…セキュア領域アクセス部、1010…セキュア領域、1011…鍵データ1、1012…鍵データ2。
DESCRIPTION OF SYMBOLS 100 ... Personal computer (PC), 110 ... Digital data recording / reproducing apparatus, 111 ... Recording medium access part 1, 112 ... ID access part, 113 ... Encryption / decryption part, 114 ... Determination part, 115 ... Recording medium access part 2, 120 ... Internal HDD, 121 ... ID1, 122 ... OS, 123 ... Data, 130 ... External HDD, 131 ... ID2, 132 ... ID1, 133 ... Encrypted ID1, 134 ... Encrypted OS, 135 ... Encrypted data 136 ... data,
200 ... display device, 210 ... display output terminal, 220 ... internal recording medium, 230 ... external recording medium, 240 ... connection interface,
630 ... external HDD, 631 ... ID3, 632 ... ID1, 633 ... encryption ID1, 634 ... encryption OS, 635 ... encrypted data, 636 ... data,
1000: external HDD with secure area, 1001: key data generation unit, 1002: secure area access unit, 1010 ... secure area, 1011 ... key data 1, 1012 ... key data 2.

Claims (8)

記録媒体に対してデジタルデータの記録および読み出しを行うデジタルデータ記録再生装置であって、
第1の記録媒体のデータにアクセスする第1の記録媒体アクセス部と、第2の記録媒体のデータにアクセスする第2の記録媒体アクセス部と、記録媒体の固有の情報を取得するIDアクセス部と、データを暗号化および復号化する暗号化/復号化部とを有し、
前記第1の記録媒体のデータの全部または一部を前記第1の記録媒体アクセス部により読み出して、前記第2の記録媒体アクセス部により前記第2の記録媒体に記録することにより、前記第1の記録媒体から前記第2の記録媒体へのミラーリングを行い、
該ミラーリングを行う際に、前記第1の記録媒体アクセス部により前記第1の記録媒体から読み出したデータの全部または一部を、前記IDアクセス部により取得した前記第2の記録媒体の固有の情報を鍵として前記暗号化/復号化部にて暗号化し、暗号化されたデータを前記第2の記録媒体アクセス部により前記第2の記録媒体に記録することを特徴とするデジタルデータ記録再生装置。
A digital data recording / reproducing apparatus for recording and reading digital data on a recording medium,
A first recording medium access unit that accesses data on the first recording medium, a second recording medium access unit that accesses data on the second recording medium, and an ID access unit that acquires information specific to the recording medium And an encryption / decryption unit for encrypting and decrypting data,
By reading all or part of the data of the first recording medium by the first recording medium access unit and recording it on the second recording medium by the second recording medium access unit, the first recording medium access unit Mirroring from the recording medium to the second recording medium,
Specific information of the second recording medium obtained by the ID access unit with all or part of the data read from the first recording medium by the first recording medium access unit when performing the mirroring A digital data recording / reproducing apparatus, wherein the encryption / decryption unit encrypts the encrypted data using the second recording medium access unit as a key and the encrypted data is recorded on the second recording medium by the second recording medium access unit.
請求項1記載のデジタルデータ記録再生装置において、
前記IDアクセス部により取得する記録媒体の固有の情報は、記録媒体のシリアル番号とモデル番号とを合わせたデータの全部または一部であることを特徴とするデジタルデータ記録再生装置。
The digital data recording / reproducing apparatus according to claim 1, wherein
The digital data recording / reproducing apparatus characterized in that the unique information of the recording medium acquired by the ID access unit is all or a part of the data including the serial number and model number of the recording medium.
請求項1記載のデジタルデータ記録再生装置において、
前記ミラーリングを行う際に、前記IDアクセス部により取得した前記第1の記録媒体の固有の情報と、取得した前記第1の記録媒体の固有の情報を前記IDアクセス部により取得した前記第2の記録媒体の固有の情報を鍵として前記暗号化/復号化部にて暗号化したものとのうち、少なくともいずれか一方を、前記第2の記録媒体アクセス部により前記第2の記録媒体に記録することを特徴とするデジタルデータ記録再生装置。
The digital data recording / reproducing apparatus according to claim 1, wherein
When the mirroring is performed, the unique information of the first recording medium acquired by the ID access unit and the acquired unique information of the first recording medium are acquired by the ID access unit. At least one of the information encrypted by the encryption / decryption unit using the unique information of the recording medium as a key is recorded on the second recording medium by the second recording medium access unit. A digital data recording / reproducing apparatus.
請求項1記載のデジタルデータ記録再生装置において、
前記ミラーリングを行う際に、前記IDアクセス部により取得した前記第1の記録媒体の固有の情報と、取得した前記第1の記録媒体の固有の情報を前記IDアクセス部により取得した前記第2の記録媒体の固有の情報を鍵として前記暗号化/復号化部にて暗号化したものとを、前記第2の記録媒体アクセス部により前記第2の記録媒体に記録し、
前記第2の記録媒体のデータを読み出す際に、前記第2の記録媒体に記録されている、前記第1の記録媒体の固有の情報と、暗号化された前記第1の記録媒体の固有の情報とを、前記第2の記録媒体アクセス部により読み出し、読み出した前記第1の記録媒体の固有の情報と、暗号化された前記第1の記録媒体の固有の情報を前記IDアクセス部により取得した前記第2の記録媒体の固有の情報を鍵として前記暗号化/復号化部にて復号化したものとを比較し、両者が一致しない場合に、前記第2の記録媒体について不正コピーが行われたと判定することを特徴とするデジタルデータ記録再生装置。
The digital data recording / reproducing apparatus according to claim 1, wherein
When the mirroring is performed, the unique information of the first recording medium acquired by the ID access unit and the acquired unique information of the first recording medium are acquired by the ID access unit. What is recorded by the encryption / decryption unit using the unique information of the recording medium as a key is recorded on the second recording medium by the second recording medium access unit,
When reading the data of the second recording medium, the unique information of the first recording medium recorded on the second recording medium and the unique information of the encrypted first recording medium are recorded. The information is read by the second recording medium access unit, and the read unique information of the first recording medium and the encrypted unique information of the first recording medium are acquired by the ID access unit Compared with the information decrypted by the encryption / decryption unit using the unique information of the second recording medium as a key, if the two do not match, illegal copying is performed on the second recording medium. A digital data recording / reproducing apparatus characterized in that it is determined that the data has been broken.
記録媒体に対してデジタルデータの記録および読み出しを行うデジタルデータ記録再生装置であって、
第1の記録媒体のデータにアクセスする第1の記録媒体アクセス部と、セキュア領域と通常領域とを有する第2の記録媒体の通常領域のデータにアクセスする第2の記録媒体アクセス部と、前記第2の記録媒体のセキュア領域のデータにアクセスするセキュア領域アクセス部と、データを暗号化および復号化する暗号化/復号化部と、前記暗号化/復号化部で使用される鍵を生成する鍵データ生成部とを有し、
前記第1の記録媒体のデータの全部または一部を前記第1の記録媒体アクセス部により読み出して、前記第2の記録媒体アクセス部により前記第2の記録媒体に記録することにより、前記第1の記録媒体から前記第2の記録媒体へのミラーリングを行い、
該ミラーリングを行う際に、前記第1の記録媒体アクセス部により前記第1の記録媒体から読み出したデータの全部または一部を、前記鍵データ生成部により生成した鍵を用いて前記暗号化/復号化部にて暗号化し、暗号化されたデータを前記第2の記録媒体アクセス部により前記第2の記録媒体の通常領域に記録し、前記鍵データ生成部により生成した鍵を、前記セキュア領域アクセス部により前記第2の記録媒体のセキュア領域に記録することを特徴とするデジタルデータ記録再生装置。
A digital data recording / reproducing apparatus for recording and reading digital data on a recording medium,
A first recording medium access unit for accessing data in the first recording medium; a second recording medium access unit for accessing data in a normal area of the second recording medium having a secure area and a normal area; A secure area access unit that accesses data in a secure area of the second recording medium, an encryption / decryption unit that encrypts and decrypts the data, and a key that is used by the encryption / decryption unit A key data generation unit,
By reading all or part of the data of the first recording medium by the first recording medium access unit and recording it on the second recording medium by the second recording medium access unit, the first recording medium access unit Mirroring from the recording medium to the second recording medium,
When the mirroring is performed, all or part of the data read from the first recording medium by the first recording medium access unit is encrypted / decrypted using the key generated by the key data generation unit. The encryption unit encrypts the encrypted data, the second recording medium access unit records the encrypted data in the normal area of the second recording medium, and the key data generation unit generates the key in the secure area access A digital data recording / reproducing apparatus for recording in a secure area of the second recording medium.
デジタルデータを記録する第1の記録媒体と第2の記録媒体とを有する装置におけるデジタルデータ記録再生方法であって、
前記第1の記録媒体のデータの全部または一部を読み出して、読み出したデータの全部または一部を、前記第2の記録媒体から取得した前記第2の記録媒体の固有の情報を鍵として暗号化し、暗号化されたデータを前記第2の記録媒体に記録することによりミラーリングを行うことを特徴とするデジタルデータ記録再生方法。
A digital data recording / reproducing method in an apparatus having a first recording medium and a second recording medium for recording digital data,
All or part of the data on the first recording medium is read, and all or part of the read data is encrypted using the unique information of the second recording medium acquired from the second recording medium as a key. And recording the encrypted data on the second recording medium to perform mirroring.
請求項6記載のデジタルデータ記録再生方法において、
前記ミラーリングを行う際に、前記第1の記録媒体から取得した前記第1の記録媒体の固有の情報と、取得した前記第1の記録媒体の固有の情報を前記第2の記録媒体から取得した前記第2の記録媒体の固有の情報を鍵として暗号化したものとを、前記第2の記録媒体に記録し、
前記第2の記録媒体のデータを読み出す際に、前記第2の記録媒体に記録されている、前記第1の記録媒体の固有の情報と、暗号化された前記第1の記録媒体の固有の情報とを読み出し、読み出した前記第1の記録媒体の固有の情報と、暗号化された前記第1の記録媒体の固有の情報を前記第2の記録媒体から取得した前記第2の記録媒体の固有の情報を鍵として復号化したものとを比較し、両者が一致しない場合に、前記第2の記録媒体について不正コピーが行われたと判定することを特徴とするデジタルデータ記録再生方法。
The digital data recording / reproducing method according to claim 6,
When performing the mirroring, the unique information of the first recording medium acquired from the first recording medium and the acquired unique information of the first recording medium were acquired from the second recording medium. What is recorded on the second recording medium is encrypted with the unique information of the second recording medium as a key,
When reading the data of the second recording medium, the unique information of the first recording medium recorded on the second recording medium and the unique information of the encrypted first recording medium are recorded. Of the second recording medium obtained by reading the information unique to the first recording medium and the encrypted unique information of the first recording medium from the second recording medium. A digital data recording / reproducing method, comprising: comparing with decryption using unique information as a key; and determining that illegal copying has been performed on the second recording medium if they do not match.
デジタルデータを記録する第1の記録媒体と第2の記録媒体とを有し、前記第2の記録媒体はセキュア領域と通常領域とを有する装置におけるデジタルデータ記録再生方法であって、
前記第1の記録媒体のデータの全部または一部を読み出して、読み出したデータの全部または一部を、暗号化のために生成した鍵を用いて暗号化し、暗号化されたデータを前記第2の記録媒体の通常領域に記録し、暗号化のために生成した鍵を前記第2の記録媒体のセキュア領域に記録することを特徴とするデジタルデータ記録再生方法。
A digital data recording / reproducing method in an apparatus having a first recording medium and a second recording medium for recording digital data, wherein the second recording medium has a secure area and a normal area;
Reading all or part of the data of the first recording medium, encrypting all or part of the read data using a key generated for encryption, and encrypting the data to the second A digital data recording / reproducing method comprising: recording in a normal area of the recording medium, and recording a key generated for encryption in a secure area of the second recording medium.
JP2007319085A 2007-12-11 2007-12-11 Digital data recording / reproducing apparatus and digital data recording / reproducing method Active JP4714726B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007319085A JP4714726B2 (en) 2007-12-11 2007-12-11 Digital data recording / reproducing apparatus and digital data recording / reproducing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007319085A JP4714726B2 (en) 2007-12-11 2007-12-11 Digital data recording / reproducing apparatus and digital data recording / reproducing method

Publications (2)

Publication Number Publication Date
JP2009140604A true JP2009140604A (en) 2009-06-25
JP4714726B2 JP4714726B2 (en) 2011-06-29

Family

ID=40871048

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007319085A Active JP4714726B2 (en) 2007-12-11 2007-12-11 Digital data recording / reproducing apparatus and digital data recording / reproducing method

Country Status (1)

Country Link
JP (1) JP4714726B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003140981A (en) * 2001-11-07 2003-05-16 Hitachi Ltd Backup management method and storage control device used for this method
JP2003337754A (en) * 2002-05-22 2003-11-28 Sony Corp Recording device, restoration method, program, recording medium
JP2007074044A (en) * 2005-09-05 2007-03-22 Toshiba Corp Data distribution system and data communication terminal
JP2007228370A (en) * 2006-02-24 2007-09-06 Sony Corp Information recording / reproducing apparatus and content management method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003140981A (en) * 2001-11-07 2003-05-16 Hitachi Ltd Backup management method and storage control device used for this method
JP2003337754A (en) * 2002-05-22 2003-11-28 Sony Corp Recording device, restoration method, program, recording medium
JP2007074044A (en) * 2005-09-05 2007-03-22 Toshiba Corp Data distribution system and data communication terminal
JP2007228370A (en) * 2006-02-24 2007-09-06 Sony Corp Information recording / reproducing apparatus and content management method

Also Published As

Publication number Publication date
JP4714726B2 (en) 2011-06-29

Similar Documents

Publication Publication Date Title
TW544579B (en) System, method, and device for playing back recorded audio, video or other content from non-volatile memory cards, compact disks, or other media
JP5648209B2 (en) Storage system having encryption key selection device and encryption key selection method
JP4690600B2 (en) Data protection method
RU2494447C2 (en) Method to code memory stick and assembly for its realisation
JP2006268851A (en) Data transcription in data storage device
JP2005529422A5 (en)
JP2000330870A (en) Content processing system and content protection method
JP3978200B2 (en) Data protection method and data protection apparatus in data storage / retrieval system
JP2005505853A (en) Apparatus and method for reading or writing user data
KR20010043582A (en) Copy-protection on a storage medium by randomizing locations and keys upon write access
JP2007133608A (en) Information processing apparatus, software installation method, and optical disc
JP2010146127A (en) Data storage device and method for analyzing data storage device
JP2000122933A (en) Encryption system and encryption method
JP2007172579A (en) Apparatus and method for preventing unauthorized copying
JP2000298942A (en) Disk storage device and copy protection system applied to the device
JP4714726B2 (en) Digital data recording / reproducing apparatus and digital data recording / reproducing method
JP4560086B2 (en) Content data recording / reproducing apparatus
JP4537772B2 (en) Disk system
JP3862935B2 (en) Data processing apparatus and data processing method
JP2008293161A (en) Recording / playback device
JP4173471B2 (en) Information management system, information management method, recording medium, and information management program
JP4546128B2 (en) Method and apparatus for preventing unauthorized use of external recording media
JP2006031519A (en) Information processing apparatus and information processing method
JP2008176680A (en) Portable disk unit
Staring et al. Protected data storage system for optical discs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110202

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110328

R150 Certificate of patent or registration of utility model

Ref document number: 4714726

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150