CN117216115B - DCS picture measuring point checking and subscribing method, system, equipment and storage medium - Google Patents

DCS picture measuring point checking and subscribing method, system, equipment and storage medium Download PDF

Info

Publication number
CN117216115B
CN117216115B CN202311487372.7A CN202311487372A CN117216115B CN 117216115 B CN117216115 B CN 117216115B CN 202311487372 A CN202311487372 A CN 202311487372A CN 117216115 B CN117216115 B CN 117216115B
Authority
CN
China
Prior art keywords
measuring point
point information
effective
information
list
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
CN202311487372.7A
Other languages
Chinese (zh)
Other versions
CN117216115A (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.)
Xian Thermal Power Research Institute Co Ltd
Original Assignee
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 Xian Thermal Power Research Institute Co Ltd filed Critical Xian Thermal Power Research Institute Co Ltd
Priority to CN202311487372.7A priority Critical patent/CN117216115B/en
Publication of CN117216115A publication Critical patent/CN117216115A/en
Application granted granted Critical
Publication of CN117216115B publication Critical patent/CN117216115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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]

Abstract

The invention relates to the technical field of computers, and particularly discloses a method, a system, equipment and a storage medium for checking and subscribing measuring points of a DCS picture, wherein an effective measuring point buffer area is arranged for quickly checking measuring point information, generating a measuring point subscribing and reading message, sending the message to a DCS lower computer to request to acquire related measuring point information, and accordingly completing local measuring point database updating; the invention adopts a picture measuring point subscription mechanism, only requests the measuring point information required by the current picture from the lower computer, avoids high-frequency request of all the measuring point information, and can effectively relieve the network flow pressure when the measuring point data quantity is large, avoid causing data blockage and ensure that the picture data is refreshed efficiently in real time.

Description

