# US 12,761,907 B2 · Method for modifying a test profile in an integrated circuit card, corresponding integrated circuit card, testing method and apparatus

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

- Number: US 12,761,907 B2
- Document ID: US12761907B2
- Status: Granted
- Kind: B2
- Application number: 18/464,811
- Filed: 2023-09-11
- Published: 2024-03-21
- Granted: 2026-10-13
- Earliest claimed: 2022-09-16
- Assignees: STMicroelectronics S.r.l.
- Applicants: STMICROELECTRONICS S.r.l.
- Inventors: Maria Chichierchia; Mario Alghiri
- Web page: https://patentgrep.com/patent/US12761907B2

## CPC

- G06F 8/70: Software maintenance or management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An integrated circuit includes a memory and processing circuitry. The memory stores an Elementary File Test (EFT) file including a record storing information to update a target elementary file (TGF) in a file system of the EFT. The stored information includes a file path identifier identifying a position of the TGF in the file system of the EFT file, which is a concatenation of a parent file identifier followed by an identifier of the TGF, a first length indicator of a first type of data, the data of the first type, a second length indicator to indicate a length of a second type of data, and the data of the second type. The processing circuitry, in operation, identifies the TGF based on the file path identifier and updates the content of the TGF to include the first data and one or more instances of the second data.

## Claims

### Claim 1

A method, comprising:
storing, in a record of an Elementary File Test (EFT) file of an integrated circuit, information to update a target elementary file (TGF) in a file system of the EFT file, the stored information including:
a file path identifier identifying a position of the TGF in the file system of the EFT file, wherein the file path identifier is a concatenation of a parent file identifier of a parent file of the TGF in the file system of the EFT file, followed by an identifier of the TGF in the file system of the EFT file;
a first length indicator to indicate a length of a first type of data;
first data of the first type having a length corresponding to the length indicated by the first length indicator;
a second length indicator to indicate a length of a second type of data; and
second data of the second type having a length corresponding to the length indicated by the second length indicator; and
updating the TGF based on the stored information, the updating the TGF including:
identifying the TGF based on the file path identifier; and
updating content of the TGF to include:
the first data; and
one or more instances of the second data, wherein a number of the one or more instances of the second data is based on a size of the TGF.

### Claim 2 (depends on 1)

The method of claim 1, wherein,
the integrated circuit is embedded in a device and stores a generic test profile (GTP) including the EFT file and an application; and
the updating of the TGF based on the stored information is performed under control of the application.

### Claim 3 (depends on 2)

The method of claim 2, comprising:
executing a test of the device based on the updated TGF.

### Claim 4 (depends on 3)

The method of claim 3, wherein the device is a first device and the method comprises:
executing of the test of the first device under control of a second device.

### Claim 5 (depends on 1)

The method of claim 1, comprising:
determining whether the updating of the TGF was successful; and
in response to a determination that the updating was not successful, modifying the EFT file to include an indication of an error.

### Claim 6 (depends on 5)

The method of claim 5, wherein the error indication comprises an error code followed by a number of the record of the EFT file.

### Claim 7 (depends on 4)

The method of claim 4, comprising:
transmitting, by the second device, a command to update the EFT file; and
responding, by an operating system of the integrated circuit, to the command to update the EFT by invoking the application.

### Claim 8 (depends on 7)

The method of claim 7, comprising:
determining, by the application, a record number associated with the command to update the EFT file; and
selecting performing the update of the EFT file based on the determined record number associated with the command to update the EFT file.

### Claim 9 (depends on 8)

The method of claim 8, comprising:
in response to the determined record number associated with the command to update the EFT file being equal to 1, performing the update of the EFT file; and
in response to the determined record number not being equal to 1, not performing the update of the EFT file.

### Claim 10 (depends on 2)

The method of claim 2, comprising:
receiving an update command associated with a plurality of TGFs of the EFT file;
responding, by the application, to the received update command by:
reading content of a first record of the EFT file byte-by-byte; and
in response to a read value of a byte of the first record of the EFT file being greater than 1, performing an update operation on a TGF of the plurality of TGFs based on information stored in another record of the EFT file corresponding to the read value of the byte.

### Claim 11 (depends on 3)

The method of claim 3, comprising:
restoring, under control of the application and after execution of the test, the content of the TGF to a content of the TGF prior to the updating of the TGF.

### Claim 12 (depends on 2)

The method of claim 2, wherein the GTP, the EFT file, and the application correspond to a GTP, an EFT file and a Test Applet (TA) file as defined in the GSMA TS-48 specification.

### Claim 13 (depends on 2)

The method of claim 2, wherein the integrated circuit is an embedded Universal Integrated Circuit Cards (UICC) or an integrated UICC.

### Claim 14 (depends on 1)

The method of claim 1, wherein the stored information to update a TGF includes a file type indication which is set to zero if the TGF is a transparent file and otherwise is set to a record number of the TGF.

### Claim 15

An integrated circuit, comprising:
a memory, which, in operation, stores an Elementary File Test (EFT) file and an application, the EFT file including a record storing information to update a target elementary file (TGF) in a file system of the EFT file, the stored information including:
a file path identifier identifying a position of the TGF in the file system of the EFT file, wherein the file path identifier is a concatenation of a parent file identifier of a parent file of the TGF in the file system of the EFT file, followed by an identifier of the TGF in the file system of the EFT file;
a first length indicator to indicate a length of a first type of data;
first data of the first type having a length corresponding to the length indicated by the first length indicator;
a second length indicator to indicate a length of a second type of data; and
second data of the second type having a length corresponding to the length indicated by the second length indicator; and
processing circuitry coupled to the memory, wherein processing circuitry, in operation, executes the application to update the TGF based on the stored information, the updating the TGF including:
identifying the TGF based on the file path identifier; and
updating content of the TGF to include:
the first data; and
one or more instances of the second data, wherein a number of the one or more instances of the second data is based on a size of the TGF.

