Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Hash ring based time sequence database service cluster implementation method and system

A technology of time series and service clusters, applied in database management systems, electronic digital data processing, structured data retrieval, etc., can solve problems such as increasing service nodes, high load of main service nodes, and unreasonable utilization of service node resources , to achieve good fault tolerance and scalability, to achieve the effect of load balancing

Inactive Publication Date: 2016-02-10
NR ELECTRIC CO LTD +1
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is: the load of the master service node is too high, and the resources of the slave service node cannot be reasonably utilized
At the same time, adding service nodes cannot effectively improve the performance of the overall service
[0004] The invention provides a method and system for realizing a time series database service cluster based on a hash ring, which can realize load balancing of server clusters, and solve the problem of excessive load of the master service node in the master-slave mode of the traditional time series database service cluster, and the resources of the slave service node Shortcomings that cannot be reasonably utilized and the overall service performance cannot be effectively improved

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
  • Hash ring based time sequence database service cluster implementation method and system
  • Hash ring based time sequence database service cluster implementation method and system
  • Hash ring based time sequence database service cluster implementation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to better understand the technical content of the present invention, specific embodiments are given together with the attached drawings for description as follows.

[0041] Such as Figure 1-Figure 5 As shown, according to a preferred embodiment of the present invention, the system of the time series database service cluster based on the hash ring includes a measuring point encoding module, a measuring point sending module and a measuring point storage module, and the measuring point encoding module is based on the measuring point The keyword is hashed to get the hash value corresponding to the measuring point. The measuring point sending module serializes the encoding, hash value and measuring point value of the measuring point and sends them to the time series database server cluster. The measurement point storage module creates a time series database server cluster based on the hash ring, receives the measurement point data, and selects a server from the se...

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 present invention provides a hash ring based time sequence database service cluster implementation method and system. The system comprises a measurement point encoding module, a measurement point transmission module and a measurement point storage module. The measurement point encoding module is used for performing hash calculation according to a keyword of a measurement point to obtain a hash value corresponding to the measurement point. A code, the hash value and a measurement point value of the measurement point are serialized by the measurement point transmission module and then are transmitted to a time sequence database service cluster. The measurement point storage module creates the hash ring based time sequence database service cluster, receives measurement point data and selects, according to the hash value of the measurement point, one server from the service cluster to store an acquired value of the measurement point. According to the present invention, the load balancing of the time sequence database service cluster is realized, hardware resources of the database cluster can be fully utilized and overall data processing performance is improved.

Description

technical field [0001] The invention relates to the technical field of electric power automation, in particular to a method and system for realizing a hash ring-based time series database service cluster. Background technique [0002] The time series database is mainly used to store the data collected and generated by various types of real-time monitoring, inspection and analysis equipment such as smart grid operation system, industrial energy management and control, and new energy monitoring. The typical characteristics of these industrial data are: fast generation frequency (per One monitoring point can generate multiple pieces of data within one second), there are many measuring points, and the amount of data information is large (dozens of GB of data are generated every day). At present, time-series databases are mainly relied on to store historical data of these data. [0003] Traditional time series database service clusters adopt a master-slave approach. In the mast...

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): G06F17/30
CPCG06F16/25
Inventor 钱锋陆鑫翟桂锋
Owner NR ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products