[go: up one dir, main page]

JP2002244755A - Data processing method, semiconductor circuit and program - Google Patents

Data processing method, semiconductor circuit and program

Info

Publication number
JP2002244755A
JP2002244755A JP2001039969A JP2001039969A JP2002244755A JP 2002244755 A JP2002244755 A JP 2002244755A JP 2001039969 A JP2001039969 A JP 2001039969A JP 2001039969 A JP2001039969 A JP 2001039969A JP 2002244755 A JP2002244755 A JP 2002244755A
Authority
JP
Japan
Prior art keywords
communication
application program
data
semiconductor circuit
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001039969A
Other languages
Japanese (ja)
Inventor
Masahiro Sueyoshi
正弘 末吉
Fumio Kubono
文夫 久保野
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
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2001039969A priority Critical patent/JP2002244755A/en
Priority to CN02801052.3A priority patent/CN1261870C/en
Priority to SG200505135-4A priority patent/SG132507A1/en
Priority to PCT/JP2002/001324 priority patent/WO2002065287A1/en
Priority to SG200505142-0A priority patent/SG154320A1/en
Priority to CN200610077336.3A priority patent/CN100481103C/en
Priority to SG200505138-8A priority patent/SG143976A1/en
Priority to SG200505139-6A priority patent/SG160187A1/en
Priority to HK04104630.4A priority patent/HK1062722B/en
Priority to SG200505137-0A priority patent/SG140467A1/en
Priority to US10/257,472 priority patent/US7240345B2/en
Priority to EP02700588A priority patent/EP1361511A4/en
Priority to CN200910004389.6A priority patent/CN101526982B/en
Priority to SG200505136-2A priority patent/SG143064A1/en
Priority to SG200505141-2A priority patent/SG143065A1/en
Publication of JP2002244755A publication Critical patent/JP2002244755A/en
Priority to US11/688,439 priority patent/US8141057B2/en
Priority to HK07105179.5A priority patent/HK1098849B/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Computer And Data Communications (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

(57)【要約】 【課題】 他のアプリケーションプログラムのユーザ等
によって不正に改竄および監視等されることを防止しな
がら、必要に応じてアプリケーションプログラム相互間
でのデータ授受を認めるデータ処理方法を提供する。 【解決手段】 SAMチップ108は、ファイアウォー
ルを介して行われる前記アプリケーションプログラム間
の通信を許可する条件を予め登録し、アプリケーション
プログラムが他の前記アプリケーションプログラムとの
間の通信要求を発生すると、当該通信要求が前記登録さ
れた条件を満たしているか否かを判断し、前記登録され
た条件を満たしていると判断した場合に、前記通信要求
に応じた前記アプリケーションプログラム間の通信を実
行する。
(57) [Summary] [PROBLEMS] To provide a data processing method for preventing data from being exchanged between application programs as needed while preventing unauthorized alteration and monitoring by a user of another application program. I do. A SAM chip (108) pre-registers a condition for permitting communication between the application programs via a firewall, and when the application program generates a communication request with another application program, the communication is performed. It is determined whether the request satisfies the registered condition. If it is determined that the request satisfies the registered condition, communication between the application programs according to the communication request is performed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のアプリケー
ションプログラムが動作する環境で、各アプリケーショ
ンプログラムが不正に改竄および監視されることを防止
しながら、必要に応じてアプリケーションプログラム間
での通信を認めるデータ処理方法、半導体回路およびプ
ログラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an environment in which a plurality of application programs operate, and permits communication between application programs as necessary while preventing each application program from being tampered with and monitored. The present invention relates to a data processing method, a semiconductor circuit, and a program.

【0002】[0002]

【従来の技術】現在、ICカードを用いてインターネッ
トなどのネットワークを介した取り引きを行う通信シス
テムが開発されている。このような通信システムでは、
決済を行うサーバ装置が、例えばICカードのリーダ・
ライタやPC(Personal Computer) からICカードを用
いた処理要求を受け、ユーザ認証やデータの暗号化及び
復号などの処理を行う。上述したサーバ装置上では、例
えば、複数のクレジットカード会社などの事業者にそれ
ぞれ対応した複数のアプリケーションプログラムが動作
している。
2. Description of the Related Art Currently, a communication system has been developed in which an IC card is used for transactions via a network such as the Internet. In such a communication system,
The server device that performs the settlement is, for example, an IC card reader / writer.
Upon receiving a processing request using an IC card from a writer or a PC (Personal Computer), it performs processing such as user authentication and data encryption and decryption. On the server device described above, for example, a plurality of application programs respectively corresponding to a plurality of businesses such as credit card companies are operating.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
たようにサーバ装置上で複数の事業者のアプリケーショ
ンプログラムが動作する場合に、各アプリケーションプ
ログラムが他のアプリケーションプログラムの事業者に
よって不正に改竄および監視されることを防止する必要
がある。その一方、アプリケーションプログラム間で、
データ授受を行いながら、多様なサービスを提供したい
という要請がある。
However, when the application programs of a plurality of operators operate on the server device as described above, each application program is illegally tampered with and monitored by the operators of the other application programs. Need to be prevented. On the other hand, between application programs,
There is a demand to provide various services while exchanging data.

【0004】本発明は、上述した従来技術に鑑みてなさ
れたものであり、同じ半導体回路上で複数のアプリケー
ションプログラムを動作させる場合に、各アプリケーシ
ョンプログラムが、他のアプリケーションプログラムの
ユーザ等によって不正に改竄および監視等されることを
防止しながら、必要に応じてアプリケーションプログラ
ム相互間でのデータ授受を認めるデータ処理方法、半導
体回路およびプログラムを提供することを目的とする。
[0004] The present invention has been made in view of the above-mentioned conventional technology. When a plurality of application programs are operated on the same semiconductor circuit, each application program is illegally operated by a user of another application program. It is an object of the present invention to provide a data processing method, a semiconductor circuit, and a program that allow data exchange between application programs as necessary while preventing tampering and monitoring.

【0005】[0005]

【課題を解決するための手段】上述した目的を達成する
ために、本発明のデータ処理方法は、アプリケーション
プログラムを実行する半導体回路が行うデータ処理方法
であって、それぞれファイアウォールによって保護され
た複数のアプリケーションプログラムを独立して実行
し、前記ファイアウォールを介して行われる前記アプリ
ケーションプログラム間の通信を許可する条件を予め登
録し、前記アプリケーションプログラムが他の前記アプ
リケーションプログラムとの間の通信要求を発生する
と、当該通信要求が前記登録された条件を満たしている
か否かを判断し、前記登録された条件を満たしていると
判断した場合に、前記通信要求に応じた前記アプリケー
ションプログラム間の通信を実行する。
In order to achieve the above-mentioned object, a data processing method of the present invention is a data processing method performed by a semiconductor circuit executing an application program. When the application program is executed independently, conditions for permitting communication between the application programs performed through the firewall are registered in advance, and when the application program issues a communication request with another application program, It is determined whether or not the communication request satisfies the registered condition. If it is determined that the registered condition is satisfied, communication between the application programs according to the communication request is executed.

【0006】本発明のデータ処理方法は、好ましくは、
前記ファイアウォールを介した通信を許可される前記通
信要求の発生元のアプリケーションプログラムと前記他
のアプリケーションプログラムとの組み合わせを示す情
報を、前記通信を許可する条件として登録する。
[0006] The data processing method of the present invention preferably comprises:
Information indicating a combination of the application program, which is the source of the communication request, and the other application program permitted to communicate through the firewall is registered as a condition for permitting the communication.

【0007】また、本発明のデータ処理方法は、好まし
くは、前記半導体回路が当該半導体回路の外部から処理
要求を受けると、前記複数のアプリケーションプログラ
ムのうち、前記処理要求に対応したアプリケーションプ
ログラムを選択し、当該選択したアプリケーションプロ
グラムに基づいて、前記処理要求に応じた処理を行う。
In the data processing method of the present invention, preferably, when the semiconductor circuit receives a processing request from outside the semiconductor circuit, an application program corresponding to the processing request is selected from the plurality of application programs. Then, based on the selected application program, a process according to the process request is performed.

【0008】また、本発明のデータ処理方法は、好まし
くは、前記アプリケーションプログラム間の通信に伴う
データの授受を、前記半導体回路の外部の半導体記憶装
置の所定の記憶領域を用いて行う。
In the data processing method according to the present invention, it is preferable that the transmission and reception of data accompanying the communication between the application programs is performed using a predetermined storage area of a semiconductor storage device external to the semiconductor circuit.

【0009】また、本発明のデータ処理方法は、好まし
くは、データ授側のアプリケーションプログラムが、前
記所定の記憶領域にデータを書き込み、当該書き込みが
行われたことをデータ受側のアプリケーションプログラ
ムに通知し、当該通知に応じて、前記データ受側のアプ
リケーションプログラムが、前記所定の記憶領域から前
記データを読み取る。
Further, in the data processing method of the present invention, preferably, the application program on the data transfer side writes data to the predetermined storage area, and notifies the application program on the data reception side that the writing has been performed. Then, in response to the notification, the application program on the data receiving side reads the data from the predetermined storage area.

【0010】また、本発明のデータ処理方法は、好まし
くは、前記所定の記憶領域に対してのアクセス要求が発
生した場合に、ファイアウォールによって当該アクセス
の正当性を判断し、正当であると判断されたアクセス要
求に対してのみ前記所定の記憶領域へのアクセスを認め
る。
In the data processing method of the present invention, preferably, when an access request to the predetermined storage area is issued, the validity of the access is determined by a firewall, and the access is determined to be valid. The access to the predetermined storage area is permitted only for the requested access.

【0011】また、本発明のデータ処理方法は、好まし
くは、前記アプリケーションプログラム間の通信に伴っ
て授受されるデータをスクランブルした後に前記所定の
記憶領域に記憶する。
Further, in the data processing method of the present invention, preferably, data transmitted / received along with the communication between the application programs is scrambled and then stored in the predetermined storage area.

【0012】また、本発明のデータ処理方法は、好まし
くは、前記半導体回路は、前記アプリケーションプログ
ラムの実行に伴う処理の少なくとも一部を、他の半導体
回路に依頼する。
In the data processing method according to the present invention, preferably, the semiconductor circuit requests at least a part of a process accompanying execution of the application program to another semiconductor circuit.

【0013】また、本発明の半導体回路は、それぞれフ
ァイアウォールによって保護された複数のアプリケーシ
ョンプログラムを独立して実行し、前記ファイアウォー
ルを介して行われる前記アプリケーションプログラム間
の通信を許可する条件を予め登録し、前記アプリケーシ
ョンプログラムが他の前記アプリケーションプログラム
との間の通信要求を発生すると、当該通信要求が前記登
録された条件を満たしているか否かを判断し、前記登録
された条件を満たしていると判断した場合に、前記通信
要求に応じた前記アプリケーションプログラム間の通信
を実行する。
In addition, the semiconductor circuit of the present invention independently executes a plurality of application programs each protected by a firewall, and registers in advance conditions for permitting communication between the application programs to be performed through the firewall. When the application program generates a communication request with another application program, determines whether the communication request satisfies the registered condition, and determines that the registered condition is satisfied. In this case, the communication between the application programs according to the communication request is executed.

【0014】また、本発明のプログラムは、それぞれフ
ァイアウォールによって保護された複数のアプリケーシ
ョンプログラムを独立して実行する手順と、前記ファイ
アウォールを介して行われる前記アプリケーションプロ
グラム間の通信を許可する条件を予め登録する手順と、
前記アプリケーションプログラムが他の前記アプリケー
ションプログラムとの間の通信要求を発生すると、当該
通信要求が前記登録された条件を満たしているか否かを
判断する手順と、前記登録された条件を満たしていると
判断した場合に、前記通信要求に応じた前記アプリケー
ションプログラム間の通信を実行する手順とを半導体回
路に実行させる。
[0014] The program of the present invention preliminarily registers a procedure for independently executing a plurality of application programs each protected by a firewall, and a condition for permitting communication between the application programs performed through the firewall. Steps to
When the application program generates a communication request with another application program, a procedure for determining whether the communication request satisfies the registered condition, and that the registered request satisfies the registered condition And a step of performing communication between the application programs in response to the communication request when the determination is made.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施の形態を添付
図面を参照して説明する。図1は、本実施形態の通信シ
ステム201の全体構成図である。図1に示すように、
通信システム201は、サーバ装置202、ICカード
203、カードリーダ・ライタ204、パーソナルコン
ピュータ205、ASP(Application Service Provide
r)サーバ装置206、SAM(Secure ApplicationModul
e) ユニット209、パーソナルコンピュータ216_
1,216_2,216_3、並びに認証用ユニット2
17_1,217_2,217_3を用いて、インター
ネット210を介して通信を行ってICカード203を
用いた決済処理などの手続き処理を行う。SAMユニッ
ト209は、外部メモリ207およびSAMチップ20
8を有する。SAMチップ208は、図2に示すような
ソフトウェア構成を有している。図2に示すように、S
AMチップ208は、下層から上層に向けて、HW(Har
dware)層、OS層、下位ハンドラ層、上位ハンドラ層お
よびAP層を順に有している。下位ハンドラ層には、ド
ライバ層が含まれる。ここで、AP層には、図1に示す
クレジットカード会社などの事業者215_1,215
_2,215_3によるICカード203を用いた手続
きを規定したアプリケーションプログラムAP_1,A
P_2,AP_3がある。AP層では、アプリケーショ
ンプログラムAP_1,AP_2,AP_3相互間、並
びに上位ハンドラ層との間にファイアウォールFWが設
けられている。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is an overall configuration diagram of a communication system 201 according to the present embodiment. As shown in FIG.
The communication system 201 includes a server device 202, an IC card 203, a card reader / writer 204, a personal computer 205, an ASP (Application Service Provide).
r) Server device 206, SAM (Secure Application Module
e) Unit 209, personal computer 216_
1,216_2,216_3 and authentication unit 2
By using 17_1, 217_2, and 217_3, communication is performed via the Internet 210 to perform procedural processing such as payment processing using the IC card 203. The SAM unit 209 includes the external memory 207 and the SAM chip 20
8 The SAM chip 208 has a software configuration as shown in FIG. As shown in FIG.
The AM chip 208 has an HW (Har
dware) layer, OS layer, lower handler layer, upper handler layer, and AP layer. The lower handler layer includes a driver layer. Here, in the AP layer, businesses 215_1 and 215 such as credit card companies shown in FIG.
_2, 215_3, an application program AP_1, A that defines a procedure using the IC card 203.
There are P_2 and AP_3. In the AP layer, a firewall FW is provided between the application programs AP_1, AP_2, and AP_3, and between the application programs AP_1, AP_2, and AP_3, and the upper handler layer.

【0016】SAMチップ208は、SCSIまたはE
thernetなどを介してASPサーバ装置206に
接続される。ASPサーバ装置206は、インターネッ
ト210を介して、エンドユーザのパーソナルコンピュ
ータ205、事業者215_1,215_2,215_
3のパーソナルコンピュータ216_1,216_2,
216_3を含む複数の端末装置に接続される。パーソ
ナルコンピュータ205は、例えば、シリアルまたはU
SBを介してDumb型のカードリーダ・ライタ204
に接続されている。カードリーダ・ライタ204が、I
Cカード203との間で物理レベルに相当する例えば無
線通信を実現する。ICカード203への操作コマンド
およびICカード203からのリスポンスパケットは、
SAMユニット209側で生成および解読される。よっ
て、その中間に介在するカードリーダ・ライタ204、
パーソナルコンピュータ205およびASPサーバ装置
206は、コマンドやリスポンス内容をデータペイロー
ド部分に格納して中継する役割を果たすのみで、ICカ
ード203内のデータの暗号化や復号および認証などの
実操作には関与しない。
The SAM chip 208 is a SCSI or E
It is connected to the ASP server device 206 via the Internet or the like. The ASP server device 206 is connected to the end user's personal computer 205 and the business operators 215_1, 215_2, and 215_ via the Internet 210.
3 personal computers 216_1, 216_2,
216_3 is connected to a plurality of terminal devices. The personal computer 205 is, for example, a serial or U
Dumb type card reader / writer 204 via SB
It is connected to the. If the card reader / writer 204
For example, wireless communication corresponding to a physical level with the C card 203 is realized. The operation command to the IC card 203 and the response packet from the IC card 203 are:
Generated and decrypted on the SAM unit 209 side. Therefore, the card reader / writer 204 interposed in the middle,
The personal computer 205 and the ASP server device 206 only play a role of storing and relaying commands and response contents in a data payload portion, and are involved in actual operations such as encryption and decryption of data in the IC card 203 and authentication. do not do.

【0017】事業者215_1,215_2,215_
3は、パーソナルコンピュータ216_1,216_
2,216_3を用いてアプリケーションプログラムA
P_1,AP_2,AP_3を作成し、それぞれ認証用
ユニット217_1,217_2,217_3を介し
て、当該作成したアプリケーションプログラムをSAM
チップ208を介して外部メモリ207内の予め割り当
てられた記憶領域にダウンロードする。このとき、事業
者215_1,215_2,215_3は相互に無関係
の者であるため、アプリケーションプログラムAP_
1,AP_2,AP_3をダウンロードできる外部メモ
リ207内の記憶領域は予め決められており、当該記憶
領域へのダウンロードを行う権限を有するか否かがSA
Mチップ208によって検証される。また、アプリケー
ションプログラムAP_1,AP_2,AP_3相互間
では、ファイアウォールFWによって、データの授受お
よび参照が制限されている。認証用ユニット217_
1,217_2,217_3は、後述するように、アプ
リケーションプログラムAP_1,AP_2,AP_3
をSAMチップ208にダウンロードする際に、SAM
チップ208との間で相互認証を行い、ダウンロード用
署名検証鍵情報の作成などを行う。
Businesses 215_1, 215_2, 215_
3 is a personal computer 216_1, 216_
Application program A using 2,216_3
P_1, AP_2, and AP_3 are created, and the created application programs are sent to the SAMs via the authentication units 217_1, 217_2, and 217_3, respectively.
The data is downloaded to a pre-allocated storage area in the external memory 207 via the chip 208. At this time, since the operators 215_1, 215_2, and 215_3 are not related to each other, the application programs AP_
Storage areas in the external memory 207 from which the AP1, AP_2 and AP_3 can be downloaded are determined in advance, and it is determined whether or not the user has authority to download the storage areas.
It is verified by the M chip 208. Further, between the application programs AP_1, AP_2, and AP_3, transmission and reference of data is restricted by the firewall FW. Authentication unit 217_
The application programs AP_1, AP_2, and AP_3 are described below.
When downloading to the SAM chip 208, the SAM
Mutual authentication is performed with the chip 208 to create signature verification key information for download.

【0018】以下、図1に示す構成要素について説明す
る。 〔ICカード203〕図3は、ICカード203の機能
ブロック図である。図3に示すように、ICカード20
3は、記憶部250および処理部251を備えたIC(I
ntegrated Circuit)203aを有する。記憶部250
は、図4に示すように、クレジットカード会社などの事
業者215_1が使用する記憶領域255_1、事業者
215_2が使用する記憶領域255_2、並びに事業
者215_3が使用する記憶領域255_3を有する。
また、記憶部250は、記憶領域255_1への権限の
有無を判断するために用いられる鍵情報、記憶領域25
5_2へのアクセス権限を判断するために用いられる鍵
情報、並びに記憶領域255_3へのアクセス権限を判
断するために用いられる鍵情報を記憶している。当該鍵
情報は、具体的には、相互認証や、データの暗号化およ
び復号などに用いられる。また、記憶部250は、IC
カード203あるいはICカード203のユーザの識別
情報を記憶している。
Hereinafter, the components shown in FIG. 1 will be described. [IC Card 203] FIG. 3 is a functional block diagram of the IC card 203. As shown in FIG.
3 is an IC (I) including a storage unit 250 and a processing unit 251.
integrated circuit) 203a. Storage unit 250
Has a storage area 255_1 used by the business 215_1 such as a credit card company, a storage area 255_2 used by the business 215_2, and a storage area 255_3 used by the business 215_3, as shown in FIG.
Further, the storage unit 250 stores key information used to determine whether or not the storage area 255_1 has authority, and the storage area 25_1.
The key information used to determine the access right to 5_2 and the key information used to determine the access right to the storage area 255_3 are stored. The key information is specifically used for mutual authentication, data encryption and decryption, and the like. In addition, the storage unit 250 includes an IC
The identification information of the user of the card 203 or the IC card 203 is stored.

【0019】以下、SAMユニット209について詳細
に説明する。 〔外部メモリ207〕図5は、外部メモリ207の記憶
領域を説明するための図である。図5に示すように、外
部メモリ207の記憶領域には、事業者215_1のア
プリケーションプログラムAP_1が記憶されるAP記
憶領域220_1、事業者215_2のアプリケーショ
ンプログラムAP_2が記憶されるAP記憶領域220
_2、事業者215_3のアプリケーションプログラム
AP_3が記憶されるAP記憶領域220_3、並びに
SAMチップ208の管理者が使用するAP管理用記憶
領域221がある。
Hereinafter, the SAM unit 209 will be described in detail. [External Memory 207] FIG. 5 is a diagram for explaining a storage area of the external memory 207. As shown in FIG. 5, in the storage area of the external memory 207, an AP storage area 220_1 in which the application program AP_1 of the provider 215_1 is stored, and an AP storage area 220 in which the application program AP_2 of the provider 215_2 is stored.
_2, an AP storage area 220_3 in which the application program AP_3 of the provider 215_3 is stored, and an AP management storage area 221 used by the administrator of the SAM chip 208.

【0020】AP記憶領域220_1に記憶されている
アプリケーションプログラムAP_1は、複数のプログ
ラムモジュールによって構成されている。AP記憶領域
220_1へのアクセスは、ファイアウォールFW_1
によって制限されている。AP記憶領域220_2に記
憶されているアプリケーションプログラムAP_2は、
複数のプログラムモジュールによって構成されている。
AP記憶領域220_2へのアクセスは、ファイアウォ
ールFW_2によって制限されている。AP記憶領域2
20_3に記憶されているアプリケーションプログラム
AP_3は、複数のプログラムモジュールによって構成
されている。AP記憶領域220_3へのアクセスは、
ファイアウォールFW_3によって制限されている。本
実施形態では、上記プログラムモジュールは、例えば、
SAMユニット209の外部から外部メモリ207にダ
ウンロードされる最小単位である。各アプリケーション
プログラムを構成するプログラムモジュールの数は、対
応する事業者が任意に決定できる。
The application program AP_1 stored in the AP storage area 220_1 is composed of a plurality of program modules. Access to the AP storage area 220_1 is performed by the firewall FW_1
Limited by The application program AP_2 stored in the AP storage area 220_2 is
It is composed of a plurality of program modules.
Access to the AP storage area 220_2 is restricted by the firewall FW_2. AP storage area 2
The application program AP_3 stored in 20_3 is composed of a plurality of program modules. Access to the AP storage area 220_3
Limited by firewall FW_3. In the present embodiment, the program module is, for example,
This is the minimum unit downloaded from the outside of the SAM unit 209 to the external memory 207. The number of program modules constituting each application program can be arbitrarily determined by the corresponding business operator.

【0021】また、外部メモリ207に記憶されたアプ
リケーションプログラムAP_1,AP_2,AP_3
は、スクランブルされており、SAMチップ208に読
み込まれたときに、デスクランブルされる。また、アプ
リケーションプログラムAP_1,AP_2,AP_3
は、例えば、それぞれ図1に示すパーソナルコンピュー
タ216_1,216_2,216_3を用いて、事業
者215_1,215_2,215_3によって作成さ
れ、SAMチップ208を介して外部メモリ207にダ
ウンロードされる。
The application programs AP_1, AP_2, AP_3 stored in the external memory 207
Have been scrambled, and are descrambled when read into the SAM chip 208. Also, application programs AP_1, AP_2, AP_3
Are created by the operators 215_1, 215_2, and 215_3 using the personal computers 216_1, 216_2, and 216_3 shown in FIG. 1, respectively, and downloaded to the external memory 207 via the SAM chip 208.

【0022】AP管理用記憶領域221へのアクセス
は、ファイアウォールFW_4によって制限されてい
る。なお、ファイアウォールFW_1,FW_2,FW
_3,FW_4は、図2に示すファイアウォールFWに
対応している。AP管理用記憶領域221には、図5に
示すように、AP選択用データ231およびAP間通信
用データ232が記憶されている。ここで、AP選択用
データ231およびAP間通信用データ232は、例え
ば、SAMチップ208のセットアップ時に予め登録さ
れている。また、AP選択用データ231およびAP間
通信用データ232の書き換えは、SAMチップ208
の管理者のみが行える。
Access to the AP management storage area 221 is restricted by the firewall FW_4. Note that the firewalls FW_1, FW_2, and FW
_3 and FW_4 correspond to the firewall FW shown in FIG. As shown in FIG. 5, AP selection data 231 and inter-AP communication data 232 are stored in the AP management storage area 221. Here, the AP selection data 231 and the inter-AP communication data 232 are registered in advance when the SAM chip 208 is set up, for example. The rewriting of the AP selection data 231 and the inter-AP communication data 232 is performed by the SAM chip 208.
Only administrators can do this.

