# US 2013/0159363 A1 · Method for controlling file request access

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

- Number: US 2013/0159363 A1
- Document ID: US20130159363A1
- Status: Published application
- Kind: A1
- Application number: 13/686,237
- Filed: 2012-11-27
- Published: 2013-06-20
- Earliest claimed: 2011-11-28
- Assignees: International Business Machines Corporation
- Inventors: Yasunao KATAYAMA; Nobuyuki OHBA; Kohji TAKANO
- Web page: https://patentgrep.com/patent/US20130159363A1

## CPC

- G06F 16/172: Caching, prefetching or hoarding of files
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A mirror file number corresponding to a file being requested is transmitted to a host OS. A determination is made as to whether or not caching is performed in the host OS, and reading of the data of the mirror file number is requested to a block device if it is determined that the data of the mirror file number that was transmitted is not cached. The block device acquires the memory address where the corresponding actual contents are stored, corresponding to the sector number, acquires the sequence number corresponding to the contents, changes the acquired sequence number, and reads the data of the acquired memory address. The read data is converted to data with a modified sequence number attached, and the data is provided to the host OS. If it is determined that the data is cached in the host OS, the cached data is provided.

## Claims

### Claim at position 1

-12. (canceled)

### Claim 13

A method of performing file request access by a user application towards a host operating system (OS) of a programmed computing device, comprising:
transmitting, by the user application, a minor file number corresponding to the requested file to the host OS;
determining by the host OS whether or not the data of the mirror file number that was transmitted is cached in the host OS;
requesting, by the host OS, to read the data of the mirror file number to a block device if the host OS determines that the data of the mirror file number that was transmitted is not cached in the host OS;
acquiring, by the block device, a memory address where the actual contents are stored corresponding to a sector number from that sector number of the mirror file number that was requested, acquiring a sequence number corresponding to the contents, and changing the acquired sequence number;
reading, by the block device, the data of the acquired memory address;
the block device converting the data that was read to data with a modified sequence number attached, and providing the data to the host OS;
providing, by the host OS, the data provided from the block device to the user application; and
providing, by the host OS, the user application with data for the host application that has been cached in the host OS, if it is determined that the data of the mirror file number that was transmitted is cached in the host OS.

### Claim 14 (depends on 13)

The method according to claim 13, further comprising:
comparing the minor file number of the previous file request access with the mirror file number of the present file request access;
determining that data cached in the host OS will be provided if the comparison results show that the minor file numbers are the same; and
determining that the data read from the block device will be provided if the comparison results show that the minor file numbers are different.

### Claim 15 (depends on 14)

The method according to claim 14, further comprising:
changing, by the user application, the minor file number of the current file request access and transmitting a revised mirror file number to the host OS if it is determined that data that has been cached in the host OS has been provided.

### Claim 16 (depends on 13)

The method according to claim 13, wherein revision of the minor file number is an addition to the mirror file number.

### Claim 17

A system comprising:
a memory storage device;
a computer device running a host operating system (OS), said device in communication with the memory storage device and a block device, said computer device programmed with instructions of a user application to perform a method requesting a file access, said method comprising:
transmitting, by the user application, a minor file number corresponding to the requested file to the host OS;
determining, by the host OS, whether or not the data of the minor file number that was transmitted is cached in the host OS;
requesting, by the host OS, reading the data of the minor file number to a block device if the host OS determines that the data of the mirror file number that was transmitted is not cached in the host OS;
acquiring, by the block device, a memory address where the actual contents are stored corresponding to a sector number from the sector number of the mirror file number that was requested, acquiring a sequence number corresponding to the contents, and changing the acquired sequence number;
reading, by the block device, the data of the acquired memory address;
converting, by the block device, the data that was read to data with a modified sequence number attached, and providing the data to the host OS;
providing, by the host OS, the data provided from the block device to the user application; and
providing, by the host OS, the user application with data for the host application that has been cached in the host OS, if it is determined that the data of the mirror file number that was transmitted is cached in the host OS.

### Claim 18

A method of responding to a read request for data based on a mirror file number transmitted (from a user application) via a host operating system (OS), comprising:
acquiring, by a block device, a memory address where the actual contents are stored corresponding to a sector number from the sector number of the mirror file number that was requested, acquiring a sequence number corresponding to the contents, and changing the acquired sequence number;
reading, by the block device, the data of the acquired memory address; and
converting, by the block device, the data that was read to data with a modified sequence number attached, and providing the data to the host OS.

### Claim 19

