A method and device for accessing cluster database measurement points

A database and measuring point technology, applied in the database field, can solve the problems of low search efficiency of measuring points and many accesses to the hard disk, and achieve the effect of improving the access efficiency of measuring points, shortening the search path and high access efficiency.

Active Publication Date: 2017-07-25
STATE GRID CORP OF CHINA +2
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a cluster database measuring point access method and device to solve the problem in the prior art that when searching for measuring points using the index of the above-mentioned B+ tree structure, the number of accesses to the hard disk is large, resulting in low efficiency of measuring point search question

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
  • A method and device for accessing cluster database measurement points
  • A method and device for accessing cluster database measurement points
  • A method and device for accessing cluster database measurement points

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0060] see figure 1 , which shows an example diagram of the cluster database architecture. As shown in the figure, the cluster database includes multiple stand-alone databases, and each stand-alone database manages multiple database measurement points. Each measurement point has a unique identifier. Users can send An access request containing the identification of the measuring point to realize the access to the measuring point.

[0061] It should be noted th...

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 method and a device for accessing a survey point of a cluster database, which are applied to a Treap tree established in memory. A node memory index block of the Treap comprises the survey point identification range and access times; the node access times are sequentially reduced according to a preset node searching sequence; and preset number index blocks read from a disk is saved in the memory according to the high-low sequence of the access times. The method comprises the following steps: receiving a survey point access request in a preset cycle; searching a target node from a tree according to the target survey point identification and a preset node searching sequence in the request; increasing the access times of the target node; searching whether an index block corresponding to the target node exists in the memory or not, and determining the location of the survey point corresponding to the target survey point identification in the index block if the index block exists; accessing the survey point according to the survey point location; regulating the position of the target node in the Treap tree after the preset cycle is finished to sequentially reduce the access times of each node according to the node searching sequence.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a method and device for accessing measurement points of cluster databases. Background technique [0002] Cluster database, which has become the basic core software system in the process of industrial informatization, is a logically unified database system composed of a large number of stand-alone databases. Among them, the stand-alone database contains multiple measurement points, and the user can access the cluster database by accessing the measurement points. The cluster database provides users with a unified access interface, and realizes the transparency of the storage location of the measurement points to the access interface. That is to say, the user does not need to care about the storage location of the measurement point, but only sends a measurement point access request to the access interface, and the interface searches for the specific storage location of ...

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 Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/2246
Inventor 李玉凯欧阳红戎修凯董艺
Owner STATE GRID CORP OF 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