DCS picture measuring point checking and subscribing method, system, equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a DCS picture measuring point checking and subscribing method, a system, equipment and a storage medium.
Background
The Distributed Control System (DCS) is a core control system of the thermal power plant, wherein the function of a DCS picture comprises two major parts of running state display and control command issuing, and the distributed control system is one of the most important man-machine interfaces in the distributed control system. At present, most of update of DCS picture measurement point data mostly adopts a server-client form, namely a main node updates all measurement point data, other nodes request data to the main node, and the mechanism has the following defects:
1. the master-slave structure is too dependent on the master node, and if the master node fails to acquire the data, other slave nodes cannot acquire the real-time data;
2. the DCS system is involved in a plurality of pictures, the measuring point data magnitude is huge, if all measuring point data are acquired in real time, larger network flow pressure is easy to form, data blockage can be caused, and the refreshing delay of picture data is caused.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method, a system, equipment and a storage medium for checking and subscribing a DCS picture measuring point.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the DCS picture measuring point checking and subscribing method comprises the following steps:
s1: grouping all measuring point information of a current DCS picture, wherein the measuring point information comprises the following attribute values: the method comprises the steps of adding measurement point information into an empty path measurement point list if a database path of the measurement point information is empty, or adding into a non-empty path measurement point list if the database path of the measurement point information is empty;
s2: traversing the non-empty path measuring point list in the S1, carrying out validity check and measuring point information update on all measuring point information in the non-empty path measuring point list by utilizing an effective measuring point buffer area, and setting a database path of invalid measuring point information to be empty;
traversing the empty path measuring point list in the S1, recombining a database path of the current measuring point information one by one according to the measuring point names of the current measuring point information in the empty path measuring point list, and inquiring a measuring point database according to the database path so as to update the current measuring point information according to the inquiring result;
obtaining all measuring point information of the DCS picture after verification and update;
s3: according to whether the database paths of the measuring point information are empty, performing secondary grouping on all the measuring point information of the DCS picture after verification and updating, and adding the measuring point information with non-empty database paths into a subscription measuring point list;
s4: generating a subscription message according to the subscription measurement point list in the step S3, and transmitting the subscription message to a lower computer, wherein the lower computer feeds back a real-time value message of the measurement point information according to the measurement point information in the subscription message;
s5: and (4) periodically updating the measuring point database according to the real-time value message fed back by the lower computer in the step S4.
Further, in S2, traversing the non-empty path measurement point list in S1, and performing validity check and measurement point information update on all measurement point information in the non-empty path measurement point list by using the valid measurement point buffer area, and setting a database path of the invalid measurement point information to be empty, which specifically includes:
s21: traversing a non-empty path measuring point list, taking the measuring point name of the current measuring point information in the non-empty path measuring point list as a key word, and inquiring an effective measuring point buffer area;
if the effective measuring point information related to the key word exists in the effective measuring point buffer area and the effective measuring point information meets a first constraint condition, setting a flag bit of the effective measuring point information as 0, setting a measuring point identifier as 0, adding the current measuring point information into a secondary checking list, and if the effective measuring point information does not meet the first constraint condition, setting a flag bit of the effective measuring point information as 1, and updating an attribute value corresponding to the current measuring point information by using the measuring point identifier and the measuring point name of the effective measuring point information in the effective measuring point buffer area;
if the effective measuring point information associated with the key word does not exist in the effective measuring point buffer area, the following judgment is carried out: if the current measurement point information meets the second constraint condition, setting the measurement point identifier of the measurement point information to be 0, adding the measurement point information into a secondary verification list, otherwise, taking the measurement point name of the current measurement point information as a keyword, generating effective measurement point information according to all attribute values of the current measurement point information, and adding the effective measurement point information into an effective measurement point buffer area;
s22: traversing the secondary check list generated in the S21, adding a condition field with the effectiveness of the measuring point being 1 to a database path of the current measuring point information in the secondary check list, inquiring a measuring point database, and updating all attribute values of the current measuring point information and updating an effective measuring point cache area if the measuring point information with the effectiveness of the measuring point being 1 is successfully obtained again; if the acquisition of the measurement point information with the measurement point validity of 1 fails, the database path of the current measurement point information is emptied, and the measurement point validity is set to 0.
Further, the first constraint in S22 includes:
(1) the measuring point identifier of the effective measuring point information is 0;
(2) the measuring point effectiveness of the effective measuring point information is 0;
(3) inquiring the name of the measuring point obtained by the measuring point database according to the measuring point identifier of the effective measuring point information, wherein the name of the measuring point is not equal to the name of the measuring point of the effective measuring point information;
the effective measurement point information meets a first constraint condition specifically as follows: the effective survey point information satisfies one of the first constraint conditions.
Further, the second constraint includes:
(1) the measuring point database does not have the measuring point identifier of the current measuring point information;
(2) inquiring the measured point name acquired by the measured point database by using the measured point identifier of the current measured point information, wherein the measured point name is not equal to the measured point name of the current measured point information;
(3) inquiring the validity of the measuring point obtained by the measuring point database to be 0 by using the measuring point identifier of the current measuring point information;
the current measurement point information meets a second constraint condition specifically comprises the following steps: the current site information satisfies one of the second constraints.
Further, the specific rule for updating the effective measurement point buffer area in S22 is as follows:
the method comprises the steps of inquiring an effective measuring point buffer area by taking a measuring point name of current measuring point information as a key word, setting a flag bit of the effective measuring point information as 1 if the effective measuring point information related to the key word exists, and updating corresponding attribute values of the effective measuring point information by using all attribute values of the current measuring point information;
if the effective measuring point buffer area does not contain the effective measuring point information related to the key word, the measuring point name of the current measuring point information is used as the key word, the effective measuring point information is newly built according to all attribute values of the current measuring point information, and the newly built effective measuring point information is added into the effective measuring point buffer area.
DCS picture measuring point checking and subscribing system includes:
and a grouping module: the method is used for grouping all the measurement point information of the current DCS picture, and the measurement point information comprises the following attribute values: the method comprises the steps of adding measurement point information into an empty path measurement point list if a database path of the measurement point information is empty, or adding into a non-empty path measurement point list if the database path of the measurement point information is empty;
and a measuring point checking module: the method comprises the steps of traversing a non-empty path measuring point list formed in a grouping module, carrying out validity check and measuring point information update on all measuring point information in the non-empty path measuring point list by utilizing an effective measuring point buffer area, and setting a database path of invalid measuring point information to be empty;
and an empty path measuring point updating module: the method comprises the steps of traversing an empty path measuring point list formed in a grouping module, recombining a database path of current measuring point information one by one according to the measuring point names of the current measuring point information in the empty path measuring point list, inquiring a measuring point database according to the database path, and updating the current measuring point information according to an inquiring result;
the subscription measurement point list generation module: the method comprises the steps of performing secondary grouping on all the measurement point information of a DCS picture after verification and updating by a measurement point verification module and an empty path measurement point updating module according to whether a database path of the measurement point information is empty or not, and adding the measurement point information of which all the database paths are not empty into a subscription measurement point list;
a subscription message receiving and transmitting module: the system comprises a subscription measurement point list generation module, a lower computer, a real-time value message and a real-time value message, wherein the subscription measurement point list generation module is used for generating a subscription reading message according to the subscription measurement point list obtained by the subscription measurement point list generation module, and transmitting the subscription reading message to the lower computer;
and a database updating module: and the system is used for periodically updating the measuring point database according to the real-time value message fed back by the lower computer in the subscription message receiving and transmitting module.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the DCS screen site verification and subscription method when the computer program is executed.
A computer readable storage medium storing a computer program which when executed by a processor implements the steps of the DCS screen station verification and subscription method.
Compared with the prior art, the invention has the following beneficial technical effects:
according to the invention, the effective measuring point buffer area is arranged for quickly checking measuring point information, generating a measuring point subscription message, sending the message to the DCS lower computer to request to acquire related measuring point information, and accordingly completing local measuring point database updating, wherein the measuring point data updating adopts a parallel architecture, master-slave nodes are not arranged, any node actively sends the subscription message to the lower computer to request data, the structure is not limited, and the measuring point data acquisition is flexible; the invention adopts a picture measuring point subscription mechanism, only requests the measuring point information required by the current picture from the lower computer, avoids high-frequency request of all the measuring point information, and can effectively relieve the network flow pressure when the measuring point data quantity is large, avoid causing data blockage and ensure that the picture data is refreshed efficiently in real time.
Furthermore, the measuring point checking mechanism is complete and efficient, the two-time checking mechanism ensures the checking integrity and accuracy of the measuring points, and meanwhile, an effective measuring point buffer area mechanism is used to ensure that effective measuring points are directly obtained according to keywords, so that database inquiry and updating of all measuring points are avoided, and the checking efficiency of the measuring points is greatly improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
FIG. 1 is a schematic flow chart of a method for checking and subscribing DCS picture measurement points in a first embodiment of the invention;
FIG. 2 is a schematic diagram of a DCS picture measurement point verification and subscription system framework in a second embodiment of the present invention.
Detailed Description
The invention will be described in further detail with reference to the accompanying drawings and specific examples.
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Referring to fig. 1, a method for checking and subscribing DCS image measurement points includes the steps of:
s1: DCS picture measuring point information grouping;
grouping all measuring point information of a current DCS picture, wherein the measuring point information comprises the following attribute values: the method comprises the steps of measuring point identifiers, measuring point names, database paths, real-time values, measuring point validity and flag bits, adding measuring point information into an empty path measuring point list if the database paths of the measuring point information are empty, and adding non-empty path measuring point list if the database paths of the measuring point information are not empty.
S2: checking and updating the measuring point information in the non-empty path measuring point list, and updating the database path of the measuring point information in the empty path measuring point list;
the checking and updating of the measuring point information in the non-empty path measuring point list are specifically as follows:
traversing the non-empty path measuring point list in the S1, carrying out validity check and measuring point information update on all measuring point information in the non-empty path measuring point list by utilizing an effective measuring point buffer area, and setting a database path of invalid measuring point information to be empty;
specifically, the method comprises the following steps:
s21: traversing a non-empty path measuring point list, taking the measuring point name of the current measuring point information in the list as a key word, and inquiring an effective measuring point buffer area;
if the effective measuring point information related to the key word exists in the effective measuring point buffer area and the effective measuring point information meets a first constraint condition, setting a flag bit of the effective measuring point information as 0, setting a measuring point identifier as 0, adding the current measuring point information into a secondary checking list, and if the effective measuring point information does not meet the first constraint condition, setting a flag bit of the effective measuring point information as 1, and updating an attribute value corresponding to the current measuring point information by using the measuring point identifier and the measuring point name of the effective measuring point information in the effective measuring point buffer area;
wherein the first constraint comprises:
(1) the measuring point identifier of the effective measuring point information is 0;
(2) the measuring point effectiveness of the effective measuring point information is 0;
(3) inquiring the name of the measuring point obtained by the measuring point database according to the measuring point identifier of the effective measuring point information, wherein the name of the measuring point is not equal to the name of the measuring point of the effective measuring point information;
the effective measurement point information meets a first constraint condition specifically as follows: the effective survey point information satisfies one of the first constraint conditions.
If the effective measuring point information associated with the key word does not exist in the effective measuring point buffer area, the following judgment is carried out: if the current measurement point information meets the second constraint condition, setting the measurement point identifier of the measurement point information to be 0, adding the measurement point information into a secondary verification list, otherwise, taking the measurement point name of the current measurement point information as a keyword, generating effective measurement point information according to all attribute values of the current measurement point information, and adding the effective measurement point information into an effective measurement point buffer area;
the second constraint includes:
(1) the measuring point database does not have the measuring point identifier of the current measuring point information;
(2) inquiring the measured point name acquired by the measured point database by using the measured point identifier of the current measured point information, wherein the measured point name is not equal to the measured point name of the current measured point information;
(3) inquiring the validity of the measuring point obtained by the measuring point database to be 0 by using the measuring point identifier of the current measuring point information;
the current measurement point information meets a second constraint condition specifically comprises the following steps: the current site information satisfies one of the second constraints.
S22: traversing the secondary check list generated in the S21, adding a condition field with the effectiveness of the measuring point being 1 to a database path of the current measuring point information in the secondary check list, inquiring a measuring point database, and updating all attribute values of the current measuring point information and updating an effective measuring point cache area if the measuring point information with the effectiveness of the measuring point being 1 is successfully obtained again; if the acquisition of the measuring point information with the measuring point validity of 1 fails, the database path of the current measuring point information is emptied, and the measuring point validity is set to 0;
the specific rule for updating the effective measuring point buffer area is as follows:
the method comprises the steps of inquiring an effective measuring point buffer area by taking a measuring point name of current measuring point information as a key word, setting a flag bit of the effective measuring point information as 1 if the effective measuring point information related to the key word exists, and updating corresponding attribute values of the effective measuring point information by using all attribute values of the current measuring point information;
if the effective measuring point buffer area does not contain the effective measuring point information related to the key word, the measuring point name of the current measuring point information is used as the key word, the effective measuring point information is newly built according to all attribute values of the current measuring point information, and the newly built effective measuring point information is added into the effective measuring point buffer area.
The database path updating of the measuring point information in the empty path measuring point list comprises the following specific steps:
traversing the empty path measuring point list in the S1, recombining a database path of the current measuring point information one by one according to the measuring point names of the current measuring point information in the empty path measuring point list, and inquiring a measuring point database according to the database path so as to update the current measuring point information according to the inquiring result;
and after checking and updating the measuring point information in the non-empty path measuring point list and updating the database path of the measuring point information in the empty path measuring point list, obtaining all the measuring point information of the DCS picture after checking and updating.
S3: secondary grouping of DCS picture measuring point information;
according to whether the measuring point database path is empty or not, performing secondary grouping on all measuring point information of the DCS picture after verification and updating, and adding the measuring point information of which the database path is not empty into a subscription measuring point list;
s4: subscribing measuring points;
generating a subscription message according to the subscription measurement point list in the step S3, and transmitting the subscription message to a lower computer, wherein the lower computer feeds back a real-time value message of the measurement point information according to the measurement point information in the subscription message;
s5: updating a measuring point database;
and (4) periodically updating the measuring point database according to the real-time value message fed back by the lower computer in the step S4.
Example two
Referring to fig. 2, the present invention further provides a DCS image measurement point verification and subscription system, including:
and a grouping module: the method is used for grouping DCS picture measurement point information;
grouping all measuring point information of a current DCS picture, wherein the measuring point information comprises the following attribute values: the method comprises the steps of adding measurement point information into an empty path measurement point list if a database path of the measurement point information is empty, or adding into a non-empty path measurement point list if the database path of the measurement point information is empty;
and a measuring point checking module: the method is used for checking and updating the measuring point information in the non-empty path measuring point list;
traversing a non-empty path measuring point list formed in the grouping module, carrying out validity check and measuring point information update on all measuring point information in the non-empty path measuring point list by utilizing an effective measuring point buffer area, and setting a database path of invalid measuring point information to be empty;
and an empty path measuring point updating module: the database path is used for updating the measuring point information in the empty path measuring point list;
traversing an empty path measuring point list formed in the grouping module, recombining a database path of current measuring point information one by one according to the measuring point names of the current measuring point information in the empty path measuring point list, and inquiring a measuring point database according to the database path so as to update the current measuring point information according to the inquiring result;
the subscription measurement point list generation module: the method is used for secondarily grouping the DCS picture measuring point information;
according to whether the measuring point database path is empty or not, performing secondary grouping on all measuring point information of the DCS picture after verification and updating by the measuring point verification module and the empty path measuring point updating module, and adding the measuring point information of which all the database paths are not empty into a subscription measuring point list;
a subscription message receiving and transmitting module: the method is used for subscribing the measuring points;
generating a subscription message according to the subscription point list obtained by the subscription point list generating module, and transmitting the subscription message to a lower computer, wherein the lower computer feeds back a real-time value message of the measurement point information according to the measurement point information in the subscription message;
and a database updating module: the method is used for updating the measuring point database;
and periodically updating the measuring point database according to the real-time value message fed back by the lower computer in the subscription message receiving and transmitting module.
Example III
The invention provides a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the steps of the DCS picture measuring point checking and subscribing method when executing the computer program.
Example IV
The invention provides a computer readable storage medium storing a computer program which when executed by a processor implements the steps of the DCS picture measurement point verification and subscription method.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the foregoing embodiments are merely for illustrating the technical aspects of the present invention and not for limiting the scope thereof, and although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that various changes, modifications or equivalents may be made to the specific embodiments of the present invention after reading the present invention, and these changes, modifications or equivalents are within the scope of the invention as defined in the appended claims.

