A High-speed Retrieval Method of System Variables

A system variable, high-speed technology, applied in structured data retrieval, database indexing, special data processing applications, etc., can solve the problem of low indexing speed, reduce data reading time, improve retrieval speed, and improve access speed. Effect

Active Publication Date: 2019-03-22
HANGZHOU ZHENPENG TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when the OPC server is used for data collection and processing, the inherent interface of the OPC server uses the variable name as the index when the variable is read, and the indexing speed is low.

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
  • A High-speed Retrieval Method of System Variables
  • A High-speed Retrieval Method of System Variables
  • A High-speed Retrieval Method of System Variables

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0022] Such as figure 1 Shown the method for a kind of system address high-speed retrieval of the present invention, comprises the following steps:

[0023] S1. The OPC server COM Group reads the lower system configuration file Config Data, and creates a shared memory file Map according to the description of the lower system configuration file Config Data;

[0024] S2, the described OPC server COM Group reads the configuration information file Tag Data, creates the variable of each configuration information Tag in the OPC server COM Group according to the configuration information file Tag Data, maps the address of the configuration information Tag to the memory shared file Map relevant address;

[0025] S3. The OPC server COM Group creates an OPC standard DeviceItem table indexed by the address of the configuration information Tag, and creat...

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 high-speed retrieval method of system variables. A quick Index table of a Tag is established in an OPC (OLE for Process Control) server COM Group to improve access speed; an index method of the quick Index table is used, the Index value of the Tag is queried and obtained by the character string ID (Identity) Index of the Tag only when a system is started, and a subsequent data reading operation quickly positions the Tag via the Index value to greatly improve retrieval speed. The invention adopts a new variable retrieval method, i.e., the Index retrieval method. A character string retrieval method provided by a standard interface is low in query speed when the system has a great quantity of variables. When the Index retrieval method is adopted, reading speed can be quickened by about five times, data reading time is shortened, and high-speed data acquisition of a 100ms level can be realized.

Description

technical field [0001] The invention relates to the technical field of OPC, in particular to a method for high-speed retrieval of system variables. Background technique [0002] The OPC standard (OLE for Process Control) is an industrial standard for a set of interfaces developed by many automation companies / software and hardware suppliers in the world in cooperation with Microsoft. Its design goal is to provide open and consistent interface specifications between field devices / automatic control applications / enterprise management application software. OPC technology provides a consistent method of accessing field device data for industrial control software, making use of OPC in It has great advantages in the construction of industrial control system. [0003] At present, when the OPC server is used for data collection and processing, the inherent interface of the OPC server uses the variable name as the index when the variable is read, and the indexing speed is low. Conte...

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 & AuthorityPatents(China)
IPC IPC(8): G06F16/22
CPCG06F16/2228
Inventor甄玉贵彭强王路安
OwnerHANGZHOU ZHENPENG TECH CO LTD