System and method providing diffgram format
First Claim
1. A computer device that facilitates XML data communications, the computer device comprising:
- a processor; and
a set of one or more data storage media storing instructions that, when executed by the processor, cause the computer device to;
generate an XML diffgram that contains;
a root element,an instance data element, the instance data element being a child element of the root element, wherein child elements of the instance data element contain data representing current states of records in a first data source, anda before element, the before element being a child element of the root element, wherein child elements of the before element contain data representing previous states of records in the first data source;
transmit the XML diffgram to another computer device, the other computer device using the XML diffgram to synchronize the first data source and a second data source.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to a system and methodology to facilitate XML data communications and processing. A diffgram data structure is provided that includes one or more states of a plurality of data records. The state information can be determined by examining one or more data sources for differences from one or more reference data sources. If differences are detected between the data sources, the diffgram can be constructed in an XML compatible format with both previous state indications and current state indications that describes the state differences between the data sources. Error information and/or other administrative information or codes can also be provided to facilitate database management and/or processing.
10 Citations
16 Claims
-
1. A computer device that facilitates XML data communications, the computer device comprising:
-
a processor; and a set of one or more data storage media storing instructions that, when executed by the processor, cause the computer device to; generate an XML diffgram that contains; a root element, an instance data element, the instance data element being a child element of the root element, wherein child elements of the instance data element contain data representing current states of records in a first data source, and a before element, the before element being a child element of the root element, wherein child elements of the before element contain data representing previous states of records in the first data source; transmit the XML diffgram to another computer device, the other computer device using the XML diffgram to synchronize the first data source and a second data source. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-implemented method for exchanging XML data, the computer-implemented method comprising:
-
determining whether changes to a plurality of XML data sources exist; and when changes to the plurality of XML data sources exist; constructing, by a computer device, an XML diffgram that contains; a root element, an instance data element, the instance data element being a child element of the root element, wherein child elements of the instance data element contain data representing current states of records in a first XML data source in the plurality of XML data sources, and a before element, the before element being a child element of the root element, wherein child elements of the before element contain data representing previous states of records in the first XML data source; transmitting the XML diffgram to another computer device, the other computer device using the XML diffgram to synchronize the first XML data source and a second XML data source in the plurality of XML data sources. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A computer readable medium comprising computer executable components that, when executed by a computer device, cause the computer device to:
-
pull one or more records in a first XML data source into a buffer; detect differences between the buffer and a second XML data source; in response to detecting differences between the buffer and the second XML data source, generate an XML diffgram comprising; a root element; an element identifying an XML schema that describes a format of the XML diffgram; an instance data element, the instance data element being a child element of the root element, child elements of the instance data element specifying current states of each record in the second XML data source, wherein when records in the second XML data source are inserted or modified, the child elements of the instance data element include attributes indicating the records are inserted or modified, wherein when records in the second XML data source have errors, the child elements of the instance data element include attributes indicating the records have errors; a before element, the before element being a child element of the root element, wherein child elements of the before element include data representing a previous state of a record in the second XML data source when the differences between the buffer and the second XML data source include a difference between a current state of the record and a previous state of the record, the before element not including child elements for records inserted into the second XML data source; an error element, the error element being a child element of the root element, the error element having child elements corresponding to records in the second XML data source having errors, the child elements of the error element containing data representing error indications that provide diagnostic or administrative information as to reasons records in the second data source have changed, the error indications being elements comprising human-readable data; and an end tag that indicates an end of the XML diffgram; and transmit the XML diffgram to another computer device via a network, the other computer device using the XML diffgram to synchronize the first XML data source and the second XML data source.
-
Specification