# US 2001/0025324 A1 · Data communication method and apparatus, and storage medium storing program for implementing the 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 2001/0025324 A1
- Document ID: US20010025324A1
- Status: Published application
- Kind: A1
- Application number: 09/784,924
- Filed: 2001-02-16
- Published: 2001-09-27
- Earliest claimed: 2000-02-21
- Inventors: Tsutomu Gamo
- Web page: https://patentgrep.com/patent/US20010025324A1

## CPC

- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 9/465: {Distributed object oriented systems (remote method invocation [RMI] G06F9/548)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In a data communication method and apparatus, message communication within a complex object is executed in the same execution thread, and a history of message communication is updated to indicate message communication from the same execution thread. In message communication directed from within a complex object to an external object, a message or messages are temporarily stored on a destination-by-destination basis. When message processing completes, the history of message communication is checked, so that the stored message or messages are transmitted in a single message communication operation.

## Claims

### Claim 1

A data communication method for exchanging messages, under a system environment constituted of a plurality of objects which executes message communication, between a complex object constituted of a plurality of objects having execution seriality and an independent object external to said complex object, said data communication method comprising the steps of:
(a) temporarily storing one or more messages directed from an object within said complex object to said independent object external to said complex object; and
(b) sending the one or more stored messages to said independent object in a single operation when said complex object and said independent object enter a predetermined relationship.

### Claim 2 (depends on 1)

A data communication method according to claim 1, wherein said complex object is constituted of a plurality of objects which can be invoked in a manner equivalent to a function call which does not cause context switch.

### Claim 3 (depends on 1)

A data communication method according to claim 1, further comprising the step of (c) creating a history of message communication by the object within said complex object,
wherein said step (b) determines whether said complex object and said independent object have entered said predetermined relationship based on said history of message communication.

### Claim 4 (depends on 1)

A data communication method according to claim 1, further comprising the step of (c) creating a history of message communication by the object within said complex object,
wherein said step (b) sends the one or more stored messages in a single operation if said history of message communication is indicative of a message communication from a different execution thread when the object within said complex object exits execution.

### Claim 5 (depends on 1)

A data communication method according to claim 1, wherein said step (a) controls message storing in accordance with a relationship between said complex object and said independent object.

### Claim 6 (depends on 1)

A data communication method according to claim 1, wherein said step (a) controls message storing in accordance with the status of said independent object.

### Claim 7 (depends on 1)

A data communication method according to claim 1, wherein said step (a) controls message storing on a destination-by-destination basis if the one or more stored messages are directed from the object within said complex object to a plurality of independent objects external to said complex object.

### Claim 8 (depends on 1)

A data communication method according to claim 1, further comprising the step of (d) determining whether to store or immediately send the one or more messages in accordance with a relationship between said complex object which sends the one or more messages and said independent object which receives the one or more messages, with respect to scheduling priority level and interrupt priority level of the respective execution threads thereof.

### Claim 9 (depends on 1)

A data communication method according to claim 1, wherein said system constituted of a plurality of objects is an object-oriented operating system constituted of a plurality of concurrent objects.

### Claim 10 (depends on 1)

A data communication method according to claim 1, wherein said system constituted of a plurality of objects is an application program or a device driver constituted of a plurality of concurrent objects.

### Claim 11

A data communication apparatus for exchanging messages, under a system environment constituted of a plurality of objects which executes message communication, between a complex object constituted of a plurality of objects having execution seriality and an independent object external to said complex object, said data communication apparatus comprising:
(a) means for temporarily storing one or more messages directed from an object within said complex object to said independent object external to said complex object; and
(b) means for sending the one or more stored messages to said independent object in a single operation when said complex object and said independent object enter a predetermined relationship.

### Claim 12 (depends on 11)

A data communication apparatus according to claim 11, wherein said complex object is constituted of a plurality of objects which can be invoked in a manner equivalent to a function call which does not cause context switch.

### Claim 13 (depends on 11)

A data communication apparatus according to claim 11, further comprising (c) means for creating a history of message communication by the object within said complex object,
wherein said means (b) determines whether said complex object and said independent object have entered said predetermined relationship based on said history of message communication.

### Claim 14 (depends on 11)

A data communication apparatus according to claim 11, further comprising (c) means for creating a history of message communication by the object within said complex object,
wherein said means (b) sends the one or more stored messages in a single operation if said history of message communication is indicative of a message communication from a different execution thread when the object within said complex object exits execution.

### Claim 15 (depends on 11)

A data communication apparatus according to claim 11, wherein said means (a) controls message storing in accordance with a relationship between said complex object and said independent object.

### Claim 16 (depends on 11)

A data communication apparatus according to claim 11, wherein said means (a) controls message storing in accordance with the status of said independent object.

### Claim 17 (depends on 11)

A data communication apparatus according to claim 11, wherein said means (a) controls message storing on a destination-by-destination basis if the one or more stored messages are directed from the object within said complex object to a plurality of independent objects external to said complex object.

### Claim 18 (depends on 11)

A data communication apparatus according to claim 11, further comprising (d) means for determining whether to store or immediately send the one or more stored messages in accordance with a relationship between said complex object which sends the one or more messages and said independent object which receives the one or more stored messages, with respect to scheduling priority level and interrupt priority level of the respective execution threads thereof.

### Claim 19 (depends on 11)

A data communication apparatus according to claim 11, wherein said system constituted of a plurality of objects is an object-oriented operating system constituted of a plurality of concurrent objects.

### Claim 20 (depends on 11)

A data communication apparatus according to claim 11, wherein said system constituted of a plurality of objects is an application program or a device driver constituted of a plurality of concurrent objects.

### Claim 21

A computer-readable storage medium storing a computer program for exchanging messages, under a system environment constituted of a plurality of objects which executes message communication, between a complex object constituted of a plurality of objects having an execution seriality and an independent object external to said complex object, said computer program comprising the steps of:
(a) temporarily storing one or more messages directed from an object within said complex object to said independent object external to said complex object; and
(b) sending the one or more stored messages to said independent object in a single operation when said complex object and said independent object enter a predetermined relationship.
