×

Data flow windowing and triggering

  • US 10,037,187 B2
  • Filed: 11/03/2015
  • Issued: 07/31/2018
  • Est. Priority Date: 11/03/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving, at data processing hardware, data corresponding to one of streaming data or batch data;

    determining, using the data processing hardware, a content of the received data for computation;

    determining, using the data processing hardware, an event time of the data for slicing the data;

    determining a processing time to output results of the received data using the data processing hardware;

    grouping, using the data processing hardware, a first subset of the received data into a first window, the first window defining a first sub-event time of the first data subset;

    aggregating, using the data processing hardware, a first result of the first data subset for the first window; and

    determining, by the data processing hardware, a first trigger time to;

    emit the first aggregated result of the first data subset;

    store a copy of the first aggregated result in a persistent state within memory hardware; and

    refine a next aggregate result of a later subset with the first aggregated result,wherein the first trigger time comprises at least one of;

    when a watermark reaches an end of the first window;

    every threshold number of seconds of a walltime;

    after receiving a punctuation record that terminates the first window;

    every threshold number of records;

    after arbitrary user logic decides to trigger;

    orafter an arbitrary combination of concrete triggers.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×