# US 2012/0254844 A1 · Computer program product containing instructions for providing a processor the capability of executing an application derived from a compiled form

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

- Number: US 2012/0254844 A1
- Document ID: US20120254844A1
- Status: Published application
- Kind: A1
- Application number: 13/492,824
- Filed: 2012-06-09
- Published: 2012-10-04
- Earliest claimed: 1996-10-25
- Assignees: Gemalto SA
- Inventors: Timothy J. Wilkinson; Scott B. Guthery; Ksheerabdhi Krishna; Michael A. Montgomery
- Web page: https://patentgrep.com/patent/US20120254844A1

## CPC

- G06F 8/443: {Optimisation}
- G06F 8/41: Compilation
- G06F 8/52: Binary to binary
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 9/44557: {Code layout in executable memory}
- G06F 9/45504: {Abstract machines for program code execution, e.g. Java virtual machine [JVM], interpreters or emulators}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/54: Interprogram communication
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 21/77: in smart cards
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- G06Q 20/3552: {Downloading or loading of personalisation data}
- G06Q 20/3563: {Software being resident on card}
- G06Q 20/3574: {Multiple applications on card}
- G07F 7/1008: {Active credit-cards provided with means to personalise their use, e.g. with PIN-introduction/comparison system}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04W 12/03: Protecting confidentiality, e.g. by encryption
- H04W 12/062: Pre-authentication
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F 2221/2153: Using hardware token as a secondary aspect
- H04L 67/131: Protocols for games, networked simulations or virtual reality
- H04L 69/329: in the application layer [OSI layer 7]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G07F: COIN-FREED OR LIKE APPARATUS (coin sorting G07D3/00; coin testing G07D5/00; {handling coins or paper currencies apart from payment activated apparatus G07D; payment architectures, schemes or protocols G06Q20/00})
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

An integrated circuit card is used with a terminal. The integrated circuit card includes a memory that stores an interpreter and an application that has a high level programming language format. A processor of the card is configured to use the interpreter to interpret the application for execution and to use a communicator of the card to communicate with the terminal.

## Claims

### Claim 1

A programmable device comprising:
a first memory, a second memory and a processor connected to the first and second memories;
the second memory storing:
multiple applications for the programmable device including an application for the programmable device obtained from an application source program written in high level language source code form wherein the application for the programmable device is obtained from the application source program by first compiling the application source program into a compiled form and then converting the compiled form into a converted form, and
an interpreter configured to interpret applications in the converted form; and
the processor coupled to the first memory, the processor configured to use the interpreter to interpret the application for the programmable device for execution.

### Claim 2 (depends on 1)

The programmable device of claim 1 wherein the converting of the compiled form comprises removal of unnecessary program parts.

### Claim 3 (depends on 2)

The programmable device of claim 2 wherein the unnecessary program parts are attributes.

### Claim 4 (depends on 2)

The programmable device of claim 2 wherein the unnecessary program parts are program parts not necessary for interpretation of the application for the programmable device by the interpreter configured to interpret applications in the converted form.

### Claim 5 (depends on 2)

The programmable device of claim 2 wherein the unnecessary program parts are parts not necessary for interpretation.

### Claim 6 (depends on 1)

The programmable device of claim 1 wherein the interpreter is operable to recognize a method invocation as being an invocation of a native code subroutine and upon recognizing the method invocation as being an invocation of a native code subroutine, transferring control to the native code subroutine.

### Claim 7 (depends on 6)

The programmable device of claim 6 wherein the interpreter is operable to pass parameters to the native code subroutine on a stack associated with the interpreter.

### Claim 8 (depends on 6)

The programmable device of claim 6 wherein the interpreter is operable to pass parameters to the native code subroutine on a stack associated with an operating system of the programmable device.

### Claim 9 (depends on 1)

The programmable device of claim 1 wherein the converted form comprises a converted form class file, the programmable device further comprising:
a load and execution control program operable to:
receive the converted form class file;
process the converted form class file to produce an application interpretable by the interpreter while the interpreter is executing on the programmable device; and
to store the produced application interpretable by the interpreter in the second memory on the programmable device.

### Claim 10 (depends on 9)

The programmable device of claim 9 wherein the load and execution control program is written in a high level programming language.

### Claim 11 (depends on 1)

The programmable device of claim 1 further comprising:
a load and execution control program operable to:
receive, from a device operable to produce an application selection indication, an application selection indicating which application for the programmable device to execute; and
cause the interpreter to execute the selected application.

### Claim 12 (depends on 1)

The programmable device of claim 1, further comprising:
an input device connected to the processor and operable to provide an application selection indication.

### Claim 13 (depends on 12)

