Search

CN-121833729-B - Method and device for synchronizing measurement point information of heat supply network system

CN121833729BCN 121833729 BCN121833729 BCN 121833729BCN-121833729-B

Abstract

The application discloses a method and a device for synchronizing measurement point information of a heat supply network system, wherein the method comprises the steps of obtaining configuration files and data configuration files of each controller; the method comprises the steps of traversing each functional block of each controller to determine a functional block referencing measurement point information, searching actual measurement point information corresponding to the functional block in a measurement point library of the controller based on the functional block referencing the measurement point information, comparing the referencing measurement point information with the actual measurement point information, synchronizing the referencing measurement point information in the functional blocks into the actual measurement point information if the page numbers and/or the description of the measuring points of the referencing measurement point information are inconsistent, and writing the data object structure of each synchronized controller into a disk after the synchronizing of the referencing measurement point information of all the functional blocks in the controller is completed. The application can synchronize the reference information in all controllers before the configuration is downloaded, thereby improving the efficiency of configuration design, modification, migration and debugging.

Inventors

  • LIANG FAGUANG
  • ZHONG QINGYAO
  • WANG XIAOKAI
  • SONG MEIYAN
  • HU BO
  • ZHANG JUN
  • PAN LE
  • GAO SHAOHUA
  • LIU CHANG
  • WEI KEQIANG
  • ZHANG SHENG

Assignees

  • 西安热工研究院有限公司
  • 华能聊城热电有限公司

Dates

Publication Date
20260512
Application Date
20260312

Claims (10)

  1. 1. The method for synchronizing the information of the measuring points of the heat network system is characterized by comprising the following steps of: The method comprises the steps of obtaining configuration files and data configuration files of each controller, wherein the configuration files are used for representing logic relations in the controllers, the logic relations comprise tasks, logical pages under the tasks and components and connection relations of functional blocks under the logical pages, the data configuration files comprise measuring point information, and the measuring point information comprises measuring point page numbers and measuring point descriptions; constructing a data object structure of each controller in the memory based on the configuration file and the data configuration file; Traversing each functional block of each controller and determining the functional block referencing the measurement point information; based on the functional blocks referencing the measuring point information, searching actual measuring point information corresponding to the functional blocks in a measuring point library of the controller; comparing the reference measuring point information with the actual measuring point information; If the reference measurement point information is inconsistent with the measurement point page number and/or the measurement point description of the actual measurement point information, synchronizing the reference measurement point information in the functional block into the actual measurement point information; and after the information of the reference measuring points of all the functional blocks in the controllers is synchronized, writing the synchronized data object structure of each controller into a disk.
  2. 2. The method of claim 1, wherein traversing each function block of each controller determines a function block referencing site information, comprising: Numbering each controller; sequentially reading task configuration information in the controller according to numbers based on the configuration files, and establishing each task in a memory; Reading the operation sequence of the logic pages under the tasks based on the configuration file, and establishing the logic pages under each task in a memory; And traversing all functional blocks under the logical page to determine the functional blocks referencing the measurement point information.
  3. 3. The method of claim 1, wherein the step of determining the position of the substrate comprises, When traversing all the functional blocks in the controller, if the currently traversed functional block does not reference the measuring point information, skipping the currently traversed functional block and traversing the next functional block.
  4. 4. The method of claim 1, wherein based on the function block referencing the measurement point information, searching the measurement point library of the controller for actual measurement point information corresponding to the function block, comprises: Judging the type of the functional block; And searching actual measuring point information corresponding to the functional block in a measuring point library of the controller.
  5. 5. The method of claim 4, wherein the types of the functional blocks include a structure type, a non-structure type, an inter-station reference type, and a redundant site reference type, and wherein the determining the reference site information of the functional block based on the type to which the functional block belongs includes: determining reference point information and a plurality of sub-point information of the functional block in response to the functional block being of a structure type; determining reference point information of the functional block in response to the functional block being of a non-structural type; Determining reference point information and a controller number of the functional block in response to the functional block being of an inter-station reference type; And determining the reference point information and the redundant point information of the functional block in response to the functional block being the redundant point reference type.
  6. 6. The method of claim 5, wherein responsive to the functional block being of a structure type, further comprising: if the currently traversed functional block has the reference measuring point information, determining whether the reference measuring point information contains sub measuring point information or not; and responding to the fact that the reference measuring point information contains sub measuring point information, and searching actual measuring point information corresponding to the functional block in a measuring point library of the controller.
  7. 7. The method as recited in claim 1, further comprising: And displaying the data object structure of each synchronized controller on a graphical interface.
  8. 8. The utility model provides a heat supply network system measurement station information synchronizer which characterized in that includes: The system comprises an acquisition module, a measurement point information acquisition module and a measurement point information acquisition module, wherein the acquisition module is used for acquiring configuration files and data configuration files of each controller, the configuration files are used for representing logic relations in the controllers, the logic relations comprise tasks, logical pages under the tasks and components and connection relations of functional blocks under the logical pages; The construction module is used for constructing a data object structure of each controller in the memory based on the configuration file and the data configuration file; The determining module is used for traversing each functional block of each controller and determining the functional block referencing the measuring point information; the searching module is used for searching actual measuring point information corresponding to the functional block in a measuring point library of the controller based on the functional block referencing the measuring point information; The comparison module is used for comparing the reference measuring point information with the actual measuring point information; The synchronization module is used for synchronizing the reference measurement point information in the functional block into actual measurement point information if the reference measurement point information is inconsistent with the measurement point page number and/or the measurement point description of the actual measurement point information; And the writing module is used for writing the synchronized data object structure of each controller into the disk after the synchronization of the reference point information of all the functional blocks in the controller is completed.
  9. 9. An electronic device, comprising: At least one processor; And a memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7.
  10. 10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-7.

Description

Method and device for synchronizing measurement point information of heat supply network system Technical Field The application relates to the technical field of automation, in particular to a method and a device for synchronizing measurement point information of a heat supply network system. Background In the configuration design and debugging process of large-scale decentralized control systems such as a heat supply network unit, a thermal power unit and the like, the problem of data sharing among multiple controllers is generally involved, and in a Decentralized Control System (DCS), the data sharing is generally realized through cross reference of measurement points among the controllers. Thus, in the configuration, there are a referent and a referent. In order to realize the accurate data sharing across the controller, the referee needs to record index information such as the name of the measuring point, the number of the logical page, the node number, the branch number, the slot number, the channel number and the like of the referee, thereby realizing the data sharing. However, in the process of configuration design and debugging, a plurality of debuggers usually modify configuration data and configuration logic, or export, import and replace configuration test roll call operations, so that the logic page number, node number, branch number, slot number or channel number of the referenced party is changed. The referee cannot sense that the referee has been modified, and downloading this incorrect logic to the controller can result in data anomalies that are referenced across controllers, making the control logic operation incorrect. The misoperation of on-site equipment is caused, and equipment damage and casualties are caused. Disclosure of Invention The disclosure provides a method and a device for synchronizing measurement point information of a heat supply network system, which are used for at least solving the technical problems in the prior art. According to a first aspect of the present application, there is provided a method for synchronizing information of measurement points of a heat supply network system, including: The method comprises the steps of obtaining configuration files and data configuration files of each controller, wherein the configuration files are used for representing logic relations in the controllers, the logic relations comprise tasks, logical pages under the tasks and components and connection relations of functional blocks under the logical pages, the data configuration files comprise measuring point information, and the measuring point information comprises measuring point page numbers and measuring point descriptions; constructing a data object structure of each controller in the memory based on the configuration file and the data configuration file; Traversing each functional block of each controller and determining the functional block referencing the measurement point information; based on the functional blocks referencing the measuring point information, searching actual measuring point information corresponding to the functional blocks in a measuring point library of the controller; comparing the reference measuring point information with the actual measuring point information; If the reference measurement point information is inconsistent with the measurement point page number and/or the measurement point description of the actual measurement point information, synchronizing the reference measurement point information in the functional block into the actual measurement point information; and after the information of the reference measuring points of all the functional blocks in the controllers is synchronized, writing the synchronized data object structure of each controller into a disk. In an embodiment, the traversing each function block of each controller, determining a function block referencing site information, includes: Numbering each controller; sequentially reading task configuration information in the controller according to numbers based on the configuration files, and establishing each task in a memory; Reading the operation sequence of the logic pages under the tasks based on the configuration file, and establishing the logic pages under each task in a memory; And traversing all functional blocks under the logical page to determine the functional blocks referencing the measurement point information. In one embodiment, when traversing all the function blocks in the controller, if the currently traversed function block does not reference the measurement point information, the currently traversed function block is skipped and the next function block is traversed. In one embodiment, based on a functional block referencing the measurement point information, searching actual measurement point information corresponding to the functional block in a measurement point library of the controller includes: Judging the type of the functional block; And searching a