# US 6,732,272 B1 · Program writable integrated circuit card and method therefore

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

- Number: US 6,732,272 B1
- Document ID: US6732272B1
- Status: Granted
- Kind: B1
- Application number: 08/904,137
- Filed: 1997-07-31
- Granted: 2004-05-04
- Earliest claimed: 1996-09-03
- Assignees: Hitachi, Ltd.; Hitachi Video & Information System, Inc.
- Inventors: Masayuki Inoue; Shigeyuki Itoh; Yutaka Takami; Kenji Matsumoto
- Web page: https://patentgrep.com/patent/US6732272B1

## CPC

- G07F 7/1008: {Active credit-cards provided with means to personalise their use, e.g. with PIN-introduction/comparison system}
- G06Q 20/3552: {Downloading or loading of personalisation data}
- 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})
- 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

## Abstract

An IC card and a method thereof for adding or changing a program for a memory for writing without adversely affecting the function of the IC card and by keeping the security of a program to be written later by restricting writing by a write control program having a decryption function or a program code conversion function.

## Claims

### Claim 1

A program writable IC card comprising:
a microprocessor;
a first memory which stores both a first program to be executed by said microprocessor and a decryption program, executable by said microprocessor, having a decryption function,
wherein said first memory is a read only memory (ROM) which is not re-writable; and
a second memory capable of storing a second program,
wherein said microprocessor applies said decryption function to an encrypted second program, which has been encrypted based on an encryption key, according to said decryption program and then stores a decrypted second program, which is executable by said microprocessor, in said second memory, when said encrypted second program is provided from outside the IC card.

### Claim 2 (depends on 1)

A program writable IC card according to claim 1,
wherein said microprocessor performs said decrypted second program stored in said second memory.

### Claim 3

A program writable IC card, comprising:
a microprocessor;
a first memory which stores both a first program which is executed by said microprocessor and a write control program, executable by said microprocessor, having a decryption function,
wherein said first memory is a read only memory (ROM) which is not re-writable; and
a second memory in which may be written a second program,
wherein said microprocessor applies said decryption function to an encrypted second program, which has been encrypted based on an encryption key, and then writes a decrypted second program, which is executable by said microprocessor, in said second memory according to said write control program, when said encrypted second program is inputted from outside the IC card.

### Claim 4 (depends on 3)

A program writable IC card according to claim 3, further comprising:
a connector which inputs said encrypted second program from outside the IC card.

### Claim 5

A program writable IC card comprising:
a microprocessor;
a first memory which stores a first program which is executed by said microprocessor and a second program, executable by said microprocessor, for decrypting an encrypted program,
wherein said first memory is a read only memory (ROM) which is not re-writable;
a second memory which is able to store a third program; and
an input unit which inputs an encrypted third program, which has been encrypted based on an encryption key, from outside the IC card,
wherein said microprocessor applies said second program to said encrypted third program inputted by said input unit, stores a decrypted third program which is executable by said microprocessor in said second memory and then executes said decrypted third program stored in said second memory.

### Claim 6 (depends on 5)

A program writable IC card according to claim 5,
wherein said second program has a function for controlling the writing of a program in said second memory, and said microprocessor writes said decrypted third program in said second memory according to said second program.

### Claim 7

A program writable IC card, comprising:
a microprocessor;
a first memory which stores a first program having a decryption function which is executed by said microprocessor,
wherein said first memory is a read only memory (ROM) which is not re-writable; and
a second memory which is able to store a second program,
wherein said microprocessor applies said decryption function to an encrypted second program, which has been encrypted based on an encryption key, according to said first program and then stores a decrypted second program which is executable by said microprocessor in said second memory, wherein said encrypted second program is initially supplied from outside the IC card.

### Claim 8 (depends on 1)

A program writable IC card according to claim 1,
wherein said first program performs an original function of the IC card.

### Claim 9 (depends on 3)

A program writable IC card according to claim 3,
wherein said first program performs an original function of the IC card.

### Claim 10 (depends on 5)

A program writable IC card according to claim 5,
wherein said first program performs an original function of the IC card.

### Claim 11 (depends on 7)

A program writable IC card according to claim 7,
wherein said first program performs an original function of the IC card.

### Claim 12 (depends on 1)

A program writable IC card according to claim 1,
wherein said first program is an IC card function program for realizing an original function of the IC card.

### Claim 13 (depends on 3)

A program writable IC card according to claim 3,
wherein said first program is an IC card function program for realizing an original function of the IC card.

### Claim 14 (depends on 5)

A program writable IC card according to claim 5,
wherein said first program is an IC card function program original for realizing an original function of the IC card.

### Claim 15 (depends on 7)

A program writable IC card according to claim 7,
wherein said first program is an IC card function program for realizing an original function of the IC card.

### Claim 16 (depends on 1)

A program writable IC card according to claim 1,
wherein said first memory is Read Only Memory which is unable to rewrite.

### Claim 17 (depends on 3)

A program writable IC card according to claim 3,
wherein said first memory is Read Only Memory which is unable to rewrite.

### Claim 18 (depends on 5)

A program writable IC card according to claim 5,
wherein said first memory is Read Only Memory which is unable to rewrite.

### Claim 19 (depends on 7)

A program writable IC card according to claim 7,
wherein said first memory is Read Only Memory which is unable to rewrite.

### Claim 20 (depends on 1)

A program writable IC card according to claim 1,
wherein said first program has been stored before said second program is stored in said second memory, and wherein said second program is a new program.

### Claim 21 (depends on 3)

A program writable IC card according to claim 3,
wherein said first program has been stored before said second program is stored in said second memory, and wherein said second program is a new program.

### Claim 22 (depends on 5)

A program writable IC card according to claim 5,
wherein said first program has been stored before said second program is stored in said second memory, and wherein said third program is a new program.

### Claim 23 (depends on 7)

A program writable IC card according to claim 7,
wherein said first program has been stored before said second program is stored in said second memory, and wherein said third program is a new program.

### Claim 24 (depends on 1)

A program writable IC card according to claim 1,
wherein said second memory can be written only once.

### Claim 25 (depends on 3)

A program writable IC card according to claim 3,
wherein said second memory can be written only once.

### Claim 26 (depends on 5)

A program writable IC card according to claim 5,
wherein said third memory can be written only once.

### Claim 27 (depends on 7)

A program writable IC card according to claim 7,
wherein said second memory can be written only once.

### Claim 28

A processing method for a program writable IC card having a microprocessor, a first memory which stores both a first program which is executed by said microprocessor and a decryption program having a decryption function, wherein said first memory is a read only memory (ROM) which is not re-writable, and a second memory, said processing method comprising:
inputting an encrypted second program, which has been encrypted based on an encryption key, from outside the IC card;
decrypting said encrypted second program according to said decryption program; and
storing a decrypted second program in said second memory, said decrypted second program being executable by said microprocessor.

### Claim 29 (depends on 28)

A processing method according to claim 28, said processing method further comprising:
executing said decrypted second program after storing said decrypted second program in said second memory.

### Claim 30

A processing method for a program writable IC card having a microprocessor, a first memory which stores both a first program which is executed by said microprocessor and a decryption program having a decryption function, wherein said first memory is a read only memory (ROM) which is not re-writable, a second memory, and an input unit, said processing method comprising:
inputting from an external device an encrypted second program, which has been encrypted based on an encryption key, via said input unit;
decrypting said encrypted second program according to said decryption program;
storing a decrypted second program in said second memory, said decrypted second program being executable by said microprocessor; and
executing said decrypted second program stored in said second memory.

### Claim 31

A processing method for a program writable IC card having a microprocessor, a first memory which stores a decryption program executed by said microprocessor, wherein said first memory is a read only memory (ROM) which is not re-writable, and a second memory, said processing method comprising:
inputting an encrypted second program, which has been encrypted based on an encryption key, from an external device;
decrypting said encrypted second program according to said decryption program; and
storing a decrypted second program in said second memory,
wherein said second memory can be written only once, and
wherein said decrypted second program is executable by said microprocessor.

### Claim 32

A writing method for an IC card having a microprocessor, a ROM device which stores a first program which is executed by said microprocessor, a write control program having a decryption function, and a writable memory, said writing method comprising:
inputting an encrypted second program, which has been encrypted based on an encryption key, from an external device;
decrypting said encrypted second program according to said write control program; and
storing a decrypted second program in said writable memory according to said write control program, said decrypted second program being executable by said microprocessor.

### Claim 33 (depends on 32)

The writing method for an IC card according to claim 32, said writing method further comprising:
executing said decrypted second program after storing said decrypted second program in said writable memory.

### Claim 34

A writing method for an IC card having a microprocessor, a ROM device which stores both a first program which is executed by said microprocessor, a decryption program having a decryption function, a writable memory, and an input unit, said writing method comprising:
inputting an encrypted second program, which has been encrypted based on an encryption key, via said input unit from an external device;
decrypting said encrypted second program according to said decryption program;
storing a decrypted second program in said writable memory, said decrypted second program being executable by said microprocessor; and
executing said decrypted second program stored in said writable memory.

### Claim 35 (depends on 28)

A processing method for a program writable IC card according to claim 28,
wherein said first program performs an original function of the IC card.

### Claim 36 (depends on 30)

A processing method for a program writable IC card according to claim 30,
wherein said first program performs an original function of the IC card.

### Claim 37 (depends on 31)

A processing method for a program writable IC card according to claim 31,
wherein said first program performs an original function of the IC card.

### Claim 38 (depends on 32)

A writing method for an IC card according to claim 32,
wherein said first program performs an original function of the IC card.

### Claim 39 (depends on 34)

A writing method for an IC card according to claim 34,
wherein said first program performs an original function of the IC card.

### Claim 40 (depends on 28)

A processing method for a program writable IC card according to claim 28,
wherein said first program is an IC card function program for realizing an original function of the IC card.

### Claim 41 (depends on 30)

A processing method for a program writable IC card according to claim 30,
wherein said first program is an IC card function program for realizing an original function of the IC card.

### Claim 42 (depends on 31)

A processing method for a program writable IC card according to claim 31,
wherein said first program is an IC card function program for realizing an original function of the IC card.

### Claim 43 (depends on 32)

A writing method for an IC card according to claim 32,
wherein said first program is an IC card function program for realizing an original function of the IC card.

### Claim 44 (depends on 34)

A writing method for an IC card according to claim 34,
wherein said first program is an IC card function program for realizing an original function of the IC card.

### Claim 45 (depends on 37)

A processing method of a program writable IC card according to claim 37, wherein said second memory can be written only once.

### Claim 46 (depends on 33)

A writing method for an IC card according to claim 33,
wherein said writable memory can be written only once.