Claims (7)

1. The DCS picture measuring point checking and subscribing method is characterized by comprising the following steps of:
s1: grouping all measuring point information of a current DCS picture, wherein the measuring point information comprises the following attribute values: the method comprises the steps of adding measurement point information into an empty path measurement point list if a database path of the measurement point information is empty, or adding into a non-empty path measurement point list if the database path of the measurement point information is empty;
s2: traversing the non-empty path measuring point list in the S1, carrying out validity check and measuring point information update on all measuring point information in the non-empty path measuring point list by utilizing an effective measuring point buffer area, and setting a database path of invalid measuring point information to be empty; the method specifically comprises the following steps:
s21: traversing a non-empty path measuring point list, taking the measuring point name of the current measuring point information in the non-empty path measuring point list as a key word, and inquiring an effective measuring point buffer area;
if the effective measuring point information related to the key word exists in the effective measuring point buffer area and the effective measuring point information meets a first constraint condition, setting a flag bit of the effective measuring point information as 0, setting a measuring point identifier as 0, adding the current measuring point information into a secondary checking list, and if the effective measuring point information does not meet the first constraint condition, setting a flag bit of the effective measuring point information as 1, and updating an attribute value corresponding to the current measuring point information by using the measuring point identifier and the measuring point name of the effective measuring point information in the effective measuring point buffer area;
if the effective measuring point information associated with the key word does not exist in the effective measuring point buffer area, the following judgment is carried out: if the current measurement point information meets the second constraint condition, setting the measurement point identifier of the measurement point information to be 0, adding the measurement point information into a secondary verification list, otherwise, taking the measurement point name of the current measurement point information as a keyword, generating effective measurement point information according to all attribute values of the current measurement point information, and adding the effective measurement point information into an effective measurement point buffer area;
s22: traversing the secondary check list generated in the S21, adding a condition field with the effectiveness of the measuring point being 1 to a database path of the current measuring point information in the secondary check list, inquiring a measuring point database, and updating all attribute values of the current measuring point information and updating an effective measuring point cache area if the measuring point information with the effectiveness of the measuring point being 1 is successfully obtained again; if the acquisition of the measuring point information with the measuring point validity of 1 fails, the database path of the current measuring point information is emptied, and the measuring point validity is set to 0;
traversing the empty path measuring point list in the S1, recombining a database path of the current measuring point information one by one according to the measuring point names of the current measuring point information in the empty path measuring point list, and inquiring a measuring point database according to the database path so as to update the current measuring point information according to the inquiring result;
obtaining all measuring point information of the DCS picture after verification and update;
s3: according to whether the database paths of the measuring point information are empty, performing secondary grouping on all the measuring point information of the DCS picture after verification and updating, and adding the measuring point information with non-empty database paths into a subscription measuring point list;
s4: generating a subscription message according to the subscription measurement point list in the step S3, and transmitting the subscription message to a lower computer, wherein the lower computer feeds back a real-time value message of the measurement point information according to the measurement point information in the subscription message;
s5: and (4) periodically updating the measuring point database according to the real-time value message fed back by the lower computer in the step S4.
2. The DCS screen measurement point verification and subscription method of claim 1, wherein the first constraint of S22 comprises:
(1) the measuring point identifier of the effective measuring point information is 0;
(2) the measuring point effectiveness of the effective measuring point information is 0;
(3) inquiring the name of the measuring point obtained by the measuring point database according to the measuring point identifier of the effective measuring point information, wherein the name of the measuring point is not equal to the name of the measuring point of the effective measuring point information;
the effective measurement point information meets a first constraint condition specifically as follows: the effective survey point information satisfies one of the first constraint conditions.
3. The DCS screen measurement point verification and subscription method of claim 1, wherein the second constraint comprises:
(1) the measuring point database does not have the measuring point identifier of the current measuring point information;
(2) inquiring the measured point name acquired by the measured point database by using the measured point identifier of the current measured point information, wherein the measured point name is not equal to the measured point name of the current measured point information;
(3) inquiring the validity of the measuring point obtained by the measuring point database to be 0 by using the measuring point identifier of the current measuring point information;
the current measurement point information meets a second constraint condition specifically comprises the following steps: the current site information satisfies one of the second constraints.
4. The DCS screen measurement point verification and subscription method of claim 1, wherein the specific rule for updating the valid measurement point buffer in S22 is as follows:
the method comprises the steps of inquiring an effective measuring point buffer area by taking a measuring point name of current measuring point information as a key word, setting a flag bit of the effective measuring point information as 1 if the effective measuring point information related to the key word exists, and updating corresponding attribute values of the effective measuring point information by using all attribute values of the current measuring point information;
if the effective measuring point information associated with the key word does not exist in the effective measuring point buffer area, the measuring point name of the current measuring point information is used as the key word, the effective measuring point information is newly built according to all attribute values of the current measuring point information, and the newly built effective measuring point information is added into the effective measuring point buffer area.
5. DCS picture measurement point check-up and subscription system, its characterized in that includes:
and a grouping module: the method is used for grouping all the measurement point information of the current DCS picture, and the measurement point information comprises the following attribute values: the method comprises the steps of adding measurement point information into an empty path measurement point list if a database path of the measurement point information is empty, or adding into a non-empty path measurement point list if the database path of the measurement point information is empty;
and a measuring point checking module: the method comprises the steps of traversing a non-empty path measuring point list formed in a grouping module, carrying out validity check and measuring point information update on all measuring point information in the non-empty path measuring point list by utilizing an effective measuring point buffer area, and setting a database path of invalid measuring point information to be empty; the method specifically comprises the following steps:
s21: traversing a non-empty path measuring point list, taking the measuring point name of the current measuring point information in the non-empty path measuring point list as a key word, and inquiring an effective measuring point buffer area;
if the effective measuring point information related to the key word exists in the effective measuring point buffer area and the effective measuring point information meets a first constraint condition, setting a flag bit of the effective measuring point information as 0, setting a measuring point identifier as 0, adding the current measuring point information into a secondary checking list, and if the effective measuring point information does not meet the first constraint condition, setting a flag bit of the effective measuring point information as 1, and updating an attribute value corresponding to the current measuring point information by using the measuring point identifier and the measuring point name of the effective measuring point information in the effective measuring point buffer area;
if the effective measuring point information associated with the key word does not exist in the effective measuring point buffer area, the following judgment is carried out: if the current measurement point information meets the second constraint condition, setting the measurement point identifier of the measurement point information to be 0, adding the measurement point information into a secondary verification list, otherwise, taking the measurement point name of the current measurement point information as a keyword, generating effective measurement point information according to all attribute values of the current measurement point information, and adding the effective measurement point information into an effective measurement point buffer area;
s22: traversing the secondary check list generated in the S21, adding a condition field with the effectiveness of the measuring point being 1 to a database path of the current measuring point information in the secondary check list, inquiring a measuring point database, and updating all attribute values of the current measuring point information and updating an effective measuring point cache area if the measuring point information with the effectiveness of the measuring point being 1 is successfully obtained again; if the acquisition of the measuring point information with the measuring point validity of 1 fails, the database path of the current measuring point information is emptied, and the measuring point validity is set to 0;
and an empty path measuring point updating module: the method comprises the steps of traversing an empty path measuring point list formed in a grouping module, recombining a database path of current measuring point information one by one according to the measuring point names of the current measuring point information in the empty path measuring point list, inquiring a measuring point database according to the database path, and updating the current measuring point information according to an inquiring result;
the subscription measurement point list generation module: the method comprises the steps of performing secondary grouping on all the measurement point information of a DCS picture after verification and updating by a measurement point verification module and an empty path measurement point updating module according to whether a database path of the measurement point information is empty or not, and adding the measurement point information of which all the database paths are not empty into a subscription measurement point list;
a subscription message receiving and transmitting module: the system comprises a subscription measurement point list generation module, a lower computer, a real-time value message and a real-time value message, wherein the subscription measurement point list generation module is used for generating a subscription reading message according to the subscription measurement point list obtained by the subscription measurement point list generation module, and transmitting the subscription reading message to the lower computer;
and a database updating module: and the system is used for periodically updating the measuring point database according to the real-time value message fed back by the lower computer in the subscription message receiving and transmitting module.
6. Computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the DCS screen station verification and subscription method of any of claims 1 to 4 when the computer program is executed.
7. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the DCS screen site verification and subscription method of any one of claims 1 to 4.
CN202311487372.7A 2023-11-09 2023-11-09 DCS picture measuring point checking and subscribing method, system, equipment and storage medium Active CN117216115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311487372.7A CN117216115B (en) 2023-11-09 2023-11-09 DCS picture measuring point checking and subscribing method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311487372.7A CN117216115B (en) 2023-11-09 2023-11-09 DCS picture measuring point checking and subscribing method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117216115A CN117216115A (en) 2023-12-12
CN117216115B true CN117216115B (en) 2024-02-02

