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
CN102043795AActive Publication Date: 2011-05-04SHANGHAI XINHUA CONTROL TECH GROUP

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
SHANGHAI XINHUA CONTROL TECH GROUP
Publication Date
2011-05-04

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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