JP5457496B2 - 携帯型データ記憶媒体のメモリ管理 - Google Patents
携帯型データ記憶媒体のメモリ管理 Download PDFInfo
- Publication number
- JP5457496B2 JP5457496B2 JP2012105134A JP2012105134A JP5457496B2 JP 5457496 B2 JP5457496 B2 JP 5457496B2 JP 2012105134 A JP2012105134 A JP 2012105134A JP 2012105134 A JP2012105134 A JP 2012105134A JP 5457496 B2 JP5457496 B2 JP 5457496B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- memory area
- program
- data storage
- area
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
- G07F7/08—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
- G07F7/10—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
- G07F7/1008—Active credit-cards provided with means to personalise their use, e.g. with PIN-introduction/comparison system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/341—Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
- G07F7/08—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
- G07F7/0806—Details of the card
- G07F7/0833—Card having specific functional components
- G07F7/084—Additional components relating to data transfer and storing, e.g. error detection, self-diagnosis
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Devices For Executing Special Programs (AREA)
- Stored Programmes (AREA)
Description
したがって、RAM内の少ないメモリスペースの利用度を向上させ、メモリ管理を自動化することが望まれる。
12 プロセッサ
14 インタフェース回路
16 固定メモリ
18 不揮発性メモリ
20 読出し/書込みメモリ
30 プログラム
32 スタックメモリ
34 第1のメモリ領域
36 第2のメモリ領域
38、40、44 オブジェクト
42 永続リファレンス
48 占有状態指標
Claims (19)
- プログラムの実行中に生成されるオブジェクトを格納するための第1および第2のメモリ領域を有する携帯型データ記憶媒体によって前記プログラムの実行中にメモリを管理する方法であって、前記第2のメモリ領域への書込み動作が前記第1のメモリ領域への書込み動作よりも高速に実施される方法であり、
プログラムの特定のメソッド実行の結果として生成されるオブジェクトの少なくとも一部を前記第2のメモリ領域に作成するステップと、
更なるプログラムの実行中に、前記オブジェクトへの永続的に格納されたリファレンスが生成されたかどうかを監視するステップ、
更なるプログラム実行中に、前記オブジェクトへの永続的に格納されたリファレンスが生成された場合に、前記オブジェクトを前記第1のメモリ領域に転送するステップと、
前記実行によりオブジェクトを作成した前記特定のメソッドであって、受信データパケットを処理するためのプロセスメソッドである特定のメソッドの終了時に、前記特定のメソッドが、前記特定のメソッドが呼び出されてから当該特定のメソッドにより新たに占有された第2のメモリ領域の特定の部分に存在するオブジェクトへのリファレンスをリターンしたか否かをチェックし、該チェックにおいて、前記特定のメソッドが前記第2のメモリ領域の特定の部分に存在するオブジェクトへのリファレンスをリターンしないと判断されたときに、前記第2のメモリ領域の占有状態を示す占有状態指標を前記特定のメソッドが呼び出された時点における占有状態にリセットすることで、前記第2のメモリ領域のメモリスペースを前記特定のメソッドが呼び出された時点のレベルまで解放することを実施するステップとを有することを特徴とする方法。 - 前記永続的なリファレンスが生成されたどうかを監視するステップが、前記永続的に可能されたリファレンスが生成され、または修正されるたびに実行されることを特徴とする請求項1に記載の方法。
- オブジェクトを前記第2のメモリ領域に作成するときに、必要となるであろう前記オブジェクトの転送のための十分なスペースが第1のメモリ領域内で利用できるか否か確認することを特徴とする請求項1又は2に記載の方法。
- 前記プログラムのインストール中に生成するオブジェクトを前記第1のメモリ領域に作成することを特徴とする請求項1〜3のいずれか1項に記載の方法。
- ソースプログラムからの前記プログラムの生成時にローカルオブジェクトと識別されたオブジェクトだけを、最初に前記第2のメモリ領域に作成することを特徴とする請求項1〜4のいずれか1項に記載の方法。
- 前記オブジェクトが、例外発生時に生成される例外オブジェクトであることを特徴とする請求項1〜4のいずれか1項に記載の方法。
- 前記オブジェクトが、暗号化動作のために一時的に必要とされるオブジェクトであることを特徴とする請求項1〜4のいずれか1項に記載の方法。
- 前記特定のメソッドが、前記チェックするステップにおいて前記特定のメソッドが前記第2のメモリ領域の特定の部分に存在するオブジェクトへのリファレンスをリターンしないと判断されたとき、前記特定のメソッドが呼び出された時点における占有状態指標の値が、前記特定のメソッドの終了後の更なる使用に引き継がれることを特徴とする請求項1〜7のいずれか1項に記載の方法。
- 前記占有状態指標が第2のメモリ領域の空きメモリの開始を示し、前記占有状態指標を前記特定のメソッドが呼び出された時点のものにリセットすることにより、前記特定のメソッドにより生成されたオブジェクトが占有していた第2のメモリ領域のメモリスペースが解放されることを特徴とする請求項1〜8のいずれか1項に記載の方法。
- コンパイラにより、ソースプログラムを、携帯型データ記憶媒体によって実行されるようになっているプログラムに変換する方法であって、前記データ記憶媒体が、前記プログラムの実行中に生成されるオブジェクトを格納するための第1および第2のメモリ領域を有し、前記第2のメモリ領域への書込み動作が前記第1のメモリ領域への書込み動作よりも高速に実施される方法において、
前記ソースプログラムの、前記オブジェクトの生成をもたらす部分の変換に際して、前記コンパイラが前記ソースプログラムの部分を解析し、前記オブジェクトへの永続的に格納されたリファレンスが、前記ソースプログラムの被変換部分に後続するプログラム実行の間に生成される否かを判断し、該判断の結果に応じて、前記コンパイラが、前記オブジェクトを前記第1のメモリ領域に作成するプログラムコードを生成するか、または前記オブジェクトの少なくとも一部を前記第2のメモリ領域に作成するプログラムコードを生成することを特徴とする方法。 - 生成された前記プログラムが前記携帯型データ記憶媒体によって実行されることで、請求項1〜9のいずれか1項に係る方法が実行されるようになっていることを特徴とする請求項10に記載の方法。
- 前記第2のメモリ領域に形成されるオブジェクトが、一時的にのみ必要とされるローカルオブジェクトであることを特徴とする請求項1〜11のいずれか1項に記載の方法。
- 前記第2のメモリ領域が、ローカルヒープ形式のメモリ領域であることを特徴とする請求項1〜11のいずれか1項に記載の方法。
- 前記第2のメモリ領域が使用されている領域と空き領域とを有するヒープメモリとして組織化されており、前記占有状態指標は、前記第2のメモリ領域の使用されている領域と空き領域との境界を示す請求項1〜11いずれか1項に記載の方法。
- 前記第2のメモリ領域が、スタックメモリ内に配置されることを特徴とする請求項1から14のいずれか1項に記載の方法。
- 前記データ記憶媒体が「Java(登録商標) Card」であり、前記プログラムが「Java Card」アプレットであることを特徴とする請求項1〜15のいずれか1項に記載の方法。
- プロセッサおよび少なくとも1つのメモリを有し、前記メモリが、請求項1〜9にしたがう方法を前記プロセッサに実施させるプログラムコマンドを含んでいることを特徴とする携帯型データ記憶媒体。
- 前記携帯型データ記憶媒体がチップカードまたはチップモジュールである請求項17に記載の携帯型データ記憶媒体。
- 請求項10または請求項11に記載の特徴を有する方法をコンピュータに実施させるプログラムコマンドを備えていることを特徴とするコンパイラ。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE10320062A DE10320062A1 (de) | 2003-05-06 | 2003-05-06 | Speicherverwaltung bei einem tragbaren Datenträger |
DE10320062.2 | 2003-05-06 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006505369A Division JP2006525568A (ja) | 2003-05-06 | 2004-05-04 | 携帯型データ記憶媒体のメモリ管理 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012164350A JP2012164350A (ja) | 2012-08-30 |
JP5457496B2 true JP5457496B2 (ja) | 2014-04-02 |
Family
ID=33426673
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006505369A Pending JP2006525568A (ja) | 2003-05-06 | 2004-05-04 | 携帯型データ記憶媒体のメモリ管理 |
JP2012105134A Expired - Fee Related JP5457496B2 (ja) | 2003-05-06 | 2012-05-02 | 携帯型データ記憶媒体のメモリ管理 |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006505369A Pending JP2006525568A (ja) | 2003-05-06 | 2004-05-04 | 携帯型データ記憶媒体のメモリ管理 |
Country Status (6)
Country | Link |
---|---|
US (1) | US8819373B2 (ja) |
EP (1) | EP1623394A1 (ja) |
JP (2) | JP2006525568A (ja) |
CN (1) | CN1781127B (ja) |
DE (1) | DE10320062A1 (ja) |
WO (1) | WO2004100090A1 (ja) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100801894B1 (ko) * | 2006-06-15 | 2008-02-12 | 삼성전자주식회사 | 휴대용 단말기에서 메모리 용량을 고려한 프로그램 실행을위한 장치 및 방법 |
DE102006034375A1 (de) * | 2006-07-25 | 2008-01-31 | Giesecke & Devrient Gmbh | Personalisierung von tragbaren Datenträgern |
US8917165B2 (en) * | 2007-03-08 | 2014-12-23 | The Mitre Corporation | RFID tag detection and re-personalization |
US9196346B2 (en) * | 2008-01-23 | 2015-11-24 | Micron Technology, Inc. | Non-volatile memory with LPDRAM |
EP2196934A1 (en) * | 2008-12-09 | 2010-06-16 | Gemalto SA | Method for securing java bytecode |
JP6013103B2 (ja) * | 2012-09-20 | 2016-10-25 | 株式会社東芝 | Icカード |
US10430587B2 (en) * | 2015-10-28 | 2019-10-01 | Hrl Laboratories, Llc | System and method for maintaining security tags and reference counts for objects in computer memory |
WO2021120140A1 (en) | 2019-12-20 | 2021-06-24 | Intel Corporation | Managing runtime apparatus for tiered object memory placement |
DE102022001682A1 (de) | 2022-05-12 | 2023-11-16 | Giesecke+Devrient ePayments GmbH | Secure Element mit Heap-Speicher |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4829169A (en) * | 1985-07-01 | 1989-05-09 | Toppan Moore Company, Inc. | IC card having state marker for record access |
EP0955577B1 (en) | 1998-05-04 | 2011-11-30 | International Business Machines Corporation | Method and device for creating an object in a non-persistent memory and/or keeping accessibility to said object |
EP0964370B1 (en) | 1998-06-05 | 2003-08-20 | International Business Machines Corporation | Method and device for loading instruction codes to a memory and linking said instruction codes |
JP3749798B2 (ja) | 1998-12-01 | 2006-03-01 | 株式会社東芝 | Icカードにおけるデータ書込方法およびicカードにおけるデータ読込方法 |
JP2001067210A (ja) * | 1999-08-30 | 2001-03-16 | Toshiba Corp | Icカードとicカードにおけるアプリケーションのインストール方法 |
JP4398619B2 (ja) * | 1999-11-30 | 2010-01-13 | 株式会社東芝 | Icカードとこのicカードにおける揮発性メモリの管理方法 |
DE10040974A1 (de) * | 2000-08-22 | 2002-03-14 | Giesecke & Devrient Gmbh | Verfahren zur virtuellen Vergrößerung des Stacks eines tragbaren Datenträgers |
-
2003
- 2003-05-06 DE DE10320062A patent/DE10320062A1/de not_active Withdrawn
-
2004
- 2004-05-04 EP EP04730985A patent/EP1623394A1/de not_active Withdrawn
- 2004-05-04 JP JP2006505369A patent/JP2006525568A/ja active Pending
- 2004-05-04 CN CN2004800113199A patent/CN1781127B/zh not_active Expired - Fee Related
- 2004-05-04 WO PCT/EP2004/004723 patent/WO2004100090A1/de active Application Filing
- 2004-05-04 US US10/555,704 patent/US8819373B2/en not_active Expired - Fee Related
-
2012
- 2012-05-02 JP JP2012105134A patent/JP5457496B2/ja not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1781127A (zh) | 2006-05-31 |
US20070016744A1 (en) | 2007-01-18 |
WO2004100090A1 (de) | 2004-11-18 |
CN1781127B (zh) | 2010-10-20 |
EP1623394A1 (de) | 2006-02-08 |
JP2006525568A (ja) | 2006-11-09 |
JP2012164350A (ja) | 2012-08-30 |
US8819373B2 (en) | 2014-08-26 |
DE10320062A1 (de) | 2004-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5457496B2 (ja) | 携帯型データ記憶媒体のメモリ管理 | |
JP4571710B2 (ja) | ディスパッチテーブル構造のための方法と装置 | |
US7107579B2 (en) | Preserving program context when adding probe routine calls for program instrumentation | |
US7406684B2 (en) | Compiler, dynamic compiler, and replay compiler | |
US20050172302A1 (en) | Method, system, program and data structure for controlling access to sensitive functions | |
US6925639B2 (en) | Method and system for register allocation | |
US20060101437A1 (en) | Data processing device and method | |
CN116661910B (zh) | 一种应用调用的方法及装置 | |
US20040015972A1 (en) | Executing native code in place of non-native code | |
US7702872B2 (en) | Java smart card chip having memory area reserved for global variables | |
EP1421478B1 (en) | Method and apparatus for linking converted applet files | |
US7025261B2 (en) | Method and system for managing data designed to be stored in a programmable smart card | |
WO2002091175A1 (en) | Specialized heaps for creation of objects in object-oriented environments | |
CN113835620A (zh) | 一种提高安全芯片应用执行效率的方法及系统 | |
US6772171B1 (en) | Method and device for creating an object in a non-persistent memory and/or keeping accessibility to said object | |
US6499094B1 (en) | Management of memory heap space for data files accessible to programs operating in different addressing modes | |
US6275985B1 (en) | Method and apparatus for developing an application that implements garbage collection efficiently by combining proxy objects with compiler support | |
US6736325B1 (en) | Codelets | |
US6275982B1 (en) | Method and device enabling a fixed program to be developed | |
KR101140522B1 (ko) | 객체 관리 시스템 및 방법 | |
KR20000062382A (ko) | 응용 프로그램을 칩 카드 내에 로딩하기 위한 방법 | |
JP2003256215A (ja) | プログラム変換方法、これを用いたデータ処理装置及びプログラム | |
CN116382785B (zh) | 用于数据处理的方法及装置、计算设备及存储介质 | |
CN117785728A (zh) | 数据处理方法和装置 | |
CN115269119A (zh) | 一种多系统智能卡及应用实现方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120601 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120601 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130416 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20130716 |
|
A602 | Written permission of extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A602 Effective date: 20130719 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20130813 |
|
A602 | Written permission of extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A602 Effective date: 20130816 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20130912 |
|
A602 | Written permission of extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A602 Effective date: 20130918 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131016 |
|
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: 20131210 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140109 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5457496 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |