JP2002244921A - Data processing device - Google Patents

Data processing device

Info

Publication number
JP2002244921A
JP2002244921A JP2001042397A JP2001042397A JP2002244921A JP 2002244921 A JP2002244921 A JP 2002244921A JP 2001042397 A JP2001042397 A JP 2001042397A JP 2001042397 A JP2001042397 A JP 2001042397A JP 2002244921 A JP2002244921 A JP 2002244921A
Authority
JP
Japan
Prior art keywords
circuit
data
program
data processing
processing 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
Application number
JP2001042397A
Other languages
Japanese (ja)
Other versions
JP4617581B2 (en
Inventor
Fumio Kubono
文夫 久保野
Masahiro Sueyoshi
正弘 末吉
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.)
Sony Corp
Original Assignee
Sony 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
Priority to JP2001042397A priority Critical patent/JP4617581B2/en
Application filed by Sony Corp filed Critical Sony Corp
Priority to US10/257,472 priority patent/US7240345B2/en
Priority to CN200910004389.6A priority patent/CN101526982B/en
Priority to SG200505142-0A priority patent/SG154320A1/en
Priority to SG200505139-6A priority patent/SG160187A1/en
Priority to SG200505137-0A priority patent/SG140467A1/en
Priority to CN02801052.3A priority patent/CN1261870C/en
Priority to SG200505136-2A priority patent/SG143064A1/en
Priority to PCT/JP2002/001324 priority patent/WO2002065287A1/en
Priority to SG200505135-4A priority patent/SG132507A1/en
Priority to EP02700588A priority patent/EP1361511A4/en
Priority to SG200505141-2A priority patent/SG143065A1/en
Priority to SG200505138-8A priority patent/SG143976A1/en
Publication of JP2002244921A publication Critical patent/JP2002244921A/en
Priority to HK04104630A priority patent/HK1062722A1/en
Priority to US11/688,439 priority patent/US8141057B2/en
Priority to HK07105179.5A priority patent/HK1098849A1/en
Application granted granted Critical
Publication of JP4617581B2 publication Critical patent/JP4617581B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data processing device capable of holding secrecy of commands and data among programs when executing a plurality of programs. SOLUTION: A CPU 52 executes a plurality of application programs while accessing to a memory 53. A judging circuit 60 outputs a judgement result signal S60 determining that a switch circuit 61 is set to either of a connection condition and a non-connection condition to the switch circuit 61 based on signals S52a, S52b, and S52c. The switch circuit 61 becomes connection or non-connection condition based on the signal S60.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、秘匿性の高いコー
ドおよびデータを効果的に保持できるデータ処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing apparatus capable of effectively storing highly confidential codes and data.

【0002】[0002]

【従来の技術】従来から、電子的な手段により、従来の
紙幣等に代わってネットワークに接続されたサーバ装置
を用いて電子決済等を行うシステムや、従来の紙切符に
代わってICカードなどの装置との間で接触あるいは非
接触方式で通信を行って改札処理を行うコンピュータを
用いた改札システムなどが提案されている。これらのシ
ステムの多くは、それぞれの用途に応じた専用のコンピ
ュータを用意することが通例であり、1 台のコンピュー
タを複数の用途で使用することはあまりなかった。この
ような背景の中、近年、1 台のコンピュータ上で複数の
サービスに係わるプログラムを動作させ、複数のサービ
スを提供する試みがある。
2. Description of the Related Art Conventionally, a system for performing electronic settlement or the like using a server device connected to a network in place of conventional bills or the like by electronic means, or an IC card or the like in place of a conventional paper ticket. A ticket gate system using a computer that performs ticket gate processing by communicating with a device in a contact or non-contact manner has been proposed. In many of these systems, it is customary to prepare a dedicated computer for each purpose, and a single computer is rarely used for multiple purposes. In such a background, in recent years, there has been an attempt to provide a plurality of services by operating a program related to a plurality of services on one computer.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、1 台の
コンピュータ上でそれぞれ異なる事業者が提供する複数
のサービスに係わる複数のプログラムを動作させる場合
に、当該サービスが決済などのように秘匿性の高いデー
タを扱う場合には、各事業者が所有する秘匿性の高いデ
ータが他の事業者によって不正に取得されたり、改竄さ
れる可能性があるという問題がある。
However, when a plurality of programs related to a plurality of services provided by different operators are operated on a single computer, the services are required to be highly confidential such as settlement. When handling data, there is a problem in that highly confidential data owned by each business may be illegally acquired or tampered with by another business.

【0004】本発明は、上述した従来技術の問題点に鑑
みてなされたものであり、複数のプログラムを実行する
場合に、各プログラム間で命令およびデータの秘密性を
保持できるデータ処理装置を提供することを目的とす
る。
[0004] The present invention has been made in view of the above-mentioned problems of the prior art, and provides a data processing apparatus capable of maintaining the confidentiality of instructions and data between programs when executing a plurality of programs. The purpose is to do.

【0005】[0005]

【課題を解決するための手段】上述した目的を達成する
ために、本発明のデータ処理装置は、複数のプログラム
の命令およびデータを記憶する記憶回路と、伝送路を介
して前記記憶回路にアクセスを行い、前記複数のプログ
ラムの命令およびデータを用いて前記複数のプログラム
を実行する演算回路と、前記伝送路と前記記憶回路との
間に介在し、制御信号に基づいて、前記伝送路と前記記
憶回路との間を接続状態および非接続状態の何れか一方
に設定する接続切換回路と、前記演算回路が前記複数の
プログラムを実行中にアクセス可能な前記記憶回路内の
アドレス範囲を前記複数のプログラムの各々について規
定したアクセス範囲規定データと、前記演算回路がアク
セス要求を出した前記記憶回路内のアドレスと、前記演
算回路が複数のプログラムのうち何れのプログラムを実
行中であるかを示す実行中プログラム指示情報とに基づ
いて、前記伝送路と前記記憶回路との間を接続状態およ
び非接続状態の何れにするかを制御する前記制御信号を
生成する接続制御回路と、前記伝送路を介した前記演算
回路との間のデータ入出力と、当該データ処理装置の外
部との間のデータ入出力とを行う入出力インタフェース
回路とを有する。
In order to achieve the above-mentioned object, a data processing apparatus according to the present invention comprises a storage circuit for storing instructions and data of a plurality of programs, and an access to the storage circuit via a transmission path. Performing a plurality of programs using instructions and data of the plurality of programs, an arithmetic circuit, interposed between the transmission path and the storage circuit, based on a control signal, the transmission path and the A connection switching circuit for setting any one of a connection state and a non-connection state with a storage circuit; and an address range in the storage circuit accessible by the arithmetic circuit during execution of the plurality of programs. An access range defining data defined for each of the programs, an address in the storage circuit to which the arithmetic circuit has issued an access request, and the arithmetic circuit Controlling whether the connection between the transmission path and the storage circuit is in a connection state or a non-connection state based on running program instruction information indicating which program in the program is being executed. A connection control circuit that generates a control signal, and an input / output interface circuit that performs data input / output between the arithmetic circuit via the transmission path and data input / output with the outside of the data processing device. Have.

【0006】本発明のデータ処理装置の作用は以下のよ
うになる。演算回路が記憶回路にアクセスを行いながら
複数のプログラムを実行する。当該プログラムの実行過
程で、接続制御回路によって、演算回路がアクセス要求
を出した記憶回路内のアドレスと、演算回路が複数のプ
ログラムのうち何れのプログラムを実行中であるかを示
す実行中プログラム指示情報とに基づいて、伝送路と記
憶回路との間を接続状態および非接続状態の何れにする
かを制御する制御信号が生成される。当該制御信号は、
接続制御回路から接続切換回路に出力される。そして、
接続切換回路によって、伝送路と記憶回路との間が接続
状態および非接続状態の何れか一方に設定される。
The operation of the data processing device of the present invention is as follows. The arithmetic circuit executes a plurality of programs while accessing the storage circuit. During the execution of the program, the connection control circuit causes the address in the storage circuit to which the arithmetic circuit issues an access request, and an executing program instruction indicating which of the plurality of programs the arithmetic circuit is executing. Based on the information, a control signal for controlling whether the transmission path and the storage circuit are connected or disconnected is generated. The control signal is
The signal is output from the connection control circuit to the connection switching circuit. And
The connection switching circuit sets one of a connection state and a non-connection state between the transmission path and the storage circuit.

【0007】また、本発明のデータ処理装置は、好まし
くは、前記接続制御回路は、前記演算回路がアクセス要
求を出した前記記憶回路内のアドレスが、前記アクセス
範囲規定データが規定する前記実行中のプログラムに対
応するアドレス範囲内にある場合に、前記伝送路と前記
記憶回路との間を接続状態にすることを示す前記制御信
号を生成し、当該アドレス範囲内にない場合に前記伝送
路と前記記憶回路との間を非接続状態にすることを示す
前記制御信号を生成する。
In the data processing apparatus according to the present invention, preferably, the connection control circuit is configured such that an address in the storage circuit to which the arithmetic circuit has issued an access request corresponds to the address during the execution specified by the access range defining data. When the address is within the address range corresponding to the program, the control signal indicating that the transmission path and the storage circuit are connected to each other is generated, and when the address is not within the address range, the control signal is generated. The control signal is generated to indicate that the connection to the storage circuit is to be disconnected.

【0008】また、本発明のデータ処理装置は、好まし
くは、前記接続制御回路は、前記演算回路がフェッチ、
リードおよびライトの何れの命令を実行中であるかに応
じてそれぞれアクセス可能な前記記憶回路内のアドレス
範囲を規定した前記アクセス範囲規定データに基づい
て、実行中の命令に応じて前記制御信号を生成する。
Further, in the data processing apparatus of the present invention, preferably, the connection control circuit includes:
Based on the access range defining data defining an address range in the storage circuit that can be accessed in accordance with which instruction of read or write is being executed, the control signal is generated in accordance with the instruction being executed. Generate.

【0009】また、本発明のデータ処理装置は、好まし
くは、前記接続制御回路は、前記アクセス範囲規定デー
タを記憶する記憶部を有する。
Further, in the data processing device of the present invention, preferably, the connection control circuit has a storage unit for storing the access range defining data.

【0010】また、本発明のデータ処理装置は、好まし
くは、前記入出力インタフェース回路は、当該データ処
理装置の外部で、暗号化された前記アクセス範囲規定デ
ータを記憶する集積回路との間でデータの送受信を行
い、前記演算回路は、前記伝送路および前記通信回路を
介して、前記集積回路にアクセスを行い、前記接続制御
回路は、所定の鍵情報を保持し、前記通信回路および前
記伝送路を介して前記集積回路から前記暗号化されたア
クセス範囲規定データを受信し、当該受信したアクセス
範囲規定データを前記鍵情報を用いて復号し、当該復号
したアクセス範囲規定データを用いて前記制御信号を生
成する。
Further, in the data processing apparatus of the present invention, preferably, the input / output interface circuit is connected to an integrated circuit that stores the encrypted access range defining data outside the data processing apparatus. The arithmetic circuit accesses the integrated circuit via the transmission line and the communication circuit, the connection control circuit holds predetermined key information, and the communication circuit and the transmission line Receiving the encrypted access range defining data from the integrated circuit via the integrated circuit, decrypting the received access range defining data using the key information, and using the decrypted access range defining data to control the control signal. Generate

【0011】また、本発明のデータ処理装置は、好まし
くは、前記接続制御回路は、前記復号を行う暗号化され
た復号プログラムを前記入出力インタフェース回路およ
び前記伝送路を介して受信し、当該受信した復号プログ
ラムを復号して前記記憶回路に格納し、当該記憶回路に
格納された前記復号プログラムを用いて、前記アクセス
範囲規定データの復号を行う。
In the data processing apparatus of the present invention, preferably, the connection control circuit receives an encrypted decryption program for performing the decryption via the input / output interface circuit and the transmission path, and And decrypting the decrypted decryption program, storing the decrypted decryption program in the storage circuit, and decrypting the access range defining data using the decryption program stored in the storage circuit.

【0012】また、本発明のデータ処理装置は、好まし
くは、前記演算回路は、前記接続制御回路が、前記伝送
路と前記記憶回路との間を非接続状態に設定する場合
に、当該演算回路の動作を停止する。
Further, in the data processing apparatus of the present invention, preferably, the arithmetic circuit is configured such that when the connection control circuit sets the connection between the transmission line and the storage circuit to a non-connected state, Stop the operation of.

【0013】また、本発明のデータ処理装置は、好まし
くは、前記接続制御回路は、前記演算回路が実行中の前
記プログラムが他の前記プログラムの機能を呼び出した
場合に、呼び出しを許可する呼び出し元および呼び出し
先のプログラムの組み合わせを予め規定したプログラム
間呼び出し関係規定データに基づいて、前記呼び出しが
許可されているか否かを判断し、許可されていると判断
した場合に、前記伝送路と前記記憶回路との間を接続状
態にする前記制御信号を生成し、不許可であると判断し
た場合に、前記伝送路と前記記憶回路との間を非接続状
態にする前記制御信号を生成する。
In the data processing apparatus according to the present invention, preferably, the connection control circuit includes a call source that permits the call when the program being executed by the arithmetic circuit calls a function of another program. It is determined whether or not the call is permitted based on the inter-program call relation definition data that pre-defines a combination of programs to be called and the call path and the storage when it is determined that the call is permitted. The control signal for making a connection state with the circuit is generated, and when it is determined that the connection is not permitted, the control signal for making the connection state between the transmission path and the storage circuit is generated.

【0014】また、本発明のデータ処理装置は、好まし
くは、前記接続制御回路は、前記演算回路がフェッチ、
リードおよびライトの何れの命令を実行中であるかに応
じてそれぞれ前記プログラムの組み合わせを規定したプ
ログラム間呼び出し関係規定データに基づいて、実行中
の命令に応じて前記制御信号を生成する。
Further, in the data processing apparatus of the present invention, preferably, the connection control circuit includes:
The control signal is generated in accordance with the instruction being executed, based on inter-program call relation definition data defining a combination of the programs in accordance with which instruction of read or write is being executed.

【0015】また、本発明のデータ処理装置は、好まし
くは、前記接続制御回路は、前記プログラム間呼び出し
関係規定データを記憶する記憶部を有する。
Further, in the data processing device of the present invention, preferably, the connection control circuit has a storage unit for storing the inter-program call relation definition data.

【0016】また、本発明のデータ処理装置は、好まし
くは、前記入出力インタフェース回路は、当該データ処
理装置の外部で、暗号化された前記プログラム間呼び出
し関係規定データを記憶する集積回路との間でデータの
送受信を行い、前記演算回路は、前記伝送路および前記
通信回路を介して、前記集積回路にアクセスを行い、前
記接続制御回路は、所定の鍵情報を保持し、前記通信回
路および前記伝送路を介して前記集積回路から前記暗号
化されたプログラム間呼び出し関係規定データを受信
し、当該受信したプログラム間呼び出し関係規定データ
を前記鍵情報を用いて復号し、当該復号したプログラム
間呼び出し関係規定データを用いて前記制御信号を生成
する。
In the data processing apparatus of the present invention, preferably, the input / output interface circuit is connected to an integrated circuit storing the encrypted inter-program call relation defining data outside the data processing apparatus. The arithmetic circuit accesses the integrated circuit via the transmission line and the communication circuit, the connection control circuit holds predetermined key information, and performs communication with the communication circuit and the communication circuit. Receiving the encrypted inter-program call relation definition data from the integrated circuit via a transmission path, decrypting the received inter-program call relation specification data using the key information, and decoding the decrypted inter-program call relation; The control signal is generated using prescribed data.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施形態に係わる
通信システムについて説明する。 〔本発明の関連技術〕先ず、本発明の関連技術となるI
Cカードを用いた取り引き業務用のプログラムを実行す
るコンピュータについて説明する。図1は、本発明の関
連技術となる電子決済に用いられるコンピュータ1の機
能ブロック図である。図1に示すようにコンピュータ1
は、CPU2、メモリ3および通信回路4を有する。C
PU2、メモリ3および通信回路4は、CPUデータバ
ス6に接続されている。CPU2および通信回路4は、
CPUアドレスバス7に接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A communication system according to an embodiment of the present invention will be described below. [Related Art of the Present Invention]
A computer that executes a transaction business program using a C card will be described. FIG. 1 is a functional block diagram of a computer 1 used for electronic payment as a related technique of the present invention. As shown in FIG.
Has a CPU 2, a memory 3, and a communication circuit 4. C
The PU 2, the memory 3, and the communication circuit 4 are connected to the CPU data bus 6. The CPU 2 and the communication circuit 4
It is connected to the CPU address bus 7.

【0018】CPU2は、コンピュータ1の動作を統括
的に制御し、メモリ3に記憶されたプログラムの命令に
基づいて動作し、当該動作中にメモリ3にアクセスを行
う。通信回路4は、ICカード8との間で接触方式ある
いは非接触方式で通信を行う。接触型では、ICカード
8と通信回路4とが電気的な接点によって接続される。
また、非接触型では、ICカード8と通信回路4とが電
波や光等を通信媒介として接続される。通信回路4を介
してICカード8から受信したデータは、メモリ3に記
憶されたプログラムに従ってCPU2により演算処理さ
れる。また、CPU2による演算によって得られたデー
タが、通信回路4を介してICカード8に送信される。
また、CPU2は、ICカード8との間の通信によって
生成した決済結果をメモリ3に書き込む。
The CPU 2 comprehensively controls the operation of the computer 1, operates based on instructions of a program stored in the memory 3, and accesses the memory 3 during the operation. The communication circuit 4 communicates with the IC card 8 by a contact method or a non-contact method. In the contact type, the IC card 8 and the communication circuit 4 are connected by electrical contacts.
In the non-contact type, the IC card 8 and the communication circuit 4 are connected using radio waves, light, or the like as a communication medium. Data received from the IC card 8 via the communication circuit 4 is processed by the CPU 2 according to a program stored in the memory 3. The data obtained by the calculation by the CPU 2 is transmitted to the IC card 8 via the communication circuit 4.
Further, the CPU 2 writes the settlement result generated by communication with the IC card 8 in the memory 3.

【0019】図2は、図1に示すCPU2のソフトウェ
ア構成を説明するための図である。図2において、最下
層は、ハードウェア層であり、図1に示すCPU2のハ
ードウェアの構成要素である。ハードウェア層の上には
通信ドライバ層が位置する。通信ドライバ層には、CP
U2に接続された通信回路4を制御する通信ドライバ層
が位置する。通信ドライバ層のプログラムは、通常、不
揮発性メモリ内に記憶される。通信ドライバ層の上に
は、CPU2の動作の根幹となるプログラムを提供する
オペレーティング・システム(OS)層がある。OS層
は、最上位のアプリケーション(AP)層に対して、下
位層と比較してより上位概念のサービスを提供する。例
えば、後述する関数「getcardtype()」,
「readcarddata()」および「write
carddata()」などはこの一例である。また、
OS層の上には、コンピュータ1が実現する具体的な機
能(サービス)を規定するAP層がある。AP層には、
例えば、アプリケーションプログラムMAIN、AP
1、AP2、AP3が存在する。
FIG. 2 is a diagram for explaining a software configuration of CPU 2 shown in FIG. In FIG. 2, the lowermost layer is a hardware layer, which is a hardware component of the CPU 2 shown in FIG. A communication driver layer is located above the hardware layer. In the communication driver layer, CP
A communication driver layer that controls the communication circuit 4 connected to U2 is located. The communication driver layer program is usually stored in a non-volatile memory. Above the communication driver layer, there is an operating system (OS) layer that provides programs that are the basis of the operation of the CPU 2. The OS layer provides a higher-level service to the uppermost application (AP) layer as compared to the lower layer. For example, a function “getcardtype ()” described later,
"Readcarddata ()" and "write
"carddata ()" is one example of this. Also,
Above the OS layer, there is an AP layer that defines specific functions (services) realized by the computer 1. In the AP layer,
For example, application programs MAIN, AP
1, AP2 and AP3 exist.

【0020】本実施形態では、アプリケーションプログ
ラムとして、ICカード8を用いた決済などの取り引き
を提供するものを例示して説明する。例えば、OS層お
よびAP層では、ICカード8の種別を知るための関数
を「getcardtype()」で定義する。OS層
およびAP層では、本関数を呼び出すことによってIC
カード8の種類を特定することができる。例えば、種別
A,B,Cの3種のICカード8が存在すると仮定し、
各ICカード8における上記関数の戻り値を図3のよう
に定義する。例えば、種別BのICカード8が使用され
たとすると、関数「getcardtype()」を実
行した結果の戻り値は「2」になる。
In this embodiment, an application program that provides a transaction such as settlement using the IC card 8 will be described as an example. For example, in the OS layer and the AP layer, a function for knowing the type of the IC card 8 is defined as “getcardtype ()”. In the OS layer and the AP layer, this function is called to
The type of the card 8 can be specified. For example, assume that there are three types of IC cards 8 of types A, B, and C,
The return value of the above function in each IC card 8 is defined as shown in FIG. For example, if the type B IC card 8 is used, the return value of the result of executing the function “getcardtype ()” is “2”.

【0021】また、OS層およびAP層では、ICカー
ド8の内部メモリからデータを読み出す関数として「r
eaddata(*rp)」を定義する。ここで、「*
rp」は、C言語におけるポインタの概念と同様であ
り、「*」は、それに続く変数がポインタ変数であるこ
とを示しており、「rp」が、ICカード8の内部メモ
リ内の特定の場所を示している。「*rp」と表記した
場合には、ICカード8のメモリ内の「rp番地」の内
容を示すことになる。いま仮に、当該内部メモリに図4
に示すようにデータが格納されていたとする。そして、
「rp=102H」であるとすると、関数「readd
ata(*rp)」の戻り値は、「56H」になり、
「102H番地」のデータを読み出すことができる。
In the OS layer and the AP layer, “r” is used as a function for reading data from the internal memory of the IC card 8.
eaddata (* rp) "is defined. here,"*
"rp" is the same as the concept of a pointer in the C language, "*" indicates that the variable following it is a pointer variable, and "rp" is a specific location in the internal memory of the IC card 8. Is shown. When it is described as “* rp”, it indicates the contents of “rp address” in the memory of the IC card 8. Assuming that the internal memory shown in FIG.
It is assumed that data is stored as shown in FIG. And
Assuming that “rp = 102H”, the function “readd
return value of “ata (* rp)” is “56H”,
The data at "102H" can be read.

【0022】また、OS層およびAP層では、ICカー
ド8の内部メモリの特定番地にデータを書き込む関数と
して「writedata(*wp,wdata)」を
定義する。ここで、「*wp」は、C言語におけるポイ
ンタの概念と同様、「*」は、続く変数がポインタ変数
であることを示しており、「wp」が、ICカード8の
内部メモリの特定番地を示している。「*wp」と表記
した場合には、ICカード8の内部メモリのwp番地の
内容を示すことになる。「wdata」は書き込みデー
タの入った変数である。いま仮に、ICカード8のメモ
リに図5に示すようにデータが格納されていたとする。
ここで、「wp=102H」、「wdata=73H」
とし、関数「writedata(*wp,wdat
a)」を実行すると、図5のように、当該メモリの「1
02H番地」のデータが「73H」に書き換えられる。
In the OS layer and the AP layer, "writedata (* wp, wdata)" is defined as a function for writing data to a specific address in the internal memory of the IC card 8. Here, "* wp" indicates that the following variable is a pointer variable, similarly to the concept of a pointer in the C language, and "wp" indicates a specific address of the internal memory of the IC card 8. Is shown. When it is described as “* wp”, it indicates the contents of the address wp of the internal memory of the IC card 8. “Wdata” is a variable containing write data. Assume that data is stored in the memory of the IC card 8 as shown in FIG.
Here, “wp = 102H”, “wdata = 73H”
And the function “writedata (* wp, wdat
a) ”, the“ 1 ”of the memory is
The data at the address “02H” is rewritten to “73H”.

