Systems and methods for publishing messages in a common model
AssigneeMastercard International Incorporated
InventorPeter Groarke
Life of this patent
Estimating the term…
Abstract
Example networks and methods are provided for defining a common data model for redundant data in a data specification. One example method includes accessing a message standard, the message standard having multiple message types, each message type including a plurality of classes, each of the classes defined by an .xsd file; splitting the .xsd files into named complexTypes, where each .xsd file includes one complexType which is named for the one complexType; updating references to duplicate named complexTypes to reference an unnumbered superset complexType; and absorbing each of the unique data elements of the duplicate named complexTypes into the unnumbered superset complexType.
Claims18
A system for converting a message standard to a common data model, the system comprising:
- a network computing device including memory having multiple message sets of a message standard and instructions, which when executed by a processor of the network computing device, cause the processor to:
- access a message standard, the message standard having multiple message types, each message type including a plurality of classes, each of the classes defined by an .xsd file;
- split the .xsd files, by named complexType, into separate .xsd files named for the named complexType;
- update references to the named complexTypes of a same name class to reference an unnumbered superset complexType;
- absorb each unique data element of the named complexTypes of the same name class into the unnumbered superset complexType;
- and
- generate a protobuf object from the separate complexType .xsd files, the protobuf object defining a message type agnostic common message layout.
A non-transitory computer readable medium, which includes executable instructions, which when executed by a processor of a network computing device, cause the processor to:
- access a message standard, the message standard having multiple message types, each message type including a plurality of classes, each of the classes defined by an .xsd file;
- split the .xsd files into separate .xsd files by named complexType, where each of the separate .xsd files is named for the named complexType;
- update references to the named complexTypes of a same name class to reference an unnumbered superset complexType;
- absorb each unique data elements of the named complexTypes of the same name class into the unnumbered superset complexType;
- and
- generate a protobuf object from the separate complexType .xsd files, the protobuf object defining a message type agnostic common message layout.
A computer-implemented method for converting a message standard to a common data model, the method comprising:
- accessing, by a computing device, a message standard, the message standard having multiple message types, each message type including a plurality of classes, each of the classes defined by an .xsd file;
- splitting, by the computing device, the .xsd files into separate .xsd files by named complexType, where each of the separate .xsd files is named for the named complexType;
- updating, by the computing device, references to the named complexTypes of a same name class to reference an unnumbered superset complexType;
- absorbing, by the computing device, each unique data elements of the named complexTypes of the same name class into the unnumbered superset complexType;
- and
- generating a protobuf object from the separate complexType .xsd files, the protobuf object defining a message type agnostic common message layout.
Dependencies are inferred from the claim text.