JP2003123044A - Access control method and electronic appliance - Google Patents

Access control method and electronic appliance

Info

Publication number
JP2003123044A
JP2003123044A JP2001320847A JP2001320847A JP2003123044A JP 2003123044 A JP2003123044 A JP 2003123044A JP 2001320847 A JP2001320847 A JP 2001320847A JP 2001320847 A JP2001320847 A JP 2001320847A JP 2003123044 A JP2003123044 A JP 2003123044A
Authority
JP
Japan
Prior art keywords
access
storage area
mode
secure storage
access mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001320847A
Other languages
Japanese (ja)
Inventor
Hideki Okuda
秀樹 奥田
Masanao Yoshida
雅直 吉田
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2001320847A priority Critical patent/JP2003123044A/en
Publication of JP2003123044A publication Critical patent/JP2003123044A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PROBLEM TO BE SOLVED: To provide an access control method capable of shortening access time and suppressing power consumption even in the case of accessing an SMMC by securing a secure state, and an electronic appliance using it. SOLUTION: A control circuit 1 switches and controls an access mode so as to access in an MMC mode of a practically higher transfer rate compared to an SPI mode at the time of accessing an insecure storage area 1b for ciphered data and to access in the SPI mode at the time of accessing a secure storage area 1a for key data in ciphering. Thus, the access time is shortened even for the access by securing the secure state.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、著作権保護や不正
な改竄防止のためのセキュアな記憶領域を備える記憶媒
体を用いた電子機器に関し、特にセキュアな記憶領域を
備える記憶媒体に対するデータのアクセス制御方法に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device using a storage medium having a secure storage area for copyright protection and prevention of unauthorized tampering, and particularly to accessing data to the storage medium having the secure storage area. It relates to a control method.

【0002】[0002]

【従来の技術】さて、従来から小型・軽量・薄型で、携
帯や交換が可能である所謂メモリカードと称される記憶
媒体が実用化されており、パーソナルコンピュータ、デ
ジタルスチルカメラ、デジタルビデオカメラあるいはオ
ーディオプレーヤといった種々の電子機器への適用がさ
れている。
2. Description of the Related Art Heretofore, a storage medium called a memory card, which is small, light and thin and is portable and replaceable, has been put into practical use, and is used in personal computers, digital still cameras, digital video cameras or It is applied to various electronic devices such as audio players.

【0003】メモリカードの一つにマルチメディアカー
ド(インフィニオンテクノロージズ社の登録商標:以下
MMCと称す)がある。MMCは、MMCモードとSP
Iモードの2つのアクセスモードを備えている。MMC
モードは、MMC専用のインターフェース仕様で動作し
てシングルブロックだけでなくマルチブロックのアクセ
スが可能であり、SPIモードより高い転送レートを確
保することが可能である。一方、SPI(シリアル・ペ
リフェラル・インターフェース)モードは、パーソナル
コンピュータやその周辺機器に多く利用されている汎用
同期シリアルインターフェースと互換があり、電子機器
のシステムデザインの構築が比較容易になるというメリ
ットを有する。
One of the memory cards is a multimedia card (registered trademark of Infineon Technologies Corporation, hereinafter referred to as MMC). MMC is MMC mode and SP
It has two access modes of I mode. MMC
The mode operates in accordance with the interface specifications dedicated to the MMC to allow not only single block access but also multi-block access, and it is possible to secure a higher transfer rate than the SPI mode. On the other hand, the SPI (Serial Peripheral Interface) mode is compatible with a general-purpose synchronous serial interface that is widely used in personal computers and their peripheral devices, and has the merit that the system design of electronic devices can be easily constructed. .

