CN113434519B - Method, system and storage medium for updating label names of measuring points - Google Patents

Method, system and storage medium for updating label names of measuring points Download PDF

Info

Publication number
CN113434519B
CN113434519B CN202110990259.5A CN202110990259A CN113434519B CN 113434519 B CN113434519 B CN 113434519B CN 202110990259 A CN202110990259 A CN 202110990259A CN 113434519 B CN113434519 B CN 113434519B
Authority
CN
China
Prior art keywords
measuring point
data acquisition
measuring
updating
point information
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
CN202110990259.5A
Other languages
Chinese (zh)
Other versions
CN113434519A (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.)
NR Electric Co Ltd
Xian Thermal Power Research Institute Co Ltd
Original Assignee
NR Electric Co Ltd
Xian Thermal Power Research Institute Co Ltd
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 NR Electric Co Ltd, Xian Thermal Power Research Institute Co Ltd filed Critical NR Electric Co Ltd
Priority to CN202110990259.5A priority Critical patent/CN113434519B/en
Publication of CN113434519A publication Critical patent/CN113434519A/en
Application granted granted Critical
Publication of CN113434519B publication Critical patent/CN113434519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a system and a storage medium for updating a label name of a measuring point, and provides a method for updating the label name of the measuring point of a picture based on background monitoring, wherein received measuring point information is compared with measuring point information stored in a database, once the measuring point information generates a message, a data change signal is immediately generated and a data acquisition thread of each picture which is opened at present is informed one by one, and the label name of the measuring point can be synchronously measured by the data acquisition thread; the situation that the label names are not matched due to the fact that the label names (hardware addresses) of the measuring points are changed and the picture and data acquisition process cannot be found in time is avoided; the effectiveness of the data acquisition thread for acquiring the data and the correctness of the data displayed on the picture are ensured.

Description

