# US 2008/0288934 A1 · Patch application apparatus and program

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

- Number: US 2008/0288934 A1
- Document ID: US20080288934A1
- Status: Published application
- Kind: A1
- Application number: 12/180,998
- Filed: 2008-07-28
- Published: 2008-11-20
- Earliest claimed: 2006-02-14
- Assignees: Fujitsu Limited
- Inventors: Akitoshi Ozawa
- Web page: https://patentgrep.com/patent/US20080288934A1

## CPC

- G06F 8/658: Incremental updates; Differential updates
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A patch application method restores a file not to be authorized to change by applying a patch to an original state after applying the patch. A patch application program applies a patch to a part of patch application target files in a system extracts information about the target files from a patch, copies and stores the files as patch pseudo application files, applies the patch to the pseudo files, compares the target files with the pseudo files to which the patch has been applied and obtains a difference, selects a file not to be authorized to change by the patch from among the target files based on the difference, copies and stores the files as post-application change files, applies the patch to the target files, and replaces the files prevented from being changed in the target files changed by the patch application with the post-application change files.

## Claims

### Claim 1

A machine-readable medium containing a patch application program used to direct a computer having a storage device to perform a process of applying patch data to at least a part of a plurality of patch application target files in a system, the process comprising the steps of:
extracting information about the plurality of patch application target files from the patch data stored in the storage device;
copying the plurality of patch application target files according to the extracted information about the plurality of patch application target files, and storing the files as a patch pseudo application file in the storage device;
applying the patch data to the patch pseudo application file;
comparing the plurality of patch application target files with the patch pseudo application file to which the patch data is applied, and obtaining a difference;
selecting a file not to be authorized to change by the patch data from among the plurality of patch application target files on the basis of the difference, copying and storing the file as a post-application change file in the storage device;
applying the patch data to the plurality of patch application target files; and
replacing the file not to be authorized to change of the patch application target files changed by applying the patch data with the post-application change file.

### Claim 2 (depends on 1)

The machine-readable medium according to claim 1, wherein
the plurality of patch application target files are a plurality of system resource files set and changed by a system administrator.

### Claim 3 (depends on 1)

The machine-readable medium according to claim 1, further directing the computer to perform the step of:
reporting the difference.

### Claim 4 (depends on 3)

The machine-readable medium according to claim 3, wherein
the step of reporting the difference reports the difference when the plurality of patch application target files include a text file.

### Claim 5 (depends on 1)

The machine-readable medium according to claim 1, further directing the computer to perform the steps of:
generating a change disabled file list; and
eliminating a file described in the change disabled file list from targets to which the patch data is applied.

### Claim 6 (depends on 1)

The machine-readable medium according to claim 1, wherein
the information about the plurality of patch application target files includes a file type, a file size, a checksum, or an update date and time.

### Claim 7 (depends on 1)

The machine-readable medium according to claim 1, wherein
the patch pseudo application file is copied to and generated in a pseudo application directory of a disk including the system.

### Claim 8 (depends on 1)

The machine-readable medium according to claim 1, wherein
the patch pseudo application file is copied to and generated in a substitute application disk other than the disk including the system.

### Claim 9

A patch application apparatus that applies patch data to at least a part of the plurality of patch application target files in a system, comprising:
a storage device storing the patch data;
an extraction device extracting information about the plurality of patch application target files from the patch data stored in the storage device;
a patch application device applying the patch data;
a copying device copying the plurality of patch application target files before applying the patch data to the plurality of patch application target files, and storing the files as patch pseudo application files in the storage device;
a difference acquisition device comparing the plurality of patch application target files with the patch pseudo application file to which the patch application device applies the patch data, and obtaining a difference; and
a change approval device selecting and copying a file not to be authorized to change by the patch data from among the plurality of patch application target files on the basis of the difference obtained by the difference acquisition device, and storing the file as a post-application change file in the storage device, and
wherein after the patch application device applies the patch data to the plurality of patch application target files, the file not approved by the change approval device in the plurality of patch application target files is replaced with the post-application change file.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein
the plurality of patch application target files are a plurality of system resource files set and changed by a system administrator.

### Claim 11 (depends on 9)

The apparatus according to claim 9, further comprising
a notification device notifying of the difference.

### Claim 12 (depends on 9)

The apparatus according to claim 9, further comprising
a patch application target limiting device generating a change disabled file list, and eliminating the file described in the change disabled file list from targets to which the patch data is applied.

### Claim 13 (depends on 9)

The apparatus according to claim 9, wherein
the information about the plurality of patch application target files includes a file type, a file size, a checksum, or an update date and time.

### Claim 14 (depends on 9)

The apparatus according to claim 9, wherein
the patch pseudo application file is generated by copying to a pseudo application directory of a disk including the system.

### Claim 15 (depends on 9)

The apparatus according to claim 9, wherein
the patch pseudo application file is generated by copying to a substitute application disk other than the disk including the system.

### Claim 16

A patch application method used to direct a computer having a storage device to perform a process of applying patch data to at least a part of a plurality of patch application target files in a system, the process comprising the steps of:
extracting information about the plurality of patch application target files from the patch data stored in the storage device using an extraction device;
copying the plurality of patch application target files according to the extracted information about the plurality of patch application target files, and storing the files as a patch pseudo application file in the storage device using a copying device;
applying the patch data to the patch pseudo application file using an application device;
comparing the plurality of patch application target files with the patch pseudo application file to which the patch data is applied, and obtaining a difference using an acquisition device;
selecting a file not to be authorized to change by the patch data from among the plurality of patch application target files on the basis of the difference, copying and storing the file as a post-application change file in the storage device using a change approval device;
applying the patch data to the plurality of patch application target files using the patch application device; and
replacing the file not to be authorized to change in the patch application target files changed by applying the patch data with the post-application change file using the change approval device.
