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

Control device and reading method for storing advanced controller operation data

A technology for operating data and control devices, applied in the field of databases, can solve the problems such as the decline of database reading performance, the increase of database IO points, the inability to save the operation data of advanced controller parameters to DCS or real-time database, etc., and to improve the utilization of storage space. , Ease of maintenance, the effect of reducing access pressure

Active Publication Date: 2021-02-02
ZHEJIANG SUPCON SOFTWARE
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The advanced controller running on the upper computer will generate a large amount of process data during the real-time online calculation process, including input parameters, intermediate variables, output parameters, etc. Some of the advanced controller parameters will be stored in DCS or real-time database due to the configuration of on-site IO points However, due to the limitations of hardware storage capacity and storage structure, the operating data of most advanced controller parameters cannot be saved to DCS or real-time database
[0003] In order to solve the above problems, the main method adopted in the prior art is to establish a virtual IO point in the real-time database, and associate the virtual point with the advanced controller parameters to realize the storage of the advanced controller operating parameters, but this will cause the real-time database IO points are greatly increased, resulting in a decline in database read performance

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
  • Control device and reading method for storing advanced controller operation data
  • Control device and reading method for storing advanced controller operation data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] In order to achieve the above technical purpose, the present invention provides a control device for storing advanced controller operation data, such as figure 1 As shown, the control device 1 includes:

[0043] The advanced controller structure sending device 11 is used to send the name of the machine where the advanced controller is located, the name of the advanced controller, and the structure information of the advanced controller to the storage structure creation device;

[0044] The storage structure creation device 12 is used to create a secondary directory named after the machine name under the storage root directory according to the advanced controller structure information, and then create a third-level directory named after the advanced controller under the secondary directory, and finally Create a database file named after the current system time in its third-level directory, and create a series of parameter tables named after variables + parameters and a p...

Embodiment 2

[0096] The present invention also provides a reading method for storing advanced controller operating data, such as figure 2 As shown, the reading method includes:

[0097] Step 1. Obtain a request to read controller data;

[0098] Step 2. If the request is the first read request for the controller, search for a folder named after the controller in the storage directory;

[0099] Step 3, if a folder named after the controller is obtained under the storage directory, traverse all database files in the folder, and create a connection instance based on all database files;

[0100] Step 4: call the worker thread to read the historical data corresponding to the controller, and combine the connection instance to obtain the target data corresponding to the controller.

[0101] Step 5: If the request is not the first read request for the controller, perform an operation of traversing the cache.

[0102] Step 6: After performing the operation of traversing the cache, if no cache it...

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 provides a control device and reading method for storing operating data of an advanced controller, and belongs to the field of databases. The control device includes an advanced controller structure transmitting device and a storage structure creating device. The advanced controller structure transmitting device is used for acquiring relevant parameters of the advanced controller andsending the obtained relevant parameters into the storage structure creating device, so that the storage structure creating device establishes a multi-level directory and database file for storing the relevant parameters. Structured storage of heterogeneous data is achieved according to the structural characteristics of the advanced controller. The control device is very lightweight and easy to maintain, the configuration workload of the controller is not increased, as long as data storage logic is added into an original controller, on-demand storage of the controller running data can be achieved, and a foundation is laid for the future performance evaluation of the controller. At the same time, the data is compressed and then stored, so that the utilization rate of a storage space is increased. A server side returns original data to a client side, and the client side decompresses the original data, so that the access pressure of the server side is reduced.

Description

technical field [0001] The invention belongs to the field of databases, in particular to a control device and a reading method for storing advanced controller operation data. Background technique [0002] The advanced controller running on the upper computer will generate a large amount of process data during the real-time online calculation process, including input parameters, intermediate variables, output parameters, etc. Some of the advanced controller parameters will be stored in DCS or real-time database due to the configuration of on-site IO points However, due to the limitations of hardware storage capacity and storage structure, the operating data of most advanced controller parameters cannot be saved to DCS or real-time database. [0003] In order to solve the above problems, the main method adopted in the prior art is to establish a virtual IO point in the real-time database, and associate the virtual point with the advanced controller parameters to realize the st...

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): G06F16/22G06F16/2455
CPCG06F16/22G06F16/24552
Inventor 张军陈欢欢叶建位章红健魏捷
Owner ZHEJIANG SUPCON SOFTWARE