Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for constructing real-time database and data searching method

A data retrieval and construction method technology, applied in the field of reading and real-time database retrieval, can solve problems such as real-time performance can not meet the requirements, and achieve the effect of small data volume, small network bandwidth and fast access

Inactive Publication Date: 2011-09-14
HOHAI UNIV
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The query method mostly uses search algorithms such as B+ tree. With more and more records managed by the real-time database, the average time to retrieve each object is getting longer and longer. That is, as the access volume increases, the real-time performance of the system It will also decline, the more access, the faster the decline, the real-time performance of the application will not meet the 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
  • Method for constructing real-time database and data searching method
  • Method for constructing real-time database and data searching method
  • Method for constructing real-time database and data searching method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] At first, the present invention provides a kind of construction method of real-time database, comprises the steps:

[0030] (1) Divide the real-time database into several data tables. The number and capacity of the tables are determined according to the needs, and a unique number starting from 0 is assigned to each data table, and at the same time, a two-dimensional search for each real-time database data table is established. array, with figure 1 Shown, including the number of each table and the corresponding memory start address;

[0031] (2) Each data table defines a number of fields, each field is a record, and each record is given a record number starting from 0; the storage content of each field can also be predefined, defined as real-time changing data or not Changed parameters;

[0032] (3) Establish a composite data structure of the record ID, including the serial number of the data table, the record number, and the number of uses. Among them, each time the s...

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 for constructing a real-time database, which comprises the following steps of: 1, dividing the real-time database into a plurality of data sheets, determining quantity and capacity of the data sheets according to demands, endowing a unique number starting from 0 to each data sheet, and establishing a searching two-dimensional array related to the data sheets, wherein the searching two-dimensional array comprises numbers of the data sheets and memory starting addresses of the data sheets; 2, defining a plurality of fields for each data sheet, endowing each field with a recording number starting from 0; and 3, establishing composite structure data recording ID, wherein the composite structure data comprise numbers, recording numbers and use times of the data sheets, the storage position of each record is deleted once, and the use time is added with 1. The real-time database constructed by using the method can be used for searching request data without being influenced by the data volumes in the real-time database. The invention also discloses a data searching method of the real-time database.

Description

technical field [0001] The invention belongs to the technical field of electric power automation, in particular to a method for searching and reading a real-time database in an electric power automation system. Background technique [0002] Real-time database is a branch of database system development, which is suitable for dealing with continuously updated and rapidly changing data processing. In the field of real-time monitoring system of electric power automation, in order to improve the response speed of the system, real-time database is generally used. Real-time database is the product of the combination of real-time system and database technology, using database technology to solve the data management problems in real-time systems. [0003] In the power automation system, the power system operation data sent by device collection and communication will be placed in the real-time database and refreshed continuously. In order to monitor the real-time changes of power op...

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): G06F17/30
Inventor 蒋宏图袁越
Owner HOHAI UNIV