# US 2012/0254901 A1 · Method and system for restoring an application in a dynamically linked environment

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

- Number: US 2012/0254901 A1
- Document ID: US20120254901A1
- Status: Published application
- Kind: A1
- Application number: 13/102,348
- Filed: 2011-05-06
- Published: 2012-10-04
- Earliest claimed: 2011-03-29
- Assignees: Denso Corporation; DENSO International America, Inc.
- Inventors: Koji Shinoda; Wan-ping Yang; Hiroaki Shibata
- Web page: https://patentgrep.com/patent/US20120254901A1

## CPC

- G06F 11/1469: {Backup restoration techniques}
- G06F 11/1438: {Restarting or rejuvenating}
- G06F 11/1482: using middleware or operating system [OS] functionalities
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system for executing an application on a device is disclosed. The device comprises a nonvolatile memory having a file system that stores the application. The nonvolatile memory further includes a backup memory space that stores a backup copy of the application. The system further includes a processing module configured to execute the application and an application programmers interface (API) utilized by the processing module to facilitate instructions from the application to the processing module. The processing module is further configured to retrieve the application from the file system, execute the application on the processing module; monitor interactions between the application and the processing module for an API call from the application to the processing module, and retrieve a backup copy of the application from the backup memory space based on the monitoring for the API call.

## Claims

### Claim 1

A method for executing an application stored in a file system, executed on a processor of a device, and utilizing an application programmers interface (API) to facilitate instructions from the application to the processor, the method comprising:
retrieving the application from the file system;
executing the application on the processor;
monitoring interactions between the application and the processor for an API call;
retrieving a backup copy of the application from a backup memory space based on the monitoring for the API call; and
storing the backup copy of the application is stored in the file system.

### Claim 2 (depends on 1)

The method of claim 1 wherein the monitoring the interactions between the application and the processor further comprises determining an amount of time lapsed without observing an API call and comparing the amount of time against a time threshold, wherein the backup copy is retrieved when the amount of time exceeds the time threshold.

### Claim 3 (depends on 1)

The method of claim 1 further comprising rebuilding the file system based on the monitoring of the API call.

### Claim 4 (depends on 1)

The method of claim 1 further comprising maintaining a count indicating an amount of times that the interactions between the processor and the application indicate that the application is in an error state, wherein an error state occurs when a predetermined amount of time lapses without an API call being observed.

### Claim 5 (depends on 4)

The method of claim 4 further comprising rebuilding the file system when the count exceeds a first threshold, wherein the backup copy of the application is retrieved after the file system is rebuilt.

### Claim 6 (depends on 4)

The method of claim 4 further comprising turning the device off when the count exceeds a second threshold, wherein the backup copy of the application is not retrieved when the count exceeds the second threshold.

### Claim 7 (depends on 1)

The method of claim 1 further comprising linking the application to the API during one of the retrieving of the application or the executing of the application.

### Claim 8 (depends on 1)

The method of claim 1 further comprising dynamically linking the application to the API.

### Claim 9 (depends on 1)

The method of claim 1 wherein the retrieving step is not performed when an API call is observed within a predetermined time period.

### Claim 10 (depends on 1)

The method of claim 1 wherein the device is one of a telematics device and a mobile telephone.

### Claim 11

A system for executing an application on a device, the application being embodied as computer executable instructions, the method comprising:
a nonvolatile memory including a file system that stores a plurality of applications, including the application and further including a backup memory space that stores a plurality of backup copies of the plurality of applications, including a backup copy of the application;
a processing module configured to execute the application;
an application programmers interface (API) utilized by the processing module to facilitate instructions from the application to the processing module,
the processing module further configured to:
retrieve the application from the file system;
execute the application on the processing module;
monitor interactions between the application and the processing module for an API call from the application to the processing module;
retrieve a backup copy of the application from the backup memory space based on the monitoring for the API call; and
store the backup copy of the application in the file system.

### Claim 12 (depends on 11)

The system of claim 11 wherein the processing module is further configured to determine an amount of time lapsed without observing an API call and to compare the amount of time against a time threshold, wherein the backup copy is retrieved when the amount of time exceeds the time threshold.

### Claim 13 (depends on 11)

The system of claim 11 wherein the processing module is further configured to rebuild the file system based on the monitoring of the API call.

### Claim 14 (depends on 11)

The system of claim 11 wherein the processing module is further configured to maintain a count indicating an amount of times that the interactions between the processing module and the application indicate that the application is in an error state, wherein an error state occurs when a predetermined amount of time lapses without the processing module observing an API call.

### Claim 15 (depends on 14)

The system of claim 14 wherein the processing module is further configured to rebuild the file system when the count exceeds a first threshold, wherein the backup copy of the application is retrieved from the backup memory space after the file system is rebuilt.

### Claim 16 (depends on 14)

The system of claim 14 wherein the processing module is further configured to turn the device off when the count exceeds a second threshold, wherein the backup copy of the application is not retrieved when the count exceeds the second threshold.

### Claim 17 (depends on 11)

The system of claim 11 wherein the processing module is further configured to link the application to the API upon retrieving the application or at the commencement of the execution of the application.

### Claim 18 (depends on 11)

The system of claim 11 wherein the processing module dynamically links the application to the API.

### Claim 19 (depends on 11)

The system of claim 11 wherein the processing module does not retrieve the backup copy of the application when an API call is observed within a predetermined time period.

### Claim 20 (depends on 11)

The system of claim 11 wherein the device is one of a telematics device and a mobile telephone.