【0023】ところで、図2に示すアプリケーションプ
ログラムAP1、AP2、AP3は、それぞれ、異なる
種別のICカード8に関する取り引きの動作を規定して
いる。その対応は図6に示される。図2において、アプ
リケーションプログラムMAINは、コンピュータ1の
起動時に最初に実行される。アプリケーションプログラ
ムMAINでは、前述した関数「getcardtyp
e()」を使用して、利用されているICカード8の種
別を判定する。CPU2は、図6に示される対応表に従
い、前記判定されたICカード8の種別に応じて、対応
するアプリケーションプログラムを選択して実行する。
By the way, the application programs AP1, AP2 and AP3 shown in FIG. 2 each specify the transaction operation for different types of IC cards 8. The correspondence is shown in FIG. 2, the application program MAIN is executed first when the computer 1 is started. In the application program MAIN, the function “getcardtype” described above is used.
The type of the IC card 8 being used is determined using “e ()”. The CPU 2 selects and executes a corresponding application program according to the determined type of the IC card 8 according to the correspondence table shown in FIG.

【0024】種別A、種別B、種別CのそれぞれのIC
カード8を異なる事業者が取り扱う状況を想定すると、
アプリケーションプログラムAP1、AP2、AP3
は、各事業者が作成する。また、ICカード8の内部メ
モリの記憶領域は、アプリケーションプログラムAP
1,AP2,AP3で共用したり、各アプリケーション
プログラムが予め自らに割り当てられた部分を使用す
る。上述したように、アプリケーションプログラムAP
1、AP2、AP3は各事業者が作成するが、プログラ
ムに誤りがある場合や、悪意を持った事業者による不正
なプログラムによって、ある事業者が他の事業者のアプ
リケーションプログラムを読み出したり、ICカード8
内の自らがアクセスが許可されていない記憶領域に不正
なアクセスが行われる場合がある。
Each IC of type A, type B and type C
Assuming a situation where the card 8 is handled by different businesses,
Application programs AP1, AP2, AP3
Is created by each business operator. The storage area of the internal memory of the IC card 8 is stored in the application program AP.
1, AP2, and AP3, and each application program uses a portion allocated to itself in advance. As described above, the application program AP
1, AP2, and AP3 are created by respective operators, but when a program contains an error or an illegal program by a malicious operator, a certain operator reads an application program of another operator or performs an IC operation. Card 8
In some cases, unauthorized access may be made to a storage area to which the user is not permitted to access.

【0025】〔本発明の実施形態〕図7は、本発明の実
施形態に係わるコンピュータ51の構成図である。図7
に示すように、コンピュータ51は、CPU52、メモ
リ53、通信回路4、判定回路60およびスイッチ回路
61を有する。ここで、CPU52が本発明の演算回
路、メモリ53が本発明の記憶回路、通信回路4が本発
明の通信回路に対応し、判定回路60が本発明の接続制
御回路に対応し、スイッチ回路61が本発明の接続切換
回路に対応している。CPUデータバス6には、CPU
52、スイッチ回路61、判定回路60および通信回路
4が接続されている。CPUデータバス6が本発明の伝
送路に対応している。
[Embodiment of the Present Invention] FIG. 7 is a configuration diagram of a computer 51 according to an embodiment of the present invention. FIG.
As shown in (1), the computer 51 has a CPU 52, a memory 53, a communication circuit 4, a determination circuit 60, and a switch circuit 61. Here, the CPU 52 corresponds to the arithmetic circuit of the present invention, the memory 53 corresponds to the storage circuit of the present invention, the communication circuit 4 corresponds to the communication circuit of the present invention, the determination circuit 60 corresponds to the connection control circuit of the present invention, and the switch circuit 61 Corresponds to the connection switching circuit of the present invention. The CPU data bus 6 has a CPU
52, a switch circuit 61, a determination circuit 60, and the communication circuit 4 are connected. The CPU data bus 6 corresponds to the transmission path of the present invention.

【0026】また、スイッチ回路61は、メモリデータ
バス62を介してメモリ53に接続されている。また、
CPUアドレスバス7には、メモリ53、判定回路60
および通信回路4が接続されている。CPUアドレスバ
ス7は、CPU52が、メモリ53や、コンピュータ5
1の外部の周辺機能などにアクセスする際に、そのアド
レスを示すCPU_ADRを伝送する。図7において、
図1と同じ符号を付した通信回路4およびICカード8
は、図1を用いて説明したものと同じである。また、C
PU52は、図2を用いて前述したソフトウェア構造を
有している。すなわち、アプリケーションプログラムA
P1,AP2,AP3として、種別A,B,Cの3種の
ICカード8に係わる取り引き処理をそれぞれ規定した
ものを用いる。
The switch circuit 61 is connected to a memory 53 via a memory data bus 62. Also,
The CPU 53 has a memory 53, a determination circuit 60,
And the communication circuit 4 are connected. The CPU address bus 7 is connected to the CPU 52 by the memory 53 or the computer 5.
When accessing an external peripheral function or the like, CPU_ADR indicating the address is transmitted. In FIG.
Communication circuit 4 and IC card 8 denoted by the same reference numerals as in FIG.
Are the same as those described with reference to FIG. Also, C
The PU 52 has the software structure described above with reference to FIG. That is, the application program A
As P1, AP2, and AP3, those that respectively define transaction processing for three types of IC cards 8 of types A, B, and C are used.

【0027】通信回路4を介してICカード8から受信
したデータは、メモリ53に記憶されたプログラムに従
ってCPU52により演算処理される。また、CPU5
2による演算によって得られたデータが、通信回路4を
介してICカード8に送信される。また、CPU52
は、ICカード8との間の通信によって生成した決済結
果をメモリ53に書き込む。スイッチ回路61は、判定
回路60からの判定結果信号S60(本発明の制御信
号)に基づいて、CPUデータバス6とメモリデータバ
ス62とを接続状態および非接続状態の何れかに切り換
える。
Data received from the IC card 8 via the communication circuit 4 is subjected to arithmetic processing by the CPU 52 in accordance with a program stored in the memory 53. CPU5
2 is transmitted to the IC card 8 via the communication circuit 4. Also, the CPU 52
Writes the settlement result generated by communication with the IC card 8 in the memory 53. The switch circuit 61 switches the CPU data bus 6 and the memory data bus 62 to either the connection state or the non-connection state based on the determination result signal S60 (the control signal of the present invention) from the determination circuit 60.

【0028】また、CPU52は、メモリ53からフェ
ッチした(読み出した)図2に示すOS層のプログラ
ム、プログラムMAIN、アプリケーションプログラム
AP1,AP2,AP3プログラムの命令(コード)を
実行する。各プログラムは、複数のプログラムモジュー
ルから構成される。CPU52は、当該命令の実行に従
って、命令種類指示信号S52a、実行中AP指示信号
S52b、必要に応じて呼び出し先AP指示信号S52
cを生成し、これらを判定回路60に出力する。ここ
で、命令種類指示信号S52aは、CPU52がフェッ
チ命令、リード命令およびライト命令の何れの命令を実
行したかを示す信号である。ここで、フェッチ命令は、
CPU52がCPUデータバス6を介して命令コードを
取り込むことを指示する命令である。リード命令は、C
PU52が、CPUデータバス6を介してデータを読み
込むことを指示する命令である。ライト命令は、CPU
52が、CPUデータバス6を介してデータを書き込む
ことを指示する命令である。
The CPU 52 executes the instructions (codes) of the OS layer program, the program MAIN, and the application programs AP1, AP2, and AP3 shown in FIG. Each program is composed of a plurality of program modules. The CPU 52 executes an instruction type instruction signal S52a, an executing AP instruction signal S52b, and, if necessary, a call destination AP instruction signal S52 in accordance with the execution of the instruction.
c, and outputs these to the decision circuit 60. Here, the instruction type instruction signal S52a is a signal indicating which instruction of the fetch instruction, the read instruction, and the write instruction the CPU 52 has executed. Here, the fetch instruction is
This is an instruction for instructing the CPU 52 to fetch an instruction code via the CPU data bus 6. The read instruction is C
This is an instruction to instruct the PU 52 to read data via the CPU data bus 6. Write instruction is executed by CPU
Reference numeral 52 denotes an instruction for writing data via the CPU data bus 6.

【0029】また、実行中AP指示信号S52bは、C
PU52が、図2に示すアプリケーションプログラムA
P1,AP2,AP3,MAINおよびOSのプログラ
ムの命令のうち、何れのプログラムの命令を実行中であ
るかを示す信号である。呼び出し先AP指示信号S52
cは、CPU52が実行中のプログラムモジュールが他
のプログラムモジュールを呼び出したときに、呼び出し
先のプログラムモジュールが属するプログラムが、上記
アプリケーションプログラムAP1,AP2,AP3,
MAINおよびOSの何れのプログラムであるかを示し
ている。また、CPU52は、後述するようにスイッチ
回路61が非接続状態になると、CPUデータバス6と
その動作を停止する。
The executing AP instruction signal S52b is
The PU 52 executes the application program A shown in FIG.
This signal indicates which of the P1, AP2, AP3, MAIN, and OS program instructions is being executed. Call destination AP instruction signal S52
c indicates that when the program module being executed by the CPU 52 calls another program module, the program to which the called program module belongs belongs to the application program AP1, AP2, AP3.
This indicates which program is the MAIN or the OS. When the switch circuit 61 is disconnected as described later, the CPU 52 stops the CPU data bus 6 and its operation.

【0030】以下、判定回路60について詳細に説明す
る。判定回路60は、CPU52から入力した命令種類
指示信号S52aおよび実行中AP指示信号S52b、
並びにCPUアドレスバス7を介してCPU52から入
力したアドレスCPU_ADRに基づいて判定結果信号
S60を生成し、これをスイッチ回路61に出力する。
Hereinafter, the determination circuit 60 will be described in detail. The determination circuit 60 includes an instruction type instruction signal S52a and an executing AP instruction signal S52b input from the CPU 52,
Further, it generates a determination result signal S60 based on the address CPU_ADR input from the CPU 52 via the CPU address bus 7, and outputs this to the switch circuit 61.

【0031】図8は、図7に示す判定回路60の構成図
である。図8に示すように、判定回路60は、選択回路
70、フェッチ用判定回路71、リード用判定回路72
およびライト用判定回路73を有する。選択回路70
は、図7に示すCPU52から入力した命令種類指示信
号S52aに基づいて、スイッチ74を端子75_1,
75_2,75_3の何れか一つの端子に接続する。具
体的には、選択回路70は、命令種類指示信号S52a
がフェッチ命令を示している場合には、スイッチ74を
端子75_1に接続する。これにより、フェッチ用判定
回路71から出力されたフェッチ用判定結果信号S71
が、端子75_1およびスイッチ74を介して判定結果
信号S60として判定回路60からスイッチ回路61に
出力される。
FIG. 8 is a configuration diagram of the determination circuit 60 shown in FIG. As shown in FIG. 8, the determination circuit 60 includes a selection circuit 70, a fetch determination circuit 71, and a read determination circuit 72.
And a write determination circuit 73. Selection circuit 70
Switches the switch 74 to the terminals 75_1 and 75_1 based on the command type instruction signal S52a input from the CPU 52 shown in FIG.
75_2, 75_3. Specifically, the selection circuit 70 supplies the instruction type instruction signal S52a
Indicates the fetch instruction, the switch 74 is connected to the terminal 75_1. As a result, the fetch determination result signal S71 output from the fetch determination circuit 71
Is output from the determination circuit 60 to the switch circuit 61 as the determination result signal S60 via the terminal 75_1 and the switch 74.

【0032】また、選択回路70は、命令種類指示信号
S52aがリード命令を示している場合には、スイッチ
74を端子75_2に接続する。これにより、リード用
判定回路72から出力されたリード用判定結果信号S7
2が、端子75_2およびスイッチ74を介して判定結
果信号S60として判定回路60からスイッチ回路61
に出力される。
When the instruction type instruction signal S52a indicates a read instruction, the selection circuit 70 connects the switch 74 to the terminal 75_2. As a result, the read determination result signal S7 output from the read determination circuit 72
2 from the determination circuit 60 to the switch circuit 61 as a determination result signal S60 via the terminal 75_2 and the switch 74.
Is output to

【0033】また、選択回路70は、命令種類指示信号
S52aがライト命令を示している場合には、スイッチ
74を端子75_3に接続する。これにより、ライト用
判定回路73から出力されたライト用判定結果信号S7
3が、端子75_3およびスイッチ74を介して判定結
果信号S60として判定回路60からスイッチ回路61
に出力される。
When the instruction type instruction signal S52a indicates a write instruction, the selection circuit 70 connects the switch 74 to the terminal 75_3. Thus, the write determination result signal S7 output from the write determination circuit 73
3 is output from the determination circuit 60 to the switch circuit 61 as the determination result signal S60 via the terminal 75_3 and the switch 74.
Is output to

【0034】フェッチ用判定回路71は、CPU52か
ら入力した実行中AP指示信号S52b、呼び出し先A
P指示信号S52cおよびアドレスCPU_ADRを用
いて、フェッチ用判定結果信号S71を生成し、これを
選択回路70の端子75_1に向けて出力する。
The fetch determination circuit 71 determines whether or not the currently-executing AP instruction signal S 52 b input from the CPU 52
Using the P instruction signal S52c and the address CPU_ADR, a fetch determination result signal S71 is generated and output to the terminal 75_1 of the selection circuit 70.

【0035】図9は、図8に示すフェッチ用判定回路7
1の構成図である。図9に示すように、フェッチ用判定
回路71は、記憶部81_1および判定部82_1を有
する。記憶部81_1は、フェッチ用アクセス範囲規定
データ84_1と、フェッチ用AP間呼び出し関係規定
データ85_1とを記憶する。
FIG. 9 shows the fetch determination circuit 7 shown in FIG.
1 is a configuration diagram. As illustrated in FIG. 9, the fetch determination circuit 71 includes a storage unit 81_1 and a determination unit 82_1. The storage unit 81_1 stores fetch access range definition data 84_1 and fetch AP inter-AP call relationship definition data 85_1.

【0036】フェッチ用アクセス範囲規定データ84_
1は、CPU52がフェッチ命令を実行しているときに
アクセス可能なメモリ53内のアドレスを、CPU52
が図2に示すOS層のプログラム、アプリケーションプ
ログラムMAIN,AP1,AP2,AP3のプログラ
ムを実行中である場合の各々について規定している。
Access range defining data for fetch 84_
1 designates an address in the memory 53 accessible when the CPU 52 is executing the fetch instruction,
Stipulates that the OS layer program and the application programs MAIN, AP1, AP2, and AP3 shown in FIG. 2 are being executed.

【0037】図10は、フェッチ用アクセス範囲規定デ
ータ84_1を説明するための図である。図10の列
(縦)方向は、図2に示すOS層のプログラム、アプリ
ケーションプログラムMAIN,AP1,AP2,AP
3を示している。行(横)方向の「FROM」は、対応
する列のプログラムが記憶されることが許可されている
メモリ53内の記憶領域の開始アドレスを示している。
行方向の「FROM」は、対応する列のプログラムがア
クセス許可されているメモリ53のアドレス範囲の開始
アドレスを示している。行方向の「TO」は、対応する
列のプログラムがアクセス許可されているメモリ53の
アドレス範囲の終了アドレスを示している。例えば、ア
プリケーションプログラムAP1は、メモリ53のアド
レス「2000H」〜「2FFFH」の範囲にアクセス
許可されている。
FIG. 10 is a diagram for explaining the fetch access range defining data 84_1. In the column (vertical) direction of FIG. 10, the OS layer programs and application programs MAIN, AP1, AP2, and AP shown in FIG.
3 is shown. “FROM” in the row (horizontal) direction indicates a start address of a storage area in the memory 53 in which the program of the corresponding column is permitted to be stored.
“FROM” in the row direction indicates the start address of the address range of the memory 53 to which the program of the corresponding column is permitted to access. “TO” in the row direction indicates the end address of the address range of the memory 53 to which the program of the corresponding column is permitted to access. For example, the application program AP1 is permitted to access the memory 53 in the range of addresses “2000H” to “2FFFH”.

【0038】フェッチ用AP間呼び出し関係規定データ
85_1は、CPU52がフェッチ命令を実行している
ときにプログラムモジュールの呼び出しが発生した場合
に、呼び出し元および呼び出し先となることができるプ
ログラムモジュールが属するプログラムの組み合わせを
示している。図11は、フェッチ用AP間呼び出し関係
規定データ85_1を説明するための図である。図11
の列方向は、図2に示すOS層のプログラム、アプリケ
ーションプログラムMAIN,AP1,AP2,AP3
を示している。図11の行方向は、図2に示すOS層の
プログラム、アプリケーションプログラムMAIN,A
P1,AP2,AP3を示している。列と行の交差する
位置に、対応する列のプログラムのプログラムモジュー
ルが対応する行のプログラムのプログラムモジュールを
呼び出すことが許可されているか否かを示している。
「○」が呼び出し許可を示しており、「×」が呼び出し
不許可を示している。例えば、アプリケーションプログ
ラムAP1のプログラムモジュールは、OSのプログラ
ムおよびアプリケーションプログラムAP3のプログラ
ムモジュールを呼び出すことが許可されているが、アプ
リケーションプログラムAP2のプログラムモジュール
を呼び出すことは許可されていない。
The fetch-AP inter-AP call relation definition data 85_1 indicates a program to which a program module which can be a call source and a call destination belongs when a program module is called while the CPU 52 is executing a fetch instruction. Are shown. FIG. 11 is a diagram for describing the inter-AP call relationship definition data 85_1 for fetch. FIG.
Column directions are the OS layer programs and application programs MAIN, AP1, AP2, AP3 shown in FIG.
Is shown. In the row direction of FIG. 11, the OS layer programs and application programs MAIN, A shown in FIG.
P1, AP2 and AP3 are shown. At the position where the column and the row intersect, it is indicated whether or not the program module of the program in the corresponding column is permitted to call the program module of the program in the corresponding row.
“○” indicates that the call is permitted, and “×” indicates that the call is not permitted. For example, the program module of the application program AP1 is permitted to call the OS program and the program module of the application program AP3, but is not permitted to call the program module of the application program AP2.

【0039】判定部82_1は、図7に示すCPU52
から入力した実行中AP指示信号S52bおよびアドレ
スCPU_ADRと、記憶部81_1から読み出したフ
ェッチ用アクセス範囲規定データ84_1とに基づい
て、アドレスCPU_ADRが、実行中AP指示信号S
52bが示すプログラムに対応する図10に示す列の
「FROM」および「TO」によって規定されるメモリ
53のアドレス範囲に含まれているか否かを判断する。
判定部82_1は、当該判断において含まれていると判
断した場合には、例えば、接続を指示するフェッチ用判
定結果信号S71を生成し、これを図8に示す選択回路
70の端子75_1に向けて出力する。一方、判定部8
2_1は、当該判断において含まれていないと判断した
場合には、例えば、非接続(切断)を指示するフェッチ
用判定結果信号S71を生成し、これを図8に示す選択
回路70の端子75_1に向けて出力する。
The judging section 82_1 corresponds to the CPU 52 shown in FIG.
Based on the executing AP instruction signal S52b and the address CPU_ADR input from the storage unit 81_1 and the fetch access range defining data 84_1 read from the storage unit 81_1, the address CPU_ADR generates the executing AP instruction signal S52.
It is determined whether or not it is included in the address range of the memory 53 defined by “FROM” and “TO” in the column shown in FIG. 10 corresponding to the program indicated by 52b.
When the determination unit 82_1 determines that it is included in the determination, the determination unit 82_1 generates, for example, a fetch determination result signal S71 that instructs connection, and sends it to the terminal 75_1 of the selection circuit 70 illustrated in FIG. Output. On the other hand, the judgment unit 8
When 2_1 is determined not to be included in the determination, for example, a fetch determination result signal S71 indicating disconnection (disconnection) is generated, and this is output to the terminal 75_1 of the selection circuit 70 shown in FIG. Output to

【0040】また、判定部82_1は、CPU52が実
行中のプログラムのプログラムモジュールが、他のプロ
グラムのプログラムモジュールを呼び出した場合に、図
7に示すCPU52から入力した実行中AP指示信号S
52bおよび呼び出し先AP指示信号S52cと、記憶
部81_1から読み出したフェッチ用AP間呼び出し関
係規定データ85_1とに基づいて、当該呼び出しが、
図11に示すフェッチ用AP間呼び出し関係規定データ
85_1によって示された組み合わせによって許可され
ているか否かを判断する。判定部82_1は、当該判断
において許可されていると判断した場合には、例えば、
接続を指示するフェッチ用判定結果信号S71を生成
し、これを図8に示す選択回路70の端子75_1に向
けて出力する。一方、判定部82_1は、当該判断にお
いて不許可であると判断した場合には、例えば、非接続
を指示するフェッチ用判定結果信号S71を生成し、こ
れを図8に示す選択回路70の端子75_1に向けて出
力する。
Further, when the program module of the program being executed by the CPU 52 calls the program module of another program, the judgment unit 82_1 judges that the executing AP instruction signal S inputted from the CPU 52 shown in FIG.
52b, the call destination AP instruction signal S52c, and the fetch inter-AP call relation definition data 85_1 read from the storage unit 81_1, the call is
It is determined whether or not the combination is permitted by the combination indicated by the fetch inter-AP call relation definition data 85_1 shown in FIG. When the determining unit 82_1 determines that the determination is permitted, for example,
A fetch determination result signal S71 for instructing connection is generated and output to the terminal 75_1 of the selection circuit 70 shown in FIG. On the other hand, when the determination unit 82_1 determines that the connection is not permitted, the determination unit 82_1 generates, for example, a fetch determination result signal S71 indicating disconnection, and outputs the fetch determination result signal S71 to the terminal 75_1 of the selection circuit 70 illustrated in FIG. Output to.

【0041】リード用判定回路72は、CPU52から
入力した実行中AP指示信号S52b、呼び出し先AP
指示信号S52cおよびアドレスCPU_ADRを用い
て、リード用判定結果信号S72を生成し、これを選択
回路70の端子75_2に向けて出力する。
The read determination circuit 72 receives the executing AP instruction signal S52b input from the CPU 52,
Using the instruction signal S52c and the address CPU_ADR, a read determination result signal S72 is generated and output to the terminal 75_2 of the selection circuit 70.

【0042】図12は、図8に示すリード用判定回路7
2の構成図である。図12に示すように、リード用判定
回路72は、記憶部81_2および判定部82_2を有
する。記憶部81_2は、リード用アクセス範囲規定デ
ータ84_2と、リード用AP間呼び出し関係規定デー
タ85_2とを記憶する。
FIG. 12 shows the read determination circuit 7 shown in FIG.
FIG. As illustrated in FIG. 12, the read determination circuit 72 includes a storage unit 81_2 and a determination unit 82_2. The storage unit 81_2 stores read access range defining data 84_2 and read AP inter-AP calling relationship defining data 85_2.

【0043】リード用アクセス範囲規定データ84_2
は、CPU52がリード命令を実行しているときにアク
セス可能なメモリ53内のアドレスを、CPU52が図
2に示すOS層のプログラム、アプリケーションプログ
ラムMAIN,AP1,AP2,AP3のプログラムを
実行中である場合の各々について規定している。
Read access range defining data 84_2
Is an address in the memory 53 accessible when the CPU 52 is executing the read instruction, and the CPU 52 is executing an OS layer program and application programs MAIN, AP1, AP2, and AP3 shown in FIG. Each case is specified.

【0044】図13は、リード用アクセス範囲規定デー
タ84_2を説明するための図である。図13の列
(縦)方向は、図2に示すOS層のプログラム、アプリ
ケーションプログラムMAIN,AP1,AP2,AP
3を示している。行(横)方向の「FROM」は、対応
する列のプログラムが記憶されることが許可されている
メモリ53内の記憶領域の開始アドレスを示している。
行方向の「FROM」は、対応する列のプログラムがア
クセス許可されているメモリ53のアドレス範囲の開始
アドレスを示している。行方向の「TO」は、対応する
列のプログラムがアクセス許可されているメモリ53の
アドレス範囲の終了アドレスを示している。
FIG. 13 is a diagram for explaining the read access range defining data 84_2. The column (vertical) direction in FIG. 13 corresponds to the OS layer program and the application programs MAIN, AP1, AP2, and AP shown in FIG.
3 is shown. “FROM” in the row (horizontal) direction indicates a start address of a storage area in the memory 53 in which the program of the corresponding column is permitted to be stored.
“FROM” in the row direction indicates the start address of the address range of the memory 53 to which the program of the corresponding column is permitted to access. “TO” in the row direction indicates the end address of the address range of the memory 53 to which the program of the corresponding column is permitted to access.

