IP Library Granted Patent US 12664134
Granted Patent B1
US 12664134 · App. 18/902,483 · Granted Jun 23, 2026

Cloud-based testing and improvement of data quality for machines at a client site

Inventors: Aarthi Ravi (San Jose, CA); Mihir Kumar Choudhary (Morgan Hill, CA); Sharad Singh (Fremont, CA); Kai Fan Tang (Port Coquitlam, CA); Valery Yalauchuk (London, GB); Stephen Haines (Danville, CA)
Assignee: Amazon Technologies, Inc.
G06F16/215
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12664134
App. No.
18/902,483
Granted
Jun 23, 2026
Kind
B1
Abstract

A data conformance service determines, based at least on an information model of a machine at a remote site of a client, cloud test code to be executed by the data conformance service to perform at least a first type of conformance test for data provided by the machine and edge test code to be executed by an edge gateway at the remote site to perform at least a second type of conformance test for the data from the machine. The service deploys the edge test code to the edge gateway. The service receives data from the machine and executes the cloud test code using the data to generate cloud test results. The service receives edge test results and generates, based on the cloud and edge results, an indication of whether the data from the machine conforms to a specification.

Claims (88)

1 . A system, comprising:

one or more processors and one or more memories, wherein the one or more memories have stored thereon instructions, which when executed by the one or more processors, cause the one or more processors to implement a data conformance service for a plurality of clients of a provider network, wherein the data conformance service is configured to, for a client of the plurality of clients:

receive, from the client, an information model of a machine at a remote site of the client;

determine, based at least on the information model of the machine at the remote site, cloud test code to be executed by the data conformance service of the provider network to perform at least a first type of conformance test for data provided by the machine of the remote site and edge test code to be executed by the edge gateway of the remote site to perform at least a second type of conformance test for the data from the machine of the remote site,

wherein the cloud test code is configured to determine, based on at least the first type of conformance test, whether the data from the machine conforms to a specification, and

wherein the edge test code is configured to determine, based on at least the second type of conformance test, whether the data from the machine conforms to the specification;

deploy the edge test code to the edge gateway;

receive, from the edge gateway, the data from the machine;

execute the cloud test code using the data from the machine to generate cloud test results for the data;

receive, from the edge gateway, edge test results that are based on execution, at the edge gateway, of the edge test code using the data from the machine; and

generate, based on the cloud test results and the edge test results, an indication of whether the data from the machine conforms to the specification.

2 . The system as recited in claim 1 , wherein to determine the edge test code to be executed by the edge gateway to perform at least the second type of conformance test for the data from the machine, the data conformance service is further configured to:

determine, based on one or more factors, that test code to perform at least the second type of conformance test is to be executed by the edge gateway, wherein the factors comprise one or more of:

one or more test type constraints associated with at least the second type of conformance test,

an amount of data to be transferred to the data conformance service in order to perform at least the second type of conformance test at the edge gateway, or

available bandwidth between the data conformance service and the edge gateway.

3 . The system as recited in claim 1 , wherein the data conformance service is further configured to:

receive, from the client, another information model of the machine at the remote site;

determine, based on the other information model, updated cloud test code to be executed by the data conformance service to perform at least the first type of conformance test for additional data from the machine and updated edge test code to be executed by the edge gateway to perform at least the second type of conformance test for the additional data from the machine,

deploy the updated edge test code to the edge gateway.

4 . The system as recited in claim 1 , wherein the data conformance service is further configured to:

determine, based on the cloud test results and the edge test results, at least one action to be performed by the machine; and

send, to the remote site, an indication of the at least one action to be performed by the machine.

5 . The system as recited in claim 1 , wherein to determine the cloud test code to be executed by the data conformance service and the edge test code to be executed by the edge gateway, the data conformance service is further configured to:

receive, from the client, input indicating at least one parameter value for at least the first type of conformance test and at least one parameter value for the at least the second type of conformance test.

6 . A method, comprising:

performing, by one or more computing devices of a provider network that implement a data conformance service:

determining, based at least on an information model of a machine at a remote site of a client, cloud test code to be executed by the data conformance service of the provider network to perform at least a first type of conformance test for data provided by the machine of the remote site and edge test code to be executed by an edge gateway at the remote site to perform at least a second type of conformance test for the data from the machine of the remote site,

wherein the cloud test code is configured to determine whether the data from the machine conforms to a specification, and

wherein the edge test code is configured to determine whether the data from the machine conforms to the specification;

deploying the edge test code to the edge gateway;

receiving, from the edge gateway, the data from the machine;

executing the cloud test code using the data from the machine to generate cloud test results for the data;

receiving, from the edge gateway, edge test results that are based on execution, at the edge gateway, of the edge test code using the data from the machine; and

generating, based on the cloud test results and the edge test results, an indication of whether the data from the machine conforms to the specification.

7 . The method as recited in claim 6 , further comprising:

receiving, from the client, a selection of the information model of the machine from among a plurality of information models available at the data conformance service for selection, or

receiving, from the remote site of the client, the information model of the machine.

8 . The method as recited in claim 6 , wherein determining the edge test code to be executed by the edge gateway to perform at least the second type of conformance test for the data from the machine comprises:

determining, based on one or more factors, that test code to perform at least the second type of conformance test is to be executed by the edge gateway, wherein the factors comprise one or more of:

one or more test type constraints associated with at least the second type of conformance test,

an amount of data to be transferred to the data conformance service in order to perform at least the second type of conformance test at the edge gateway, or

available bandwidth between the data conformance service and the edge gateway.

9 . The method as recited in claim 6 , further comprising:

receiving, from the client, a selection of the information model of the machine from among a plurality of information models available at the data conformance service for selection, or

receiving, from the remote site of the client, the information model of the machine; and

determining, based on the other information model, updated cloud test code to be executed by the data conformance service to perform at least the first type of conformance test for additional data from the machine and updated edge test code to be executed by the edge gateway to perform at least the second type of conformance test for the additional data from the machine,

deploying the updated edge test code to the edge gateway.

10 . The method as recited in claim 6 , further comprising:

determining, based on the cloud test results and the edge test results, at least one action to be performed by the machine; and

sending, to the remote site, an indication of the at least one action to be performed by the machine.

11 . The method as recited in claim 6 , wherein determining the cloud test code to be executed by the data conformance service and the edge test code to be executed by the edge gateway comprises:

receiving, from the client, input indicating at least one parameter value for at least the first type of conformance test and at least one parameter value for the at least the second type of conformance test.

12 . The method as recited in claim 6 , further comprising:

receiving, from the client, input selecting an additional type of conformance test for the machine from among a plurality of additional types of conformance tests available for selection; and

determining, based at least on the additional type of conformance test, additional cloud test code to be executed by the data conformance service to perform the additional type of conformance test for additional data from the machine.

13 . The method as recited in claim 6 , further comprising:

receiving, from the client, input selecting the additional type of conformance test for the machine from among a plurality of additional types of conformance tests available for selection;

determining, based at least on the additional type of conformance test for the machine, additional edge test code to be executed by the edge gateway at the remote site to perform the additional type of conformance test for additional data from the machine; and

deploying the additional edge test code to the edge gateway.

14 . The method as recited in claim 6 , wherein the specification is compliant with Open Platform Communications (OPC) Unified Architecture (UA).

15 . One or more non-transitory computer-accessible storage media storing program instructions that when executed on or across one or more processors of a provider network cause the one or more processors to implement a data conformance service to:

determine, based at least on an information model of a machine at a remote site of a client, cloud test code to be executed by the data conformance service of the provider network to perform at least a first type of conformance test for data provided by the machine of the remote site and edge test code to be executed by an edge gateway at the remote site to perform at least a second type of conformance test for the data from the machine of the remote site,

wherein the cloud test code is configured to determine whether the data from the machine conforms to a specification, and

wherein the edge test code is configured to determine whether the data from the machine conforms to the specification;

deploy the edge test code to the edge gateway;

receive, from the edge gateway, the data from the machine;

execute the cloud test code using the data from the machine to generate cloud test results for the data;

receive, from the edge gateway, edge test results that are based on execution, at the edge gateway, of the edge test code using the data from the machine; and

generate, based on the cloud test results and the edge test results, an indication of whether the data from the machine conforms to the specification.

16 . The one or more storage media as recited in claim 15 , wherein the program instructions when executed on or across the one or more processors further cause the one or more processors to:

receive, from the client, a selection of the information model of the machine from among a plurality of information models available at the data conformance service for selection, or

receive, from the remote site of the client, the information model of the machine.

17 . The one or more storage media as recited in claim 15 , wherein to determine the edge test code to be executed by the edge gateway to perform at least the second type of conformance test for the data from the machine, the program instructions when executed on or across the one or more processors further cause the one or more processors to:

determine, based on one or more factors, that test code to perform at least the second type of conformance test is to be executed by the edge gateway, wherein the factors comprise one or more of:

one or more test type constraints associated with at least the second type of conformance test,

an amount of data to be transferred to the data conformance service in order to perform at least the second type of conformance test at the edge gateway, or

available bandwidth between the data conformance service and the edge gateway.

18 . The one or more storage media as recited in claim 15 , wherein the program instructions when executed on or across the one or more processors further cause the one or more processors to:

receive, from the client, a selection of the information model of the machine from among a plurality of information models available at the data conformance service for selection, or

receive, from the remote site of the client, the information model of the machine;

determine, based on the other information model, updated cloud test code to be executed by the data conformance service to perform at least the first type of conformance test for additional data from the machine and updated edge test code to be executed by the edge gateway to perform at least the second type of conformance test for the additional data from the machine,

deploy the updated edge test code to the edge gateway.

19 . The one or more storage media as recited in claim 15 , wherein the program instructions when executed on or across the one or more processors further cause the one or more processors to:

determine, based on the cloud test results and the edge test results, at least one action to be performed by the machine; and

send, to the remote site, an indication of the at least one action to be performed by the machine.

20 . The one or more storage media as recited in claim 15 , wherein to determine the cloud test code to be executed by the data conformance service and the edge test code to be executed by the edge gateway, the program instructions when executed on or across the one or more processors further cause the one or more processors to:

receive, from the client, input indicating at least one parameter value for at least the first type of conformance test and at least one parameter value for the at least the second type of conformance test.