Time slice processing method based on trumpet

A technology of time slicing and processing method, applied in data processing applications, electrical digital data processing, special data processing applications, etc., can solve the problems of inability to reach millisecond-level delay, the system takes up too much storage space, performance jitter, etc., and saves time, saving storage space, reducing the effect of time

Active Publication Date: 2021-06-04
ZHEJIANG BANGSUN TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Data can be stored in memory to ensure that the query delay is within a few to tens of milliseconds, but the memory capacity is limited, which will cause the service to be unable to accommodate so much data, resulting in abnormal service operation;
[0010] 2) A large amount of data can also be stored on the disk, but the disk access speed is slow, resulting in high latency for index calculation and query.
[0011] In addition, frequent disk reads and writes can also cause serious performance jitter problems;
[0012] 3) When querying, the system needs to re-aggregate these slices. Due to too many time slices involved, the query delay is very high, and it is difficult to meet the high-frequency access to this part of the data scenario (such as ultra-low latency, ultra-high concurrent real-time risk control scenarios) performance requirements
[0015] 1) The system can save the original flow to ensure the accuracy of user queries, but the storage space it occupies is uncontrollable. When faced with high-frequency scenarios, the system will occupy too much storage space and cause excessive calculation and query delays , unable to meet the requirement of millisecond delay;
[0016] 2) The system only calculates the index of the session time slice and discards the original flow, then the user will not be able to get the query result and cannot meet the business requirements
[0017] In summary, the above three traditional time slicing techniques cannot simultaneously meet the following requirements:

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
  • Time slice processing method based on trumpet
  • Time slice processing method based on trumpet
  • Time slice processing method based on trumpet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0066] In the manner of an embodiment, the above trumpet-shaped time slice processing technology is further described.

[0067] This example makes the following assumptions:

[0068] 1) The indicator calculated in the sample is "a person's total transaction amount within a period of time", which is a common calculation indicator in the field of risk control;

[0069] 2) Assume that person A generates a transaction every 0.5 seconds with an amount of 100 yuan, that is, 2 transactions per second with a total amount of 200 yuan;

[0070] 3) Define 2 Levels and 1 default Level: the length of the first Level is 1 second and the duration is 1 minute, the length of the second Level is 1 minute and the duration is 5 minutes, and the length of the default Level is 5 minutes;

[0071] 4) The current time is 12 o'clock on October 15, 2020, and 5 minutes of running data have been stored so far.

[0072] According to the above assumptions, the initial state is as follows image 3 Shown:...

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 time slice processing method based on a trumpet, and the method can enable the length of a time slice to be similar to the trumpet according to the definition of a user, enables the length of the time slice closer to the current time to be shorter, and enables the length of the time slice longer than the current time to be longer. The trumpet-based time slice processing method is mainly divided into four parts: definition of trumpet-shaped time slices, creation of the trumpet-shaped time slices, management of the trumpet-shaped time slices and query of the trumpet-shaped time slices. According to the trumpet-shaped time slicing method, data with a larger time span can be reserved, a large amount of storage space is saved, index query delay under the large time span is further reduced, and query results can still be returned within millisecond-level delay.

Description

technical field [0001] The invention relates to the field of network information processing, in particular to a processing method based on trumpet-shaped time slices, and provides a data processing and storage method for dynamically adjusting the length of time slices as time goes by. Background technique [0002] In the fields of risk control, marketing, etc., related flow aggregation calculation problems such as "a person's total transaction volume in the past 24 hours" and "a person's maximum transaction amount in the past week" are often involved. Since time will always move forward and more transaction flow will enter the system, aggregation calculations under such constraints as "the past 24 hours" and "the past 1 week" need to consider the fact that time has been moving, so that It is necessary to slice the time, and then aggregate and calculate the flow of each slice. [0003] At present, the processing techniques for time slices are mainly divided into three catego...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/2453G06F16/2458G06Q20/38
CPCG06F16/2474G06F16/2453G06Q20/389
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