CN113791593B - Method, system, terminal device and readable storage medium for deriving measurement point of distributed control system - Google Patents

Method, system, terminal device and readable storage medium for deriving measurement point of distributed control system Download PDF

Info

Publication number
CN113791593B
CN113791593B CN202111344600.6A CN202111344600A CN113791593B CN 113791593 B CN113791593 B CN 113791593B CN 202111344600 A CN202111344600 A CN 202111344600A CN 113791593 B CN113791593 B CN 113791593B
Authority
CN
China
Prior art keywords
control system
channel
data structure
forest
module
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
Application number
CN202111344600.6A
Other languages
Chinese (zh)
Other versions
CN113791593A (en
Inventor
许世森
黄斌
蒋敏华
赵贺
李辉
高少华
张军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Huaneng Group Co Ltd
Xian Thermal Power Research Institute Co Ltd
Huaneng Power International Inc
Original Assignee
China Huaneng Group Co Ltd
Xian Thermal Power Research Institute Co Ltd
Huaneng Power International Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Huaneng Group Co Ltd, Xian Thermal Power Research Institute Co Ltd, Huaneng Power International Inc filed Critical China Huaneng Group Co Ltd
Priority to CN202111344600.6A priority Critical patent/CN113791593B/en
Publication of CN113791593A publication Critical patent/CN113791593A/en
Application granted granted Critical
Publication of CN113791593B publication Critical patent/CN113791593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41865Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33273DCS distributed, decentralised controlsystem, multiprocessor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention discloses a method and a system for exporting measurement points of a distributed control system, terminal equipment and a readable storage medium, wherein the method comprises the following steps: constructing a hierarchical data structure of the decentralized control system into a forest data structure; based on the forest data structure obtained by construction, exporting the measuring points of the distributed control system to a preset exporting template by a forest preorder traversal method, and finishing exporting the measuring points of the distributed control system; in the preset export template, a machine set number, a controller number, a branch number, a module number, a channel number and a measuring point label name of an I/O channel measuring point are used as keywords, and other attribute information of the I/O channel measuring point is used as a parameter item. According to the invention, the data measuring points of the DCS can be exported into the table, the statistical analysis and parameter batch modification of the data measuring points of the DCS can be realized based on the exported table, the labor cost can be reduced, and the reliability is improved.

Description

Measuring point derivation method and system for distributed control system, terminal device and readable storage medium
Technical Field
The invention belongs to the technical field of industrial control systems and DCS (distributed control system) data processing, and particularly relates to a measuring point exporting method and system of a distributed control system, terminal equipment and a readable storage medium.
Background
As described in the book of distributed control system principles and applications of thermal power plants, Distributed Control Systems (DCS) have been widely used in the field of industrial control. For a thermal power generating unit with numerous field devices and a complex control process, a DCS with excellent performance and friendly functions can play a vital role in construction, operation and maintenance of the thermal power generating unit.
Signals such as instructions and feedback of control equipment of the thermal power generating unit are accessed into the DCS through cables, the equipment signals are related to the DCS in a data mode of I/O channel measuring points according to a process system and a type corresponding to the equipment signals, and each I/O channel measuring point is divided at different positions of the DCS and has a plurality of different attributes. According to rough statistics, the number of the control devices of a single 350 MW-grade thermal power generating unit reaches thousands, the total number of the I/O channel measuring points can reach more than 10000, the number of the control devices of a single 1000 MW-grade thermal power generating unit is more, and the total number of the I/O channel measuring points can reach more than 20000.
When the thermal power generating unit operates and maintains, all control equipment under the unit needs to be subjected to statistical analysis regularly, the statistical data is generally based on the I/O channel measuring points, and the required data is obtained by screening and classifying the attribute information of the I/O channel measuring points, so that the operation and maintenance work such as asset management is performed on the control equipment of the unit. In addition, when the thermal power generating unit carries out DCS transformation work, all data information in the original DCS is migrated to the new DCS, wherein the attribute information of all I/O channel measuring points is included, after the original data information is obtained, the data information is modified according to the structure of the new DCS, and the data migration from the original DCS data information to the new DCS is achieved.
At present, when a traditional DCS performs operation and maintenance work or DCS transformation work on a thermal power generating unit, attribute information of a large number of I/O channel measuring points of the unit is screened, classified or modified, generally, the attribute information of the I/O channel measuring points is copied and recorded into a required data table according to a DCS format through a manual means, or a database of the DCS is operated, so that the attribute information of the I/O channel measuring points can be exported, the exported information is manually processed, the required data table can be obtained, and finally, the I/O channel measuring points are analyzed and counted through the data table. The conventional method not only needs to spend a large amount of labor cost, but also needs to avoid errors generated during manual operation, has poor reliability, needs a certain technical means when the database of the DCS is operated, and brings loss which cannot be estimated once the operation is wrong.
In summary, the conventional I/O channel measurement point derivation of the DCS is not convenient for operation and maintenance or modification of thermal power generating units, and a new measurement point derivation method and system for a distributed control system are urgently needed.
Disclosure of Invention
The invention aims to provide a measuring point derivation method, a measuring point derivation system, a terminal device and a readable storage medium of a distributed control system, so as to solve one or more of the technical problems. According to the invention, the data measuring points of the DCS can be exported into the table, the statistical analysis and parameter batch modification of the data measuring points of the DCS can be realized based on the exported table, the labor cost can be reduced, and the reliability is improved.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention discloses a measuring point derivation method of a distributed control system, which comprises the following steps:
constructing a hierarchical data structure of the decentralized control system into a forest data structure;
based on the forest data structure obtained by construction, exporting the measuring points of the distributed control system to a preset exporting template by a forest preorder traversal method, and finishing exporting the measuring points of the distributed control system;
in the preset export template, a machine set number, a controller number, a branch number, a module number, a channel number and a measuring point label name of an I/O channel measuring point are used as keywords, and other attribute information of the I/O channel measuring point is used as a parameter item.
The invention is further improved in that the forest data structure is a forest data structure with a preset level height.
A further development of the invention is that the step of constructing the hierarchical data structure of the decentralized control system as a forest data structure comprises in particular: based on a hierarchical structure of a unit-controller-branch-module-channel of a distributed control system, the unit is taken as a root node of a first tree of a forest data structure, a controller is taken as a sub-node under the unit node, a branch is taken as a sub-node under the controller node, a module is taken as a sub-node under the branch node, and a channel is taken as a leaf node structure under the module node to obtain the forest data structure.
The invention has the further improvement that the preset export template is specifically a data table of I/O channel measuring points;
the table name and the list head name in the data table correspond to the attribute name of each node in the distributed control system;
and establishing a table page according to the forest data structure by using the module type name of the module node, and adding a machine group number column, a controller number column, a branch number column, a module number column and each attribute column of the channel into the table page to form a table header.
The invention is further improved in that the machine group number column, the controller number column, the branch number column, the module number column and the channel number column in the header are not empty; and each attribute column of the channel comprises a measuring point label name column, and the measuring point label name column is not empty.
The invention has the further improvement that the steps of exporting the measuring points of the distributed control system to a preset exporting template by utilizing a forest preorder traversal method based on the forest data structure obtained by construction specifically comprise the following steps:
and accessing the root node, traversing each subtree of the root node according to a preset sequence to obtain the data information of the leaf node, and inserting the corresponding items into a table page of the export template to obtain an export point table of the I/O channel measuring point.
A further development of the invention is that the preset sequence is a left-to-right sequence.
The invention discloses a measuring point derivation system of a decentralized control system, which comprises:
the data structure construction module is used for constructing a hierarchical data structure of the distributed control system into a forest data structure;
the traversal export module is used for exporting the measuring points of the distributed control system to a preset export template by utilizing a forest precedence traversal method based on the forest data structure obtained by construction so as to complete the export of the measuring points of the distributed control system; in the preset export template, a machine set number, a controller number, a branch number, a module number, a channel number and a measuring point label name of an I/O channel measuring point are used as keywords, and other attribute information of the I/O channel measuring point is used as a parameter item.
A terminal device of the present invention includes: a processor; a memory for storing computer program instructions; when the computer program instructions are loaded and run by the processor, the processor executes any of the above-described point derivation methods for a distributed control system according to the present invention.
The invention provides a readable storage medium, which stores computer program instructions, and when the computer program instructions are loaded and executed by a processor, the processor executes any of the above-mentioned point derivation methods of the distributed control system according to the invention.
Compared with the prior art, the invention has the following beneficial effects:
according to the method, the hierarchical structure of the DCS is constructed into a forest data structure with multi-level height, the measuring points are led out to a pre-customized leading-out template by a forest precedence traversal method, rapid leading-out of a large number of data measuring points can be achieved, a leading-out table is obtained, and statistical analysis and parameter batch modification of the I/O channel measuring points in the DCS can be achieved based on the leading-out table.
The invention can improve the working efficiency of users, reduce the work load of DCS data maintenance, reduce the labor cost, and simultaneously improve the accuracy and reliability of data through the automatic export of the system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art are briefly introduced below; it is obvious that the drawings in the following description are some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a schematic flow chart of a measurement point derivation method of a distributed control system based on forest preamble traversal according to an embodiment of the present invention;
FIG. 2 is a diagram of a forest structure of an I/O channel of a unit in the embodiment of the present invention;
FIG. 3 is a schematic diagram of a point derivation system of a distributed control system according to an embodiment of the present invention.
Detailed Description
In order to make the purpose, technical effect and technical solution of the embodiments of the present invention clearer, the following clearly and completely describes the technical solution of the embodiments of the present invention with reference to the drawings in the embodiments of the present invention; it is to be understood that the described embodiments are only some of the embodiments of the present invention. Other embodiments, which can be derived by one of ordinary skill in the art from the disclosed embodiments without inventive faculty, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, a method for deriving measurement points of a distributed control system based on forest preamble traversal according to an embodiment of the present invention includes the following steps:
constructing a hierarchical data structure of the decentralized control system into a forest data structure; as an exemplary alternative, the forest data structure may be a forest data structure of a preset multi-level height;
and exporting the measuring points to a preset exporting template by utilizing a forest preorder traversal method to finish the exporting of the measuring points of the distributed control system.
The method of the embodiment of the invention can improve the working efficiency of the user, greatly reduce the workload of DCS data maintenance, and improve the accuracy of the data through the automatic derivation of the system.
Example 2
In the embodiment of the present invention, taking a hierarchical structure of a set, a controller, a branch, a module, and a channel of a DCS as an example, the step of constructing the hierarchical data structure of the distributed control system as the forest data structure specifically includes:
the DCS is formed by a hierarchical structure of unit-controller-branch-module-channel, the unit comprises a plurality of controllers, each controller comprises a plurality of branches, each branch comprises a plurality of modules, and each module comprises a plurality of channels. The method comprises the steps of constructing a depth 5 forest structure according to a DCS hierarchical structure, enabling a machine set to be a root node of a first tree of the forest structure, enabling a controller to be a sub-node below a machine set node, enabling branches to be sub-nodes below a controller node, enabling modules to be sub-nodes below branch nodes, and enabling channels to be sub-nodes below module nodes and leaf nodes.
In the embodiment of the invention, the I/O channel measuring points have large quantity in the DCS, high dispersion degree and more complex data management, and the data structure of the DCS is abstracted into a forest data structure, so that the I/O channel measuring points have clear structure and distinct hierarchy, the data processing is stable and ordered, and the insertion and modification of the I/O channel measuring points have more stable time complexity. The export of the I/O channel measuring points is traversed through forest precedence, so that repeated data searching can be avoided, the complexity of data management is reduced, and the export work efficiency of the I/O channel measuring points by the DCS is greatly improved.
Example 3
In the embodiment of the invention, the export template is a data table of I/O channel measuring points, table names and table header column names in the data table correspond to attribute names of nodes in a DCS, a table page is established according to a forest data structure and module type names of module nodes, and a machine set number column, a controller number column, a branch number column, a module number column and attribute columns of channels are added into the table page to form a table header. The unit number, the controller number, the branch number, the module number and the channel number form position information of the I/O channel measuring point in the DCS, and the position information has uniqueness, so that a unit number column, a controller number column, a branch number column, a module number column and a channel number column in a header cannot be null, and a measuring point label name in a thermal power unit also has uniqueness, so that a measuring point label name column in a header channel attribute cannot be null. And forming a preset export template by taking the unit number, the controller number, the branch number, the module number, the channel number and the measuring point label name of the I/O channel measuring point as keywords and other attribute information of the I/O channel measuring point as parameter items.
According to the method provided by the embodiment of the invention, the export template has higher flexibility, the export template can modify the number of table pages, and the I/O channel measuring points of any one or more module types can be exported according to actual requirements; the header can also be modified to derive any one or more types of I/O channel measurement point attribute information other than keywords. The export template has accuracy, the non-empty field in the header determines the uniqueness of the I/O channel measuring points, and in the export process, the DCS judges the non-empty field in the header of the export template and fills the I/O channel measuring points which meet the conditions into the data form in sequence, so that the accuracy of exporting the I/O channel measuring points is ensured. The template is led out conveniently, the functions of the table tool can be used for the led-out I/O channel measuring points to process data, and the data processing efficiency is greatly improved.
Example 4
In the embodiment of the invention, the step of exporting the measuring points to the preset exporting template by utilizing a forest preorder traversal method based on the forest data structure specifically comprises the following steps: firstly, establishing a exporting template by taking the module type name as a table page and taking the attributes of the forest root node, the sub-node and the leaf node as column names. Through forest traversal, a root node is visited first, then each sub-tree of the root node is traversed according to the sequence from left to right to obtain data information of leaf nodes, whether each node information corresponds to a table head column in a derivation template or not is judged, corresponding items are inserted into a table page, and finally a derivation point table of an I/O channel measuring point is obtained.
According to the method, a unit-controller-branch-module-channel hierarchical structure of the DCS is constructed into a multi-level forest data structure, measuring points are led out to a pre-customized leading-out template by a forest pre-sequencing traversal method, rapid leading-out of a large number of data measuring points can be achieved, a leading-out table is obtained, and statistical analysis and parameter batch modification of I/O channel measuring points in the DCS can be achieved based on the leading-out table. The invention can improve the working efficiency of users, reduce the workload of DCS data maintenance, and can improve the accuracy of data through the automatic export of the system.
Example 5
According to the method for exporting the measured points of the distributed control system based on forest preamble traversal, the exported measured points can be operated according to a unit or a controller as an object, and I/O channel measured points in a domestic DCS (as described in a book of 'principle and application of a distributed control system of a thermal power plant') can be exported. If a domestic DCS is provided with M controllers and each controller is provided with N modules, the measuring point table can be derived by the method.
Optionally, the method of the present invention may derive all controllers of the plant or a plurality of controllers, and may screen the controllers.
The invention provides a measuring point derivation method of a distributed control system based on forest preamble traversal, which comprises the following steps:
step 1, carrying out batch processing operation after exporting the I/O channel measuring points in the DCS.
Step 1.1, firstly, a derivation template is established, and measuring point keywords and parameter items which need to be derived are taken as data items and added into a list of the template. The measuring point keyword is an identifier for judging the uniqueness of a measuring point, a table header field of the measuring point keyword needs to be established in the template, the measuring point parameter item is an attribute parameter of the measuring point, and the table header field of the required measuring point parameter item can be established in the template according to derivation requirements.
Step 1.2, exemplary: the hierarchical structure of the domestic I/O channel measuring point is as follows: controller-branch-module-I/O channel test point. Traversing branches in the controller by taking the controller as a unit, traversing all modules from the branches, traversing each channel in the modules, taking out an I/O channel measuring point object, matching the I/O channel measuring point object under the modules with a header field of a derivation template to obtain keywords and parameter items of the I/O channel measuring points, and filling the keywords and the parameter items of the I/O channel measuring points into the derivation template to form a controller DCSI/O channel measuring point table.
Referring to fig. 2, in the embodiment of the present invention, the number of controllers in a unit is M1, the number of branches under a single controller is M2, the number of modules under a single branch is M3, the number of channels under a single module is M4, and the height of a forest is 5, and the controllers under the unit are sequentially traversed until reaching a channel measurement point, so as to complete the derivation of the channel measurement point.
Taking the I/O channel forest traversal of the controller 1 as an example, the following is the order traversal order of the controller 1 forest:
(1) controller 1-branch 1;
(2) traversing the branch 1;
(3) traversing the module 1, and taking out the measuring points of each channel with the number of M4 under the module 1; traversing the module 2, taking out the channel measuring points with the number of M4 under the module 2, and taking out the channel measuring points with the number of M4 under the module M3 in the calendar module M3;
(4) traversing the branch 2, and taking out the channel measuring points of each module under the branch 2 in the same step 3;
(5) traversing branch M2, the same procedure as step 3, and taking out the channel test points of each module under branch M2.
And finally, summarizing the results of the first-order traversal from the controller 1 to the controller M1, and finally forming a channel measuring point export of the unit.
Example 6
Compared with the foregoing embodiment 5, the embodiment of the present invention further includes:
and step 1.3, screening the keywords and the parameter items in the formed controller I/O point table to obtain measuring points meeting the conditions, and modifying or checking the measuring points in batches.
In the embodiment of the invention, when the unit is operated, the export point table of each controller is formed by taking the controller as a unit, and then the export point tables are combined to obtain the DCS unit point table.
In the embodiment of the invention, the power plant needs to perform statistical analysis on all measuring points of the power plant to obtain the number of a certain current transmitter of the power plant. The method can be used for firstly establishing a derivation template, adding the measurement points KKS (Uniform identification code of power plant equipment) serving as keywords into a header column of the derivation template, then adding the types of the measurement points serving as parameter items into the header column of the derivation template, executing the derivation method, automatically filling the measurement points into the derivation template by a system to form a derivation table, and then screening the types of the measurement points in the table according to the corresponding types of the transmitters, so that the quantity of the transmitters of the required types can be obtained.
Example 7
Referring to fig. 3, a point deriving system of a distributed control system according to an embodiment of the present invention includes:
the data structure construction module is used for constructing a hierarchical data structure of the distributed control system into a forest data structure;
the traversal export module is used for exporting the measuring points of the distributed control system to a preset export template by utilizing a forest precedence traversal method based on the forest data structure obtained by construction so as to complete the export of the measuring points of the distributed control system; in the preset export template, a machine set number, a controller number, a branch number, a module number, a channel number and a measuring point label name of an I/O channel measuring point are used as keywords, and other attribute information of the I/O channel measuring point is used as a parameter item.
The system of the embodiment of the invention can improve the working efficiency of users, greatly reduce the workload of DCS data maintenance, and improve the accuracy of data through the automatic derivation of the system.
Example 8
A terminal device according to an embodiment of the present invention includes:
on the hardware level, the terminal device comprises: the processor optionally further comprises an internal bus, a network interface and a memory. The memory may include a memory, such as a high speed random access memory, and may also include a non-volatile memory, such as at least one disk memory. Of course, the electronic device may also include hardware required for other services.
The processor, network interface, memory are interconnected by an internal bus, which may be an industry standard architecture bus, a peripheral component interconnect standard bus, an extended industry standard architecture bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
The memory is used for storing programs. In particular, the program may include program code, which includes computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the electronic equipment on the logic level. When the processor executes the program, the following operations are specifically executed: constructing a hierarchical data structure of the decentralized control system into a forest data structure; based on the forest data structure obtained by construction, exporting the measuring points of the distributed control system to a preset exporting template by a forest preorder traversal method, and finishing exporting the measuring points of the distributed control system; in the preset export template, a machine set number, a controller number, a branch number, a module number, a channel number and a measuring point label name of an I/O channel measuring point are used as keywords, and other attribute information of the I/O channel measuring point is used as a parameter item.
Example 9
In an embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), where the computer-readable storage medium is a Memory device in a computer device and is used to store programs and data. It is understood that the computer readable storage medium herein can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space storing an operating system of the terminal. Also, one or more instructions, which may be one or more computer programs (including program code), are stored in the memory space and are adapted to be loaded and executed by the processor. It should be noted that the computer-readable storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory. One or more instructions stored in the computer-readable storage medium can be loaded and executed by the processor to implement the corresponding steps of the point derivation method in the distributed control system in the above embodiments.
Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art can make modifications and equivalents to the embodiments of the present invention without departing from the spirit and scope of the present invention, which is set forth in the claims of the present application.