【0023】図6は、AP選択用データ231を説明す
るための図である。図6に示すように、AP選択用デー
タ231は、ICカード種別情報とAP識別情報とを対
応付けて示している。ICカード種別情報は、図1に示
すICカード203の種別を示し、例えば、ICカード
203を用いた取り引きの決済を行うクレジットカード
会社の識別情報である。AP識別情報は、図2に示すよ
うに、SAMチップ208上のAP層で動作するアプリ
ケーションプログラムの識別情報である。
FIG. 6 is a diagram for explaining the AP selection data 231. As shown in FIG. 6, the AP selection data 231 indicates IC card type information and AP identification information in association with each other. The IC card type information indicates the type of the IC card 203 shown in FIG. 1, and is, for example, identification information of a credit card company that performs transaction settlement using the IC card 203. The AP identification information is identification information of an application program that operates in the AP layer on the SAM chip 208, as shown in FIG.

【0024】図7は、AP間通信用データ232を説明
するための図である。AP間通信用データ232は、図
2に示すアプリケーションプログラムAP_1,AP_
2,AP_3間の通信の可否を示している。具体的に
は、図7に示す列項目にあるアプリケーションプログラ
ムが出した、行項目にあるアプリケーションプログラム
への通信要求が許可されるか否かを示している。例え
ば、アプリケーションプログラムAP_3による、アプ
リケーションプログラムAP_1への通信要求は許可さ
れるが、アプリケーションプログラムAP_2への通信
要求は拒否される。
FIG. 7 is a diagram for explaining the inter-AP communication data 232. The inter-AP communication data 232 includes the application programs AP_1 and AP_
2 indicates whether or not communication between AP_3 is possible. Specifically, it indicates whether a communication request to the application program in the row item issued by the application program in the column item shown in FIG. 7 is permitted. For example, a communication request to the application program AP_1 by the application program AP_3 is permitted, but a communication request to the application program AP_2 is rejected.

【0025】また、図5に示すように、AP管理用記憶
領域221は、アプリケーションプログラム間での通信
(データの授受)に用いられるAP間通信用記憶領域2
33を有している。
As shown in FIG. 5, the AP management storage area 221 is an inter-AP communication storage area 2 used for communication (data transfer) between application programs.
33.

【0026】〔SAMチップ208〕図8は、図1に示
すSAMチップ208の機能ブロック図である。図8に
示すように、SAMチップ208は、ASPS通信イン
タフェース部260、外部メモリ通信インタフェース部
261、バススクランブル部262、署名処理部26
3、認証処理部264、暗号・復号部265、記憶部2
66、CPU267を有する。SAMチップ208は、
耐タンパ性のモジュールである。
[SAM Chip 208] FIG. 8 is a functional block diagram of the SAM chip 208 shown in FIG. As shown in FIG. 8, the SAM chip 208 includes an ASPS communication interface 260, an external memory communication interface 261, a bus scrambler 262, and a signature processor 26.
3. Authentication processing unit 264, encryption / decryption unit 265, storage unit 2
66 and a CPU 267. The SAM chip 208
It is a tamper-resistant module.

【0027】ASPS通信インタフェース部260は、
図1に示すASPサーバ装置206との間のデータ入出
力に用いられるインタフェースである。外部メモリ通信
インタフェース部261は、外部メモリ207との間の
データ入出力に用いられるインタフェースである。バス
スクランブル部262は、外部メモリ通信インタフェー
ス部261を介してデータを入出力する際に、出力する
データをスクランブルし、入力したデータをデスクラン
ブルする。すなわち、外部メモリ207には、スクラン
ブルされた状態でデータが記憶される。
The ASPS communication interface unit 260
This is an interface used for data input / output with the ASP server device 206 shown in FIG. The external memory communication interface unit 261 is an interface used for inputting and outputting data to and from the external memory 207. The bus scramble unit 262 scrambles data to be output and descrambles the input data when inputting and outputting data via the external memory communication interface unit 261. That is, data is stored in the external memory 207 in a scrambled state.

【0028】署名処理部263は、後述するようにイン
ターネット210を介してアプリケーションプログラム
を外部メモリ207にダウンロードするとき、並びにア
プリケーションプログラムを実行するときに署名作成お
よび署名検証を行う。認証処理部264は、後述するよ
うにインターネット210を介してアプリケーションプ
ログラムを外部メモリ207にダウンロードするときな
どに、相手先と相互認証を行う。暗号・復号部265
は、データの暗号化、並びに暗号化されたデータの復号
を行う。記憶部266は、CPU267の処理に必要な
データを記憶する。CPU267は、後述するようにタ
スクを実行し、当該タスクの実行に応じて、指定された
アプリケーションプログラムの実行を行う。
The signature processing unit 263 performs signature creation and signature verification when downloading an application program to the external memory 207 via the Internet 210 and executing the application program, as described later. The authentication processing unit 264 performs mutual authentication with the other party when downloading an application program to the external memory 207 via the Internet 210 as described later. Encryption / decryption unit 265
Performs encryption of data and decryption of the encrypted data. The storage unit 266 stores data necessary for the processing of the CPU 267. The CPU 267 executes a task as described later, and executes the designated application program according to the execution of the task.

【0029】図9は、CPU267が実行するタスクを
説明するための図である。図9に示すように、CPU2
67は、ダウンロードタスク270、システムタスク2
71、AP用タスク272、決済処理手順タスク27
3、AP間通信用タスク274、並びにSAM間通信用
タスク275を実行する。
FIG. 9 is a diagram for explaining a task executed by the CPU 267. As shown in FIG.
67 is a download task 270, a system task 2
71, AP task 272, settlement procedure task 27
3. The task 274 for communication between APs and the task 275 for communication between SAMs are executed.

【0030】ダウンロードタスク270は、後述するよ
うに、SAMユニット209の外部から、SAMチップ
208を介して外部メモリ207に、アプリケーション
プログラムをダウンロードする処理を行う。システムタ
スク271は、ドライバ管理、ICカード203に対し
ての固有の操作などの処理を行うタスクである。
The download task 270 performs a process of downloading an application program from outside the SAM unit 209 to the external memory 207 via the SAM chip 208, as described later. The system task 271 is a task that performs processes such as driver management and operations unique to the IC card 203.

【0031】AP用タスク272は、例えば、ASPサ
ーバ装置206などのSAMチップ208の外部から処
理要求をSAMチップ208が受けた場合に行われるア
プリケーションプログラムAP_1,AP_2,AP_
3の実行を統括的に管理する。
The AP task 272 is, for example, an application program AP_1, AP_2, AP_2 executed when the SAM chip 208 receives a processing request from outside the SAM chip 208 such as the ASP server device 206.
3 is managed in a comprehensive manner.

【0032】決済処理手順タスク273は、図10に示
すように、SAMチップ208がASPサーバ装置20
6から、ICカード203に関する処理要求を受けたと
き、図6に示すAP選択用データ231に基づいて、当
該処理要求に含まれるICカード種別情報に対応するA
Pの識別情報を得て、当該AP識別情報に対応するアプ
リケーションプログラムAP_1,AP_2,AP_3
を選択して実行する。
As shown in FIG. 10, the payment processing procedure task 273 is executed when the SAM chip 208
6, when a processing request for the IC card 203 is received, based on the AP selection data 231 shown in FIG. 6, A corresponding to the IC card type information included in the processing request
P identification information is obtained, and application programs AP_1, AP_2, AP_3 corresponding to the AP identification information are obtained.
Select and execute.

