CPC G06F 16/2455 (2019.01) [G05D 1/0291 (2013.01); G06F 16/182 (2019.01); G06F 16/24537 (2019.01); G06F 16/24544 (2019.01); G06F 16/24552 (2019.01); G06F 16/2456 (2019.01); G06F 16/2462 (2019.01); G06F 16/2471 (2019.01); G06F 16/27 (2019.01); G06F 16/278 (2019.01); G06Q 10/06315 (2013.01); G06Q 10/0833 (2013.01); G06Q 10/087 (2013.01); G06Q 20/389 (2013.01); G06Q 30/0202 (2013.01); G06Q 30/0206 (2013.01); G06V 10/774 (2022.01); H04N 23/675 (2023.01); G05B 2219/49023 (2013.01); G06Q 2220/00 (2013.01)] | 21 Claims |
1. A method for processing a query for data stored in a distributed database, the method comprising:
receiving, at an edge device, the query for data stored in the distributed database from a query device, wherein the query is a request for data stored at the edge device and for data stored at other edge devices;
executing, by the edge device, the query to find partial query results including the data stored at the edge device;
generating, by the edge device, statistical information based on the partial query results;
generating, by the edge device, a probability distribution model based on the partial query results, wherein the probability distribution model is configured to generate an approximate response to the query;
determining, by the edge device, a statistical confidence of the probability distribution model based on the statistical information; and
in response to the statistical confidence exceeding a determined threshold:
generating, using the probability distribution model, the approximate response to the query, and
transmitting, via the edge device, the approximate response to the query device.
|