Claims (8)

1.一种分散控制系统测点导出方法,其特征在于,包括以下步骤:1. a method for deriving measuring points of a distributed control system, is characterized in that, comprises the following steps: 将分散控制系统的层级数据结构构造为森林数据结构;Construct the hierarchical data structure of the decentralized control system as a forest data structure; 基于构造获得的森林数据结构,利用森林先序遍历的方法将分散控制系统测点导出至预设的导出模板中,完成分散控制系统测点导出;Based on the forest data structure obtained by the construction, the method of forest pre-order traversal is used to export the measurement points of the distributed control system to the preset export template, and the export of the measurement points of the distributed control system is completed; 其中,所述预设的导出模板中,将I/O通道测点的机组号、控制器号、分支号、模块号、通道号和测点标签名作为关键字,将I/O通道测点的其他属性信息作为参数项;Wherein, in the preset export template, the unit number, controller number, branch number, module number, channel number and measuring point label name of the I/O channel measuring point are used as keywords, and the I/O channel measuring point is other attribute information as parameter items; 其中,所述将分散控制系统的层级数据结构构造为森林数据结构的步骤具体包括:基于分散控制系统的机组-控制器-分支-模块-通道的层级结构,以机组为森林数据结构第一棵树的根结点,控制器为机组结点下的子结点,分支为控制器结点下的子结点,模块为分支结点下的子结点,通道为模块结点下的叶子结点构造获得森林数据结构;Wherein, the step of constructing the hierarchical data structure of the decentralized control system into a forest data structure specifically includes: based on the hierarchical structure of the unit-controller-branch-module-channel of the decentralized control system, taking the unit as the first tree of the forest data structure The root node of the tree, the controller is the child node under the unit node, the branch is the child node under the controller node, the module is the child node under the branch node, and the channel is the leaf node under the module node Point construction to obtain the forest data structure; 其中,所述预设的导出模板具体为I/O通道测点的数据表格;所述数据表格中表名、表头列名与分散控制系统中各结点属性名称相对应;按照所述森林数据结构,以模块结点的模块类型名称建立表页,在表页中加入机组号列、控制器号列、分支号列和模块号列与通道的各属性列形成表头。Wherein, the preset export template is specifically a data table of I/O channel measuring points; the table name, table header column name in the data table corresponds to the attribute name of each node in the distributed control system; according to the forest Data structure, create a table page with the module type name of the module node, and add the unit number column, the controller number column, the branch number column, the module number column and the attribute columns of the channel to the table page to form the table header. 2.根据权利要求1所述的一种分散控制系统测点导出方法,其特征在于,所述森林数据结构为预设级数高度的森林数据结构。2 . The method for deriving measuring points of a distributed control system according to claim 1 , wherein the forest data structure is a forest data structure with a preset series height. 3 . 3.根据权利要求1所述的一种分散控制系统测点导出方法,其特征在于,所述表头中机组号列、控制器号列、分支号列、模块号列、通道号列不为空;3. a kind of decentralized control system measuring point deriving method according to claim 1, is characterized in that, in described table header, unit number column, controller number column, branch number column, module number column, channel number column are not null; 所述通道的各属性列中包括测点标签名列,测点标签名列不为空。Each attribute column of the channel includes a measurement point label name column, and the measurement point label name column is not empty. 4.根据权利要求1所述的一种分散控制系统测点导出方法,其特征在于,所述基于构造获得的森林数据结构,利用森林先序遍历的方法将分散控制系统测点导出至预设的导出模板中,完成分散控制系统测点导出的步骤具体包括:4. a kind of decentralized control system measuring point deriving method according to claim 1, is characterized in that, described based on the forest data structure that the structure obtains, utilizes the method for forest pre-order traversal to export the decentralized control system measuring point to preset In the export template of , the steps to complete the export of the measurement points of the distributed control system include: 先访问根结点,再按预设顺序遍历根结点的每棵子树,得到叶子结点的数据信息,将对应项插入到导出模板的表页中,得到I/O通道测点的导出点表。First visit the root node, then traverse each subtree of the root node in a preset order, obtain the data information of the leaf node, insert the corresponding item into the table page of the export template, and obtain the export point of the I/O channel measurement point surface. 5.根据权利要求4所述的一种分散控制系统测点导出方法,其特征在于,所述预设顺序为从左到右的顺序。5 . The method for deriving measuring points of a distributed control system according to claim 4 , wherein the preset order is from left to right. 6 . 6.一种分散控制系统测点导出系统,其特征在于,包括:6. a decentralized control system measuring point deriving system, is characterized in that, comprises: 数据结构构造模块,用于将分散控制系统的层级数据结构构造为森林数据结构;The data structure construction module is used to construct the hierarchical data structure of the decentralized control system into a forest data structure; 遍历导出模块,用于基于构造获得的森林数据结构,利用森林先序遍历的方法将分散控制系统测点导出至预设的导出模板中,完成分散控制系统测点导出;其中,所述预设的导出模板中,将I/O通道测点的机组号、控制器号、分支号、模块号、通道号和测点标签名作为关键字,将I/O通道测点的其他属性信息作为参数项;The traversal export module is used to export the measurement points of the distributed control system to a preset export template by using the forest pre-order traversal method based on the forest data structure obtained by the structure, so as to complete the export of the measurement points of the distributed control system; wherein, the preset In the export template of the I/O channel measurement point, the unit number, controller number, branch number, module number, channel number and measurement point label name of the I/O channel measurement point are used as keywords, and other attribute information of the I/O channel measurement point is used as parameters. item; 其中,所述将分散控制系统的层级数据结构构造为森林数据结构的步骤具体包括:基于分散控制系统的机组-控制器-分支-模块-通道的层级结构,以机组为森林数据结构第一棵树的根结点,控制器为机组结点下的子结点,分支为控制器结点下的子结点,模块为分支结点下的子结点,通道为模块结点下的叶子结点构造获得森林数据结构;Wherein, the step of constructing the hierarchical data structure of the decentralized control system into a forest data structure specifically includes: based on the hierarchical structure of the unit-controller-branch-module-channel of the decentralized control system, taking the unit as the first tree of the forest data structure The root node of the tree, the controller is the child node under the unit node, the branch is the child node under the controller node, the module is the child node under the branch node, and the channel is the leaf node under the module node Point construction to obtain the forest data structure; 其中,所述预设的导出模板具体为I/O通道测点的数据表格;所述数据表格中表名、表头列名与分散控制系统中各结点属性名称相对应;按照所述森林数据结构,以模块结点的模块类型名称建立表页,在表页中加入机组号列、控制器号列、分支号列和模块号列与通道的各属性列形成表头。Wherein, the preset export template is specifically a data table of I/O channel measuring points; the table name, table header column name in the data table corresponds to the attribute name of each node in the distributed control system; according to the forest Data structure, create a table page with the module type name of the module node, and add the unit number column, the controller number column, the branch number column, the module number column and the attribute columns of the channel to the table page to form the table header. 7.一种终端设备,包括:处理器;存储器,用于存储计算机程序指令;其特征在于,7. A terminal device, comprising: a processor; a memory for storing computer program instructions; characterized in that, 所述计算机程序指令由所述处理器加载并运行时,所述处理器执行权利要求1至5中任一项所述的分散控制系统测点导出方法。When the computer program instructions are loaded and executed by the processor, the processor executes the method for deriving measurement points of a distributed control system according to any one of claims 1 to 5. 8.一种可读存储介质,所述可读存储介质存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器加载并运行时,所述处理器执行权利要求1至5中任一项所述的分散控制系统测点导出方法。8. A readable storage medium storing computer program instructions, wherein when the computer program instructions are loaded and run by a processor, the processor executes any one of claims 1 to 5. A method for deriving measurement points of a distributed control system.
CN202111344600.6A 2021-11-15 2021-11-15 Method, system, terminal device and readable storage medium for deriving measurement point of distributed control system Active CN113791593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111344600.6A CN113791593B (en) 2021-11-15 2021-11-15 Method, system, terminal device and readable storage medium for deriving measurement point of distributed control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111344600.6A CN113791593B (en) 2021-11-15 2021-11-15 Method, system, terminal device and readable storage medium for deriving measurement point of distributed control system