【0033】AP間通信用タスク274は、アプリケー
ションプログラム間の通信を管理する。図11は、AP
間通信用タスク274の処理を説明するためのフローチ
ャートである。ここでは、アプリケーションプログラム
AP_1から、AP_2にデータを書き込むための通信
要求が出された場合を例示して説明する。 ステップST201:実行中のアプリケーションプログ
ラムAP_1が、AP_2へのデータ書込を示す通信要
求を出すと、ステップST202の処理が行われる。
The inter-AP communication task 274 manages communication between application programs. FIG.
It is a flowchart for demonstrating the process of the task 274 for intercommunications. Here, a case where a communication request for writing data to AP_2 is issued from the application program AP_1 will be described as an example. Step ST201: When the running application program AP_1 issues a communication request indicating data writing to AP_2, the process of step ST202 is performed.

【0034】ステップST202:ステップST201
で出された通信要求が、AP間通信用タスク274に受
け渡される。
Step ST202: Step ST201
Is transmitted to the inter-AP communication task 274.

【0035】ステップST203:AP間通信用タスク
274は、図7に示すAP間通信用データ232を参照
して、アプリケーションプログラムAP_1がAP_2
に対して通信を行うことができるか否かを判断する。
Step ST203: The inter-AP communication task 274 refers to the inter-AP communication data 232 shown in FIG.
It is determined whether communication can be performed with respect to.

【0036】ステップST204:AP間通信用タスク
274は、ステップST203で通信を行うことができ
ると判断した場合にはステップST205の処理を実行
し、そうでない場合には処理を終了する。当該例では、
図7から、アプリケーションプログラムAP_1はAP
_2に対して通信ができるので、ステップST205の
処理が実行される。
Step ST204: If the inter-AP communication task 274 determines in step ST203 that communication can be performed, it executes the processing of step ST205, and otherwise ends the processing. In this example,
From FIG. 7, the application program AP_1 is AP
_2, so that the process of step ST205 is performed.

【0037】ステップST205:AP間通信用タスク
274の制御によって、アプリケーションプログラムA
P_1が、図5に示すAP間通信用記憶領域233にデ
ータを書き込む。
Step ST205: The application program A is controlled by the control of the inter-AP communication task 274.
P_1 writes data in the inter-AP communication storage area 233 shown in FIG.

【0038】ステップST206:AP間通信用タスク
274は、データが書き込まれた旨をアプリケーション
プログラムAP_2に通知する。
Step ST206: The inter-AP communication task 274 notifies the application program AP_2 that data has been written.

【0039】ステップST207:アプリケーションプ
ログラムAP_2は、ステップST206で受けた通知
に応じて、AP間通信用記憶領域233からデータを読
み出す。これにより、ファイアウォールを中継したアプ
リケーションプログラムAP_1,AP_2間の通信が
完了する。
Step ST207: The application program AP_2 reads data from the inter-AP communication storage area 233 in response to the notification received in step ST206. This completes the communication between the application programs AP_1 and AP_2 that have relayed through the firewall.

【0040】SAM間通信用タスク275は、図12に
示すように、必要に応じて、例えば、SAMチップ20
8以外のSAMチップ208xのSAM間通信用タスク
275を起動して、当該SAMチップ208xのSAM
間通信用タスク275にリモートコマンドを発行するこ
とができる。このようなリモートコマンドは、例えば、
SAMチップ208の処理負荷が大きくなり、処理を適
切に行えない場合に、SAMチップ208のSAM間通
信用タスク275が、SAMチップ208xのSAM間
通信用タスク275にリモートコマンドを発行し、SA
Mチップ208に割り当てられた処理の少なくとも一部
の実行をSAMチップ208xに依頼する。
As shown in FIG. 12, the inter-SAM communication task 275 is, for example,
8 starts the inter-SAM communication task 275 of the SAM chip 208x other than the SAM chip 208x.
A remote command can be issued to the inter-communication task 275. Such a remote command is, for example,
When the processing load on the SAM chip 208 increases and the processing cannot be performed properly, the inter-SAM communication task 275 of the SAM chip 208 issues a remote command to the inter-SAM communication task 275 of the SAM chip 208x, and the SA
The SAM chip 208x is requested to execute at least a part of the processing assigned to the M chip 208.

【0041】以下、図1に示す通信システム201の全
体動作について説明する。図13は、図1に示す通信シ
ステム201の全体動作を説明するための図である。 ステップST231:事業者215_1〜215_3あ
るいはこれら事業者の依頼を受けた者が、当該事業者が
ICカード203を用いて行う取り引きについての処理
を行うためのアプリケーションプログラムAP_1,A
P_2,AP_3を、図1に示すパーソナルコンピュー
タ216_1,216_2,216_3上で作成する。
Hereinafter, the overall operation of the communication system 201 shown in FIG. 1 will be described. FIG. 13 is a diagram for explaining the overall operation of the communication system 201 shown in FIG. Step ST231: Application programs AP_1 and A for the businesses 215_1 to 215_3 or those who have received the requests of these businesses to perform the processing for the transactions performed by the businesses using the IC card 203.
P_2 and AP_3 are created on the personal computers 216_1, 216_2 and 216_3 shown in FIG.

【0042】ステップST232:アプリケーションプ
ログラムAP_1,AP_2,AP_3を、認証用ユニ
ット217_1,217_2,217_3を介して、パ
ーソナルコンピュータ216_1,216_2,216
_3からSAMチップ208にダウンロードする。
Step ST232: The application programs AP_1, AP_2, AP_3 are transmitted to the personal computers 216_1, 216_2, 216 via the authentication units 217_1, 217_2, 217_3.
_3 to the SAM chip 208.

【0043】ステップST233:ユーザにICカード
203が発行される。図4に示すように、ICカード2
03のIC203aには、ユーザが契約を行った事業者
との取り引きに用いられる鍵情報が記憶されている。な
お、ユーザと事業者との間の契約は、ICカード203
の発行後に、インターネット210などを介して行って
もよい。
Step ST233: The IC card 203 is issued to the user. As shown in FIG.
The IC 203a of 03 stores key information used for dealings with a business operator with whom the user has made a contract. Note that the contract between the user and the operator is based on the IC card 203.
May be performed via the Internet 210 or the like.

【0044】ステップST234:例えば、ユーザがパ
ーソナルコンピュータ205を用いてインターネット2
10を介してサーバ装置202にアクセスを行い、商品
を購入しようとした場合に、サーバ装置202がインタ
ーネット210を介してASPサーバ装置206に処理
要求を出す。ASPサーバ装置206は、サーバ装置2
02から処理要求を受けると、インターネット210を
介してパーソナルコンピュータ205にアクセスを行
う。そして、カードリーダ・ライタ204が出したIC
カード203についての処理要求が、パーソナルコンピ
ュータ205、インターネット210およびASPサー
バ装置206を介してSAMチップ208に送信され
る。
Step ST234: For example, the user uses the personal computer 205 to connect to the Internet 2.
When the user accesses the server device 202 via the server 10 and tries to purchase a product, the server device 202 issues a processing request to the ASP server device 206 via the Internet 210. The ASP server device 206 is a server device 2
When a processing request is received from the personal computer 205, the personal computer 205 is accessed via the Internet 210. Then, the IC issued by the card reader / writer 204
A processing request for the card 203 is transmitted to the SAM chip 208 via the personal computer 205, the Internet 210, and the ASP server device 206.

【0045】ステップST235:SAMチップ208
が、ステップST234で受信した処理要求に応じて、
決済処理手順タスク273によってアプリケーションプ
ログラムを選択し、当該選択されたアプリケーションプ
ログラムを実行する。当該アプリケーションプログラム
の実行において、アプリケーションプログラム間での通
信が行われる場合には、AP間通信用タスク274によ
って、前述した図11で示したように行われる。
Step ST235: SAM chip 208
However, according to the processing request received in step ST234,
An application program is selected by the payment processing procedure task 273, and the selected application program is executed. In the execution of the application program, when communication between the application programs is performed, the communication is performed by the inter-AP communication task 274 as illustrated in FIG. 11 described above.

【0046】ステップST236:SAMチップ208
は、アプリケーションプログラムの実行結果をASPサ
ーバ装置206に出力する。
Step ST236: SAM chip 208
Outputs the execution result of the application program to the ASP server device 206.

【0047】以上説明したように、通信システム201
によれば、図2および図5に示すように、アプリケーシ
ョンプログラムAP_1,AP_2,AP_3は、ファ
イアウォールによって相互間でのアクセスが制限されて
いるため、アプリケーションプログラムが不正に監視お
よび改竄されることを防止できる。また、各アプリケー
ションプログラムの秘匿性を高めることができる。
As described above, the communication system 201
According to FIG. 2, as shown in FIGS. 2 and 5, the application programs AP_1, AP_2, and AP_3 are restricted from being accessed by a firewall, thereby preventing the application programs from being illegally monitored and falsified. it can. Further, the confidentiality of each application program can be improved.

