Nothing Special   »   [go: up one dir, main page]

CN112861485A - Method, device and equipment for processing nuclear power DCS control logic drawing - Google Patents

Method, device and equipment for processing nuclear power DCS control logic drawing Download PDF

Info

Publication number
CN112861485A
CN112861485A CN202110310228.0A CN202110310228A CN112861485A CN 112861485 A CN112861485 A CN 112861485A CN 202110310228 A CN202110310228 A CN 202110310228A CN 112861485 A CN112861485 A CN 112861485A
Authority
CN
China
Prior art keywords
control logic
module
nuclear power
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.)
Granted
Application number
CN202110310228.0A
Other languages
Chinese (zh)
Other versions
CN112861485B (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

Images

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)
  • Direct Current Feeding And Distribution (AREA)
  • Programmable Controllers (AREA)

Abstract

A nuclear power DCS control logic drawing is obtained, and 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 within the drawing boundary in the nuclear power DCS control logic drawing; traversing all the graph block modules in the drawing area, and determining the graph block module which does not comprise the preset field in the custom field attribute as a comment information module 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, the comment information module in the nuclear power DCS control logic drawing can be rapidly screened out, and then the comment information module is processed according to the preset processing rule, so that the processing efficiency of the DCS control logic drawing is improved.

Description