【0045】リード用AP間呼び出し関係規定データ8
5_2は、CPU52がリード命令を実行しているとき
にプログラムモジュールの呼び出しが発生した場合に、
呼び出し元および呼び出し先となることができるプログ
ラムモジュールが属するプログラムの組み合わせを示し
ている。図14は、リード用AP間呼び出し関係規定デ
ータ85_2を説明するための図である。図14の列方
向は、図2に示すOS層のプログラム、アプリケーショ
ンプログラムMAIN,AP1,AP2,AP3を示し
ている。図14の行方向は、図2に示すOS層のプログ
ラム、アプリケーションプログラムMAIN,AP1,
AP2,AP3を示している。列と行の交差する位置
に、対応する列のプログラムのプログラムモジュールが
対応する行のプログラムのプログラムモジュールを呼び
出すことが許可されているか否かを示している。「○」
が呼び出し許可を示しており、「×」が呼び出し不許可
を示している。
Read-related inter-AP call relation definition data 8
5_2 indicates that when a program module is called while the CPU 52 is executing the read instruction,
It shows a combination of programs to which a program module that can be a caller and a callee belongs. FIG. 14 is a diagram for describing the read AP inter-AP calling relationship definition data 85_2. The column direction of FIG. 14 shows the OS layer programs and application programs MAIN, AP1, AP2, and AP3 shown in FIG. The row direction in FIG. 14 corresponds to the OS layer program, application program MAIN, AP1,
AP2 and AP3 are shown. At the position where the column and the row intersect, it is indicated whether or not the program module of the program in the corresponding column is permitted to call the program module of the program in the corresponding row. "○"
Indicates that the call is permitted, and “x” indicates that the call is not permitted.

【0046】判定部82_2は、図7に示すCPU52
から入力した実行中AP指示信号S52bおよびアドレ
スCPU_ADRと、記憶部81_2から読み出したリ
ード用アクセス範囲規定データ84_2とに基づいて、
アドレスCPU_ADRが、実行中AP指示信号S52
bが示すプログラムに対応する図13に示す列の「FR
OM」および「TO」によって規定されるメモリ53の
アドレス範囲に含まれているか否かを判断する。判定部
82_2は、当該判断において含まれていると判断した
場合には、例えば、接続を指示するリード用判定結果信
号S72を生成し、これを図8に示す選択回路70の端
子75_2に向けて出力する。一方、判定部82_2
は、当該判断において含まれていないと判断した場合に
は、例えば、非接続(切断)を指示するリード用判定結
果信号S72を生成し、これを図8に示す選択回路70
の端子75_2に向けて出力する。
The determination section 82_2 is a CPU 52 shown in FIG.
Based on the executing AP instruction signal S52b and the address CPU_ADR input from the storage unit 81_2 and the read access range defining data 84_2 read from the storage unit 81_2.
When the address CPU_ADR is the execution AP instruction signal S52
"FR" in the column shown in FIG.
It is determined whether or not it is included in the address range of the memory 53 defined by “OM” and “TO”. When the determination unit 82_2 determines that it is included in the determination, it generates, for example, a read determination result signal S72 that instructs connection, and sends it to the terminal 75_2 of the selection circuit 70 illustrated in FIG. Output. On the other hand, the determination unit 82_2
Generates a read determination result signal S72 instructing non-connection (disconnection), and outputs this signal to the selection circuit 70 shown in FIG.
To the terminal 75_2.

【0047】また、判定部82_2は、CPU52が実
行中のプログラムのプログラムモジュールが、他のプロ
グラムのプログラムモジュールを呼び出した場合に、図
7に示すCPU52から入力した実行中AP指示信号S
52bおよび呼び出し先AP指示信号S52cと、記憶
部81_2から読み出したリード用AP間呼び出し関係
規定データ85_2とに基づいて、当該呼び出しが、図
14に示すリード用AP間呼び出し関係規定データ85
_2によって示された組み合わせによって許可されてい
るか否かを判断する。判定部82_2は、当該判断にお
いて許可されていると判断した場合には、例えば、接続
を指示するリード用判定結果信号S72を生成し、これ
を図8に示す選択回路70の端子75_2に向けて出力
する。一方、判定部82_2は、当該判断において不許
可であると判断した場合には、例えば、非接続を指示す
るリード用判定結果信号S72を生成し、これを図8に
示す選択回路70の端子75_2に向けて出力する。
Further, when the program module of the program being executed by the CPU 52 calls the program module of another program, the judging section 82_2 judges that the executing AP instruction signal S inputted from the CPU 52 shown in FIG.
On the basis of the call destination AP instruction signal S52c and the read AP inter-AP call relationship definition data 85_2 read from the storage unit 81_2, the call is changed to the read AP inter-AP call relationship definition data 85 shown in FIG.
It is determined whether the combination is permitted by the combination indicated by _2. When the determination unit 82_2 determines that the determination is permitted, the determination unit 82_2 generates, for example, a read determination result signal S72 that instructs connection, and sends the signal to the terminal 75_2 of the selection circuit 70 illustrated in FIG. Output. On the other hand, when the determination unit 82_2 determines that the connection is not permitted, the determination unit 82_2 generates, for example, a read determination result signal S72 indicating disconnection, and outputs this to the terminal 75_2 of the selection circuit 70 illustrated in FIG. Output to.

【0048】ライト用判定回路73は、CPU52から
入力した実行中AP指示信号S52b、呼び出し先AP
指示信号S52cおよびアドレスCPU_ADRを用い
て、ライト用判定結果信号S73を生成し、これを選択
回路70の端子75_3に向けて出力する。
The write determination circuit 73 is configured to execute the executing AP instruction signal S52b input from the CPU 52,
Using the instruction signal S52c and the address CPU_ADR, a write determination result signal S73 is generated and output to the terminal 75_3 of the selection circuit 70.

【0049】図15は、図8に示すライト用判定回路7
3の構成図である。図15に示すように、ライト用判定
回路73は、記憶部81_3および判定部82_3を有
する。記憶部81_3は、ライト用アクセス範囲規定デ
ータ84_3と、ライト用AP間呼び出し関係規定デー
タ85_3とを記憶する。
FIG. 15 shows the write decision circuit 7 shown in FIG.
FIG. As illustrated in FIG. 15, the write determination circuit 73 includes a storage unit 81_3 and a determination unit 82_3. The storage unit 81_3 stores the write access range definition data 84_3 and the write AP call relationship definition data 85_3.

【0050】ライト用アクセス範囲規定データ84_3
は、CPU52がライト命令を実行しているときにアク
セス可能なメモリ53内のアドレスを、CPU52が図
2に示すOS層のプログラム、アプリケーションプログ
ラムMAIN,AP1,AP2,AP3のプログラムを
実行中である場合の各々について規定している。
Write access range definition data 84_3
Is an address in the memory 53 accessible when the CPU 52 is executing the write instruction, and the CPU 52 is executing the OS layer program and the application programs MAIN, AP1, AP2, and AP3 shown in FIG. Each case is specified.

【0051】図16は、ライト用アクセス範囲規定デー
タ84_3を説明するための図である。図16の列
(縦)方向は、図2に示すOS層のプログラム、アプリ
ケーションプログラムMAIN,AP1,AP2,AP
3を示している。行(横)方向の「FROM」は、対応
する列のプログラムが記憶されることが許可されている
メモリ53内の記憶領域の開始アドレスを示している。
行方向の「FROM」は、対応する列のプログラムがア
クセス許可されているメモリ53のアドレス範囲の開始
アドレスを示している。行方向の「TO」は、対応する
列のプログラムがアクセス許可されているメモリ53の
アドレス範囲の終了アドレスを示している。
FIG. 16 is a diagram for explaining the write access range defining data 84_3. The column (vertical) direction in FIG. 16 corresponds to the OS layer program and the application programs MAIN, AP1, AP2, and AP shown in FIG.
3 is shown. “FROM” in the row (horizontal) direction indicates a start address of a storage area in the memory 53 in which the program of the corresponding column is permitted to be stored.
“FROM” in the row direction indicates the start address of the address range of the memory 53 to which the program of the corresponding column is permitted to access. “TO” in the row direction indicates the end address of the address range of the memory 53 to which the program of the corresponding column is permitted to access.

【0052】ライト用AP間呼び出し関係規定データ8
5_3は、CPU52がライト命令を実行しているとき
にプログラムモジュールの呼び出しが発生した場合に、
呼び出し元および呼び出し先となることができるプログ
ラムモジュールが属するプログラムの組み合わせを示し
ている。図17は、ライト用AP間呼び出し関係規定デ
ータ85_3を説明するための図である。図17の列方
向は、図2に示すOS層のプログラム、アプリケーショ
ンプログラムMAIN,AP1,AP2,AP3を示し
ている。図17の行方向は、図2に示すOS層のプログ
ラム、アプリケーションプログラムMAIN,AP1,
AP2,AP3を示している。列と行の交差する位置
に、対応する列のプログラムのプログラムモジュールが
対応する行のプログラムのプログラムモジュールを呼び
出すことが許可されているか否かを示している。「○」
が呼び出し許可を示しており、「×」が呼び出し不許可
を示している。
Call-related inter-AP calling relationship definition data 8
5_3 indicates that a program module call has occurred while the CPU 52 is executing the write instruction,
It shows a combination of programs to which a program module that can be a caller and a callee belongs. FIG. 17 is a diagram for describing the call-to-AP calling relationship definition data 85_3. The column direction in FIG. 17 shows the OS layer programs and application programs MAIN, AP1, AP2, and AP3 shown in FIG. In the row direction of FIG. 17, the OS layer programs, application programs MAIN, AP1,
AP2 and AP3 are shown. At the position where the column and the row intersect, it is indicated whether or not the program module of the program in the corresponding column is permitted to call the program module of the program in the corresponding row. "○"
Indicates that the call is permitted, and “x” indicates that the call is not permitted.

【0053】判定部82_3は、図7に示すCPU52
から入力した実行中AP指示信号S52bおよびアドレ
スCPU_ADRと、記憶部81_3から読み出したラ
イト用アクセス範囲規定データ84_3とに基づいて、
アドレスCPU_ADRが、実行中AP指示信号S52
bが示すプログラムに対応する図16に示す列の「FR
OM」および「TO」によって規定されるメモリ53の
アドレス範囲に含まれているか否かを判断する。判定部
82_3は、当該判断において含まれていると判断した
場合には、例えば、接続を指示するライト用判定結果信
号S73を生成し、これを図8に示す選択回路70の端
子75_3に向けて出力する。一方、判定部82_3
は、当該判断において含まれていないと判断した場合に
は、例えば、非接続(切断)を指示するライト用判定結
果信号S73を生成し、これを図8に示す選択回路70
の端子75_3に向けて出力する。
The determination section 82_3 is a CPU 52 shown in FIG.
Based on the executing AP instruction signal S52b and the address CPU_ADR input from the storage unit 81_3 and the write access range defining data 84_3 read from the storage unit 81_3.
When the address CPU_ADR is the execution AP instruction signal S52
"FR" in the column shown in FIG.
It is determined whether or not it is included in the address range of the memory 53 defined by “OM” and “TO”. When the determination unit 82_3 determines that it is included in the determination, it generates, for example, a write determination result signal S73 that instructs connection, and sends it to the terminal 75_3 of the selection circuit 70 illustrated in FIG. Output. On the other hand, the determination unit 82_3
Generates a write determination result signal S73 for instructing non-connection (disconnection), and outputs this signal to the selection circuit 70 shown in FIG.
To the terminal 75_3.

