[go: up one dir, main page]

JP5262089B2 - Computer apparatus mounted on IC card and processing method thereof - Google Patents

Computer apparatus mounted on IC card and processing method thereof Download PDF

Info

Publication number
JP5262089B2
JP5262089B2 JP2007311282A JP2007311282A JP5262089B2 JP 5262089 B2 JP5262089 B2 JP 5262089B2 JP 2007311282 A JP2007311282 A JP 2007311282A JP 2007311282 A JP2007311282 A JP 2007311282A JP 5262089 B2 JP5262089 B2 JP 5262089B2
Authority
JP
Japan
Prior art keywords
execution program
execution
card
virtual machine
logical address
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.)
Active
Application number
JP2007311282A
Other languages
Japanese (ja)
Other versions
JP2009134625A (en
Inventor
達 井戸上
佳代 本谷
浩 大石
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.)
Toppan Inc
Original Assignee
Toppan Inc
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 Toppan Inc filed Critical Toppan Inc
Priority to JP2007311282A priority Critical patent/JP5262089B2/en
Publication of JP2009134625A publication Critical patent/JP2009134625A/en
Application granted granted Critical
Publication of JP5262089B2 publication Critical patent/JP5262089B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a computer device which effectively uses a memory which is mounted on an IC card. <P>SOLUTION: An execution program is stored in an address other than a logic address controlled by a virtual machine on an operating system. The execution program and its location which are associated are stored in association with each other in an entry point stored in the logic address controlled by the virtual machine. The execution instruction processing section of the operating system acquires the location of the execution program from the entry point on the basis of the execution instruction of the execution program, and then executes the execution program. <P>COPYRIGHT: (C)2009,JPO&amp;INPIT

Description

本発明は、ICカード内に実装されるコンピュータ装置とその処理方法に関する。   The present invention relates to a computer device mounted in an IC card and a processing method thereof.

従来ICカードに実装されるコンピュータ装置においては、そのコンピュータ装置のオペレーティングソフトウェア上の仮想マシンが実行するプログラムを、全て論理アドレスで制御している。なお、ICカード内に実装されるコンピュータ装置の仕様として特許文献1で示すようなJAVA Card(登録商標)と呼ばれる技術が開示されている。
Zhiqun Chen、「Java CardTM Technology for Smart Cards Architecture and Programmer’s Guide Foreword by Patrice Peyret」、Addison-Wesley Professonal、2000,p.36-37
In a conventional computer device mounted on an IC card, all programs executed by a virtual machine on the operating software of the computer device are controlled by logical addresses. A technique called JAVA Card (registered trademark) as disclosed in Patent Document 1 is disclosed as a specification of a computer device mounted in an IC card.
Zhiqun Chen, "Java CardTM Technology for Smart Cards Architecture and Programmer's Guide Foreword by Patrice Peyret", Addison-Wesley Professonal, 2000, p.36-37

ところで、ICカードに実装されるコンピュータ装置が保持するメモリサイズは限られているが、そのコンピュータ装置上で、多様なアプリケーションプログラムが実行できることが求められており、メモリ容量が不足するという問題が発生している。   By the way, although the memory size held by the computer device mounted on the IC card is limited, it is required that various application programs can be executed on the computer device, resulting in a problem of insufficient memory capacity. doing.

そこでこの発明は、ICカード等に実装されるコンピュータ装置上のメモリを有効利用することができる、コンピュータ装置及びその処理方法を提供することを目的としている。   SUMMARY OF THE INVENTION An object of the present invention is to provide a computer device and a processing method thereof that can effectively use a memory on the computer device mounted on an IC card or the like.

