The application discloses a kind of multistage cache aggregation computing method and device, it is related to cache aggregation computing technical field, the method includes: connecting message
bus, obtains the first level cache corresponding to stack top;When subscribing to the data of same time dimension and device dimension, cumulative aggregation calculation is carried out with
original data;Whether the first event task belongs to the time interval defined in range is judged;When the timing task corresponding to the first event task triggers, set
delay waiting time;At the same time, the data of the first level cache is transmitted to external cache
middleware, and the data of same time dimension, device dimension is updated and merged.The application solves the technical problems of single cache mode, limited aggregation mode, low data storage and
processing efficiency in the prior art, improves the efficiency of
time series data processing, reduces memory usage and
delay, supports
multiple aggregation modes, and enhances the technical effects of
system performance and
scalability.