【0004】また、MMCと外形やピン配置が同じで、
著作権保護や不正な改竄防止のための保護機能がついた
セキュアMMC(以下SMMCと称す)も開発されてい
る。SMMCでは、記憶領域の一部をTRM(タンパレ
ジスタントモジュール)領域とすることで、記憶データ
の高セキュリティを確保している。そして、このような
セキュアな記憶領域と別段のセキュリティが施されてい
ない非セキュアな記憶領域を備えて、MMCとの互換を
有しながら、セキュアな状態を確保した使い方ができ
る。
Also, since the external shape and pin arrangement are the same as those of MMC,
A secure MMC (hereinafter referred to as SMMC) having a protection function for copyright protection and prevention of unauthorized tampering has also been developed. In the SMMC, high security of stored data is ensured by making a part of the storage area a TRM (tamper resistant module) area. The secure storage area and the non-secure storage area that is not provided with security are provided, and the secure state can be secured while being compatible with the MMC.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、SMM
Cでセキュアな状態を確保してのアクセスは、SPIモ
ードの拡張機能で実現されるため、データが非セキュア
な記憶領域に記憶される場合であっても全てSPIモー
ドで行われていた。このため、セキュアな状態を確保し
てのアクセスは、低速な転送レートで動作することにな
り、アクセス時間が長くなってしまう。アクセス時間が
長くなると、それだけ消費電流(電力)が増加してしま
う。デジタル(スチル・ビデオ)カメラやオーディオプ
レーヤといった携帯して使用されるような電子機器で
は、バッテリの電力容量の問題から低消費電力であるこ
とが望まれるが、消費電力が大きくなると電子機器の動
作可能時間が短くなってしまい、性能の低下の要因とな
ってしまう。
However, the SMM
Since the access in which the secure state is secured in C is realized by the extended function of the SPI mode, even if the data is stored in the non-secure storage area, all the access is performed in the SPI mode. For this reason, the access while securing the secure state operates at a low transfer rate, and the access time becomes long. The longer the access time, the more the current consumption (power) increases. In electronic devices such as digital (still video) cameras and audio players that are used for portable use, low power consumption is desired due to the problem of battery power capacity. The available time will be shortened, which will be a factor of performance degradation.

【0006】本発明は斯様な点に鑑みてなされたもの
で、セキュアな状態を確保してのアクセスであっても、
消費電力を抑えることのできるアクセス制御方法、更に
はそれを用いた電子機器を提供することを目的とするも
のである。
The present invention has been made in view of such a point, and even if an access is made while securing a secure state,
An object of the present invention is to provide an access control method capable of suppressing power consumption, and an electronic device using the access control method.

【0007】[0007]

【課題を解決するための手段】請求項1に係る本発明の
アクセス制御方法は、第1のアクセスモードと、第1の
アクセスモードより実質的に高い転送レートの第2のア
クセスモードを有し、セキュアな記憶領域と非セキュア
な記憶領域を備えた記憶媒体にデータを記憶する際のア
クセス制御方法であって、暗号化されたデータを非セキ
ュアな記憶領域に記憶し、非セキュアな記憶領域に記憶
される暗号化されたデータの暗号化におけるキーデータ
をセキュアな記憶領域に記憶し、暗号化されたデータの
非セキュアな記憶領域への記憶は第2のアクセスモード
で行い、キーデータのセキュアな記憶領域への記憶は第
1のアクセスモードで行うことを特徴とする。
An access control method of the present invention according to claim 1 has a first access mode and a second access mode having a transfer rate substantially higher than that of the first access mode. A method of controlling access when storing data in a storage medium having a secure storage area and a non-secure storage area, wherein encrypted data is stored in the non-secure storage area The key data for encryption of the encrypted data stored in is stored in the secure storage area, and the encrypted data is stored in the non-secure storage area in the second access mode. The storage in the secure storage area is performed in the first access mode.

【0008】請求項2に係る本発明のアクセス制御方法
は、第1のアクセスモードと、第1のアクセスモードよ
り実質的に高い転送レートの第2のモードアクセスを有
し、非セキュアな記憶領域に暗号化されたデータが記憶
され、該暗号化されたデータの暗号化におけるキーデー
タがセキュアな記憶領域に記憶されている記憶媒体から
データを読出す際のアクセス制御方法であって、非セキ
ュアな記憶領域に記憶された暗号化されたデータの読出
しは第2のアクセスモードで行い、非セキュアな記憶領
域に記憶された暗号化されたデータの暗号化におけるキ
ーデータのセキュアな記憶領域からの読出しは第1のア
クセスモードで行うことを特徴とするアクセス制御方
法。
An access control method of the present invention according to claim 2 has a first access mode and a second mode access having a transfer rate substantially higher than that of the first access mode, and is a non-secure storage area. A non-secure access control method for reading data from a storage medium in which encrypted data is stored in a storage medium, and key data in encryption of the encrypted data is stored in a secure storage area. The encrypted data stored in the secure storage area is read in the second access mode, and the key data in the secure storage area for encrypting the encrypted data stored in the non-secure storage area is read. The access control method is characterized in that reading is performed in the first access mode.

【0009】請求項3に係る本発明のアクセス制御方法
は、請求項1又は2に記載の発明において、記憶媒体は
SMMCであり、第1のアクセスモードはSPIモード
で第2のアクセスモードはMMCモードであることを特
徴とする。
According to a third aspect of the present invention, in the access control method according to the first or second aspect of the present invention, the storage medium is SMMC, the first access mode is the SPI mode, and the second access mode is the MMC. It is characterized by being a mode.

【0010】請求項4に係る本発明の電子機器は、セキ
ュアな記憶領域と非セキュアな記憶領域を有する記憶媒
体を備え、該記憶媒体に対するアクセスモードとして第
1のアクセスモードと第1のアクセスモードより実質的
に高い転送レートの第2のアクセスモードを有する電子
機器であって、暗号化されたデータを非セキュアな記憶
領域に記憶し、暗号化されたデータの暗号化におけるキ
ーデータをセキュアな記憶領域に記憶すると共に、この
とき非セキュアな記憶領域へのアクセスは第2のアクセ
スモードで行い、セキュアな記憶領域へのアクセスは第
1のアクセスモードで行う制御手段を備えることを特徴
とする。
An electronic device according to a fourth aspect of the present invention includes a storage medium having a secure storage area and a non-secure storage area, and a first access mode and a first access mode as access modes for the storage medium. An electronic device having a second access mode with a substantially higher transfer rate, wherein encrypted data is stored in a non-secure storage area, and key data in encryption of encrypted data is secured. The storage means is characterized by including control means for storing in the storage area, and at this time, access to the non-secure storage area is performed in the second access mode and access to the secure storage area is performed in the first access mode. .

【0011】請求項5に係る本発明の電子機器は、セキ
ュアな記憶領域と非セキュアな記憶領域を有する記憶媒
体を備え、該記憶媒体に対するアクセスモードとして第
1のアクセスモードと第1のアクセスモードより実質的
に高い転送レートの第2のアクセスモードを有する電子
機器であって、暗号化されたデータの非セキュアな記憶
領域からの読出しは第2のアクセスモードで行い、暗号
化されたデータの暗号化におけるキーデータのセキュア
な記憶領域からへの読出しは第1のアクセスモードで行
う制御手段と、暗号化されたデータをキーデータに基い
て復号化する復号手段を備えることを特徴とする。
According to a fifth aspect of the present invention, there is provided an electronic apparatus comprising a storage medium having a secure storage area and a non-secure storage area, and a first access mode and a first access mode as access modes for the storage medium. An electronic device having a second access mode with a substantially higher transfer rate, wherein reading of encrypted data from a non-secure storage area is performed in the second access mode, and encrypted data It is characterized by comprising control means for reading out the key data in the secure storage area in the encryption in the first access mode, and decryption means for decrypting the encrypted data based on the key data.

【0012】請求項6に係る本発明の電子機器は、請求
項4又は5に記載の発明において、記憶媒体はSMMC
であり、第1のアクセスモードはSPIモードで第2の
アクセスモードはMMCモードであることを特徴とす
る。
According to a sixth aspect of the present invention, in the electronic device according to the fourth or fifth aspect, the storage medium is SMMC.
And the first access mode is the SPI mode and the second access mode is the MMC mode.

【0013】[0013]

【発明の実施の形態】図1は本発明の一実施例に係る電
子機器の概略構成図であり、具体的にはSMMCを用い
たメモリカードオーディオプレーヤの概略構成図であ
る。
1 is a schematic configuration diagram of an electronic apparatus according to an embodiment of the present invention, specifically, a schematic configuration diagram of a memory card audio player using an SMMC.

【0014】1はSMMCでセキュアな記憶領域1aと
非セキュアな記憶領域1bを有している。2は全体の制
御を司る制御回路で、SMMCへのデータの記憶や読取
りを制御し、また後述するアクセスモードの切換え制御
を制御手段であり、更には暗号化されたデータを復号化
する復号手段としての機能を備える。3は制御回路2に
おける制御プログラムが格納されたEPROMである。
4は制御回路2とSMMC1や暗号化されたデータや暗
号化におけるキーデータを供給する外部のパーソナルコ
ンピュータPCとのデータ入出力のためのインタフェー
スである。
Reference numeral 1 is an SMMC having a secure storage area 1a and a non-secure storage area 1b. Reference numeral 2 is a control circuit that controls the entire control, and is a control means for controlling storage and reading of data in the SMMC, and a control means for switching access modes described later, and a decryption means for decrypting encrypted data. It has the function as. An EPROM 3 stores a control program in the control circuit 2.
Reference numeral 4 denotes an interface for data input / output between the control circuit 2 and the SMMC 1 and an external personal computer PC which supplies encrypted data and key data for encryption.

【0015】5は所定の方式(例えばWMA、ATRA
CやMPEG)で圧縮されているオーディオデータを伸
長するためのデコーダ、6は伸長されたデジタルなオー
ディオデータをアナログ信号に変換するD/A変換器、
7はD/A変換器6からのオーディオ信号を増幅するア
ンプ、8はアンプ7からのオーディオ信号を出力するス
ピーカ(例えばイヤホンであっても良い)である。
5 is a predetermined system (eg WMA, ATRA)
A decoder for decompressing audio data compressed by C or MPEG), a D / A converter 6 for converting the decompressed digital audio data into an analog signal,
Reference numeral 7 is an amplifier that amplifies the audio signal from the D / A converter 6, and 8 is a speaker (for example, an earphone) that outputs the audio signal from the amplifier 7.

【0016】9はいくつかのスイッチを備えて使用者が
制御回路2に対して操作指示を行うための入力回路、1
0はLCDで構成され制御回路2に制御されて制御動作
等の表示を行うためのディスプレイである。
An input circuit 9 is provided with a number of switches for a user to give an operation instruction to the control circuit 2.
Reference numeral 0 is a display which is composed of an LCD and is controlled by the control circuit 2 to display control operations and the like.

【0017】SMMC1に対するアクセスモードとして
はSPIモードとMMCモードがあり、SPIモードで
は所定のサイズのブロック1つづつにアクセスがされ、
MMCモードでは複数のブロック(マルチブロック)同
時にアクセスできる。故にMMCモード(第2のアクセ
スモード)ではSPIモード(第1のアクセスモード)
より転送レートは実質的に高いものとすることができ
る。例えば、アクセス速度はSPIモードでは4.5m
秒であるのに対しMMCモードでは1.25m秒であり
3.6倍のアクセス速度であるので、MMCモードのほ
うがSPIモードより高い転送レートを得ることができ
る。
There are SPI mode and MMC mode as access modes for the SMMC 1, and in the SPI mode, blocks of a predetermined size are accessed one by one,
In the MMC mode, a plurality of blocks (multi-blocks) can be accessed simultaneously. Therefore, in MMC mode (second access mode), SPI mode (first access mode)
The transfer rate can be substantially higher. For example, access speed is 4.5m in SPI mode
In contrast to the second, the MMC mode has 1.25 msec, which is an access speed of 3.6 times. Therefore, the MMC mode can obtain a higher transfer rate than the SPI mode.

【0018】まず、オーディオプレーヤ(SMMC1)
へのオーディオデータの記憶処理について説明する。
First, an audio player (SMMC1)
A process of storing audio data in the memory will be described.

【0019】パーソナルコンピュータPCのハードディ
スク(図示しない)には、デコーダ5における所定の方
式に対応した形式で圧縮されたオーディオデータが記憶
準備されている。この圧縮されたオーディオデータは、
例えば、音楽CDからのオーディオデータをパーソナル
コンピュータPC上で圧縮処理したものであっても良い
し、また図示しないインターネット経由で所定のウェブ
サイトからダウンロードしたものであっても良い。
The hard disk (not shown) of the personal computer PC is prepared for storing audio data compressed in a format corresponding to a predetermined method in the decoder 5. This compressed audio data is
For example, audio data from a music CD may be compressed on a personal computer PC, or may be downloaded from a predetermined website via the Internet (not shown).

【0020】パーソナルコンピュータPC上でインター
ネット経由あるいは直接入力によりオーディオデータの
暗号からのためのキーデータ(例えばオーディオプレー
ヤへのオーディオデータの記憶(コピー)に対する許諾
キーやオーディオデータと対応するIDデータ)を得て
いる状態で、オーディオプレーヤへのオーディオデータ
の記憶が開始されると、インタフェース4を介して記憶
(転送)処理の開始が制御回路2に伝えられる。そし
て、パーソナルコンピュータPCはインタフェース4を
介してSMMCの状態を検出しながらキーデータに基い
てオーディオデータ(圧縮されている)の暗号化を行
う。そして制御回路2はインタフェース4を介して転送
されてくるデータのうち、キーデータについてはアクセ
スモードをSPIモードにして(具体的にはSPIモー
ドビットの端子をON状態にする)、SMMC1のセキ
ュアな記憶領域1aへと記憶するように制御する。ま
た、暗号化されたオーディオデータについては、アクセ
スモードをMMCモードにして(具体的にはSPIモー
ドビットの端子をOFF状態にする)、SMMC1の非
セキュアな記憶領域1bへと記憶するように制御する。
而して、暗号化されたオーディオデータ及びそのキーデ
ータはSMMC1の所定の記憶領域に記憶される。
Key data (for example, a permission key for storing (copying) audio data in an audio player and ID data corresponding to the audio data) for encryption of audio data is input to the personal computer PC via the Internet or by direct input. When the storage of the audio data in the audio player is started in the obtained state, the start of the storage (transfer) process is transmitted to the control circuit 2 via the interface 4. Then, the personal computer PC encrypts the audio data (compressed) based on the key data while detecting the state of the SMMC via the interface 4. Then, the control circuit 2 sets the access mode for the key data among the data transferred via the interface 4 to the SPI mode (specifically, turns on the terminal of the SPI mode bit) to secure the SMMC 1. The storage area 1a is controlled to be stored. Further, the encrypted audio data is controlled to be stored in the non-secure storage area 1b of the SMMC1 by setting the access mode to the MMC mode (specifically, turning off the terminal of the SPI mode bit). To do.
Thus, the encrypted audio data and its key data are stored in the predetermined storage area of the SMMC 1.

【0021】次にSMMCに記憶されたオーディオデー
タを読み出して再生出力する再生処理について説明す
る。
Next, a reproducing process for reading the audio data stored in the SMMC and reproducing and outputting the audio data will be described.

【0022】上述のような処理により、非セキュアな記
憶領域1bに暗号化されたオーディオデータが記憶さ
れ、セキュアな記憶領域1aに暗号化におけるキーデー
タが記憶されている状態で、使用者により入力回路9か
らオーディオデータの再生出力が指示されると、制御回
路2はまずSMMC1に対するアクセスモードをSPI
モードに設定する。そして、非セキュアな記憶領域1b
に記憶されているキーデータをSPIモードで読み出
す。
By the above-described processing, the user inputs the encrypted audio data stored in the non-secure storage area 1b and the key data for encryption stored in the secure storage area 1a. When the reproduction output of the audio data is instructed from the circuit 9, the control circuit 2 first sets the access mode for the SMMC 1 to SPI.
Set to mode. Then, the non-secure storage area 1b
The key data stored in is read in the SPI mode.

【0023】制御回路2は読み出したキーデータが対応
するオーディオデータの再生出力を可能にするものであ
るかの判定を行い、不可能であると判定したときにはそ
の旨(再生不可)をディスプレイ10にて表示させる。
可能であると判定したときには、制御回路2はアクセス
モードをMMCモードに切換え設定し、読み出したキー
データと対応する暗号化されたオーディオデータを非セ
キュアな記憶領域1bから読み出す。制御回路2は読み
出したオーディオデータを先に読み出したキーデータに
基いて復号処理を行う。このときの暗号/復号方式とし
ては例えばDES方式がある。
The control circuit 2 determines whether or not the read key data enables reproduction and output of the corresponding audio data. When it is determined that it is impossible, the control circuit 2 informs the display 10 to that effect (reproduction impossible). To display.
When it is determined that it is possible, the control circuit 2 switches the access mode to the MMC mode and sets it, and reads the encrypted audio data corresponding to the read key data from the non-secure storage area 1b. The control circuit 2 performs a decoding process on the read audio data based on the key data read previously. The encryption / decryption method at this time is, for example, the DES method.

【0024】復号化されたオーディオデータ(この時点
では圧縮されている)は、更にデコーダ5にて伸長処理
がされる。そして、伸長されたオーディオデータはD/
A変換器6にてアナログのオーディオ信号に変換され、
アンプ7にて増幅されてスピーカ8から出力される。
The decoded audio data (compressed at this point) is further expanded by the decoder 5. The decompressed audio data is D /
Converted to analog audio signal by A converter 6,
It is amplified by the amplifier 7 and output from the speaker 8.

【0025】通常、1曲分のオーディオデータを一時に
読み出しても後段の処理ができないため、所定の量(プ
レーヤが備えるバッファの容量で決定される)ずつ読出
しが行われ、読み出したオーディオデータの処理残量が
所定量以下になったら、続きのオーディオデータの読出
しが行われて上述の復号、伸長、増幅出力の処理がなさ
れる。
Usually, even if the audio data for one song is read at a time, the subsequent processing cannot be performed, so the audio data is read by a predetermined amount (determined by the capacity of the buffer provided in the player) and the read audio data is read. When the remaining processing amount becomes equal to or less than the predetermined amount, the subsequent audio data is read and the above-described decoding, decompression and amplification output processing is performed.

【0026】而して、キーデータを含むオーディオデー
タのSMMCへのアクセス(即ちセキュアな状態を確保
してのアクセス)は、そのデータの大部分を占める暗号
化されたオーディオデータのアクセスの際にはMMCモ
ードでなされるので、SMMCに対するアクセス時間を
短くすることができる。従来のSMMCへのアクセス方
法に比べ、即ち例え非セキュアな記憶領域へのアクセス
であっても、セキュアな状態を確保してのアクセス(暗
号化におけるキーデータとそのキーデータに基いて暗号
化されたオーディオデータについてアクセス)であれ
ば、暗号化されたオーディオデータについての非セキュ
アな記憶領域へのアクセスの際にはSPIモードでしか
アクセスできなかったものに比べ、本発明によるSMM
Cへのアクセス時間の短縮化は非常に顕著である。
Thus, the access of the audio data including the key data to the SMMC (that is, the access while ensuring the secure state) is performed when the encrypted audio data that occupies most of the data is accessed. Is performed in the MMC mode, the access time to the SMMC can be shortened. Compared to the conventional method of accessing the SMMC, that is, even when accessing a non-secure storage area, an access that secures a secure state (key data in encryption and encryption based on the key data Access to the audio data), the SMM according to the present invention can be compared to the access to the non-secure storage area for the encrypted audio data, which is only possible in the SPI mode.
The shortening of the access time to C is very remarkable.

【0027】そして、SMMCへのアクセス時間の短縮
により、プレーヤ(電子機器)における消費電力の低減
がなされ、結果、長時間再生が可能なプレーヤ(電子機
器)を提供することが可能となる。
By reducing the access time to the SMMC, the power consumption of the player (electronic device) is reduced, and as a result, it is possible to provide the player (electronic device) capable of playing for a long time.

【0028】尚、本実施例では、オーディオデータのキ
ーコードに基く暗号化は、パーソナルコンピュータによ
って処理していたが、電子機器の内部で、例えば制御回
路がキーデータに基いて暗号化する構成であっても構わ
ない。
In the present embodiment, the encryption based on the key code of the audio data is processed by the personal computer, but in the electronic equipment, for example, the control circuit performs the encryption based on the key data. It doesn't matter.

【0029】[0029]