Family

ID=89043015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311487372.7A Active CN117216115B (en) 2023-11-09 2023-11-09 DCS picture measuring point checking and subscribing method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117216115B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019100717A (en) * 2017-11-28 2019-06-24 株式会社熊谷組 Survey support device and program
US11144562B1 (en) * 2020-05-26 2021-10-12 Shanghai Icekredit, Inc. Method and apparatus of indicator information determination
CN113568961A (en) * 2021-09-26 2021-10-29 西安热工研究院有限公司 Curve generation method and equipment for selecting measuring points through time marks and integrating alarm information
CN113747127A (en) * 2021-11-08 2021-12-03 西安热工研究院有限公司 DCS monitoring image measuring point positioning method, system, equipment and storage medium
CN113985843A (en) * 2021-10-26 2022-01-28 西安热工研究院有限公司 Method and system for updating point directory in real time by distributed control system
CN114118224A (en) * 2021-11-02 2022-03-01 中国运载火箭技术研究院 Neural network-based system-wide remote measurement parameter anomaly detection system
CN116500385A (en) * 2023-06-28 2023-07-28 南方电网数字电网研究院有限公司 Power transmission network monitoring and checking method, device, equipment and medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7877233B2 (en) * 2006-07-26 2011-01-25 Invensys Systems, Inc. Selectively presenting timestamped time-series data values for retrieved supervisory control and manufacturing/production parameters
US11429576B2 (en) * 2019-07-23 2022-08-30 Macrometa Corporation Methods and systems for garbage deletion in a document database

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019100717A (en) * 2017-11-28 2019-06-24 株式会社熊谷組 Survey support device and program
US11144562B1 (en) * 2020-05-26 2021-10-12 Shanghai Icekredit, Inc. Method and apparatus of indicator information determination
CN113568961A (en) * 2021-09-26 2021-10-29 西安热工研究院有限公司 Curve generation method and equipment for selecting measuring points through time marks and integrating alarm information
CN113985843A (en) * 2021-10-26 2022-01-28 西安热工研究院有限公司 Method and system for updating point directory in real time by distributed control system
CN114118224A (en) * 2021-11-02 2022-03-01 中国运载火箭技术研究院 Neural network-based system-wide remote measurement parameter anomaly detection system
CN113747127A (en) * 2021-11-08 2021-12-03 西安热工研究院有限公司 DCS monitoring image measuring point positioning method, system, equipment and storage medium
CN116500385A (en) * 2023-06-28 2023-07-28 南方电网数字电网研究院有限公司 Power transmission network monitoring and checking method, device, equipment and medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
300MW火电机组DCS改造及应用研究;李强;《中国优秀硕士学位论文全文数据库(工程科技Ⅱ辑)》;第C042-1899页 *
DCS综合智能校验系统;满宇航;《中国优秀硕士学位论文全文数据库(信息科技辑)》;第I138-335页 *
Fuzzy control for coal pulverizer based on DCS net;Zhang Xiao-hong etc.;《 Journal of North China Electric Power University》;第114-116页 *

Also Published As

Publication number Publication date
CN117216115A (en) 2023-12-12

Similar Documents

Publication Publication Date Title
JP4856627B2 (en) Partial query caching
US9348641B2 (en) System and method for performing a transaction in a massively parallel processing database
CN112434059B (en) Data processing method, data processing device, computer equipment and storage medium
CN105608086A (en) Transaction processing method and device of distributed database system
CN104572689A (en) Data synchronizing method, device and system
CN103810224A (en) Information persistence and query method and device
CN111324577B (en) Yml file reading and writing method and device
CN102882974A (en) Method for saving website access resource by website identification version number
CN109947729B (en) Real-time data analysis method and device
WO2020192141A1 (en) Method and device for simulating interface, computer apparatus, and storage medium
CN106354732A (en) Offline data version conflict resolution method for supporting concurrent cooperation
JP2020123320A (en) Method, apparatus, device and storage medium for managing index
CN113076729A (en) Method and system for importing report, readable storage medium and electronic equipment
CN107491463A (en) The optimization method and system of data query
JP4951138B2 (en) How to manage the database
WO2013157099A1 (en) Database management method, database system and program
CN117216115B (en) DCS picture measuring point checking and subscribing method, system, equipment and storage medium
CN110188081B (en) Log data storage method and device based on cassandra database and computer equipment
CN114647659A (en) Data processing method and device, electronic equipment and storage medium
CN109491988B (en) Data real-time association method supporting full-scale updating
CN106547898A (en) A kind of data processing method and device of distributed data base
JP2010039997A (en) Information-retrieving device, information-retrieving method, program, and recording medium
CN115687359A (en) Data table partitioning method and device, storage medium and computer equipment
WO2013082787A1 (en) Method, device, and system for deleting data in distributed storage system
JP5960798B2 (en) How to manage the database

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