CN100365652C - 对混合型便携式对象中的存储器的管理方法 - Google Patents

对混合型便携式对象中的存储器的管理方法 Download PDF

Info

Publication number
CN100365652C
CN100365652C CNB2004800170844A CN200480017084A CN100365652C CN 100365652 C CN100365652 C CN 100365652C CN B2004800170844 A CNB2004800170844 A CN B2004800170844A CN 200480017084 A CN200480017084 A CN 200480017084A CN 100365652 C CN100365652 C CN 100365652C
Authority
CN
China
Prior art keywords
storage block
mode
portable object
contactless
memory block
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
Application number
CNB2004800170844A
Other languages
English (en)
Other versions
CN1809834A (zh
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.)
Thales DIS France SA
Original Assignee
Axalto SA
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 Axalto SA filed Critical Axalto SA
Publication of CN1809834A publication Critical patent/CN1809834A/zh
Application granted granted Critical
Publication of CN100365652C publication Critical patent/CN100365652C/zh
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card
    • G06K19/07766Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card comprising at least a second communication arrangement in addition to a first non-contact communication arrangement
    • G06K19/07769Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card comprising at least a second communication arrangement in addition to a first non-contact communication arrangement the further communication means being a galvanic interface, e.g. hybrid or mixed smart cards having a contact and a non-contact interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)
  • Read Only Memory (AREA)
  • Electrotherapy Devices (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本发明涉及一种对混合型便携式对象内的存储器的管理方法,该混合型便携式对象的与相关主机的连接装置既包括电触点又包括远程连接装置,由此定义了一种叫“接触”方式的运行方式和一种叫“无接触”方式的运行方式,这两种方式可能是同时的。所述方法的特征在于:它包括如下步骤:在该便携式对象处于单独“无接触”方式期间,如果有任何擦除存储块的请求,就推迟擦除,并赋予这个块一个“将被擦除的存储块”属性;然后,在切换到“接触”方式后,启动擦除全部或部分具有“将被擦除的存储块”属性的存储块。

Description

对混合型便携式对象中的存储器的管理方法
技术领域
本发明涉及一种对“混合”型便携式对象中的存储器的管理方法,也就是说,该混合型便携式对象的与相关主机的连接装置既包括电触点又包括远程链接天线。正如对它所知道的那样,这种对象尤其可能以IC卡(例如信用卡、用在手机里的SIM卡,等等)的形式存在,包括一些信息处理装置和一个相关的非易失性存储器。本发明关注这种情况:该非易失性存储器包括一个具有如下特性的存储部件:
-存储器中写操作要求预先擦除存储器,但写操作在短时间内执行;
-擦除操作在长时间内执行,并需要大量的电能。
本发明尤其针对“快闪”(flash)类型的存储器。
背景技术
一个如混合型IC卡这样的便携式对象的“无接触”方式尤其具有如下具体限制:
-在卡与其主机之间实现的交易的速度应该高;
-卡中的可用电能级微弱。
如果我们对照这些限制和快闪存储器的特性,我们注意到:这种存储器就其写速度而言是适合装配混合型卡的,但就其擦除速度而言却不适合。
发明内容
本发明的目的是提出一种管理快闪存储器的擦除的方法,该方法容许给一个混合型便携式对象装备这样一个存储器。
根据本发明,我们决定在“无接触”方式下只执行读/写存储器的操作,将擦除操作保存到单独“接触”方式,除非可能在这两种方式同时被激活的情况下。我们已经证实:该解决方案令人满意,“接触”方式确实允许在长时间提供该擦除要求的大量电能。
更精确地说,本发明涉及一种对混合型便携式对象中的存储器的管理方法,该混合型便携式对象的与相关主机的连接装置既包括电镀触点又包括远程连接装置,由此定义了一种叫“接触”方式的运行方式和一种叫“无接触”方式的运行方式,这两种方式可能是同时的。所述方法的特征在于:它包括如下步骤:
■在该便携式对象处于单独“无接触”方式期间,当有任何擦除存储块的请求时推迟擦除,并给这个块赋予一个“将被擦除的存储块”的属性;然后,
■在切换到“接触”方式后,启动擦除全部或部分具有“将被擦除的存储块”属性的存储块。
有利的是,该方法包括这样的步骤:当有任何一个在一个确定的存储块的写请求时:
■如果该存储块已经存储了一个数据并且该便携式对象处于单独“无接触”状态,放弃写该存储块;
■寻找一个空白存储块,并向其中执行写操作。
有利的是,该方法包括一个附加的步骤:如果该便携式对象处于单独“无接触”方式,向所述确定存储块赋予一个“将被擦除的存储块”属性。
具体实施方式
本发明的其它细节和优点将在如下的对一个实施例子的描述中显现出来。
在该例子中,便携式对象是一个带有快闪存储器的IC卡,在该快闪存储器中,仅仅对于“无接触”方式,定义了两个表,其中一个表“有效表”,另一个叫“擦除表”。有效表包含所有有用存储块的地址,也就是说,一部分存储块其中可以瞬时写入,即无需预先擦除(要么是还没有存储过数据的空白块,要么是在存储过数据之后又被擦除的块),另一部分存储块其中实际上存储需要保存的数据。至于擦除表,它包含所有要被擦除的(因而就是已经被写过的)存储块的地址。
当一个应用程序在卡上被执行,当在“无接触”方式下要求写一个新数据时,它将寻找一个可用于写的存储块:卡的操作系统被根据本发明设置,以将它导向有效表,在有效表中该应用程序将选择一个可用的存储块的地址,并且将属于该程序的该块索引。然后该程序将往该存储块中写入要存储的数据。
相反地,关于应用程序在“无接触”方式下进行的对已写数据的更新,卡的操作系统被根据本发明设置,以将该应用程序重新导向有效表,不是如传统方式那样导向存储着该数据当前值的存储块,而是导向一个新的可写存储块。卡的操作系统被根据本发明设置,以便随后将存储着该数据当前值的存储块的地址从有效表移到擦除表,除非该应用程序需要保存该数据的当前值:这个操作容许以后再使用该存储块。
最后,操作系统被设置,使得:当应用程序在“无接触”方式下要求擦除一个数据时,操作系统禁止擦除功能,并将该操作替换为将存储着相关数据的存储块的地址从有效表移到擦除表。
操作系统被设置,以便在下次进入“接触”方式时,执行擦除全部或部分被在擦除表中索引的存储块。该操作将可以在“接触”方式下的各种时刻执行,尤其是:
-系统性地,在“接触”方式的初始化阶段;
-在卡不有效的任何时刻(例如当卡等待与该卡协同工作的终端内的当前处理的结果时)。
是否确实擦除被在擦除表中索引的存储块,这将根据具体状况和需要而定。
擦除过程典型地包括如下步骤:
-读擦除表的内容;
-触发擦除全部或部分被在擦除表中索引的存储块;
-在需要的时候,更新擦除表的内容。
再一次,是否确实更新擦除表,这将根据具体状况和需要而定。
当擦除的请求在“接触”方式期间介入时,该请求要么以通常方式执行,因为“接触”方式对该操作不具有特别的限制,要么以用于“非接触”方式的方式执行。
本发明应用于所有这样的情况:便携式对象包括到相关主机的远程连接装置,也就是说,不仅仅应用于前述的该种装置以无线电链接天线形式出现的情况,还应用于任何其它可以想象出来的情况,例如光链接或磁链接。
本发明没有对“接触”方式或“无接触”方式的使用频率作出假设,并且可以应用于便携式对象被同时用于两种方式的情况(无接触SIM卡的情况)。在这种情况下,操作系统将可以检测能量是否通过“接触”方式可用,并将可以在一个在“无接触”方式下执行的数据交换过程中决定存储器的立即擦除。

Claims (3)

1.一种用于管理混合型便携式对象中的存储器的方法,该混合型便携式对象的与相关主机的连接装置既包括电触点又包括远程连接装置,由此定义了一种叫“接触”方式的运行方式和一种叫“无接触”方式的运行方式,所述方法的特征在于包括如下步骤:
-当该便携式对象仅处于“无接触”方式时,当有任何擦除存储块的请求时,推迟擦除,并赋予该存储块一个“将被擦除的存储块”属性;然后,
-当将来切换到“接触”方式时,开始擦除全部或部分具有“将被擦除的存储块”属性的存储块。
2.根据权利要求1的方法,包括如下步骤:当有任何一个在一个确定的存储块中写入的请求时:
-如果该存储块已经存储了一个数据并且该便携式对象仅处于“无接触”方式时,放弃写入该存储块;
-寻找一个空白存储块,并向其中执行写操作。
3.根据权利要求2的方法,包括如下步骤:如果该便携式对象仅处于“无接触”方式,向所述确定的存储块赋予一个“将被擦除的存储块”属性。
CNB2004800170844A 2003-07-11 2004-07-12 对混合型便携式对象中的存储器的管理方法 Expired - Fee Related CN100365652C (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP03291724.7 2003-07-11
EP03291724A EP1496468A1 (fr) 2003-07-11 2003-07-11 Procédé de gestion d'une mémoire dans un objet portatif du type mixte

Publications (2)

Publication Number Publication Date
CN1809834A CN1809834A (zh) 2006-07-26
CN100365652C true CN100365652C (zh) 2008-01-30

Family

ID=33442883

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004800170844A Expired - Fee Related CN100365652C (zh) 2003-07-11 2004-07-12 对混合型便携式对象中的存储器的管理方法

Country Status (7)

Country Link
EP (2) EP1496468A1 (zh)
JP (1) JP4516572B2 (zh)
KR (1) KR101026437B1 (zh)
CN (1) CN100365652C (zh)
AT (1) ATE428992T1 (zh)
DE (1) DE602004020621D1 (zh)
WO (1) WO2005006245A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226334A (zh) * 1996-06-07 1999-08-18 内部技术公司 抗电源故障的电可擦除和可编程非易失性存储器
CN1231459A (zh) * 1998-03-24 1999-10-13 株式会社东芝 具有接触式和非接触式接口的便携式电子设备
WO1999059098A1 (de) * 1998-05-07 1999-11-18 Orga Kartensysteme Gmbh Verfahren zur steuerung der kommunikation zwischen einer mikroprozessor-chipkarte und einem kontaktbehaftet arbeitenden terminal oder einem kontaktlos arbeitenden terminal
CN1289428A (zh) * 1998-12-02 2001-03-28 奥格-卡系列股份有限公司 可以有接点工作或无接点工作的便携式、微处理器支持的数据载体

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07153284A (ja) * 1993-11-29 1995-06-16 Nec Corp 不揮発性半導体記憶装置及びその制御方法
US6038190A (en) * 1996-06-07 2000-03-14 Inside Technologies Electrically erasable and programmable non-volatile memory protected against power supply failure
DE19834079A1 (de) * 1998-02-21 1999-09-09 Orga Kartensysteme Gmbh Verfahren zur Kommunikation zwischen einer Mikroprozessor-Chipkarte und einem kontaktbehafteten Terminal oder einem kontaktlos arbeitenden Terminal
JPH11242889A (ja) * 1998-02-25 1999-09-07 Sony Corp 不揮発性半導体記憶装置及びその消去方法
JP3971020B2 (ja) * 1998-03-24 2007-09-05 株式会社東芝 複合icカード及び複合icカード用icモジュール
JP3620478B2 (ja) * 2001-07-30 2005-02-16 ソニー株式会社 記憶装置、この記憶装置を用いたデータ処理システム及びデータ読み出し方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226334A (zh) * 1996-06-07 1999-08-18 内部技术公司 抗电源故障的电可擦除和可编程非易失性存储器
CN1231459A (zh) * 1998-03-24 1999-10-13 株式会社东芝 具有接触式和非接触式接口的便携式电子设备
WO1999059098A1 (de) * 1998-05-07 1999-11-18 Orga Kartensysteme Gmbh Verfahren zur steuerung der kommunikation zwischen einer mikroprozessor-chipkarte und einem kontaktbehaftet arbeitenden terminal oder einem kontaktlos arbeitenden terminal
CN1289428A (zh) * 1998-12-02 2001-03-28 奥格-卡系列股份有限公司 可以有接点工作或无接点工作的便携式、微处理器支持的数据载体

Also Published As

Publication number Publication date
WO2005006245A1 (fr) 2005-01-20
EP1496468A1 (fr) 2005-01-12
EP1646971A1 (fr) 2006-04-19
ATE428992T1 (de) 2009-05-15
KR20060029285A (ko) 2006-04-05
DE602004020621D1 (de) 2009-05-28
CN1809834A (zh) 2006-07-26
JP4516572B2 (ja) 2010-08-04
KR101026437B1 (ko) 2011-04-07
EP1646971B1 (fr) 2009-04-15
JP2007516493A (ja) 2007-06-21

Similar Documents

Publication Publication Date Title
US7515500B2 (en) Memory device performance enhancement through pre-erase mechanism
US8321481B2 (en) Method for incremental anti-tear garbage collection
JP4237209B2 (ja) データ記憶装置、メモリ管理方法、及びプログラム
US20100205149A1 (en) Mobile electronic apparatus and data management method in mobile electronic apparatus
CN101197006B (zh) 智能卡及数据写入方法
CN112231244B (zh) 应用于SoftSIM的SIM卡文件擦写系统、方法和可读存储介质
KR20140029062A (ko) 멀티-se 환경에서 모바일 결제카드 우선순위 자동 설정방법 및 이를 적용한 모바일 디바이스
CN102662870A (zh) 基于vfs层拦截读写请求的安卓操作系统保护方法
CN110188850B (zh) 智能卡临时号码控制方法、装置及系统
US20020049826A1 (en) Object distributing system, portable terminal and server used therefor, and memory management method
CN101187912A (zh) 存储卡系统及传输其主机识别信息的方法
CN100365652C (zh) 对混合型便携式对象中的存储器的管理方法
CN109815059A (zh) 一种数据备份方法、系统及板卡和存储介质
CN104572681A (zh) 一种基于注册表的智能卡文件管理系统及其管理方法
CN101751340B (zh) 一种延长数据存储设备寿命的数据写入方法
CN105513202A (zh) 具有一卡通ic卡充值模块的公交智能终端设备
CN104639317A (zh) 一种基于app应用模块对智能卡进行密钥更新的系统及方法
CN202563531U (zh) 用于电子标签的读写系统
CN102136083B (zh) 双界面卡、双界面卡接收用户数据的方法和系统
CN111881440B (zh) 权限管理方法和集成电路卡
CN112612753A (zh) 一种动态管理Java Card存储空间的系统和方法
CN201698464U (zh) 手机sim/uim卡数据擦除工具
CN101000551A (zh) 嵌入式单板引导模块版本加载方法
CN110334550B (zh) 一种智能卡及其保护隐私数据的方法
CN105892930A (zh) 一种大容量usim海量存储器分区挂载的实现方法

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SETEC OY

Free format text: FORMER NAME: AXALTO SA

CP03 Change of name, title or address

Address after: East France

Patentee after: Gemalto Sa

Address before: Montrouge, France

Patentee before: Axalto S. A.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080130

Termination date: 20200712