DE102010054783A1 - Method for storing elementary file of card in subscriber identity module for e.g. smart phone, involves storing file content in volatile memory area of carrier for use during operating data carrier when file includes determined attribute - Google Patents

Method for storing elementary file of card in subscriber identity module for e.g. smart phone, involves storing file content in volatile memory area of carrier for use during operating data carrier when file includes determined attribute Download PDF

Info

Publication number
DE102010054783A1
DE102010054783A1 DE102010054783A DE102010054783A DE102010054783A1 DE 102010054783 A1 DE102010054783 A1 DE 102010054783A1 DE 102010054783 A DE102010054783 A DE 102010054783A DE 102010054783 A DE102010054783 A DE 102010054783A DE 102010054783 A1 DE102010054783 A1 DE 102010054783A1
Authority
DE
Germany
Prior art keywords
file
data carrier
file content
memory area
updated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
DE102010054783A
Other languages
German (de)
Inventor
Stefan Eckardt
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.)
Giesecke+devrient Mobile Security Germany De GmbH
Original Assignee
Giesecke and Devrient GmbH
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 Giesecke and Devrient GmbH filed Critical Giesecke and Devrient GmbH
Priority to DE102010054783A priority Critical patent/DE102010054783A1/en
Publication of DE102010054783A1 publication Critical patent/DE102010054783A1/en
Granted legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The method involves receiving (17) a file content i.e. updated file content, of a file in a portable data carrier during operating the data carrier. An attribute i.e. high update activity attribute, of the file with the received file content is checked (18) by the data carrier. The file content is stored (19) in a volatile memory area i.e. RAM, of the data carrier for use during operating the data carrier when the file includes the determined attribute. The file with an original file content is stored in a non-volatile memory area i.e. ROM, of the data carrier. Independent claims are also included for the following: (1) a computer program product comprising instructions for performing a method for storing a file in a portable data carrier (2) a portable data carrier comprising an integrated semiconductor circuit.

Description

Die Erfindung betrifft ein Verfahren zum Speichern einer Datei in einem tragbaren Datenträger, ein Computerprodukt sowie einen tragbaren Daten träger.The invention relates to a method for storing a file in a portable data carrier, a computer product and a portable data carrier.

Bei einem tragbaren Datenträger handelt es sich vorzugsweise um Datenträger mit entsprechenden Sicherheitsfunktionalitäten, wie z. B. Smart Cards, Chipkarten, Token, Massenspeicherkarten, Multimediakarte und/oder um elektronische Identitätsdokumente, wie beispielsweise einem elektronischen Personalausweis, einem Reisepass mit, auf einem Chip gespeicherten maschinenlesbaren Identifikationsdaten einer Person. Beispielsweise wird eine Chipkarte unter dem Begriff tragbarer Datenträger verstanden, wobei das Anwendungsgebiet der Chipkarte sehr vielfältig ist, beispielsweise als Kredit- oder Debit-Bezahlkarte, Gesundheitskarte, Zutrittsberechtigungskarte, Firmenausweis, Identifikationskarte, elektronischer Fahrzeugschein oder Führerschein. Insbesondere wird eine Teilnehmeridentifikationskarte, kurz SIM-Karte, zur Identifikation eines Teilnehmers in einem Mobilfunknetz unter dem Begriff tragbarer Datenträger verstanden. auf.In a portable data carrier is preferably to disk with appropriate security features such. Smart cards, smart cards, tokens, mass storage cards, multimedia cards and / or electronic identity documents, such as an electronic identity card, a passport with machine-readable identification data of a person stored on a chip. For example, a chip card is understood by the term portable data carrier, wherein the field of application of the chip card is very diverse, for example as credit or debit payment card, health card, access authorization card, company ID card, identification card, electronic vehicle registration or driving license. In particular, a subscriber identification card, SIM card for short, for the purpose of identifying a subscriber in a mobile radio network is understood by the term portable data carrier. on.

Bei dem Datenträger kann es sich alternativ auch um ein, in ein mobiles Endgerät integriertes Sicherheitselement handeln. Das Sicherheitselement ist insbesondere als Hardwarekomponente ausgestaltet und als ein fest integrierter Bestandteil im mobilen Endgerät angeordnet, wobei es entweder in der Form nicht aus dem mobilen Endgerät entnommen werden kann, beispielsweise als M2M Modul, Co-Prozessor bzw. als vertrauenswürdiger Prozessorteil, wie beispielsweise Trusted Base. Alternativ kann das Sicherheitselement als ein entnehmbares Modul mit Sicherheitsfunktionalität mit dem mobilen Endgerät in verbunden sein, beispielsweise in Form einer Chipkarte, insbesondere einer Subscriber Identification Module, kurz SIM-Karte, Massenspeicherkarte, USB-Token, Massenspeicherkarte, Secure MicroSD-Karte, als Mobilfunknetztoken, z. B. ein UMTS-Surfstick. Alternativ ist das Sicherheitselement als eine Softwarekomponente in Form eines Trusted Platform Moduls als vertrauenswürdiger Teil des Betriebssystemkernels des mobilen Endgerätes bzw. als ein Sicherheitssoftware-Algorithmus ausgestaltet.Alternatively, the data carrier can also be a security element integrated in a mobile terminal. The security element is configured in particular as a hardware component and arranged as a fixed integrated component in the mobile terminal, where it can not be removed either in the form of the mobile device, for example as M2M module, co-processor or as a trusted processor part, such as Trusted Base. Alternatively, the security element can be connected as a removable module with security functionality with the mobile terminal in, for example in the form of a smart card, in particular a Subscriber Identification Module, short SIM card, mass storage card, USB token, mass storage card, Secure MicroSD card, as Mobilfunknetztoken , z. B. a UMTS surf stick. Alternatively, the security element is designed as a software component in the form of a trusted platform module as a trusted part of the operating system kernel of the mobile terminal or as a security software algorithm.

Das Dateisystem eines Datenträgers umfasst gemäß der 5. Auflage des „Handbuch der Chipkarten” der Autoren Wolfgang Rankl und Wolfgang Effing, nachfolgend als Rankl/Effing bezeichnet, erschienen 2008 beim Carl Hanser Verlag Seite 502 ff im Punkt 13.7 „Dateiverwaltung” Verzeichnisdateien wie beispielsweise das Master File, kurz MF, oder Dedicated Files (DF) und einzelne Dateien, als Elementary Files, kurz EF, bezeichnet.The file system of a volume comprises according to the 5th edition of the "Handbuch der Chipkarten" by the authors Wolfgang Rankl and Wolfgang Effing, hereafter referred to as Rankl / Effing, published 2008 by the Carl Hanser Verlag, page 502 ff at point 13.7 "File Management" Directory files such as the Master File, MF for short, or Dedicated Files (DF) and individual files, referred to as Elementary Files, short EF.

Das Dateisystem ist gemäß Rankl/Effing in einem wieder beschreibbaren nichtflüchtigen Speicherbereich, beispielsweise dem EEPROM oder FLASH-Speicher des tragbaren Datenträgers abgelegt, sodass das Dateisystem auch nach dem Deaktivieren des Datenträgers verfügbar ist. Die Verwaltung und Organisation der Dateien in dem Dateisystem wird vom Betriebssystem des Datenträgers übernommen.According to Rankl / Effing, the file system is stored in a rewritable non-volatile memory area, for example the EEPROM or FLASH memory of the portable data carrier, so that the file system is also available after disabling the data carrier. The management and organization of the files in the file system is taken over by the operating system of the data medium.

Bei einem objektorientierten Aufbau des Dateisystems weisen die Dateien einen Dateideskriptor auf, auch als Datei-Header bezeichnet, indem alle Informationen über die Datei selbst enthalten sind. Weiterhin weisen die Dateien den Dateiinhalt auf, auch als Datei-Body bezeichnet, indem die Nutzdaten der Datei enthalten sind. Im Dateideskriptor ist wiederum das Attribut der Datei enthalten, welches spezielle Eigenschaften der Datei kennzeichnet. Der Dateideskriptor kann eine feste oder eine variable Länge aufweisen.In an object-oriented structure of the file system, the files have a file descriptor, also referred to as a file header, in which all information about the file itself is contained. Furthermore, the files have the file content, also referred to as a file body, in that the user data of the file is contained. The file descriptor again contains the attribute of the file, which identifies special properties of the file. The file descriptor may be fixed or variable in length.

Teile des Dateisystems heutiger tragbarer Datenträger können zu Wartungszwecken, Neuerungen, Erweiterungen und/oder Fehlerbeseitigung nachträglich, das heißt nach Ausgabe des Datenträgers an einen Benutzer aktualisiert werden. Ein Teil des Dateisystems umfasst dabei beispielsweise eine Applikation mit einer Verzeichnisdatei DF und dazugehörigen Dateien EF. Ein Teil des Dateisystems ist beispielsweise eine Applikation zum Erhalt einer beliebigen Funktionalität. Die Änderungen bzw. Aktualisierungen des Dateisystems betreffen dabei die Dateiinhalte einer einzelnen oder mehrerer Dateien in dem Dateisystem bzw. werden nur bestimmte Teile eines Dateiinhalts einer Datei durch aktuelle Teile des Dateiinhalts ersetzt.Parts of the file system of today's portable data carrier can be updated for maintenance purposes, innovations, enhancements and / or error correction subsequently, that is to say after the data carrier has been issued to a user. A part of the file system includes, for example, an application with a directory file DF and associated files EF. A part of the file system is, for example, an application for obtaining any functionality. The changes or updates of the file system affect the file contents of a single or multiple files in the file system or only certain parts of a file content of a file are replaced by current parts of the file content.

Bei heutigen Datenträgern ist die Anzahl der Schreib-/Lesezugriffe im nichtflüchtigen Speicher begrenzt und stark abhängig von der Technologie, in der der nichtflüchtige Speicher gefertigt wurde, dem Herstellungsprozess selbst und der Umwelt, in der der Halbleiterchip betrieben wird. Diese Anzahl sinkt mit zunehmender Leistungsfähigkeit und gleichzeitiger Flächenverkleinerung der Speicherbereiche im Datenträger. Ein Halbleiterchiphersteller garantiert meist eine Mindestanzahl an Schreibzyklen. Typischerweise garantiert ein Hersteller eines EEPROM Speicher zwischen 100 000 und 500 000 Schreibzyklen, bei einem FLASH Speicher werden bis zu 100 000 Schreibzyklen garantiert. Ist die garantierte Mindestanzahl Schriebzyklen auf einen Sektor/Block oder in das gleiche Byte in einem Speicherbereich erreicht, wird für die Funktionsfähigkeit des Chips keine Garantie übernommen. Meist ist der Datenträger in der Folge nicht mehr funktionsfähig und muss ersetzt werden.In today's data carriers, the number of read / write accesses in nonvolatile memory is limited and highly dependent on the technology in which the nonvolatile memory has been fabricated, the manufacturing process itself and the environment in which the semiconductor chip is operated. This number decreases with increasing efficiency and simultaneous area reduction of the storage areas in the data carrier. A semiconductor chip manufacturer usually guarantees a minimum number of write cycles. Typically, a manufacturer of an EEPROM will guarantee memory between 100,000 and 500,000 write cycles, and a FLASH memory will guarantee up to 100,000 write cycles. If the guaranteed minimum number of write cycles to a sector / block or to the same byte in a memory area is reached, the functionality of the chip is not guaranteed. In most cases, the data carrier is no longer functional and must be replaced.

Das Problem verschärft sich, wenn der Datenträger als ein fest integrierter Bestandteil in ein Endgerät eingebracht ist, beispielsweise einem Machine-to-Machine, kurz M2M Module oder eines vertrauenswürdigen Prozessorbereichs. Zum einen sollen derartige Datenträger längere Betriebslaufzeiten aufweisen, zum andere kann der Datenträger nicht auf einfache Weise ausgewechselt werden. Meist muss das gesamte Endgerät ausgetauscht werden.The problem is exacerbated when the disk is used as a firmly integrated component in a End device is introduced, for example, a machine-to-machine, short M2M modules or a trusted processor area. On the one hand such data carriers should have longer operating times, on the other hand, the data carrier can not be replaced in a simple manner. Most of the time the entire terminal has to be replaced.

Um derartigen Problemen aus dem Weg zu gehen, wird für das Betreiben von nichtflüchtigen Speicherbereichen beispielsweise ein „Wear Leveling” Verfahren angewendet. Durch dieses Verfahren wird ein ungenutzter oder bislang wenig verwendeter Sektors des nichtflüchtigen Speicherbereichs zum Schreiben des aktualisierten Dateiinhalts verwendet, anstelle einen Sektor nach einem Löschvorgang gleich wieder mit aktualisierten Dateninhalten zu beschreiben. Somit kann die Anzahl von Schreib-/Lesezugriffen effektiv erhöht werden.In order to avoid such problems, for example, a wear leveling method is used for the operation of nonvolatile memory areas. By this method, an unused or previously unused non-volatile memory area sector is used to write the updated file content instead of immediately re-describing a sector with updated data contents after an erase operation. Thus, the number of read / write accesses can be effectively increased.

Alternativ geben die Datenträgerhersteller häufig den Hinweis das Beschreiben des nichtflüchtigen Speichers mittels Software-Routinen, beispielsweise Programmcodeschleifen, aufwendige Registerauswertungen etc., zu umgehen, sodass der nichtflüchtige Speicherbereich seltener beschrieben werden muss, um möglichst hohe Lebenszeiten des Datenträgers zu erreichen. Dabei ist nachteilig, dass sich ein Programmierer von Software für den Datenträger in der Gestaltung seines Softwarecodes einschränken muss, insbesondere die Leistung des Datenträgers durch höhern Rechenaufwand, Programmlaufzeiten und können durch solche Umgehungs-Software-Routinen massiv geschwächt werden.Alternatively, the disk manufacturers often give the hint describing the non-volatile memory by means of software routines, such as program code loops, complex register evaluations, etc., to circumvent, so that the non-volatile memory area must be described less frequently in order to achieve the highest possible lifetimes of the disk. It is disadvantageous that a programmer of software for the disk in the design of its software code must restrict, in particular the performance of the disk by higher computational effort, program runtime and can be massively weakened by such bypass software routines.

Der Erfindung liegt daher die Aufgabe zugrunde, die Lebenszeit von tragbaren Datenträgern merklich zu erhöhen und insbesondere Schreibzugriffe auf einen nichtflüchtigen Speicherbereich deutlich zu verringern. Dabei sollen aufwendige Umgehungslösungen verhindert werden, sodass ein Programmierer alle Möglichkeiten und Leistungen des Datenträgers nutzen kann. Das Verfahren soll dabei einfach realisierbar und effizient sein.The invention is therefore based on the object to significantly increase the lifetime of portable data carriers and in particular to significantly reduce write accesses to a non-volatile memory area. The goal is to prevent costly workarounds, so that a programmer can use all the possibilities and benefits of the data carrier. The process should be easy to implement and efficient.

Die Aufgabe der Erfindung wird durch die in den nebengeordneten unabhängigen Patentansprüchen beschriebenen Maßnahmen gelöst. Vorteilhafte Ausgestaltungen sind in den jeweils abhängigen Ansprüchen beschrieben.The object of the invention is achieved by the measures described in the independent independent claims. Advantageous embodiments are described in the respective dependent claims.

Die Aufgabe wird insbesondere durch ein Verfahren zum Speichern einer Datei in einem tragbaren Datenträger gelöst. Dabei weist die Datei einen Dateideskriptor und einen Dateiinhalt auf. In einem ersten Verfahrensschritt wird ein Dateiinhalt der Datei während des Betriebs des Datenträgers empfangen. In einem zweiten Verfahrensschritt wird ein Attribut der Datei durch den Datenträger überprüft, deren Dateiinhalt empfangen wurde. Der Dateiinhalt wird zur Verwendung während dieses Betriebsdes Datenträgers in einem flüchtigen Speicherbereich gespeichert, wenn die Datei ein bestimmtes Attribut aufweist.The object is achieved in particular by a method for storing a file in a portable data carrier. The file has a file descriptor and a file content. In a first method step, a file content of the file is received during the operation of the data carrier. In a second method step, an attribute of the file is checked by the data carrier whose file content has been received. The file content is stored in a volatile memory area for use during this operation of the volume if the file has a particular attribute.

Mit Speichern im flüchtigen Speicherbereich wird insbesondere verstanden, dass die Dateiinhalte nicht weiter in den nichtflüchtigen Speicherbereich transportiert und dort abgespeichert werden. Bis zum Ende der Session wird der Dateiinhalt ausschließlich im flüchtigen Speicherbereich gespeichert. Wird während der Session notwendigerweise dieser Dateiinhalt benötigt, so wird er nicht, wie üblich, aus dem nichtflüchtigen Speicher geladen, sondern direkt aus dem flüchtigen Speicherbereich, beispielsweise dem Arbeitsspeicher RAM, geladen.Storage in the volatile storage area is understood in particular to mean that the file contents are not transported further into the non-volatile storage area and stored there. Until the end of the session, the file content is stored exclusively in the volatile memory area. If this file content is necessarily needed during the session, it is not loaded from the nonvolatile memory, as usual, but is loaded directly from the volatile memory area, for example the random access memory RAM.

Auch das Erzeugen neuer Dateien ist in diesem Verfahren umfasst. Wird beispielsweise das Kommando CREATE FILE im Datenträger empfangen und weist die Datei das bestimmte Attribut auf, so wird die Datei ausschließlich im flüchtigen Speicherbereich erzeugt und nach Beenden der Session wieder verworfen.Creating new files is also included in this procedure. If, for example, the CREATE FILE command is received in the data carrier and the file has the specific attribute, the file is generated exclusively in the volatile memory area and discarded after the session has ended.

Ein Attribut der Datei eines tragbaren Datenträgers ist insbesondere im Rankl/Effing unter Punkt 12.9 „Attribute von Dateien” ab Seite 474 beschrieben. Sie dienen dazu, spezielle Eigenschaften der Datei zu kennzeichnen. Das Attribut ist dabei im Dateideskriptor festgehalten. Dieser Dateideskriptor weist bei objektorientiertem Aufbau einen Zeiger auf den ursprünglichen Dateiinhalt der Datei auf. Dateideskriptor und ursprünglicher Dateiinhalt sind in einem nichtflüchtigen Speicherbereich des Datenträgers gespeichert. Ein bestimmtes Attribut im Sinn der Anmeldung, ist ein Attribut, welches eine bestimmte Eigenschaft der Datei bzw. des Dateiinhalts anzeigt. Diese Eigenschaft der Datei zeigt dem erfindungsgemäßen Verfahren an, dass der Dateiinhalt nach Beenden der Session des Datenträgers verworfen werden kann und somit insbesondere nur im flüchtigen Speicherbereich des Datenträgers abgespeichert wird.An attribute of the file of a portable data carrier is in particular Rankl / Effing under item 12.9 "Attributes of Files" from page 474 described. They are used to mark special properties of the file. The attribute is recorded in the file descriptor. This file descriptor has a pointer to the original file content of the file in an object-oriented structure. File descriptor and original file contents are stored in a nonvolatile storage area of the volume. A particular attribute in the sense of logon is an attribute that indicates a particular property of the file or file content. This property of the file indicates to the method according to the invention that the file content can be discarded after the end of the session of the data carrier and thus in particular is stored only in the volatile memory area of the data carrier.

Der Begriff Betrieb des Datenträgers ist gleichbedeutend mit dem Begriff Session bzw. Sitzung des Datenträgers. Dabei ist der Datenträger mittels eines Endgeräts betriebsfähig gemacht worden, wobei er insbesondere mit einer Stromversorgung und ggf. weiterer versorgender elektrischer Signale, wie Reset, Takt etc. vom Endgerät versorgt wird. Ist der Datenträger in einer Session betriebsfähig und empfängt Dateiinhalte, so sind diese bevorzugt nur in dieser Session verfügbar. Werden die Versorgungssignale seitens des Datenträgers deaktiviert, endet der Betrieb des Datenträgers, die Session ist somit beendet.The term operation of the data carrier is synonymous with the term session or session of the data carrier. In this case, the data carrier has been made operable by means of a terminal, wherein it is supplied in particular by a power supply and possibly further supplying electrical signals, such as reset, clock etc. from the terminal. If the data medium is operable in a session and receives file contents, these are preferably only available in this session. If the supply signals are deactivated by the data carrier, the operation of the data carrier ends, the session is thus terminated.

Insbesondere ist der Dateiinhalt ein aktualisierter Dateiinhalt und die Datei ist mit einem ursprünglichen Dateiinhalt in einem nichtflüchtigen Speicherbereich des Datenträgers bereits abgelegt. Ein auf Datenträgern bekanntes Kommando zur Aktualisierung ist das UPDATE BINARY/RECORD, mit dem ein ursprünglicher Dateiinhalt auf einem Datenträger aktualisiert werden kann. In particular, the file content is an updated file content and the file is already stored with an original file content in a nonvolatile storage area of the volume. A disk-aware update command is the UPDATE BINARY / RECORD, which updates an original file content on a disk.

Im Sinn der Anmeldung ist unter dem Begriff aktualisierter Dateiinhalt zum einen der Ersatz eines bereits im nichtflüchtigen Speicherbereichs abgespeicherter ursprünglicher Dateiinhalt verstanden. Alternativ ist unter dem Begriff auch verstanden, dass ein nachladbarer Dateiinhalt zusätzlich zu bereits bestehendem Dateiinhalt empfangen wird, der ebenfalls verworfen werden kann, wenn die Session des Datenträgers beendet ist. Der Begriff aktualisierter Dateiinhalt umfasst somit auch nachladbaren Dateiinhalt.In the context of the application, the term "updated file content" is understood to mean the replacement of an original file content already stored in the non-volatile memory area. Alternatively, the term is also understood to mean that a reloadable file content is received in addition to already existing file content, which may also be discarded when the session of the volume is terminated. The term updated file content thus also includes reloadable file content.