A file system comprising:
a memory storage device;
a computer device running a host operating system (OS), said computer device in communication with the memory storage device and a block device, said computer device programmed with instructions of a user application to perform a method requesting a file access, said method comprising:
responding, by said block device, to a read request for data based on a minor file number transmitted from said user application via the host operating system (OS), wherein said responding comprises:
acquiring a memory address where the actual contents are stored corresponding to a sector number from the sector number of the minor file number that was requested is acquired, acquiring a sequence number corresponding to the contents, and changing the acquired sequence number;
reading the data of the acquired memory address;
converting the data that was read to data with a modified sequence number attached, and providing the data to the host OS.

### Claim 20

A system comprising:
a memory storage device;
a computer device running a host operating system (OS), said computer device in communication with the memory storage device and a block device, said computer device programmed with instructions of a user application to perform a method requesting a file read access, said method further comprising:
providing, in said block device, a mirror file entry table (MFET) for responding to said read request for data based on a mirror file number transmitted from said user application via said host OS;
acquiring, from said MFET, a memory address where the actual contents are stored corresponding to a sector number from the sector number of the mirror file number that was requested, and acquiring a sequence number corresponding to the contents to be acquired; and
enabling handling of sector numbers, memory addresses where the actual contents corresponding to the sector number are stored in the block device, and
enabling revising of sequence numbers by a file system emulator each time there is a data read request.

### Claim 21 (depends on 20)

The system as claimed in claim 20, wherein the method for performing the requested file read access further comprises:
determining, by the host operating system (OS) whether or not the data of the minor file number that was transmitted is cached in the host OS, for a mirror file number transmitted from an external device and corresponding to a requested file;
requesting, by the host OS, reading the data of the minor file number to the block device if the host OS determines that the data of the minor file number that was transmitted is not cached in the host OS;
acquiring, by the block device, a memory address where the corresponding contents are stored from the mirror file number that was requested, acquiring a sequence number corresponding to the contents, and changing the acquired sequence number;
reading, by the block device, the data of the acquired memory address;
converting, by the block device, the data that was read to data with a modified sequence number attached, and providing the data to the host OS;
providing, by the host OS, the data provided from the block device to the user application; and
providing, by the host OS, to the memory storage device, data for the host application that has been cached in the host OS, if it is determined that the data of the mirror file number that was transmitted is cached in the host OS.

### Claim 22

A computer program product for performing a file request access by a user application towards a host operating system (OS) the computer program product comprising a tangible storage device readable by a processing circuit and storing instructions run by the processing circuit for performing a method, the method comprising:
transmitting, by the user application, a minor file number corresponding to the requested file to the host OS;
determining, by the host OS, whether or not the data of the minor file number that was transmitted is cached in the host OS;
requesting, by the host OS, reading the data of the minor file number to a block device if the host OS determines that the data of the mirror file number that was transmitted is not cached in the host OS;
acquiring, by the block device, a memory address where the actual contents are stored corresponding to a sector number from the sector number of the mirror file number that was requested, acquiring a sequence number corresponding to the contents, and changing the acquired sequence number;
reading, by the block device, the data of the acquired memory address;
converting, by the block device, the data that was read to data with a modified sequence number attached, and providing the data to the host OS;
providing, by the host OS, the data provided from the block device to the user application; and
providing, by the host OS, the user application with data for the host application that has been cached in the host OS, if it is determined that the data of the mirror file number that was transmitted is cached in the host OS.

### Claim 23

A method of accessing data comprising:
responding to a read request for data based on a minor file number transmitted from an external device via a host operating system (OS), comprising:
acquiring, by the block device, a memory address where the corresponding actual contents are stored from the mirror file number that was requested, acquiring a sequence number corresponding to the contents, and changing the acquired sequence number;
reading, by the block device, the data of the acquired memory address; and
converting, by the block device, the data that was read to data with a modified sequence number attached, and providing the data to the host OS.

### Claim 24

A computer program product for responding to a read request for data based on a minor file number transmitted from an external device via a host operating system (OS), the computer program product comprising a tangible storage device readable by a processing circuit and storing instructions run by the processing circuit for performing a method, the method comprising:
acquiring, by the block device, a memory address where the corresponding actual contents are stored from the mirror file number that was requested, acquiring a sequence number corresponding to the contents, and changing the acquired sequence number;
reading, by the block device, the data of the acquired memory address; and
converting, by the block device, the data that was read to data with a modified sequence number attached, and providing the data to the host OS.
