Data aggregation method based on time sequence intermediate state data structure

A data aggregation and data structure technology, applied in the field of data processing, can solve the problems of network IO load, the frequency and quantity of state data synchronization, and the increase of event concurrency, so as to reduce the computing load and reduce the number of transmissions.

Pending Publication Date: 2020-08-11
ZHEJIANG BANGSUN TECH CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the other hand, due to the increase in event concurrency, the frequency and quantity of state data synchronization increase, and the network IO load inside the system is caused
In the end, the real-time demand for feature computi

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data aggregation method based on time sequence intermediate state data structure
  • Data aggregation method based on time sequence intermediate state data structure
  • Data aggregation method based on time sequence intermediate state data structure

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0056] A specific embodiment of the present invention is as follows:

[0057] In the field of Internet of Things, monitoring the ambient temperature is a common requirement. Assuming the following scenario, it is necessary to monitor the maximum temperature of all temperature sensors in the past 24 hours. The time window slides every hour, then. Such as image 3 As shown, the indicator calculation system has received 6 event messages, from Event_01 to Event_06. Judging from the contents of the six events, two temperature sensors are included, whose IDs are T-8IXY5C8S and T-28WMYPDB. T-8IXY5C8S collects temperature every 1 minute, and sends out two temperature measurement events at 12:02:00, 12:03:02, 12:04:01, and 12:05:00 respectively. The T-28WMYPDB collected temperature every 3 minutes, and two temperature measurement events were sent out at 12:03:01 and 12:06:00. The feature calculation system processes these data in three steps:

[0058] (1) The client sends the abo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data aggregation method based on a time sequence intermediate state data structure. The time sequence intermediate state data structure comprises a primary key, a feature keyand data, wherein the primary key is used for associating a specific service object in a service system; load balancing is carried out on storage and calculation of data, the feature keys are used for describing feature names of specific service objects, and the data is a numerical value formed after events in a service system are processed by the feature calculation system and a calculation method of the numerical value and is used for calculating an intermediate result during time sequence intermediate state data merging operation. According to the data aggregation method, based on a time sequence intermediate state data structure, events are converted into a plurality of parts of intermediate state data, the intermediate state data are stored in corresponding cache queues, then the intermediate state data are merged according to primary keys, feature keys and timestamps of the intermediate state data, and finally the intermediate state data are stored in a storage database. According to the method, the IO load of the system can be reduced, and the calculation load of the system is reduced and reasonably distributed.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a data aggregation method based on a time series intermediate state data structure. Background technique [0002] Time-series data, also known as time-series data, is a sequence of data recorded in chronological order. Time series feature calculation is the characteristic data obtained after processing time series by calculation methods such as summation, average, variance, etc. Time series characteristics of the number of transactions in the last hour. In industries such as the mobile Internet, the Internet of Things, and financial services, timing features are widely used in business scenarios such as preventing transaction fraud, personalized recommendations, and decision-making in the event. In addition to being used as the basis for business decision-making, timing features can also be used as input to interface with rule engines and machine learning models to handle complex...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/2455G06F16/2458
CPCG06F16/24552G06F16/2474G06F16/24556Y02D10/00
Inventor 王新根王新宇鲁萍黄滔陈伟金路
Owner ZHEJIANG BANGSUN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products