上記目的を達成するために、本発明は、オペレーティングソフトウェア上の仮想マシンが制御対象とする論理アドレス外のアドレスに実行プログラムと、前記仮想マシンが制御対象とする論理アドレス前記実行プログラムとその実行プログラムの位置を対応付けて記憶するエントリポイントと、を格納する格納部と、前記実行プログラムの実行指示に基づいて、前記エントリポイントから実行プログラムの位置を取得して、前記論理アドレス外の当該取得した位置に格納されている前記実行プログラムをロードしてその実行プログラムへの実行指示を行う実行指示手段と、を備えることを特徴とするICカードに実装されるコンピュータ装置である。 To achieve the above object, the present invention includes an execution program to the logical address outside of the address that the virtual machine on the operating software the control target, the and the execution the execution program to the logical address virtual machine control target An entry point that stores the program location in association with each other; a storage unit that stores the location; and an execution program location from the entry point based on an execution instruction of the execution program, and the acquisition outside the logical address An execution instructing unit that loads the execution program stored in the position and gives an execution instruction to the execution program. The computer device is mounted on an IC card .

また本発明は、ICカードに実装されるコンピュータ装置の処理方法であって、オペレーティングソフトウェア上の仮想マシンが制御対象とする論理アドレス外のアドレスに実行プログラムを記憶し、前記仮想マシンが制御対象とする論理アドレスに記憶するエントリポイントに、前記実行プログラムとその実行プログラムの位置を対応付けて記憶し、実行指示手段が、前記実行プログラムの実行指示に基づいて、前記エントリポイントから実行プログラムの位置を取得して、前記論理アドレス外の当該取得した位置に格納されている前記実行プログラムをロードしてその実行プログラムへの実行指示を行うことを特徴とする処理方法である。 The present invention also relates to a processing method of a computer device mounted on an IC card , wherein an execution program is stored at an address outside a logical address that is controlled by a virtual machine on operating software, and the virtual machine is controlled by The execution program and the position of the execution program are stored in association with the entry point stored in the logical address to be executed, and the execution instruction means determines the position of the execution program from the entry point based on the execution instruction of the execution program. The processing method is characterized in that the execution program stored in the acquired position outside the logical address is loaded and an execution instruction is given to the execution program.

本発明によれば、従来の実行プログラムの実装方法に比べて、利用する論理アドレスサイズを低減できるため、利用者は解放されたメモリ領域を、他のプログラムなどを格納する領域として自由に利用することができる。また、上述の処理においては、仮想マシン上で実行プログラムを動作させないため、仮想マシンでの処理ステップ数が少なく、計算処理速度を向上させることができる。   According to the present invention, the logical address size to be used can be reduced as compared with the conventional execution program mounting method. Therefore, the user can freely use the released memory area as an area for storing other programs. be able to. In the above-described processing, since the execution program is not operated on the virtual machine, the number of processing steps in the virtual machine is small, and the calculation processing speed can be improved.

以下、本発明の一実施形態によるICカード内のコンピュータ装置を図面を参照して説明する。図1は同実施形態によるICカード内のコンピュータ装置の構成を示すブロック図である。この図において、符号1はICカードの構成を示す図である。そして符号1はICカードであり、当該ICカード1において、11は演算処理を行うCPU(Central Processing Unit)、12はデータを一時的に記憶し、また様々なプログラム実行時にそのプログラムで利用する情報を記憶するRAM(Random Access Memory)、13はICカード1内の処理を制御するOS(Operating Software)を格納するマスクROM(Read Only Memory)、14はアプリケーションプログラムなどが格納されるEEPROM(Erasable Programmable ROM)である。   A computer apparatus in an IC card according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a computer device in the IC card according to the embodiment. In this figure, reference numeral 1 denotes a configuration of the IC card. Reference numeral 1 denotes an IC card. In the IC card 1, 11 is a CPU (Central Processing Unit) for performing arithmetic processing, 12 is temporarily stored data, and information used in the program when various programs are executed. RAM (Random Access Memory), 13 is a mask ROM (Read Only Memory) that stores an OS (Operating Software) that controls processing in the IC card 1, and 14 is an EEPROM (Erasable Programmable) that stores application programs and the like. ROM).

図2は従来とのプログラム記憶構成の比較を示す図である。
従来、ICカード内のコンピュータ装置で実装する実行プログラムは、OS上の仮想マシンが制御対象とするEEPROM14上の論理アドレス内に格納されている。しかしながら、EPROM14に多くのアプリケーションプログラムを格納する必要がある場合、そのメモリ領域を確保する必要がある。従って、本発明においてはEEPROM14上の論理アドレス外に実行プログラムを格納する。
FIG. 2 is a diagram showing a comparison of the program storage configuration with the conventional one.
Conventionally, an execution program mounted on a computer device in an IC card is stored in a logical address on the EEPROM 14 that is controlled by a virtual machine on the OS. However, when it is necessary to store many application programs in the EPROM 14, it is necessary to secure the memory area. Therefore, in the present invention, the execution program is stored outside the logical address on the EEPROM 14.

そして、本発明のICカード内のコンピュータ装置においては、OS上の仮想マシンが制御対象とする論理アドレス外のアドレスに実行プログラムを記憶し、仮想マシンが制御対象とする論理アドレスに記憶するエントリポイントに、実行プログラムとその実行プログラムの位置(物理アドレスまたはポインタ)を対応付けて記憶し、OSの実行指示処理部が、実行プログラムの実行指示に基づいて、エントリポイントから実行プログラムの位置を取得して、当該位置に格納されている実行プログラムをロードして実行処理を行う。   In the computer device in the IC card of the present invention, the execution point is stored at an address outside the logical address that is controlled by the virtual machine on the OS, and the entry point is stored at the logical address that is controlled by the virtual machine. The execution program and the position (physical address or pointer) of the execution program are stored in association with each other, and the execution instruction processing unit of the OS acquires the position of the execution program from the entry point based on the execution instruction of the execution program. Then, the execution program stored in the position is loaded to execute the execution process.

上述の構成により、従来の実行プログラムの実装方法に比べて、利用する論理アドレスサイズを低減できるため、利用者は解放されたメモリ領域を、他のプログラムなどを格納する領域として自由に利用することができる。また、上述の処理においては、仮想マシン上で実行プログラムを動作させないため、仮想マシンでの処理ステップ数が少なく、計算処理速度を向上させることができる。   With the above configuration, the size of the logical address to be used can be reduced as compared with the conventional execution program mounting method, so the user can freely use the released memory area as an area for storing other programs and the like. Can do. In the above-described processing, since the execution program is not operated on the virtual machine, the number of processing steps in the virtual machine is small, and the calculation processing speed can be improved.

なお、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.

ICカード内のコンピュータ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the computer apparatus in an IC card. 従来とのプログラム記憶構成の比較を示す図である。It is a figure which shows the comparison of the program storage structure with the past.

符号の説明Explanation of symbols

1・・・ICカード
11・・・CPU
12・・・RAM
13・・・マスクROM
14・・・EEPROM
1 ... IC card 11 ... CPU
12 ... RAM
13 ... Mask ROM
14 ... EEPROM

Claims (2)

