Method of streaming size-constrained valid XML
First Claim
1. A method of streaming an eXtensible Markup Language (XML)-type document over a communication network, said method comprising:
- receiving a sequence of commands in a subject mobile device;
in the subject mobile device, synchronously converting the sequence of commands into a plurality of XML-type fragments configured for-assembling on the fly and streaming a single XML-type document in said communication network, the subject mobile device being a sending mobile device relative to the XML-type document, the size of the XML-type document exceeding a size limit imposed by available memory on the sending mobile device but less than the size limit imposed by the transport layer of the communication network, a DTD of the XML-type document being able to be broken up into logically independent elements;
assembling portions of the plurality of said XML-type fragments one at a time in a buffer of the sending mobile device, the buffer being constrained to be smaller in size than the size constraint of said transport layer of said communication network; and
between times of assembling different portions, flushing the assembled fragments from said buffer to said transport layer of said communication network, said flushing being dependent upon said DTD of said XML-type document, and said flushing removing a limitation on the size of a message to communicate said XML-type document over said transport layer and maintaining information of the XML-type document.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods (100), systems (200), computer program products, and signal bearing mediums for streaming an eXtensible Markup Language (XML)-type document (210) over a communication network (240) are described. A sequence of commands are received and synchronously converted (112) into XML-type fragments (230) for assembling and streaming a single XML-type document for a mobile device (220) in the communication network (240). The size of the XML-type document (210) exceeds the size limit imposed by the available memory on the device but less than the size limit imposed by the transport layer of a communication network (240). A DTD of the XML-type document (210) can be broken up into logically independent elements. The XML-type fragments (230) are assembled (114) in a buffer that is constrained to be smaller in size than the size constraint of the transport layer of the communication network (240). Periodically, the assembled fragments (230) are flushed (116) from the buffer to the transport layer of the communication network (240) dependent upon the DTD of the XML-type document (210) without a limitation on the size of a message to communicate the XML-type document (210) over the transport layer without loss of information.
-
Citations
14 Claims
-
1. A method of streaming an eXtensible Markup Language (XML)-type document over a communication network, said method comprising:
- receiving a sequence of commands in a subject mobile device;
in the subject mobile device, synchronously converting the sequence of commands into a plurality of XML-type fragments configured for-assembling on the fly and streaming a single XML-type document in said communication network, the subject mobile device being a sending mobile device relative to the XML-type document, the size of the XML-type document exceeding a size limit imposed by available memory on the sending mobile device but less than the size limit imposed by the transport layer of the communication network, a DTD of the XML-type document being able to be broken up into logically independent elements; assembling portions of the plurality of said XML-type fragments one at a time in a buffer of the sending mobile device, the buffer being constrained to be smaller in size than the size constraint of said transport layer of said communication network; and between times of assembling different portions, flushing the assembled fragments from said buffer to said transport layer of said communication network, said flushing being dependent upon said DTD of said XML-type document, and said flushing removing a limitation on the size of a message to communicate said XML-type document over said transport layer and maintaining information of the XML-type document. - View Dependent Claims (2, 3, 4, 5, 6, 7)
- receiving a sequence of commands in a subject mobile device;
-
8. A system for streaming an eXtensible Markup Language (XML)-type document over a communication network, said system comprising:
-
a memory in a sending device, the memory configured for buffering data and instructions; a communications interface for coupling said system to said communications network; and a processor coupled to said memory and said communications interface, said processor executing instructions for; receiving a sequence of commands; synchronously converting the sequence of commands into a plurality of XML-type fragments configured for assembling on the fly and streaming a single XML-type document on the fly in said communication network, the size of the XML-type document exceeding the size limit imposed by the memory in the sending device but less than the size limit imposed by the transport layer of the communication network, a DTD of the XML-type document being able to be broken up into logically independent elements; assembling portions of the plurality of said XML-type fragments one at a time in said memory, wherein the memory is constrained to be smaller in size than the size constraint of said transport layer of said communication network; and between times of assembling different portions, flushing the assembled fragments from said memory to said transport layer of said communication network, said flushing being dependent upon said DTD of said XML-type document, and said flushing removing a limitation on the size of a message to communicate said XML-type document over said transport layer and maintaining information of the XML-type document. - View Dependent Claims (9, 10)
-
-
11. A computer program product comprising a non-transitory, tangible computer readable storage medium having a computer program recorded therein for streaming an eXtensible Markup Language (XML)-type document over a communication network, said computer program product comprising:
-
computer program code means for receiving a sequence of commands; computer program code means for synchronously converting the sequence of commands into a plurality of XML-type fragments configured for assembling on the fly and streaming a single XML-type document in said communication network, the size of the XML-type document exceeding the size limit imposed by available memory on a sending mobile device but less than the size limit imposed by the transport layer of the communication network, a DTD of the XML-type document being able to be broken up into logically independent elements; computer program code means for assembling portions of the plurality of said XML-type fragments one at a time in said memory that is constrained to be smaller in size than the size constraint of said transport layer of said communication network; and computer program code means for between times of assembling different portions, flushing the assembled fragments from said memory to said transport layer of said communication network dependent upon said DTD of said XML-type document, said flushing enabling;
(i) removal of a limitation on the size of a message to communicate said XML-type document over said transport layer, and (ii) streaming of the XML-type document as valid lossless fragments. - View Dependent Claims (12, 13)
-
-
14. A system of streaming an eXtensible Markup Language (XML)-type document over a communication network, said system comprising:
-
an encoder executable by a processor and receiving a sequence of commands in a subject mobile device; in the subject mobile device, the encoder synchronously converting the sequence of commands into a plurality of XML-type fragments configured for assembling on the fly and streaming a single XML-type document in said communication network, the subject mobile device being a sending mobile device relative to the XML-type document, the size of the XML-type document exceeding a size limit imposed by available memory on the sending mobile device but less than the size limit imposed by the transport layer of the communication network, a DTD of the XML-type document being able to be broken up into logically independent elements; a buffer assembly assembling portions of the plurality of said XML-type fragments one at a time in a buffer of the sending mobile device, the buffer being constrained to be smaller in size than the size constraint of said transport layer of said communication network; and flush logic executed by the processor for flushing the assembled fragments from said buffer to said transport layer of said communication network between times of assembling different portions, said flushing being dependent upon said DTD of said XML-type document and said flushing removing limitation on the size of a message to communicate said XML-type document over said transport layer and maintaining information of the XML-type document.
-
Specification