【0048】また、通信システム201によれば、図9
に示すAP間通信用タスク274が図5に示す外部メモ
リ207のAP管理用記憶領域221を用いて、図11
に示す処理を行うことで、予め許可された範囲内で、ア
プリケーションプログラム間の通信が許可される。その
ため、複数のアプリケーションプログラムを同期および
協調させて多様なサービスが提供できる。このような多
様なサービスとしては、例えば、図9に示す決済処理手
順タスク273によるアプリケーションプログラムの自
動選択がある。すなわち、同一レベルの処理内容であり
ながら、ICカード203の発行元により処理プロトコ
ルが異なる決済処理は、ICカード203の種別が判れ
ば、それに対応するアプリケーションプログラムが自動
的に決定できる。そのため、決済処理手順タスク273
のレベルで、決済処理を登録することで、ICカード2
03の種別とそれに対応するアプリケーションプログラ
ムを自動的に決定できる。これにより、アプリケーショ
ンプログラムの開発者の負担を軽減できる。
According to the communication system 201, FIG.
The inter-AP communication task 274 shown in FIG. 11 uses the AP management storage area 221 of the external memory 207 shown in FIG.
By performing the processing shown in (1), communication between application programs is permitted within a previously permitted range. Therefore, various services can be provided by synchronizing and coordinating a plurality of application programs. As such various services, for example, there is an automatic selection of an application program by a settlement processing procedure task 273 shown in FIG. In other words, if the type of the IC card 203 is known, the corresponding application program can be automatically determined for the settlement processing in which the processing protocol differs depending on the issuer of the IC card 203 even though the processing contents are the same level. Therefore, the payment processing procedure task 273
By registering payment processing at the level of IC card 2
03 and the corresponding application program can be automatically determined. Thereby, the burden on the developer of the application program can be reduced.

【0049】また、通信システム201によれば、外部
メモリ207に記憶される情報は、図8に示すSAMチ
ップ208のバススクランブル部262によってスクラ
ンブルされているため、外部からの解読に対して秘匿性
がある。
According to the communication system 201, the information stored in the external memory 207 is scrambled by the bus scramble unit 262 of the SAM chip 208 shown in FIG. There is.

【0050】また、通信システム201によれば、図9
に示すSAM間通信用タスク275を設けることで、S
AMチップ208の処理負荷を他のSAMチップに分散
させることが可能になる。そのため、複数の端末装置か
らの決済処理の処理要求を同時に扱う必要がある店舗の
サーバ装置などにSAMチップ208を搭載する場合に
は、SAM間通信用タスク275の機能を用いて、複数
のSAMチップ208を使用して決済処理能力を高める
ことができる。
According to the communication system 201, FIG.
By providing the inter-SAM communication task 275 shown in FIG.
The processing load of the AM chip 208 can be distributed to other SAM chips. Therefore, when the SAM chip 208 is mounted on a server device of a store or the like that needs to simultaneously handle processing requests for settlement processing from a plurality of terminal devices, a plurality of SAMs are used by using the function of the inter-SAM communication task 275. The chip 208 can be used to increase payment processing capability.

【0051】図14は、図8に示すSAMチップ208
の機能ブロックをより具体的にした機能ブロック図であ
る。図14に示すように、SAMチップ208は、内部
バス90を介して、ASPS通信インタフェース部26
0、外部メモリ通信インタフェース部261、バススク
ランブル部262、暗号・復号部265、記憶部266
およびCPU267が接続されている。図8に示す署名
処理部263および認証処理部264は、例えば、CP
U267によってその一部の機能が実現される。
FIG. 14 shows the SAM chip 208 shown in FIG.
FIG. 3 is a functional block diagram in which the functional blocks of FIG. As shown in FIG. 14, the SAM chip 208 is connected to the ASPS communication interface unit 26 via the internal bus 90.
0, external memory communication interface unit 261, bus scramble unit 262, encryption / decryption unit 265, storage unit 266
And a CPU 267 are connected. The signature processing unit 263 and the authentication processing unit 264 shown in FIG.
U267 realizes some of its functions.

【0052】図14に示すSAMチップ208では、例
えば図15に示すように、内部バス90に接続されたカ
ードI/F部91を、SAMチップ208の外部のRF
送受信部92に接続し、RF送受信部92のアンテナ9
2aを介して、ICカード203との間で非接触方式で
データを送受信してもよい。
In the SAM chip 208 shown in FIG. 14, for example, as shown in FIG. 15, the card I / F unit 91 connected to the internal bus 90 is connected to an RF signal outside the SAM chip 208.
The antenna 9 of the RF transceiver 92 is connected to the transceiver 92.
Data may be transmitted and received between the IC card 203 and the IC card 203 in a non-contact manner via 2a.

【0053】[0053]

【発明の効果】以上説明したように、本発明によれば、
同じ半導体回路上で複数のアプリケーションプログラム
を動作させる場合に、各アプリケーションプログラム
が、他のアプリケーションプログラムのユーザ等によっ
て不正に改竄および監視等されることを防止しながら、
必要に応じてアプリケーションプログラム相互間でのデ
ータ授受を認めるデータ処理方法、半導体回路およびプ
ログラムを提供することができる。
As described above, according to the present invention,
When operating a plurality of application programs on the same semiconductor circuit, while preventing each application program from being tampered with and monitored by another application program user or the like,
It is possible to provide a data processing method, a semiconductor circuit, and a program that allow data transfer between application programs as necessary.

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

【図1】図1は、本発明の実施形態の通信システムの全
体構成図である。
FIG. 1 is an overall configuration diagram of a communication system according to an embodiment of the present invention.

【図2】図2は、図1に示すSAMチップのソフトウェ
ア構成を説明するための図である。
FIG. 2 is a diagram for explaining a software configuration of the SAM chip shown in FIG. 1;

【図3】図3は、図1に示すICカードのICの機能ブ
ロック図である。
FIG. 3 is a functional block diagram of an IC of the IC card shown in FIG. 1;

【図4】図4は、図3に示す記憶部に記憶される情報を
説明するための図である。
FIG. 4 is a diagram for explaining information stored in a storage unit illustrated in FIG. 3;

【図5】図5は、図1に示すSAMユニットの外部メモ
リを説明するための図である。
FIG. 5 is a diagram for explaining an external memory of the SAM unit shown in FIG. 1;

【図6】図6は、図5に示すAP選択用データを説明す
るための図である。
FIG. 6 is a diagram for explaining the AP selection data shown in FIG. 5;

【図7】図7は、図5に示すAP間通信用データを説明
するための図である。
FIG. 7 is a diagram for explaining the inter-AP communication data shown in FIG. 5;

【図8】図8は、図1に示すSAMチップの機能ブロッ
ク図である。
FIG. 8 is a functional block diagram of the SAM chip shown in FIG. 1;

【図9】図9は、図8に示すCPUが実行するタスクを
説明するための図である。
FIG. 9 is a diagram for explaining a task executed by the CPU shown in FIG. 8;

【図10】図10は、図9に示す決済処理手順タスクの
機能を説明するための図である。
FIG. 10 is a diagram for explaining functions of a settlement processing procedure task shown in FIG. 9;

【図11】図11は、図9に示すAP間通信用タスクの
処理を説明するためのフローチャートである。
FIG. 11 is a flowchart for explaining processing of an inter-AP communication task shown in FIG. 9;

【図12】図12は、図9に示すSAM間通信用タスク
を説明するための図である。ある。
FIG. 12 is a diagram for explaining the inter-SAM communication task shown in FIG. 9; is there.

【図13】図13は、図1に示す通信システムの全体動
作を説明するための図である。
FIG. 13 is a diagram for explaining an overall operation of the communication system shown in FIG. 1;

【図14】図14は、図8に示すSAMチップの機能ブ
ロックをより具体的にした機能ブロック図である。
FIG. 14 is a more specific functional block diagram of the functional blocks of the SAM chip shown in FIG. 8;

【図15】図15は、SAMチップのその他の使用形態
を説明するための図である。
FIG. 15 is a diagram for explaining another usage form of the SAM chip.

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