【発明の効果】本発明は、以上の説明から明らかなよう
に、暗号化されたデータについて非セキュアな記憶領域
にアクセスする際には、SPIモードより実質的に転送
レートの高いMMCモードでアクセスし、暗号化におけ
るキーデータについてセキュアな記憶領域にアクセスす
る際にはSPIモードでアクセスすることにより、セキ
ュアな状態を確保してのアクセスであってもアクセス時
間を短縮することができる。これにより消費電力を抑え
ることができ、電子機器としての動作時間を長時間化が
可能になり、高性能の電子機器を提供することが可能と
なる。
As is apparent from the above description, according to the present invention, when accessing a non-secure storage area for encrypted data, the access is performed in the MMC mode, which has a substantially higher transfer rate than the SPI mode. However, by accessing in the SPI mode when accessing the secure storage area for the key data in encryption, the access time can be shortened even if the access is performed while securing the secure state. As a result, power consumption can be suppressed, the operating time as an electronic device can be extended, and a high-performance electronic device can be provided.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例に係る電子機器の概略構成図
である。
FIG. 1 is a schematic configuration diagram of an electronic device according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 SMMC(記憶媒体) 1a セキュアな記憶領域 1b 非セキュアな記憶領域 2 制御回路(制御手段、復号手段) 4 インタフェース 5 デコーダ 7 アンプ 8 スピーカ 9 入力回路 PC パーソナルコンピュータ 1 SMMC (storage medium) 1a Secure storage area 1b Non-secure storage area 2 Control circuit (control means, decoding means) 4 interfaces 5 decoder 7 amplifier 8 speakers 9 Input circuit PC personal computer

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B017 AA07 BA07 CA14 5B035 AA02 AA05 AA13 BB09 CA11 CA29    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5B017 AA07 BA07 CA14                 5B035 AA02 AA05 AA13 BB09 CA11                       CA29

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 第1のアクセスモードと、第1のアクセ
スモードより実質的に高い転送レートの第2のアクセス
モードを有し、セキュアな記憶領域と非セキュアな記憶
領域を備えた記憶媒体にデータを記憶する際のアクセス
制御方法において、暗号化されたデータを非セキュアな
記憶領域に記憶し、非セキュアな記憶領域に記憶される
暗号化されたデータの暗号化におけるキーデータをセキ
ュアな記憶領域に記憶し、暗号化されたデータの非セキ
ュアな記憶領域への記憶は第2のアクセスモードで行
い、キーデータのセキュアな記憶領域への記憶は第1の
アクセスモードで行うことを特徴とするアクセス制御方
法。
1. A storage medium having a secure storage area and a non-secure storage area, the storage medium having a first access mode and a second access mode having a transfer rate substantially higher than that of the first access mode. In an access control method for storing data, encrypted data is stored in a non-secure storage area, and key data in encryption of encrypted data stored in the non-secure storage area is securely stored. In the storage area, the encrypted data is stored in the non-secure storage area in the second access mode, and the key data is stored in the secure storage area in the first access mode. Access control method.
【請求項2】 第1のアクセスモードと、第1のアクセ
スモードより実質的に高い転送レートの第2のモードア
クセスを有し、非セキュアな記憶領域に暗号化されたデ
ータが記憶され、該暗号化されたデータの暗号化におけ
るキーデータがセキュアな記憶領域に記憶されている記
憶媒体からデータを読出す際のアクセス制御方法におい
て、非セキュアな記憶領域に記憶された暗号化されたデ
ータの読出しは第2のアクセスモードで行い、非セキュ
アな記憶領域に記憶された暗号化されたデータの暗号化
におけるキーデータのセキュアな記憶領域からの読出し
は第1のアクセスモードで行うことを特徴とするアクセ
ス制御方法。
2. A first access mode and a second mode access having a transfer rate substantially higher than that of the first access mode, wherein encrypted data is stored in a non-secure storage area. In an access control method for reading data from a storage medium in which key data in encryption of encrypted data is stored in a secure storage area, the encrypted data stored in the non-secure storage area The reading is performed in the second access mode, and the reading of the key data from the secure storage area in the encryption of the encrypted data stored in the non-secure storage area is performed in the first access mode. Access control method.
【請求項3】 記憶媒体はSMMCであり、第1のアク
セスモードはSPIモードで第2のアクセスモードはM
MCモードであることを特徴とする請求項1又は2に記
載のアクセス制御方法。
3. The storage medium is an SMMC, the first access mode is SPI mode and the second access mode is M
The access control method according to claim 1, wherein the access control method is in MC mode.
【請求項4】 セキュアな記憶領域と非セキュアな記憶
領域を有する記憶媒体を備え、該記憶媒体に対するアク
セスモードとして第1のアクセスモードと第1のアクセ
スモードより実質的に高い転送レートの第2のアクセス
モードを有する電子機器において、暗号化されたデータ
を非セキュアな記憶領域に記憶し、暗号化されたデータ
の暗号化におけるキーデータをセキュアな記憶領域に記
憶すると共に、このとき非セキュアな記憶領域へのアク
セスは第2のアクセスモードで行い、セキュアな記憶領
域へのアクセスは第1のアクセスモードで行う制御手段
を備えることを特徴とする電子機器。
4. A storage medium having a secure storage area and a non-secure storage area, wherein a first access mode and a second transfer rate substantially higher than the first access mode are provided as access modes for the storage medium. In the electronic device having the access mode of, the encrypted data is stored in the non-secure storage area, the key data for encryption of the encrypted data is stored in the secure storage area, and An electronic device comprising a control means for performing access to a storage area in a second access mode and for accessing a secure storage area in a first access mode.
【請求項5】 セキュアな記憶領域と非セキュアな記憶
領域を有する記憶媒体を備え、該記憶媒体に対するアク
セスモードとして第1のアクセスモードと第1のアクセ
スモードより実質的に高い転送レートの第2のアクセス
モードを有する電子機器において、暗号化されたデータ
の非セキュアな記憶領域からの読出しは第2のアクセス
モードで行い、暗号化されたデータの暗号化におけるキ
ーデータのセキュアな記憶領域からへの読出しは第1の
アクセスモードで行う制御手段と、暗号化されたデータ
をキーデータに基いて復号化する復号手段を備えること
を特徴とする電子機器。
5. A storage medium having a secure storage area and a non-secure storage area, wherein a first access mode and a second transfer rate substantially higher than that of the first access mode are provided as access modes for the storage medium. In the electronic device having the above access mode, the read of the encrypted data from the non-secure storage area is performed in the second access mode, and the read from the secure storage area of the key data in the encryption of the encrypted data is performed. Is equipped with a control means for reading in the first access mode and a decrypting means for decrypting the encrypted data based on the key data.
【請求項6】 記憶媒体はSMMCであり、第1のアク
セスモードはSPIモードで第2のアクセスモードはM
MCモードであることを特徴とする請求項4又は5に記
載の電子機器。
6. The storage medium is an SMMC, the first access mode is SPI mode and the second access mode is M
The electronic device according to claim 4, wherein the electronic device is in an MC mode.
JP2001320847A 2001-10-18 2001-10-18 Access control method and electronic appliance Pending JP2003123044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001320847A JP2003123044A (en) 2001-10-18 2001-10-18 Access control method and electronic appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001320847A JP2003123044A (en) 2001-10-18 2001-10-18 Access control method and electronic appliance

Publications (1)

Publication Number Publication Date
JP2003123044A true JP2003123044A (en) 2003-04-25

Family

ID=19138169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001320847A Pending JP2003123044A (en) 2001-10-18 2001-10-18 Access control method and electronic appliance

Country Status (1)

Country Link
JP (1) JP2003123044A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008123482A (en) * 2006-10-18 2008-05-29 Matsushita Electric Ind Co Ltd Storage medium control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63142492A (en) * 1986-12-04 1988-06-14 Matsushita Electric Ind Co Ltd Memory card
JPH045783A (en) * 1990-04-24 1992-01-09 Yazaki Corp Ic card data read write device and ic card
JP2001249695A (en) * 1999-05-28 2001-09-14 Matsushita Electric Ind Co Ltd Semiconductor memory card, reproducing device, recording device, reproducing method, recording method, and computer-readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63142492A (en) * 1986-12-04 1988-06-14 Matsushita Electric Ind Co Ltd Memory card
JPH045783A (en) * 1990-04-24 1992-01-09 Yazaki Corp Ic card data read write device and ic card
JP2001249695A (en) * 1999-05-28 2001-09-14 Matsushita Electric Ind Co Ltd Semiconductor memory card, reproducing device, recording device, reproducing method, recording method, and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008123482A (en) * 2006-10-18 2008-05-29 Matsushita Electric Ind Co Ltd Storage medium control method

Similar Documents

Publication Publication Date Title
KR100710603B1 (en) Security unit for use in memory card
KR20010006966A (en) Security type memory unit with enhanced compatibility
KR20010006967A (en) Memory unit, data processing unit, and data processing method
CN101910976A (en) Efficient low power retrieval techniques of media data from non-volatile memory
KR20050069924A (en) Block encoding/decoding method, circuit, and device
US6904406B2 (en) Audio playback/recording apparatus having multiple decoders in ROM
US7609835B2 (en) Digital media cartridge system and method
KR20020021093A (en) Entertainment apparatus and loading method for digital information
JP2001210007A (en) Recorder, and recording and reproducing device
US7386124B2 (en) Block encoding method and block encoding/decoding circuit
JP2001077805A (en) Security device, memory device, data processor and method
KR20050122209A (en) Digital data storage/reproduction method and device
JP2003123044A (en) Access control method and electronic appliance
JP3882460B2 (en) MEMORY DEVICE, DATA PROCESSING DEVICE, DATA PROCESSING SYSTEM, AND DATA PROCESSING METHOD
JP2001069481A (en) Data processor
KR20010050171A (en) Terminal apparatus
JP2000122933A (en) System and method for ciphering
JP2001282623A (en) Interleaving device and interleaving restoration device
US20070158437A1 (en) Portable electronic apparatus comprising in the same microchip a digital processor with cryptography means a large capacity flash memory and a digital signal processor
CN100458812C (en) Data processing circuit, data processing method, reproduction device, reproduction method and storage medium
KR100742349B1 (en) Image display apparatus for protecting image contents and the image contents protecting method thereof
JP2002318589A (en) Compressed signal recording and reproducing device
KR20080057015A (en) Method, apparatus and medium for playing of digital contents file in mobile terminal
JP2001060170A (en) Portable terminal
JP2002150676A (en) Data processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040913

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20051226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060829