The programmable device of claim 12 wherein the input device connected to the processor and operable to provide an application selection indication is a device operable to communicate with the programmable device.

### Claim 14 (depends on 13)

The programmable device of claim 13 wherein the input device operable to communicate with the programmable device is an automated teller machine, a point-of-sale terminal, an access control system, a system that communicates with an integrated circuit card, or a system that communicates with a microcontroller.

### Claim 15

A programmable device comprising:
a processor connected to a memory;
the memory comprising:
an interpreter; and
multiple applications for the programmable device including at least one application for the programmable device loaded in the memory to be interpreted by the interpreter, wherein the at least one application for the programmable device is generated by a programming environment comprising:
a) a compiler for compiling application source programs written in high level language source code form into a compiled form, and
b) a converter for post processing the compiled form into a minimized form suitable for interpretation by the interpreter within a set of resource constraints.

### Claim 16

A system, comprising:
an input device operable to provide an application selection indication;
a programmable device connected to the input device and comprising:
a first memory, a second memory and a processor;
the second memory storing:
an application for the programmable device obtained from an application source program written in high level language source code form wherein the application for the programmable device is obtained from the application source program by first compiling the application source program into a compiled form and then converting the compiled form into a converted form; and
an interpreter configured to interpret applications in the converted form; and
the processor coupled to the memory, the processor configured to receive the application selection indication from the input device and to use the interpreter to interpret the application for the programmable device selected using the application selection indication.

### Claim 17

A method of operating a system having an input device operable to provide an application selection indication, a programmable device connected to the input device and having: a first memory, a second memory and a processor, the second memory storing: an application for the programmable device obtained from an application source program written in high level language source code form wherein the application for the programmable device is obtained from the application source program by first compiling the application source program into a compiled form and then converting the compiled form into a converted form; and an interpreter configured to interpret applications in the converted form; and the processor coupled to the memory, the processor configured to receive the application selection indication from the input device and to use the interpreter to interpret the application for the programmable device selected using the application selection indication, the method comprising:
receiving in the processor the application selection indication from the input device;
operating the processor according to the interpreter configured to interpret applications in the converted form to interpret the application for the programmable device selected using the received application selection indication and obtained from an application source program by converting a compiled form into a converted form.

### Claim 18 (depends on 15)

The programmable device of claim 15 wherein the post processing the compiled form into a minimized form comprises removal of unnecessary program parts.

### Claim 19 (depends on 18)

The programmable device of claim 18 wherein the unnecessary program parts are attributes.

### Claim 20 (depends on 18)

The programmable device of claim 18 wherein the unnecessary program parts are program parts not necessary for interpretation of the at least one application for the programmable device by the interpreter.

### Claim 21 (depends on 18)

The programmable device of claim 18 wherein the unnecessary program parts are parts not necessary for interpretation.

### Claim 22 (depends on 15)

The programmable device of claim 15 wherein the interpreter is operable to recognize a method invocation as being an invocation of a native code subroutine and upon recognizing the method invocation as being an invocation of a native code subroutine, transferring control to the native code subroutine.

### Claim 23 (depends on 22)

The programmable device of claim 22 wherein the interpreter is operable to pass parameters to the native code subroutine on a stack associated with the interpreter.

### Claim 24 (depends on 22)

The programmable device of claim 22 wherein the interpreter is operable to pass parameters to the native code subroutine on a stack associated with an operating system of the programmable device.

### Claim 25 (depends on 15)

The programmable device of claim 15 wherein the minimized form comprises a converted form class file, the programmable device further comprising:
a load and execution control program operable to:
receive the converted form class file;
process the converted form class file to produce an application interpretable by the interpreter while the interpreter is executing on the programmable device; and
to store the produced application interpretable by the interpreter in the memory of the programmable device.

### Claim 26 (depends on 25)

The programmable device of claim 25 wherein the load and execution control program is written in a high level programming language.

### Claim 27 (depends on 15)

The programmable device of claim 15 further comprising:
a load and execution control program operable to:
receive, from a device operable to produce an application selection indication, an application selection indicating a selected application of the at least one application for the programmable device ; and
cause the interpreter to execute the selected application.

### Claim 28 (depends on 15)

The programmable device of claim 15, further comprising:
a input device connected to the processor and operable to provide an application selection indication.

### Claim 29 (depends on 28)

The programmable device of claim 28 wherein the input device connected to the processor and operable to provide an application selection indication is a device operable to communicate with the programmable device.

### Claim 30 (depends on 29)

The programmable device of claim 29 wherein the input device operable to communicate with the programmable device is an automated teller machine, a point-of-sale terminal, an access control system, a system that communicates with an integrated circuit card, or a system that communicates with a microcontroller.
