CN112416936B - DCS background multi-node cooperative configuration mark name verification method - Google Patents
DCS background multi-node cooperative configuration mark name verification method Download PDFInfo
- Publication number
- CN112416936B CN112416936B CN202011316082.2A CN202011316082A CN112416936B CN 112416936 B CN112416936 B CN 112416936B CN 202011316082 A CN202011316082 A CN 202011316082A CN 112416936 B CN112416936 B CN 112416936B
- Authority
- CN
- China
- Prior art keywords
- engineer
- real
- memory index
- mark name
- time memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a DCS background multi-node cooperative configuration mark name verification method, which comprises the following steps: step 1, establishing a real-time memory index library of the tag name, and deploying the real-time memory index library on each DCS engineer node; step 2, on the engineer service node, after the DPU configuration is successfully downloaded each time, the DPU configuration is issued to the engineer non-service node through a multicast message; step 3, after the configuration tool is started, checking the MD5 code of the local tag name real-time memory index library and the MD5 code of the engineer service node, and if the MD5 codes are different, acquiring the latest tag name real-time memory index library version from the engineer service node; and 4, carrying out mark name uniqueness check by the configuration tool. Therefore, the uniqueness requirement of the mark name can be ensured in the process of configuring the DPU by multiple engineer nodes in the DCS background system.
Description
Technical Field
The invention relates to a DCS background multi-node cooperative configuration mark name verification method.
Background
A Distributed Control System (DCS) is a computer Control System with the main characteristics of Distributed Control functions and centralized management operations, integrates a comprehensive automation technology, a computer technology, a network technology and a human-computer display technology, and has the characteristics of high reliability, complete functions, strong flexibility and the like. In order to improve the engineering implementation efficiency, in the DCS engineering application process, multiple persons often need to perform control logic configuration on a Distributed Processing Unit (DPU) by using a configuration tool at different nodes. In the process of simultaneously configuring the DPUs by the DCS multi-node system, the uniqueness check of the mark name is a very important function.
In the process of simultaneously performing DCS configuration logic configuration on a plurality of nodes, if information is not subjected to real-time and quick interaction on the label names among the nodes, the phenomenon that different DPUs configure the same label name is often encountered, and particularly, a new engineer who is not very familiar with a service system is provided. If the label names are inconsistent, on one hand, great hidden dangers can be left for DCS safe operation, and in the problem troubleshooting process, huge human resources can be wasted. In addition, in order to ensure good human-computer interaction experience of the configuration tool, excessive time cannot be spent on the verification of the mark name, namely, the process of verifying the uniqueness of the mark name is required to have the characteristics of rapidness and high efficiency.
Disclosure of Invention
Aiming at the problems, the invention provides a DCS background multi-node cooperative configuration mark name verification method. The implementation of the method can ensure the uniqueness of the mark name in the process of simultaneously configuring the DPU by multiple engineer nodes of the DCS background system, does not influence the human-computer interaction experience of a user in the configuration process, and has the characteristics of high speed and high efficiency.
In order to achieve the technical purpose and achieve the technical effect, the invention is realized by the following technical scheme:
a DCS background multi-node cooperative configuration mark name verification method comprises the following steps:
step 1, establishing a mark name real-time memory index database based on a relational database, wherein a table of the index database comprises a main key, a mark name and a hardware address field corresponding to the mark name, and the mark name is deployed on each DCS engineer node; the engineer nodes deploying the real-time memory index library of the tag names are provided with service nodes, and after one node is shut down, other nodes start service functions;
step 2, after the DPU is successfully downloaded each time, the DPU is issued to a non-service node of an engineer through a multicast message; the engineer service node and the engineer non-service node which starts the configuration tool respond to the multicast message and update the real-time memory index library of the mark name; the engineer service node generates a new MD5 check code according to the new mark name real-time memory index library, and issues the MD5 check code to all the engineer service nodes;
step 3, after the configuration tool is started, checking the MD5 check code of the local tag name real-time memory index library and the MD5 check code of the engineer service node, and if the two check codes are different, acquiring the latest tag name real-time memory index library version from the engineer service node; if the local tag names are the same, the local tag name real-time memory index database is up to date and does not need to be updated;
step 4, the configuration tool carries out the uniqueness check of the mark name
401. After the configuration tool is started every time, the mark name real-time memory index database data are obtained through the shared memory to realize the node updating;
402. generating a hash table data structure taking a 'mark name-hardware address corresponding to the mark name' as a key value pair according to the node mark name real-time memory index library;
403. in the configuration and compiling processes of the configuration tool variables, the hash table is used for quickly searching functions, and the uniqueness of the mark name is quickly checked in time.
And establishing a mark name real-time memory index library through the engineer service node for the real-time verification of a non-service node configuration tool of an engineer.
The step 2 of updating the real-time memory index library of the tag names comprises two modes: and performing overall updating and responding to DPU message partial updating through MD5 check code comparison.
For the engineer non-service node without starting the configuration tool, the information of the mark name real-time memory index library is incomplete; after the configuration tool is started, the uniqueness and the verification accuracy of the mark name can be ensured through the updating and verification in the step 4.
The invention has the beneficial effects that:
by implementing the method, when a plurality of engineer nodes of the DCS carry out DPU configuration control logic simultaneously, the variable of the mark name can be checked, the uniqueness of the mark name in the whole project is ensured, various logic configuration problems caused by the inconsistency of the mark name are eliminated, and the safety of the operation of the DCS is ensured.
Drawings
Fig. 1 is a diagram illustrating an updating process of the engineer service node tag name real-time memory index library according to step 2 of the present invention.
Fig. 2 is a diagram of the process of updating the real-time memory index library of the engineer non-service node tag name in step 3 of the present invention.
Fig. 3 is a process diagram of the engineer non-service node starting the configuration tool each time to obtain the tag name real-time memory index library and checking the uniqueness according to step 4 of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The invention discloses a DCS background multi-node cooperative configuration mark name checking method, which comprises the following steps:
step 1, establishing a mark name real-time memory index library based on a relational database, wherein a table of the real-time memory index library comprises a main key, a mark name and a hardware address field corresponding to the mark name, and the mark name is deployed on each DCS engineer node; the engineer nodes which deploy the real-time memory index library of the tag names are provided with service nodes, and after one node is shut down, other nodes start service functions;
step 2, after the DPU is successfully downloaded each time, the DPU is issued to a non-service node of an engineer through a multicast message; as shown in fig. 1, the engineer service node and the engineer non-service node that has started the configuration tool respond to the multicast packet to update the tag name real-time memory index library; the engineer service node generates a new MD5 check code according to the new mark name real-time memory index library, and issues the MD5 check code to all the engineer service nodes;
step 3, as shown in fig. 2, after the configuration tool is started, checking the MD5 check code of the local tag name real-time memory index library and the MD5 check code of the engineer service node, and if the two are different, acquiring the latest tag name real-time memory index library version from the engineer service node; if the local tag names are the same, the local tag name real-time memory index database is up to date and does not need to be updated;
step 4, the configuration tool performs the tag name uniqueness check, as shown in fig. 3,
401. after the configuration tool is started every time, the node is updated by acquiring the real-time memory index database data of the tag name through the shared memory;
402. generating a hash table data structure taking a 'mark name-hardware address corresponding to the mark name' as a key value pair according to the node mark name real-time memory index library;
403. in the configuration and compiling processes of the configuration tool variables, the hash table is used for quickly searching functions, and the uniqueness of the mark name is quickly checked in time.
Claims (4)
1. A DCS background multi-node cooperative configuration mark name verification method is characterized by comprising the following steps:
step 1, establishing a mark name real-time memory index library based on a relational database, wherein a table of the real-time memory index library comprises a main key, a mark name and a hardware address field corresponding to the mark name, and the mark name is deployed on each DCS engineer node; the engineer nodes deploying the real-time memory index library of the tag names are provided with service nodes, and after one node is shut down, other nodes start service functions;
step 2, after the DPU is successfully downloaded each time, the DPU is issued to a non-service node of an engineer through a multicast message; the engineer service node and the engineer non-service node which starts the configuration tool respond to the multicast message and update the real-time memory index library of the mark name; the engineer service node generates a new MD5 check code according to the new mark name real-time memory index library, and issues the MD5 check code to all the engineer service nodes;
step 3, after the configuration tool is started, checking the MD5 check code of the local tag name real-time memory index library and the MD5 check code of the engineer service node, and if the two check codes are different, acquiring the latest tag name real-time memory index library version from the engineer service node; if the local tag names are the same, the local tag name real-time memory index database is up to date and does not need to be updated;
step 4, the configuration tool carries out the uniqueness check of the mark name
401. After the configuration tool is started every time, the node is updated by acquiring the real-time memory index database data of the tag name through the shared memory;
402. generating a hash table data structure taking a 'mark name-hardware address corresponding to the mark name' as a key value pair according to the node mark name real-time memory index library;
403. in the configuration and compiling processes of the configuration tool variables, the hash table is used for quickly searching functions, and the uniqueness of the mark name is quickly checked in time.
2. The DCS background multi-node cooperative configuration mark name verification method according to claim 1, wherein a mark name real-time memory index library is established through an engineer service node for real-time verification of an engineer non-service node configuration tool.
3. The method of claim 1, wherein the updating of the tag name real-time memory index library in step 2 includes two ways: and performing overall updating and responding to DPU message partial updating through MD5 check code comparison.
4. The DCS background multi-node cooperative configuration mark name verification method according to claim 1, wherein for an engineer non-service node without starting a configuration tool, information of a mark name real-time memory index library is incomplete; after the configuration tool is started, the uniqueness and the verification accuracy of the mark name can be ensured through the updating and verification in the step 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011316082.2A CN112416936B (en) | 2020-11-22 | 2020-11-22 | DCS background multi-node cooperative configuration mark name verification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011316082.2A CN112416936B (en) | 2020-11-22 | 2020-11-22 | DCS background multi-node cooperative configuration mark name verification method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112416936A CN112416936A (en) | 2021-02-26 |
CN112416936B true CN112416936B (en) | 2023-01-03 |
Family
ID=74777161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011316082.2A Active CN112416936B (en) | 2020-11-22 | 2020-11-22 | DCS background multi-node cooperative configuration mark name verification method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112416936B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113194124B (en) * | 2021-04-19 | 2022-10-25 | 西安热工研究院有限公司 | Distributed real-time database-based DCS background multi-node directory synchronization method |
CN113985843B (en) * | 2021-10-26 | 2022-12-23 | 西安热工研究院有限公司 | Method and system for updating point directory in real time by distributed control system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326260A (en) * | 2015-06-29 | 2017-01-11 | 小米科技有限责任公司 | Webpage access method and device |
CN106502883A (en) * | 2016-10-09 | 2017-03-15 | 武汉斗鱼网络科技有限公司 | The database synchronization method and system of client and service end during automatic test |
CN107391189A (en) * | 2017-07-17 | 2017-11-24 | 上海卫星工程研究所 | The On-board programming method of On-board software |
CN111339382A (en) * | 2020-03-11 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Character string data retrieval method and device, computer equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110112862A1 (en) * | 2009-11-06 | 2011-05-12 | Yi-Cheng Yu | System and Method for Securely Managing and Storing Individually Identifiable Information in Web-Based and Alliance-Based Networks |
-
2020
- 2020-11-22 CN CN202011316082.2A patent/CN112416936B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326260A (en) * | 2015-06-29 | 2017-01-11 | 小米科技有限责任公司 | Webpage access method and device |
CN106502883A (en) * | 2016-10-09 | 2017-03-15 | 武汉斗鱼网络科技有限公司 | The database synchronization method and system of client and service end during automatic test |
CN107391189A (en) * | 2017-07-17 | 2017-11-24 | 上海卫星工程研究所 | The On-board programming method of On-board software |
CN111339382A (en) * | 2020-03-11 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Character string data retrieval method and device, computer equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
煤矿安全生产监控系统的研制和开发;曹旻 等;《上海大学学报(自然科学版)》;19971130;223-227 * |
组态软件INTOUCH在小型发电厂中的应用;陈丽华;《自动化应用》;20111125(第11期);22-27 * |
Also Published As
Publication number | Publication date |
---|---|
CN112416936A (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110389900B (en) | Distributed database cluster testing method and device and storage medium | |
US10237295B2 (en) | Automated event ID field analysis on heterogeneous logs | |
CN112416936B (en) | DCS background multi-node cooperative configuration mark name verification method | |
CN100388675C (en) | A method for implementing foreground data configuration in network management system | |
KR20150118975A (en) | System and methods for multi-user cax editing conflict management | |
CN110427298B (en) | Automatic feature extraction method for distributed logs | |
CN105843707A (en) | Quick recovery method and equipment of database | |
CN112130891B (en) | Method and equipment for continuously deploying database | |
CN111324417A (en) | Kubernetes cluster component control method and device, electronic equipment and medium | |
CN111625252A (en) | Cluster upgrading maintenance method and device, electronic equipment and storage medium | |
CN113946583A (en) | Primary key generation method and device | |
CN111769981A (en) | Decentralized architecture main node election method, data file transmission method and system | |
CN111737227A (en) | Data modification method and system | |
CN110688305B (en) | Test environment synchronization method, device, medium and electronic equipment | |
CN113672692B (en) | Data processing method, data processing device, computer equipment and storage medium | |
CN114595288A (en) | SQL command level-based multi-IDC distributed system data synchronization method | |
CN113157904B (en) | Sensitive word filtering method and system based on DFA algorithm | |
CN110442349A (en) | Method and apparatus for servicing dilatation | |
CN112367186B (en) | Fault protection method and device based on 0penStack bare computer | |
CN111914537A (en) | Data verification method, device and equipment and readable storage medium | |
CN114443294B (en) | Big data service component deployment method, system, terminal and storage medium | |
CN112256978B (en) | Data processing method, device and medium based on data model | |
CN113904946A (en) | Communication simulation interrupt control method and system | |
CN112416764A (en) | Distributed integrated test method, equipment, system and storage medium based on gPC | |
CN112511493B (en) | Service data message processing method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |