CN112861485B - Nuclear power DCS control logic drawing processing method, device and equipment - Google Patents

Nuclear power DCS control logic drawing processing method, device and equipment Download PDF

Info

Publication number
CN112861485B
CN112861485B CN202110310228.0A CN202110310228A CN112861485B CN 112861485 B CN112861485 B CN 112861485B CN 202110310228 A CN202110310228 A CN 202110310228A CN 112861485 B CN112861485 B CN 112861485B
Authority
CN
China
Prior art keywords
control logic
nuclear power
module
dcs control
power dcs
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
CN202110310228.0A
Other languages
Chinese (zh)
Other versions
CN112861485A (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.)
Taishan Nuclear Power Joint Venture Co ltd
Original Assignee
Taishan Nuclear Power Joint Venture 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 Taishan Nuclear Power Joint Venture Co ltd filed Critical Taishan Nuclear Power Joint Venture Co ltd
Priority to CN202110310228.0A priority Critical patent/CN112861485B/en
Publication of CN112861485A publication Critical patent/CN112861485A/en
Application granted granted Critical
Publication of CN112861485B publication Critical patent/CN112861485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Programmable Controllers (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

A processing method, device and equipment of a nuclear power DCS control logic drawing are provided, wherein the drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module; determining a drawing area of the drawing according to the position information of the drawing information module, wherein the drawing area is an area outside the drawing information module in the drawing boundary of the nuclear power DCS control logic drawing; traversing all graphic block modules in the drawing area, and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing; the comment information module in the nuclear power DCS control logic drawing is processed according to the preset processing rule, so that the comment information module in the nuclear power DCS control logic drawing can be screened out quickly, and further the comment information module is processed according to the preset processing rule, and the processing efficiency of the DCS control logic drawing is improved.

Description

Nuclear power DCS control logic drawing processing method, device and equipment
Technical Field
The invention relates to the technical field of nuclear power, in particular to a method, a device and equipment for processing a nuclear power DCS control logic drawing.
Background
The nuclear power DCS (Digital Control System ) control logic drawing is used as a class 1 reference file of a nuclear power plant, and is one of important documents in the nuclear power working process. The nuclear power DCS control logic drawing is used as a working file, and the control logic contained in the nuclear power DCS control logic drawing is required to be completely consistent with the control logic in the field configuration software of the unit. In general, the nuclear power DCS control logic drawing is a copy derived from DCS configuration software, so that the control logic included in the nuclear power DCS control logic drawing is ensured to be completely consistent with the control logic in the unit field configuration software. However, in actual use, the nuclear power DCS control logic drawing faces the following situations:
(1) Because there are a lot of logic changes in the design stage of the EPR (Evolutionary Power Reactors, european advanced pressurized water reactor) unit, in order to facilitate management, a great amount of annotation content, such as annotation frames representing modification ranges of text description (TER/TST/CR (all special marks, representing the category of modification information), DCL (production engineering contact list) number, CIN (equipment modification list) number), various colors and shapes (rectangle, circle, ellipse, closed curve) and the like, is embedded in a nuclear power DCS control logic drawing by a designer;
(2) Because the field execution temporarily carries out logic change (such as TCA (temporary control change)), annotation marks are needed according to the flow requirement, such as a frame selection modification range, and the annotation contents such as work order numbers, executors, dates and the like are filled in, so that the follow-up traceability is facilitated;
(3) Because the annotation content does not belong to a DCS control logic module specified by the configuration software, the generation work of the configuration software on the DCS control logic is not interfered, so the DCS configuration software does not examine the format and description of the annotation content technically, and the specific style of the annotation content is not specified in the management flow, so that the annotation content in the nuclear power DCS control logic drawing has a certain randomness, and each designer has own habit, and may have different line widths, colors, filling, frame selection shapes and the like of the annotation content.
Due to the existence of the current situation, the annotation content with the striking color marks, which is necessary for various non-DCS control logics, occupies the striking position in the drawing, so that the interior of the nuclear power DCS control logic drawing is messy, the attention of a drawing user is disturbed, and even human errors can be caused.
At present, annotation content in a nuclear power DCS control logic drawing can be identified and deleted manually. Taking the machine 1 of the Taishan nuclear power plant as an example, 9671 nuclear power DCS control logic drawings contain 15 ten thousand annotation contents, the annotation content of each drawing is up to 15 on average, and the number of visible annotation contents contained in the largest drawing is up to 386. Because the data volume of the annotation content is huge, manual screening and deleting of the annotation content in the nuclear power DCS control logic drawing are very difficult and time-consuming, and therefore the processing efficiency of the nuclear power DCS control logic drawing is low.
Disclosure of Invention
The embodiment of the invention provides a processing method, a device and equipment for a nuclear power DCS control logic drawing, which are used for improving the processing efficiency of the DCS control logic drawing.
According to a first aspect, in one embodiment, a method for processing a control logic drawing of a nuclear DCS is provided, including:
acquiring a nuclear power DCS control logic drawing, wherein the nuclear power DCS control logic drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module;
determining a drawing area of the nuclear power DCS control logic drawing according to the position information of the drawing information module, wherein the drawing area is an area outside the drawing information module in the drawing boundary of the nuclear power DCS control logic drawing;
traversing all graphic block modules in the drawing area, and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing;
and processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule.
Optionally, the processing the annotation information module in the nuclear power DCS control logic drawing according to the preset processing rule includes:
deleting or hiding all or annotation information modules meeting a first preset condition in the nuclear power DCS control logic drawing.
Optionally, the processing the annotation information module in the nuclear power DCS control logic drawing according to the preset processing rule includes:
and carrying out format correction on all annotation information modules in the nuclear power DCS control logic drawing or annotation information modules meeting a second preset condition according to a preset correction rule so as to obtain annotation information modules with uniform formats.
Optionally, before the processing the annotation information module in the nuclear power DCS control logic drawing according to the preset processing rule, the method further includes:
extracting and storing characteristic information of an annotation information module in the nuclear power DCS control logic drawing, wherein the characteristic information comprises the following components: the modules of the annotation information module identify information, location, shape, size, border line width, text, font size, layer and color, and control logic associated with the annotation information module.
Optionally, the method further comprises: and restoring the deleted or displayed hidden annotation information module in the nuclear power DCS control logic drawing according to the stored characteristic information.
Optionally, the method further comprises:
drawing identification information of a nuclear power DCS control logic drawing is extracted and stored;
creating a corresponding relation between drawing identification information and module identification information of the annotation information module;
and searching the nuclear power DCS control logic drawing according to the corresponding relation.
Optionally, the method further comprises:
extracting temporary logic change information from the text of the annotation information module, wherein the temporary logic change information is used for recording the modified content of the control logic module associated with the annotation information module;
and if the extracted temporary logic change information is inconsistent with the content included in the control logic module associated with the annotation information module, determining that annotation errors exist.
According to a second aspect, in one embodiment, a processing device for a control logic drawing of a nuclear DCS is provided, including:
the system comprises an acquisition module, a control logic module and an annotation information module, wherein the acquisition module is used for acquiring a nuclear power DCS control logic drawing, and the nuclear power DCS control logic drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module;
the first determining module is used for determining a drawing area of the nuclear power DCS control logic drawing according to the position information of the drawing information module, wherein the drawing area is an area outside the drawing information module in the drawing boundary of the nuclear power DCS control logic drawing;
the second determining module is used for traversing all the graphic block modules in the drawing area and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing;
and the processing module is used for processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule.
According to a third aspect, an embodiment provides an electronic device, including: a memory for storing a program; and the processor is used for executing the program stored in the memory to realize the processing method of the nuclear power DCS control logic drawing according to any one of the first aspect.
According to a fourth aspect, an embodiment provides a computer readable storage medium, where a program is stored, where the program is executable by a processor to implement a method for processing a nuclear power DCS control logic drawing according to any one of the first aspects.
The embodiment of the invention provides a processing method, a device and equipment of a nuclear power DCS control logic drawing, wherein the nuclear power DCS control logic drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module; determining a drawing area of a nuclear power DCS control logic drawing according to the position information of the drawing information module, wherein the drawing area is an area outside the drawing information module in a drawing boundary of the nuclear power DCS control logic drawing; traversing all graphic block modules in the drawing area, and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing; and processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule. According to the position information of the drawing information module and the preset field in the custom field attribute of the control logic module, the annotation information module in the nuclear power DCS control logic drawing can be rapidly screened out, and further the annotation information module is processed according to the preset processing rule, so that a large number of workers are not required to process the annotation content in the nuclear power DCS control logic drawing, the labor input cost for processing the nuclear power DCS control logic drawing is reduced, the processing time of the nuclear power DCS control logic drawing is saved, and the processing efficiency of the DCS control logic drawing is improved.
Drawings
FIG. 1 is a schematic flow chart of an embodiment I of a method for processing a control logic drawing of a nuclear power DCS according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a control logic drawing of a nuclear power DCS according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a second embodiment of a method for processing a control logic drawing of a nuclear power DCS according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of an embodiment III of a method for processing a control logic drawing of a nuclear power DCS according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of an embodiment IV of a method for processing a control logic drawing of a nuclear power DCS according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a processing device for a control logic drawing of a nuclear DCS according to an embodiment of the present invention.
Detailed Description
The invention will be described in further detail below with reference to the drawings by means of specific embodiments. Wherein like elements in different embodiments are numbered alike in association. In the following embodiments, numerous specific details are set forth in order to provide a better understanding of the present application. However, one skilled in the art will readily recognize that some of the features may be omitted, or replaced by other elements, materials, or methods in different situations. In some instances, some operations associated with the present application have not been shown or described in the specification to avoid obscuring the core portions of the present application, and may not be necessary for a person skilled in the art to describe in detail the relevant operations based on the description herein and the general knowledge of one skilled in the art.
Furthermore, the described features, operations, or characteristics of the description may be combined in any suitable manner in various embodiments. Also, various steps or acts in the method descriptions may be interchanged or modified in a manner apparent to those of ordinary skill in the art. Thus, the various orders in the description and drawings are for clarity of description of only certain embodiments, and are not meant to be required orders unless otherwise indicated.
The numbering of the components itself, e.g. "first", "second", etc., is used herein merely to distinguish between the described objects and does not have any sequential or technical meaning. The terms "coupled" and "connected," as used herein, are intended to encompass both direct and indirect coupling (coupling), unless otherwise indicated.
Because the data volume of the annotation content in the nuclear power DCS control logic drawing is quite huge, manual screening and deleting of the annotation content in the nuclear power DCS control logic drawing are quite difficult and time-consuming, and therefore the processing efficiency of the nuclear power DCS control logic drawing is low. In order to improve the processing efficiency of a DCS control logic drawing, the embodiment of the invention provides a method, a device and equipment for processing the nuclear power DCS control logic drawing, and the method, the device and the equipment are respectively described in detail below.
Fig. 1 is a schematic flow chart of an embodiment one of a processing method of a control logic drawing of a nuclear DCS according to an embodiment of the present invention, where an execution body of the embodiment of the present invention may be any device having a processing capability. As shown in fig. 1, the method for processing the control logic drawing of the nuclear DCS according to the present embodiment may include:
s101, obtaining a nuclear power DCS control logic drawing.
In specific implementation, a nuclear power DCS control logic electronic drawing in an original Visio (software for drawing a flow chart and a schematic diagram) format can be derived from nuclear power DCS configuration software. Fig. 2 is a schematic structural diagram of a nuclear power DCS control logic drawing according to an embodiment of the present invention, and as shown in fig. 2, the nuclear power DCS control logic drawing may include a drawing boundary 210, a drawing information module 220, a control logic module 230, and an annotation information module 240. Wherein:
(1) The position of the drawing information module 220 can be fixed in the lower right corner area of the nuclear power DCS control logic electronic drawing, so as to describe the information of the nuclear power DCS control logic electronic drawing, such as drawing name, drawing ID (Identity Document, identity number), code, description, diagrammer, drawing version, page number, etc.;
(2) The control logic module 230 in practical application includes a large number of control logic components, and the connection between each control logic component is more complex, and the control logic module 230 in fig. 2 is only simplified;
(3) The annotation information module 240 may be overlaid on a portion of the control logic module 230 to represent the scope of the control logic module to which the annotation information module relates; specifically, the annotation information module 240 may be one or any combination of an elliptical annotation box, a rectangular annotation box, a closed straight line or curve annotation box, and an annotation text, as shown in fig. 2, where four forms of annotation information modules 240 are included in fig. 2: the curve comment box, the oval comment box, the rectangular comment box and the comment text, optionally, the comment text can be directly located inside the comment box or outside the comment box, the comment information module 240 can also be nested, that is, when other comment box combinations exist in one comment box, the comment information module 240 has no unified standard in the border line width, the comment text, the font size, the layer, the color and the like, and different operators can have different settings.
S102, determining a drawing area of a nuclear power DCS control logic drawing according to the position information of the drawing information module.
The drawing area can be an area inside a drawing boundary and outside a drawing information module in a nuclear power DCS control logic drawing. In fig. 2, the positions of the control logic module 230 and the annotation information module 240 are located in any area outside the range of the drawing border 210, i.e., the drawing area, of the drawing information module 220. Specifically, after the nuclear power DCS control logic drawing is obtained, the drawing area can be comprehensively calculated according to the page layout of the nuclear power DCS control logic drawing, such as the width, the height, the margin, the size of a drawing information module and the like of the drawing.
Because the position of the drawing information module in the nuclear power DCS control logic drawing is fixed, the drawing information module can be removed from the area within the drawing boundary, and the control logic module and the annotation information module are left for the next screening.
And S103, traversing all the graphic block modules in the drawing area, and determining the graphic block modules which do not comprise the preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing.
Because the control logic module in the DCS configuration software designs certain preset fields, such as UUID (Universally Unique Identifier, universal unique identifier), device ID, etc., in the custom field attributes for interaction with the underlying database. The annotation information module and the drawing information module do not allow the preset fields in the control logic module, so that the annotation information module in the nuclear power DCS control logic drawing can be screened out through the preset fields.
S104, processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule.
According to the processing method of the nuclear power DCS control logic drawing, the nuclear power DCS control logic drawing is obtained, and the nuclear power DCS control logic drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module; determining a drawing area of a nuclear power DCS control logic drawing according to the position information of the drawing information module, wherein the drawing area is an area outside the drawing information module in a drawing boundary of the nuclear power DCS control logic drawing; traversing all graphic block modules in the drawing area, and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing; and processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule. According to the position information of the drawing information module and the preset field in the custom field attribute of the control logic module, the annotation information module in the nuclear power DCS control logic drawing can be rapidly screened out, and further the annotation information module is processed according to the preset processing rule, so that a large number of workers are not required to process the annotation content in the nuclear power DCS control logic drawing, the labor input cost for processing the nuclear power DCS control logic drawing is reduced, the processing time of the nuclear power DCS control logic drawing is saved, and the processing efficiency of the DCS control logic drawing is improved.
Fig. 3 is a schematic flow chart of an embodiment two of a method for processing a nuclear power DCS control logic drawing according to an embodiment of the present invention, as shown in fig. 3, where the method for processing a nuclear power DCS control logic drawing according to the embodiment may include:
s301, obtaining a nuclear power DCS control logic drawing.
The nuclear power DCS control logic drawing can comprise a drawing boundary, a drawing information module, a control logic module and an annotation information module.
S302, determining a drawing area of a nuclear power DCS control logic drawing according to the position information of the drawing information module.
The drawing area can be an area outside a drawing information module in a drawing boundary of a nuclear power DCS control logic drawing.
S303, traversing all the graphic block modules in the drawing area, and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing.
The specific implementation of S301 to S303 may refer to the description of S101 to S103 in the above embodiment one.
S304, deleting or hiding all annotation information modules in the nuclear power DCS control logic drawing or meeting a first preset condition.
Specifically, all annotation information modules in the nuclear power DCS control logic drawing can be deleted or hidden, so that a clean nuclear power DCS control logic drawing which does not contain any annotation content is obtained; the annotation information module meeting the first preset condition in the nuclear power DCS control logic drawing can be deleted or hidden, and in particular implementation, the annotation information module with specified characteristics (such as a specified font, a specified border color, a specified annotation frame shape, a specific descriptive text and the like) in the nuclear power DCS control logic drawing can be deleted or hidden. For example, the annotation information module with the annotation frame shape of "curve" in the nuclear power DCS control logic drawing may be deleted or hidden. All annotation information blocks in the nuclear power DCS control logic drawing or annotation information blocks meeting the first preset condition can be set to be hidden and invisible, so that the same effect of physical deletion is achieved.
According to the processing method of the nuclear power DCS control logic drawing, provided by the embodiment of the invention, the nuclear power DCS control logic drawing which does not contain or only contains specific annotation information can be obtained by deleting or hiding all or the annotation information module meeting the first preset condition in the nuclear power DCS control logic drawing, so that the DCS control logic drawing accords with the nuclear power document management specification, the interior of the nuclear power DCS control logic drawing is not disordered, and the attention of a drawing user is not disturbed.
Fig. 4 is a schematic flow chart of an embodiment three of a method for processing a nuclear power DCS control logic drawing according to an embodiment of the present invention, as shown in fig. 4, where the method for processing a nuclear power DCS control logic drawing according to the embodiment may include:
s401, obtaining a nuclear power DCS control logic drawing.
The nuclear power DCS control logic drawing can comprise a drawing boundary, a drawing information module, a control logic module and an annotation information module.
S402, determining a drawing area of a nuclear power DCS control logic drawing according to the position information of the drawing information module.
The drawing area can be an area outside a drawing information module in a drawing boundary of a nuclear power DCS control logic drawing.
S403, traversing all the graphic block modules in the drawing area, and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing.
The specific implementation of S401 to S403 may refer to the description of S101 to S103 in the above embodiment one.
S404, carrying out format correction on all annotation information modules in the nuclear power DCS control logic drawing or annotation information modules meeting a second preset condition according to a preset correction rule to obtain annotation information modules with uniform formats.
Because the shape (elliptical annotation frame, rectangular annotation frame, closed straight line or curve annotation frame, only annotation text), the border line width, the font size, the layer where the text is located, the color and the like of the annotation information module are not unified standards, the annotation content is disordered, and therefore the annotation information module which completely or partially accords with the specified characteristics can be subjected to format correction according to the preset correction rules. For example, the font color of the annotation text included in all the annotation information modules is changed to be blue, so that in the working process, an operator can determine the annotation content as long as the operator sees the blue text; for another example, a certain nuclear DCS control logic drawing contains 15 pieces of annotation content (i.e., 15 annotation information modules), wherein 10 annotation information modules are in the shape of an oval annotation frame, 3 annotation information modules are in the shape of a rectangular annotation frame, 2 annotation information modules are in the shape of a curve annotation frame, and the shape of 5 annotation information modules in the shape of the rectangular annotation frame and the shape of the curve annotation frame can be modified to be an oval annotation frame, and an operator can determine the annotation content as long as seeing the oval annotation frame in the working process.
According to the processing method of the nuclear power DCS control logic drawing, format correction is carried out on all annotation information modules in the nuclear power DCS control logic drawing or annotation information modules meeting second preset conditions according to the preset correction rules, so that annotation information modules with uniform formats can be obtained, once the formats of all the annotation information modules are unified, the interior of the nuclear power DCS control logic drawing is not disordered, attention of a drawing user is not disturbed, and the DCS control logic drawing accords with nuclear power document management specifications.
Fig. 5 is a flow chart of an embodiment four of a method for processing a nuclear power DCS control logic drawing according to an embodiment of the present invention, as shown in fig. 5, where the method for processing a nuclear power DCS control logic drawing according to the embodiment may include:
s501, obtaining a nuclear power DCS control logic drawing.
The nuclear power DCS control logic drawing can comprise a drawing boundary, a drawing information module, a control logic module and an annotation information module.
S502, determining a drawing area of a nuclear power DCS control logic drawing according to the position information of the drawing information module.
The drawing area can be an area outside a drawing information module in a drawing boundary of a nuclear power DCS control logic drawing.
S503, traversing all graphic block modules in the drawing area, and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing.
The specific implementation of S501-S503 may refer to the description of S101-S103 in the above embodiment one.
S504, extracting and storing characteristic information of the annotation information module in the nuclear power DCS control logic drawing.
Wherein, the characteristic information may include: the modules of the annotation information module identify information, location, shape, size, border line width, text, font size, layer and color, and a control logic module associated with the annotation information module. It should be noted that color, shape, text, border line width, size, etc. are important features of the annotation information module: the color and the shape are main causes of internal disorder of a nuclear power DCS control logic drawing; the annotation text contains visual explanation of the annotation, and can be further summarized and searched; a control logic module within the area defined by the position and size of the border is associated with the annotation information module. For example, in a DCS control logic drawing file in the Visio format, the module identification information may be defined as the shape ID of the annotation information module, which is unique in the Visio file and can facilitate quick location and further automation operations, such as deletion, modification, extraction of shape information, etc., via the software interface.
The DCS control logic drawing may be stored in a vector diagram format (e.g., a Visio format), where each graphic module may store a shape drawing instruction of the respective module, for example, a shape drawing instruction of a rectangle (x 1, y1, x2, y 2) is "movto (x 1, y 1), lineTo (x 2, y 2), lineTo (x 1, y 1)", and returns to the starting point after drawing a circle from the starting point to form a closed figure, and other shapes such as an ellipse, a cloud image, and a closed curve are known in the same way. Thus, upon determining the shape of the annotation information module (e.g., belonging to one or any combination of an oval annotation box, a rectangular annotation box, a closed straight or curved annotation box, and an annotation text), the shape characteristics of each annotation information module can be matched by the vector drawing information of the graphic module stored in the drawing. Further, the size of the closed shape can be further calculated by vector drawing information (such as a series of coordinate points in a drawing instruction) of the graphic module stored in the drawing paper: the region contained in each annotation information module can be accurately calculated; the area included in each annotation information module can be simplified into a rectangular area, for example, the leftmost, rightmost, uppermost and lowermost values of the annotation information module are traversed, so that the size of the rectangular area which can completely enclose the annotation information module can be obtained, and the size of the annotation information module can be obtained.
Specifically, by performing a geometric operation on the area included in the annotation information module and the area included in the control logic module, it may be determined whether the control logic module is associated with the annotation information module, for example, when a certain control logic module is located entirely inside the annotation information module, or when a large portion of the area (a threshold is set, for example, 2/3) of a certain control logic module is included in the annotation information module, or when the edge distance between the control logic module and the annotation information module is less than a preset distance threshold, it is determined that the control logic module is associated with the annotation information module.
S505, deleting or hiding all annotation information modules in the nuclear power DCS control logic drawing or meeting a first preset condition.
S506, restoring the deleted or displayed hidden annotation information module in the nuclear power DCS control logic drawing according to the stored characteristic information.
When it is desired to restore a specified annotation information module, if that annotation information module is also present in the nuclear power DCS control logic drawing but is only hidden (e.g., set to hide from view), then it is set to "visible"; if the annotation information module has been deleted, the annotation information module may be redrawn based on the stored characteristic information (module identification information, location, shape, size, border line width, text, font size, layer and color of the annotation information module, and control logic module associated with the annotation information module). Optionally, if the recovered annotation information module is at the top layer, the normal control logic module may be blocked after the annotation information module is recovered, where the situation belongs to an irregular drawing format, and the control logic module may be set to be displayed on the recovered annotation information module and not blocked.
According to the processing method of the nuclear power DCS control logic drawing, the deleted or displayed annotation information module is restored in the nuclear power DCS control logic drawing according to the stored characteristic information, and all or part of the deleted or hidden annotation information module can be restored or displayed in a reverse mode.
As an implementation manner, on the basis of the foregoing embodiment, the method for processing a control logic drawing of a nuclear power DCS according to the embodiment of the present invention may further include: drawing identification information (such as drawing ID) of the nuclear power DCS control logic drawing is extracted and stored, wherein the drawing identification information can be the file name of the nuclear power DCS control logic drawing and can also be included in a drawing information module; creating a correspondence between drawing identification information and module identification information of an annotation information module (for example, in a drawing file in a visual format, the module identification information may be defined as a shape ID of the annotation information module, and the ID is unique in the visual file); and searching the nuclear power DCS control logic drawing according to the corresponding relation. By way of example, according to the correspondence between the drawing identification information and the module identification information of the annotation information module (that is, the nuclear DCS control logic drawing is associated with each annotation information module included in the nuclear DCS control logic drawing), a nuclear DCS control logic drawing affiliated information retrieval system is constructed, so that all or part of characteristic information of each annotation information module included in a certain nuclear DCS control logic drawing can be quickly retrieved and displayed, all drawings related to a certain annotation information module and all control logic modules included in the nuclear DCS control logic drawing can be quickly retrieved and displayed, each annotation information module can be classified according to colors or according to specified texts, specified characteristic information of the specified drawing can be searched, annotation information modules including certain specific annotation texts can be searched, counted and output, and the like.
As an implementation manner, on the basis of the foregoing embodiment, the method for processing a control logic drawing of a nuclear power DCS according to the embodiment of the present invention may further include: extracting temporary logic change information from the text of the annotation information module, wherein the temporary logic change information is used for recording the modification content of the control logic module associated with the annotation information module; if the extracted temporary logic change information is inconsistent with the content included in the control logic module associated with the annotation information module, determining that an annotation error exists.
Assuming that the control logic module B associated with the annotation information module a includes the content of sub-module "B1", the extracted temporary logic change information includes: modifying the sub-module "B1" in the control logic module B associated with the annotation information module a to "B2", i.e., the extracted temporary logic change information characterizes the content included in the control logic module B as sub-module "B2", it can be seen that the extracted temporary logic change information and the content included in the control logic module associated with the annotation information module are inconsistent at this time, and it is determined that there is an annotation error. For example, a nuclear power DCS control logic drawing and a marked control logic module related to a certain batch modification can be extracted; the temporary logic change information (such as TCA) is extracted from the annotation information module, and is compared and verified with the control logic module related to modification, so that some TCAs are found to be implemented but not annotated, or some TCAs are cancelled but not deleted, or some TCA annotation information is not standard (such as no worksheet number, executor, date, etc.) and then prompt information can be output to prompt that annotation errors exist. By the aid of the method, relevant management departments can conveniently conduct auxiliary analysis and management.
Fig. 6 is a schematic structural diagram of a processing device for a nuclear power DCS control logic drawing according to an embodiment of the present invention, and as shown in fig. 6, a processing device 60 for a nuclear power DCS control logic drawing may include: the system comprises an acquisition module 610, a first determination module 620, a second determination module 630 and a processing module 640.
The obtaining module 610 may be configured to obtain a nuclear power DCS control logic drawing, where the nuclear power DCS control logic drawing includes a drawing boundary, a drawing information module, a control logic module, and an annotation information module.
The first determining module 620 may be configured to determine, according to the position information of the drawing information module, a drawing area of the nuclear DCS control logic drawing, where the drawing area is an area outside the drawing information module within a drawing boundary in the nuclear DCS control logic drawing.
The second determining module 630 may be configured to traverse all the graphic block modules in the drawing area, and determine the graphic block module that does not include the preset field in the custom field attribute as the comment information module in the nuclear DCS control logic drawing.
The processing module 640 may be configured to process the annotation information module in the nuclear DCS control logic drawing according to a preset processing rule.
According to the processing device for the nuclear power DCS control logic drawing, which is provided by the embodiment of the invention, the nuclear power DCS control logic drawing is obtained through the obtaining module, and the nuclear power DCS control logic drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module; determining a drawing area of a nuclear power DCS control logic drawing according to the position information of the drawing information module through a first determining module, wherein the drawing area is an area outside the drawing information module in a drawing boundary of the nuclear power DCS control logic drawing; traversing all graphic block modules in the drawing area through a first determining module, and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing; and processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule through the processing module. According to the position information of the drawing information module and the preset field in the custom field attribute of the control logic module, the annotation information module in the nuclear power DCS control logic drawing can be rapidly screened out, and further the annotation information module is processed according to the preset processing rule, so that a large number of workers are not required to process the annotation content in the nuclear power DCS control logic drawing, the labor input cost for processing the nuclear power DCS control logic drawing is reduced, the processing time of the nuclear power DCS control logic drawing is saved, and the processing efficiency of the DCS control logic drawing is improved.
Optionally, the processing module 640 may be specifically configured to delete or hide all of the nuclear DCS control logic drawings or the comment information module that satisfies the first preset condition.
Optionally, the processing module 640 may be specifically configured to perform format correction on all annotation information modules in the nuclear DCS control logic drawing or annotation information modules meeting the second preset condition according to a preset correction rule, so as to obtain annotation information modules with uniform formats.
Optionally, the processing device 60 of the nuclear power DCS control logic drawing may further include: the storage module (not shown in the figure) extracts and stores the characteristic information of the annotation information module in the nuclear power DCS control logic drawing, wherein the characteristic information comprises: the modules of the annotation information module identify information, location, shape, size, border line width, text, font size, layer and color, and a control logic module associated with the annotation information module.
Optionally, the processing module 640 may be specifically configured to restore, according to the stored feature information, the deleted or hidden annotation information module in the nuclear DCS control logic drawing.
Optionally, the processing module 640 may be specifically configured to extract and store drawing identification information of a nuclear power DCS control logic drawing; creating a corresponding relation between drawing identification information and module identification information of the annotation information module; and searching the nuclear power DCS control logic drawing according to the corresponding relation.
Optionally, the processing module 640 may be specifically configured to extract temporary logic change information from the text of the annotation information module, where the temporary logic change information is used to record the modified content of the control logic module associated with the annotation information module; if the extracted temporary logic change information is inconsistent with the content included in the control logic module associated with the annotation information module, determining that an annotation error exists.
In addition, corresponding to the method for processing the nuclear power DCS control logic drawing provided in the above embodiment, the embodiment of the present invention further provides an electronic device, where the electronic device may include: a memory for storing a program; and the processor is used for executing the program stored in the memory to realize all the steps of the processing method of the nuclear power DCS control logic drawing provided by the embodiment of the invention.
In addition, corresponding to the method for processing the nuclear power DCS control logic drawing provided by the above embodiment, the embodiment of the invention further provides a computer readable storage medium, in which computer executable instructions are stored, and when the computer executable instructions are executed by a processor, all the steps of the method for processing the nuclear power DCS control logic drawing of the embodiment of the invention are realized.
Those skilled in the art will appreciate that all or part of the functions of the various methods in the above embodiments may be implemented by hardware, or may be implemented by a computer program. When all or part of the functions in the above embodiments are implemented by means of a computer program, the program may be stored in a computer readable storage medium, and the storage medium may include: read-only memory, random access memory, magnetic disk, optical disk, hard disk, etc., and the program is executed by a computer to realize the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the functions described above can be realized. In addition, when all or part of the functions in the above embodiments are implemented by means of a computer program, the program may be stored in a storage medium such as a server, another computer, a magnetic disk, an optical disk, a flash disk, or a removable hard disk, and the program in the above embodiments may be implemented by downloading or copying the program into a memory of a local device or updating a version of a system of the local device, and when the program in the memory is executed by a processor.
The foregoing description of the invention has been presented for purposes of illustration and description, and is not intended to be limiting. Several simple deductions, modifications or substitutions may also be made by a person skilled in the art to which the invention pertains, based on the idea of the invention.

Claims (7)

1. The processing method of the nuclear power DCS control logic drawing is characterized by comprising the following steps of:
acquiring a nuclear power DCS control logic drawing, wherein the nuclear power DCS control logic drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module;
determining a drawing area of the nuclear power DCS control logic drawing according to the position information of the drawing information module, wherein the drawing area is an area outside the drawing information module in the drawing boundary of the nuclear power DCS control logic drawing;
traversing all graphic block modules in the drawing area, and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing;
processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule;
the processing of the annotation information module in the nuclear power DCS control logic drawing according to the preset processing rule comprises the following steps:
deleting or hiding all or annotation information modules meeting a first preset condition in the nuclear power DCS control logic drawing;
carrying out format correction on all annotation information modules in the nuclear power DCS control logic drawing or annotation information modules meeting a second preset condition according to a preset correction rule to obtain annotation information modules with uniform formats; before the annotation information module in the nuclear power DCS control logic drawing is processed according to a preset processing rule, the method further comprises the following steps:
extracting and storing characteristic information of an annotation information module in the nuclear power DCS control logic drawing, wherein the characteristic information comprises the following components: the modules of the annotation information module identify information, location, shape, size, border line width, text, font size, layer and color, and control logic associated with the annotation information module.
2. The method of claim 1, wherein the method further comprises:
and restoring the deleted or displayed hidden annotation information module in the nuclear power DCS control logic drawing according to the stored characteristic information.
3. The method of claim 1, wherein the method further comprises:
drawing identification information of a nuclear power DCS control logic drawing is extracted and stored;
creating a corresponding relation between drawing identification information and module identification information of the annotation information module;
and searching the nuclear power DCS control logic drawing according to the corresponding relation.
4. The method of claim 1, wherein the method further comprises:
extracting temporary logic change information from the text of the annotation information module, wherein the temporary logic change information is used for recording the modified content of the control logic module associated with the annotation information module;
and if the extracted temporary logic change information is inconsistent with the content included in the control logic module associated with the annotation information module, determining that annotation errors exist.
5. A processing device for a nuclear DCS control logic drawing, characterized in that it is used to apply the processing method according to any one of claims 1 to 4, said processing device comprising:
the system comprises an acquisition module, a control logic module and an annotation information module, wherein the acquisition module is used for acquiring a nuclear power DCS control logic drawing, and the nuclear power DCS control logic drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module;
the first determining module is used for determining a drawing area of the nuclear power DCS control logic drawing according to the position information of the drawing information module, wherein the drawing area is an area outside the drawing information module in the drawing boundary of the nuclear power DCS control logic drawing;
the second determining module is used for traversing all the graphic block modules in the drawing area and determining the graphic block modules which do not comprise preset fields in the custom field attributes as annotation information modules in the nuclear power DCS control logic drawing;
and the processing module is used for processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule.
6. An electronic device, comprising:
a memory for storing a program;
a processor for implementing the method according to any one of claims 1-4 by executing a program stored in said memory.
7. A computer readable storage medium, characterized in that the medium has stored thereon a program, which is executable by a processor to implement the method of any of claims 1-4.
CN202110310228.0A 2021-03-23 2021-03-23 Nuclear power DCS control logic drawing processing method, device and equipment Active CN112861485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110310228.0A CN112861485B (en) 2021-03-23 2021-03-23 Nuclear power DCS control logic drawing processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110310228.0A CN112861485B (en) 2021-03-23 2021-03-23 Nuclear power DCS control logic drawing processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN112861485A CN112861485A (en) 2021-05-28
CN112861485B true CN112861485B (en) 2024-02-09

Family

ID=75992453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110310228.0A Active CN112861485B (en) 2021-03-23 2021-03-23 Nuclear power DCS control logic drawing processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN112861485B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114065330B (en) * 2021-11-24 2023-11-21 中国核动力研究设计院 Electronic drawing generation system and method of DCS (distributed control system)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06168286A (en) * 1992-12-01 1994-06-14 Matsushita Electric Ind Co Ltd Method and device for extracting cad drawing comment
CN103246751A (en) * 2013-05-28 2013-08-14 国家电网公司 Secondary drawing information identification and reading system
CN111783562A (en) * 2020-06-12 2020-10-16 万翼科技有限公司 Intelligent image examination method and related device
CN111814664A (en) * 2020-07-07 2020-10-23 广联达科技股份有限公司 Method and device for identifying marks in drawing, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9632994B2 (en) * 2011-03-11 2017-04-25 Microsoft Technology Licensing, Llc Graphical user interface that supports document annotation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06168286A (en) * 1992-12-01 1994-06-14 Matsushita Electric Ind Co Ltd Method and device for extracting cad drawing comment
CN103246751A (en) * 2013-05-28 2013-08-14 国家电网公司 Secondary drawing information identification and reading system
CN111783562A (en) * 2020-06-12 2020-10-16 万翼科技有限公司 Intelligent image examination method and related device
CN111814664A (en) * 2020-07-07 2020-10-23 广联达科技股份有限公司 Method and device for identifying marks in drawing, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CAD图层管理在线束图纸标准化中的应用;宋成 等;汽车电器(02);第1-3页 *

Also Published As

Publication number Publication date
CN112861485A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN102194123B (en) Method and device for defining table template
CN110968667B (en) Periodical and literature table extraction method based on text state characteristics
US10691936B2 (en) Column inferencer based on generated border pieces and column borders
AU2019229348B2 (en) Pre-filtering for visual object searching of documents
US20220309226A1 (en) Electronic form generation from electronic documents
US10762377B2 (en) Floating form processing based on topological structures of documents
CN112861485B (en) Nuclear power DCS control logic drawing processing method, device and equipment
JP2008282149A (en) Image processor, image processing method and image processing program
JP4518212B2 (en) Image processing apparatus and program
JP6604006B2 (en) Document management system, document management method, and document management program
JP5791115B2 (en) Image region dividing apparatus, method and program thereof
Ondrejcek et al. Information extraction from scanned engineering drawings
JP6384161B2 (en) Document masking system
JP4334987B2 (en) DTP editing apparatus having area designation function and data cutout function
JP4213558B2 (en) Document layout analysis program, computer-readable storage medium storing document layout analysis program, document layout analysis method, and document layout analysis apparatus
JP5331015B2 (en) Drawing management system and drawing management method
Chao Graphics extraction in a PDF document
JP2004326490A (en) Image processing method
JP2009157470A (en) Electronic document processor and program
CN114780482A (en) Data and document association method and electronic equipment
CN114722055A (en) Factory full life cycle data management method and electronic equipment
JP2015232877A (en) Document masking system, document masking method, and document masking program
CN114970462A (en) Method and system for automatically marking change marks on data modules
JP2022181367A (en) Information processing apparatus and program
CN116959004A (en) Handwritten signature recognition method, handwritten signature recognition device, electronic equipment and computer program product

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