Method, device and equipment for processing nuclear power DCS control logic drawing
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
A 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 a nuclear power working process. The nuclear power DCS control logic drawing is used as a working file, and the included control logic is required to be completely consistent with the control logic in the unit field configuration software. Generally, a nuclear power DCS control logic drawing is a copy derived from DCS configuration software, so that control logic included in the nuclear power DCS control logic drawing is ensured to be completely consistent with control logic in unit field configuration software. However, in practical use, the nuclear power DCS control logic drawing faces the following current situation:
(1) because a great deal of logic changes exist in the design phase of an EPR (ethylene propylene reactor) unit, in order to facilitate management, a design party embeds a great deal of annotation contents in a nuclear Power DCS control logic drawing, such as annotation frames which represent modification ranges of text description (TER/TST/CR (which are special marks and represent the types of modification information), DCL (production engineering contact list) numbers, CIN (equipment modification list) numbers), various colors and shapes (rectangles, circles, ellipses and closed curves) and the like;
(2) because logic change (such as TCA (temporary control change)) is temporarily carried out in field execution, annotation marking is carried out according to the flow requirement, and annotation contents such as work order number, executive person and date are filled in the annotation contents for facilitating follow-up tracing;
(3) because the annotation content does not belong to the DCS control logic module specified by the configuration software and does not interfere the generation work of the configuration software on the DCS control logic, the DCS configuration software does not technically check the format and description of the annotation content, and in addition, the specific style of the annotation content is not specified in the management process, so that the annotation content in the nuclear power DCS control logic drawing has certain randomness, each designer has own habit, and the line width, color, filling, frame selection shape and the like of the annotation content can be different.
Due to the existing situation, the necessary annotation content with the striking color marks of various non-DCS control logics occupies the striking position in the drawing, so that the interior of the drawing of the nuclear power DCS control logic is messy, the attention of a drawing user is interfered, and even human errors can be caused.
At present, annotation contents in a nuclear power DCS control logic drawing can be identified and deleted in a manual mode. Taking the number 1 machine of the Taishan nuclear power plant as an example, 9671 nuclear power DCS control logic drawings are shared, 15 ten thousand annotation contents are contained, the annotation content of each drawing is up to 15 on average, and the visible annotation content contained in the most drawing is up to 386. Because the data volume of the annotation content is huge, manual screening and deletion 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 method, a device and equipment for processing 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, an embodiment provides a processing method of a nuclear power DCS control logic drawing, including:
obtaining 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 within the drawing boundary in the nuclear power DCS control logic drawing;
traversing all the graph block modules in the drawing area, and determining the graph block module which does not include a preset field in the custom field attribute as a comment information module in the nuclear power DCS control logic drawing;
and processing the comment information module in the nuclear power DCS control logic drawing according to a preset processing rule.
Optionally, the processing the comment information module in the nuclear power DCS control logic drawing according to a preset processing rule includes:
and deleting or hiding all or the comment information module meeting the first preset condition in the nuclear power DCS control logic drawing.
Optionally, the processing the comment information module in the nuclear power DCS control logic drawing according to a preset processing rule includes:
and format correction is carried out on all the annotation information modules in the nuclear power DCS control logic drawing or the annotation information modules meeting a second preset condition according to a preset correction rule so as to obtain the annotation information modules with uniform formats.
Optionally, before the processing the comment 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 information release module in the nuclear power DCS control logic drawing, wherein the characteristic information comprises: the module identification information, position, shape, size, border line width, text, font size, layer and color of the annotation information module, and the control logic module associated with the annotation information module.
Optionally, the method further includes: and restoring the deleted or displayed hidden comment information module in the nuclear power DCS control logic drawing according to the stored characteristic information.
Optionally, the method further includes:
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 retrieving the nuclear power DCS control logic drawing according to the corresponding relation.
Optionally, the method further includes:
extracting temporary logic change information from the text of the comment information module, wherein the temporary logic change information is used for recording the modification content of the control logic module associated with the comment 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 an annotation error exists.
According to a second aspect, an embodiment provides a processing apparatus for a nuclear power DCS control logic drawing, including:
the system comprises an acquisition module, a judging module and a display module, wherein the acquisition module is used for acquiring a nuclear power DCS control logic drawing which 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 within the drawing boundary in the nuclear power DCS control logic drawing;
the second determination module is used for traversing all the graph block modules in the drawing area, and determining the graph block module which does not include the preset field in the custom field attribute as the annotation information module in the nuclear power DCS control logic drawing;
and the processing module is used for processing the comment information module in the nuclear power DCS control logic drawing according to a preset processing rule.
According to a third aspect, there is provided in one embodiment an electronic device comprising: 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 in any one of the first aspect.
According to a fourth aspect, an embodiment provides a computer-readable storage medium, on which a program is stored, the program being executable by a processor to implement the processing method of the nuclear power DCS control logic drawing of any one of the above first aspects.
The embodiment of the invention provides a processing method, a device and equipment for a nuclear power DCS control logic drawing, wherein the nuclear power DCS control logic drawing is obtained and 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 within the drawing boundary in the nuclear power DCS control logic drawing; traversing all the graph block modules in the drawing area, and determining the graph block module which does not comprise the preset field in the custom field attribute as a comment information module in the nuclear power DCS control logic drawing; and processing the comment 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 fields in the custom field attribute of the control logic module, the comment information module in the nuclear power DCS control logic drawing can be quickly screened out, the comment information module is processed according to the preset processing rule, a large number of workers are not required to process comment contents 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 therefore the processing efficiency of the DCS control logic drawing is improved.
Drawings
Fig. 1 is a schematic flowchart of a first embodiment of a processing method for a nuclear power DCS control logic drawing according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a nuclear power DCS control logic drawing provided by an embodiment of the present invention;
FIG. 3 is a schematic flowchart of a second embodiment of a method for processing a nuclear power DCS control logic drawing according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a third embodiment of a processing method for a nuclear power DCS control logic drawing according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a fourth embodiment of the method for processing the nuclear power DCS control logic drawing according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a processing device of a nuclear power DCS control logic drawing according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.
Furthermore, the features, operations, or characteristics described in the specification may be combined in any suitable manner to form various embodiments. Also, the various steps or actions in the method descriptions may be transposed or transposed in order, as will be apparent to one of ordinary skill in the art. Thus, the various sequences in the specification and drawings are for the purpose of describing certain embodiments only and are not intended to imply a required sequence unless otherwise indicated where such sequence must be followed.
The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings).
Because the data volume of the annotation content in the nuclear power DCS control logic drawing is huge, manual screening and deletion 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. In order to improve the processing efficiency of the DCS control logic drawing, embodiments of the present invention provide a method, an apparatus, and a device for processing a nuclear power DCS control logic drawing, which are described in detail below.
Fig. 1 is a schematic flow chart of a first embodiment of a method for processing a nuclear power DCS control logic drawing according to an embodiment of the present invention. As shown in fig. 1, the processing method of the nuclear power DCS control logic drawing provided in this embodiment may include:
s101, obtaining a nuclear power DCS control logic drawing.
In the concrete implementation, the nuclear power DCS control logic electronic drawing in the original Visio (software for drawing a flow chart and a schematic diagram) format can be derived from the 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 may be fixed in the lower right corner area of the nuclear power DCS control logic electronic drawing, and is used to describe the nuclear power DCS control logic electronic drawing information, such as drawing name, drawing ID (Identity Document), code, description, drafter, drawing version, page number, and the like;
(2) in practical applications, the control logic module 230 includes many control logic components, and the connection between the control logic components is more complicated, and the control logic module 230 in fig. 2 is only shown for simplification;
(3) the comment information module 240 may be overlaid on a portion of the control logic module 230, representing the range of control logic modules to which the comment information module relates; specifically, the annotation information module 240 may be one or any combination of an oval annotation box, a rectangular annotation box, a closed straight line or curve annotation box, and an annotation text, as shown in fig. 2, where fig. 2 includes four forms of annotation information modules 240: optionally, the annotation text may be directly located inside the annotation box or outside the annotation box, the annotation information module 240 may also be nested, that is, there is a situation where other annotation boxes are combined in one annotation box, the annotation information module 240 has no unified standard in the border line width, the annotation text, the font size, the layer where the annotation box is located, the color, and the like, and different operators may have different settings.
And S102, determining a drawing area of the 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 comment information module 240 are located in any area outside the drawing information module 220 within the drawing boundary 210, i.e., the drawing area. Specifically, after the nuclear power DCS control logic drawing is obtained, a 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 and the margin of the drawing and the size of a drawing information module.
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 comment information module are left for next screening.
S103, traversing all the graph block modules in the drawing area, and determining the graph block module which does not include the preset field in the custom field attribute as a comment information module in the nuclear power DCS control logic drawing.
In order to interact with a bottom-layer database, a control logic module in the DCS configuration software designs some preset fields, such as UUID (universal Unique Identifier), device ID, and the like, in the custom field attribute. And the preset fields in the control logic module are not allowed to appear in the comment information module and the drawing information module, so that the comment information module in the nuclear power DCS control logic drawing can be screened out through the preset fields.
And S104, processing the comment 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 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 within the drawing boundary in the nuclear power DCS control logic drawing; traversing all the graph block modules in the drawing area, and determining the graph block module which does not comprise the preset field in the custom field attribute as a comment information module in the nuclear power DCS control logic drawing; and processing the comment 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 fields in the custom field attribute of the control logic module, the comment information module in the nuclear power DCS control logic drawing can be quickly screened out, the comment information module is processed according to the preset processing rule, a large number of workers are not required to process comment contents 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 therefore the processing efficiency of the DCS control logic drawing is improved.
Fig. 3 is a schematic flowchart of a second embodiment of the method for processing a nuclear power DCS control logic drawing according to the embodiment of the present invention, and as shown in fig. 3, 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 comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module.
S302, determining a drawing area of the 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 within a drawing boundary in a nuclear power DCS control logic drawing.
And S303, traversing all the graph block modules in the drawing area, and determining the graph block module which does not comprise the preset field in the custom field attribute as a comment information module in the nuclear power DCS control logic drawing.
The specific implementation manners of S301 to S303 can refer to the related descriptions of S101 to S103 in the first embodiment.
S304, deleting or hiding all comment information modules in the nuclear power DCS control logic drawing or the comment information modules meeting the 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 the concrete implementation, the annotation information module with specified characteristics (such as specified fonts, specified border colors, specified annotation box shapes, specific description characters and the like) in the nuclear power DCS control logic drawing can be deleted or hidden. For example, the comment information module with the shape of a "curve" in the comment box in the nuclear power DCS control logic drawing can be deleted or hidden. All or all comment information blocks meeting the first preset condition in the nuclear power DCS control logic drawing can be set to be hidden and invisible, and therefore 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 the nuclear power DCS control logic drawing or the annotation information module which meets the first preset condition, so that the nuclear power DCS control logic drawing conforms to the nuclear power document management specification, the interior of the nuclear power DCS control logic drawing does not appear to be disordered, and the attention of a drawing user is not interfered.
Fig. 4 is a schematic flowchart of a third embodiment of a method for processing a nuclear power DCS control logic drawing according to an embodiment of the present invention, and as shown in fig. 4, the method for processing a nuclear power DCS control logic drawing according to this embodiment may include:
s401, obtaining a nuclear power DCS control logic drawing.
The nuclear power DCS control logic drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module.
S402, determining a drawing area of the 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 within a drawing boundary in a nuclear power DCS control logic drawing.
And S403, traversing all the graph block modules in the drawing area, and determining the graph block module which does not include the preset field in the custom field attribute as a comment information module in the nuclear power DCS control logic drawing.
The specific implementation of S401 to S403 can refer to the related descriptions of S101 to S103 in the first embodiment.
And S404, performing format correction on all the annotation information modules in the nuclear power DCS control logic drawing or the annotation information modules meeting a second preset condition according to a preset correction rule to obtain the annotation information modules with uniform formats.
Because the shape of the annotation information module (an oval annotation frame, a rectangular annotation frame, a closed straight line or curve annotation frame, only annotation text), the width of a border line, the font size, the layer where the annotation information module is located, the color and the like do not have uniform standards, the annotation content is disordered, and therefore format correction can be performed on all or part of the annotation information module which meets the specified characteristics according to the preset correction rule. For example, the font color of the annotation text included in all annotation information modules is modified to "blue", so that in the working process, the operator can determine the annotation content as long as seeing the blue text; for another example, a certain nuclear power DCS control logic drawing contains 15 pieces of annotation content (i.e., 15 annotation information modules), where 10 annotation information modules are in the shape of an elliptical annotation frame, 3 annotation information modules are in the shape of a rectangular annotation frame, and 2 annotation information modules are in the shape of a curved annotation frame, and then the shapes of 5 annotation information modules in the shapes of a rectangular annotation frame and a curved annotation frame can be modified into the elliptical annotation frame, so that an operator can determine the annotation content by seeing the elliptical 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 the annotation information modules in the nuclear power DCS control logic drawing or the annotation information modules meeting the second preset condition according to the preset correction rule, so that the annotation information modules with uniform formats can be obtained, once the formats of the annotation information modules are uniform, the interior of the nuclear power DCS control logic drawing does not appear to be disordered, the attention of drawing users is not interfered, and the DCS control logic drawing is enabled to accord with nuclear power document management specifications.
Fig. 5 is a flowchart illustrating a fourth embodiment of the method for processing a nuclear power DCS control logic drawing according to the embodiment of the present invention, as shown in fig. 5, the method for processing a nuclear power DCS control logic drawing according to the embodiment of the present invention may include:
s501, obtaining a nuclear power DCS control logic drawing.
The nuclear power DCS control logic drawing comprises a drawing boundary, a drawing information module, a control logic module and an annotation information module.
And S502, determining a drawing area of the 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 within a drawing boundary in a nuclear power DCS control logic drawing.
S503, traversing all the graph block modules in the drawing area, and determining the graph block module which does not include the preset field in the custom field attribute as a comment information module in the nuclear power DCS control logic drawing.
The specific implementation manners of S501 to S503 can refer to the related descriptions of S101 to S103 in the first embodiment.
And S504, extracting and storing the characteristic information of the release information module in the nuclear power DCS control logic drawing.
Wherein, the characteristic information may include: the module identification information, position, shape, size, border line width, text, font size, layer and color of the annotation information module, and the control logic module associated with the annotation information module. It is worth to 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 disorder in the nuclear power DCS control logic drawing; the annotation text contains visual explanations of the annotations, and can be further summarized and searched; control logic modules within the area defined by the position and size of the border are associated with the annotation information module. For example, in the Visio-formatted DCS control logic drawing file, the module identification information may be defined as the shape ID of the comment information module, which is unique in the Visio file, and can facilitate quick positioning and further automatic operations such as deletion, modification, extraction of shape information, and the like through a software interface.
The DCS control logic drawing may be stored in a vector diagram format (e.g., Visio format), where each graphic module may store a shape drawing command of the respective module, for example, the shape drawing command of a rectangle (x1, y1, x2, y2) is "MoveTo (x1, y1), LineTo (x2, y1), LineTo (x2, y2), LineTo (x1, y2), LineTo (x1, y 1)", and returns to the starting point after drawing a circle from the starting point to form a closed graph, and other shapes such as an ellipse, a cloud graph, and a closed curve are known in the same reason. Therefore, when determining the shape of the annotation information module (such as belonging to one or any combination of an oval annotation box, a rectangular annotation box, a closed straight line or curve annotation box and an annotation text), the shape characteristics of each annotation information module can be matched through the vector drawing information of the graphic module stored in the drawing. Further, the size of the closed shape can be calculated by vector drawing information (such as a series of coordinate points in a drawing instruction) of the graphic module stored in the drawing, wherein the vector drawing information comprises: the area contained by each annotation information module can be accurately calculated; the area contained in each annotation information module can also be simplified into a rectangular area, for example, four values of the leftmost value, the rightmost value, the uppermost value and the lowermost value of the annotation information module are traversed, so that the size of the rectangular area which can completely surround the annotation information module can be obtained, and the size of the annotation information module can be obtained.
Specifically, it can be determined whether the control logic module is associated with the comment information module by performing a geometric operation on the area included by the comment information module and the area included by the control logic module, for example, when a certain control logic module is located inside the comment information module, or when a large area (a threshold value such as 2/3 is set) of a certain control logic module is included in the comment information module, or when the edge distance between the control logic module and the comment information module is smaller than a preset distance threshold value, it is determined that the control logic module is associated with the comment information module.
And S505, deleting or hiding all comment information modules in the nuclear power DCS control logic drawing or the comment information modules meeting the first preset condition.
And S506, according to the stored characteristic information, the deleted or displayed hidden comment information module is restored in the nuclear power DCS control logic drawing.
When the specified annotation information module is required to be recovered, if the annotation information module is still only hidden (for example, set to be hidden and invisible) in the nuclear power DCS control logic drawing, setting the annotation information module as 'visible'; if the annotation information module has been deleted, the annotation information module may be redrawn based on the stored feature information (module identification information, location, shape, size, border line width, text, font size, layer and color of the annotation information module, and control logic associated with the annotation information module). Optionally, if the retrieved annotation information module is at the topmost layer, the retrieved annotation information module may block a normal control logic module, which belongs to an irregular drawing format, and at this time, the control logic module may be set to be displayed on the retrieved annotation information module without being blocked.
According to the processing method of the nuclear power DCS control logic drawing, the deleted or hidden comment information module is restored or displayed in the nuclear power DCS control logic drawing according to the stored characteristic information, and the deleted or hidden comment information module can be restored or displayed in a reverse mode.
As a way that can be realized, on the basis of the above embodiment, the processing method of the nuclear power DCS control logic drawing provided by the embodiment of the present invention may further include: drawing identification information (such as drawing ID) of a 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 corresponding relation between the drawing identification information and the module identification information of the annotation information module (for example, in a drawing file in a Visio format, the module identification information can be defined as the shape ID of the annotation information module, and the ID is unique in the Visio file); and retrieving the nuclear power DCS control logic drawing according to the corresponding relation. For example, a nuclear power DCS control logic drawing auxiliary information retrieval system is constructed according to a correspondence between drawing identification information and module identification information of a comment information module (that is, a nuclear power DCS control logic drawing is associated with each comment information module included in the nuclear power DCS control logic drawing), so that all or part of feature information of each comment information module included in a certain nuclear power DCS control logic drawing can be quickly retrieved and displayed, all drawings related to a certain comment information module and all control logic modules included in the certain comment information module and the like can be quickly retrieved and displayed, each comment information module can be classified by color or by a specified text, specified feature information of a specified drawing can be searched, comment information modules including certain specified comment texts can be searched, counted and output, and the like.
As a way that can be realized, on the basis of the above embodiment, the processing method of the nuclear power DCS control logic drawing provided by the embodiment of the present invention may further include: extracting temporary logic change information from the text of the comment information module, wherein the temporary logic change information is used for recording the modification content of the control logic module associated with the comment 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 an annotation error exists.
Assume that the control logic module B associated with the comment information module a includes a sub-module "B1", and the extracted temporary logic change information includes: and modifying the sub-module 'B1' in the control logic module B associated with the comment information module A into 'B2', namely, the extracted temporary logic change information represents that the content included in the control logic module B is the sub-module 'B2', and determining that a comment error exists if the extracted temporary logic change information is inconsistent with the content included in the control logic module associated with the comment information module. For example, nuclear power DCS control logic drawings and marked control logic modules related to a certain batch of modification can be extracted; extracting temporary logic change information (such as TCA) from the comment information module, comparing and verifying the temporary logic change information with the control logic module related to modification, finding that some TCA is implemented but has no comment mark, or some TCA has cancelled but has no comment mark deleted, or some TCA comment information is not standard (such as no bill number, executive person or date), and outputting prompt information to prompt that there is comment error. By the method, the auxiliary analysis and management of related management departments can be facilitated.
Fig. 6 is a schematic structural diagram of a processing device of a nuclear power DCS control logic drawing according to an embodiment of the present invention, and as shown in fig. 6, the processing device 60 of a nuclear power DCS control logic drawing may include: 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 a drawing area of the nuclear power DCS control logic drawing according to the position information of the drawing information module, where the drawing area is an area outside the drawing information module within the drawing boundary in the nuclear power DCS control logic drawing.
The second determining module 630 may be configured to traverse all the graph block modules in the drawing area, and determine a graph block module that does not include the preset field in the custom field attribute as an annotation information module in the nuclear power DCS control logic drawing.
The processing module 640 may be configured to process the comment information module in the nuclear power DCS control logic drawing according to a preset processing rule.
According to the processing device of the nuclear power DCS control logic drawing, the nuclear power DCS control logic drawing is obtained through the obtaining module, and 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 determination module, wherein the drawing area is an area outside the drawing information module within the drawing boundary in the nuclear power DCS control logic drawing; traversing all the graphic block modules in the drawing area through a first determining module, and determining the graphic block module which does not comprise the preset field in the custom field attribute as a comment information module in the nuclear power DCS control logic drawing; and processing the comment 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 fields in the custom field attribute of the control logic module, the comment information module in the nuclear power DCS control logic drawing can be quickly screened out, the comment information module is processed according to the preset processing rule, a large number of workers are not required to process comment contents 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 therefore 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 or a comment information module that meets a first preset condition in the nuclear power DCS control logic drawing.
Optionally, the processing module 640 may be specifically configured to perform format correction on all or all annotation information modules meeting a second preset condition in the nuclear power DCS control logic drawing according to a preset correction rule, so as to obtain an annotation information module with a uniform format.
Optionally, the processing device 60 for 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 release information module in the nuclear power DCS control logic drawing, wherein the characteristic information comprises: the module identification information, position, shape, size, border line width, text, font size, layer and color of the annotation information module, and the control logic module associated with the annotation information module.
Optionally, the processing module 640 may be specifically configured to, according to the stored feature information, restore the module that deletes or displays the hidden comment information in the nuclear power 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 retrieving 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 a text of the annotation information module, where the temporary logic change information is used to record 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 an annotation error exists.
In addition, corresponding to the processing method of the nuclear power DCS control logic drawing provided in the above embodiment, an 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 implementing all the steps of the processing method of the nuclear power DCS control logic drawing provided by the embodiment of the invention by executing the program stored in the memory.
In addition, corresponding to the processing method of the nuclear power DCS control logic drawing provided by the foregoing embodiment, an embodiment of the present invention further provides a computer-readable storage medium, where computer execution instructions are stored in the computer-readable storage medium, and when the computer execution instructions are executed by a processor, all steps of the processing method of the nuclear power DCS control logic drawing according to the embodiment of the present invention are implemented.
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 computer programs. When all or part of the functions of the above embodiments are implemented by a computer program, the program may be stored in a computer-readable storage medium, and the storage medium may include: a read only memory, a random access memory, a magnetic disk, an optical disk, a hard disk, etc., and the program is executed by a computer to realize the above functions. For example, the program may be stored in a memory of the device, and when the program in the memory is executed by the processor, all or part of the functions described above may be implemented. In addition, when all or part of the functions in the above embodiments are implemented by 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 may be downloaded or copied to a memory of a local device, or may be version-updated in a system of the local device, and when the program in the memory is executed by a processor, all or part of the functions in the above embodiments may be implemented.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.