【0054】また、判定部82_3は、CPU52が実
行中のプログラムのプログラムモジュールが、他のプロ
グラムのプログラムモジュールを呼び出した場合に、図
7に示すCPU52から入力した実行中AP指示信号S
52bおよび呼び出し先AP指示信号S52cと、記憶
部81_3から読み出したライト用AP間呼び出し関係
規定データ85_3とに基づいて、当該呼び出しが、図
17に示すライト用AP間呼び出し関係規定データ85
_3によって示された組み合わせによって許可されてい
るか否かを判断する。判定部82_3は、当該判断にお
いて許可されていると判断した場合には、例えば、接続
を指示するライト用判定結果信号S73を生成し、これ
を図8に示す選択回路70の端子75_3に向けて出力
する。一方、判定部82_3は、当該判断において不許
可であると判断した場合には、例えば、非接続を指示す
るライト用判定結果信号S73を生成し、これを図8に
示す選択回路70の端子75_3に向けて出力する。
Further, when the program module of the program being executed by the CPU 52 calls the program module of another program, the judging section 82_3 judges that the executing AP instruction signal S inputted from the CPU 52 shown in FIG.
Based on the call destination AP designation signal S52c and the call destination AP instruction signal S52c, and the write inter-AP call relation definition data 85_3 read from the storage unit 81_3, the call is changed to the write inter-AP call relation definition data 85 shown in FIG.
It is determined whether the combination is permitted by the combination indicated by _3. When the determination unit 82_3 determines that the determination is permitted, the determination unit 82_3 generates a write determination result signal S73 indicating connection, for example, and sends it to the terminal 75_3 of the selection circuit 70 illustrated in FIG. Output. On the other hand, when the determination unit 82_3 determines that the connection is not permitted, the determination unit 82_3 generates, for example, a write determination result signal S73 instructing disconnection, and outputs this to the terminal 75_3 of the selection circuit 70 illustrated in FIG. Output to.

【0055】次に、選択回路70について説明する。選
択回路70は、CPU52からの命令種類指示信号S5
2aに基づいて、スイッチ74を端子75_1,75_
2,75_3の何れか一つと接続する。具体的には、選
択回路70は、命令種類指示信号S52aがフェッチ命
令を示している場合にはスイッチ74を端子75_1に
接続し、フェッチ用判定結果信号S71を、判定結果S
60としてスイッチ回路61に出力する。これにより、
スイッチ回路61の接続/非接続がフェッチ用判定結果
信号S71によって制御される。
Next, the selection circuit 70 will be described. The selection circuit 70 receives an instruction type instruction signal S5 from the CPU 52.
2a, switch 74 is connected to terminals 75_1 and 75_
2, 75_3. Specifically, when the instruction type instruction signal S52a indicates a fetch instruction, the selection circuit 70 connects the switch 74 to the terminal 75_1 and outputs the fetch determination result signal S71 to the determination result S71.
As 60, it is output to the switch circuit 61. This allows
The connection / non-connection of the switch circuit 61 is controlled by the fetch determination result signal S71.

【0056】また、選択回路70は、命令種類指示信号
S52aがリード命令を示している場合にはスイッチ7
4を端子75_2に接続し、リード用判定結果信号S7
2を、判定結果S60としてスイッチ回路61に出力す
る。これにより、スイッチ回路61の接続/非接続がリ
ード用判定結果信号S72によって制御される。
When the instruction type instruction signal S52a indicates a read instruction, the selection circuit 70 switches the switch 7
4 to the terminal 75_2, and the read determination result signal S7
2 is output to the switch circuit 61 as the determination result S60. Thus, the connection / non-connection of the switch circuit 61 is controlled by the read determination result signal S72.

【0057】また、選択回路70は、命令種類指示信号
S52aがライト命令を示している場合にはスイッチ7
4を端子75_3に接続し、ライト用判定結果信号S7
3を、判定結果S60としてスイッチ回路61に出力す
る。これにより、スイッチ回路61の接続/非接続がラ
イト用判定結果信号S73によって制御される。
When the instruction type instruction signal S52a indicates a write instruction, the selection circuit 70
4 is connected to the terminal 75_3, and the write determination result signal S7
3 is output to the switch circuit 61 as the determination result S60. Thus, connection / non-connection of the switch circuit 61 is controlled by the write determination result signal S73.

【0058】以下、コンピュータ51の動作例を説明す
る。 〔第1の動作例〕以下、コンピュータ51が、アプリケ
ーションプログラムAP1のプログラムモジュールの実
行過程でフェッチ命令を実行し、メモリ53のアドレス
「2100H」を指定した場合の動作例を説明する。こ
の場合には、CPUアドレスバス7上に「2100H」
を示すCPU_ADRが流れ、フェッチを示す命令種類
指示信号S52aとAP1を示す実行中AP指示信号S
52bがCPU52から判定回路60に出力される。
Hereinafter, an operation example of the computer 51 will be described. [First Operation Example] An operation example in the case where the computer 51 executes a fetch instruction in the course of executing the program module of the application program AP1 and specifies the address "2100H" of the memory 53 will be described below. In this case, "2100H" is displayed on the CPU address bus 7.
CPU_ADR indicating the fetch instruction instruction signal S52a indicating the fetch and the executing AP instruction signal S indicating the AP1
52b is output from the CPU 52 to the determination circuit 60.

【0059】そして、図9に示す判定部82_1は、C
PU52から入力した実行中AP指示信号S52bおよ
びアドレスCPU_ADRと、記憶部81_1から読み
出した図10に示すフェッチ用アクセス範囲規定データ
84_1とに基づいて、アドレス「2100H」が、A
P1に対応する図10に示す列の「FROM」および
「TO」によって規定されるメモリ53のアドレス範囲
「2000H」〜「2FFFH」に含まれていると判断
する。そして、判定部82_1は、接続を指示するフェ
ッチ用判定結果信号S71を生成し、これを図8に示す
選択回路70の端子75_1に向けて出力する。また、
選択回路70は、命令種類指示信号S52aがフェッチ
を示しているため、スイッチ74を端子75_1に接続
する。
Then, the judgment section 82_1 shown in FIG.
Based on the executing AP instruction signal S52b and the address CPU_ADR input from the PU 52 and the fetch access range defining data 84_1 shown in FIG.
It is determined that it is included in the address range “2000H” to “2FFFH” of the memory 53 defined by “FROM” and “TO” in the column shown in FIG. 10 corresponding to P1. Then, the determination unit 82_1 generates a fetch determination result signal S71 for instructing connection, and outputs this to the terminal 75_1 of the selection circuit 70 shown in FIG. Also,
The selection circuit 70 connects the switch 74 to the terminal 75_1 because the instruction type instruction signal S52a indicates fetch.

【0060】これにより、接続を指示するフェッチ用判
定結果信号S71が、選択回路70を介して判定結果信
号S60として図7に示すスイッチ回路61に出力され
る。
As a result, the fetch determination result signal S71 for instructing connection is output to the switch circuit 61 shown in FIG.

【0061】そして、スイッチ回路61は、CPUデー
タバス6とメモリデータバス62とを接続状態にし、C
PU52がメモリ53にアクセスできるようになる。
Then, the switch circuit 61 connects the CPU data bus 6 and the memory data bus 62 to each other,
The PU 52 can access the memory 53.

【0062】なお、上述した場合に、アドレスCPU_
ADRが「3100H」を示してた場合には、当該アド
レスがアドレス範囲「2000H」〜「2FFFH」に
含まれていないため、非接続を指示するフェッチ用判定
結果信号S71が選択回路70からスイッチ回路61に
出力される。これにより、スイッチ回路61は、CPU
データバス6とメモリデータバス62とを非接続状態に
し、CPU52はメモリ53にアクセスできない。
In the above case, the address CPU_
If the ADR indicates “3100H”, the address is not included in the address range “2000H” to “2FFFH”, and the fetch determination result signal S71 indicating disconnection is sent from the selection circuit 70 to the switch circuit. It is output to 61. As a result, the switch circuit 61
The data bus 6 and the memory data bus 62 are disconnected, and the CPU 52 cannot access the memory 53.

【0063】〔第2の動作例〕以下、コンピュータ51
が、リード命令の実行時に、アプリケーションプログラ
ムAP2のプログラムモジュールがアプリケーションプ
ログラムAP1のプログラムを呼び出した場合の動作例
を説明する。この場合には、AP2を示す実行中AP指
示信号S52bと、AP1を示す呼び出し先AP指示信
号S52cがCPU52からリード用判定回路72に出
力される。リード用判定回路72の判定部82_2は、
図14に示すリード用AP間呼び出し関係規定データ8
5_2を参照し、AP2からAP1への呼び出しは許可
されていると判断する。そして、判定部82_2は、接
続を指示するリード用判定結果信号S72を生成し、こ
れを図8に示す選択回路70の端子75_2に向けて出
力する。また、選択回路70は、命令種類指示信号S5
2aがリードを示しているため、スイッチ74を端子7
5_2に接続する。
[Second Operation Example] Hereinafter, the computer 51
However, an operation example in the case where the program module of the application program AP2 calls the program of the application program AP1 when the read command is executed will be described. In this case, the executing AP instruction signal S52b indicating AP2 and the called AP instruction signal S52c indicating AP1 are output from the CPU 52 to the read determination circuit 72. The determination unit 82_2 of the read determination circuit 72 includes:
Read inter-AP call relation definition data 8 shown in FIG.
With reference to 5_2, it is determined that the call from AP2 to AP1 is permitted. Then, the determination unit 82_2 generates a read determination result signal S72 instructing connection, and outputs the signal to the terminal 75_2 of the selection circuit 70 shown in FIG. Further, the selection circuit 70 outputs the instruction type instruction signal
Since 2a indicates a lead, the switch 74 is connected to the terminal 7
Connect to 5_2.

【0064】これにより、接続を指示するリード用判定
結果信号S72が、選択回路70を介して判定結果信号
S60として図7に示すスイッチ回路61に出力され
る。そして、スイッチ回路61は、CPUデータバス6
とメモリデータバス62とを接続状態にし、CPU52
がメモリ53にアクセスできるようになる。
As a result, the read determination result signal S72 for instructing the connection is output as the determination result signal S60 to the switch circuit 61 shown in FIG. The switch circuit 61 is connected to the CPU data bus 6.
And the memory data bus 62 are connected, and the CPU 52
Can access the memory 53.

【0065】一方、上述した場合に、アプリケーション
プログラムAP2のプログラムモジュールがアプリケー
ションプログラムAP3のプログラムを呼び出した場合
には、図14に示すリード用AP間呼び出し関係規定デ
ータ85_2から、AP2からAP3への呼び出しは不
許可であると判断される。そして、判定部82_2は、
非接続を指示するリード用判定結果信号S72を生成
し、これを図8に示す選択回路70の端子75_2に向
けて出力する。これにより、非接続を指示するリード用
判定結果信号S72が、選択回路70を介して判定結果
信号S60として図7に示すスイッチ回路61に出力さ
れる。そして、スイッチ回路61は、CPUデータバス
6とメモリデータバス62とを非接続状態にし、CPU
52はメモリ53にアクセスできない。
On the other hand, in the case described above, when the program module of the application program AP2 calls the program of the application program AP3, the call from the AP2 to the AP3 is read from the read inter-AP call relation definition data 85_2 shown in FIG. Is determined to be unauthorized. Then, the determination unit 82_2
A read determination result signal S72 instructing non-connection is generated and output to terminal 75_2 of selection circuit 70 shown in FIG. As a result, the read determination result signal S72 indicating disconnection is output as the determination result signal S60 to the switch circuit 61 shown in FIG. Then, the switch circuit 61 disconnects the CPU data bus 6 and the memory data bus 62, and
52 cannot access the memory 53.

【0066】以上説明したように、コンピュータ51に
よれば、CPU52が実行中のプログラムに応じて、そ
れぞれのプログラムに対応して予め規定されたデータに
基づいて、判定回路60およびスイッチ回路61によっ
て、メモリ53とCPUデータバス6との間の接続状態
を決定する。そのため、CPU52で実行中のアプリケ
ーションプログラムがメモリ53内に記憶された他のア
プリケーションプログラムの命令およびデータに不正に
アクセスすることを防止でき、CPU52が複数のアプ
リケーションプログラムを実行する場合でも、アプリケ
ーションプログラム相互間での高いセキュリティを得る
ことができる。
As described above, according to the computer 51, the determination circuit 60 and the switch circuit 61 operate according to the programs being executed by the CPU 52 based on the data defined in advance for each program. The connection state between the memory 53 and the CPU data bus 6 is determined. Therefore, it is possible to prevent an application program being executed by the CPU 52 from illegally accessing instructions and data of another application program stored in the memory 53, and even if the CPU 52 executes a plurality of application programs, the application program cannot be executed. High security between them can be obtained.