201…通信システム、202…サーバ装置、203…
ICカード、204…カードリーダ・ライタ、205…
パーソナルコンピュータ、206…ASPサーバ装置、
207…外部メモリ、208…SAMチップ、209…
SAMユニット、210…インターネット、215_
1,215_2,215_3…クレジットカード事業
者、216_1,216_2,216_3…パーソナル
コンピュータ、217_1,217_2,217_3…
認証用ユニット
201: communication system, 202: server device, 203:
IC card, 204 ... Card reader / writer, 205 ...
Personal computer, 206 ... ASP server device,
207: external memory, 208: SAM chip, 209 ...
SAM unit, 210 ... Internet, 215_
1,215_2, 215_3 ... Credit card company, 216_1, 216_2, 216_3 ... Personal computer, 217_1, 217_2, 217_3 ...
Authentication unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06K 19/00 R Fターム(参考) 5B035 AA13 BB09 BC00 CA38 5B076 FA00 FB00 5B089 GB02 GB03 JA33 KA17 KB09 KB13 KC47 KC58 5B098 AA10 GC16 ────────────────────────────────────────────────── ─── of the front page continued (51) Int.Cl. 7 identification mark FI theme Court Bu (reference) G06K 19/00 R F-term (reference) 5B035 AA13 BB09 BC00 CA38 5B076 FA00 FB00 5B089 GB02 GB03 JA33 KA17 KB09 KB13 KC47 KC58 5B098 AA10 GC16

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】アプリケーションプログラムを実行する半
導体回路が行うデータ処理方法であって、 それぞれファイアウォールによって保護された複数のア
プリケーションプログラムを独立して実行し、 前記ファイアウォールを介して行われる前記アプリケー
ションプログラム間の通信を許可する条件を予め登録
し、 前記アプリケーションプログラムが他の前記アプリケー
ションプログラムとの通信要求を発生すると、当該通信
要求が前記登録された条件を満たしているか否かを判断
し、 前記登録された条件を満たしていると判断した場合に、
前記通信要求に応じた前記アプリケーションプログラム
間の通信を実行するデータ処理方法。
1. A data processing method performed by a semiconductor circuit executing an application program, wherein the plurality of application programs each protected by a firewall are independently executed, and a plurality of application programs are executed through the firewall. Registering conditions for permitting communication in advance, and when the application program generates a communication request with another application program, determine whether the communication request satisfies the registered condition, and If we determine that the conditions are met,
A data processing method for executing communication between the application programs in response to the communication request.
【請求項2】前記ファイアウォールを介した通信が許可
される前記通信要求の発生元のアプリケーションプログ
ラムと前記他のアプリケーションプログラムとの組み合
わせを示す情報を、前記通信を許可する条件として登録
する請求項1に記載のデータ処理方法。
2. The communication apparatus according to claim 1, wherein information indicating a combination of the application program which is the source of the communication request and the other application program which is permitted to communicate through the firewall is registered as a condition for permitting the communication. The data processing method described in 1.
【請求項3】前記半導体回路が当該半導体回路の外部か
ら処理要求を受けると、 前記複数のアプリケーションプログラムのうち、前記処
理要求に対応したアプリケーションプログラムを選択
し、 当該選択したアプリケーションプログラムに基づいて、
前記処理要求に応じた処理を行う請求項1に記載のデー
タ処理方法。
3. When the semiconductor circuit receives a processing request from outside the semiconductor circuit, an application program corresponding to the processing request is selected from the plurality of application programs, and based on the selected application program,
2. The data processing method according to claim 1, wherein the processing is performed according to the processing request.
【請求項4】前記アプリケーションプログラム間の通信
に伴うデータの授受を、前記半導体回路の外部の半導体
記憶装置の所定の記憶領域を用いて行う請求項1に記載
のデータ処理方法。
4. The data processing method according to claim 1, wherein transmission and reception of data accompanying communication between said application programs is performed using a predetermined storage area of a semiconductor memory device external to said semiconductor circuit.
【請求項5】データ授側のアプリケーションプログラム
が、前記所定の記憶領域にデータを書き込み、 当該書き込みが行われたことをデータ受側のアプリケー
ションプログラムに通知し、 当該通知に応じて、前記データ受側のアプリケーション
プログラムが、前記所定の記憶領域から前記データを読
み取る請求項4に記載のデータ処理方法。
5. An application program on the data transfer side writes data to the predetermined storage area, notifies the application program on the data reception side that the writing has been performed, and in response to the notification, receives the data on the data reception side. The data processing method according to claim 4, wherein the application program on the side reads the data from the predetermined storage area.
【請求項6】前記所定の記憶領域に対してのアクセス要
求が発生した場合に、ファイアウォールによって当該ア
クセスの正当性を判断し、正当であると判断されたアク
セス要求に対してのみ前記所定の記憶領域へのアクセス
を認める請求項4に記載のデータ処理方法。
6. When a request for access to said predetermined storage area is issued, the validity of said access is determined by a firewall, and said predetermined storage is performed only for an access request determined to be valid. 5. The data processing method according to claim 4, wherein access to the area is permitted.
【請求項7】前記アプリケーションプログラム間の通信
に伴って授受されるデータをスクランブルした後に前記
所定の記憶領域に記憶する請求項4に記載のデータ処理
方法。
7. The data processing method according to claim 4, wherein data transmitted and received along with communication between said application programs is scrambled and then stored in said predetermined storage area.
【請求項8】前記半導体回路は、前記アプリケーション
プログラムの実行に伴う処理の少なくとも一部を、他の
半導体回路に依頼する請求項1に記載のデータ処理方
法。
8. The data processing method according to claim 1, wherein the semiconductor circuit requests another semiconductor circuit to perform at least a part of a process accompanying execution of the application program.
【請求項9】それぞれファイアウォールによって保護さ
れた複数のアプリケーションプログラムを独立して実行
し、 前記ファイアウォールを介して行われる前記アプリケー
ションプログラム間の通信を許可する条件を予め登録
し、 前記アプリケーションプログラムが他の前記アプリケー
ションプログラムとの通信要求を発生すると、当該通信
要求が前記登録された条件を満たしているか否かを判断
し、 前記登録された条件を満たしていると判断した場合に、
前記通信要求に応じた前記アプリケーションプログラム
間の通信を実行する半導体回路。
9. A program for independently executing a plurality of application programs each protected by a firewall, pre-registering conditions for permitting communication between the application programs through the firewall, and When a communication request with the application program is generated, it is determined whether the communication request satisfies the registered condition.If it is determined that the registered condition is satisfied,
A semiconductor circuit that executes communication between the application programs in response to the communication request;
【請求項10】前記ファイアウォールを介した通信が許
可される前記通信要求の発生元のアプリケーションプロ
グラムと前記他のアプリケーションプログラムとの組み
合わせを示す情報を、前記通信を許可する条件として登
録する請求項9に記載の半導体回路。
10. The information indicating a combination of the application program that has generated the communication request and the other application program that is permitted to communicate through the firewall is registered as a condition for permitting the communication. 3. The semiconductor circuit according to claim 1.
【請求項11】外部から処理要求を受けると、 前記複数のアプリケーションプログラムのうち、前記処
理要求に対応したアプリケーションプログラムを選択
し、 当該選択したアプリケーションプログラムに基づいて、
前記処理要求に応じた処理を行う請求項9に記載の半導
体回路。
11. When a processing request is received from the outside, an application program corresponding to the processing request is selected from the plurality of application programs, and based on the selected application program,
The semiconductor circuit according to claim 9, wherein the semiconductor circuit performs processing according to the processing request.
【請求項12】前記アプリケーションプログラム間の通
信に伴うデータの授受を、前記半導体回路の外部の半導
体記憶装置の所定の記憶領域を用いて行う請求項9に記
載の半導体回路。
12. The semiconductor circuit according to claim 9, wherein transmission and reception of data accompanying communication between said application programs is performed using a predetermined storage area of a semiconductor memory device external to said semiconductor circuit.
【請求項13】データ授側のアプリケーションプログラ
ムに、前記所定の記憶領域にデータを書き込ませ、 当該書き込みが行われたことをデータ受側のアプリケー
ションプログラムに通知し、 当該通知に応じて、前記データ受側のアプリケーション
プログラムに、前記所定の記憶領域から前記データを読
み取らせる請求項12に記載の半導体回路。
13. An application program on the data transfer side writes data to the predetermined storage area, and notifies the application program on the data reception side that the writing has been performed. 13. The semiconductor circuit according to claim 12, wherein a receiving-side application program reads the data from the predetermined storage area.
【請求項14】前記所定の記憶領域に対してのアクセス
要求が発生した場合に、ファイアウォールによって当該
アクセスの正当性を判断し、正当であると判断されたア
クセス要求に対してのみ前記所定の記憶領域へのアクセ
スを認める請求項12に記載の半導体回路。
14. When an access request to the predetermined storage area is issued, the validity of the access is determined by a firewall, and only the access request determined to be valid is stored in the predetermined storage area. 13. The semiconductor circuit according to claim 12, wherein access to the area is permitted.
【請求項15】前記アプリケーションプログラム間の通
信に伴って授受されるデータをスクランブルした後に前
記所定の記憶領域に記憶する請求項12に記載の半導体
回路。
15. The semiconductor circuit according to claim 12, wherein data transmitted / received along with the communication between the application programs is scrambled and then stored in the predetermined storage area.
【請求項16】前記アプリケーションプログラムの実行
に伴う処理の少なくとも一部を、他の半導体回路に依頼
する請求項9に記載の半導体回路。
16. The semiconductor circuit according to claim 9, wherein at least a part of a process accompanying the execution of the application program is requested to another semiconductor circuit.
【請求項17】それぞれファイアウォールによって保護
された複数のアプリケーションプログラムを独立して実
行する手順と、 前記ファイアウォールを介して行われる前記アプリケー
ションプログラム間の通信を許可する条件を予め登録す
る手順と、 前記アプリケーションプログラムが他の前記アプリケー
ションプログラムとの通信要求を発生すると、当該通信
要求が前記登録された条件を満たしているか否かを判断
する手順と、 前記登録された条件を満たしていると判断した場合に、
前記通信要求に応じた前記アプリケーションプログラム
間の通信を実行する手順とを半導体回路に実行させるプ
ログラム。
17. A procedure for independently executing a plurality of application programs each protected by a firewall, a procedure for registering in advance a condition for permitting communication between the application programs through the firewall, When the program generates a communication request with another application program, a procedure for determining whether the communication request satisfies the registered condition, and when determining that the registered condition is satisfied, ,
Executing a communication between the application programs in response to the communication request.
JP2001039969A 2001-02-16 2001-02-16 Data processing method, semiconductor circuit and program Pending JP2002244755A (en)