Claims (10)

1. A processing method of a nuclear power DCS control logic drawing is characterized by comprising the following steps:
obtaining 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 within the drawing boundary in the nuclear power DCS control logic drawing;
traversing all the graph block modules in the drawing area, and determining the graph block module which does not include a preset field in the custom field attribute as a comment information module in the nuclear power DCS control logic drawing;
and processing the comment information module in the nuclear power DCS control logic drawing according to a preset processing rule.
2. The method of claim 1, wherein the processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule comprises:
and deleting or hiding all or the comment information module meeting the first preset condition in the nuclear power DCS control logic drawing.
3. The method of claim 1, wherein the processing the annotation information module in the nuclear power DCS control logic drawing according to a preset processing rule comprises:
and format correction is carried out on all the annotation information modules in the nuclear power DCS control logic drawing or the annotation information modules meeting a second preset condition according to a preset correction rule so as to obtain the annotation information modules with uniform formats.
4. The method of any one of claims 1-3, wherein prior to processing the annotation information module in the nuclear power DCS control logic drawing according to preset processing rules, the method further comprises:
extracting and storing characteristic information of an information release module in the nuclear power DCS control logic drawing, wherein the characteristic information comprises: the module identification information, position, shape, size, border line width, text, font size, layer and color of the annotation information module, and the control logic module associated with the annotation information module.
5. The method of claim 4, wherein the method further comprises:
and restoring the deleted or displayed hidden comment information module in the nuclear power DCS control logic drawing according to the stored characteristic information.
6. The method of claim 4, 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 retrieving the nuclear power DCS control logic drawing according to the corresponding relation.
7. The method of claim 4, wherein the method further comprises:
extracting temporary logic change information from the text of the comment information module, wherein the temporary logic change information is used for recording the modification content of the control logic module associated with the comment 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 an annotation error exists.
8. The utility model provides a processing apparatus of nuclear power DCS control logic drawing which characterized in that includes:
the system comprises an acquisition module, a judging module and a display module, wherein the acquisition module is used for acquiring a nuclear power DCS control logic drawing which 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 within the drawing boundary in the nuclear power DCS control logic drawing;
the second determination module is used for traversing all the graph block modules in the drawing area, and determining the graph block module which does not include the preset field in the custom field attribute as the annotation information module in the nuclear power DCS control logic drawing;
and the processing module is used for processing the comment information module in the nuclear power DCS control logic drawing according to a preset processing rule.
9. An electronic device, comprising:
a memory for storing a program;
a processor for implementing the method of any one of claims 1-7 by executing a program stored by the memory.
10. 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 according to any one of claims 1-7.
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 true CN112861485A (en) 2021-05-28
CN112861485B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703405A (en) * 2021-08-27 2021-11-26 中国核动力研究设计院 Nuclear power DCS algorithm configuration logic diagram drawing system
CN114065330A (en) * 2021-11-24 2022-02-18 中国核动力研究设计院 Electronic drawing generation system and electronic drawing generation method of DCS (distributed control system)

Citations (5)

* 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
US20120233558A1 (en) * 2011-03-11 2012-09-13 Microsoft Corporation Graphical user interface that supports document annotation
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

Patent Citations (5)

* 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
US20120233558A1 (en) * 2011-03-11 2012-09-13 Microsoft Corporation Graphical user interface that supports document annotation
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 (2)

* Cited by examiner, † Cited by third party
Title
CAD图文教程: "关于图块注释删除", pages 1, Retrieved from the Internet <URL:https://www.gstarcad.com/cmsDetail/19109/> *
宋成 等: "CAD图层管理在线束图纸标准化中的应用", 汽车电器, no. 02, pages 1 - 3 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703405A (en) * 2021-08-27 2021-11-26 中国核动力研究设计院 Nuclear power DCS algorithm configuration logic diagram drawing system
CN113703405B (en) * 2021-08-27 2024-06-04 中国核动力研究设计院 Nuclear power DCS algorithm configuration logic diagram drawing system
CN114065330A (en) * 2021-11-24 2022-02-18 中国核动力研究设计院 Electronic drawing generation system and electronic drawing generation method of DCS (distributed control system)
CN114065330B (en) * 2021-11-24 2023-11-21 中国核动力研究设计院 Electronic drawing generation system and method of DCS (distributed control system)