オペレーティングソフトウェア上の仮想マシンが制御対象とする論理アドレス外のアドレスに実行プログラムと、前記仮想マシンが制御対象とする論理アドレス前記実行プログラムとその実行プログラムの位置を対応付けて記憶するエントリポイントと、を格納する格納部と、
前記実行プログラムの実行指示に基づいて、前記エントリポイントから実行プログラムの位置を取得して、前記論理アドレス外の当該取得した位置に格納されている前記実行プログラムをロードしてその実行プログラムへの実行指示を行う実行指示手段と、
を備えることを特徴とするICカードに実装されるコンピュータ装置。
An execution program at an address outside the logical address to be controlled by the virtual machine on the operating software, and an entry point for storing the execution program and the location of the execution program in association with the logical address to be controlled by the virtual machine; A storage unit for storing,
Based on the execution instruction of the execution program, the location of the execution program is acquired from the entry point, and the execution program stored at the acquired location outside the logical address is loaded and executed to the execution program. Execution instruction means for giving instructions;
A computer apparatus mounted on an IC card .
ICカードに実装されるコンピュータ装置の処理方法であって、
オペレーティングソフトウェア上の仮想マシンが制御対象とする論理アドレス外のアドレスに実行プログラムを記憶し、
前記仮想マシンが制御対象とする論理アドレスに記憶するエントリポイントに、前記実行プログラムとその実行プログラムの位置を対応付けて記憶し、
実行指示手段が、前記実行プログラムの実行指示に基づいて、前記エントリポイントから実行プログラムの位置を取得して、前記論理アドレス外の当該取得した位置に格納されている前記実行プログラムをロードしてその実行プログラムへの実行指示を行う
ことを特徴とする処理方法。
A processing method of a computer device mounted on an IC card ,
Store the execution program at an address outside the logical address that is controlled by the virtual machine on the operating software,
Store the execution program and the location of the execution program in association with the entry point stored in the logical address to be controlled by the virtual machine,
The execution instruction means acquires the position of the execution program from the entry point based on the execution instruction of the execution program, loads the execution program stored at the acquired position outside the logical address, and A processing method characterized by issuing an execution instruction to an execution program.
JP2007311282A 2007-11-30 2007-11-30 Computer apparatus mounted on IC card and processing method thereof Active JP5262089B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007311282A JP5262089B2 (en) 2007-11-30 2007-11-30 Computer apparatus mounted on IC card and processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007311282A JP5262089B2 (en) 2007-11-30 2007-11-30 Computer apparatus mounted on IC card and processing method thereof

Publications (2)

Publication Number Publication Date
JP2009134625A JP2009134625A (en) 2009-06-18
JP5262089B2 true JP5262089B2 (en) 2013-08-14

Family

ID=40866429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007311282A Active JP5262089B2 (en) 2007-11-30 2007-11-30 Computer apparatus mounted on IC card and processing method thereof

Country Status (1)

Country Link
JP (1) JP5262089B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1183449C (en) * 1996-10-25 2005-01-05 施卢默格系统公司 using a high level programming language with a microcontroller
US7146305B2 (en) * 2000-10-24 2006-12-05 Vcis, Inc. Analytical virtual machine

Also Published As

Publication number Publication date
JP2009134625A (en) 2009-06-18

Similar Documents

Publication Publication Date Title
JP5571201B2 (en) Limit memory area for read instructions based on hardware mode and security flags
CN108364251B (en) Vector processor with general register resource management
TW201224740A (en) Debugging of a data processing apparatus (2)
KR20170027125A (en) Computing system and method for processing operations thereof
US9201798B2 (en) Processor instruction based data prefetching
TW201342240A (en) Methods and system for resolving thread divergences
TW201706856A (en) Central processing unit with enhanced instruction set
CN112334874A (en) Transaction compare and discard instructions
JP2013225208A (en) Information processing apparatus, information processing method and program
JP5262089B2 (en) Computer apparatus mounted on IC card and processing method thereof
JP2014161410A5 (en)
JP2018526720A5 (en)
CN101107591B (en) Computer system and method for activating basic program therein
JP2017219931A (en) Information processing apparatus, information processing method, and program
US20050257008A1 (en) Program conversion apparatus and processor
CN104484286B (en) Data prefetching method based on location aware in Cache networks on piece
JP2019063362A5 (en)
US20110107312A1 (en) Method of interruption of meta language program code execution
JP2008191788A (en) Information processor
KR20110106114A (en) Registers, Processors, and Processor Control Methods
JP2013061810A (en) Information processor, information processor control method, and intermediate code instruction execution program
JP2007034514A (en) Information processor
CN110502348B (en) Service-based GPU instruction submission server
JP3988740B2 (en) Parallel processing device, instruction retry method, and program
JP5679263B2 (en) Information processing apparatus and microinstruction processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101026

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111020

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120905

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120911

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121112

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130415

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5262089

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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