# US 2010/0250866 A1 · Information processing program, information processing device and information processing method

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

- Number: US 2010/0250866 A1
- Document ID: US20100250866A1
- Status: Published application
- Kind: A1
- Application number: 12/725,980
- Filed: 2010-03-17
- Published: 2010-09-30
- Earliest claimed: 2009-03-31
- Assignees: Fujitsu Limited
- Inventors: Hisashi Kojima; Masahiro Nakada; Tetsuya Shioda
- Web page: https://patentgrep.com/patent/US20100250866A1

## CPC

- G06F 9/5016: {the resource being the memory}
- G06F 9/526: {Mutual exclusion algorithms}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 12/1036: for multiple virtual address spaces, e.g. segmentation (G06F12/1045 takes precedence)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus includes: a memory; a management memory for storing first virtual addresses used by the first program, second virtual addresses used by the second program and management information indicative of association between first and second virtual addresses and physical addresses of the memory; and a processor for executing the first, the second and a management programs, the management program including: receiving a request to assign a shared area to be shared by the first and second programs from the second program; determining a physical address of the shared area corresponding to one of the first and one of the second virtual addresses; transmitting a notification of data writing by the first program to the second program; locking the shared area so as to prevent the second program from writing data after the notification; and unlocking the shared area after the second program has read data from the shared area.

## Claims

### Claim 1

An information processing device for executing first and second programs, comprising:
a main memory;
a management memory for storing first page information including first virtual addresses used by the first program, second page information including second virtual addresses used by the second program and management information indicative of association between first and second virtual addresses and physical addresses of the main memory; and
a processor for executing the first program, the second program, and a management program by loading the first page information, the second page information and the management information respectively, the process executed by the management program including:
receiving a request to assign a shared area of the main memory to be shared by the first and second programs from the second program;
determining a physical address of the shared area corresponding to one of the first virtual addresses used by the first program and one of the second virtual addresses used by the second program and storing information of association between the physical address of the shared area and the ones of the first and second virtual addresses as a part of the management information in the management memory;
transmitting a notification of data writing into the shared area by the first program from the first program to the second program;
locking the shared area so as to prevent the shared area from being overwritten after the notification by adding lock information into the management memory; and
unlocking the shared area after the second program has read data from the shared area so as to allow either of the first and the second programs to write data into the shared memory by resetting the lock information in the management memory.

### Claim 2 (depends on 1)

The information processing device according to claim 1, wherein the process includes: storing information of association between the physical address of the shared area and the ones of the first and second virtual addresses in the management memory.

### Claim 3 (depends on 1)

The information processing device according to claim 1, wherein the process includes:
receiving an access restriction request with respect to the shared area issued by the second program, and
judging whether the access restriction request is legal or not on the basis of the owner of the shared area of the main memory.

### Claim 4 (depends on 1)

The information processing device according to claim 1, wherein
the locking of the process locks the shared area so as to prevent the second program from reading out data from the shared area after the notification.

### Claim 5 (depends on 1)

The information processing device according to claim 1, wherein the process includes: re-writing the physical address of the page information so as to be different from the physical address of the shared area.

### Claim 6

A method for controlling an information processing device for executing first and second programs including a main memory, a management memory, and a processor, the method comprising:
executing, by the processor, the first program, the second program, and a management program by loading first page information, second page information and management information respectively, the first page information including first virtual addresses used by the first program stored in the management memory, the second page information including second virtual addresses used by the second program stored in the management memory, and the management information indicative of association between first and second virtual addresses and physical addresses of the main memory stored in the management memory;
receiving a request to assign a shared area of the main memory to be shared by the first and second programs from the second program;
determining a physical address of the shared area corresponding to one of the first virtual addresses used by the first program and one of the second virtual addresses used by the second program and storing information of association between the physical address of the shared area and the ones of the first and second virtual addresses as a part of the management information in the management memory;
transmitting a notification of data writing into the shared area by the first program from the first program to the second program;
locking the shared area so as to prevent the shared area from being overwritten after the notification by adding lock information into the management memory; and
unlocking the shared area after the second program has read data from the shared area so as to allow either of the first and the second programs to write data into the shared memory by resetting the lock information in the management memory.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising: receiving an access restriction request with respect to the shared area issued by the second program, and judging whether the access restriction request is legal or not on the basis of the owner of the shared area of the main memory.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the locking of the process locks the shared area so as to prevent the second program from reading out data from the shared area after the notification.

### Claim 9 (depends on 6)

The method according to claim 6, further comprising: re-writing the physical address of the page information so as to be different from the physical address of the shared area.

### Claim 10

A non-transitory computer readable medium storing a management program for controlling an information processing device for executing first and second programs, the device including a main memory, a management memory, and a processor, the process executed by the management program comprising:
executing the first program, the second program, and the management program by loading the first page information, the second page information and the management information respectively, the first page information including first virtual addresses used by the first program stored in the management memory, the second page information including second virtual addresses used by the second program stored in the management memory, and the management information indicative of association between first and second virtual addresses and physical addresses of the main memory stored in the management memory;
receiving a request to assign a shared area of the main memory to be shared by the first and second programs from the second program;
determining a physical address of the shared area corresponding to one of the first virtual addresses used by the first program and one of the second virtual addresses used by the second program and storing information of association between the physical address of the shared area and the ones of the first and second virtual addresses as a part of the management information in the management memory;
transmitting a notification of data writing into the shared area by the first program from the first program to the second program;
locking the shared area so as to prevent the shared area from being overwritten after the notification by adding lock information into the management memory; and
unlocking the shared area after the second program has read data from the shared area so as to allow either of the first and the second programs to write data into the shared memory by resetting the lock information in the management memory.

### Claim 11 (depends on 10)

The computer readable medium according to claim 10, further comprising, storing information of association between the physical address of the shared area and the ones of the first and second virtual addresses in the management memory.

### Claim 12 (depends on 10)

The computer readable medium according to claim 10, further comprising: receiving an access restriction request with respect to the shared area issued by the second program, and judging whether the access restriction request is legal or not on the basis of the owner of the shared area of the main memory.

### Claim 13 (depends on 10)

The computer readable medium according to claim 10, wherein the locking of the process locks the shared area so as to prevent the second program from reading out data from the shared area after the notification.

### Claim 14 (depends on 10)

The computer readable medium according to claim 10, further comprising: re-writing the physical address of the page information so as to be different from the physical address of the shared area.
