# US 2012/0254843 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/0254843 A1
- Document ID: US20120254843A1
- Status: Published application
- Kind: A1
- Application number: 13/492,821
- 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/US20120254843A1

## 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:
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 compiled form comprises at least two class files and wherein the application for the programmable device includes a resulting class file that is a result from merging a first table from a first of the at least two class files with a second table from a second of the at least two class files thereby producing a shared table for the resulting class file.

### Claim 3 (depends on 2)

The programmable device of claim 2 wherein the first and second tables are constant pools for each of the first and second class files, respectively, and the shared table is a shared constant pool.

### Claim 4 (depends on 2)

The programmable device of claim 2 wherein the application for the programmable device includes a resulting class file that lacks duplication of at least one information item occurring in both the first and second class files.

### Claim 5 (depends on 4)

The programmable device of claim 4 wherein the at least one information item is a string.

### Claim 6 (depends on 1)

The programmable device of claim 1 wherein the application for the programmable device is provided with specific privileges and wherein the interpreter, upon detecting that the application attempts access to a data item on the programmable device, is operable to determine whether the specific privileges are sufficient to allow the application access to the data item.

### Claim 7 (depends on 6)

The programmable device of claim 6 wherein the specific privileges are provided to the application for the programmable device by associating an identity with the application.

### Claim 8 (depends on 6)

The programmable device of claim 6 wherein the interpreter determines whether the specific privileges of the application for the programmable device are sufficient to allow the application access to the data item by delegating the determination to an operating system of the programmable device.

### Claim 9 (depends on 8)

The programmable device of claim 8 wherein the operating system is operable to grant access upon determining that an identity associated with the application for the programmable device is contained in an access control list associated with the data item.

### Claim 10 (depends on 8)

The programmable device of claim 8 wherein the operating system is operable to deny access upon determining that an identity associated with the application for the programmable device is not contained in an access control list associated with the data item.

### Claim 11 (depends on 1)

The programmable device of claim 1 wherein the converting of the compiled form comprises converting byte codes of the compiled form from a first set of byte codes associated with a first machine architecture into a second set of byte codes associated with a second machine architecture.

### Claim 12 (depends on 11)

The programmable device of claim 11 wherein the first machine architecture is a word stack architecture and the second machine architecture is an architecture other than a word stack architecture.

### Claim 13 (depends on 11)

The programmable device of claim 11 wherein the second machine architecture is a byte stack architecture.

### Claim 14 (depends on 11)

The programmable device of claim 11 wherein the first and second machine architectures are virtual machine architectures.

### Claim 15

A programmable device comprising:
a processor connected to a memory;
the memory comprising:
an interpreter; and
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 (depends on 15)

The programmable device of claim 15 wherein the compiled form comprises at least two class files and wherein the application for the programmable device includes a resulting class file that is a result from merging a first table from a first of at least two class files with a second table from a second of the at least two class files thereby producing a shared table for the resulting class file.

### Claim 17 (depends on 16)

The programmable device of claim 16 wherein the first and second tables are constant pools for each of the first and second class files, respectively, and the shared table is a shared constant pool.

### Claim 18 (depends on 16)

The programmable device of claim 16 wherein the application for the programmable device includes a resulting class file that lacks duplication of at least one information item occurring in both the first and second class files.

### Claim 19 (depends on 18)

The programmable device of claim 18 wherein the at least one information item is a string.

### Claim 20 (depends on 15)

The programmable device of claim 15 wherein the at least one application is provided with specific privileges and wherein the interpreter, upon detecting that the at least one application attempts access to a data item on the programmable device, is operable to determine whether the specific privileges are sufficient to allow the at least one application access to the data item.

### Claim 21 (depends on 20)

The programmable device of claim 20 wherein the specific privileges are provided to the at least one application by associating an identity with the at least one application.

### Claim 22 (depends on 20)

The programmable device of claim 20 wherein the interpreter determines whether the specific privileges of the at least one application are sufficient to allow the at least one application access to the data item by delegating the determination to an operating system of the programmable device.

### Claim 23 (depends on 22)

The programmable device of claim 22 wherein the operating system is operable to grant access upon determining that an identity associated with the at least one application is contained in an access control list associated with the data item.

### Claim 24 (depends on 22)

The programmable device of claim 22 wherein the operating system is operable to deny access upon determining that an identity associated with the at least one application is not contained in an access control list associated with the data item.

### Claim 25 (depends on 15)

The programmable device of claim 15 wherein the post processing the compiled form into a minimized form comprises converting byte codes of the at least one application from a first set of byte codes associated with a first machine architecture into a second set of byte codes associated with a second machine architecture.

### Claim 26 (depends on 25)

The programmable device of claim 25 wherein the first machine architecture is a word stack architecture and the second machine architecture is an architecture other than a word stack architecture.

### Claim 27 (depends on 25)

The programmable device of claim 25 wherein the second machine architecture is a byte stack architecture.

### Claim 28 (depends on 25)

The programmable device of claim 25 wherein the first and second machine architectures are virtual machine architectures.