Priority Applications (17)

Application Number Priority Date Filing Date Title
JP2001039969A JP2002244755A (en) 2001-02-16 2001-02-16 Data processing method, semiconductor circuit and program
SG200505137-0A SG140467A1 (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
PCT/JP2002/001324 WO2002065287A1 (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
CN200610077336.3A CN100481103C (en) 2001-02-16 2002-02-15 Data for processing method and apparatus
SG200505138-8A SG143976A1 (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
HK04104630.4A HK1062722B (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 device thereof
SG200505135-4A SG132507A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
EP02700588A EP1361511A4 (en) 2001-02-16 2002-02-15 DATA PROCESSING METHOD AND CORRESPONDING APPARATUS
CN200910004389.6A CN101526982B (en) 2001-02-16 2002-02-15 Data processing method and the device thereof
SG200505136-2A SG143064A1 (en) 2001-02-16 2002-02-15 Data processing method and its apparatus
SG200505141-2A SG143065A1 (en) 2001-02-16 2002-02-15 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 HK1098849B (en) 2001-02-16 2007-05-16 Data processing method and its apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001039969A JP2002244755A (en) 2001-02-16 2001-02-16 Data processing method, semiconductor circuit and program

Publications (1)

Publication Number Publication Date
JP2002244755A true JP2002244755A (en) 2002-08-30

Family

ID=18902662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001039969A Pending JP2002244755A (en) 2001-02-16 2001-02-16 Data processing method, semiconductor circuit and program

Country Status (2)

Country Link
JP (1) JP2002244755A (en)
CN (1) CN100481103C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006146420A (en) * 2004-11-17 2006-06-08 Yokogawa Electric Corp Field device and system using the same
JP2007219786A (en) * 2006-02-16 2007-08-30 Hitachi Software Eng Co Ltd System for preventing information leakage by unknown malware
JP2012503810A (en) * 2008-09-30 2012-02-09 ジェムアルト エスアー Regulators of commands sent out for sensitive applications
JP2012195940A (en) * 2011-03-16 2012-10-11 Samsung Sds Co Ltd Device capable of providing packet filtering of system-on-chip board, and packet filtering method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605622B (en) * 2013-11-19 2016-06-22 北京邮电大学 A kind of method and apparatus transmitting data
CN107609428A (en) * 2017-08-16 2018-01-19 大唐高鸿信安(浙江)信息科技有限公司 Date safety storing system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07168788A (en) * 1993-10-28 1995-07-04 Casio Comput Co Ltd How to use the card
JPH08272625A (en) * 1995-03-29 1996-10-18 Toshiba Corp Multi-program execution control device and method
JPH09167135A (en) * 1995-12-15 1997-06-24 Fujitsu Ltd Processing share determination system, apparatus and method
JP2000010782A (en) * 1998-06-18 2000-01-14 Hitachi Ltd Communication control system between client components
JP2000194799A (en) * 1998-12-24 2000-07-14 Dainippon Printing Co Ltd Portable signal processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07168788A (en) * 1993-10-28 1995-07-04 Casio Comput Co Ltd How to use the card
JPH08272625A (en) * 1995-03-29 1996-10-18 Toshiba Corp Multi-program execution control device and method
JPH09167135A (en) * 1995-12-15 1997-06-24 Fujitsu Ltd Processing share determination system, apparatus and method
JP2000010782A (en) * 1998-06-18 2000-01-14 Hitachi Ltd Communication control system between client components
JP2000194799A (en) * 1998-12-24 2000-07-14 Dainippon Printing Co Ltd Portable signal processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006146420A (en) * 2004-11-17 2006-06-08 Yokogawa Electric Corp Field device and system using the same
JP2007219786A (en) * 2006-02-16 2007-08-30 Hitachi Software Eng Co Ltd System for preventing information leakage by unknown malware
JP2012503810A (en) * 2008-09-30 2012-02-09 ジェムアルト エスアー Regulators of commands sent out for sensitive applications
JP2012195940A (en) * 2011-03-16 2012-10-11 Samsung Sds Co Ltd Device capable of providing packet filtering of system-on-chip board, and packet filtering method

Also Published As

Publication number Publication date
CN100481103C (en) 2009-04-22
CN1892665A (en) 2007-01-10

Similar Documents

Publication Publication Date Title
JP4391375B2 (en) Information management apparatus and method, and program
US8141057B2 (en) Data processing apparatus and associated method
US8190885B2 (en) Non-volatile memory sub-system integrated with security for storing near field transactions
JP4516399B2 (en) Information processing apparatus and method, and program
US20040044625A1 (en) Digital contents issuing system and digital contents issuing method
EP2003589B1 (en) Authentication information management system, server, method and program
JP2006109307A (en) Information processing apparatus, information processing method, and program
JP3783608B2 (en) COMMUNICATION METHOD, COMMUNICATION SYSTEM, DATA PROCESSING DEVICE, SERVER DEVICE, AND PROGRAM
US20050015609A1 (en) Storage apparatus and access system
HK1043675B (en) Authentication system, authentication method, authentication apparatus, and authentication method therefor
US7716477B2 (en) Data processing method, program of the same, and device of the same
US7272715B2 (en) Communications method, data processing apparatus, and program
JP4597568B2 (en) Secure device, information processing terminal, and information processing system
JP7156889B2 (en) Payment processing method
JP2002244755A (en) Data processing method, semiconductor circuit and program
JP4236830B2 (en) Storage device with upload function
JP4453678B2 (en) Data processing method and data processing system
US20060101265A1 (en) Data processing method, program thereof and device thereof
JP4670158B2 (en) Data processing method and semiconductor circuit
JP2002244756A (en) Data processing method, semiconductor circuit and authentication device
JP4708754B2 (en) Server client system, client, data processing method, and program
JP4765174B2 (en) Application execution apparatus, communication system, and application execution method
JP2002244925A (en) Semiconductor circuit and data processing method
KR100712835B1 (en) Secure data storage
TWM583978U (en) System of using physical carrier to store digital certificate for performing online transaction

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101130

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110329