Real-time data calculation method, device and equipment and computer readable storage medium

A real-time computing and data technology, applied in the field of data processing, can solve the problems of low code reuse rate and high development cost

Pending Publication Date: 2019-04-09
WEBANK (CHINA)
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, when calculating an indicator with a time range dimension such as "the last 7 days", it is necessary to write a calculation task including the real-time calculation task of the current day and the batch calculation task of the 6th history to calculate the real-time indicator value of the current day and the last 6 days Daily batch index value; and when changing the time range of the index, such as "last 3 days", a new batch task needs to be rewritten to recalculate the batch index value of the past 2 days, resulting in relatively high development costs High, low code reuse rate

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
  • Real-time data calculation method, device and equipment and computer readable storage medium
  • Real-time data calculation method, device and equipment and computer readable storage medium
  • Real-time data calculation method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0053] refer to figure 1 , figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0054] The real-time data computing device in the embodiment of the present invention may be a server, or a terminal device such as a PC (Personal Computer, personal computer), a tablet computer, or a portable computer.

[0055] Such as figure 1 As shown, the real-time data computing device may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such ...

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 real-time data calculation method. The real-time data calculation method comprises the following steps: when a configuration instruction sent by a configuration end is received, analyzing the configuration instruction to obtain configuration information; generating calculation task is generated according to the configuration information, calculating a data source according to the calculation task, and storing a calculation result in a preset Hbase database; When a data real-time calculation request sent by a query end is received, obtaining corresponding target indexinformation and a target time range according to the data real-time calculation request; According to the target index information and the target time range, obtaining corresponding index data from the preset Hbase database according to a preset rule, and obtaining a real-time value through calculation according to the index data. The invention further discloses a data real-time calculation deviceand equipment and a computer readable storage medium. According to the invention, the development cost can be reduced, and the code reuse rate is improved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a real-time data calculation method, device, equipment and computer-readable storage medium. Background technique [0002] In recent years, with the development of information communication technology and the Internet, there are more and more big data scenarios, and there are various real-time data computing services. Currently popular real-time computing engines include strom (native real-time stream processing framework), sparkstreaming (quasi-real-time stream processing framework that regards stream as micro-batch processing), flink (native real-time stream processing framework), etc. When using any of them, it is necessary to write computing tasks case by case for each scenario. For example, when calculating an indicator with a time range dimension such as "the last 7 days", it is necessary to write a calculation task including the real-time calculation task ...

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/2458G06F16/25
Inventor 马家冀姜黎明王大飞
Owner WEBANK (CHINA)
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