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 loss, reduce pressure, and improve efficiency. Effect

Inactive Publication Date: 2014-02-19
BEIJING UNIV OF CHEM TECH
View PDF2 Cites 0 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

[0042] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following describes the present invention in detail through specific embodiments and with reference to the accompanying drawings.

[0043] Real-time database (RTDB-Real Time DataBase) is a branch of database system development, which is suitable for processing constantly 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. Real-time database uses a very powerful data compression algorithm when storing data. Under the load of storing more than 10,000 data in one second, it stores data for one year. The required disk space does not exceed 10G.

[0044] An important feature of real-time databases is real-time, including real-time data and real-time transactions. Data real-time refers to the update cycle of on-site IO data, and transaction real...

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 optimized storage and query method based on the industrial control field. Background technique [0002] In industrial control, the realization of intelligent control has always been the goal that people pursue. For intelligent control, real-time data acquisition is the most basic and most important link, which is related to the efficiency of the entire system. Only by collecting the data in real time and ensuring its authenticity can the subsequent processing and control be carried out through the powerful processing and analysis capabilities of the computer. [0003] In the field of industrial control, the device basically operates at all times, and at the same time, it constantly generates loop data related to the operation of the device. As time goes by, a very large amount of data will be generated during operation and stored in In a real-time database, in order t...

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): 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