# US 2012/0254319 A1 · System and method for communication between networked applications

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

- Number: US 2012/0254319 A1
- Document ID: US20120254319A1
- Status: Published application
- Kind: A1
- Application number: 13/078,949
- Filed: 2011-04-02
- Published: 2012-10-04
- Earliest claimed: 2011-04-02
- Assignees: Recursion Software, Inc.
- Inventors: Thomas T. Wheeler
- Web page: https://patentgrep.com/patent/US20120254319A1

## CPC

- H04L 47/34: ensuring sequence integrity, e.g. using sequence numbers
- H04L 47/33: using forward notification
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/06: specially adapted for file transfer, e.g. file transfer protocol [FTP]
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

During communication of a large data message from a client application to a server application, requirements to communicate smaller control messages can arise. To facilitate timely communication of control messages, a client application may include a chunking module that divides a data message into chunks that can be sent as a sequence of individual data message packets. When a control message needs to be sent, the sequence of data message packets can be interrupted to send a control message packet. At the server application, the sequence of message packets is processed so that data message packets are appended to a data message and control messages are extracted for immediate processing.

## Claims

### Claim 1

A method for communication between a client device and a server device, the method comprising:
determining a need in the client device to send a data message from the client device to the server device;
dividing the data message into chunks in the client device;
sequentially sending the chunks from the client device to the server device;
during the sending of the chunks, determining a need to send a control message from the client device to the server device; and
sending the control message from the client device to the server device between chunks of the data message on the same connection used to send the chunks of the data message.

### Claim 2 (depends on 1)

The method of claim 1 comprising sending a data transfer complete packet that indicates a conclusion of the data message.

### Claim 3 (depends on 1)

The method of claim 1 wherein the control message is sent in a single packet.

### Claim 4 (depends on 1)

The method of claim 1 wherein the client device comprises a data transfer module and a chunking module, the method comprising determining the need to send a control message in the data transfer module and providing an interrupt to the chunking module.

### Claim 5 (depends on 4)

The method of claim 4 wherein the chunking module checks for control message interrupts from the data transfer module between sending successive chunks of a data message.

### Claim 6 (depends on 1)

The method of claim 1 comprising determining a size of the data chunks in the client device.

### Claim 7 (depends on 1)

The method of claim 1 comprising determining a size of the data chunks in the server device and communicating the size of the data chunks to the client device.

### Claim 8 (depends on 1)

The method of claim 1 comprising sending the data message chunks and one or more control messages as a sequence of data packets, wherein each data packet indicates whether the respective packet is a data message packet or a control message packet.

### Claim 9 (depends on 8)

The method of claim 8 comprising:
receiving a message packet in the server application;
determining whether the message packet is a data message packet or a control message packet;
if the message packet is a control message packet, processing the control message packet to perform a control operation indicated by the control message packet; and
if the message packet is a data message packet, appending data of the data message packet to a data message at the server application.

### Claim 10

A method for receiving communications into a server application of a server device from a client application of a client device, the method comprising: receiving a message packet into the server application of the server device;
determining in the server application whether the message packet is a data message packet or a control message packet;
if the message packet is a control message packet, processing the control message packet to perform a control operation indicated by the control message packet; and
if the message packet is a data message packet, appending data of the data message packet to a data message at the server application.

### Claim 11 (depends on 10)

The method of claim 10 wherein the server application comprises a server chunking module, the method comprising reconstituting data of a data message in a data message buffer by the server chunking module.

### Claim 12 (depends on 10)

The method of claim 10 comprising determining that a data message has been completely received from the client application and performing at least one operation on the complete data message in the server application.

### Claim 13 (depends on 12)

The method of claim 12 wherein determining that a data message has been completely received comprises receiving a data transfer complete packet from the client application that indicates the conclusion of the data message.

### Claim 14 (depends on 10)

The method of claim 10 comprising determining a size of the data chunks in the client device.

### Claim 15 (depends on 10)

The method of claim 10 comprising determining a size of the data chunks in the server device and communicating the size of the data chunks to the client device.

### Claim 16

A system comprising a client application executing on a client device and a server application executing on a server device, the client application and the server application configured to communicate with each other on a communication link;
the client application comprising:
a client chunking module configured to generate a sequence of message packets for a data message and to intersperse one or more control message packets into the sequence of message packets;
the server application comprising:
a server chunking module configured to:
receive the sequence of message packets from the client application;
process the sequence of message packets to reconstitute a data message; and
extract a control message from the sequence of message packets;
a server data transfer module configured to:
receive a control message from the server chunking module; and
enact a control operation indicated by the control message while the data message is being received from the client application.

### Claim 17 (depends on 16)

The system of claim 16 wherein the client application and the server application are each configured to cooperatively determine a size of a data message packet.

### Claim 18 (depends on 17)

The system of claim 17 wherein the server chunking module is configured to pass a completed data message to the server data transfer module.

### Claim 19 (depends on 16)

The system of claim 16 wherein the client application is configured to indicate to the server application when transfer of a data message is completed.

### Claim 20 (depends on 16)

The system of claim 16 wherein the client application is configured to provide data message packets and control message packets to the server application on the same communication link.