Also Published As

Publication number Publication date
CN112861485B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
CN110968667B (en) Periodical and literature table extraction method based on text state characteristics
CN102194123B (en) Method and device for defining table template
US5416849A (en) Data processing system and method for field extraction of scanned images of document forms
JP5439454B2 (en) Electronic comic editing apparatus, method and program
US7853869B2 (en) Creation of semantic objects for providing logical structure to markup language representations of documents
JP5439455B2 (en) Electronic comic editing apparatus, method and program
US10691936B2 (en) Column inferencer based on generated border pieces and column borders
CN102117269A (en) Apparatus and method for digitizing documents
WO2013058397A1 (en) Digital comic editing device and method therefor
CN112861485B (en) Nuclear power DCS control logic drawing processing method, device and equipment
CN109726369A (en) A kind of intelligent template questions record Implementation Technology based on normative document
CN114529933A (en) Contract data difference comparison method, device, equipment and medium
JP5020698B2 (en) Image processing apparatus, image processing method, and image processing program
JP2013229011A (en) Form identification device and form identification method
JP6377743B2 (en) Method and apparatus for building an intermediate character library
JP2013254321A (en) Image processing apparatus, image processing method, and program
CN113515799A (en) Batch arrangement method and device for equipment models of building information models
KR102598210B1 (en) Drawing information recognition method of engineering drawings, drawing information recognition system, computer program therefor
CN115761049A (en) Automatic picture marking method, device, equipment and storage medium
KR102583247B1 (en) System, method and computer program for creating BOM list
Ondrejcek et al. Information extraction from scanned engineering drawings
CN113378526A (en) PDF paragraph processing method, device, storage medium and equipment
JP7447614B2 (en) information processing equipment
JP4213558B2 (en) Document layout analysis program, computer-readable storage medium storing document layout analysis program, document layout analysis method, and document layout analysis apparatus
CN117111817B (en) Annotation information erasing method and device, electronic equipment and storage medium

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