Database optimized storage and query method based on industrial control field

A technology for optimizing storage and database, applied in the direction of comprehensive factory control, comprehensive factory control, electrical and digital data processing, etc., can solve the problems of easy data loss, high database pressure, low efficiency, etc., to reduce pressure, reduce loss, and improve efficiency. Effect

Inactive Publication Date: 2012-03-14
BEIJING UNIV OF CHEM TECH
View PDF2 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This leads to relatively low efficiency when users query the local database with such a large amount of data, and also causes huge pressure on the local database, data is easily lost, and data security cannot be reliably guaranteed
[0007] To sum up, the current data collection service does not perform any data processing when transferring data from the real-time database to the local database, and does not provide a query and statistical strategy for the huge data in the local database, resulting in The query efficiency of the local database with too large amount of data is low. At the same time, it also causes great pressure on the local database, the data is easily lost, and the security of the data cannot be reliably guaranteed.

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
  • Database optimized storage and query method based on industrial control field
  • Database optimized storage and query method based on industrial control field
  • Database optimized storage and query method based on industrial control field

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below through specific embodiments and with reference to the accompanying drawings.

[0031] Real-time database (RTDB-Real Time DataBase) is a branch of database system development, which is suitable for dealing with continuously updated and rapidly changing data and time-limited transaction processing. Real-time database technology is the product of the combination of real-time system and database technology. The real-time database uses a very powerful data compression algorithm when storing data. The required disk space does not exceed 10G.

[0032] An important characteristic of real-time database is real-time, including data real-time and transaction real-time. Data real-time refers to the update cycle of on-site IO data, and transaction real-time refers to the speed at which the database processes transactions. The rea...

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 database optimized storage method based on the industrial control field. The method comprises the following steps of: S1, reading return path data, storing the return path data related to the automatic control rate into a real-time return path automatic control rate acquisition table, and storing the return path data related to the stability rate into a real-time return path stability rate acquisition table; taking the return path data with same space attribute as the tree node data, obtaining and storing the real-time automatic control rate and the stability rate of the tree node according to the return path data in the acquisition tables; S2, while reading the next round of return path data, executing the step S1, and simultaneously executing a step S3; and S3, storing a time stamp in a historical return path acquisition table before storing the current return path data; determining a statistic cycle, accumulating the length of the time stamp, storing the return path data in the historical return path acquisition table into each table corresponding to the statistic cycle, and then, obtaining the historical automatic control rate and the stability rate of the tree node. The invention further discloses a corresponding database optimized query method. With the method provided by the invention, the data query efficiency in a local database with a huge data volume can be improved.

Description

technical field [0001] The invention relates to database storage and query technology, in particular to a database optimization storage and query method based on the field of industrial control. Background technique [0002] In industrial control, the realization of intelligent control has always been the goal pursued by people. For intelligent control, real-time data acquisition is the most basic and important link, which is related to the performance of the entire system. Only by collecting the data in real time and ensuring its authenticity can the subsequent processing be carried out through the powerful processing and analysis capabilities of the computer, and then the control can be implemented. [0003] In the field of industrial control, the device is basically running all the time, and at the same time it is constantly generating circuit data related to the operation of the device. As time goes by, a very large amount of data will be generated during operation and s...

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): G05B19/418G06F17/30
CPCY02P90/02
Inventor 靳其兵
Owner BEIJING UNIV OF CHEM TECH
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