Im Gegensatz zum Stand der Technik, bei dem jegliche Aktualisierung von Dateiinhalten als Sicherung im nichtflüchtigen Speicher abgelegt wird, wird bei dem erfindungsgemäßen Verfahren zunächst ein Attribut überprüft und in Abhängigkeit des Attributs festgelegt, ob ein Speichern im nichtflüchtigen Speicherbereich notwendig ist. Dadurch wird zum einen viel Zeit gespart, die für den Zugriff auf den nichtflüchtigen Speicher benötigt werden würde. Da flüchtige Speicher, beispielsweise RAM-Zellen viel häufiger beschrieben werden können, wird die Lebenszeit des Datenträgers drastisch verlängert.In contrast to the prior art, in which any update of file contents is stored as a backup in the nonvolatile memory, in the method according to the invention, an attribute is first checked and, depending on the attribute, it is determined whether storage in the nonvolatile memory area is necessary. This saves a lot of time, which would be needed to access the non-volatile memory. Since volatile memory, such as RAM cells, can be written much more frequently, the life of the medium is drastically increased.

In vorteilhafter Weise wird der aktualisierte Dateiinhalt ausschließlich in dem flüchtigen Speicherbereich gespeichert, sodass der aktualisierte Dateiinhalt beim Deaktivieren des Datenträgers ungesichert verworfen wird. Wird also anhand des Attributs festgestellt, dass eine Aktualisierung des Dateiinhalts nicht notwendig ist, wird der aktualisierte Dateiinhalt nicht im nichtflüchtigen Speicherbereich gespeichert.Advantageously, the updated file content is stored exclusively in the volatile memory area, so that the updated file content is discarded unsecured upon deactivation of the data carrier. Therefore, if it is determined by the attribute that an update of the file content is not necessary, the updated file content is not stored in the non-volatile memory area.

Die Erfindung macht von der Tatsache Gebrauch, dass eine Vielzahl von Aktualisierungen von Dateiinhalten nicht dauerhaft abgelegt werden müssen und nur für eine Session des Datenträgers notwendig ist. Daher werden diese Aktualisierungen nur im flüchtigen Speicherbereich abgelegt.The invention makes use of the fact that a multiplicity of updates of file contents need not be stored permanently and is only necessary for one session of the data carrier. Therefore, these updates are stored only in the volatile memory area.

Bei einer erneuten Inbetriebnahme des Datenträgers, sprich bei Beginn einer neuen Session, wird der ursprüngliche Dateiinhalt der Datei aus dem nichtflüchtigen Speicherbereich geladen.When the data carrier is restarted, ie at the beginning of a new session, the original file content of the file is loaded from the non-volatile memory area.

Insbesondere handelt es sich bei dem Datenträger um ein Teilnehmeridentifikationsmodul für ein Mobilfunknetz. Ein Aufbau und Betreiben derartiger Datenträger ist ausführlich in der Spezifikation ETSI 3GPP TS 11.11/51.011 oder der ETSI 3GPP TS 31.102 beschrieben. In dieser GSM/USIM Spezifikation werden ebenfalls die Dateien definiert, die wiederum ggf. aktualisiert werden. Die Datei ist somit insbesondere ein Elementary File eines SIM-Karten Dateisystems.In particular, the data carrier is a subscriber identification module for a mobile radio network. A construction and operation of such data carriers is detailed in the specification ETSI 3GPP TS 11.11 / 51.011 or the ETSI 3GPP TS 31.102 described. In this GSM / USIM specification, the files are also defined, which in turn may be updated. The file is thus in particular an elementary file of a SIM card file system.

In vorteilhafter Weise ist das bestimmte Attribut das „High Update Activity” Attribut. Dieses Attribut kennzeichnet Dateien, die sehr häufig aktualisiert werden, wodurch die Lebenszeit der Datenträger bei häufiger Verwendung dieser Dateien rapide abnimmt. Daher warnen Datenträgerhersteller stets davor und raten einem Programmierer davon ab, derartige Dateien überhaupt zu verwenden, obwohl die Verwendung während einer Sitzung des Datenträgers durchaus vorteilhaft ist. Problematisch ist, dass diese Dateien stets im gleichen Sektor des nichtflüchtigen Speichers überschrieben werden, sodass spezielle Speicherzellen übermäßig oft belastete werden, wodurch eine drastische Verkürzung der Betriebsfähigkeit des Datenträgers erzielt ist. Durch das erfindungsgemäße Verfahren wird die Verwendung von Dateien mit diesem Attribut ohne Nachteile möglich, da davon auszugehen ist, dass die Aktualisierung der Dateien keine Relevanz nach Beenden der Session hat und verworfen werden kann.Advantageously, the particular attribute is the "High Update Activity" attribute. This attribute identifies files that are updated very frequently, which can dramatically decrease the life of the media when using these files frequently. Therefore, media manufacturers always warn against it and advise a programmer not to use such files at all, although use during a disk session is quite advantageous. The problem is that these files are always overwritten in the same sector of the non-volatile memory, so that special memory cells are loaded excessively often, whereby a drastic reduction in the operability of the disk is achieved. The method according to the invention makes it possible to use files with this attribute without disadvantages since it can be assumed that updating the files has no relevance after the session has ended and can be discarded.

In einer bevorzugten Ausgestaltung wird neben dem Attribut auch der Name der Datei überprüft. Werden Dateiinhalte aktualisiert, um fehlerhafte Dateiinhalte zu entfernen oder um Informationen für einen Benutzer darzustellen, ist es sinnvoll, diese Aktualisierung nicht ungesichert zu verwerfen. Eine Aufzählung der jeweiligen Dateinamen ist der Figurenbeschreibung zu entnehmen.In a preferred embodiment, the name of the file is checked in addition to the attribute. If file contents are updated to remove corrupted file contents or to present information to a user, it is useful not to discard this update unsecured. An enumeration of the respective file names can be taken from the description of the figures.

In einer weiteren vorteilhaften Ausgestaltung wird im Datenträger ein Aktualisierungszähler inkrementiert, wenn der aktualisierte Dateiinhalt nur im flüchtigen Speicherbereich des Datenträgers abgelegt wird. Der Zählerstand des Aktualisierungszählers ist im nichtflüchtigen Speicherbereich abgelegt, sodass er auch nach Beendigung der Session verfügbar ist. Der Zählerstand ist beispielsweise im Dateideskriptor der Datei abgelegt, dessen aktualisierter Dateiinhalt empfangen wurde und wird beim Überprüfen des Attributs mit abgefragt. Alternativ wird mit jedem aktualisierten Dateiinhalt die Version der Datei mit übermittelt, sodass ein Zugriff auf den nicht flüchtigen Speicherbereich komplett unterbunden werden kann.In a further advantageous embodiment, an update counter is incremented in the data carrier if the updated file content is stored only in the volatile memory area of the data carrier. The count of the update counter is stored in the non-volatile memory area so that it is available even after the session has ended. The counter reading is stored, for example, in the file descriptor of the file whose updated file content was received and is also requested when the attribute is checked. Alternatively, with each updated file content, the version of the file is also transmitted so that access to the non-volatile memory area can be completely prevented.

In vorteilhafter Weise wird der Zählerstand des Aktualisierungszählers mit einem vordefinierten Wert verglichen. Dabei wird der aktualisierte Dateiinhalt unabhängig vom Attribut der Datei im nichtflüchtigen Speicherbereich gespeichert, wenn der Zählerstand den voreingestellter Wert überschreitet. Ein voreingestellter Wert ist dabei x-beliebig. Beispielsweise kann auf diese Weise vorteilhaft erreicht werden, dass jede x-te Aktualisierung im nichtflüchtigen Speicherbereich abgelegt werden kann, sodass die zwischenzeitlich empfangenen anderen neun Aktualisierungen verworfen werden.Advantageously, the count of the update counter is compared with a predefined value. In this case, the updated file content is stored in the non-volatile memory area, regardless of the attribute of the file, if the counter reading exceeds the preset value. A default value is x-arbitrary. For example, can be achieved in this way advantageous In this way, every xth update can be stored in the non-volatile memory area, so that the other nine updates that have since been received are discarded.

Besonders vorteilhaft ist es, wenn der aktualisierte Dateiinhalt unabhängig vom Attribut immer zunächst im nichtflüchtigen Speicherbereich gespeichert wird, wenn der ursprüngliche Dateiinhalt erstmalig aktualisiert wird. Die meisten Aktualisierungen im Feld sind nur beim ersten Mal von Bedeutung, sodass diese erste Aktualisierung des ursprünglichen Dateiinhalts sinnvoller Weise auch im nichtflüchtigen Speicherbereich abzulegen ist. Alle darauffolgenden Aktualisierungen werden verworfen, da diese nur für die jeweilig laufende Session relevant sind.It is particularly advantageous if the updated file content, irrespective of the attribute, is always first stored in the non-volatile memory area when the original file content is first updated. Most updates in the field are only meaningful the first time, so this first update of the original file content is also useful in the non-volatile storage space. All subsequent updates are discarded because they are only relevant to the current session.

Insbesondere wird der aktualisierte Dateiinhalt mittels Over-the-Air Dienst von einer entfernten Mobilfunkinstanz in einem Mobilfunknetz in dem Datenträger empfangen. Als Mobilfunknetz wird in dieser Anmeldung eine technische Infrastruktur verstanden, auf der die Übertragung von Signalen für den Mobilfunk stattfindet. Dabei ist im Wesentlichen das Mobilvermittlungsnetz, in dem die Übertragung und Vermittlung der Signale zwischen ortsfesten Einrichtungen und Plattformen des Mobilfunknetzes stattfinden, sowie das Zugangsnetz (auch als Luftschnittstelle bezeichnet), in dem die Übertragung der Signale zwischen einer Mobilfunkantenne und einem mobilen Endgerät stattfindet, zu verstehen. Beispielsweise das „Global System for Mobile Communications”, kurz GSM als Vertreter der sogenannten zweiten Generation oder das General Packet Radio Service, kurz GPRS und Universal Mobile Telecommunications System, kurz UMTS als Vertreter der sogenannten dritten Generation von Mobilfunknetzen seien hier beispielhaft erwähnt, wobei bei der dritten Generation das Mobilvermittlungsnetz um die Fähigkeit einer paketorientierten Datenübertragung erweitert wird, das Funknetz an sich aber unverändert ist.In particular, the updated file content is received by means of over-the-air service from a remote mobile station in a mobile network in the data carrier. In this application, a mobile radio network is understood as a technical infrastructure on which the transmission of signals for mobile radio takes place. In this case, the mobile switching network, in which the transmission and switching of the signals take place between stationary devices and platforms of the mobile radio network, as well as the access network (also referred to as air interface), in which the transmission of the signals between a mobile radio antenna and a mobile terminal takes place, to understand. For example, the "Global System for Mobile Communications", short GSM as a representative of the so-called second generation or the General Packet Radio Service, GPRS short and Universal Mobile Telecommunications System, short UMTS as a representative of the so-called third generation of mobile networks are mentioned here by way of example the third generation, the mobile switching network is extended by the ability of a packet-oriented data transmission, but the radio network is in itself unchanged.

