# US 2004/0006663 A1 · System and method for storing large messages

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

- Number: US 2004/0006663 A1
- Document ID: US20040006663A1
- Status: Published application
- Kind: A1
- Application number: 10/404,865
- Filed: 2003-04-01
- Published: 2004-01-08
- Earliest claimed: 2002-05-01
- Assignees: BEA Systems, Inc.
- Inventors: David Wiser; Sanjay Dalal; Pascal Hoebanx
- Web page: https://patentgrep.com/patent/US20040006663A1

## CPC

- G06Q 10/107: Computer-aided management of electronic mailing [e-mailing]
- H04L 51/063: Content adaptation, e.g. replacement of unsuitable content
- Y10S 707/99942: Manipulating data structure, e.g. compression, compaction, compilation
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

A large message can be stored by separating the message into an envelope portion containing information such as headers, protocols, and addresses, and a payload portion containing items such as file attachments. The envelope portion can be stored in local storage, while the payload can be stored to a persistent store. The message can be processed incrementally, such that the entire message is never in system memory. Once the envelope portion is processed, the payload portion can be read in increments without being processed, and those increments written directly to the persistent store. Alternatively, the payload can be streamed to the persistent store. A pointer in the envelope can then be used to locate and retrieve attachments from persistent storage. This description is not intended to be a complete description of, or limit the scope of, the invention. Other features, aspects, and objects of the invention can be obtained from a review of the specification, the figures, and the claims.

## Claims

### Claim 1

A system for storing a message, comprising:
a memory component adapted to temporarily store information for the message;
a persistent store adapted to persistently store information for the message; and
an integration component for receiving the message, the integration component adapted to separate the message into an envelope portion and a payload portion, the integration component adapted to store the envelope portion in the memory component and adapted to store the payload portion in the persistent store.

### Claim 2 (depends on 1)

A system according to claim 1, wherein:
the integration component is adapted to separate the message into an envelope portion containing information selected from the group consisting of headers, protocols, addresses, and message text.

### Claim 3 (depends on 1)

A system according to claim 1, wherein:
the integration component is adapted to separate the message into a payload portion containing message attachments.

### Claim 4 (depends on 1)

A system according to claim 1, further comprising:
a Web server adapted to receive the message and direct the message to the integration component

### Claim 5 (depends on 1)

A system according to claim 1, wherein:
the persistent store is selected from group consisting of file-based persistent stores and data-based persistent stores.

### Claim 6 (depends on 1)

A system according to claim 1, wherein:
the integration component is further adapted to process message in increments of the overall message size.

### Claim 7 (depends on 5)

A system according to claim 5, wherein:
the integration component is further adapted to write the payload to the persistent store in increments.

### Claim 8 (depends on 1)

A system according to claim 1, wherein:
the integration component is further adapted to process message in increments each having a size selected from the group consisting of 1 MB, 5 MB, or 10 MB.

### Claim 9 (depends on 1)

A system according to claim 1, wherein:
the integration component is further adapted to process message in increments each having a size selected from the group consisting of 1%, 5%, 10%, and 25% of the overall file size.

### Claim 10 (depends on 1)

A system according to claim 1, wherein:
the integration component is selected from the group consisting of integration applications, integration servers, integration transport layers, and integration plug-ins.

### Claim 11 (depends on 1)

A system according to claim 1, wherein:
the integration component is further adapted to place a pointer in the envelope, the pointer indicating the location of the payload portion in the persistent store.

### Claim 12 (depends on 1)

A system according to claim 1, wherein:
the integration component is adapted to store the payload portion in the persistent store, wherein the payload is stored in multiple locations in the persistent store.

### Claim 13 (depends on 1)

A system according to claim 1, wherein:
the integration component is adapted to store the payload portion in the persistent store and any other persistent store, wherein the payload portion can be stored to more than one persistent store.

### Claim 14 (depends on 1)

A system according to claim 1, further comprising:
a protocol parser adapted to identify portions of the message to the integration component.

### Claim 15 (depends on 14)

A system according to claim 14, wherein:
the protocol parser is further adapted to stop parsing the protocol parser when reaches payload portion of the message.

### Claim 16 (depends on 1)

A system according to claim 1, further comprising:
an XML parser for reading header and body portions of the message.

### Claim 17 (depends on 1)

A system according to claim 1, wherein:
the integration component is further adapted to store the payload portion to the persistent store in a stream without processing the payload portion.

### Claim 18 (depends on 1)

A system according to claim 1, wherein:
the integration component is adapted to receive messages in XML.

### Claim 19 (depends on 1)

A system according to claim 1, wherein:
the integration component is adapted to receive messages having a file size selected from the group consisting of at or above 1 MB, at or above 10 MB, at or above 50 MB, and at or above 100 MB.

### Claim 20

A method for storing a message, comprising:
receiving the message to an integration component;
separating the message into an envelope portion and a payload portion;
storing the envelope portion to local storage; and
storing the payload to at least one persistent store.

### Claim 21 (depends on 20)

A method according to claim 20, further comprising:
parsing the message with a protocol parser to identify portions of the message to the integration component.

### Claim 22 (depends on 20)

A method according to claim 20, further comprising:
parsing the message with an XML parser to read header and body portions of the message.

### Claim 23 (depends on 20)

A method according to claim 20, further comprising:
processing the message in increments.

### Claim 24 (depends on 20)

A method according to claim 20, further comprising:
processing the message as a stream.

### Claim 25 (depends on 20)

A method according to claim 20, further comprising:
placing a pointer in the envelope portion to identify the location of the payload portion in the persistent store.

### Claim 26

A computer-readable medium, comprising:
means for receiving the message to an integration component;
means for separating the message into an envelope portion and a payload portion;
means for storing the envelope portion to local storage; and
means for storing the payload to at least one persistent store.

### Claim 27

A computer program product for execution by a server computer for storing a message, comprising:
computer code for receiving the message to an integration component;
computer code for separating the message into an envelope portion and a payload portion;
computer code for storing the envelope portion to local storage; and
computer code for storing the payload to at least one persistent store.

### Claim 28

A system for storing a message, comprising:
means for receiving the message to an integration component;
means for separating the message into an envelope portion and a payload portion;
means for storing the envelope portion to local storage; and
means for storing the payload to at least one persistent store.

### Claim 29

A computer system comprising: a processor;
object code executed by said processor, said object code configured to:
receive the message to an integration component;
separate the message into an envelope portion and a payload portion;
store the envelope portion to local storage; and
store the payload to at least one persistent store.
