Efficient message packaging for transport
First Claim
1. In a messaging system for sending a message, the message comprising both a message record and a plurality of attachment streams included within a plurality of attachment records, a method that reduces buffer requirements for sending messages by directly writing the plurality of attachment streams into a single transport stream, without using an intermediate buffer, the method comprising steps for:
- identifying the plurality of attachment streams to be included in the message;
identifying an appropriate encapsulation format for the plurality of attachment streams and message record;
identifying the single transport stream for the message; and
composing, based on the identified encapsulation format, the plurality of attachment streams and message record into the single transport stream, without composing the message into one or more intermediate buffers.
2 Assignments
0 Petitions
Accused Products
Abstract
A messaging transport writer is provided that efficiently packages a massage and multiple message attachment streams into a single transport stream, based on a specified encapsulation format. For example, a packaging writer is provided that takes the message and multiple attachments and streams them directly into the single transport stream, without first coping them into a buffer prior to encapsulation. The encapsulation information is streamed into the transport stream on the fly, i.e., as the message and attachment streams are also being written to the transport stream.
161 Citations
63 Claims
-
1. In a messaging system for sending a message, the message comprising both a message record and a plurality of attachment streams included within a plurality of attachment records, a method that reduces buffer requirements for sending messages by directly writing the plurality of attachment streams into a single transport stream, without using an intermediate buffer, the method comprising steps for:
-
identifying the plurality of attachment streams to be included in the message;
identifying an appropriate encapsulation format for the plurality of attachment streams and message record;
identifying the single transport stream for the message; and
composing, based on the identified encapsulation format, the plurality of attachment streams and message record into the single transport stream, without composing the message into one or more intermediate buffers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. In a messaging system for sending a message, the message comprising both a message record and a plurality of attachment streams included within a plurality of attachment records, a method that reduces buffer requirements for sending messages by directly writing the plurality of attachment streams into a single transport stream, without using an intermediate buffer, the method comprising acts of:
-
selecting each of the plurality of attachment streams to be included in the message;
specifying an encapsulation format for the plurality of attachment streams and message record;
specifying only one of a plurality of available transport streams for transporting the message; and
packaging the plurality of attachment streams, the message record and metadata into the single transport stream for sending, without writing the message into one or more intermediate buffers, wherein the metadata is based upon the specified encapsulation format. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. For a messaging system that sends a message, the message comprising both a message record and a plurality of attachment streams included within a plurality of attachment records, a computer program product comprising one or more computer readable media carrying computer executable instruction that implements a that implements a method that reduces buffer requirements for sending messages by directly writing the plurality of attachment streams into a single transport stream, without using an intermediate buffer, the method comprising steps for:
-
identifying the plurality of attachment streams to be included in the message;
identifying an appropriate encapsulation format for the plurality of attachment streams and message record;
identifying the single transport stream for the message; and
composing, based on the identified encapsulation format, the plurality of attachment streams and message record into the single transport stream, without composing the message into one or more intermediate buffers. - View Dependent Claims (34, 35, 36, 37, 38, 39, 40, 41, 42)
-
-
43. For a messaging system that sends a message, the message comprising both a message record and a plurality of attachment streams included within a plurality of attachment records, a computer program product comprising one or more computer readable media carrying computer executable instruction that implement a method that reduces buffer requirements for sending messages by directly writing the plurality of attachment streams into a single transport stream, without using an intermediate buffer, the method comprising acts of:
-
selecting each of the plurality of attachment streams to be included in the message;
specifying an encapsulation format for the plurality of attachment streams and message record;
specifying only one of a plurality of available transport streams for transporting the message; and
writing the plurality of attachment streams, the message record and metadata into the single transport stream for sending, without writing the message into one or more intermediate buffers, wherein the metadata written to the single transport stream is based upon the specified encapsulation format. - View Dependent Claims (44, 45, 46, 47, 48, 49, 50, 51, 52, 53)
-
-
54. For a messaging system that receives a message, the message comprising both a message record and a plurality of attachment streams included within a plurality of attachment records, a computer program product comprising one or more computer readable media carrying computer executable instruction that implement a method that reduces buffer requirements for receiving messages by directly spooling the plurality of attachment streams from a single transport stream to disk, without using an intermediate buffer, the method comprising acts of:
-
receiving each of the plurality of attachment streams and message record from the single transport stream for reading;
reading metadata based on an encapsulation format used for identifying information about the plurality of attachments; and
writing the plurality of attachment streams directly to another stream, without writing the message into one or more intermediate buffers. - View Dependent Claims (55, 56, 57, 58, 59, 60, 61, 62, 63)
-
Specification