Data asynchronization storage and access mechanism applied to industrial control system

An industrial control system and data technology, applied in memory systems, electrical digital data processing, special data processing applications, etc., can solve the problems of reduced database access efficiency, inability to be suitable and competent, etc., to achieve enhanced fault tolerance, improved system efficiency, The effect of high access efficiency

Active Publication Date: 2014-01-15
北京华电天益信息科技有限公司
View PDF2 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Most of the existing in-memory databases are not designed with caching and asynchronous access as the starting point. They tend to have complex system structures and rich additional functions (such as client/server network access, and SQL statement interpretation and execution, etc.) ), such products are used in the caching and asynchronous access

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
  • Data asynchronization storage and access mechanism applied to industrial control system
  • Data asynchronization storage and access mechanism applied to industrial control system
  • Data asynchronization storage and access mechanism applied to industrial control system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0035] Example 1:

[0036] The invention provides a data asynchronous storage and access mechanism applied to industrial control systems, solves the asynchronous data access problems of data exchange and buffering in large-scale industrial control systems, and provides higher system data exchange efficiency and fault tolerance.

[0037] The present invention includes the real-time data caching step of the industrial control system and the data reading step of the industrial control system. Both the real-time data caching step of the industrial control system and the data reading step of the industrial control system adopt a memory database. The real-time data structure is a first-in, first-out circular queue. The data structure of the circular queue is as figure 1 Shown. The data item in the circular queue adopts a variable length method, and a head pointer and a tail pointer are set. The head pointer points to the first byte of the data to be read at the head of the circular queue...

Example Embodiment

[0063] The present invention provides the following three implementation solutions for synchronization and mutual exclusion:

[0064] The pseudo-code flow diagram of synchronous mutual exclusion implementation method 1 is as follows Figure 4 As shown, a mutual exclusion lock mutexWrite is set in the memory database, and two semaphores used and free, where the value of the semaphore used corresponds to the size of the space used, and the value of the semaphore free corresponds to the size of the free space, and used+ free==size–1. This model is a typical producer-consumer model. The producer is the enqueue process. First, the P operation of the semaphore free identifying the number of bytes of free resources is performed, and 4+data_size resources are subtracted, and then protected by a mutex lock Write, update the tail pointer position after writing. After writing, perform the V operation of the semaphore used that identifies the number of used resource bytes, plus 4+data_size ...

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 relates to a data asynchronization storage and access mechanism applied to an industrial control system. The data asynchronization storage and access mechanism comprises a real-time data-caching step of the industrial control system and a data reading step of the industrial control system. A memory database is adopted in the real-time data-caching step of the industrial control system and the data reading step of the industrial control system, a real-time data structure inside the memory database is a first-in first-out annular queue, a lengthening manner is adopted in a data item of the annular queue, a head pointer and a tail pointer are arranged, the head pointer points at a first byte of data, to be read, in the head of the annular queue, the tail pointer points to a next available empty byte of the written data in the tail of the queue. The data asynchronization storage and access mechanism is applied to data exchanging in the fields of wide area measuring, real-time trades, military monitoring and the like, and the data access can be asynchronous and delayed through caching and organizing the data via the memory database of the lengthening round-robin queue.

Description

technical field [0001] The invention relates to a data asynchronous storage and access mechanism, and more specifically relates to a data asynchronous storage and access mechanism applied to an industrial control system. Background technique [0002] For the application system environment of real-time and high concurrent data access, the method of properly processing and organizing data is more and more inclined to use memory database. Due to its high performance, it is especially suitable for wide-area measurement and real-time transactions. , military surveillance and other fields. Compared with traditional disk-based databases, memory databases have obvious characteristics. Since data storage and processing are carried out in physical memory, the response time of data access can reach the microsecond level or even higher in the local machine. On the one hand, it can provide throughput dozens of times higher than that of ordinary databases. In view of these advantages, 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
IPC IPC(8): G06F17/30G06F12/08G06F12/0802
CPCG06F3/0604G06F3/0611G06F3/0622
Inventor 吴克河安思成崔文超
Owner 北京华电天益信息科技有限公司
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