Alternativ wird der aktualisierte Dateiinhalt durch eine Kommunikationsverbindung mit einem Endgerät in dem Datenträger empfangen. Dies erfolgt entweder über eine kontaktbehaftete Schnittstelle oder eine kontaktlose Schnittstelle. Das Betriebssystem des Datenträgers ist dabei so ausgelegt, dass die Aktualisierung des Dateiinhalts über das kontaktlose Interface des Datenträgers beispielsweise gemäß einer der ISO/IEC 14443 , 15693 , 18092 oder kontaktbehaftet gemäß ISO/IEC 7816 oder USB Standard empfangen wird.Alternatively, the updated file content is received through a communication link with a terminal in the volume. This is done either via a contact interface or a contactless interface. The operating system of the data carrier is designed so that the update of the file content via the contactless interface of the data carrier, for example, according to one of ISO / IEC 14443 . 15693 . 18092 or contact according to ISO / IEC 7816 or USB standard is received.

Der Erfindungsgrundgedanke umfasst weiterhin ein Computerprogrammprodukt, das direkt in den flüchtigen oder nichtflüchtigen Speicher des Datenträgers geladen wird und Softwarecodeabschnitte umfasst, mit denen die vorangegangenen Ausgestaltungen des erfindungsgemäßen Verfahrens ausgeführt werden, wenn das Produkt auf dem Datenträger abläuft.The inventive concept further comprises a computer program product which is loaded directly into the volatile or non-volatile memory of the data carrier and comprises software code sections with which the preceding embodiments of the method according to the invention are executed when the product runs on the data carrier.

Der Erfindungsgrundgedanke umfasst weiterhin einen tragbaren Datenträger mit einem integrierten Halbleiterschaltkreis. Der Schaltkreis umfasst eine Kommunikationsschnittstelle zum Empfangen eines aktualisierten Dateiinhalts einer Datei, einen flüchtigen Speicherbereich zum Speichern des aktualisierten Dateiinhalts und einen nichtflüchtigen Speicherbereich zum Speichern eines ursprünglichen Dateiinhalts und eines Dateideskriptors der Datei. Der Datenträger weist weiterhin eine Überprüfungseinheit auf, die ein Attribut der Datei und der aktualisierte Dateiinhalt nur im flüchtigen Speicherbereich zur Verwendung während eines Betriebs des Datenträgers gespeichert wird, wenn die Datei ein bestimmtes Attribut aufweist.The inventive concept further comprises a portable data carrier with a semiconductor integrated circuit. The circuit includes a communication interface for receiving an updated file content of a file, a volatile storage area for storing the updated file content, and a nonvolatile storage area for storing an original file content and a file descriptor of the file. The volume further includes a verification unit that stores an attribute of the file and the updated file content only in the volatile memory area for use during operation of the volume if the file has a particular attribute.

Bevorzugt umfasst der integrierte Halbleiterschaltkreis des Datenträgers weiterhin einen Aktualisierungszähler, wobei der Aktualisierungszähler inkrementiert wird, wenn der aktualisierte Dateiinhalts (12a) empfangen ist und eine Vergleichseinheit, wobei die Vergleichseinheit den Zählerstand des Aktualisierungszählers mit einem voreingestellten Wert vergleicht. Der ursprüngliche Dateiinhalt im nichtflüchtigen Speicherbereich wird dabei vom aktualisierten Dateiinhalt überschrieben, wenn der Vergleich der Vergleichseinheit ergibt, dass der Zählerstand gleich oder größer als der voreingestellte Wert ist.Preferably, the solid state integrated circuit of the data carrier further comprises an update counter, wherein the update counter is incremented when the updated file content ( 12a ) and a comparison unit, wherein the comparison unit compares the count of the update counter with a preset value. The original file content in the nonvolatile memory area is thereby overwritten by the updated file content if the comparison of the comparison unit shows that the counter reading is equal to or greater than the preset value.

Im Erfindungsgedanken sind jegliche Art von Attributen oder Kennzeichnungen der Dateien als Kriterium, ein bestimmtes Attribut zu sein denkbar, um das erfindungsgemäße Verfahren anzuwenden.In the idea of the invention, any type of attributes or markings of the files as a criterion for being a specific attribute are conceivable in order to use the method according to the invention.

Nachfolgend wird anhand von Figuren die Erfindung bzw. weitere Ausführungsformen und Vorteile der Erfindung näher erläutert, wobei die Figuren lediglich Ausführungsbeispiele der Erfindung beschreiben. Gleiche Bestandteile in den Figuren werden mit gleichen Bezugszeichen versehen. Die Figuren sind nicht als maßstabsgetreu anzusehen, es können einzelne Elemente der Figuren übertrieben groß bzw. übertrieben vereinfacht dargestellt sein.The invention or further embodiments and advantages of the invention will be explained in more detail with reference to figures, the figures only describe embodiments of the invention. Identical components in the figures are given the same reference numerals. The figures are not to be considered as true to scale, it can be exaggerated large or exaggerated simplified individual elements of the figures.

Es zeigen:Show it:

1 Das Empfangen eines aktualisierten Dateiinhalts über ein Mobilfunknetz gemäß dem Stand der Technik 1 Receiving an updated file content over a cellular network according to the prior art

2 Ein Blockschaltbild über Funktionseinheiten eines im tragbaren Datenträger eingebrachten Halbleiterschaltkreis gemäß dem Stand der Technik 2 A block diagram of functional units of a introduced in the portable data carrier semiconductor circuit according to the prior art

3 Ein Dateisystem mit Dateien in einer SIM-Karte gemäß dem Stand der Technik 3 A file system with files in a SIM card according to the prior art

4 Eine objektorientierte Struktur einer Datei bestehend aus Dateideskriptor und Dateiinhalt gemäß dem Stand der Technik 4 An object-oriented structure of a file consisting of file descriptor and file content according to the prior art

5 Ein Ablaufdiagramm eines erstes Ausführungsbeispiel eines erfindungsgemäßen Verfahrens zum Speichern einer Datei in einem Datenträger 5 A flow chart of a first embodiment of a method according to the invention for storing a file in a data carrier

6 Ein alternatives erfindungsgemäßes Ausführungsbeispiel des in 5 gezeigten Ablaufdiagramms 6 An alternative embodiment of the invention in 5 shown flow chart

7 Ein alternatives erfindungsgemäßes Ausführungsbeispiel des in 5 und 6 gezeigten Ablaufdiagramms 7 An alternative embodiment of the invention in 5 and 6 shown flow chart

1 zeigt ein System bestehend aus einem mobilen Endgerät 5 mit einem internen Endgeräteschaltkreis 5a. Im mobilen Endgerät 5 ist weiterhin ein tragbarer Datenträger 1 in Form einer SIM-Karte. Der Datenträger 1 könnte aber auch nach einer der eingangs beschriebenen Art und Weise ausgestaltet und im Endgerät 5 integriert sein. Das Endgerät 5 ist in 1 ein Mobilfunkendgerät und mittels einer Mobilfunkverbindung 6 mit einer entfernten Mobilfunkinstanz 7 in einer Kommunikationsverbindung. Ein Teil der Mobilfunkinstanz 7 ist ein Aktualisierungsserver 7a. Auf der SIM-Karte 1 ist ein nicht dargestelltes Dateisystem, dessen Dateien 10 einen Dateiinhalt 12 aufweisen, der über den Aktualisierungsserver 7a aktualisiert werden kann. Die Aktualisierung des Dateisystems 8 und den darin enthaltenen Dateien 10 in dem SIM 1 erfolgt durch ein Aktualisierungskommando 15, initiiert durch die entfernte Mobilfunkinstanz 7 mittels OTA. Alternativ kann das zum Betrieb des SIM 1 notwendige Endgerät 5 die ausstehende Aktualisierung vornehmen. 1 shows a system consisting of a mobile terminal 5 with an internal terminal circuit 5a , In the mobile terminal 5 is still a portable data carrier 1 in the form of a SIM card. The disk 1 But could also be designed according to one of the manner described above and in the terminal 5 be integrated. The terminal 5 is in 1 a mobile station and by means of a cellular connection 6 with a remote mobile device 7 in a communication connection. Part of the mobile device 7 is an update server 7a , On the SIM card 1 is an unplayed file system whose files 10 a file content 12 have, via the update server 7a can be updated. The update of the file system 8th and the files it contains 10 in the SIM 1 is done by an update command 15 , initiated by the remote mobile station 7 by means of OTA. Alternatively, this can be used to operate the SIM 1 necessary terminal 5 make the pending update.

Das in 1 gezeigte Endgerät 5 ist beispielsweise ein Smart Phone, ein PDA oder ein alternatives mobiles Endgerät 5. Es ist vorrangig geeignet für eine Mobilfunkverbindung 6 mit einer Mobilfunkinstanz 7. Über eine nicht dargestellte Mobilfunkantenne empfängt das Endgerät 5 den aktualisierten Dateiinhalt 12a als einen Teil des Dateisystems 8 auf der SIM 1. Diese Aktualisierung wird von dem Endgerät 5 an die SIM 1 übertragen. In der SIM 1 wird der ursprüngliche Dateiinhalt 12b durch den aktualisierten Dateiinhalt 12a im nichtflüchtigen Speicherbereich 4b ersetzt. Die Aktualisierung erfolgt dabei in unregelmäßigen Abständen und zu den unterschiedlichsten Zwecken, insbesondere zum Fernwarten, Fehlerbeseitigen, Informationsmitteilung und der gleichen mehr.This in 1 shown terminal 5 is for example a smart phone, a PDA or an alternative mobile device 5 , It is primarily suitable for a mobile connection 6 with a mobile radio instance 7 , About a non-illustrated mobile antenna receives the terminal 5 the updated file content 12a as part of the file system 8th on the SIM 1 , This update is done by the terminal 5 to the SIM 1 transfer. In the SIM 1 becomes the original file content 12b through the updated file content 12a in the non-volatile memory area 4b replaced. The update takes place at irregular intervals and for a variety of purposes, in particular for remote maintenance, error correction, information message and the same more.

In 2 ist ein beispielhaftes Blockschaltbild eines im Datenträger 1 eingebrachten Halbleiterschaltkreises 2 dargestellt. Der Halbleiterschaltkreis umfasst eine zentrale Recheneinheit CPU, zumindest eine Schnittstelle I/O, über die eine kontaktbehaftete und/oder kontaktlose Kommunikationsverbindung zu dem Endgerät 5 ermöglicht ist. Über diese I/O Schnittstelle wird der Datenträger 1 betriebsfähig gemacht, indem die notwendigen Signale, insbesondere die Stromversorgung, der Takt, das Rücksetzsignal und ggf. weitere Datenkanäle übertragen werden. Die Übertragung erfolgt dabei beispielsweise über eine elektrische Leitung oder ein elektromagnetisches Feld.In 2 is an exemplary block diagram of one in the disk 1 introduced semiconductor circuit 2 shown. The semiconductor circuit comprises a central processing unit CPU, at least one interface I / O, via which a contact-based and / or contactless communication connection to the terminal 5 is possible. This I / O interface becomes the volume 1 made operational by the necessary signals, in particular the power supply, the clock, the reset signal and possibly other data channels are transmitted. The transmission takes place for example via an electrical line or an electromagnetic field.

Der Halbleiterschaltkreis 2 weist weiterhin einen flüchtigen Speicherbereich 3 auf, insbesondere ein Random-Access-Memory, kurz RAM. Dieser Speicher zeichnet sich durch schnelle Zugriffszeiten im Vergleich zu anderen Speichertechnologien und den Verlust des Speicherinhalts bei Wegfall der Stromversorgung aus. Weiterhin ist im Schaltkreis 2 ein nichtflüchtiger Speicherbereich 4 vorgesehen. Dieser Speicherbereich 4 weist einen einfach wieder beschreibbaren nichtflüchtigen Speicher 4a und einen mehrfach wieder beschreibbaren nichtflüchtigen Speicher 4b auf. Der Speicher 4a ist beispielsweise ein Read-Only-Memory, der während einer Produktions- und/oder Personalisierungsphase mit Dateien beschrieben wird, die unveränderbar im Bereich 4a abgelegt sind. Der Speicher 4b hingegen ist mehrfach wieder beschreibbar. Vorrangig wird der Speicherbereich 4b bei heutigen Datenträgern in EEPROM oder FLASH Technologie ausgestaltet.The semiconductor circuit 2 also has a volatile memory area 3 on, in particular a random access memory, short RAM. This memory is characterized by fast access times compared to other storage technologies and the loss of memory content when power is lost. Furthermore, in the circuit 2 a nonvolatile memory area 4 intended. This storage area 4 has a rewritable nonvolatile memory 4a and a rewritable nonvolatile memory 4b on. The memory 4a is, for example, a read-only memory that is described during a production and / or personalization phase with files that are unchangeable in scope 4a are stored. The memory 4b however, is repeatedly writable. Priority is given to the memory area 4b designed for today's data carriers in EEPROM or FLASH technology.

Der in 2 dargestellte Datenträger 1 empfängt nun über die I/O Schnittstelle den in 1 erwähnten aktualisierten Dateiinhalt 12a in Form von APDU und übermittelt diesen aktualisierten Dateiinhalt 12b an die Recheneinheit CPU. Die CPU wiederum hat in gewissem Rahmen Zugriffsrechte auf den flüchtigen Speicherbereich 3 sowie die nichtflüchtige Speicherbereiche 4a und 4b. Gemäß dem Stand der Technik und der in der Einleitung erwähnten GSM und ETSI Spezifikationen wird nach Empfang der aktualisierten Dateiinhalte 12a veranlasst, dass der aktualisierte Dateiinhalt 12a in den nichtflüchtigen mehrfachbeschreibbaren Speicherbereich 4b gespeichert wird.The in 2 illustrated data carrier 1 now receives the in. via the I / O interface 1 mentioned updated file content 12a in the form of APDU and transmits this updated file content 12b to the arithmetic unit CPU. The CPU, in turn, has some access rights to the volatile memory area 3 as well as the non-volatile memory areas 4a and 4b , According to the prior art and the GSM and ETSI specifications mentioned in the introduction, after reception of the updated file contents 12a causes the updated file content 12a into the non-volatile rewritable memory area 4b is stored.

In 3 ist ein beispielhaftes Dateisystem 8 gemäß dem Stand der Technik dargestellt. Das Dateisystem weist ein Master File, MF und zwei Dedicated Files DF1, DF2 als Verzeichnisdateien 9 auf. Hierarchisch untergeordnet weist jedes DF zwei Elementary Files EF1, EF2 bzw. EF3, EF4 auf, die im Folgenden als Dateien 10 bezeichnet werden. In 3 gestrichelt dargestellt kann eine Verzeichnisdatei DF1 eine weitere Verzeichnisdatei DF3 beinhalten, die wiederum Elementary Files EF5, EF6 beinhaltet. Werden nun während im Rahmen eines Aktualisierungskommandos 15 aktualisierte Dateiinhalte 12a für die Dateien EF1, EF2 empfangen, so werden die ursprünglichen Dateiinhalte 12b durch die aktualisierten Dateiinhalte 12a im Rahmen der Aktualisierung 15 ersetzt, sozusagen die Dateiinhalte 12b mit den Dateiinhalten 12a überschrieben. Da dieser Dateiinhalt 12 immer auf dem gleichen Sektor des mehrfach beschreibbaren Speicherbereichs 4b ist, wird dieser Sektor eventuell öfter beschrieben, als andere Sektoren, die nur gelesen werden, wobei irgendwann die maximale Schreibzugriffszahl erreicht ist. Somit schmälern diese Sektoren des Speicherbereichs 4b die Lebenszeit des Datenträgers 1 und führen insbesondere zu dessen Nichtbetriebsfähigkeit. Speziell bei fest eingebrachten Datenträgern 1 im Endgerät 5 kann dies zu massiven Kosten führen, da ein Austausch des Datenträgers 1 aufwendig ist.In 3 is an exemplary file system 8th represented according to the prior art. The file system has a master file, MF and two dedicated files DF1, DF2 as directory files 9 on. Hierarchically subordinate, each DF has two elementary files EF1, EF2 and EF3, EF4, hereafter referred to as files 10 be designated. In 3 A directory file DF1 may include a further directory file DF3, which in turn contains elementary files EF5, EF6. Will now while under an update command 15 updated file contents 12a for the files EF1, EF2 received, then the original file contents 12b through the updated file contents 12a As part of the Update 15 replaced, so to speak, the file contents 12b with the file contents 12a overwritten. Because of this file content 12 always on the same sector of the rewritable memory area 4b This sector may be described more often than other sectors that are only read, eventually reaching the maximum write access number. Thus, these sectors diminish the memory area 4b the lifetime of the disk 1 and in particular lead to its inoperability. Especially for permanently inserted data carriers 1 in the terminal 5 This can lead to massive costs, as an exchange of the data carrier 1 is expensive.

In 4 wird nun eine objektorientierte Struktur einer Datei 10 gezeigt. Dabei ist ein Dateideskriptor 11 gezeigt. Der Deskriptor 11, auch als Dateiheader bezeichnet, beinhaltet die verwaltungstechnisch relevanten Informationen des eigentlichen Dateiinhalts 12. Der Dateideskriptor 11 weist an einer ein Attribut 13 auf, welches die Eigenschaft der Datei 10 kennzeichnet. Als Attribut 13 gibt es insbesondere das WORM-Attribut, eine Kennzeichnung dafür, dass die entsprechende Datei 10 nur einmal geschrieben, aber mehrfach gelesen werden darf. Ein weiteres Attribut 13 ist das EDC-Attribut, eine Kennzeichnung dafür, dass der Dateiinhalt 12 dieser Datei 10 besonders sensibel ist und mit einem Error Detection Code, kurz EDC, ausgestattet ist, um das Umkippen einzelner Speicherbits im nichtflüchtigen Speicher sofort zu erkennen. Als Attribut 13 ist auch der atomare Schreibzugriff vorgesehen, eine Kennzeichnung dafür, dass diese Datei 10 nur vollständig oder gar nicht geschrieben werden darf. Weitere Attribute können für die Schnittstellenverwaltung, den Bootvorgang des Datenträgers, der Dateiverschlüsselung und vieles mehr vergeben werden.In 4 now becomes an object-oriented structure of a file 10 shown. There is a file descriptor 11 shown. The descriptor 11 , also referred to as a file header, contains the administratively relevant information of the actual file content 12 , The file descriptor 11 has an attribute on it 13 on which the property of the file 10 features. As an attribute 13 In particular, there is the WORM attribute, which indicates that the corresponding file 10 written only once, but may be read multiple times. Another attribute 13 is the EDC attribute, a label that indicates the file contents 12 this file 10 is particularly sensitive and equipped with an Error Detection Code, EDC for short, in order to detect the tipping over of individual memory bits in the non-volatile memory immediately. As an attribute 13 is also the atomic write access provided, a label that this file 10 may only be written completely or not at all. Other attributes can be assigned for interface management, disk booting, file encryption, and more.

Ein für diese Anmeldung sehr wichtiges Attribut 13 ist das Attribut für häufiges Schreiben, englisch: High Update Activity. Dies ist eine Kennzeichnung für eine Datei 10, die sehr häufig aktualisiert wird und entsprechend viele Schreib-/Lesezugriffe auf den nichtflüchtigen Speicherbereich 4b verursacht.A very important attribute for this application 13 is the attribute for frequent writing, English: High Update Activity. This is a label for a file 10 which is updated very frequently and accordingly many read / write accesses to the nonvolatile memory area 4b caused.

Der eigentliche Dateiinhalt 12 der Datei 10 ist wiederum in dem Datei-Body enthalten. Der Dateideskritor 11 hat stets einen Zeiger auf die Adresse des Speicherbereichs 4b, in dem der Dateiinhalt 12 der zu dem Deskriptor 11 gehört, abgespeichert ist. Bei der Aktualisierung von Dateiinhalt 12 muss nun nicht ein Komplettersatz des ursprünglichen Dateiinhalts 12b mit dem aktualisierten Dateiinhalt 12a erfolgen, sondern insbesondere können nur Teile des Dateiinhalts 12b aktualisiert werden. Somit kann ein Aktualisierungskommando 15 ein aktualisierten Dateiinhalt 12a für nur einen Bruchteil eines ursprünglichen Dateiinhalts 12b umfassen.The actual file content 12 the file 10 is again contained in the file body. The file critic 11 always has a pointer to the address of the memory area 4b in which the file contents 12 to the descriptor 11 belongs, is stored. When updating file content 12 does not have to be a complete sentence of the original file content 12b with the updated file content 12a In particular, only parts of the file content can be made 12b to be updated. Thus, an update command 15 an updated file content 12a for only a fraction of an original file content 12b include.

Im Sinn der Anmeldung ist unter dem Begriff aktualisierter Dateiinhalt zum einen der Ersatz eines bereits im nichtflüchtigen Speicherbereichs abgespeicherter ursprünglicher Dateiinhalt verstanden, aber auch nachladbarer Dateiinhalt denkbar.In the context of the application, the term "updated file content" is understood to mean the replacement of an original file content already stored in the non-volatile memory area, but also rechargeable file content.

In 5 ist ein Programmablauf eines erfindungsgemäßen Verfahrens dargestellt. Hierbei wird der Datenträger 1 in Betrieb genommen, was mit einem Sessionbeginn dargestellt ist. Mit Inbetriebnahme ist die Versorgung des Datenträgers 1 mit Takt, Reset, Spannung und ggf. weiteren Signalen zu verstehen. Während der Session erfolgt das Empfangen 17 eines aktualisierten Dateiinhalts 12a. Das Empfangen ist hierbei in 1 andeutungsweise erläutert und nicht explizit Bestandteil der Erfindung. Ist der Empfang 17 abgeschlossen erfolgt erfindungsgemäß das Überprüfen 18 auf das Attribut 13 der Datei 10, die den aktualisierten Dateiinhalt 12a betrifft. Dieses Attribut 13 ist entweder während des Empfangs 17 mit empfangen worden oder alternativ durch ein Auslesen des zum aktualisierten Dateiinhalt 12a gehörenden Dateideskriptors 11 im nichtflüchtigen Speicherbereich 4b erfolgt. Im Folgenden wird als bestimmtes Attribut 13 das Attribut „High Update Activity” verwendet, wobei die Erfindung darauf nicht eingeschränkt ist.In 5 is a program flow of a method according to the invention shown. This is the disk 1 put into operation, which is shown with a session start. With commissioning is the supply of the data carrier 1 with clock, reset, voltage and possibly other signals to understand. During the session the reception takes place 17 an updated file content 12a , Receiving is here in 1 Suggestively explained and not explicitly part of the invention. Is the reception 17 completed according to the invention, the check 18 on the attribute 13 the file 10 containing the updated file content 12a concerns. This attribute 13 is either during the reception 17 received with or alternatively by reading the to the updated file contents 12a belonging file descriptor 11 in the non-volatile memory area 4b he follows. The following is called a specific attribute 13 the attribute "High Update Activity" is used, the invention is not limited thereto.

Wird bei der Überprüfung 18 das Attribut 13 „High Update Activity” nicht erkannt, wird der aktualisierte Dateiinhalt 12a in den nichtflüchtigen Speicherbereich 4b geschrieben. Insbesondere wird der dazugehörige ursprüngliche Dateiinhalt 12b überschrieben.Will in the review 18 the attribute 13 "High Update Activity" does not recognize the updated file contents 12a in the non-volatile memory area 4b written. In particular, the associated original file content 12b overwritten.

Wird hingegen bei der Überprüfung 18 das Attribut 13 „High Update Activity” erkannt, so wird der aktualisierte Dateiinhalt nur in den flüchtigen Speicherbereich 3, insbesondere den Arbeitsspeicher RAM für diese Session gespeichert. Der Dateiinhalt 12a kann für diese Session verwendet werden und steht für alle notwendigen Operationen im Datenträger 1 bereit. In der Spezifikation ETSI TS 102 241 werden karteninterne Prozesse für SIM/USIM Karten 1 beschrieben, beispielsweise der Prozess „FILE UPDATE EVENT”, die weiterhin funktionieren, wenn der aktualisierte Dateiinhalt 12a ausschließlich im flüchtigen Speicherbereich 3 gespeichert ist. Der aktualisierte Dateiinhalt 12a ist nämlich für Applikationen, beispielsweise Java Card Applets, auf dem Datenträger 1 weiterhin völlig transparent und wird ohne Probleme weiter verwendbar sein. Das bedeutet insbesondere, dass eine Applikation nach wie vor getriggert wird, wenn für eine Datei 10 der Applikation ein aktualisierter Dateiinhalt 12a empfangen wurde und es ist unerheblich, ob der aktualisierte Dateiinhalt 12a im flüchtigen Speicher 3 oder im nichtflüchtigen Speicher 4b abgelegt ist.Will, however, during the review 18 the attribute 13 "High Update Activity" detected, so the updated file content is only in the volatile memory area 3 , in particular the RAM memory stored for this session. The file content 12a can be used for this session and stands for all necessary operations in the volume 1 ready. In the specification ETSI TS 102 241 become card-internal processes for SIM / USIM cards 1 For example, the "FILE UPDATE EVENT" process that will continue to work if the updated file content 12a exclusively in the volatile memory area 3 is stored. The updated file content 12a namely for applications, such as Java Card Applets, on the disk 1 still completely transparent and will continue to be usable without problems. This means in particular that an application is still triggered when for a file 10 the application an updated file content 12a has been received and it does not matter if the updated file content 12a in the volatile memory 3 or in nonvolatile memory 4b is stored.

Wird der Datenträger deaktiviert, beispielsweise durch Beenden der Session, verliert der RAM Speicherbereich 3 seinen Inhalt und der aktualisierte Dateiinhalt 12a wird verworfen. Bei erneuter Inbetriebnahme des Datenträgers wird bei Bedarf der ursprüngliche Dateiinhalt 12b aus dem nichtflüchtigen Speicherbereich 4b geladen. If the volume is disabled, for example, by ending the session, the RAM loses space 3 its content and the updated file content 12a is discarded. When the disk is re-commissioned, the original file content is restored as needed 12b from the non-volatile memory area 4b loaded.

Mit Speichern im RAM 3 wird dabei verstanden, dass die Dateien nicht weiter im nichtflüchtigen Speicherbereich 4b abgespeichert sind und bis zum Ende der Session ausschließlich im RAM 3 gespeichert sind.With saving in RAM 3 It is understood that the files no longer in the non-volatile memory area 4b are stored and until the end of the session exclusively in RAM 3 are stored.

Gemäß der erwähnten Spezifikation sollten alle Dateien 10 im nichtflüchtigen Speicherbereich 4b abgelegt werden. Durch Anwenden des erfindungsgemäßen Verfahrens werden speziell gekennzeichnete Dateien 10 einfach nicht aktualisiert, da diese Dateien 10 keine Zählerstände oder sonstige kontinuierliche Dateiinhalte 12 aufweisen, welche das Zusammenspiel zwischen dem Mobilfunknetz 6, Endgerät 5 und Datenträger 1 beeinträchtigen würden. Im vorliegenden Fall wird also radikal auf die Aktualisierung der Dateien verzichtet, da diese Aktualisierung nur für diese aktuelle Session wichtig ist und ansonsten irrelevant ist. Um den RAM 3 nicht unnötig zu überladen sollten Attribute 13 von Dateien 10 gewählt werden, die wegen der limitierten Größe des RAM 3 nicht allzu groß sind, insbesondere wenige Byte aufweisen.According to the mentioned specification, all files should be 10 in the non-volatile memory area 4b be filed. By applying the method according to the invention are specially marked files 10 just not updated, because these files 10 no meter readings or other continuous file contents 12 show the interaction between the mobile network 6 , Terminal 5 and disk 1 would affect. In the present case, the updating of the files is radically dispensed with since this update is important only for this current session and is otherwise irrelevant. To the RAM 3 should not unnecessarily overload attributes 13 of files 10 be chosen because of the limited size of the RAM 3 not too big, in particular a few bytes.

Gemäß 6 ist ein alternatives Ausführungsbeispiel zu dem in 5 dargestellten Verfahrensablaufdiagramm gezeigt. Die Verfahrensverläufe unterscheiden sich nur dahingehend, dass nach dem Überprüfen 18 des bestimmten Attributs 13 ein weiteres Überprüfen 20 des Dateideskriptors 11, insbesondere des Namens der zu aktualisierenden Datei 10 erfolgt. Wenn dieses Überprüfen 20 ergibt, dass die Aktualisierung der Datei 10 im nichtflüchtigen Speicherbereich 4b erfolgen muss, unabhängig vom Attribut 13, so wird diese Aktualisierung des Dateiinhalts 12 in den nichtflüchtigen Speicher 4b geschrieben.According to 6 is an alternative embodiment to that in 5 shown process flow diagram shown. The process histories differ only in that after checking 18 of the specific attribute 13 another check 20 of the file descriptor 11 , in particular the name of the file to be updated 10 he follows. If this check 20 that results in updating the file 10 in the non-volatile memory area 4b must be made, regardless of the attribute 13 so will this update of the file contents 12 in the non-volatile memory 4b written.

Wenn dieses Überprüfen 20 ergibt, dass die Aktualisierung der Datei 10 nicht im nichtflüchtigen Speicherbereich 4b erfolgen muss so wird diese Aktualisierung des Dateiinhalts 12 nur im flüchtigen Speicher 3 gespeichert.If this check 20 that results in updating the file 10 not in the non-volatile memory area 4b so this will be the update of the file contents 12 only in volatile memory 3 saved.

Im Folgenden werden beispielhaft Namen von EF-Dateien 10 aufgelistet, die das Attribut 13 „High Update Activity” aufweisen und problemlos nach Beenden der Session des Datenträgers 1 verworfen werden können:

  • – EF Loci
  • – EF Kc
  • – EF KcGPRS
  • – EF LociGPRS
The following are examples of EF file names 10 listed the attribute 13 Have "High Update Activity" and easily after completing the session of the disk 1 can be discarded:
  • - EF Loci
  • - EF Kc
  • - EF KcGPRS
  • - EF LociGPRS

Diese Auflistung ist nicht vollständig. Wie bereits erwähnt können andere Attribute oder andere Kennzeichnungen verwendet werden, um das erfindungsgemäße Verfahren anzuwenden.This listing is not complete. As already mentioned, other attributes or other markings may be used to apply the method of the invention.

Alternativ zum Attribut „High Update Activity” können auch Dateien 10 für das erfindungsgemäße Verfahren verwendet werden, die eine Kennzeichnung enthalten, dass sie bei einem Bootvorgang des Endgeräts 5 nicht vom Datenträger 1 gelesen werden und während eines Aktualisierungsvorgangs im Datenträger 1 empfangen werden.As an alternative to the "High Update Activity" attribute, files can also be used 10 be used for the inventive method, which contain an identification that they at a booting of the terminal 5 not from the disk 1 read and during an update process in the volume 1 be received.

In 7 ist ein zu den 5 und 6 alternatives Ausführungsbeispiel dargestellt. Im Unterschied zur 5 wird nach dem Empfang 17 das Inkrementieren 21 eines, im Datenträger 1 vorgesehener Aktualisierungszähler, erfolgen. Anschließend erfolgt ein Vergleich 22 des Zählerstands dieses Aktualisierungszählers mit einem voreingestellten Wert X. Ist der Zählerstand gleich oder größer als der Wert X erfolgt unabhängig von der Attributüberprüfung 18 oder der weiteren Überprüfung 20 das Speichern des aktualisierten Dateiinhalts 12a im nichtflüchtigen Speicherbereich 4b.In 7 is one to the 5 and 6 illustrated alternative embodiment. In contrast to 5 will be after receipt 17 incrementing 21 one, in the volume 1 provided update counter, take place. Subsequently, a comparison is made 22 of the count of this update counter with a preset value X. If the count is equal to or greater than the value X is independent of the attribute check 18 or further review 20 saving the updated file content 12a in the non-volatile memory area 4b ,

Durch diese Ausgestaltung ist es möglich, jedes x-te Update einer Datei 10 abzulegen.With this configuration, it is possible every x-th update of a file 10 store.

Dieser Aktualisierungszähler kann alternativ inkrementiert werden, wenn feststeht, dass der aktualisierte Dateiinhalt 12a nur im RAM 3 gespeichert wird.Alternatively, this update counter may be incremented if it is determined that the updated file content 12a only in RAM 3 is stored.

Alternativ und nicht dargestellt, wird ein Aktualisierungszählerstand zu dem Zeitpunkt mit empfangen, wenn der aktualisierte Dateiinhalt 12a empfangen wird. Anhand des mitgelieferten Zählerstands wird der Vergleich 22 durchgeführt und entschieden, ob der Dateiinhalt im flüchtigen Speicherbereich 3 oder im nichtflüchtigen Speicherbereich 4 gespeichert wird.Alternatively and not shown, an update count is received at the time when the updated file content 12a Will be received. Based on the supplied meter reading, the comparison 22 performed and decided whether the file contents in the volatile memory area 3 or in the non-volatile memory area 4 is stored.

Ebenfalls ist es denkbar, dass der Dateideskriptor 11 eine Kennzeichnung über die Dateiversion 16 aufweist und mit dem Empfang 17 die aktuelle Version mitgeteilt wird. Anhand der Version 16 der Datei 10 wird entschieden, ob der Dateiinhalt im flüchtigen Speicherbereich 3 oder im nichtflüchtigen Speicherbereich 4 gespeichert wird.It is also conceivable that the file descriptor 11 a label about the file version 16 and with the reception 17 the current version is communicated. Based on the version 16 the file 10 a decision is made as to whether the file content is in the volatile memory area 3 or in the non-volatile memory area 4 is stored.

Insbesondere und hier nicht weiter dargestellt, erfolgt die Aktualisierung im nichtflüchtigen Speicherbereich 4b auf jeden Fall, wenn die erste Aktualisierung der Datei 10 empfangen wurde, da diese für den korrekten Betrieb des Datenträgers 1, des Endgeräts 5 und der entfernten Mobilfunkinstanz 7 notwendig sind sein.In particular, and not shown here further, the update takes place in the non-volatile memory area 4b in any case, when the first update of the file 10 was received, as these are for the correct operation of the disk 1 , the terminal 5 and the remote mobile station 7 be necessary.

In einer in den Figuren nicht dargestellten weiteren Ausgestaltung wird der empfangene aktualisierte Dateiinhalt 12a im nichtflüchtigen Speicherbereich 4b abgespeichert, wenn sich der Dateiinhalt 12a vom ursprünglichen Dateiinhalt 12b stark unterscheidet. Am Beispiel der EF Loci wäre ein Indikator für diese starke Unterscheidung, wenn ein anderer MCC (Mobile Country Code) oder ein anderer MNC (Mobile Network Code) im LAI-Feld (Location Area Identity) der aktualisierten EF Loci anstelle der ursprünglichen EF Loci befindet. In a further embodiment, not shown in the figures, the received updated file content 12a in the non-volatile memory area 4b saved when the file contents 12a from the original file content 12b strongly different. Using the example of the EF loci as an example of this strong distinction, if another MCC (Mobile Country Code) or another Mobile Network Code (MNC) is in the Location Area Identity (LAI) field of the updated EF loci instead of the original EF loci ,

BezugszeichenlisteLIST OF REFERENCE NUMBERS

11
Tragbarer Datenträger; SIMPortable data carriers; SIM
22
Integrierter SchaltkreisIntegrated circuit
33
Flüchtiger Speicherbereich, RAMVolatile storage area, RAM
44
Nichtflüchtiger SpeicherbereichNon-volatile memory area
4a4a
Nichtflüchtiger einmalbeschreibbarer Speicher ROMNon-volatile write-once memory ROM
4b4b
Nichtflüchtiger mehrfachbeschreibbarer Speicher, EEPROM, FLASHNon-volatile rewriteable memory, EEPROM, FLASH
55
Endgerätterminal
5a5a
Interner EndgeräteschaltkreisInternal terminal circuit
66
Mobilfunkverbindung, OTAMobile connection, OTA
77
Mobilfunkinstanz,Mobile instance,
7a7a
Aktualisierungsserverupdate server
88th
Dateisystemfile system
99
Verzeichnis Master File (MF), Dedicated File (DF)Directory Master File (MF), Dedicated File (DF)
1010
Datei, Elementary File (EF)File, Elementary File (EF)
1111
Datei-DeskriptorFile descriptor
1212
Dateiinhaltfile content
12a12a
Aktualisierter DateiinhaltUpdated file content
12b12b
Ursprünglicher DateiinhaltOriginal file content
1313
Attribut der DateiAttribute of the file
1414
Teil des DateiinhaltsPart of the file content
1515
Aktualisierungskommandoupdate command
1616
Dateiversionfile version
1717
Aktualisierung einer EF empfangenUpdating an EF received
1818
Überprüfen des Attributs der EFCheck the attribute of the EF
1919
Speichern der EF in Abhängigkeit des Attributs der EFStore the EF depending on the attribute of the EF
2020
Speichern der EF in Abhängigkeit des EFSave the EF depending on the EF
2121
Inkrementieren des UpdatezählersIncrement the update counter
2222
Vergleichen des Updatezählerstands mit voreingestelltem WertCompare the update count with preset value

ZITATE ENTHALTEN IN DER BESCHREIBUNG QUOTES INCLUDE IN THE DESCRIPTION

Diese Liste der vom Anmelder aufgeführten Dokumente wurde automatisiert erzeugt und ist ausschließlich zur besseren Information des Lesers aufgenommen. Die Liste ist nicht Bestandteil der deutschen Patent- bzw. Gebrauchsmusteranmeldung. Das DPMA übernimmt keinerlei Haftung für etwaige Fehler oder Auslassungen.This list of the documents listed by the applicant has been generated automatically and is included solely for the better information of the reader. The list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions.

Zitierte Nicht-PatentliteraturCited non-patent literature

  • 5. Auflage des „Handbuch der Chipkarten” der Autoren Wolfgang Rankl und Wolfgang Effing, nachfolgend als Rankl/Effing bezeichnet, erschienen 2008 beim Carl Hanser Verlag Seite 502 ff im Punkt 13.7 „Dateiverwaltung” [0004] 5th edition of the "Handbook of Chip Cards" by the authors Wolfgang Rankl and Wolfgang Effing, hereinafter referred to as Rankl / Effing, published in 2008 by the Carl Hanser Verlag, page 502 ff at point 13.7 "File Management" [0004]
  • Rankl/Effing unter Punkt 12.9 „Attribute von Dateien” ab Seite 474 [0017] Rankl / Effing under item 12.9 "Attributes of Files" from page 474 [0017]
  • ETSI 3GPP TS 11.11/51.011 [0025] ETSI 3GPP TS 11.11 / 51.011 [0025]
  • ETSI 3GPP TS 31.102 [0025] ETSI 3GPP TS 31.102 [0025]
  • ISO/IEC 14443 [0032] ISO / IEC 14443 [0032]
  • 15693 [0032] 15693 [0032]
  • 18092 [0032] 18092 [0032]
  • ISO/IEC 7816 [0032] ISO / IEC 7816 [0032]
  • ETSI TS 102 241 [0058] ETSI TS 102 241 [0058]

Claims (14)

