# US 2017/0289115 A1 · Update-driven migration of data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0289115 A1
- Document ID: US20170289115A1
- Status: Published application
- Kind: A1
- Application number: 15/090,022
- Filed: 2016-04-04
- Published: 2017-10-05
- Earliest claimed: 2016-04-04
- Assignees: NXP B.V.
- Applicants: NXP B.V.
- Inventors: Andreas Lessiak; Josef Fruehwirth; Jozsef Jelenka; Harald Schlatte - Schatte; Alexandre Frey
- Web page: https://patentgrep.com/patent/US20170289115A1

## CPC

- H04L 63/0492: {by using a location-limited connection, e.g. near-field communication or limited proximity of entities}
- G06F 8/52: Binary to binary
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 16/214: {Database migration support}
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- H04L 63/0853: {using an additional device, e.g. smartcard, SIM or a different communication terminal (cryptographic mechanisms or cryptographic arrangements for entity authentication involving additional secure or trusted devices H04L9/3234)}
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 12/35: {Protecting application or service provisioning, e.g. securing SIM application provisioning}
- H04W 12/47: using near field communication [NFC] or radio frequency identification [RFID] modules
- H04B 5/20: characterised by the transmission technique; characterised by the transmission medium
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04B: TRANSMISSION

## Abstract

A current operating system that is stored in a persistent storage circuit of a secure element is replaced by receiving a set of migration rules that specify changes to a set of data object types. Based upon the set of migration rules, a migration engine identifies data objects stored in a persistent storage circuit and corresponding to the set of data object types. For each of the identified data objects: a subset of the migration rules are selected that correspond to a data object type that corresponds to a particular data object, and based upon the selected subset, the particular data object is transformed. A new operating system can then be enabled.

## Claims

### Claim 1

A method for replacing a current operating system stored in a persistent storage circuit of a secure element, the method comprising:
receiving a set of migration rules that specify changes to a set of data object types;
identify, based upon the set of migration rules, data objects stored in the persistent storage circuit and corresponding to the set of data object types;
for each of the identified data objects:
selecting a subset of the set of migration rules that correspond to a data object type that corresponds to a particular data object, and
transforming, based upon the selected subset, the particular data object; and
enabling a new operating system.

### Claim 2 (depends on 1)

The method of claim 1, further comprising receiving a set of finalization rules that specify additional changes to data stored in the persistent storage; and modifying, based upon the set of finalization rules, the data stored in the persistent storage.

### Claim 3 (depends on 2)

The method of claim 2, wherein the secure element includes a processor circuit and the persistent storage circuit and the current operating system provides a virtual machine environment for the secure element.

### Claim 4 (depends on 3)

The method of claim 3, wherein method is carried out without the data objects leaving the secure element.

### Claim 5 (depends on 3)

The method of claim 3, wherein at least some of the data modified based upon the set of finalization rules is native to the secure element.

### Claim 6 (depends on 3)

The method of claim 3, wherein at least some of the data modified based upon the set of finalization rules corresponds to new data objects added with the new operating system.

### Claim 7 (depends on 1)

The method of claim 1, wherein the secure element is part of a smart card and the data objects include personal data

### Claim 8 (depends on 1)

The method of claim 1, further comprising receiving additional sets of migration rules and selecting a particular set based upon a version of the current operating system.

### Claim 9 (depends on 1)

The method of claim 1, further comprising halting, during the transforming, access to the data objects.

### Claim 10

An apparatus comprising:
a secure element circuit that includes:
a persistent storage circuit that is configured to store data objects and a current operating system; and
a processor circuit coupled to the persistent storage and configured to:
receive a set of migration rules that specify changes to a set of data object types;
identify, based upon the set of migration rules, data objects stored in the persistent storage circuit and corresponding to the set of data object types;
for each of the identified data objects:
select a subset of the set of migration rules that correspond to a data object type that corresponds to a particular data object, and
transform, based upon the selected subset, the particular data object; and
enable a new operating system.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the processor circuit is further configured to:
receive a set of finalization rules that specify additional changes to data stored in the persistent storage; and
modify, based upon the set of finalization rules, the data stored in the persistent storage.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the processor circuit is further configured to provide a standalone operating system within which each the particular data object is transformed.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the processor circuit is further configured to maintain the particular data object within the secure element circuit while the particular data object is transformed.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the processor circuit is further configured to run the new operating system within a virtual machine environment.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the processor circuit is further configured to receive additional sets of migration rules and select a particular set based upon a version of the current operating system.

### Claim 16 (depends on 10)

The apparatus of claim 10, wherein the processor circuit is further configured to halt access to the data objects while the data objects are transformed.

### Claim 17

A computer-implemented method for generating a set of migration rules for updating a current operating system stored in a persistent storage circuit of a secure element to a new operating system, the method comprising:
receiving operating system metadata for the current operating system and the new operating system, the metadata describing object type definitions;
correlating, based upon the metadata, object types in the current operating system with object types in a new operating system;
identifying differences between the correlated object types;
generating, based upon the identified differences, a set of migration rules that specify changes to objects corresponding to the correlated object types; and
broadcasting the set of migration rules and the new operating system to a plurality of secure elements.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
identifying, based upon differences between the current operating system and the new operating system, changes that include at least one of resizing of data arrays, creation of new data objects, and changing content of stored data; and
generating executable code to implement the changes to objects corresponding to the correlated object types.
