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

Establishing method for process control historical data file structure and data read-write method

A historical data and process control technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of slow data reading speed, large disk space occupation, low data compression rate, etc., to improve data reading Fetch speed, reduce disk space usage, and improve data storage speed

Active Publication Date: 2011-05-04
SHANGHAI XINHUA CONTROL TECH GROUP
View PDF0 Cites 49 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a process control history data file structure that saves disk space and improves data reading speed in order to overcome the defects of low data compression rate, large disk space occupation and slow data reading speed in the prior art The establishment method and data reading and writing method

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
  • Establishing method for process control historical data file structure and data read-write method
  • Establishing method for process control historical data file structure and data read-write method
  • Establishing method for process control historical data file structure and data read-write method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] The data compression, file structure definition, data writing method, and data query method in the present invention will be specifically described below.

[0054] Such as figure 2 As shown, the rapid processing method for process control historical data of the present invention generally includes the following steps: real-time data acquisition, real-time data compression, real-time data writing, and historical data reading.

[0055] Step 101, real-time data acquisition, is to acquire real-time data for process control, which is the premise of the present invention, and is a prior art, and will not be repeated here.

[0056] Step 102, real-time data compression, performs hierarchical compression on the acquired real-time data, and improves the data compression rate as much as possible on the basis of maintaining data accuracy.

[0057] Step 103, real-time data writing, using the whole block writing method to reduce the number of file writing times and increase the dat...

Embodiment 2

[0109] The difference between this embodiment and Embodiment 1 is that all data of each measuring point in Embodiment 1 are stored in the same continuous storage area, while all data of each measuring point in this embodiment are stored in at most 3 continuous storage areas. area. Moreover, when querying data, it is first necessary to determine which data area the data resides in. Other parts in this embodiment are the same as those in Embodiment 1.

[0110] If the data is to be stored continuously, continuous storage space must be allocated for the measurement points. However, at the beginning of historical data collection, the changing law of the measurement point data cannot be determined, so it is impossible to allocate suitable continuous storage space for the measurement points. In order to make the allocated storage space more reasonable, dynamic allocation is adopted in this embodiment, and the dynamic allocation method of successive approximation is used to allocate ...

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 an establishing method for a process control historical data file structure, comprising the following steps: S1, establishing a file header, and writing file identification information into the file header; S2, establishing an index area, and dividing the index area into a measuring point description area and a data address area, wherein a data address in the data address area is an initial address of the historical data in a historical data file when fixed time duration data is written every time; S3, establishing a data area used for storing written measuring point historical data, wherein all data of each measuring point is stored on at least three continuous storage area. The invention further discloses a storage method and query method for process control historical data. In the invention, by data compression combined with a plurality of modes, the space of a magnetic disc can be greatly saved; the data storage speed is increased by adopting modes of blockwriting and memory mapping; and the data reading speed is greatly improved by modes of continuous storage, fast search and block reading of single measuring point data.

Description

technical field [0001] The invention relates to the technical field of process control, in particular to a method for establishing a process control historical data file structure and a data reading and writing method. Background technique [0002] Process control is widely used in process industries, including: electric power, petrochemical, metallurgy, sewage treatment, cement, chemical industry, rail transit and other fields. For example, for a boiler, it is necessary to collect parameters such as liquid level, temperature and pressure at different parts of the measuring point, or the flow rate of the pipeline. [0003] The process industry is a 24-hour continuous operation. As time goes by, the amount of data collected is getting larger and larger, which can only be measured at the terabyte level. In historical data query, problem tracing, and data analysis, it is necessary to quickly read data from these accumulated data. [0004] The current processing method of hist...

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
Inventor 周林荣刘伟邹泽明田春伟李培植
Owner SHANGHAI XINHUA CONTROL TECH GROUP
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