Method, system and storage medium for updating label names of measuring points
Technical Field
The invention belongs to the field of measuring point label name updating methods, and particularly relates to a measuring point label name updating method, a measuring point label name updating system and a storage medium.
Background
In the distributed control system, each picture opened by upper computer picture monitoring software displays real-time data of all measuring points on the current picture, each picture is provided with a data acquisition thread, the thread maintains a measuring point subscription list based on a mapping structure, key value pairs of all measuring points (measuring point identifiers and measuring point hardware addresses) on the picture are stored, and the data acquisition thread requests the process control station for the real-time data of the subscribed measuring points.
In the engineering configuration link, when the hardware address of the measuring point on the opening picture changes in the logic configuration process and is issued to the process control station, the hardware address of the measuring point in the process control station changes, if the picture and the data acquisition process cannot be found in time, the situation that the measuring point is not matched with the hardware address can occur, real-time data acquired by a data acquisition thread is invalid or even wrong, data displayed on the picture is abnormal, and the picture monitoring function fails.
Disclosure of Invention
The invention aims to overcome the defects and provides a measuring point label name updating method, a measuring point label name updating system and a storage medium, which can monitor the change condition of the measuring point label name in real time, and once a background monitoring program receives the change of measuring point information, a measuring point change signal is immediately generated and a picture is informed, and the measuring point label name can be synchronously measured after the picture is received.
In order to achieve the purpose, the measuring point label name updating method comprises the following steps:
comparing the measuring point information to be updated with the measuring point information stored in the database;
if the measuring point information is not changed, continuously receiving new measuring point information needing to be updated;
if the measuring point information changes, a point directory change message is sent out;
and generating data change signals according to the changed measuring points obtained by analyzing the point catalog change messages, and informing the currently running data acquisition threads one by one, wherein the data acquisition threads are used for updating the changed measuring points.
And receiving the measuring point information needing to be updated, and carrying out configuration operation and modifying the measuring points by logic configuration software.
The concrete method when the measuring point information changes with the measuring point information stored in the database is as follows:
and if the change occurs, updating the point directory information in the database, recording the measuring points with the changed hardware addresses, sending an information list of the measuring points with the changed hardware addresses, and finally keeping the measuring point identifiers of the measuring points with the changed hardware addresses and the key value pairs of the measuring point hardware addresses in the updating process.
And if the measuring points with changed hardware addresses are contained in the measuring point list subscribed by the current picture data acquisition thread, updating the measuring point information subscribed by the data acquisition thread, and informing the current picture display process to reload the picture.
And if the measuring point with the changed hardware address is not contained in the measuring point list subscribed by the current picture data acquisition thread, ignoring the message.
A system based on a measuring point tag name updating method comprises a background point directory updating module, a background picture management module and a picture data acquisition thread;
the background point directory updating module is used for receiving the modified measuring point information, comparing the received measuring point information with the measuring point information stored in the database and judging whether the measuring point information changes or not; if no change exists, new measuring point information is continuously received and compared; if the change is detected, sending a point directory change message to a background picture management module;
the background picture management module is used for receiving the catalog change message, analyzing the catalog change message into changed measuring points, generating data change signals and informing the data acquisition threads of each picture which is opened at present one by one;
the picture data acquisition thread is used for analyzing the measuring point information with the changed hardware address and judging whether the measuring point with the changed hardware address is contained in a measuring point list subscribed by the current picture data acquisition thread; if yes, updating the measuring point information of the data acquisition subscription, and informing the current picture display process to reload the picture; if not, the message is ignored.
And when judging whether the measuring point information changes, if so, the background point directory updating module updates the point directory information in the database, records the measuring point with the changed hardware address, sends an information list of the measuring point with the changed hardware address, and stores and maintains the measuring point identifier and the key value pair of the measuring point hardware address when the hardware address changes in the updating process.
And when the picture data acquisition thread judges whether the measuring points with the changed hardware addresses are contained in the measuring point list subscribed by the current picture data acquisition thread, if the measuring points with the changed hardware addresses are contained in the measuring point list subscribed by the current picture data acquisition thread, updating the measuring point information subscribed by the data acquisition thread, and informing the current picture display process of reloading the picture.
A computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of a station tag name update method.
Compared with the prior art, the invention provides a method for updating the label names of the image measuring points based on background monitoring, wherein the received measuring point information is compared with the measuring point information stored in a database, once the measuring point information generates a message, a data change signal is immediately generated and a data acquisition thread of each image which is opened at present is informed one by one, and the data acquisition thread can synchronously measure the label names; the situation that the label names are not matched due to the fact that the label names (hardware addresses) of the measuring points are changed and the picture and data acquisition process cannot be found in time is avoided; the effectiveness of the data acquisition thread for acquiring the data and the correctness of the data displayed on the picture are ensured.
Drawings
FIG. 1 is a flow chart of the present invention;
fig. 2 is a block diagram of the system of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
A measuring point label name updating method comprises the following steps:
s1, the engineer performs configuration operation on the logic configuration software to modify the measuring points;
s2, comparing the received measuring point information with the measuring point information stored in the database, and judging whether the measuring point information changes; if no change exists, new measuring point information is continuously received and compared; if the change is detected, updating the point directory information in the database;
s3, analyzing the catalog change message into changed measuring points, generating data change signals, and informing the data acquisition threads of each picture which is opened at present one by one;
s4, analyzing the measuring point information with changed hardware address, and judging whether the measuring point with changed hardware address is contained in the measuring point list subscribed by the current picture data acquisition thread; if yes, updating the measuring point information of the data acquisition subscription, and informing the current picture display process to reload the picture; if not, the message is ignored.
Referring to fig. 2, a system based on a measurement point tag name updating method includes a background point directory updating module, a background picture management module and a picture data acquisition thread;
the background point directory updating module is used for receiving the modified measuring point information, comparing the received measuring point information with the measuring point information stored in the database and judging whether the measuring point information changes or not; if no change exists, new measuring point information is continuously received and compared; if the change is detected, sending a point directory change message to a background picture management module;
the background picture management module is used for receiving the catalog change message, analyzing the catalog change message into changed measuring points, generating data change signals and informing the data acquisition threads of each picture which is opened at present one by one;
the picture data acquisition thread is used for analyzing the measuring point information with the changed hardware address and judging whether the measuring point with the changed hardware address is contained in a measuring point list subscribed by the current picture data acquisition thread; if yes, updating the measuring point information of the data acquisition subscription, and informing the current picture display process to reload the picture; if not, the message is ignored.
And when judging whether the measuring point information changes, if so, the background point directory updating module updates the point directory information in the database, records the measuring point with the changed hardware address, sends an information list of the measuring point with the changed hardware address, and stores the measuring point identifier and the key value pair of the measuring point hardware address when the hardware address changes in the updating process.
And when the picture data acquisition thread judges whether the measuring points with the changed hardware addresses are contained in the measuring point list subscribed by the current picture data acquisition thread, if the measuring points with the changed hardware addresses are contained in the measuring point list subscribed by the current picture data acquisition thread, updating the measuring point information subscribed by the data acquisition thread, and informing the current picture display process of reloading the picture.
A computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of a station tag name update method.
The invention provides a background monitoring program based on which the change condition of the label names of the measuring points is monitored, once the background monitoring program receives the change of the measuring point information, the background monitoring program immediately generates measuring point change signals and informs a picture, and the label names of the measuring points can be synchronously measured after the picture is received.
Referring to fig. 1, example:
s1, changing the hardware address of the measuring point AI1 from tagname1 to tagname2, and downloading the modified measuring point information into the process control station;
s2, comparing the received measuring point information with the measuring point information stored in the database, and judging whether the measuring point information changes; if no change exists, new measuring point information is continuously received and compared; if the change occurs, point directory information in the database is updated, a measuring point AI1 with a changed hardware address is recorded, an information list of the measuring point with the changed hardware address is sent, finally, key value pairs of a measuring point identifier AI1 and a measuring point hardware address tagramee 2 of the measuring point with the changed hardware address in the updating process are kept, and a point directory change message is sent;
s3, analyzing the catalog change message into changed measuring points, generating data change signals, and informing the data acquisition threads of each picture which is opened at present one by one;
s4, analyzing the measuring point information with the changed hardware address, and judging whether the measuring point AI1 with the changed hardware address is contained in a measuring point list subscribed by the current picture data acquisition thread; if the measurement point AI1 is included, updating the hardware address of the measurement point AI1 in the measurement point information of the data acquisition subscription to be tagname2, and informing the current picture display process to reload the picture; if not, the message is ignored.

Claims (3)

1. A survey point label name updating method is characterized by comprising the following steps:
receiving measuring point information needing to be updated, and carrying out configuration operation and measuring point modification by logic configuration software;
comparing the measuring point information to be updated with the measuring point information stored in the database;
if the measuring point information is not changed, continuously receiving new measuring point information needing to be updated;
if the measuring point information changes, a point directory change message is sent out; the specific method comprises the following steps:
if the change occurs, point directory information in the database is updated, the measuring points with the changed hardware addresses are recorded, an information list of the measuring points with the changed hardware addresses is sent, and finally measuring point identifiers of the measuring points with the changed hardware addresses and key value pairs of the measuring point hardware addresses in the updating process are kept;
generating data change signals according to the changed measuring points obtained by analyzing the point catalog change messages, and informing a data acquisition thread which is currently running one by one, wherein the data acquisition thread is used for updating the changed measuring points; if the measuring point with the changed hardware address is contained in a measuring point list subscribed by the current picture data acquisition thread, updating the measuring point information subscribed by the data acquisition thread, and then informing the current picture display process to reload the picture;
and if the measuring point with the changed hardware address is not contained in the measuring point list subscribed by the current picture data acquisition thread, ignoring the message.
2. A system based on a measuring point label name updating method is characterized by comprising a background point directory updating module, a background picture management module and a picture data acquisition thread;
the background point directory updating module is used for receiving the modified measuring point information, comparing the received measuring point information with the measuring point information stored in the database and judging whether the measuring point information changes or not; if no change exists, new measuring point information is continuously received and compared; if the change is detected, sending a point directory change message to a background picture management module;
the background picture management module is used for receiving the catalog change message, analyzing the catalog change message into changed measuring points, generating data change signals and informing the data acquisition threads of each picture which is opened at present one by one;
the picture data acquisition thread is used for analyzing the measuring point information with the changed hardware address and judging whether the measuring point with the changed hardware address is contained in a measuring point list subscribed by the current picture data acquisition thread; if yes, updating the measuring point information of the data acquisition subscription, and informing the current picture display process to reload the picture; if not, ignoring the message;
when judging whether the measuring point information changes, if so, the background point directory updating module updates the point directory information in the database, records the measuring point with the changed hardware address, sends an information list of the measuring point with the changed hardware address, and stores a measuring point identifier and a key value pair of the measuring point hardware address when the hardware address changes in the updating process;
and when the picture data acquisition thread judges whether the measuring points with the changed hardware addresses are contained in the measuring point list subscribed by the current picture data acquisition thread, if the measuring points with the changed hardware addresses are contained in the measuring point list subscribed by the current picture data acquisition thread, updating the measuring point information subscribed by the data acquisition thread, and informing the current picture display process of reloading the picture.
3. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of the station tag name updating method according to claim 1.
CN202110990259.5A 2021-08-26 2021-08-26 Method, system and storage medium for updating label names of measuring points Active CN113434519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110990259.5A CN113434519B (en) 2021-08-26 2021-08-26 Method, system and storage medium for updating label names of measuring points

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110990259.5A CN113434519B (en) 2021-08-26 2021-08-26 Method, system and storage medium for updating label names of measuring points

Publications (2)

Publication Number Publication Date
CN113434519A CN113434519A (en) 2021-09-24
CN113434519B true CN113434519B (en) 2021-12-10

Family

ID=77798088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110990259.5A Active CN113434519B (en) 2021-08-26 2021-08-26 Method, system and storage medium for updating label names of measuring points

Country Status (1)

Country Link
CN (1) CN113434519B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741378B (en) * 2021-11-04 2022-03-15 西安热工研究院有限公司 Fault analysis method and system for background abnormal point high-frequency acquisition of distributed control system
CN113741379B (en) * 2021-11-08 2022-02-15 西安热工研究院有限公司 DCS monitoring picture fast loading method, system, equipment and storage medium
CN117009187B (en) * 2023-09-27 2024-01-19 西安热工研究院有限公司 CID file incremental compiling method, system and equipment for upper computer monitoring system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150408A (en) * 2013-04-02 2013-06-12 山东鲁能软件技术有限公司 System and method for finding and accessing database in real-time databases according to roll call
CN107608584A (en) * 2017-09-07 2018-01-19 中冶南方工程技术有限公司 A kind of method that man-machine interface picture refreshes automatically
WO2021059632A1 (en) * 2019-09-24 2021-04-01 株式会社日立製作所 Communication control device and system
CN113282065A (en) * 2021-05-18 2021-08-20 西安热工研究院有限公司 Clustering extreme value real-time calculation method based on graph configuration

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329576B (en) * 2008-06-17 2011-10-05 上海宝信软件股份有限公司 Method for real time refreshing process data picture
CN106774515B (en) * 2017-01-13 2018-01-12 山东师范大学 A kind of heatingup of coke oven battery intelligent temperature control system and control method
CN110222065A (en) * 2019-05-29 2019-09-10 深圳市思迪信息技术股份有限公司 Computer room website update method and system based on mobile platform
CN112148270B (en) * 2020-08-12 2024-05-14 珠海伟诚科技股份有限公司 Real-time computing and data interaction method, system and medium
CN113194124B (en) * 2021-04-19 2022-10-25 西安热工研究院有限公司 Distributed real-time database-based DCS background multi-node directory synchronization method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150408A (en) * 2013-04-02 2013-06-12 山东鲁能软件技术有限公司 System and method for finding and accessing database in real-time databases according to roll call
CN107608584A (en) * 2017-09-07 2018-01-19 中冶南方工程技术有限公司 A kind of method that man-machine interface picture refreshes automatically
WO2021059632A1 (en) * 2019-09-24 2021-04-01 株式会社日立製作所 Communication control device and system
CN113282065A (en) * 2021-05-18 2021-08-20 西安热工研究院有限公司 Clustering extreme value real-time calculation method based on graph configuration

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Study on optimization of soot blowing based on monitoring model of coal-fired power station soot accumulation";Qiang Li等;《2018 Chinese Automation Congress (CAC)》;20181202;第196-200页 *
DCS与PI系统测点表同步传输接口程序的开发与应用;郭楷川 等;《内蒙古电力技术》;20170301;第54-57页 *

Also Published As

Publication number Publication date
CN113434519A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN113434519B (en) Method, system and storage medium for updating label names of measuring points
US6499117B1 (en) Network fault information management system in which fault nodes are displayed in tree form
US20060100972A1 (en) Automated software-based hardware tracking system
CN101252462B (en) Alarming page furbishing method as well as server and client end
US11770199B2 (en) Traffic data self-recovery processing method, readable storage medium, server and apparatus
CN105404581A (en) Database evaluation method and device
CN106911519A (en) A kind of data acquisition monitoring method and device
CN112147914A (en) Distributed simulation data online monitoring method and system based on reflective memory network
CN113282065B (en) Clustering extreme value real-time calculation method based on graph configuration
CN116088892A (en) Distributed service system configuration changing method, device, computer equipment and medium
CN113342608A (en) Method and device for monitoring streaming computing engine task
CN114625556A (en) System exception handling method, device, equipment, storage medium and product
CN112260902B (en) Network equipment monitoring method, device, equipment and storage medium
CN113010208A (en) Version information generation method, version information generation device, version information generation equipment and storage medium
CN111262738A (en) Terminal equipment information binding method and device, switch and storage medium
CN113689011A (en) Vehicle full life cycle part management system and method
CN112783730B (en) Interface monitoring method, device, medium and electronic equipment
CN114553970A (en) Distributed message processing method based on Kafka and data bus system
JP2018142901A (en) Communication system and method for monitoring communication devices in communication system
CN109756351B (en) Automatic notification and response system for system unit state change
CN110647533A (en) Data monitoring method, system and storage medium for structure monitoring system
CN117097599B (en) Network service detection method, device, computer equipment and storage medium
CN114327707A (en) User interface refreshing method
CN115766845B (en) Image update processing method, device and storage medium
CN110633274A (en) Alarm management method and device

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