hottub.patents
US 12,339,859 B2#2227105 Most CitedActiveUnited States (USPTO)Utility

User interface for managing distributed query execution

1Forward Citations (#2227105 Global)
1.0/yrCitation Velocity (#2227105 Global)
0.17Citation PageRank (#2227105 Global)
72Prior Art Cited
10Claims (3 Indep. · 7 Dep.)
11Drawings / Sheets

Abstract

Systems and methods are disclosed to implement a distributed query execution system that performs statistical operations on specified time windows over time-based datasets. In embodiments, the query system splits a statistical function into a set of parallel accumulator tasks that correspond to different portions of the dataset and/or function time windows. The accumulator tasks are executed in parallel by individual accumulator nodes to generate individual statistical result structures. The structures are then combined by an aggregator node to produce an aggregate result structure that indicates the results of the statistical function over the time windows. In embodiments, the accumulator and aggregator tasks are implemented and executed using a programmable task execution framework that allows developers to define custom accumulator and aggregator tasks. Advantageously, the query system allows queries with time-windowed statistical functions to be parallelized across a group of worker nodes and scaled to very large datasets.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 72 · Forward citations: 1.

Claims (10 — 3 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    A method, comprising: performing, by one or more hardware processors with associated memory that implement a distributed query execution system: storing a time-based dataset on one or more storage devices, wherein the time-based dataset is stored as a plurality of files on a plurality of servers; receiving, via a user interface, a query directed to the time-based dataset, wherein the query specifies (a) a user-specified statistical function to be computed over groups of records in the time-based dataset and (b) a user-specified number and size of a plurality of time windows over which to compute the statistical function; executing the query using a plurality of compute nodes connected via a network, including: executing a set of accumulator nodes in parallel to read respective portions of the time-based dataset in individual ones of the files and compute the statistic function over the respective portion, wherein individual ones of the accumulator nodes are launched on respective servers that have local access to different ones of the files so that each respective portion is locally read and processed by a respective group of one or more accumulator nodes at a respective server so as to reduce data traffic over the network; executing at least one aggregator node to aggregate result structures produced by the accumulator nodes; detecting that one of the accumulator nodes has failed prior to completion of computation; and retrying the computation of the failed accumulator node using a different accumulator node; responsive to user input received via the user interface, pausing the execution of the query by the compute nodes; while the execution of the query is paused, dynamically updating the user interface to output partial results of the statistical function based on a subset of the accumulator nodes that have completed computation; responsive to additional user input received via the user interface after the pausing of the query, resuming the execution of the query; and dynamically updating the user interface to output complete results of the statistical function after completion of the execution of the query.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the user interface is a graphical user interface.

  3. Claim 3Depends on #2

    The method of claim 2, wherein the partial results of the statistical function are displayed on the graphical user interface as a time graph.

  4. Claim 4Depends on #1

    The method of claim 1, wherein the compute nodes are virtual machine instances hosted on one or more virtual machine hosts.

  5. Claim 5Depends on #1

    The method of claim 1, wherein the accumulator nodes include two or more accumulator nodes that share a common cache or file lock when reading the files.

  6. Claim 6Depends on #1

    The method of claim 1, wherein the distributed query execution system is configured to compute a plurality of statistical functions on time-based datasets, including two or more of: a count of matched records, a byte size of matched records, a total value of an attribute in matched records, a minimum of an attribute in matched records, a maximum of an attribute in matched records, and an average of an attribute in matched records.

  7. Claim 7Independent Claim

    A system comprising: a distributed query execution system implemented by one or more hardware processors with associated memory, configure to: store a time-based dataset on one or more storage devices, wherein the time-based dataset is stored as a plurality of files on a plurality of servers; receive, via a user interface, a query directed to the time-based dataset, wherein the query specifies (a) a user-specified statistical function to be computed over groups of records in the time-based dataset and (b) a user-specified number and size of a plurality of time windows over which to compute the statistical function; execute the query using a plurality of compute nodes connected via a network, including to: execute a set of accumulator nodes in parallel to read respective portions of the time-based dataset in individual ones of the files and compute the statistic function over the respective portion, wherein individual ones of the accumulator nodes are launched on respective servers that have local access to different ones of the files so that each respective portion is locally read and processed by a respective group of one or more accumulator nodes at a respective server so as to reduce data traffic over the network; execute at least one aggregator node to aggregate result structures produced by the accumulator nodes; detect that one of the accumulator nodes has failed prior to completion of computation; and retry the computation of the failed accumulator node using a different accumulator node; responsive to user input received via the user interface, pause the execution of the query by the compute nodes; while the execution of the query is paused, dynamically update the user interface to output partial results of the statistical function based on a subset of the accumulator nodes that have completed computation; responsive to additional user input received via the user interface after the pause of the query, resume the execution of the query; and dynamically update the user interface to output complete results of the statistical function after completion of the execution of the query.

  8. Claim 8Depends on #7

    The system of claim 7, wherein the user interface is a graphical user interface.

  9. Claim 9Depends on #8

    The system of claim 8, wherein the partial results of the statistical function are displayed on the graphical user interface as a time graph.

  10. Claim 10Independent Claim

    One or more non-transitory computer-accessible storage media storing program instructions that when executed on or across one or more processors implement at least a portion of a distributed query execution system and cause the distributed query execution system to: store a time-based dataset on one or more storage devices, wherein the time-based dataset is stored as a plurality of files on a plurality of servers; receive, via a user interface, a query directed to the time-based dataset, wherein the query specifies (a) a user-specified statistical function to be computed over groups of records in the time-based dataset and (b) a user-specified number and size of a plurality of time windows over which to compute the statistical function; execute the query using a plurality of compute nodes connected via a network, including to: execute a set of accumulator nodes in parallel to read respective portions of the time-based dataset in individual ones of the files and compute the statistic function over the respective portion, wherein individual ones of the accumulator nodes are launched on respective servers that have local access to different ones of the files so that each respective portion is locally read and processed by a respective group of one or more accumulator nodes at a respective server so as to reduce data traffic over the network; execute at least one aggregator node to aggregate result structures produced by the accumulator nodes; detect that one of the accumulator nodes has failed prior to completion of computation; and retry the computation of the failed accumulator node using a different accumulator node; responsive to user input received via the user interface, pause the execution of the query by the compute nodes; while the execution of the query is paused, dynamically update the user interface to output partial results of the statistical function based on a subset of the accumulator nodes that have completed computation; responsive to additional user input received via the user interface after the pause of the query, resume the execution of the query; and dynamically update the user interface to output complete results of the statistical function after completion of the execution of the query.

Technical Overview & Description

This application is a continuation of U.S. patent application Ser. No. 16/798,222, filed Feb. 21, 2020, which is hereby incorporated by reference herein in its entirety. BACKGROUND Many modern computer applications require statistical functions to be computed on time-based data. For example, some enterprise security management systems monitor a company's network by collecting and analyzing timestamped event data from the network. The events may be collected in event logs, but not necessarily in a time-sequenced order. Security management systems may implement various assessment processes to analyze the event logs and provide query interfaces that allow users to search the event logs. Event log analysis and searching may require computation of a statistical function (e.g., the count, maximum, or minimum of an event attribute) on the log records for a specific set of time windows (e.g., for each of the past seven days). These types of computations can be extremely time-consuming and notorious difficult to manage due to the large size of the event logs, in some cases requiring hours to complete. Moreover, because the log data may be stored in heterogenous ways (e.g. distributed over a number of different storage locations) and not necessarily in a time-sequenced order, tracking and managing the progress of the statistical function computations can become a significant challenge. There is a need in the field for better solutions to compute statistical functions over time-based datasets that are more scalable, manageable, and flexible. SUMMARY OF EMBODIMENTS The systems and methods as described herein may be employed in various combinations and in embodiments to implement a distributed query execution system that performs statistical operations on specified time windows over time-based datasets. In some embodiments, when a query is received specifying a statistical function to be computed over a number of time windows, the distributed query execution system automatically

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (72)

PatentTitleYearCitations
US 6,470,335 B1System and method for optimizing the structure and display of complex data filters200277
US 6,959,320 B2Client-side performance optimization system for streamed applications2005193
US 7,620,633 B1Methods and apparatus for prioritizing and sorting metadata to be displayed200935
US 7,779,340 B2Interpolated timestamps in high-speed data capture and analysis20105
US 7,814,482 B2System and method for grid MPI job allocation using file-based MPI initialization in grid computing system20102
US 8,090,730 B2Methods for fast progressive evaluation of polynomial range-sum queries on real-time datacubes201220
US 8,260,803 B2System and method for data stream processing201250
US 8,510,807 B1Real-time granular statistical reporting for distributed platforms201357
US 9,251,035 B1Load test charts with standard deviation and percentile statistics201615
US 9,277,003 B2Automated cloud workload management in a map-reduce environment20164
US 9,607,067 B2Synchronization of time between different simulation models201727
US 9,646,024 B2Map-reduce ready distributed file system201710
US 9,923,918 B2Methods and systems for controlling access to computing resources based on known security vulnerabilities201830
US 10,152,558 B2Graph operations20181
US 10,176,246 B2Fast grouping of time series20198
US 10,248,621 B2Systems and methods for storing, updating, searching, and filtering time-series datasets20193
US 10,296,500 B2System and method for large-scale data processing using an application-independent framework20192
US 10,296,658 B2Use of context-dependent statistics to suggest next steps while exploring a dataset20196
US 10,579,634 B2Apparatus and method for operating a distributed database with foreign tables20201
US 10,747,736 B2Aggregation database for external dataset20202
US 10,776,355 B1Managing, storing, and caching query results and partial query results for combination with additional query results202039
US 10,855,712 B2Detection of anomalies in a time series using values of a different time series20204
US 11,093,526 B2Processing query to graph database20211
US 11,182,434 B2Cardinality of time series20211
US 11,372,871 B1Programmable framework for distributed computation of statistical functions over time-based data20227
KR 20020065628 AMethod and apparatus for exercising external memory with a memory built-in self-test—0
KR 20040066741 ADrum washing machine—1
KR 20050065921 AMeasuring device of the frictional coefficient and carring distance between roller and material—3

Non-Patent Literature (10)

  • Wenhuchen et al.,
  • “
  • ADatasetforAnswering Time-SensitiveQuestions
  • ”
  • , 35thConferenceonNeuralInformationProcessingSystems(NeurIPS2021)TrackonDatasetsandBenchmarks, Oct. 2021, pp. 1-17.
  • Umar Albalawi,
  • “
  • Countermeasure of Statistical Inference in Database Security
  • ”
  • , 2018 IEEE International Conference on Big Data (Big Data), Dec. 2018, pp. 2044-2047.