JP2008077273A - Data protection method in semiconductor memory card, and semiconductor memory card - Google Patents
Data protection method in semiconductor memory card, and semiconductor memory card Download PDFInfo
- Publication number
- JP2008077273A JP2008077273A JP2006253899A JP2006253899A JP2008077273A JP 2008077273 A JP2008077273 A JP 2008077273A JP 2006253899 A JP2006253899 A JP 2006253899A JP 2006253899 A JP2006253899 A JP 2006253899A JP 2008077273 A JP2008077273 A JP 2008077273A
- Authority
- JP
- Japan
- Prior art keywords
- semiconductor memory
- memory card
- data
- password
- host device
- 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
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
Description
本発明は、半導体メモリカードにおけるデータ保護に関し、特に、コンテンツを記憶した半導体メモリカードを作成し、半導体メモリカードから最初にコンテンツを読み出した機器のみにおいて半導体メモリカードによるコンテンツを再読み出しを行なえるようにするとともに、それ以外の機器では当該半導体メモリカードからコンテンツを読み出すことができないようにしたデータデータ保護方法、および半導体カードに関する。 The present invention relates to data protection in a semiconductor memory card, and more particularly, to create a semiconductor memory card that stores content, and to re-read the content from the semiconductor memory card only in a device that first reads the content from the semiconductor memory card. In addition, the present invention relates to a data data protection method and a semiconductor card in which other devices cannot read content from the semiconductor memory card.
半導体カードの中には、データの不正コピー・不正書替えを防ぐ高度な著作権保護機能を搭載したメモリカードがある。最近では半導体メモリカードの記憶サイズの大容量化およびデータ読書きの高速化に伴って、この半導体メモリカードに種々の音楽データ、動画データ、地図データなど大容量のデータが収録されるようになっている。 Among the semiconductor cards, there is a memory card equipped with an advanced copyright protection function for preventing illegal copying / rewriting of data. Recently, as the storage size of semiconductor memory cards has increased and the speed of data reading and writing has increased, large amounts of data such as various music data, video data, and map data have been recorded on this semiconductor memory card. ing.
<半導体メモリカードの著作権保護機能>
特許文献1(特開2003−101529号公報)は、著作権保護機能によって保護されたコンテンツをMOVE処理もしくはPAUSE処理する際に、もとのコンテンツを安全かつ効率的に削除することを目的として、コンテンツ複合化の際導出された時変鍵を抽出し、抽出された時変鍵で元のタイトル鍵を更新する処理を追加したコンテンツ削除方法を開示している。
<Copyright protection function for semiconductor memory card>
Patent Document 1 (Japanese Patent Application Laid-Open No. 2003-101529) aims to delete the original content safely and efficiently when the content protected by the copyright protection function is subjected to MOVE processing or PAUSE processing. A content deletion method is disclosed in which a time variable key derived at the time of content composition is extracted, and a process of updating the original title key with the extracted time variable key is added.
上記のコンテンツ削除方法においては、コンテンツを複数のブロック単位に分割し、ブロック単位で複合化を順次行っていく際に得られる時変鍵によってタイトル鍵(コンテンツに予め定められた鍵)を順次上書きしていくことで、上書きした時変鍵を用いて複合化されるブロックよりも前のブロックの複合化が不可能になり、コンテンツそのものを削除した場合と同一の結果を得ることができる。
しかしながら、上記のような半導体メモリカードでは、上記著作権保護機能に対応していないデータまたコンテンツに対しては、所定の機器に対してデータ、コンテンツを読み出す一方でそれ以外の機器に対してデータ、コンテンツを読み込み不可とするデータ保護方法は採用できなかった。 However, in the semiconductor memory card as described above, with respect to data or content that does not support the copyright protection function, data and content are read out from a predetermined device while data is transmitted to other devices. The data protection method that makes content unreadable cannot be adopted.
従って、本発明の主な目的は、著作権保護機能に対応していないデータ、コンテンツに対して、所定の機器のみでデータの読み込みを可能とするデータ保護方法を提供することである。 Accordingly, a main object of the present invention is to provide a data protection method that enables data to be read only by a predetermined device for data and contents that do not support the copyright protection function.
加えて、本発明は、初めてデータ、コンテンツをホスト機器に転送する場合には、どのホスト機器でも半導体メモリカードからデータを読み出すことを可能にするとともに、その後は最初にデータ、コンテンツを読み出したホスト機器においてのみデータ、コンテンツを読み出し可能にすることを目的とする。 In addition, when transferring data and content to a host device for the first time, the present invention enables any host device to read data from a semiconductor memory card, and thereafter, the host that first read the data and content. The object is to make it possible to read data and contents only in the device.
更に、本発明の目的は、上述したデータ保護を可能とするコンテンツやデータ記憶用の半導体メモリカードを作成する方法を提供することである。 Furthermore, an object of the present invention is to provide a method of creating a semiconductor memory card for storing contents and data that enables the above-described data protection.
本発明の請求項1にかかる半導体メモリカードのデータ保護方法の発明は、半導体メモリカードに記録されたデータを、半導体メモリカード固有の情報をもとに生成したパスワードでロックするステップと、前記半導体メモリカードから初めてデータを読み出す際には、前記半導体メモリカード固有の情報をもとにパスワードを生成することによって前記ロックを解除するステップと、前記半導体メモリカードから前記データをホスト機器に転送するステップと、前記半導体メモリカードを、前記ホスト機器固有の情報をもとに生成されたパスワードでロックするステップと、を備え、以って前記ホスト機器以外の機器でのデータ読書きを不能にしたことを特徴とする。
The semiconductor memory card data protection method according to
また、請求項2に記載の発明は請求項1に記載の半導体メモリカードのデータ保護方法に係り、前記半導体メモリカード固有の情報は、前記半導体メモリカードのCIDレジスタに記録されているカードIDであることを特徴とする。
The invention according to
また、請求項3に記載の発明は請求項1に記載の半導体メモリカードのデータ保護方法に係り、前記半導体メモリカードからのデータ読み出しが初めてかどうかの判別は、半導体メモリカードのレジスタ情報を参照することによって行うことを特徴とする。 According to a third aspect of the present invention, there is provided a data protection method for a semiconductor memory card according to the first aspect, wherein whether or not data reading from the semiconductor memory card is the first time is determined by referring to register information of the semiconductor memory card. It is characterized by performing by doing.
また、請求項4に記載の発明は請求項1に記載の半導体メモリカードのデータ保護方法に係り、前記半導体メモリカードから初めてデータを読み出す際に、前記半導体メモリカードに設定されるパスワードを、前記半導体メモリカード固有の情報をもとに生成したパスワードから前記ホスト機器固有の情報をもとに生成したパスワードに変更し、次いで前記半導体メモリカードから前記ホスト機器にデータを転送することを特徴とする。 According to a fourth aspect of the present invention, there is provided a data protection method for a semiconductor memory card according to the first aspect, wherein when a data is read from the semiconductor memory card for the first time, a password set in the semiconductor memory card is A password generated based on information specific to a semiconductor memory card is changed to a password generated based on information specific to the host device, and then data is transferred from the semiconductor memory card to the host device. .
また、請求項5に記載の発明は請求項3に記載の半導体メモリカードのデータ保護方法に係り、前記パスワード変更に伴って、前記半導体メモリカードのレジスタ情報を書き換えることを特徴とする。 According to a fifth aspect of the present invention, there is provided the semiconductor memory card data protection method according to the third aspect, wherein the register information of the semiconductor memory card is rewritten in accordance with the password change.
また、請求項6に記載の半導体メモリカードの発明は、記録されたデータをパスワードによってロックする機能を備えた半導体メモリカードにおいて、前記記録されたデータがホスト機器に初めて転送される前は前記半導体メモリカード固有の情報に基づくパスワードによって前記データをロックし、データ転送後は、前記ホスト機器固有の情報に基づくパスワードによって前記データをロックすることを特徴とする。 According to a sixth aspect of the present invention, there is provided a semiconductor memory card having a function of locking recorded data with a password before the recorded data is transferred to a host device for the first time. The data is locked with a password based on information unique to the memory card, and after the data transfer, the data is locked with a password based on information specific to the host device.
また、請求項7に記載の半導体メモリカードの発明は請求項6に記載の発明に係り、半導体メモリカードのレジスタに、前記データが転送されたか否かを示す更新フラグまたはCOPYフラグを設定したことを特徴とする。 According to a seventh aspect of the present invention, there is provided the semiconductor memory card according to the sixth aspect, wherein an update flag or a COPY flag indicating whether or not the data has been transferred is set in a register of the semiconductor memory card. It is characterized by.
本発明の請求項1にかかる発明の半導体メモリカードのデータ保護方法によれば、半導体メモリカードに記録されたデータを半導体メモリカード固有の情報をもとに生成したパスワードでロックするので、記録されたデータをパスワードによって保護することができると同時に、初回時はどのホスト機器であっても半導体メモリカード固有の情報をもとにパスワードを生成して記録されたデータを読み出すことができるようになる。また、一度データが読み出された後は、最初にデータを読み出したホスト機器固有の情報によってパスワードロックされるため、パスワードを設定したホスト機器以外ではパスワードを生成することが不可能となり、特定のホスト機器以外では半導体メモリカードにアクセスすることが不可能となり、データの漏洩、不正コピーを防止することが可能となる。
According to the semiconductor memory card data protection method of the invention of
また、本発明の請求項2にかかる発明の半導体メモリカードのデータ保護方法によれば、半導体メモリカード固有の情報を半導体メモリカードのCIDレジスタに記録されているカードIDとすることによって、それぞれの半導体メモリカード毎に異なるパスワードを容易に生成することができる。また、ホスト装置は、CIDレジスタの値から所定の演算処理を行うことで容易にパスワードを生成することが可能となる。
According to the data protection method of the semiconductor memory card of the invention of
また、本発明の請求項3にかかる発明の半導体メモリカードのデータ保護方法によれば、半導体メモリカードからのデータ読み出しが初めてかどうかの判別を、半導体メモリカードのレジスタ情報を参照することによって行う。データの転送状況を半導体メモリカード自身に記録することによって確実にデータ保護を行うことができるようになるとともに、データが既に読み出された否かを参照することが容易に行えるようになる。
According to the semiconductor memory card data protection method of the invention of
また、本発明の請求項4にかかる発明の半導体メモリカードのデータ保護方法によれば、半導体メモリカードからデータを初めて読み出す際に、半導体メモリカードに設定されているパスワードを、半導体メモリカード固有の情報に基づくパスワードから最初にデータを転送するホスト機器固有の情報に基づくパスワードに変更する。これによって、請求項1にかかる発明の効果と同様に、初回時はどのホスト機器であっても半導体メモリカードからデータを読み出すことができると同時に、一度データが読み出された後は、最初にデータを読み出したホスト機器以外の機器では半導体メモリカードにアクセス不可能となり、データの漏洩、不正コピーを防止できる。更に、パスワードを変更した後に半導体メモリカードのデータをホスト機器に転送することによって、データ転送中に通信エラーなどが生じてデータ転送がうまくいかなかった場合でも、該当するホスト機器によって再度データの読み込みを行うことができ、エラーが発生した場合にも対応できるようになる。
According to the data protection method for a semiconductor memory card of the invention according to claim 4 of the present invention, when the data is read from the semiconductor memory card for the first time, the password set in the semiconductor memory card is changed to a password unique to the semiconductor memory card. The password based on the information is changed to the password based on information unique to the host device that first transfers data. Thus, similarly to the effect of the invention according to
また、本発明の請求項5にかかる発明の半導体メモリカードのデータ保護方法によれば、パスワードの変更に伴って半導体メモリカードのレジスタ情報を書き換える。これによって、半導体メモリカードからデータが読み出されたかどうかをホスト機器から参照することができるようになる。 According to the semiconductor memory card data protection method of the fifth aspect of the present invention, the register information of the semiconductor memory card is rewritten along with the change of the password. This makes it possible to refer from the host device whether or not data has been read from the semiconductor memory card.
また、本発明の請求項6にかかる半導体メモリカードの発明によれば、記録されたデータをパスワードによって保護することができると同時に、初回時はどのホスト機器であってもデータを読み出すことができ、また、一度データが読み出された後は、最初にデータを読み出したホスト機器以外では半導体メモリカードにアクセスすることが不可能となり、データの漏洩、不正コピーを防止する半導体メモリカードを提供できる。 According to the semiconductor memory card invention of claim 6 of the present invention, the recorded data can be protected by a password, and at the same time, any host device can read the data at the first time. In addition, once the data is read, it becomes impossible to access the semiconductor memory card except for the host device that first read the data, and a semiconductor memory card that prevents data leakage and unauthorized copying can be provided. .
また、本発明の請求項7にかかる半導体メモリカードの発明は、半導体メモリカードのレジスタに、データが転送されたかどうかを示す更新フラグまたはCOPYフラグを設定することによって、ホスト機器は、半導体メモリカードからデータが読み出されたかどうかを容易に参照することができるようになる。 According to a seventh aspect of the present invention, there is provided a semiconductor memory card according to a seventh aspect of the present invention, wherein an update flag or a COPY flag indicating whether or not data has been transferred is set in a register of the semiconductor memory card. It is possible to easily refer to whether or not data has been read out from.
以下、図面を参照しながら本発明の具体例を詳細に説明する。なお、以下に示す実施例は、本発明の技術思想を具体化するための半導体メモリカードにおけるデータ保護方法、および半導体メモリカードを例示するものであって、本発明を上記に限定することを意図するものではなく、特許請求の範囲に含まれるその他の実施形態の半導体メモリカードにおけるデータ保護方法、および半導体メモリカードにも等しく適用し得るものである。 Hereinafter, specific examples of the present invention will be described in detail with reference to the drawings. In addition, the Example shown below illustrates the data protection method in a semiconductor memory card for embodying the technical idea of this invention, and a semiconductor memory card, Comprising: It intends to limit this invention to the above However, the present invention is equally applicable to the data protection method and the semiconductor memory card of the semiconductor memory card of other embodiments included in the claims.
<半導体メモリカードの構造説明>
図1は、半導体メモリカードの構造を示す内部ブロック図である。半導体メモリカード10は、制御部11、インターフェースドライバ12、フラッシュメモリ13、コンタクト14を備える。フラッシュメモリ13は、大容量の記憶領域を有しており、音楽データや映像データ、地図データ等のデータを記憶する。コンタクト14は、データ入出力用コンタクト、カード検出用コンタクト、グランド用コンタクト、電源用コンタクト、クロック信号用コンタクト等があり、それぞれのコンタクトはガードによって仕切られてユーザーが直接ピンに触れることがないような構造になっている。
<Structure explanation of semiconductor memory card>
FIG. 1 is an internal block diagram showing the structure of a semiconductor memory card. The
制御部11は、インターフェースコントローラ111、著作権保護部112、フラッシュメモリコントローラ113、レジスタ114、パワーオン検出部115から構成されている。
The control unit 11 includes an interface controller 111, a
インターフェースコントローラ111は、インターフェースドライバ12と接続されており、インターフェースドライバに指令を与え、インターフェースドライバ12がこの半導体メモリカード10が使用されるホスト機器からのコマンドやデータを受信して適切なデータ形式に変換し、また半導体メモリカード10のフラッシュメモリ13内のデータやレジスタの情報を読み出して適切なデータ形式に変換しコンタクト14を介してホスト機器に送信できるようにする。また、半導体メモリカード10とホスト機器とのデータの送受信は、クロック信号に同期させながら行われる。
The interface controller 111 is connected to the interface driver 12 and gives a command to the interface driver. The interface driver 12 receives a command and data from a host device in which the
著作権保護部112は、半導体メモリカード10とこれが装着されるホスト機器とが互いに正規の機器であるか相互認証を行うと共に、著作権を有するデータを半導体メモリカード10に記憶する際には、データを著作権情報で暗号化してフラッシュメモリ13に記憶できるようにし、その著作権情報をカード固有鍵で暗号化して著作権保護部112の保護記憶領域に格納する。そして半導体メモリカード10からデータを読み出す場合には、ホスト機器と半導体メモリカード10とが互いに正規の機器であるか認証を行い、保護記憶領域から著作権情報を取得し、その著作権情報でフラッシュメモリ13からデータを複合化して取り出す。尚、この著作権保護機能は本発明においては必ずしも必要不可欠というわけではないため詳細な説明を省略する。
The
フラッシュメモリコントローラ113は、フラッシュメモリ13にデータを書き込んだり、フラッシュメモリ13からデータを読み出したりする制御を行う。 The flash memory controller 113 performs control for writing data into the flash memory 13 and reading data from the flash memory 13.
レジスタ114は、複数のレジスタから構成されるが、特にCIDレジスタ114Aと、CSDレジスタ114Bを有する。CIDレジスタ(Card Identification Resistor)には、個々の半導体メモリカードに割振られた固有のカード番号、つまりカードIDが記録されており、このカードIDは読み出しのみ可能となっている。CSDレジスタ(Card Specific Data Resistor)にはCOPYフラグを設定でき、本発明では、このCOPYフラグに半導体メモリカード10からデータが読み出されたことがあるか否かの情報を設定する。
The register 114 includes a plurality of registers, and in particular includes a CID register 114A and a CSD register 114B. A CID register (Card Identification Resistor) stores a unique card number assigned to each semiconductor memory card, that is, a card ID, and this card ID can only be read. A COPY flag can be set in a CSD register (Card Specific Data Resistor). In the present invention, information indicating whether or not data has been read from the
パワーオン検出部115は、半導体メモリカード10がホスト機器に装着されることによってホスト機器と接続されると共に電源がON状態になっているかどうかの判別を行う。
<ホスト機器(カーナビゲーション装置)の構造説明>
次に、上述した半導体メモリカード10が装着されるホスト機器20について説明する。本実施例ではホスト機器としてカーナビゲーション装置を適用する。ナビゲーション装置20は、インターフェース21、制御部22、NANDフラッシュメモリ23、表示部24を備える。
The power-on detection unit 115 determines whether or not the
<Structure of host device (car navigation system)>
Next, the
インターフェース21は、上述した半導体メモリカード10がナビゲーション装置20の所定の半導体メモリカード用スロットに挿入された際に、半導体メモリカード10とナビゲーション装置20とのデータの送受信を所定のデータ形式で行うためのものである。
The
制御部22は、ホスト機器固有ID222と、地図データ読出し・更新プログラム223とを格納したメモリ221とCPU224とから構成され、地図データ読出し・更新プログラム223をCPU224が実行することによって、半導体メモリカード10から地図データを読み出したり更新したりすることができるようになる。
The control unit 22 includes a memory 221 storing a host device unique ID 222 and a map data reading / updating program 223, and a CPU 224. When the CPU 224 executes the map data reading / updating program 223, the
ホスト機器固有ID222は、それぞれのナビゲーション装置20ひとつひとつに割振られた固有のIDであり、メモリ221に書換えできないように記録されている。
The host device unique ID 222 is a unique ID assigned to each
地図データ読出し・更新プログラム223は、ナビゲーション装置20を動作させるためのプログラムであり、半導体メモリカード10からデータを読み出す際に、当該ナビゲーション装置20が半導体メモリカード10から初めてデータを読み出す場合にはデータの読み出しを可能とすると同時に、それ以降は最初にデータを読み出したナビゲーション装置20以外ではデータの読み出しおよび更新ができないようにするものであり、このプログラムについては後で詳細に説明する。
The map data read / update program 223 is a program for operating the
NANDフラッシュメモリ23は、ナビゲーション装置20によって使用される地図データ等の大容量のデータを格納する記憶領域として使用される。
The NAND flash memory 23 is used as a storage area for storing a large amount of data such as map data used by the
表示部24は液晶パネル、プラズマディスプレイ等で構成され、ユーザー、および制御部22の指示に従ってNANDフラッシュメモリ23に格納された地図を表示する。また、表示部24は、タッチパネル等、ユーザーが入力を行うことができようにしたものであってもよい。
<半導体メモリカードのパスワードロック機能>
図2は、半導体メモリカード10のパスワードロック機能についての説明図であり、図2(a)は半導体メモリカードのパスワードロック機能を使用しない場合における半導体メモリカードとホスト機器との間のデータのやり取りを示し、図2(b)は、半導体メモリカードのパスワードロック機能を使用した場合における半導体メモリカードとホスト機器との間のデータのやり取りを示す。また、図2(c)はパスワードが未設定の半導体メモリカードにパスワードを設定する際の説明図、図2(d)はパスワードが既に設定されている半導体メモリカードにパスワードを再設定する際の説明図、図2(e)はパスワードが設定されている半導体メモリカードのロックを外すときの説明図である。
The
<Password lock function of semiconductor memory card>
FIG. 2 is an explanatory diagram of the password lock function of the
まず、図2(a)に示すように、半導体メモリカード10にパスワードロック機能がない場合、またはパスワードロック機能を使用していない場合、ホスト機器20は半導体メモリカード10にデータを自由に書き込むことができると同時に、半導体メモリカード10に記録されているデータを自由に読み出すことができる。しかし、この半導体メモリカード10にパスワードを鍵としてロックをかけた場合には、図2(b)に示されるように、半導体メモリカード10はパスワードによって保護される。つまり、ホスト機器20と半導体メモリカード10のデータアクセスが制限される。したがって、ホスト装置20は、半導体メモリカード10にデータを書き込むことができなくなるとともに半導体メモリカード10に記録されているデータを読み出すこともできなくなる。尚、パスワードは最大128ビットのデータである。
First, as shown in FIG. 2A, when the
パスワードが未設定の半導体メモリカード10にパスワードを設定する場合、図2(c)に示すように、ホスト機器20から半導体メモリカード10に、パスワード設定コマンドであるセット・パスワードコマンドと、設定パスワードを送信する。これによって半導体メモリカード10にはパスワードが設定される。
When setting a password in the
パスワードが既に設定されている半導体メモリカード10にパスワードを再設定する場合には、図2(d)に示すように、ホスト機器20から半導体メモリカード10に、パスワード設定コマンドであるセット・パスワードコマンドと、既設定のパスワードおよび新たに設定するパスワードを送信する。これによって半導体メモリカード10には、既設定のパスワードから新たなパスワードが変更、設定される。
When resetting a password in the
パスワードによって保護されている半導体メモリカード10のパスワードロックを外す場合には、図2(e)に示すように、ホスト機器20から半導体メモリカード10に、アンロックコマンドと半導体メモリカード10に設定されているパスワードとを送信する。これによって半導体メモリカード10のパスワードロックがはずれ、ホスト機器20からデータの読書きが自由に行えるようになる。尚、このようにしてパスワードロックを外した場合、半導体メモリカード10に電源が供給されている間は継続してロックが外れているが、電源の供給を停止し、その後再び電源を供給すると、半導体メモリカード10にはロックがかかるようになっている。
When removing the password lock of the
更に、パスワードロック機能のコマンドとして、ロックコマンド、クリア・パスワードコマンド、消去コマンド等がある。ロックコマンドと設定されているパスワードを半導体メモリカード10に送信すると、半導体メモリカード10にはロックがかかる。また、クリア・パスワードコマンドと設定パスワードとを半導体メモリカード10に送信すると、パスワードが消去され、その後は再度パスワードが設定されるまで、電源をオン/オフしても半導体メモリカード10はロック状態にならない。消去コマンドは、ユーザーがパスワードを忘れてしまったような場合に使用されるものであるが、このコマンドを使用すると、強制的にパスワードを消去することができる。しかしながら、パスワードとともに半導体メモリカード10に記憶されていたデータが消去されるようになっている。
<地図記録用半導体メモリカードの作成方法>
次に、地図記録用の半導体メモリカードの作成方法について図3を参照しながら説明する。図3は、本実施例における地図記録用半導体メモリカードの作成手順を示すフローチャートである。
Further, commands for the password lock function include a lock command, a clear / password command, and an erase command. When the lock command and the set password are transmitted to the
<Making method of semiconductor memory card for map recording>
Next, a method for creating a semiconductor memory card for map recording will be described with reference to FIG. FIG. 3 is a flowchart showing a procedure for creating a map recording semiconductor memory card in this embodiment.
パーソナルコンピュータ等の地図記録用半導体メモリカード作成装置(図示せず)の半導体メモリカードスロットに、何も記録されていない半導体メモリカード10が挿入されると、ステップS31において、地図データを半導体メモリカード10のフラッシュメモリ13に書き込み、記憶させる。次いで、地図記録用半導体メモリカード作成装置は、半導体メモリカード10のレジスタ114にアクセスし、CIDレジスタ114Aの値、つまりカードIDを読む(ステップS32)。次に、地図記録用半導体メモリカード作成装置は、CIDレジスタ114Aから読み取ったカードIDを基にしてパスワードを生成し、パスワード設定コマンドであるセット・パスワードコマンドと生成されたパスワードを半導体メモリカード10に送信することによって、地図データをロックし(ステップS33)、処理を終了する。
<半導体メモリカードからの地図データ読込み(1回目)>
次に、上記の方法で作成された地図記録用半導体メモリカードからホストであるナビゲーション装置20によって地図データを読込む際の手順を、図4を参照しながら説明する。図4は、地図データ読み込み手順を示すフローチャートである。
When an unrecorded
<Reading map data from a semiconductor memory card (first time)>
Next, a procedure for reading map data from the map recording semiconductor memory card created by the above method by the
地図データが記憶された半導体メモリカード10がナビゲーション装置20の半導体メモリカードスロットに挿入され、ユーザーがナビゲーション装置20の表示部24に表示されたメニューの中から地図読出し・更新メニューを選択すると、メモリ221に格納された地図データ読出し・更新プログラム223がCPU224により実行され、地図の読み出しおよび更新が開始される。まず、ステップS41において、半導体メモリカード10のCSDレジスタ114Bを読む。このCSDレジスタ114BにはCOPYフラグ、つまり更新フラグが設定されており、このCOPYフラグを読むことで、半導体メモリカード10から地図データが既に読み出されたかどうかを判別することができる。ステップS42において、読み出したCOPYフラグを確認し、ステップS43において、COPYフラグが既に更新されたかどうかを判別する。
When the
COPYフラグが更新されていない場合は、この半導体メモリカード10から地図データを読み出すのが最初ということになり、続くステップS44の処理に移行する。ステップS44において、半導体メモリカード10のCIDレジスタ114Aの値を読み、ステップS45において、読み出したCIDレジスタ114Aの値をもとにパスワードを生成する。次いで、ナビゲーション装置20は、アンロックコマンドとステップS45において生成したパスワードとを半導体メモリカード10に送信し、半導体メモリカード10のパスワードロックを外す(ステップS46)。
If the COPY flag has not been updated, it is the first time that the map data is read from the
次に、ナビゲーション装置20は、ステップS47において、メモリ221に記録されており、かつそれぞれの機器に個別に割振られているホスト機器固有ID222からパスワードを作成する。作成された新しいパスワードは、セット・パスワードコマンドとともにSDカードに送信され、これによってステップS48において、ホスト機器固有ID222に基づく新たなパスワードが半導体メモリカード10に設定される。
Next, in step S47, the
ステップS49においては、半導体メモリカード10のCOPYフラグを更新済みに設定し、続くステップS50において、更新済みに設定されたCOPYフラグをCSDレジスタ114Bに書き込む。
In step S49, the COPY flag of the
続いてステップS54において、地図データを半導体メモリカード10のフラッシュメモリ13から読み出し、ナビゲーション装置20のNANDフラッシュメモリ23に書き込む。そして全ての地図データが半導体メモリカード10から転送し終わったならば、ステップS55の処理に進み、ホスト機器固有ID222を基にしたパスワードをロックコマンドとともに半導体メモリカード10に送信し、半導体メモリカード10をロックして処理を終了する。
<半導体メモリカードでの地図更新方法(2回目以降)>
ステップS43において、COPYフラグが更新済みであると判別された場合、この半導体メモリカード10から地図データを読み出すのは初めてではない、つまり2回目以降ということになるが、続くステップS51においてナビゲーション装置20は、メモリ221に格納されているホスト機器固有ID222を取得し、これを基にしてパスワードを生成する。次いでナビゲーション装置20は、アンロックコマンドと、ステップS51において生成されたパスワードとを半導体メモリカード10に送信する(ステップS52)。ステップS53では、半導体メモリカード10に設定されているパスワードと一致するか否かが照合され、一致している場合には、半導体メモリカード10から地図データを読み出そうとしているナビゲーション装置20が最初に地図データを読み出したナビゲーション装置20と同一の装置であり、ステップS54の処理に移行して地図データを半導体メモリカード10のフラッシュメモリ13から読み出し、ナビゲーション装置20のNANDフラッシュメモリ23に書き込む。次いでステップS55においてホスト機器固有ID222を基にして生成された上記のパスワードとロックコマンドとを半導体メモリカード10に送信し、半導体メモリカード10をロックして処理を終了する。
Subsequently, in step S54, the map data is read from the flash memory 13 of the
<Map update method with semiconductor memory card (second and later)>
If it is determined in step S43 that the COPY flag has been updated, it is not the first time to read the map data from the
ステップS53において、ナビゲーション装置20のホスト機器固有ID222から生成されたパスワードと、半導体メモリカード10に設定されているパスワードとが一致しない場合、ナビゲーション装置20は初めて半導体メモリカード10から地図データを読み出したナビゲーション装置ではないということになる。それで、ステップS56において、ナビゲーション装置20の表示部24等に読み出し不可能である旨を表示するかエラーメッセージを表示し、処理を終了する。
In step S53, if the password generated from the host device unique ID 222 of the
上記の方法によって、半導体メモリカード10から初めて地図データを読み出す場合には、どのナビゲーション装置20であってもデータの読み込みが可能であるとともに、2回目以降は最初にデータ読み込みを行ったナビゲーション装置20のホスト機器固有IDから生成されたパスワードによってのみ半導体メモリカード10のパスワードロックが外れるため、そのナビゲーション装置20のみにおいて地図データの読み出しが可能となる。したがって1度地図データを読み込んだ後にナビゲーション装置20のNANDフラッシュメモリ23に格納された地図データに不具合が見つかった場合、最初のナビゲーション装置20であれば、地図の更新が可能となる。
When the map data is read from the
上記実施例では地図データの更新についてのみ説明したが、本発明はCPRMに対応していない種々のコンテンツに対し、特定のホスト機器以外でのデータ読み出しを防止することができる。 Although only the update of the map data has been described in the above embodiment, the present invention can prevent data reading from other than a specific host device for various contents that do not support CPRM.
また、本発明は、パスワードロック機能を有した市販の半導体メモリカードであるならば特にカスタマイズ等する必要がなく、対応するホスト機器のソフトウェアの変更も少なく対応できるので他のデータ保護方法と比して安価でもある。 Further, the present invention does not need to be customized in particular if it is a commercially available semiconductor memory card having a password lock function, and it can cope with less changes in the software of the corresponding host device, so that it can be compared with other data protection methods. And cheap.
10・・・・半導体メモリカード
11・・・・制御部
111・・・インターフェースコントローラ
112・・・著作権保護部
113・・・フラッシュメモリコントローラ
114・・・レジスタ
114A・・CIDレジスタ
114B・・CSDレジスタ
115・・・パワーオン検出部
12・・・・インターフェースドライバ
13・・・・フラッシュメモリ
14・・・・コンタクト
20・・・・ナビゲーション装置(ホスト機器)
21・・・・インターフェース
22・・・・制御部
221・・・メモリ
223・・・地図データ読出し・更新プログラム
23・・・・フラッシュメモリ
24・・・・表示部
10 .... Semiconductor memory card 11 .... Control unit 111 ...
21... Interface 22... Controller 221... Memory 223... Map data read / update program 23...
Claims (7)
前記半導体メモリカードから初めてデータを読み出す際には、前記半導体メモリカード固有の情報をもとにパスワードを生成することによって前記ロックを解除するステップと、
前記半導体メモリカードから前記データをホスト機器に転送するステップと、
前記半導体メモリカードを、前記ホスト機器固有の情報をもとに生成されたパスワードでロックするステップと、を備え、
以って前記ホスト機器以外の機器でのデータ読書きを不能にしたことを特徴とする半導体メモリカードのデータ保護方法。 Locking the data recorded on the semiconductor memory card with a password generated based on information unique to the semiconductor memory card;
When reading data from the semiconductor memory card for the first time, releasing the lock by generating a password based on information specific to the semiconductor memory card;
Transferring the data from the semiconductor memory card to a host device;
Locking the semiconductor memory card with a password generated based on information unique to the host device,
Accordingly, the data protection method for the semiconductor memory card is characterized in that data reading / writing in a device other than the host device is disabled.
前記記録されたデータがホスト機器に初めて転送される前は前記半導体メモリカード固有の情報に基づくパスワードによって前記データをロックし、データ転送後は、前記ホスト機器固有の情報に基づくパスワードによって前記データをロックすることを特徴とする半導体メモリカード。 In a semiconductor memory card with a function to lock the recorded data with a password,
Before the recorded data is transferred to the host device for the first time, the data is locked with a password based on information specific to the semiconductor memory card, and after the data transfer, the data is stored with a password based on the information specific to the host device. A semiconductor memory card characterized by locking.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006253899A JP4936834B2 (en) | 2006-09-20 | 2006-09-20 | Data protection method for semiconductor memory card and semiconductor memory card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006253899A JP4936834B2 (en) | 2006-09-20 | 2006-09-20 | Data protection method for semiconductor memory card and semiconductor memory card |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008077273A true JP2008077273A (en) | 2008-04-03 |
JP4936834B2 JP4936834B2 (en) | 2012-05-23 |
Family
ID=39349280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006253899A Expired - Fee Related JP4936834B2 (en) | 2006-09-20 | 2006-09-20 | Data protection method for semiconductor memory card and semiconductor memory card |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4936834B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011169825A (en) * | 2010-02-19 | 2011-09-01 | Aisin Aw Co Ltd | Navigation system |
JP2012034264A (en) * | 2010-08-02 | 2012-02-16 | Ricoh Co Ltd | Imaging apparatus and imaging method |
JP2016082503A (en) * | 2014-10-21 | 2016-05-16 | 富士通株式会社 | Terminal device and usim card |
JP2017504894A (en) * | 2014-01-02 | 2017-02-09 | ゼットティーイー コーポレーションZte Corporation | Data card application method and data card |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07287655A (en) * | 1994-04-18 | 1995-10-31 | Ricoh Co Ltd | Information processor |
JP2000214942A (en) * | 1999-01-21 | 2000-08-04 | Internatl Business Mach Corp <Ibm> | Computer with security function and method |
JP2002108713A (en) * | 2000-09-29 | 2002-04-12 | Sony Corp | Memory device and memory access control method |
JP2002196986A (en) * | 2000-12-27 | 2002-07-12 | Pioneer Electronic Corp | Information processor, information processing method, information recording medium having information processing program recorded readable by computer, and recording medium |
JP2004030104A (en) * | 2002-06-25 | 2004-01-29 | Sony Corp | Information storage device, memory access control method, and computer program |
JP2006065503A (en) * | 2004-08-25 | 2006-03-09 | Matsushita Electric Ind Co Ltd | Recording medium storing right information, information processor, and method for managing right information |
-
2006
- 2006-09-20 JP JP2006253899A patent/JP4936834B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07287655A (en) * | 1994-04-18 | 1995-10-31 | Ricoh Co Ltd | Information processor |
JP2000214942A (en) * | 1999-01-21 | 2000-08-04 | Internatl Business Mach Corp <Ibm> | Computer with security function and method |
JP2002108713A (en) * | 2000-09-29 | 2002-04-12 | Sony Corp | Memory device and memory access control method |
JP2002196986A (en) * | 2000-12-27 | 2002-07-12 | Pioneer Electronic Corp | Information processor, information processing method, information recording medium having information processing program recorded readable by computer, and recording medium |
JP2004030104A (en) * | 2002-06-25 | 2004-01-29 | Sony Corp | Information storage device, memory access control method, and computer program |
JP2006065503A (en) * | 2004-08-25 | 2006-03-09 | Matsushita Electric Ind Co Ltd | Recording medium storing right information, information processor, and method for managing right information |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011169825A (en) * | 2010-02-19 | 2011-09-01 | Aisin Aw Co Ltd | Navigation system |
JP2012034264A (en) * | 2010-08-02 | 2012-02-16 | Ricoh Co Ltd | Imaging apparatus and imaging method |
US8890976B2 (en) | 2010-08-02 | 2014-11-18 | Ricoh Company, Ltd. | Imaging apparatus and image capturing method for increasing security of a captured image file |
JP2017504894A (en) * | 2014-01-02 | 2017-02-09 | ゼットティーイー コーポレーションZte Corporation | Data card application method and data card |
JP2016082503A (en) * | 2014-10-21 | 2016-05-16 | 富士通株式会社 | Terminal device and usim card |
Also Published As
Publication number | Publication date |
---|---|
JP4936834B2 (en) | 2012-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2410460B1 (en) | Rights object moving method and corresponding content player | |
US8566611B2 (en) | Electronic device, unlocking method, and program | |
US7925879B2 (en) | Information processing unit with information division recording function | |
JP4816012B2 (en) | Information processing apparatus, software installation method, and optical disc | |
US20100058073A1 (en) | Storage system, controller, and data protection method thereof | |
US20090320012A1 (en) | Secure booting for updating firmware over the air | |
JP4717398B2 (en) | Method for controlling data processing apparatus | |
KR20080013940A (en) | Electronic device, update server device, key update device | |
JP5645725B2 (en) | Data processing apparatus, data processing system, and control method therefor | |
JP2000330870A (en) | Contents processing system and method for protecting contents | |
CN107832589A (en) | Software copyright protecting method and its system | |
JP4936834B2 (en) | Data protection method for semiconductor memory card and semiconductor memory card | |
JP2006085360A (en) | Expiration date management system and method for content in removable medium | |
KR20070006655A (en) | File management device, file management method, file management program, and computer-readable recording medium containing the file management program | |
JP2010176490A (en) | Usb storage device, host computer, usb storage system and program | |
JP4631303B2 (en) | Data utilization system, storage device, data utilization method, and computer program | |
JP2009058637A (en) | System for writing data into nonvolatile storage device, and nonvolatile storage device | |
JP4866858B2 (en) | Data processing apparatus and processing method | |
US20130007365A1 (en) | Method for protecting a solid state memory | |
JP2008060703A (en) | Portable storage medium and terminal unit | |
JP2009122749A (en) | Program, portable storage medium, and control method | |
JP2007026105A (en) | Device, method, and program for file management | |
JP5339860B2 (en) | Removable non-volatile auxiliary storage device | |
JP2007128172A (en) | Programmable controller | |
JP2002251595A (en) | Memory card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090831 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110531 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110728 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110920 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111114 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20111121 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20111125 |
|
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: 20120124 |
|
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: 20120221 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150302 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150302 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150302 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313115 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150302 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |