JP2003122646A - Ic card and memory access control method for ic card - Google Patents

Ic card and memory access control method for ic card

Info

Publication number
JP2003122646A
JP2003122646A JP2001319081A JP2001319081A JP2003122646A JP 2003122646 A JP2003122646 A JP 2003122646A JP 2001319081 A JP2001319081 A JP 2001319081A JP 2001319081 A JP2001319081 A JP 2001319081A JP 2003122646 A JP2003122646 A JP 2003122646A
Authority
JP
Japan
Prior art keywords
unit
data
processing
garbage collection
management
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
JP2001319081A
Other languages
Japanese (ja)
Other versions
JP3950316B2 (en
Inventor
Kazu Yoshida
吉田  壱
Katsuhiko Suzuki
勝彦 鈴木
Shinichi Hirata
真一 平田
Hideki Goromaru
秀樹 五郎丸
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2001319081A priority Critical patent/JP3950316B2/en
Publication of JP2003122646A publication Critical patent/JP2003122646A/en
Application granted granted Critical
Publication of JP3950316B2 publication Critical patent/JP3950316B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To quickly solve the problem of mismatching of memory regions when a power source is interrupted during processing in the rewriting of data and garbage collection. SOLUTION: A memory managing part 3 manages a memory part 2 by using a leading unit for managing a logical address and a data unit for managing data rewriting. The leading unit is provided with the logical address of the data unit and the physical address of the leading unit of the data unit, and the data unit is provided with the physical address of the next data unit of its own unit and state information indicating whether its own units is in the middle of writing and real data. As for restoration processing, the progress situation of the processing is detected by making the logical address and physical address of the memory part correspond to each other by the leading unit and the data unit, and the overwriting processing of data is executed only to the data unit in the middle of writing the state information. Even when a power source is interrupted during the garbage collection processing, the garbage collection processing is executed only to the unit in the middle of rewriting.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フラッシュメモリ
を搭載したICカード、およびICカードのメモリアク
セス制御方法に関する
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card equipped with a flash memory and a memory access control method for the IC card.

【0002】[0002]

【従来の技術】ICカードは、一般的に高セキュリティ
かつ持ち運びが容易であるため、電子マネーや電子チケ
ットなどの価値情報を記録する媒体として利用されてい
る。この価値情報をカード内で処理するとき、処理中の
電源断などによる情報の障害対策として、メモリ領域を
多重化して、データ書き込みの確実性を上げる手法が取
られる。
2. Description of the Related Art Since an IC card is generally highly secure and easy to carry, it is used as a medium for recording value information such as electronic money and electronic tickets. When the value information is processed in the card, a method of increasing the certainty of data writing by multiplexing the memory areas is taken as a countermeasure against the information failure due to power interruption during processing.

【0003】また、ICカードへの要求も高まり、大容
量・高密度なフラッシュメモリを用いたICカードが利
用されている。
In addition, the demand for IC cards is increasing, and IC cards using flash memories of large capacity and high density are used.

【0004】フラッシュメモリは、その特性上、書き換
え処理が遅い。そのため、フラッシュメモリを使用した
ICカードのメモリ管理方式として、論理アドレスでメ
モリにアクセスし、論理メモリ上のデータの書き換え処
理を、物理メモリにデータを追記した上で論理アドレス
と物理アドレスの対応関係の変更を行うことで、処理を
高速化する方法がある。
The rewriting process of the flash memory is slow due to its characteristics. Therefore, as a memory management method for an IC card using a flash memory, the memory is accessed by a logical address, the rewriting process of the data on the logical memory is performed, the data is additionally written on the physical memory, and the correspondence relationship between the logical address and the physical address is then added. There is a method to speed up the process by changing the.

【0005】[0005]

【発明が解決しようとする課題】しかし、メモリ領域の
多重化の手法は、フラッシュメモリは書き換え処理が遅
いため、フラッシュメモリを搭載したICカードにおけ
る障害対策には向かない。
However, the method of multiplexing the memory area is not suitable for the failure countermeasure in the IC card equipped with the flash memory because the flash memory is slow in the rewriting process.

【0006】また、論理アドレスと物理アドレスを分離
するようなメモリ管理方式をとった場合に、メモリの多
重化を行うことは、ICカードというメモリ容量の少な
い媒体では現実的ではない。そのため、フラッシュメモ
リを搭載したICカードにおける、高速性と障害への耐
性を併せ持ったメモリ管理方式はなかった。
Further, when a memory management system for separating a logical address and a physical address is adopted, it is not practical to multiplex the memory in a medium having a small memory capacity such as an IC card. Therefore, there is no memory management system that has both high speed and failure resistance in an IC card equipped with a flash memory.

【0007】本方式の目的は、上記の課題を解決したI
CカードおよびICカードのメモリアクセス制御方法を
提供することにある。
The purpose of this method is to solve the above problems.
It is to provide a memory access control method for a C card and an IC card.

【0008】[0008]

【課題を解決するための手段】本発明は、フラッシュメ
モリを利用したICカードで、データの書き換えおよび
ガーベジコレクションに際して処理状態および更新アド
レスを管理することにより、処理中に電源が遮断された
ときに、メモリ領域の不整合を解消するようにしたもの
で、以下の構成および方法を特徴とする。
SUMMARY OF THE INVENTION The present invention is an IC card using a flash memory, which manages a processing state and an update address at the time of rewriting data and garbage collection, so that when power is cut off during processing. , Is designed to eliminate inconsistencies in memory areas, and is characterized by the following configurations and methods.

【0009】(1)フラッシュメモリを搭載し、活性化
されたときに前回の処理中に電源断があったか否かを検
知し、電源断が発生していた場合にメモリ部のデータを
復旧処理する手段を備えたICカードであって、前記メ
モリ部をユニット単位で管理してデータ読み込み・書き
込みおよび電源断に対する復旧処理をするメモリ管理部
を備え、前記ユニットは、論理アドレス管理用の先頭ユ
ニットとデータ書き換え管理用のデータユニットで構成
し、前記先頭ユニットは、前記データユニットの論理ア
ドレスと、データユニットの先頭ユニットの物理アドレ
スをもつフォーマット構成とし、前記データユニット
は、自ユニットの次のデータユニットの物理アドレス
と、自ユニットが書き込み中か否かの状態情報と、実デ
ータをもつフォーマット構成とし、前記メモリ管理部の
復旧処理は、前記先頭ユニットとデータユニットによっ
てメモリ部の論理アドレスと物理アドレスを対応させて
処理の進行状況を検知し、前記状態情報が書き込み中で
あるデータユニットに対してデータの上書き又は廃棄処
理をすることを特徴とする。
(1) A flash memory is mounted, and when activated, it is detected whether or not the power supply was cut off during the previous processing, and if the power supply is cut off, the data in the memory section is restored. An IC card including means, comprising: a memory management unit that manages the memory unit on a unit-by-unit basis to perform data read / write and recovery processing against power interruption, and the unit is a head unit for logical address management. A data unit for managing data rewriting, the head unit has a format structure having a logical address of the data unit and a physical address of the head unit of the data unit, and the data unit is a data unit next to the own unit. Format, the physical address of the unit, status information of whether or not the own unit is writing, and a format with actual data In the recovery processing of the memory management unit, the head unit and the data unit detect the progress of the processing by associating the logical address and the physical address of the memory unit with each other, and the status information is written to the data unit. It is characterized by overwriting or discarding data.

【0010】(2)上記(1)に記載のICカードにお
いて、前記メモリ部の書き換え時に発生するメモリ上の
ゴミ領域を処理の進行状況を管理しながら整理するガー
ベジコレクション処理と、ガーベジコレクション中の電
源断に対する復旧処理をするガーベジコレクション管理
部を設け、前記メモリ部はガーベジコレクション中か否
かのガーベジコレクション状態情報と、各ユニットの論
理アドレス毎にガーベジコレクション処理済みか否かの
ユニット状態情報をもつ電源断管理情報を設け、前記ガ
ーベジコレクション管理部による復旧処理は、前記ガー
ベジコレクション状態情報が処理中のときに、前記ユニ
ット状態情報がガーベジコレクション処理済みでないユ
ニットに対して再度ガーベジコレクション処理をするこ
とを特徴とする。
(2) In the IC card described in (1) above, a garbage collection process for organizing a dust area on the memory generated at the time of rewriting the memory unit while managing the progress status of the process, and a garbage collection process A garbage collection management unit is provided for recovery processing against power interruption, and the memory unit displays garbage collection status information indicating whether or not garbage collection is in progress and unit status information indicating whether or not garbage collection processing has been completed for each logical address of each unit. Power recovery management information that is provided is provided, and the recovery processing by the garbage collection management unit performs garbage collection processing again for units whose unit status information has not been garbage collected when the garbage collection status information is being processed. It is characterized by

【0011】(3)フラッシュメモリを搭載し、活性化
されたときに前回の処理中に電源断があったか否かを検
知し、電源断が発生していた場合にメモリ部のデータを
復旧処理する手段を備えたICカードのメモリアクセス
制御方法であって、電源断が発生したかどうかを検知す
るために、論理メモリ空間を物理メモリ空間に対応させ
るときに、ある論理アドレスにあるデータを、次のユニ
ットを指す物理アドレスである次の物理アドレス部とユ
ニットが書き換え中かどうかの状態を保持する状態管理
部と実データ部の組み合わせで構成されたユニットを用
いることを特徴とする。
(3) A flash memory is mounted, and when activated, it is detected whether or not the power supply was cut off during the previous processing, and if the power supply is cut off, the data in the memory section is restored. A method for controlling memory access of an IC card having means, wherein data at a certain logical address is transferred to a physical memory space in order to detect whether or not power failure has occurred. The unit is composed of a combination of a next physical address part, which is a physical address indicating the unit, a state management part that holds the state of whether the unit is being rewritten, and an actual data part.

【0012】(4)上記(3)に記載のICカードのメ
モリアクセス制御方法において、データを書き込む際
に、その論理アドレスに対応する先頭ユニットを検索
し、最後のユニットになるまで物理アドレス部を追跡
し、新しいユニットの状態管理部を書き換え中状態と
し、実データ部に書き込むデータを格納した新しいユニ
ットを生成し、そのユニットの物理アドレスを最後のユ
ニットの物理アドレス部に格納し、新しいユニットの状
態管理部の書き換え中状態を解除することを特徴とす
る。
(4) In the memory access control method for an IC card described in (3) above, when writing data, the head unit corresponding to the logical address is searched and the physical address portion is set until the last unit. Trace the status of the new unit to the rewriting state, create a new unit that stores the data to be written to the actual data part, store the physical address of that unit in the physical address part of the last unit, and A feature is that the rewriting state of the state management unit is released.

【0013】(5)上記(3)または(4)のいずれか
1項に記載のICカードのメモリアクセス制御方法にお
いて、データを読み出す際に、その論理アドレスに対応
する先頭ユニットを検索し、状態管理部が書き換え中状
態でないユニットについて、最後のユニットになるまで
次の物理アドレス部を追跡し、最後のユニットの実デー
タ部をその論理アドレスに対応するデータとすることを
特徴とする。
(5) In the memory access control method for an IC card according to any one of (3) and (4) above, when reading data, the head unit corresponding to the logical address is searched and the status is With respect to the unit whose management unit is not in the rewriting state, the next physical address part is traced until the last unit, and the actual data part of the last unit is used as the data corresponding to the logical address.

【0014】(6)上記(3)〜(5)のいずれか1項
に記載のICカードのメモリアクセス制御方法におい
て、更新処理の回数分だけ発生するゴミとなるユニット
を整理し,ゴミユニットのない状態に復元するガーベジ
コレクション処理で、ガーベジコレクション処理中がそ
うでないかの状態を保持するガーベジコレクション状態
管理部と、前記ユニット毎に処理完了かそうでないかの
状態を保持するユニット処理状態管理部を持つ電源断管
理手段を持ち、処理開始時に電源断管理手段のガーベジ
コレクション処理状態管理部を処理中状態とし、論理ア
ドレスに対応する先頭ユニット毎に、先頭ユニットと追
跡した最後のユニットだけをつなげて単純なユニットを
生成し、そのユニットに対応するガーベジコレクション
処理状態管理部の処理中状態を解除する処理を行い、す
べてのユニットが処理完了になったら、すべてのゴミユ
ニットを消去し、電源断管理手段のガーベジコレクショ
ン処理状態管理部の処理中状態を解除する手順でガーベ
ジコレクションを行うことを特徴とする。
(6) In the memory access control method for an IC card according to any one of the above (3) to (5), the units that become dust only for the number of times of update processing are sorted and the dust units In the garbage collection process that restores the non-existing state, the garbage collection state management unit that holds the state whether or not the garbage collection process is in progress, and the unit processing state management unit that holds the state whether processing is completed or not for each unit When the processing starts, the garbage collection processing status management unit of the power cut management means is set to the processing status, and only the head unit and the last tracked unit are connected to each head unit corresponding to the logical address. Generate a simple unit and process the garbage collection processing state management unit corresponding to that unit. When the processing to release the medium state is completed and all the units have been processed, erase all the garbage units, and perform the garbage collection by the procedure to release the in-process state of the garbage collection processing state management section of the power off management means. It is characterized by performing.

【0015】(7)上記(3)〜(6)のいずれか1項
に記載のICカードのメモリアクセス制御方法におい
て、ICカードの起動時に状態管理部が書き換え中であ
るメモリユニットがあるかどうかを検索し、書き換え中
のユニットについて、次の物理アドレス部が空でない場
合、最後に生成したユニットの物理アドレスを書き換え
中ユニットの物理アドレス部に書き込むことを特徴とす
る。
(7) In the memory access control method for an IC card according to any one of (3) to (6) above, whether there is a memory unit whose state management unit is rewriting when the IC card is activated. And the next physical address part of the unit being rewritten is not empty, the physical address of the last generated unit is written in the physical address part of the unit being rewritten.

【0016】(8)上記(3)〜(6)のいずれか1項
に記載のICカードのメモリアクセス制御方法におい
て、カード起動時に電源断管理手段のガーベジコレクシ
ョン状態部が処理中かどうかを判定し、処理中の場合
は、ユニット状態管理部が処理完了でないユニットにつ
いて先頭ユニットと追跡した最後のユニットだけをつな
げて単純なユニットを生成し、そのユニットに対応する
ガーベジコレクション処理状態管理部の処理中状態を解
除する処理を行い、すべてのユニットが処理完了になっ
たら、すべてのゴミユニットを消去し、電源断管理手段
のガーベジコレクション処理状態管理部の処理中状態を
解除する手順でガーベジコレクションを行うことを特徴
とする。
(8) In the memory access control method for an IC card according to any one of (3) to (6) above, it is determined whether the garbage collection status section of the power-off management means is processing at card startup. However, if it is being processed, the unit status management unit creates a simple unit by connecting only the head unit and the last unit traced for units that have not completed processing, and the processing of the garbage collection processing status management unit corresponding to that unit. When the processing to release the medium state is completed and all the units have been processed, erase all the garbage units, and perform the garbage collection by the procedure to release the in-process state of the garbage collection processing state management section of the power off management means. It is characterized by performing.

【0017】[0017]

【発明の実施の形態】図1は、本発明の実施形態を示す
ICカードの構成図であり、主にメモリアクセス制御ブ
ロックを示す。
FIG. 1 is a block diagram of an IC card showing an embodiment of the present invention, mainly showing a memory access control block.

【0018】図1において、制御部1は、ICカード内
の全体機能を制御すると共に外部装置との間で制御情報
とデータの授受を制御する。
In FIG. 1, the control unit 1 controls the entire functions of the IC card and controls the exchange of control information and data with an external device.

【0019】フラッシュメモリ2は、電子マネー等の価
値情報を保存する領域の他、処理中の電源断が起こった
か否かを判断するための電源断管理情報2Aを保存する
領域を有する。
The flash memory 2 has an area for storing value information such as electronic money and an area for storing power-off management information 2A for determining whether or not power-off during processing has occurred.

【0020】メモリ管理部3は、メモリ2に対するデー
タ書き換え手段3Aとデータ読み出し手段3Bを有する
他、論理メモリ空間と物理メモリ空間の対応関係を管理
するメモリ管理機能を利用した障害復旧処理手段3Cを
有する。
The memory management unit 3 has a data rewriting unit 3A and a data reading unit 3B for the memory 2, and a failure recovery processing unit 3C utilizing a memory management function for managing the correspondence between the logical memory space and the physical memory space. Have.

【0021】ガーベジコレクション(ゴミ集め)管理部
4は、メモリ2に対する情報の書き換え時に発生するメ
モリ上のゴミ領域を、処理の進行状況を管理しながら整
理するガーベジコレクション処理手段4Aの他、メモリ
部の障害復旧処理を行う手段4Bとを有する。この障害
復旧処理にはメモリ2の電源断管理情報2Aを参照しな
がら実行する。
The garbage collection management unit 4 includes a garbage collection processing unit 4A that sorts out a dust area on the memory generated when information is rewritten to the memory 2 while managing the progress status of the processing, and a memory unit. And a means 4B for carrying out the failure recovery process. This failure recovery processing is executed with reference to the power-off management information 2A of the memory 2.

【0022】図2は、メモリ管理部3およびガーベジコ
レクション管理部3で管理する管理用データのフォーマ
ットを示す。メモリ管理部3による管理単位であるユニ
ットは、先頭ユニットとデータユニットに分けられる。
先頭ユニットは論理アドレス管理用にされ、データユニ
ットの論理アドレスを保存管理するための論理アドレス
部と、データユニットの物理アドレスを保存管理するた
めの物理アドレス部で構成する。
FIG. 2 shows a format of management data managed by the memory management unit 3 and the garbage collection management unit 3. A unit which is a management unit by the memory management unit 3 is divided into a head unit and a data unit.
The head unit is used for logical address management, and is composed of a logical address part for storing and managing the logical address of the data unit and a physical address part for storing and managing the physical address of the data unit.

【0023】データユニットは、あるユニットのデータ
に追記したデータが他のユニットとして存在する場合に
他のユニットの物理アドレスを指す「次の物理アドレ
ス」を保存するための次の物理アドレス部と、自ユニッ
トが書き換え中かどうかの状態を保持する状態管理部
と、自ユニットの実データ部の組み合わせで構成する。
The data unit includes a next physical address portion for storing a "next physical address" indicating a physical address of another unit when data added to the data of a certain unit exists as another unit, It is composed of a combination of a status management unit that holds the status of whether or not the local unit is rewriting and the actual data part of the local unit.

【0024】図3は、メモリ2の使用例を示す。論理ア
ドレス管理用データとして、論理アドレス部が♯1でそ
の先頭ユニット物理アドレス部が%1にされる場合、物
理アドレス%1に先頭のデータユニットが割り当てら
れ、当該物理アドレス%1にはデータ書き換え管理用の
データ(次の物理アドレスと状態管理データと実デー
タ)が書き込まれる。このデータのうち、「次の物理ア
ドレス部」に物理アドレス%3が書き込まれた場合、物
理アドレス%3に次のデータユニットが割り当てられ、
当該物理アドレス%3にはデータ書き換え管理用のデー
タが書き込まれる。この物理アドレス%3の「次の物理
アドレス部」にはNULLが書き込まれている場合、ま
たは物理アドレスでない特殊な値の場合、当該物理アド
レス%3が追記された最新のユニットとなる。ユニット
の論理アドレス♯2ではそれが示す先頭ユニットの物理
アドレス%2には次の物理アドレス部にはNULLが書
き込まれているため、当該ユニットには追記ユニットが
無いことになる。
FIG. 3 shows a usage example of the memory 2. As the logical address management data, when the logical address part is # 1 and its head unit physical address part is set to% 1, the head data unit is allocated to the physical address% 1 and the physical address% 1 is rewritten. Management data (next physical address, status management data, and actual data) is written. When the physical address% 3 is written in the “next physical address part” of this data, the next data unit is allocated to the physical address% 3,
Data for data rewriting management is written in the physical address% 3. If NULL is written in the “next physical address part” of the physical address% 3 or if the value is a special value that is not a physical address, the latest unit in which the physical address% 3 is additionally written becomes the latest unit. In the logical address # 2 of the unit, NULL is written in the next physical address portion in the physical address% 2 of the head unit indicated by it, and therefore the unit does not have a write-once unit.

【0025】次に、ガーベジコレクション管理部4が電
源断管理情報2Aで管理する管理用データのフォーマッ
トは、図2に併記するように、ガーベジコレクション中
に電源断等の障害が発生したか否かのデータを保存する
ための状態管理部と、各メモリユニット毎に電源断が発
生したか否かの状態データを論理アドレスで保存する状
態管理部で構成する。
Next, as shown in FIG. 2, the format of the management data managed by the garbage collection management unit 4 with the power-off management information 2A indicates whether or not a failure such as power-off has occurred during garbage collection. And a state management unit for storing the state data indicating whether or not the power supply is cut off for each memory unit as a logical address.

【0026】以上までの構成になるICカードにおける
データの読み出し処理・書き換え処理および障害発生時
の復旧処理を以下に詳細に説明する。
The data read / rewrite processing and the recovery processing when a failure occurs in the IC card having the above configuration will be described in detail below.

【0027】図4は、メモリ管理部3のデータ読み出し
手段3Aによるデータ読み出し手順を示す。まず、論理
アドレス管理用データの論理アドレス部の値を基に先頭
ユニットを検索し(S1)、先頭ユニット物理アドレス
部の値を基に物理アドレスを検索する(S2)。次に、
検索された先頭ユニットの「次の物理アドレス部」の値
がNULLか否かをチェックし(S3)、NULLでな
い場合には「次の物理アドレス部」で示される物理アド
レスを検索する(S4)。この「次の物理アドレス部」
がNULLか否かのチェックと物理アドレスの検索をN
ULLが発生するまで繰り返すことで、最新の追記ユニ
ットまでその物理アドレスの検索を行う。最後に、最新
の追記ユニットが検索されたとき、その実データ部から
実データを読み出して処理を終了する。
FIG. 4 shows a data reading procedure by the data reading means 3A of the memory management unit 3. First, the head unit is searched based on the value of the logical address part of the logical address management data (S1), and the physical address is searched based on the value of the head unit physical address part (S2). next,
It is checked whether or not the value of the "next physical address part" of the retrieved head unit is NULL (S3), and if it is not NULL, the physical address indicated by the "next physical address part" is searched (S4). . This "next physical address part"
Check whether or not is NULL and search physical address N
By repeating the process until the occurrence of the ULL, the physical address of the latest additional write unit is searched. Finally, when the latest write-once unit is searched, the actual data is read from the actual data section and the process is terminated.

【0028】図5は、メモリ管理部3のデータ書き換え
手段3Bによるデータ書き込み手順を示す。まず、デー
タ書き込み用に新しいユニットを作成する(S11)。
次に、新しいユニットの状態管理部にデータ書き換え中
であることを示す情報を保持する(S12)。次に、新
しいユニットのデータ部にデータを書き込む(S1
3)。次に、現在のユニットの「次の物理アドレス部」
に新しいユニットの物理アドレスを書き込む(S1
4)。最後に、新しいユニットの状態管理部のデータ書
き込み中である状態を解除する(S15)。
FIG. 5 shows a data writing procedure by the data rewriting unit 3B of the memory management unit 3. First, a new unit for writing data is created (S11).
Next, information indicating that data is being rewritten is held in the state management unit of the new unit (S12). Next, write the data in the data section of the new unit (S1
3). Next, the "next physical address part" of the current unit
Write the physical address of the new unit to (S1
4). Finally, the state in which data is being written in the state management unit of the new unit is released (S15).

【0029】図6は、メモリ管理部3の復旧処理手段3
Cによる、データ書き込み中の障害発生に対するデータ
復旧手順を示す。まず、ICカードが活性化(電源投
入)されたときに処理を開始し、データ書き込み中であ
るユニットがあるか否かを検索する(S21)。データ
書き込み中のユニットがある場合、そのユニットの「次
の物理アドレス部」の内容がNULLであるか否かを確
認する(S22)。NULLの場合は、更新はされてい
ないがデータも壊れていないため、復旧処理は行わな
い。NULLでない場合には最後に作成したユニットの
物理アドレス部を現在のユニットの物理アドレス部に上
書きする(S23)。これら処理を全てのユニットにつ
いて処理を繰り返す(S24)。
FIG. 6 shows the recovery processing means 3 of the memory management unit 3.
A data recovery procedure by C for a failure occurring during data writing is shown. First, the process is started when the IC card is activated (power-on), and it is searched whether or not there is a unit in which data is being written (S21). If there is a unit in which data is being written, it is confirmed whether or not the content of the "next physical address part" of the unit is NULL (S22). In the case of NULL, the restoration process is not performed because the data has not been updated but the data has not been updated. If it is not NULL, the physical address part of the unit created last is overwritten on the physical address part of the current unit (S23). These processes are repeated for all units (S24).

【0030】したがって、データユニットの状態管理部
が書き込み中であるユニットについてのみ上書き処理す
ることで復旧処理ができる。
Therefore, the recovery processing can be performed by overwriting only the unit in which the state management unit of the data unit is writing.

【0031】図7は、ガーベジコレクション管理部4の
処理手段4Aの処理手順を示す。まず、電源断管理情報
2Aのガーベジコレクション状態管理部を処理中状態と
する(S31)。
FIG. 7 shows a processing procedure of the processing means 4A of the garbage collection management section 4. First, the garbage collection status management unit of the power-off management information 2A is set to the processing status (S31).

【0032】次に、メモリ領域のユニットサイズ分だけ
以下を繰り返す(S32〜S43)。
Next, the following is repeated for the unit size of the memory area (S32 to S43).

【0033】(S32〜S37)ユニットの「次の物理
アドレス」情報をたどり、最新の情報を検索する。
(S32 to S37) The "next physical address" information of the unit is traced to retrieve the latest information.

【0034】(S38、S39)新しいメモリユニット
を作成し、先頭ユニットに対応する論理アドレスと新し
いユニットの物理アドレスの組みを登録する。
(S38, S39) A new memory unit is created, and a set of a logical address corresponding to the head unit and a physical address of the new unit is registered.

【0035】(S40〜S42)新しいユニットのデー
タ部に現在のユニットのデータを格納し、現在のユニッ
トをイレースおよび論理アドレスに対応するもとの組み
をイレースする。
(S40-S42) The data of the current unit is stored in the data section of the new unit, and the current unit is erased and the original set corresponding to the logical address is erased.

【0036】(S43)現在のユニットに対応する状態
管理部にそのユニットの更新が完了した状態を格納す
る。
(S43) The state management unit corresponding to the current unit stores the state in which the unit has been updated.

【0037】(S44)参照されなくなったメモリユニ
ットを削除する。
(S44) The memory unit that is no longer referenced is deleted.

【0038】(S45)ガーベジコレクション処理中状
態を解除する。
(S45) The state during the garbage collection process is canceled.

【0039】図8は、図7によるガーベジコレクション
処理中に、電源断が発生した場合の復旧処理手段4Bに
よる復旧処理手順を示す。ICカードの電源投入時に、
電源断管理情報2Aのガーベジコレクション状態管理部
が処理中か否かのチェックでガーベジコレクション処理
が中断したか否かを判定し(S51)、処理中断の場合
に各ユニット毎のユニット状態管理部が処理終了か否か
をチェックし(S52)、処理終了していないユニット
についてのみ図7中のユニット毎の処理S38〜S43
を実行し、当該ユニットの状態管理部を処理完了状態に
する(S53)。すべてのユニットについて処理完了で
ないユニットに対して処理完了状態にしたとき(S5
4)、ガーベジコレクション状態管理部の処理中を解除
して復旧処理を終える(S55)。
FIG. 8 shows a recovery processing procedure by the recovery processing means 4B when the power is cut off during the garbage collection processing shown in FIG. When turning on the IC card power,
The garbage collection status management unit of the power-off management information 2A determines whether or not the garbage collection processing is interrupted by checking whether the processing is in progress (S51). If the processing is interrupted, the unit status management unit of each unit It is checked whether or not the processing has been completed (S52), and only the units for which the processing has not been completed are processed S38 to S43 for each unit in FIG.
Is executed to bring the state management unit of the unit into the processing completed state (S53). When processing is completed for all units that have not been processed (S5)
4) The processing of the garbage collection status management unit is canceled and the recovery processing ends (S55).

【0040】したがって、データの書き換え処理を追記
処理にマッピングするように構成されているため、書き
換え前の状態のままデータを保持でき、処理状態を管理
することにより、復旧処理が簡単になる。
Therefore, since the data rewriting process is mapped to the additional recording process, the data can be retained in the state before the rewriting, and by managing the processing state, the recovery process is simplified.

【0041】[0041]

【発明の効果】以上のとおり、本発明によれば、以下の
効果がある。
As described above, the present invention has the following effects.

【0042】(1)処理中に電源断が起きてメモリ上の
情報に不整合が起こっても復旧できる。その理由は、メ
モリ書き換えを追記処理にマッピングし、かつ書き込み
処理状態を適切に管理できるためである。
(1) It is possible to recover even if the information on the memory is inconsistent due to power failure during processing. The reason is that the memory rewriting can be mapped to the additional write process and the write process state can be appropriately managed.

【0043】(2)追記処理によって発生するメモリ上
のゴミを削除するガーベジコレクション処理中に電源断
が発生しても復旧できる。その理由は、ガーベジコレク
ション処理の中で状態遷移を定義し、適切に管理できる
ためである。
(2) It is possible to recover even if the power is cut off during the garbage collection processing for deleting the dust on the memory generated by the additional recording processing. The reason is that state transitions can be defined in the garbage collection process and managed appropriately.

【0044】(3)通常のフラッシュメモリ書き換え処
理よりもメモリ書き換え処理を高速化できる。その理由
は、書き換え処理を追記処理にマッピングする方式をと
るためである。
(3) The memory rewriting process can be made faster than the normal flash memory rewriting process. The reason is that the rewriting process is mapped to the additional recording process.

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

【図1】本発明の実施形態を示すICカードの構成図。FIG. 1 is a configuration diagram of an IC card showing an embodiment of the present invention.

【図2】実施形態における管理用データのフォーマッ
ト。
FIG. 2 is a format of management data in the embodiment.

【図3】実施形態におけるメモリの使用例。FIG. 3 is a usage example of a memory in the embodiment.

【図4】実施形態におけるメモリ管理部のデータ読み込
み処理手順。
FIG. 4 is a data read processing procedure of a memory management unit according to the embodiment.

【図5】実施形態におけるメモリ管理部のデータ書き込
み処理手順。
FIG. 5 is a data write processing procedure of the memory management unit according to the embodiment.

【図6】実施形態におけるメモリ管理部の復旧処理手
順。
FIG. 6 is a recovery processing procedure of the memory management unit according to the embodiment.

【図7】実施形態におけるガーベジコレクション処理手
順。
FIG. 7 shows a garbage collection processing procedure according to the embodiment.

【図8】実施形態におけるガーベジコレクション復旧処
理手順。
FIG. 8 is a garbage collection recovery processing procedure according to the embodiment.

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

1…制御部 2…メモリ部 2A…電源断管理情報 3…メモリ管理部 3A…データ書き換え手段 3B…データ読み出し手段 3C…復旧処理手段 4…ガーベジコレクション管理部 4A…ガーベジコレクション処理手段 4B…復旧処理手段 1 ... Control unit 2 ... Memory section 2A ... Power-off management information 3 ... Memory management unit 3A ... Data rewriting means 3B ... Data reading means 3C ... Restoration processing means 4 ... Garbage collection management department 4A ... Garbage collection processing means 4B ... Recovery processing means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 平田 真一 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 五郎丸 秀樹 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5B018 GA04 HA22 MA24 QA05 5B035 AA02 BB09 CA29 5B058 CA23 CA26 KA08 KA27 5B060 AA10 MM09    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Shinichi Hirata             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation (72) Inventor Goromaru Hideki             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation F-term (reference) 5B018 GA04 HA22 MA24 QA05                 5B035 AA02 BB09 CA29                 5B058 CA23 CA26 KA08 KA27                 5B060 AA10 MM09

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 フラッシュメモリを搭載し、活性化され
たときに前回の処理中に電源断があったか否かを検知
し、電源断が発生していた場合にメモリ部のデータを復
旧処理する手段を備えたICカードであって、 前記メモリ部をユニット単位で管理してデータ読み込み
・書き込みおよび電源断に対する復旧処理をするメモリ
管理部を備え、 前記ユニットは、論理アドレス管理用の先頭ユニットと
データ書き換え管理用のデータユニットで構成し、 前記先頭ユニットは、前記データユニットの論理アドレ
スと、データユニットの先頭ユニットの物理アドレスを
もつフォーマット構成とし、 前記データユニットは、自ユニットの次のデータユニッ
トの物理アドレスと、自ユニットが書き込み中か否かの
状態情報と、実データをもつフォーマット構成とし、 前記メモリ管理部の復旧処理は、前記先頭ユニットとデ
ータユニットによってメモリ部の論理アドレスと物理ア
ドレスを対応させて処理の進行状況を検知し、前記状態
情報が書き込み中であるデータユニットに対してデータ
の上書き又は廃棄処理をすることを特徴とするICカー
ド。
1. A means for mounting a flash memory, detecting whether or not power was cut off during the previous processing when activated, and recovering data in the memory unit when the power is cut off. An IC card comprising: a memory management unit that manages the memory unit in units to perform data reading / writing and recovery processing against power interruption, wherein the unit includes a head unit for logical address management and data. A data unit for rewriting management, the head unit has a format structure having a logical address of the data unit and a physical address of the head unit of the data unit, and the data unit is a data unit of the next data unit of the own unit. Format with physical address, status information of own unit writing or not, and actual data The recovery process of the memory management unit detects the progress of the process by associating the logical address and the physical address of the memory unit with the head unit and the data unit, and the status information is being written to the data unit being written. An IC card characterized by overwriting or discarding data.
【請求項2】 請求項1に記載のICカードにおいて、 前記メモリ部の書き換え時に発生するメモリ上のゴミ領
域を処理の進行状況を管理しながら整理するガーベジコ
レクション処理と、ガーベジコレクション中の電源断に
対する復旧処理をするガーベジコレクション管理部を設
け、 前記メモリ部はガーベジコレクション中か否かのガーベ
ジコレクション状態情報と、各ユニットの論理アドレス
毎にガーベジコレクション処理済みか否かのユニット状
態情報をもつ電源断管理情報を設け、 前記ガーベジコレクション管理部による復旧処理は、前
記ガーベジコレクション状態情報が処理中のときに、前
記ユニット状態情報がガーベジコレクション処理済みで
ないユニットに対して再度ガーベジコレクション処理を
することを特徴とするICカード。
2. The IC card according to claim 1, wherein a garbage collection process for organizing a dust area on the memory generated when the memory unit is rewritten while managing the progress status of the process, and a power-off during the garbage collection. A recovery unit is provided with a garbage collection management unit, and the memory unit has a garbage collection status information indicating whether or not garbage collection is in progress and a unit status information indicating whether or not garbage collection processing has been completed for each logical address of each unit. The disconnection management information is provided, and the recovery processing by the garbage collection management unit, when the garbage collection status information is being processed, performs the garbage collection processing again on the unit whose unit status information is not already garbage collected. Characteristic IC car De.
【請求項3】 フラッシュメモリを搭載し、活性化され
たときに前回の処理中に電源断があったか否かを検知
し、電源断が発生していた場合にメモリ部のデータを復
旧処理する手段を備えたICカードのメモリアクセス制
御方法であって、 電源断が発生したかどうかを検知するために、論理メモ
リ空間を物理メモリ空間に対応させるときに、ある論理
アドレスにあるデータを、次のユニットを指す物理アド
レスである次の物理アドレス部とユニットが書き換え中
かどうかの状態を保持する状態管理部と実データ部の組
み合わせで構成されたユニットを用いることを特徴とす
るICカードのメモリアクセス制御方法。
3. A means for mounting a flash memory, detecting whether or not there is a power failure during the previous processing when activated, and recovering the data in the memory section when the power failure has occurred. A method for controlling memory access of an IC card comprising: a method for detecting whether or not a power failure has occurred, in which data at a certain logical address is transferred to a physical memory space Memory access of an IC card characterized by using a unit composed of a next physical address part which is a physical address indicating a unit, a state management part for holding a state of whether the unit is being rewritten, and an actual data part Control method.
【請求項4】 請求項3に記載のICカードのメモリア
クセス制御方法において、 データを書き込む際に、その論理アドレスに対応する先
頭ユニットを検索し、最後のユニットになるまで物理ア
ドレス部を追跡し、新しいユニットの状態管理部を書き
換え中状態とし、実データ部に書き込むデータを格納し
た新しいユニットを生成し、そのユニットの物理アドレ
スを最後のユニットの物理アドレス部に格納し、新しい
ユニットの状態管理部の書き換え中状態を解除すること
を特徴とするICカードのメモリアクセス制御方法。
4. The memory access control method for an IC card according to claim 3, wherein when writing data, the head unit corresponding to the logical address is searched, and the physical address part is traced until the end unit. , The state management section of the new unit is being rewritten, a new unit that stores the data to be written to the actual data section is generated, the physical address of that unit is stored in the physical address section of the last unit, and the state management of the new unit is performed. A method for controlling memory access of an IC card, which is characterized by canceling a rewriting state of a section.
【請求項5】 請求項3または4のいずれか1項に記載
のICカードのメモリアクセス制御方法において、 データを読み出す際に、その論理アドレスに対応する先
頭ユニットを検索し、状態管理部が書き換え中状態でな
いユニットについて、最後のユニットになるまで次の物
理アドレス部を追跡し、最後のユニットの実データ部を
その論理アドレスに対応するデータとすることを特徴と
するICカードのメモリアクセス制御方法。
5. The IC card memory access control method according to claim 3, wherein when reading data, the head unit corresponding to the logical address is searched and rewritten by the state management unit. A memory access control method for an IC card, characterized in that, for a unit that is not in a medium state, the next physical address part is traced until it reaches the last unit, and the actual data part of the last unit is used as data corresponding to that logical address. .
【請求項6】 請求項3〜5のいずれか1項に記載のI
Cカードのメモリアクセス制御方法において、 更新処理の回数分だけ発生するゴミとなるユニットを整
理し,ゴミユニットのない状態に復元するガーベジコレ
クション処理で、ガーベジコレクション処理中がそうで
ないかの状態を保持するガーベジコレクション状態管理
部と、前記ユニット毎に処理完了かそうでないかの状態
を保持するユニット処理状態管理部を持つ電源断管理手
段を持ち、 処理開始時に電源断管理手段のガーベジコレクション処
理状態管理部を処理中状態とし、 論理アドレスに対応する先頭ユニット毎に、先頭ユニッ
トと追跡した最後のユニットだけをつなげて単純なユニ
ットを生成し、そのユニットに対応するガーベジコレク
ション処理状態管理部の処理中状態を解除する処理を行
い、 すべてのユニットが処理完了になったら、すべてのゴミ
ユニットを消去し、電源断管理手段のガーベジコレクシ
ョン処理状態管理部の処理中状態を解除する手順でガー
ベジコレクションを行うことを特徴とするICカードの
メモリアクセス制御方法。
6. The I according to any one of claims 3 to 5.
In the memory access control method of C card, the garbage collection process that sorts out the number of times of the updating process is sorted and the state without the garbage unit is restored. It has a garbage collection status management unit and a power-off management means that holds the unit processing status management unit that holds the status of processing completion or not for each unit, and the garbage collection processing status management of the power-off management means at the start of processing. A part is set to the processing status, and for each head unit corresponding to a logical address, a simple unit is created by connecting only the head unit and the last tracked unit, and the garbage collection processing status management unit corresponding to that unit is processing. Performs processing to release the status and all units are completed A memory access control method for an IC card, characterized in that all garbage units are erased, and then the garbage collection is performed by the procedure of releasing the processing status of the garbage collection processing status management unit of the power-off management means.
【請求項7】 請求項3〜6のいずれか1項に記載のI
Cカードのメモリアクセス制御方法において、 ICカードの起動時に状態管理部が書き換え中であるメ
モリユニットがあるかどうかを検索し、書き換え中のユ
ニットについて、次の物理アドレス部が空でない場合、
最後に生成したユニットの物理アドレスを書き換え中ユ
ニットの物理アドレス部に書き込むことを特徴とするI
Cカードのメモリアクセス制御方法。
7. I according to any one of claims 3 to 6.
In the C card memory access control method, when the IC card is started, the state management unit searches for a memory unit that is being rewritten. If the next physical address of the unit that is being rewritten is not empty,
The physical address of the last generated unit is written in the physical address part of the unit being rewritten I
C card memory access control method.
【請求項8】 請求項3〜6のいずれか1項に記載のI
Cカードのメモリアクセス制御方法において、 カード起動時に電源断管理手段のガーベジコレクション
状態部が処理中かどうかを判定し、処理中の場合は、ユ
ニット状態管理部が処理完了でないユニットについて先
頭ユニットと追跡した最後のユニットだけをつなげて単
純なユニットを生成し、そのユニットに対応するガーベ
ジコレクション処理状態管理部の処理中状態を解除する
処理を行い、すべてのユニットが処理完了になったら、
すべてのゴミユニットを消去し、電源断管理手段のガー
ベジコレクション処理状態管理部の処理中状態を解除す
る手順でガーベジコレクションを行うことを特徴とする
ICカードのメモリアクセス制御方法。
8. I according to any one of claims 3 to 6.
In the C card memory access control method, it is determined at the time of card activation whether the garbage collection status section of the power-off management means is processing. If processing is in progress, the unit status management section traces the unit that has not completed processing to the head unit. Generate a simple unit by connecting only the last unit that was done, perform processing to release the processing status of the garbage collection processing status management unit corresponding to that unit, and when all the units have completed processing,
A memory access control method for an IC card, characterized in that garbage collection is performed in a procedure of erasing all the dust units and releasing the processing status of the garbage collection processing status management unit of the power-off management means.
JP2001319081A 2001-10-17 2001-10-17 IC card and IC card memory access control method Expired - Lifetime JP3950316B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001319081A JP3950316B2 (en) 2001-10-17 2001-10-17 IC card and IC card memory access control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001319081A JP3950316B2 (en) 2001-10-17 2001-10-17 IC card and IC card memory access control method

Publications (2)

Publication Number Publication Date
JP2003122646A true JP2003122646A (en) 2003-04-25
JP3950316B2 JP3950316B2 (en) 2007-08-01

Family

ID=19136681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001319081A Expired - Lifetime JP3950316B2 (en) 2001-10-17 2001-10-17 IC card and IC card memory access control method

Country Status (1)

Country Link
JP (1) JP3950316B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774390B2 (en) 2006-01-20 2010-08-10 Samsung Electronics Co., Ltd. Apparatus for collecting garbage block of nonvolatile memory according to power state and method of collecting the same
KR101335047B1 (en) * 2009-01-06 2013-11-29 주식회사 엘지유플러스 Apparatus and method for recovering service transaction of terminal application using smart card
JP2014139737A (en) * 2013-01-21 2014-07-31 Dainippon Printing Co Ltd Information recording medium, data reading/wiring method and data reading/writing program
US9257192B2 (en) 2013-02-12 2016-02-09 Samsung Electronics Co., Ltd. Memory system performing multi-step erase operation based on stored metadata
JP2016505180A (en) * 2013-01-30 2016-02-18 ヒューレット−パッカード デベロップメント カンパニー エル.ピー.Hewlett‐Packard Development Company, L.P. Non-volatile memory writing mechanism
CN108132890A (en) * 2017-12-20 2018-06-08 北京京存技术有限公司 Rubbish recovering method, device, equipment and the storage medium of storage chip
CN108874574A (en) * 2018-05-31 2018-11-23 郑州云海信息技术有限公司 A kind of garbage reclamation processing method and relevant apparatus
US10482008B2 (en) 2015-01-23 2019-11-19 Hewlett Packard Enterprise Development Lp Aligned variable reclamation

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774390B2 (en) 2006-01-20 2010-08-10 Samsung Electronics Co., Ltd. Apparatus for collecting garbage block of nonvolatile memory according to power state and method of collecting the same
KR101335047B1 (en) * 2009-01-06 2013-11-29 주식회사 엘지유플러스 Apparatus and method for recovering service transaction of terminal application using smart card
JP2014139737A (en) * 2013-01-21 2014-07-31 Dainippon Printing Co Ltd Information recording medium, data reading/wiring method and data reading/writing program
JP2016505180A (en) * 2013-01-30 2016-02-18 ヒューレット−パッカード デベロップメント カンパニー エル.ピー.Hewlett‐Packard Development Company, L.P. Non-volatile memory writing mechanism
US9257192B2 (en) 2013-02-12 2016-02-09 Samsung Electronics Co., Ltd. Memory system performing multi-step erase operation based on stored metadata
US10482008B2 (en) 2015-01-23 2019-11-19 Hewlett Packard Enterprise Development Lp Aligned variable reclamation
CN108132890A (en) * 2017-12-20 2018-06-08 北京京存技术有限公司 Rubbish recovering method, device, equipment and the storage medium of storage chip
CN108132890B (en) * 2017-12-20 2021-08-03 北京兆易创新科技股份有限公司 Garbage recycling method, device and equipment for memory chip and storage medium
CN108874574A (en) * 2018-05-31 2018-11-23 郑州云海信息技术有限公司 A kind of garbage reclamation processing method and relevant apparatus