Publications (2)

Publication Number Publication Date
CN113791593A CN113791593A (en) 2021-12-14
CN113791593B true CN113791593B (en) 2022-02-01

Family

ID=78955208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111344600.6A Active CN113791593B (en) 2021-11-15 2021-11-15 Method, system, terminal device and readable storage medium for deriving measurement point of distributed control system

Country Status (1)

Country Link
CN (1) CN113791593B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146154A (en) * 2007-12-13 2009-07-02 Nippon Telegr & Teleph Corp <Ntt> Attribute information distribution control system and attribute information distribution control method
CN105868253A (en) * 2015-12-23 2016-08-17 乐视网信息技术(北京)股份有限公司 Data importing and query methods and apparatuses
CN106407171A (en) * 2016-11-03 2017-02-15 华能澜沧江水电股份有限公司 System and method for generating safety monitoring custom report based on tree structure
CN108268614A (en) * 2017-12-29 2018-07-10 郑州轻工业学院 A kind of distribution management method of forest reserves spatial data
CN111274294A (en) * 2020-01-09 2020-06-12 中国科学院计算机网络信息中心 Universal distributed heterogeneous data integrated logic convergence organization, release and service method and system
CN111858045A (en) * 2020-07-13 2020-10-30 苏州浪潮智能科技有限公司 A kind of multi-task GPU resource scheduling method, apparatus, device and readable medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146154A (en) * 2007-12-13 2009-07-02 Nippon Telegr & Teleph Corp <Ntt> Attribute information distribution control system and attribute information distribution control method
CN105868253A (en) * 2015-12-23 2016-08-17 乐视网信息技术(北京)股份有限公司 Data importing and query methods and apparatuses
CN106407171A (en) * 2016-11-03 2017-02-15 华能澜沧江水电股份有限公司 System and method for generating safety monitoring custom report based on tree structure
CN108268614A (en) * 2017-12-29 2018-07-10 郑州轻工业学院 A kind of distribution management method of forest reserves spatial data
CN111274294A (en) * 2020-01-09 2020-06-12 中国科学院计算机网络信息中心 Universal distributed heterogeneous data integrated logic convergence organization, release and service method and system
CN111858045A (en) * 2020-07-13 2020-10-30 苏州浪潮智能科技有限公司 A kind of multi-task GPU resource scheduling method, apparatus, device and readable medium

Also Published As

Publication number Publication date
CN113791593A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN104572122B (en) A kind of generating means and method of software application data
CN104408159B (en) A kind of data correlation, loading, querying method and device
CN111324577B (en) Yml file reading and writing method and device
CN104572895B (en) MPP databases and Hadoop company-datas interoperability methods, instrument and implementation method
CN115329504B (en) BOM construction method based on complex product structure
CN107870949A (en) Data analysis job dependence relation generation method and system
CN110968509B (en) Method and system for batch customizing of variables
CN107665216A (en) A kind of data bank access method and middleware
CN110019384A (en) A kind of acquisition methods of blood relationship data provide the method and device of blood relationship data
CN104506340A (en) Creation method of decision tree in industrial Ethernet fault diagnosis method
CN111475511A (en) Data storage method, data access method, data storage device, data access device and data access equipment based on tree structure
CN107817703A (en) A kind of method realized Industry Control host computer and be controlled to slave computer
CN111475159B (en) Method, device and storage medium for automatically generating program
EP4030312A1 (en) Method and apparatus for querying data, computing device, and storage medium
CN113704248B (en) Block chain query optimization method based on external index
CN113791593B (en) Method, system, terminal device and readable storage medium for deriving measurement point of distributed control system
CN112035466A (en) Block chain query external index development framework
CN113495831A (en) Method, system, device and medium for generating test case based on keyword
CN103400050A (en) Multiple-user cooperative nuclear reactor risk determining method and system
CN111259062B (en) Method and device capable of guaranteeing sequence of statement result set of full-table query of distributed database
CN1521989A (en) A Method for Realizing Configuration Data Organization and Centralized Management in Network Management System
Reinhard et al. A framework enabling data integration for virtual production
Adiga et al. Object-oriented software modeling of a flexible manufacturing system
CN103793519A (en) Automatic tool supporting exportation of mass data
CN116777671A (en) Large-scale energy storage resource management method and system based on automatic topology display generation

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