### Claim 16

The integrated circuit of 15, wherein the integrated circuit stores a generic test profile (GTP) including the EFT file and the application.

### Claim 17 (depends on 15)

The integrated circuit of claim 15, wherein the processing circuitry, in operation:
determines whether the updating of the TGF was successful; and
in response to a determination that the updating was not successful, modifies the EFT file to include an indication of an error.

### Claim 18 (depends on 15)

The integrated circuit of claim 15, wherein the processing circuitry, in operation:
determines, under control of the application, a record number associated with a command to update the EFT file; and
selecting performs, under control of the application, the update of the EFT file based on the determined record number associated with the command to update the EFT file.

### Claim 19 (depends on 15)

The integrated circuit of claim 15, wherein the processing circuitry, in operation:
receives an update command associated with a plurality of TGFs of the EFT file;
responds, under control of the application, to the received update command by:
reading content of a first record of the EFT file byte-by-byte; and
in response to a read value of a byte of the first record of the EFT file being greater than 1, performing an update operation on a TGF of the plurality of TGFs based on information stored in another record of the EFT file corresponding to the read value of the byte.

### Claim 20 (depends on 15)

The integrated circuit of claim 15, wherein the GTP, the EFT file, and the application correspond to a GTP, an EFT file and a Test Applet (TA) file as defined in the GSMA TS-48 specification.

### Claim 21 (depends on 15)

The integrated circuit of claim 15, wherein the integrated circuit is an embedded Universal Integrated Circuit Cards (UICC) or an integrated UICC.

### Claim 22

A system, comprising:
a mobile communication interface; and
an integrated circuit coupled to mobile communication interface, the integrated circuit including:
a memory, which, in operation, stores an Elementary File Test (EFT) file and an application, the EFT file including a record storing information to update a target elementary file (TGF) in a file system of the EFT file, the stored information including:
a file path identifier identifying a position of the TGF in the file system of the EFT file, wherein the file path identifier is a concatenation of a parent file identifier of a parent file of the TGF in the file system of the EFT file, followed by an identifier of the TGF in the file system of the EFT file;
a first length indicator to indicate a length of a first type of data;
first data of the first type having a length corresponding to the length indicated by the first length indicator;
a second length indicator to indicate a length of a second type of data; and
second data of the second type having a length corresponding to the length indicated by the second length indicator; and
processing circuitry coupled to the memory, wherein processing circuitry, in operation, executes the application to update the TGF based on the stored information, the updating the TGF including:
identifying the TGF based on the file path identifier; and
updating content of the TGF to include:
the first data; and
one or more instances of the second data, wherein a number of the one or more instances of the second data is based on a size of the TGF.

### Claim 23 (depends on 22)

The system of claim 22, wherein the processing circuitry, in operation:
receives an update command associated with a plurality of TGFs of the EFT file;
responds, under control of the application, to the received update command by:
reading content of a first record of the EFT file byte-by-byte; and
in response to a read value of a byte of the first record of the EFT file being greater than 1, performing an update operation on a TGF of the plurality of TGFs based on information stored in another record of the EFT file corresponding to the read value of the byte.

### Claim 24 (depends on 22)

The system of claim 22, comprising a first device including the mobile communication interface and the integrated circuit, wherein the integrated circuit is an embedded Universal Integrated Circuit Cards (eUICC) or an integrated UICC (i-UICC).

### Claim 25 (depends on 24)

The system of claim 24, comprising a second device coupled to the first device, wherein the second device, in operation, initiates execution of a test of the first device, the test using the updated TGF.

### Claim 26

A non-transitory computer-readable medium having contents which configure processing circuitry to perform a method, the method comprising:
storing, in a record of an Elementary File Test (EFT) file of an integrated circuit, information to update a target elementary file (TGF) in a file system of the EFT file, the stored information including:
a file path identifier identifying a position of the TGF in the file system of the EFT file, wherein the file path identifier is a concatenation of a parent file identifier of a parent file of the TGF in the file system of the EFT file, followed by an identifier of the TGF in the file system of the EFT file;
a first length indicator to indicate a length of a first type of data;
first data of the first type having a length corresponding to the length indicated by the first length indicator;
a second length indicator to indicate a length of a second type of data; and
second data of the second type having a length corresponding to the length indicated by the second length indicator; and
updating the TGF based on the stored information, the updating the TGF including:
identifying the TGF based on the file path identifier; and
updating content of the TGF to include:
the first data; and
one or more instances of the second data, wherein a number of the one or more instances of the second data is based on a size of the TGF.

### Claim 27 (depends on 26)

The non-transitory computer-readable medium of claim 26, wherein the contents comprise instructions executed by the processing circuitry.

### Claim 28 (depends on 26)

The non-transitory computer-readable medium of claim 26, wherein the method comprises:
receiving an update command associated with a plurality of TGFs of the EFT file;
responding to the received update command by:
reading content of a first record of the EFT file byte-by-byte; and
in response to a read value of a byte of the first record of the EFT file being greater than 1, performing an update operation on a TGF of the plurality of TGFs based on information stored in another record of the EFT file corresponding to the read value of the byte.