Also Published As

Publication number Publication date
JP3950316B2 (en) 2007-08-01

Similar Documents

Publication Publication Date Title
KR100843543B1 (en) System comprising flash memory device and data recovery method thereof
JP3072722B2 (en) Data management device and data management method using flash memory and storage medium using flash memory
CN108431783B (en) Access request processing method and device and computer system
US7558904B2 (en) Controller, data memory system, data rewriting method, and computer program product
US7441085B2 (en) Memory control method for restoring data in a cache memory
WO2003056433A1 (en) Memory device and recording/reproducing apparatus using the same
KR100370893B1 (en) Flash memory unit and control method of flash memory
WO2023116346A1 (en) Method and system for recovering trim data under abnormal power failure, and solid-state drive
CN108431784B (en) Access request processing method and device and computer system
KR100703680B1 (en) Flash file system
US5829014A (en) Method of supervising storage of data in a memory card having EEPROM and a memory card system using the same
CN115705152A (en) Metadata management in non-volatile memory devices using in-memory logs
CN115705153A (en) Conditional update and deferred lookup
JP2003122646A (en) Ic card and memory access control method for ic card
JP4175881B2 (en) Nonvolatile memory storage method and storage device
EP2264602A1 (en) Memory device for managing the recovery of a non volatile memory
EP1191426A2 (en) Power failure managing method and power failure managing device
CN109325005B (en) Data processing method and electronic equipment
JP3675375B2 (en) Nonvolatile memory and data rewriting method of nonvolatile memory
EP2267725A1 (en) Memory device for managing the recovery of a non volatile memory
US20070274302A1 (en) Data Storage Device, Memory Managing Method, and Program
JP3392173B2 (en) Storage management method for IC memory card
KR20030065223A (en) Host equipped with stabilizing function for flash memory and the method thereof
JPH06309527A (en) Ic card
JPH09152983A (en) Reentrant garbage collection processing in file system immanent in flash memory

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060627

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070123

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070326

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070420

R150 Certificate of patent or registration of utility model

Ref document number: 3950316

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100427

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110427

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120427

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130427

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140427

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350