【0067】本発明は上述した実施形態には限定されな
い。例えば、上述した実施形態では、判定回路60が、
フェッチ用アクセス範囲規定データ84_1、フェッチ
用AP間呼び出し関係規定データ85_1、リード用ア
クセス範囲規定データ84_2、リード用AP間呼び出
し関係規定データ85_2、ライト用アクセス範囲規定
データ84_3、ライト用AP間呼び出し関係規定デー
タ85_3を記憶する場合を例示したが、図18に示す
ように、これらのデータを鍵情報Kを用いて暗号化した
状態で記憶したICカード58を用いてもよい。
The present invention is not limited to the above embodiment. For example, in the embodiment described above, the determination circuit 60
Fetch access range defining data 84_1, fetch AP inter-AP calling relation defining data 85_1, read access range defining data 84_2, read AP inter-app calling relation defining data 85_2, write access range defining data 84_3, write AP inter-call calling relation Although the case where the prescribed data 85_3 is stored is illustrated, an IC card 58 that stores the data in a state where the data is encrypted using the key information K may be used as shown in FIG.

【0068】この場合には、判定回路60は、鍵情報K
および復号プログラム90を保持し、CPUデータバス
6および通信回路4を介して、ICカード58にアクセ
スを行って、フェッチ用アクセス範囲規定データ84_
1、フェッチ用AP間呼び出し関係規定データ85_
1、リード用アクセス範囲規定データ84_2、リード
用AP間呼び出し関係規定データ85_2、ライト用ア
クセス範囲規定データ84_3、ライト用AP間呼び出
し関係規定データ85_3をICカード58から読み出
し、所定の復号プログラム90および鍵情報Kを用いて
復号して用いる。
In this case, the determination circuit 60 determines that the key information K
And the decryption program 90, and accesses the IC card 58 via the CPU data bus 6 and the communication circuit 4 to access the fetch access range defining data 84_
1, fetch AP inter-AP call relation definition data 85_
1. The read access range defining data 84_2, the read AP calling relationship defining data 85_2, the writing access range defining data 84_3, and the writing AP calling relationship defining data 85_3 are read from the IC card 58, and a predetermined decryption program 90 and It is decrypted using the key information K and used.

【0069】また、本発明は、上記復号プログラムを暗
号化した状態で、ICカード58に記憶し、これを通信
回路4およびCPUデータバス6を介して判定回路60
に読み出し、判定回路60で所定の鍵情報を用いて復号
し、復号した復号プログラムをメモリ53に格納し、判
定回路60がメモリ53から復号プログラムを読み出し
て実行してもよい。
Further, according to the present invention, the decryption program is stored in an IC card 58 in an encrypted state, and the decrypted program is stored in a decision circuit 60 via the communication circuit 4 and the CPU data bus 6.
Alternatively, the decryption program may be decrypted using predetermined key information by the determination circuit 60, the decrypted decryption program may be stored in the memory 53, and the determination circuit 60 may read the decryption program from the memory 53 and execute the decryption program.

【0070】また、上述した実施形態では、CPU52
から判定回路60に、実行中AP指示信号S52bおよ
び呼び出し先AP指示信号S52cを出力する場合を例
示したが、これらの信号は、図19に示すように、判定
回路60がCPUアドレスバス7を監視することで自ら
が生成してもよい。
In the above embodiment, the CPU 52
Output the executing AP instruction signal S52b and the callee AP instruction signal S52c to the determination circuit 60 from the above example. As shown in FIG. 19, the determination circuit 60 monitors the CPU address bus 7 as shown in FIG. By doing so.

【0071】[0071]

【発明の効果】以上説明したように、複数のプログラム
を実行する場合に、各プログラム間で命令およびデータ
の秘密性を保持できるデータ処理装置を提供することが
できる。
As described above, it is possible to provide a data processing apparatus capable of maintaining the confidentiality of instructions and data between programs when executing a plurality of programs.

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

【図1】図1は、本発明の関連技術となる電子決済に用
いられるコンピュータの機能ブロック図である。
FIG. 1 is a functional block diagram of a computer used for electronic payment as a related technique of the present invention.

【図2】図2は、図1および本発明の実施形態のコンピ
ュータのソフトウェア構造を説明するための図である。
FIG. 2 is a diagram for explaining a software structure of the computer of FIG. 1 and the embodiment of the present invention;

【図3】図3は、図1に示すコンピュータで扱うICカ
ードの種別を説明するための図である。
FIG. 3 is a diagram for explaining types of IC cards handled by the computer shown in FIG. 1;

【図4】図4は、書き込み前の図1に示すメモリの記憶
状態を説明するための図である。
FIG. 4 is a diagram for explaining a storage state of a memory illustrated in FIG. 1 before writing;

【図5】図5は、書き込み後の図1に示すメモリの記憶
状態を説明するための図である。
FIG. 5 is a diagram for explaining a storage state of the memory illustrated in FIG. 1 after writing;

【図6】図6は、図2に示すアプリケーションプログラ
ムとICカードの種別との対応関係を説明するための図
である。
FIG. 6 is a diagram for explaining a correspondence relationship between the application program shown in FIG. 2 and a type of an IC card;

【図7】図7は、本発明の実施形態に係わるコンピュー
タの構成図である。
FIG. 7 is a configuration diagram of a computer according to the embodiment of the present invention.

【図8】図8は、図7に示す判定回路の構成図である。FIG. 8 is a configuration diagram of a determination circuit shown in FIG. 7;

【図9】図9は、図8に示すフェッチ用判定回路の構成
図である。
FIG. 9 is a configuration diagram of a fetch determination circuit shown in FIG. 8;

【図10】図10は、図9に示すフェッチ用アクセス範
囲規定データを説明するための図である。
FIG. 10 is a diagram for explaining the fetch access range defining data shown in FIG. 9;

【図11】図11は、図9に示すフェッチ用AP間呼び
出し関係規定データを説明するための図である。
FIG. 11 is a diagram for explaining the fetch inter-AP calling relationship definition data shown in FIG. 9;

【図12】図12は、図8に示すリード用判定回路の構
成図である。
FIG. 12 is a configuration diagram of a read determination circuit shown in FIG. 8;

【図13】図13は、図12に示すリード用アクセス範
囲規定データを説明するための図である。
FIG. 13 is a diagram for explaining the read access range defining data shown in FIG. 12;

【図14】図14は、図12に示すリード用AP間呼び
出し関係規定データを説明するための図である。
FIG. 14 is a diagram for explaining the read inter-AP calling relationship definition data shown in FIG. 12;

【図15】図15は、図8に示すライト用判定回路の構
成図である。
FIG. 15 is a configuration diagram of a write determination circuit shown in FIG. 8;

【図16】図16は、図15に示すライト用アクセス範
囲規定データを説明するための図である。
FIG. 16 is a diagram for explaining the write access range defining data shown in FIG. 15;

【図17】図17は、図15に示すライト用AP間呼び
出し関係規定データを説明するための図である。
FIG. 17 is a diagram for explaining the write inter-AP call relation definition data shown in FIG. 15;

【図18】図18は、本発明のその他の実施形態を説明
するための図である。
FIG. 18 is a diagram for explaining another embodiment of the present invention.

【図19】図19は、本発明のその他の実施形態を説明
するための図である。
FIG. 19 is a diagram for explaining another embodiment of the present invention.

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

1…コンピュータ、2…CPU、3…メモリ、4…通信
回路、6…CPUデータバス、7…CPUアドレスバ
ス、8…ICカード、51…コンピュータ、52…CP
U、53…メモリ、60…判定回路、61…スイッチ回
路、62…メモリデータバス、70…選択回路、71…
フェッチ用判定回路、72…リード用判定回路、73…
ライト用判定回路
DESCRIPTION OF SYMBOLS 1 ... Computer, 2 ... CPU, 3 ... Memory, 4 ... Communication circuit, 6 ... CPU data bus, 7 ... CPU address bus, 8 ... IC card, 51 ... Computer, 52 ... CP
U, 53: memory, 60: determination circuit, 61: switch circuit, 62: memory data bus, 70: selection circuit, 71 ...
Fetching determination circuit, 72 ... Reading determination circuit, 73 ...
Judgment circuit for write

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】複数のプログラムの命令およびデータを記
憶する記憶回路と、 伝送路を介して前記記憶回路にアクセスを行い、前記複
数のプログラムの命令およびデータを用いて前記複数の
プログラムを実行する演算回路と、 前記伝送路と前記記憶回路との間に介在し、制御信号に
基づいて、前記伝送路と前記記憶回路との間を接続状態
および非接続状態の何れか一方に設定する接続切換回路
と、 前記演算回路が前記複数のプログラムを実行中にアクセ
ス可能な前記記憶回路内のアドレス範囲を前記複数のプ
ログラムの各々について規定したアクセス範囲規定デー
タと、前記演算回路がアクセス要求を出した前記記憶回
路内のアドレスと、前記演算回路が複数のプログラムの
うち何れのプログラムを実行中であるかを示す実行中プ
ログラム指示情報とに基づいて、前記伝送路と前記記憶
回路との間を接続状態および非接続状態の何れにするか
を制御する前記制御信号を生成する接続制御回路と、 前記伝送路を介した前記演算回路との間のデータ入出力
と、当該データ処理装置の外部との間のデータ入出力と
を行う入出力インタフェース回路とを有するデータ処理
装置。
1. A storage circuit for storing instructions and data of a plurality of programs, accessing the storage circuit via a transmission line, and executing the plurality of programs using the instructions and data of the plurality of programs. An arithmetic circuit, interposed between the transmission line and the storage circuit, and connection switching for setting one of a connection state and a non-connection state between the transmission line and the storage circuit based on a control signal; A circuit; an access range defining data defining an address range in the storage circuit which can be accessed during execution of the plurality of programs by the arithmetic circuit for each of the plurality of programs; and the arithmetic circuit issues an access request. An address in the storage circuit, and an executing program indicator indicating which of a plurality of programs the arithmetic circuit is executing. A connection control circuit that generates the control signal that controls whether the transmission path and the storage circuit are connected or disconnected based on information; and A data processing device having an input / output interface circuit for performing data input / output with a circuit and data input / output with the outside of the data processing device.
【請求項2】前記接続制御回路は、 前記演算回路がアクセス要求を出した前記記憶回路内の
アドレスが、前記アクセス範囲規定データが規定する前
記実行中のプログラムに対応するアドレス範囲内にある
場合に、前記伝送路と前記記憶回路との間を接続状態に
することを示す前記制御信号を生成し、当該アドレス範
囲内にない場合に前記伝送路と前記記憶回路との間を非
接続状態にすることを示す前記制御信号を生成する請求
項1に記載のデータ処理装置。
2. The connection control circuit according to claim 1, wherein an address in said storage circuit to which said arithmetic circuit issues an access request is within an address range corresponding to said program being executed defined by said access range defining data. Generating the control signal indicating that the transmission path and the storage circuit are connected to each other, and setting the transmission path and the storage circuit to a non-connection state when the transmission path is not within the address range. 2. The data processing device according to claim 1, wherein the control signal is generated to indicate that the control signal is to be transmitted.
【請求項3】前記接続制御回路は、 前記演算回路がフェッチ、リードおよびライトの何れの
命令を実行中であるかに応じてそれぞれアクセス可能な
前記記憶回路内のアドレス範囲を規定した前記アクセス
範囲規定データに基づいて、実行中の命令に応じて前記
制御信号を生成する請求項1に記載のデータ処理装置。
3. The access range defining an address range in the storage circuit that can be accessed according to whether the arithmetic circuit is executing a fetch, read, or write instruction. The data processing device according to claim 1, wherein the control signal is generated according to an instruction being executed based on prescribed data.
【請求項4】前記接続制御回路は、前記アクセス範囲規
定データを記憶する記憶部を有する請求項1に記載のデ
ータ処理装置。
4. The data processing device according to claim 1, wherein said connection control circuit has a storage unit for storing said access range defining data.
【請求項5】前記入出力インタフェース回路は、当該デ
ータ処理装置の外部で、暗号化された前記アクセス範囲
規定データを記憶する集積回路との間でデータの送受信
を行い、 前記演算回路は、前記伝送路および前記通信回路を介し
て、前記集積回路にアクセスを行い、 前記接続制御回路は、所定の鍵情報を保持し、前記通信
回路および前記伝送路を介して前記集積回路から前記暗
号化されたアクセス範囲規定データを受信し、当該受信
したアクセス範囲規定データを前記鍵情報を用いて復号
し、当該復号したアクセス範囲規定データを用いて前記
制御信号を生成する請求項1に記載のデータ処理装置。
5. The input / output interface circuit transmits and receives data to and from an integrated circuit that stores the encrypted access range defining data outside the data processing device. Accessing the integrated circuit via a transmission path and the communication circuit, the connection control circuit holds predetermined key information, and is encrypted from the integrated circuit via the communication circuit and the transmission path. 2. The data processing according to claim 1, further comprising receiving the access range defining data, decoding the received access range defining data using the key information, and generating the control signal using the decoded access range defining data. 3. apparatus.
【請求項6】前記接続制御回路は、前記復号を行う暗号
化された復号プログラムを前記入出力インタフェース回
路および前記伝送路を介して受信し、当該受信した復号
プログラムを復号して前記記憶回路に格納し、当該記憶
回路に格納された前記復号プログラムを用いて、前記ア
クセス範囲規定データの復号を行う請求項5に記載のデ
ータ処理装置。
6. The connection control circuit receives an encrypted decryption program for performing the decryption via the input / output interface circuit and the transmission path, decrypts the received decryption program, and stores the decrypted decryption program in the storage circuit. 6. The data processing device according to claim 5, wherein the access range defining data is stored and decrypted using the decryption program stored in the storage circuit.
【請求項7】前記演算回路は、前記接続制御回路が、前
記伝送路と前記記憶回路との間を非接続状態に設定する
場合に、当該演算回路の動作を停止する請求項1に記載
のデータ処理装置。
7. The operation circuit according to claim 1, wherein the operation circuit stops the operation of the operation circuit when the connection control circuit sets the connection between the transmission line and the storage circuit to a disconnected state. Data processing device.
【請求項8】前記接続制御回路は、 前記演算回路が実行中の前記プログラムが他の前記プロ
グラムの機能を呼び出した場合に、呼び出しを許可する
呼び出し元および呼び出し先のプログラムの組み合わせ
を予め規定したプログラム間呼び出し関係規定データに
基づいて、前記呼び出しが許可されているか否かを判断
し、許可されていると判断した場合に、前記伝送路と前
記記憶回路との間を接続状態にする前記制御信号を生成
し、不許可であると判断した場合に、前記伝送路と前記
記憶回路との間を非接続状態にする前記制御信号を生成
する請求項1に記載のデータ処理装置。
8. The connection control circuit, when the program being executed by the arithmetic circuit calls a function of another program, a combination of a call source and a call destination program permitted to be called in advance. Determining whether or not the call is permitted based on the inter-program call relation definition data, and when determining that the call is permitted, setting the connection between the transmission path and the storage circuit in a connected state; 2. The data processing device according to claim 1, wherein a signal is generated, and when it is determined that the signal is not permitted, the control signal that generates a non-connection state between the transmission path and the storage circuit is generated.
【請求項9】前記接続制御回路は、 前記演算回路がフェッチ、リードおよびライトの何れの
命令を実行中であるかに応じてそれぞれ前記プログラム
の組み合わせを規定したプログラム間呼び出し関係規定
データに基づいて、実行中の命令に応じて前記制御信号
を生成する請求項8に記載のデータ処理装置。
9. The program control method according to claim 1, wherein the connection control circuit is based on inter-program call relation defining data defining a combination of the programs in accordance with which instruction of the fetch, read, and write is being executed. 9. The data processing device according to claim 8, wherein the control signal is generated according to an instruction being executed.
【請求項10】前記接続制御回路は、前記プログラム間
呼び出し関係規定データを記憶する記憶部を有する請求
項8に記載のデータ処理装置。
10. The data processing device according to claim 8, wherein the connection control circuit has a storage unit for storing the inter-program call relation definition data.
【請求項11】前記入出力インタフェース回路は、当該
データ処理装置の外部で、暗号化された前記プログラム
間呼び出し関係規定データを記憶する集積回路との間で
データの送受信を行い、 前記演算回路は、前記伝送路および前記通信回路を介し
て、前記集積回路にアクセスを行い、 前記接続制御回路は、所定の鍵情報を保持し、前記通信
回路および前記伝送路を介して前記集積回路から前記暗
号化されたプログラム間呼び出し関係規定データを受信
し、当該受信したプログラム間呼び出し関係規定データ
を前記鍵情報を用いて復号し、当該復号したプログラム
間呼び出し関係規定データを用いて前記制御信号を生成
する請求項8に記載のデータ処理装置。
11. The input / output interface circuit transmits and receives data to and from an integrated circuit that stores the encrypted inter-program call relation definition data outside the data processing device. Accessing the integrated circuit via the transmission path and the communication circuit, the connection control circuit holds predetermined key information, and performs the encryption from the integrated circuit via the communication circuit and the transmission path. Receiving the encrypted inter-program call relation definition data, decrypting the received inter-program call relation specification data using the key information, and generating the control signal using the decoded inter-program call relation specification data. The data processing device according to claim 8.
【請求項12】前記接続制御回路は、前記復号を行う暗
号化された復号プログラムを前記入出力インタフェース
回路および前記伝送路を介して受信し、当該受信した復
号プログラムを復号して前記記憶回路に格納し、当該記
憶回路に格納された前記復号プログラムを用いて、前記
プログラム間呼び出し関係規定データの復号を行う請求
項11に記載のデータ処理装置。
12. The connection control circuit receives an encrypted decryption program for performing the decryption through the input / output interface circuit and the transmission path, decrypts the received decryption program, and stores the decrypted decryption program in the storage circuit. 12. The data processing device according to claim 11, wherein the data is stored, and the inter-program call relation definition data is decoded using the decoding program stored in the storage circuit.
JP2001042397A 2001-02-16 2001-02-19 Data processing device Expired - Lifetime JP4617581B2 (en)

Priority Applications (16)

Application Number Priority Date Filing Date Title
JP2001042397A JP4617581B2 (en) 2001-02-19 2001-02-19 Data processing device
EP02700588A EP1361511A4 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
SG200505142-0A SG154320A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
SG200505139-6A SG160187A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
SG200505137-0A SG140467A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
CN02801052.3A CN1261870C (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
SG200505136-2A SG143064A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
PCT/JP2002/001324 WO2002065287A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
US10/257,472 US7240345B2 (en) 2001-02-16 2002-02-15 Data processing apparatus and associated method
CN200910004389.6A CN101526982B (en) 2001-02-16 2002-02-15 Data processing method and the device thereof
SG200505141-2A SG143065A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
SG200505138-8A SG143976A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
SG200505135-4A SG132507A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
HK04104630A HK1062722A1 (en) 2001-02-16 2004-06-28 Data processing method and its apparatus
US11/688,439 US8141057B2 (en) 2001-02-16 2007-03-20 Data processing apparatus and associated method
HK07105179.5A HK1098849A1 (en) 2001-02-16 2007-05-16 Data processing method and its apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001042397A JP4617581B2 (en) 2001-02-19 2001-02-19 Data processing device

Publications (2)

Publication Number Publication Date
JP2002244921A true JP2002244921A (en) 2002-08-30
JP4617581B2 JP4617581B2 (en) 2011-01-26

Family

ID=18904696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001042397A Expired - Lifetime JP4617581B2 (en) 2001-02-16 2001-02-19 Data processing device

Country Status (1)

Country Link
JP (1) JP4617581B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009140256A (en) * 2007-12-06 2009-06-25 Nec Electronics Corp Data processor and address space protection method
JP2009193605A (en) * 2009-06-02 2009-08-27 Panasonic Corp Semiconductor integrated circuit device
JP2009271726A (en) * 2008-05-07 2009-11-19 Ricoh Co Ltd Electronic device, method of controlling program execution, and program
JP2012503810A (en) * 2008-09-30 2012-02-09 ジェムアルト エスアー Regulators of commands sent out for sensitive applications
WO2015041306A1 (en) * 2013-09-17 2015-03-26 Ricoh Company, Limited Device, system, and method
JP2016059792A (en) * 2015-06-22 2016-04-25 山佐株式会社 Control device for game machine

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5715499U (en) * 1980-06-27 1982-01-26
JPH01277993A (en) * 1988-04-28 1989-11-08 Toshiba Corp Portable electronic device
JPH0652054A (en) * 1992-03-31 1994-02-25 Toshiba Corp Virtual memory controller
JPH0991236A (en) * 1995-09-26 1997-04-04 Toppan Printing Co Ltd Ic card processor
WO1997014999A1 (en) * 1995-10-19 1997-04-24 Fanuc Ltd Numerical control system
JPH1078919A (en) * 1996-09-05 1998-03-24 Nec Eng Ltd Device for preventing illegal access
JP2000172490A (en) * 1998-12-01 2000-06-23 Toshiba Corp Ic card issuing system, ic card processing system, and ic card

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5715499U (en) * 1980-06-27 1982-01-26
JPH01277993A (en) * 1988-04-28 1989-11-08 Toshiba Corp Portable electronic device
JPH0652054A (en) * 1992-03-31 1994-02-25 Toshiba Corp Virtual memory controller
JPH0991236A (en) * 1995-09-26 1997-04-04 Toppan Printing Co Ltd Ic card processor
WO1997014999A1 (en) * 1995-10-19 1997-04-24 Fanuc Ltd Numerical control system
JPH1078919A (en) * 1996-09-05 1998-03-24 Nec Eng Ltd Device for preventing illegal access
JP2000172490A (en) * 1998-12-01 2000-06-23 Toshiba Corp Ic card issuing system, ic card processing system, and ic card

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009140256A (en) * 2007-12-06 2009-06-25 Nec Electronics Corp Data processor and address space protection method
JP2009271726A (en) * 2008-05-07 2009-11-19 Ricoh Co Ltd Electronic device, method of controlling program execution, and program
JP2012503810A (en) * 2008-09-30 2012-02-09 ジェムアルト エスアー Regulators of commands sent out for sensitive applications
JP2009193605A (en) * 2009-06-02 2009-08-27 Panasonic Corp Semiconductor integrated circuit device
WO2015041306A1 (en) * 2013-09-17 2015-03-26 Ricoh Company, Limited Device, system, and method
JP2015060319A (en) * 2013-09-17 2015-03-30 株式会社リコー Device, information processing system, information processing method, information processing program, and storage medium having information processing program stored therein
US10073792B2 (en) 2013-09-17 2018-09-11 Ricoh Company Limited Device, system, and method for detecting, identifying, and communicating with a storage medium
JP2016059792A (en) * 2015-06-22 2016-04-25 山佐株式会社 Control device for game machine

Also Published As

Publication number Publication date
JP4617581B2 (en) 2011-01-26

Similar Documents

Publication Publication Date Title
JP6517926B2 (en) Mobile payment device and method
JP6418718B2 (en) Secure method and apparatus
US9141810B2 (en) Architecture for virtual security module
EP2706699B1 (en) User terminal and payment system
KR101925806B1 (en) Method and apparatus for securing touch input
US20200104528A1 (en) Data processing method, device and system
WO2002065287A1 (en) Data processing method and its apparatus
JPH1083363A (en) Game program supply system and program rewriting system
US9886595B2 (en) Priority-based application execution method and apparatus of data processing device
CN108647534B (en) Security display system and method based on double isolation
US11748493B2 (en) Secure asset management system
CN111459673A (en) Secure memory expansion and release method and device and electronic equipment
JP4617581B2 (en) Data processing device
US6453415B1 (en) Method of communicating securely between an application program and a secure kernel
JP4507569B2 (en) Information processing apparatus, information processing method, program, and recording medium
JP2002244757A (en) Semiconductor circuit
US7747791B2 (en) Program access authorization of peripheral devices via a smart card
US20230281304A1 (en) Method for switching execution environment and related device thereof
EP4134858A1 (en) Management of applications on multiple secure elements
CN115905108A (en) IOPMP architecture implementation method for RISC-V chip
CN113867826A (en) Extended package access control method and device, Java smart card and storage medium
CN116226870A (en) Security enhancement system and method
CN112464222A (en) Security device, corresponding system, method and computer program product
JP2002535745A (en) Data processing system for security critical functions

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100506

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100628

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

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

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

Free format text: PAYMENT UNTIL: 20131105

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4617581

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20131105

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term