Verfahren zum Speichern einer Datei (10) in einem tragbaren Datenträger (1), wobei die Datei (10) einen Dateideskriptor (11) und einen Dateiinhalt (12) aufweist mit den Verfahrensschritten: – Empfangen (17) eines Dateiinhalts (12) der Datei (10) während des Betriebs des Datenträgers (1) im Datenträger (1); und – Überprüfen (18) eines Attributs (13) der Datei (10), deren Dateiinhalt (12) empfangen wurde, durch den Datenträger (1); dadurch gekennzeichnet, dass der Dateiinhalt (12) in einem flüchtigen Speicherbereich (3) des Datenträgers (1) zur Verwendung während dieses Betriebs des Datenträgers (1) gespeichert wird, wenn die Datei (10) ein bestimmtes Attribut (13) aufweist.Procedure for saving a file ( 10 ) in a portable data carrier ( 1 ), where the file ( 10 ) a file descriptor ( 11 ) and a file content ( 12 ) comprising the steps of: receiving ( 17 ) of a file content ( 12 ) of the file ( 10 ) during operation of the data carrier ( 1 ) in the data carrier ( 1 ); and - checking ( 18 ) of an attribute ( 13 ) of the file ( 10 ) whose file contents ( 12 ) was received by the data carrier ( 1 ); characterized in that the file content ( 12 ) in a volatile memory area ( 3 ) of the data carrier ( 1 ) for use during this operation of the data carrier ( 1 ) is saved when the file ( 10 ) a certain attribute ( 13 ) having. Verfahren nach Anspruch 1, wobei der Dateiinhalt (12) ein aktualisierter Dateiinhalt (12a) ist und die Datei (10) mit einem ursprünglichen Dateiinhalt (12b) in einem nichtflüchtigen Speicherbereich (4b) des Datenträgers (1) abgelegt ist.The method of claim 1, wherein the file content ( 12 ) an updated file content ( 12a ) and the file ( 10 ) with an original file content ( 12b ) in a nonvolatile memory area ( 4b ) of the data carrier ( 1 ) is stored. Verfahren nach Anspruch 2, wobei der aktualisierte Dateiinhalt (12a) ausschließlich in dem flüchtigen Speicherbereich (3) des Datenträgers (1) gespeichert wird, sodass der aktualisierte Dateiinhalt (12a) beim Deaktivieren des Datenträgers (1) ungesichert verworfen wird.The method of claim 2, wherein the updated file content ( 12a ) exclusively in the volatile memory area ( 3 ) of the data carrier ( 1 ), so that the updated file content ( 12a ) when deactivating the data carrier ( 1 ) is discarded unsecured. Verfahren nach Anspruch 2 oder 3, wobei bei einer erneuten Inbetriebnahme des Datenträgers (1) der ursprüngliche Dateiinhalt (12b) der Datei (10) aus dem nichtflüchtigen Speicherbereich (4b) des Datenträgers (1) geladen wird.Method according to claim 2 or 3, wherein upon restarting the data carrier ( 1 ) the original file content ( 12b ) of the file ( 10 ) from the nonvolatile memory area ( 4b ) of the data carrier ( 1 ) is loaded. Verfahren nach einem der vorhergehenden Ansprüche, wobei der Datenträger (1) ein Teilnehmeridentifikationsmodul für ein Mobilfunknetz (6) ist.Method according to one of the preceding claims, wherein the data carrier ( 1 ) a subscriber identification module for a mobile radio network ( 6 ). Verfahren nach einem der vorhergehenden Ansprüche, wobei die Datei (10) ein Elementary File eines Dateisystems (8) einer SIM-Karte ist und das bestimmte Attribut (13) das „High Update Activity” Attribut ist.Method according to one of the preceding claims, wherein the file ( 10 ) an elementary file of a file system ( 8th ) of a SIM card and the particular attribute ( 13 ) is the "High Update Activity" attribute. Verfahren nach einem der Ansprüche 5 oder 6, wobei beim Überprüfen (18) des Attributs (13) auch der Name der Datei (1) überprüft wird.Method according to one of claims 5 or 6, wherein when checking ( 18 ) of the attribute ( 13 ) also the name of the file ( 1 ) is checked. Verfahren nach einem der vorhergehenden Ansprüche, wobei im Datenträger (1) ein Aktualisierungszähler vorgesehen ist, der beim Empfang (17) des Dateiinhalts (12) inkrementiert (21) wird, wenn der aktualisierte Dateiinhalt (12a) nur im flüchtigen Speicherbereich (3) des Datenträgers (1) abgelegt wird.Method according to one of the preceding claims, wherein in the data carrier ( 1 ) an update counter is provided which upon receipt ( 17 ) of the file content ( 12 ) is incremented ( 21 ), if the updated file content ( 12a ) only in the volatile memory area ( 3 ) of the data carrier ( 1 ) is stored. Verfahren nach Anspruch 8, wobei der Zählerstand des Aktualisierungszählers mit einem voreingestellten Wert verglichen wird und wobei der aktualisierte Dateiinhalt (12a) unabhängig vom Attribut (13) der Datei (10) im nichtflüchtigen Speicherbereich (4b) gespeichert wird, wenn der Zählerstand den voreingestellten Wert überschreitet, wobei der ursprüngliche Dateiinhalt (12b) vom aktualisierten Dateiinhalt (12a) überschrieben wird.The method of claim 8, wherein the count of the update counter is compared to a preset value, and wherein the updated file content ( 12a ) regardless of the attribute ( 13 ) of the file ( 10 ) in the nonvolatile memory area ( 4b ) is stored when the count exceeds the preset value, whereby the original file content ( 12b ) from the updated file content ( 12a ) is overwritten. Verfahren nach einem der vorhergehenden Ansprüche, wobei der aktualisierte Dateiinhalt (12a) unabhängig vom Attribut (13) im nichtflüchtigen Speicherbereich (4b) gespeichert wird, wenn der ursprüngliche Dateiinhalt (12b) erstmalig aktualisiert wird.Method according to one of the preceding claims, wherein the updated file content ( 12a ) regardless of the attribute ( 13 ) in the nonvolatile memory area ( 4b ) is saved when the original file contents ( 12b ) is updated for the first time. Verfahren nach einem der vorhergehenden Ansprüche, wobei der aktualisierte Dateiinhalt (12a) mittels Over-the-Air Dienst (6) von einer entfernten Mobilfunkinstanz (7) oder durch eine Kommunikationsverbindung mit einem Endgerät (5) in dem Datenträger (1) empfangen wird.Method according to one of the preceding claims, wherein the updated file content ( 12a ) by means of over-the-air service ( 6 ) from a remote mobile station ( 7 ) or by a communication link with a terminal ( 5 ) in the volume ( 1 ) Will be received. Computerprogrammprodukt, das direkt in den flüchtigen oder nichtflüchtigen Speicher des Datenträgers geladen wird und Softwarecodeabschnitte umfasst, mit denen die Verfahrensschritte gemäß einem der vorstehenden Verfahrensansprüche 1 bis 11 ausgeführt werden, wenn das Produkt auf dem Datenträger abläuft.Computer program product which is loaded directly into the volatile or non-volatile memory of the data carrier and comprises software code sections, with which the method steps according to one of the preceding method claims 1 to 11 are executed, when the product runs on the data medium. Tragbarer Datenträger (1), umfassend einen integrierten Halbleiterschaltkreis (2) mit: – einer Kommunikationsschnittstelle (I/O) zum Empfangen (17) eines aktualisierten Dateiinhalts (12a) einer Datei (10); – einem flüchtigen Speicherbereich (3) zum Speichern (19) des aktualisierten Dateiinhalts (12a); und – einem nichtflüchtigen Speicherbereich (4b) zum Speichern (19) eines ursprünglichen Dateiinhalts (12b) und eines Dateideskriptors (11) der Datei (10); dadurch gekennzeichnet, dass der Datenträger weiterhin eine Überprüfungseinheit aufweist, die ein Attribut (13) der Datei überprüft und der aktualisierte Dateiinhalt (12a) nur im flüchtigen Speicherbereich (3) zur Verwendung während eines Betriebs des Datenträgers (1) gespeichert wird, wenn die Datei (10) ein bestimmtes Attribut (13) aufweist.Portable data carrier ( 1 ) comprising a semiconductor integrated circuit ( 2 ) with: - a communication interface (I / O) for receiving ( 17 ) of an updated file content ( 12a ) of a file ( 10 ); - a volatile memory area ( 3 ) to save ( 19 ) of the updated file content ( 12a ); and - a nonvolatile memory area ( 4b ) to save ( 19 ) of an original file content ( 12b ) and a file descriptor ( 11 ) of the file ( 10 ); characterized in that the data carrier further comprises a verification unit which has an attribute ( 13 ) of the file and the updated file content ( 12a ) only in the volatile memory area ( 3 ) for use during operation of the data carrier ( 1 ) is saved when the file ( 10 ) a certain attribute ( 13 ) having. Tragbarer Datenträger (1) nach Anspruch 13, wobei der integrierte Halbleiterschaltkreis (2) des Datenträgers (1) weiterhin umfasst: – einen Aktualisierungszähler, wobei der Aktualisierungszähler inkrementiert (21) wird, wenn der aktualisierte Dateiinhalt (12a) empfangen ist; – eine Vergleichseinheit, wobei die Vergleichseinheit den Zählerstand des Aktualisierungszählers mit einem voreingestellten Wert vergleicht; dadurch gekennzeichnet, dass der ursprüngliche Dateiinhalt (12b) im nichtflüchtigen Speicherbereich (4b) vom aktualisierten Dateiinhalt (12a) überschrieben wird, wenn der Vergleich der Vergleichseinheit ergibt, dass der Zählerstand gleich oder größer als der voreingestellte Wert ist.Portable data carrier ( 1 ) according to claim 13, wherein the semiconductor integrated circuit ( 2 ) of the data carrier ( 1 ) further comprises: an update counter, wherein the update counter increments ( 21 ), if the updated file content ( 12a ) is received; A comparison unit, wherein the comparison unit compares the count of the update counter with a preset value; characterized in that the original file content ( 12b ) in the nonvolatile memory area ( 4b ) from the updated file content ( 12a ) is overwritten when the comparison of the comparison unit reveals that the count is equal to or greater than the preset value.
DE102010054783A 2010-12-16 2010-12-16 Method for storing elementary file of card in subscriber identity module for e.g. smart phone, involves storing file content in volatile memory area of carrier for use during operating data carrier when file includes determined attribute Granted DE102010054783A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE102010054783A DE102010054783A1 (en) 2010-12-16 2010-12-16 Method for storing elementary file of card in subscriber identity module for e.g. smart phone, involves storing file content in volatile memory area of carrier for use during operating data carrier when file includes determined attribute

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102010054783A DE102010054783A1 (en) 2010-12-16 2010-12-16 Method for storing elementary file of card in subscriber identity module for e.g. smart phone, involves storing file content in volatile memory area of carrier for use during operating data carrier when file includes determined attribute

Publications (1)

Publication Number Publication Date
DE102010054783A1 true DE102010054783A1 (en) 2012-06-21

Family

ID=46512041

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102010054783A Granted DE102010054783A1 (en) 2010-12-16 2010-12-16 Method for storing elementary file of card in subscriber identity module for e.g. smart phone, involves storing file content in volatile memory area of carrier for use during operating data carrier when file includes determined attribute

Country Status (1)

Country Link
DE (1) DE102010054783A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023280412A1 (en) 2021-07-08 2023-01-12 Cariad Se Electronic control unit, vehicle with an electronic control unit and method for updating an electronic control unit

Non-Patent Citations (9)

* Cited by examiner, † Cited by third party
Title
15693
18092
5. Auflage des "Handbuch der Chipkarten" der Autoren Wolfgang Rankl und Wolfgang Effing, nachfolgend als Rankl/Effing bezeichnet, erschienen 2008 beim Carl Hanser Verlag Seite 502 ff im Punkt 13.7 "Dateiverwaltung"
ETSI 3GPP TS 11.11/51.011
ETSI 3GPP TS 31.102
ETSI TS 102 241
ISO/IEC 14443
ISO/IEC 7816
Rankl/Effing unter Punkt 12.9 "Attribute von Dateien" ab Seite 474

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023280412A1 (en) 2021-07-08 2023-01-12 Cariad Se Electronic control unit, vehicle with an electronic control unit and method for updating an electronic control unit

Similar Documents

Publication Publication Date Title
EP2910039B1 (en) Method for incorporating subscriber identity data into a subscriber identity module
WO2010009789A1 (en) Loading and updating an application requiring personalization
DE102012015573A1 (en) Method for activating an operating system in a security module
EP2673731B1 (en) Method for programming a mobile terminal chip
DE60224937T2 (en) METHOD AND ARRANGEMENT FOR ASSOCIATING APPROVED APPLET FILES
DE102010054783A1 (en) Method for storing elementary file of card in subscriber identity module for e.g. smart phone, involves storing file content in volatile memory area of carrier for use during operating data carrier when file includes determined attribute
WO2007033792A2 (en) Method for initialising and/or personalising a portable data carrier
EP2987078B1 (en) Method for providing an application on a security module, and such a security module
EP2817804B1 (en) Extension of the operating time of a security element
WO2006087192A1 (en) Method for personalizing a portable data carrier
WO2001041087A1 (en) Method for initialising and/or personalising chip cards and a corresponding device
DE102008056710A1 (en) Portable data medium e.g. smart card, operating method for e.g. mobile telephone, involves detecting output of warning for user via terminal by data medium in case that rate of wear exceeds predetermined threshold
DE102013010261A1 (en) Method for operating a security element
WO2011033030A1 (en) Method for installing and configuring applications on a portable data carrier
EP2012280A2 (en) Portable data carrier and method for personalising a portable data carrier
EP2659349B1 (en) Method for resetting a file system
EP2747085B1 (en) Method for operating a safety element as well as such a safety element
EP4158516B1 (en) Personalization of a secure element
EP1564639B1 (en) Method for utilising a data memory medium having a trace memory
DE102021004912A1 (en) UNIVERSAL INTEGRATED CHIP CARD, UICC, FOR MANAGING PROFILES, AND PROCEDURES
DE102021004158A1 (en) Method of operating a universal integrated circuit card, UICC, and UICC
EP2172913A1 (en) Personalisation of portable data carriers
DE102021005325A1 (en) Method for the computer-aided generation of a memory image for a secure element
EP2879057B1 (en) Method for operating a storage system and such a storage system
DE102007029343A1 (en) Telephone directory entries e.g. name, storing method for mobile telephone, involves attaching additional phonebook set as directory in reserved directory for storing entries such that maximum number of short file identifiers is provided

Legal Events

Date Code Title Description
R163 Identified publications notified
R081 Change of applicant/patentee

Owner name: GIESECKE+DEVRIENT MOBILE SECURITY GMBH, DE

Free format text: FORMER OWNER: GIESECKE & DEVRIENT GMBH, 81677 MUENCHEN, DE

R012 Request for examination validly filed
R081 Change of applicant/patentee

Owner name: GIESECKE+DEVRIENT EPAYMENTS GMBH, DE

Free format text: FORMER OWNER: GIESECKE+DEVRIENT MOBILE SECURITY GMBH, 81677 MUENCHEN, DE

Owner name: GIESECKE+DEVRIENT MOBILE SECURITY GERMANY GMBH, DE

Free format text: FORMER OWNER: GIESECKE+DEVRIENT MOBILE SECURITY GMBH, 81677 MUENCHEN, DE

R016 Response to examination communication
R081 Change of applicant/patentee

Owner name: GIESECKE+DEVRIENT MOBILE SECURITY GERMANY GMBH, DE

Free format text: FORMER OWNER: GIESECKE+DEVRIENT EPAYMENTS GMBH, 81677 MUENCHEN, DE

R016 Response to examination communication
R018 Grant decision by examination section/examining division