US 11,809,443 B2
Schema validation with support for ordering
Anand Tekkam, Fremont, CA (US); Pritham Rao, Sunnyvale, CA (US); and Chandrakanth Bhattiprolu, Fremont, CA (US)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Jul. 19, 2021, as Appl. No. 17/379,427.
Prior Publication US 2023/0014239 A1, Jan. 19, 2023
Int. Cl. G06F 16/25 (2019.01); G06F 16/2457 (2019.01); G06F 16/21 (2019.01)
CPC G06F 16/258 (2019.01) [G06F 16/211 (2019.01); G06F 16/24573 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A system comprising at least one data processor and at least one non-transitory memory storing computer executable instructions that when executed by the at least one data processor cause the system to carry out actions comprising:
receiving a device model of at least one asset;
generating, by at least one data processor, a first schema based at least in part on the device model of the at least one asset;
generating, by at least one data processor, a first unique identifier of the first schema, wherein the first unique identifier is a first fingerprint;
updating at least one external system with a structure of the first schema, wherein the at least one external system is configured to:
receive, from at least one device, data having one or more data fields, wherein the one or more data fields are related to the at least one asset;
serialize the data in accordance with the structure of the first schema; and
generate a second schema associated with the data;
receiving the second schema associated with the data, and the data;
ordering the second schema in accordance with the structure of first schema;
generating a second unique identifier of the second schema, wherein the second unique identifier is a second fingerprint;
storing a plurality of schema and a plurality of fingerprints in at least one storage cache, wherein the storage cache is configured for storing a version history of the plurality of schema and the plurality of fingerprints;
comparing the second unique identifier to the first unique identifier in the at least one storage cache;
determining that the second unique identifier fingerprint matches a fingerprint stored in the at least one storage cache;
validating that the second schema and the first schema are equal and valid; and
processing the data received from the at least one device in accordance with the second schema having been validated.