CN109933324A - A kind of nuclear power DCS man-machine interface automatic generation method - Google Patents

A kind of nuclear power DCS man-machine interface automatic generation method Download PDF

Info

Publication number
CN109933324A
CN109933324A CN201910228112.5A CN201910228112A CN109933324A CN 109933324 A CN109933324 A CN 109933324A CN 201910228112 A CN201910228112 A CN 201910228112A CN 109933324 A CN109933324 A CN 109933324A
Authority
CN
China
Prior art keywords
nuclear power
icon
pel
machine interface
coordinate
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
CN201910228112.5A
Other languages
Chinese (zh)
Other versions
CN109933324B (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.)
China General Nuclear Power Corp
China Techenergy Co Ltd
Original Assignee
China General Nuclear Power Corp
China Techenergy 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 China General Nuclear Power Corp, China Techenergy Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN201910228112.5A priority Critical patent/CN109933324B/en
Publication of CN109933324A publication Critical patent/CN109933324A/en
Application granted granted Critical
Publication of CN109933324B publication Critical patent/CN109933324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention relates to a kind of nuclear power DCS man-machine interface automatic generation methods, belong to nuclear power DCS technical field, solve the problems, such as the prior art is complicated, cumbersome, time-consuming, icon coordinate can not accurate Drawing.This method comprises the following steps: the pel and connecting line for including in identification nuclear power Process Design image;The generic features information and independent characteristic information for including in above-mentioned pel and connecting line are extracted, and fractionation conversion process is carried out to connecting line, obtains the line segment for being suitble to nuclear power DCS man-machine interface to show;The generic features information for including in above-mentioned pel is compared with group metamessage in nuclear power DCS man-machine system database, obtains corresponding icon in nuclear power DCS man-machine interface;According to the correspondence icon in above-mentioned generic features information and independent characteristic information, the line segment for being suitble to nuclear power DCS man-machine interface to show, nuclear power DCS man-machine interface, final MACS6 flow chart is generated in nuclear power DCS man-machine interface.Automatic drafting MACS6 flow chart can be achieved by programming in this method, improves design efficiency and draws precision.

Description

A kind of nuclear power DCS man-machine interface automatic generation method
Technical field
The present invention relates to nuclear power DCS technical field more particularly to a kind of nuclear power DCS man-machine interface automatic generation methods.
Background technique
In nuclear power DCS industry, design for human-computer interaction process picture, usually designer are designed referring to nuclear power The input design file (the nuclear power Process Design image of Visio format) that institute provides compares in nuclear power DCS man-machine system database Equipment icon, be finally depicted as the DCS process picture (MACS6 flow chart) being adapted with DCS system, whole process is using pure Manual drawing is realized.
The nuclear power DCS producer being currently known or platform, such as MELTAC platform, IA platform, NicSys2000N, all take This pure manual drawing mode.This method for drafting is complicated, cumbersome, time-consuming, greatly wastes manpower or cost, schemes simultaneously Symbol coordinate can not accurate Drawing to constrain project duration seriously affect the product quality of DCS process picture.
Summary of the invention
In view of above-mentioned analysis, the embodiment of the present invention is intended to provide a kind of nuclear power DCS man-machine interface automatic generation method, uses With solve the problems, such as the prior art is complicated, cumbersome, time-consuming, icon coordinate can not accurate Drawing.
On the one hand, the embodiment of the invention provides a kind of nuclear power DCS man-machine interface automatic generation methods, including walk as follows It is rapid:
The pel and connecting line for including in identification nuclear power Process Design image;
The generic features information and independent characteristic information for including in above-mentioned pel and connecting line are extracted, and connecting line is carried out Conversion process is split, the line segment for being suitble to nuclear power DCS man-machine interface to show is obtained;
The generic features information for including in above-mentioned pel and group metamessage in nuclear power DCS man-machine system database are compared Compared with corresponding icon in acquisition nuclear power DCS man-machine interface;
Line segment, the nuclear power shown according to above-mentioned generic features information and independent characteristic information, suitable nuclear power DCS man-machine interface Correspondence icon in DCS man-machine interface generates final MACS6 flow chart in nuclear power DCS man-machine interface.
Above-mentioned technical proposal has the beneficial effect that: by furtheing investigate input design file (nuclear power Process Design image) Primitive features information extraction technology, and depth excavates nuclear power Process Design image primitive features and MACS6 flowchart symbols attribute And the corresponding relationship of configuration info (generic features information and independent characteristic information), realize nuclear power DCS man-machine interface picture It automatically generates.This method can identify the logical of pel by traversing each pel in a large amount of nuclear power Process Design image With characteristic information and independent characteristic information, extract whole characteristic informations, generate can by the characteristic information of DCS land identification, It is proved through a large number of experiments, the development work of nuclear power DCS man-machine interface can be successfully applied to, largely realize man-machine boundary The automation of face design solves human machine interface graphics element and draws precision not instead of traditional pure artificial drafting, configuration work High, the normative technical problems such as low with the degree of consistency, achieve the purpose that save human cost and time cost.
In another embodiment based on the above method, carry out identification nuclear power Process Design image in include pel and Before connecting line, following steps are carried out:
Nuclear power Process Design image coordinate system and MACS6 flow chart coordinate system are established, nuclear power Process Design image is obtained and sits Each point coordinate transformation relation in mark system and MACS6 flow chart coordinate system.
The beneficial effect of above-mentioned technical proposal is: by establishing nuclear power Process Design image coordinate system and MACS6 flow chart Coordinate system, enable to it is subsequent identification, conversion and generate MACS6 flow chart processes it is more accurate, obtain details accuracy and Reliability is higher.Compared with prior art, location information under two kinds of different images modes is excavated out potentially to correspond in data Relationship realizes the transformation from qualitative design to quantitative design.
Further, the pel and connecting line for carrying out including in identification nuclear power Process Design image, includes the following steps:
Under nuclear power Process Design image coordinate system, header, the footer, Title area in nuclear power Process Design image are deleted Information, identification need to carry out the nuclear power Process Design effective image area of information processing;
Test pattern is carried out to above-mentioned nuclear power Process Design effective image area, includes in acquisition nuclear power Process Design image Pel and connecting line;The pel includes text, line segment, rectangle.
The beneficial effect of above-mentioned further scheme is: being defined to the process of identification pel and connecting line, and to line Section and connecting line distinguish, wherein line segment only includes beginning and end.Connecting line includes starting point, terminal, turning point and intersection Point.Since MACS6 only has this type icon of line segment, the connecting line in design process center electric process designed image is corresponding The indefinite a plurality of line segment of number in MACS6, it is therefore desirable to in nuclear power Process Design image line segment and connecting line carry out it is effective It distinguishes, this process becomes the premise and essential option that connecting line automatically generates out MACS6 line segment.
Further, described to extract the generic features information and independent characteristic information for including in above-mentioned pel and connecting line, and Fractionation conversion process is carried out to connecting line, the line segment for being suitble to nuclear power DCS man-machine interface to show is obtained, includes the following steps:
The pel and connecting line for including in all nuclear power Process Design images are traversed, each pel is obtained and connecting line includes Generic features information and independent characteristic information;
In connecting line turning point and infall, connecting line split at conversion by default method for dividing and processing Reason obtains the line segment for being suitble to nuclear power DCS man-machine interface to show.
The beneficial effect of above-mentioned further scheme is: to extraction generic features information and independent characteristic information and to connection The process that line split conversion process is defined.For the connecting line in nuclear power Process Design image, a kind of row is explored Effective connecting line split into the technology of line segment automatically because this technology is to establish transformational relation from data plane, because This is applicable not only to the MACS6 platform of nuclear power DCS, and nuclear power DCS other platforms for applying also for being currently known are (due to complexity The current nuclear power DCS platform of relationship only supports the icon of this design straight line of line segment).
Further, the generic features information that text includes, including mold title, icon tag name icon width, icon are high Degree, icon rotation center X-coordinate, icon rotation center Y-coordinate, icon rotation center X relative coordinate, icon rotation center Y phase To coordinate;
The independent characteristic information that text includes, including text background color, text title, Horizontal Alignment, vertical alignment Mode, font, font size, textwidth, text height, text fill color;
The generic features information that line segment includes, including icon tag name, icon width, icon height, icon rotation center X Coordinate, icon rotation center Y-coordinate, icon rotation center X relative coordinate, icon rotation center Y relative coordinate;
The independent characteristic information that line segment includes, the terminal of the starting point Y-coordinate of starting point X-coordinate, line segment including line segment, line segment X-coordinate, the terminal Y-coordinate of line segment, line width, line color, line style, start arrowhead, terminal arrow;The line style is solid line, void At least one of line, dotted line, a kind of imaginary point line, two class imaginary point lines;
The generic features information that rectangle includes, including icon tag name, icon width, icon height, icon rotation center X Coordinate, icon rotation center Y-coordinate, icon rotation center X relative coordinate, icon rotation center Y relative coordinate;
Whether the independent characteristic information that rectangle includes, including line width, line color, icon medium color, lines are hidden.
The beneficial effect of above-mentioned further scheme is: limiting the generic features information and independent characteristic information of pel It is fixed, do not have to directly apply, when can shorten project through all too many levels such as information selection, inquiry, configurations again when user uses Between, effectively save time and cost.
Further, described that fractionation conversion process is carried out to connecting line by default method for dividing and processing, include the following steps:
Key point on connecting line is identified, starting point, terminal, turning point and crosspoint are obtained;
From the off, other key points on connecting line are successively traversed, starting point is as first line segment starting point, second point As first line segment terminal, third point is as Article 2 line segment starting point, and the 4th point is as Article 2 line segment terminal, with this Analogize, obtain n line segment, if finally remaining next isolated point, determines the connecting line splitting into n+1 line segment, if Without remaining isolated point, determine the connecting line splitting into n line segment;
Coordinate of the above-mentioned every line segment in nuclear power Process Design image is obtained, and then is converted by coordinate and obtains every line Coordinate of the section in final MACS6 flow chart.
The beneficial effect of above-mentioned further scheme is: being defined to the specific steps of default method for dividing and processing, side Method is simple and effective, and programming is suitble to realize.Specifically, using recurrence method construction algorithm, the number by splitting into line segment does not know to ask It inscribes possessed a kind of recurrence relation itself and gradually solves, using the algorithm closer to the essence of connecting line characteristic, therefore ask Solution result more agrees with reality.
Further, the generic features information that will include in pel is believed with constituent element in nuclear power DCS man-machine system database Breath is compared, and is obtained corresponding icon in nuclear power DCS man-machine interface, is included the following steps:
The generic features information for including in pel is extracted, pel mold title is obtained;
The pel mold title and the icon title of all constituent elements in nuclear power DCS man-machine system database are compared Compared with the icon of all constituent elements in acquisition nuclear power DCS man-machine system database identical with the pel mold title;
In final MACS6 flow chart at corresponding pel position, constituent element in the nuclear power DCS man-machine system database is shown Icon, as pel icon.
The beneficial effect of above-mentioned further scheme is: limiting the icon method that nuclear power DCS man-machine interface is shown is obtained Fixed, it is a series of cumbersome can be automatically performed comparison, lookup, drag and drop icon etc. from icon library instead of manual operation for this method Process completes efficiency and completes quality all to have obtained significant increase.
Further, described to be shown according to above-mentioned generic features information and independent characteristic information, suitable nuclear power DCS man-machine interface Line segment, the correspondence icon in nuclear power DCS man-machine interface, final MACS6 flow chart is generated in nuclear power DCS man-machine interface, is wrapped Include following steps:
According to the position coordinates of pel in nuclear power Process Design image, syncaryon electric process designed image coordinate system and Each point coordinate transformation relation in MACS6 flow chart coordinate system obtains the position coordinates of pel in MACS6 flow chart;
In the MACS6 flow chart at the position coordinates of pel, the pel icon and pel interface, institute are generated Pel interface is stated for calling the file comprising pel generic features information and independent characteristic information;
According to coordinate of the every line segment in final MACS6 flow chart, all line segments are shown in MACS6 flow chart, it is raw At final MACS6 flow chart.
The beneficial effect of above-mentioned further scheme is: to according to generic features information and independent characteristic information, suitable nuclear power Correspondence icon in line segment that DCS man-machine interface is shown, nuclear power DCS man-machine interface generate the method for final MACS6 flow chart into Row limits, and method is simple and effective, it is easy to accomplish.So far, the static elements design in MACS6 flow chart has substantially generated, from Dynamic generation has occupied most specific gravity of nuclear power Human Machine Interface work.
Further, nuclear power DCS man-machine interface automatic generation method, further includes following steps:
For pel in MACS6 flow chart, its icon tag name is replaced with into machine group name and domain number, generates project demand point Name;
The icon for obtaining pel in nuclear power Process Design image rotates angle, rotates angle to MACS6 according to the icon Flow chart pel icon rotation angle is adjusted, and guarantees that the two rotation angle is consistent.
The beneficial effect of above-mentioned further scheme is: commonly calling the roll to project and icon automatic setting procedure is limited Fixed, method is simple and effective, and programming is suitble to realize.The program is on the basis that completion MACS6 flow chart static elements automatically generate On, realization is automatically performed dynamic element configuration work, is further reduced the workload of manual configuration.
Further, nuclear power DCS man-machine interface automatic generation method, further includes following steps:
In the MACS6 flow chart at the position coordinates of pel, the pel and corresponding analog quantity linking of devices are generated Interface, the interface is used to call the acquisition data of analog quantity equipment;
Icon precision is set, carries out precision processing by acquisition data of the icon precision to above-mentioned analog quantity equipment, Obtain the acquisition data for meeting the icon precision;
By the acquisition data for meeting icon precision, it is stored in by pel interface and is believed comprising pel generic features in real time In breath and the file of independent characteristic information.
The beneficial effect of above-mentioned further scheme is: being limited the method for the acquisition data for calling analog quantity equipment Fixed, method is simple and effective, and programming is suitble to realize.The program be for realize dynamic element configuration work be automatically performed done into One-step optimization, so that the accounting that automatically generates of configuration work reaches 90% or more, to promote entire nuclear power DCS man-machine interface certainly The dynamic completion rate that generates reaches 95% or more.
It in the present invention, can also be combined with each other between above-mentioned each technical solution, to realize more preferred assembled schemes.This Other feature and advantage of invention will illustrate in the following description, also, certain advantages can become from specification it is aobvious and It is clear to, or understand through the implementation of the invention.The objectives and other advantages of the invention can by specification, claims with And it is achieved and obtained in specifically noted content in attached drawing.
Detailed description of the invention
Attached drawing is only used for showing the purpose of specific embodiment, and is not to be construed as limiting the invention, in entire attached drawing In, identical reference symbol indicates identical component.
Fig. 1 is the step schematic diagram of 1 nuclear power DCS man-machine interface automatic generation method of the embodiment of the present invention;
Fig. 2 is that pel icon schematic diagram is commonly used in nuclear power of embodiment of the present invention DCS man-machine system database.
Specific embodiment
Specifically describing the preferred embodiment of the present invention with reference to the accompanying drawing, wherein attached drawing constitutes the application a part, and Together with embodiments of the present invention for illustrating the principle of the present invention, it is not intended to limit the scope of the present invention.
Embodiment 1
A specific embodiment of the invention discloses a kind of nuclear power DCS man-machine interface automatic generation method, such as Fig. 1 institute Show, this method comprises the following steps:
S1. the pel and connecting line for including in nuclear power Process Design image are identified;
S2. the generic features information and independent characteristic information for including in above-mentioned pel and connecting line are extracted, and to connecting line Fractionation conversion process is carried out, the line segment for being suitble to nuclear power DCS man-machine interface to show is obtained;
S3. will in the generic features information for including in above-mentioned pel and nuclear power DCS man-machine system database group metamessage into Row compares, and obtains corresponding icon in nuclear power DCS man-machine interface;
S4. according to above-mentioned generic features information and independent characteristic information, the line segment for being suitble to nuclear power DCS man-machine interface to show, Correspondence icon in nuclear power DCS man-machine interface generates final MACS6 flow chart in nuclear power DCS man-machine interface.
The concept that the present embodiment is related to simply is introduced below.
DCS: dcs.
Nuclear power Process Design image: nuclear power Process Design flow chart, for showing nuclear power plant's sensing data, equipment shape The image file of the procedural informations such as state, order feedback.
MACS6: the HOlliAS MACS6 software platform applied to nuclear power DCS.
Nuclear power DCS man-machine system database: the basic symbol comprising field device in MACS6, i.e. icon.
Line segment: key point only includes beginning and end.
Connecting line: key point includes starting point, terminal, turning point and crosspoint.
Compared with prior art, by further investigation input design file, (nuclear power process is set method provided in this embodiment Count image) primitive features information extraction technology, and depth excavates nuclear power Process Design image primitive features and MACS6 flow chart figure The corresponding relationship for according with attribute and configuration info (generic features information and independent characteristic information), realizes nuclear power DCS man-machine interface Picture automatically generates.This method, which can read over, takes each pel in a large amount of nuclear power Process Design image, identifies pel Generic features information and independent characteristic information, extract whole characteristic informations, generation can be believed by the feature of DCS land identification Breath, and it is successfully applied to the development work of nuclear power DCS man-machine interface.It proves through a large number of experiments, largely realizes The automation of Human Machine Interface solves human machine interface graphics element and draws instead of traditional pure artificial drafting, configuration work Precision is high, the normative technical problems such as low with the degree of consistency, has achieved the purpose that save human cost and time cost.
Embodiment 2
Optimize on the basis of embodiment 1, nuclear power DCS man-machine interface automatic generation method before step S1, Further include following steps:
S0. nuclear power Process Design image coordinate system and MACS6 flow chart coordinate system are established, nuclear power Process Design image is obtained Each point coordinate transformation relation in coordinate system and MACS6 flow chart coordinate system.
By establishing nuclear power Process Design image coordinate system and MACS6 flow chart coordinate system, enable to subsequent identification, Conversion and generation MACS6 flow chart processes are more accurate, and it is higher to obtain details accuracy and reliability.
The difference of nuclear power Process Design image coordinate and MACS6 flow chart coordinate has been illustrated in following table 1.
Table 1
Preferably, step S1 can be further refined as following steps:
S11. under nuclear power Process Design image coordinate system, header, the footer, title in nuclear power Process Design image are deleted Area information, identification need to carry out the nuclear power Process Design effective image area of information processing;
S12. test pattern is carried out to above-mentioned nuclear power Process Design effective image area, obtained in nuclear power Process Design image The pel and connecting line for including.
In step S11, MACS6 flow chart includes header, footer, Title area, these information are not needed to input, not needed Identification, and nuclear power Process Design image page bottom includes documentation information area, should delete header, footer, Title area Irrelevant information, only carry out picture effective coverage (nuclear power Process Design effective image area) identification.Line segment only includes starting point And terminal.Connecting line includes starting point, terminal, turning point and crosspoint.Since MACS6 only has this type icon of line segment, design The connecting line in nuclear power Process Design image corresponds to the indefinite a plurality of line segment of number in MACS6 in the process, therefore in above-mentioned steps Need in nuclear power Process Design image line segment and connecting line effectively distinguished.
Preferably, in step S12, the pel includes text, line segment, rectangle etc..
Preferably, step S2 can be further refined as following steps:
S21. the pel and connecting line for including in all nuclear power Process Design images are traversed, each pel and connecting line are obtained The generic features information and independent characteristic information for including;
S22. in connecting line turning point and infall, fractionation conversion is carried out to connecting line by default method for dividing and processing Processing obtains the line segment for being suitble to nuclear power DCS man-machine interface to show.
Above-mentioned steps S21-S22 explores a kind of effective company for the connecting line in nuclear power Process Design image Wiring splits into the technology of line segment automatically, because this technology is to establish transformational relation from data plane, is not only applicable in In the MACS6 platform of nuclear power DCS, nuclear power DCS other platforms for applying also for being currently known.
Preferably, in step S21, the generic features information that text includes, including mold title, icon tag name icon are wide Degree, icon height, icon rotation center X-coordinate, icon rotation center Y-coordinate, icon rotation center X relative coordinate are (in rotation The heart is relative to the X-coordinate under icon coordinate), (rotation center is relative to the Y under icon coordinate for icon rotation center Y relative coordinate Coordinate).The independent characteristic information that text includes, including text background color, text title, Horizontal Alignment, vertical alignment side Formula, font, font size, textwidth, text height, text fill color.
Preferably, in step S21, the generic features information that line segment includes, including icon tag name, icon width, icon Highly, icon rotation center X-coordinate, icon rotation center Y-coordinate, icon rotation center X relative coordinate, icon rotation center Y Relative coordinate.The independent characteristic information that line segment includes, the end of the starting point Y-coordinate of starting point X-coordinate, line segment including line segment, line segment Point X-coordinate, the terminal Y-coordinate of line segment, line width, line color, line style, start arrowhead, terminal arrow;The line style be solid line, At least one of dotted line, dotted line, a kind of imaginary point line, two class imaginary point lines.
Preferably, in step S21, the generic features information that rectangle includes, including icon tag name, icon width, icon Highly, icon rotation center X-coordinate, icon rotation center Y-coordinate, icon rotation center X relative coordinate, icon rotation center Y Relative coordinate.Whether the independent characteristic information that rectangle includes, including line width, line color, icon medium color, lines are hidden.
Do not have to choose through information again by the generic features information and independent characteristic information of above-mentioned pel, when user uses, All too many levels such as inquiry, configuration, can directly apply, can shorten PROJECT TIME, effectively save time and cost.
Preferably, in step S22, fractionation conversion process is carried out to connecting line by default method for dividing and processing, including such as Lower step:
S221. the key point on connecting line is identified, obtains starting point, terminal, turning point and crosspoint;
S222. from the off, other key points on connecting line are successively traversed, starting point (first point) is used as first line Duan Qidian, as first line segment terminal, third point is as Article 2 line segment starting point, and the 4th o'clock as second within second o'clock Line segment terminal, and so on, n line segment is obtained, if finally remaining next isolated point, judgement splits into the connecting line N+1 line segment, if determining the connecting line splitting into n line segment without remaining isolated point;
S223. coordinate (starting point coordinate and terminal point coordinate) of the above-mentioned every line segment in nuclear power Process Design image is obtained, And then the coordinate for obtaining every line segment in final MACS6 flow chart is converted by coordinate.
Preferably, step S3 can be further refined as following steps:
S31. the generic features information for including in pel is extracted, pel mold title is obtained;
S32. the icon title of all constituent elements in the pel mold title and nuclear power DCS man-machine system database is carried out Compare, obtains the icon of all constituent elements in nuclear power DCS man-machine system database identical with the pel mold title;
S33. it is shown in the nuclear power DCS man-machine system database at corresponding pel position in final MACS6 flow chart The icon of constituent element, as pel icon.
Illustratively, it is as shown in Figure 2 that pel icon is commonly used in nuclear power DCS man-machine system database.
Preferably, step S4 can be further refined as following steps:
S41. according to the position coordinates of pel in nuclear power Process Design image, syncaryon electric process designed image coordinate system and Each point coordinate transformation relation in MACS6 flow chart coordinate system obtains the position coordinates of pel in MACS6 flow chart;
S42. it in the MACS6 flow chart at the position coordinates of pel, generates the pel icon and pel connects Mouthful, the pel interface is for calling the file comprising pel generic features information and independent characteristic information;
S43. the coordinate according to every line segment in final MACS6 flow chart shows that institute is wired in MACS6 flow chart Section, generates final MACS6 flow chart.
Preferably, it in step S42, when the generic features information of text and independent characteristic information being called to be shown, needs The adaptation processing that DCS is shown is carried out, is specifically comprised the following steps:
S421. count text in include Chinese character, English character or number, spcial character (such as+,-,/etc.) Number;
S422. width (pixel) shared by single character in above-mentioned every kind of character is obtained, which is an experience range values;
S423. pixel overall width shared by all characters in text is obtained, as dividend;
S424. the pixel wide after being converted with textwidth, as divisor;
S425. it carries out dividend and divisor to divide exactly operation, obtained quotient adds 1 to be used as line number;
Text carries out automatic line-break processing by the line number that step S425 is obtained in S426.MACS6.
When the practical Accounting Line Number of above-mentioned S425, there is optimization trim process algorithm to final determine of line number, it is ensured that in MACS6 Display effect it is consistent with Visio.It does not repeat herein.
Preferably, nuclear power DCS man-machine interface automatic generation method further includes following steps:
S5. for pel in MACS6 flow chart, its icon tag name is replaced with into machine group name and domain number, generating project needs Ask roll-call;
S6. the icon for obtaining pel in nuclear power Process Design image rotates angle, rotates angle pair according to the icon MACS6 flow chart pel icon rotation angle is adjusted, and guarantees that the two rotation angle is consistent.
Preferably, nuclear power DCS man-machine interface automatic generation method further includes following steps:
S7. in the MACS6 flow chart at the position coordinates of pel, the pel and corresponding analog quantity equipment chain are generated The interface connect, the interface are used to call the acquisition data of analog quantity equipment;
S8., icon precision is set, is carried out at precision by acquisition data of the icon precision to above-mentioned analog quantity equipment Reason obtains the acquisition data for meeting the icon precision;
S9. it by the acquisition data for meeting icon precision, is stored in real time by pel interface comprising the general spy of pel In reference breath and the file of independent characteristic information.
Compared with Example 1, nuclear power DCS man-machine interface automatic generation method provided in this embodiment establishes nuclear power process Designed image coordinate system and MACS6 flow chart coordinate system, under nuclear power Process Design image coordinate system, to nuclear power Process Design figure As effective coverage carries out test pattern, pel and connecting line are obtained, and connecting line is split by fractionation technology automatically a plurality of Line segment identifies pel, according to generic features information and independent characteristic information, nuclear power DCS man-machine interface is suitble to show Correspondence icon in line segment, nuclear power DCS man-machine interface, generates final MACS6 flow chart in nuclear power DCS man-machine interface.Pass through The above method can substantially complete the static elements design in MACS6 flow chart, automatically generate and occupy the man-machine boundary of nuclear power The overwhelming majority of face design work can significantly save time and the cost of designer.
It will be understood by those skilled in the art that realizing all or part of the process of above-described embodiment method, meter can be passed through Calculation machine program is completed to instruct relevant hardware, and the program can be stored in computer readable storage medium.Wherein, institute Stating computer readable storage medium is disk, CD, read-only memory or random access memory etc..
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art, It should be covered by the protection scope of the present invention.

Claims (10)

1. a kind of nuclear power DCS man-machine interface automatic generation method, which comprises the steps of:
The pel and connecting line for including in identification nuclear power Process Design image;
The generic features information and independent characteristic information for including in above-mentioned pel and connecting line are extracted, and connecting line is split Conversion process obtains the line segment for being suitble to nuclear power DCS man-machine interface to show;
The generic features information for including in above-mentioned pel is compared with group metamessage in nuclear power DCS man-machine system database, Obtain corresponding icon in nuclear power DCS man-machine interface;
Line segment, the nuclear power DCS shown according to above-mentioned generic features information and independent characteristic information, suitable nuclear power DCS man-machine interface Correspondence icon in man-machine interface generates final MACS6 flow chart in nuclear power DCS man-machine interface.
2. nuclear power DCS man-machine interface automatic generation method according to claim 1, which is characterized in that carrying out identification core Before the pel and connecting line that include in electric process designed image, following steps are carried out:
Nuclear power Process Design image coordinate system and MACS6 flow chart coordinate system are established, nuclear power Process Design image coordinate system is obtained With each point coordinate transformation relation in MACS6 flow chart coordinate system.
3. nuclear power DCS man-machine interface automatic generation method according to claim 1 or 2, which is characterized in that the identification core The pel and connecting line for including in electric process designed image, include the following steps:
Under nuclear power Process Design image coordinate system, header, footer, the Title area letter in nuclear power Process Design image are deleted Breath, identification need to carry out the nuclear power Process Design effective image area of information processing;
Test pattern is carried out to above-mentioned nuclear power Process Design effective image area, obtains the figure for including in nuclear power Process Design image Member and connecting line, the pel include text, line segment, rectangle.
4. nuclear power DCS man-machine interface automatic generation method according to claim 3, which is characterized in that the extraction is above-mentioned The generic features information and independent characteristic information for including in pel and connecting line, and fractionation conversion process is carried out to connecting line, it obtains The line segment that nuclear power DCS man-machine interface must be suitble to show, includes the following steps:
The pel and connecting line for including in all nuclear power Process Design images are traversed, each pel is obtained and what connecting line included leads to With characteristic information and independent characteristic information;
In connecting line turning point and infall, fractionation conversion process is carried out to connecting line by default method for dividing and processing, is obtained The line segment that nuclear power DCS man-machine interface must be suitble to show.
5. nuclear power DCS man-machine interface automatic generation method according to claim 4, which is characterized in that text included leads to It is revolved with characteristic information, including mold title, icon tag name icon width, icon height, icon rotation center X-coordinate, icon Turn center Y-coordinate, icon rotation center X relative coordinate, icon rotation center Y relative coordinate;
The independent characteristic information that text includes, including text background color, text title, Horizontal Alignment, vertical alignment mode, Font, font size, textwidth, text height, text fill color;
The generic features information that line segment includes, including icon tag name, icon width, icon height, icon rotation center X are sat Mark, icon rotation center Y-coordinate, icon rotation center X relative coordinate, icon rotation center Y relative coordinate;
The independent characteristic information that line segment includes, the starting point Y-coordinate of starting point X-coordinate, line segment including line segment, the terminal X of line segment are sat Mark, the terminal Y-coordinate of line segment, line width, line color, line style, start arrowhead, terminal arrow;The line style be solid line, dotted line, At least one of dotted line, a kind of imaginary point line, two class imaginary point lines;
The generic features information that rectangle includes, including icon tag name, icon width, icon height, icon rotation center X are sat Mark, icon rotation center Y-coordinate, icon rotation center X relative coordinate, icon rotation center Y relative coordinate;
Whether the independent characteristic information that rectangle includes, including line width, line color, icon medium color, lines are hidden.
6. nuclear power DCS man-machine interface automatic generation method according to claim 4 or 5, which is characterized in that described by pre- If method for dividing and processing carries out fractionation conversion process to connecting line, include the following steps:
Key point on connecting line is identified, starting point, terminal, turning point and crosspoint are obtained;
From the off, other key points on connecting line are successively traversed, starting point is as first line segment starting point, second point conduct First line segment terminal, third point is as Article 2 line segment starting point, and the 4th point is as Article 2 line segment terminal, with such It pushes away, obtains n line segment, if finally remaining next isolated point, determine the connecting line splitting into n+1 line segment, if nothing Remaining isolated point determines the connecting line splitting into n line segment;
Coordinate of the above-mentioned every line segment in nuclear power Process Design image is obtained, and then every line segment of acquisition is converted by coordinate and is existed Coordinate in final MACS6 flow chart.
7. nuclear power DCS man-machine interface automatic generation method according to claim 5, which is characterized in that it is described will be in pel The generic features information for including is compared with group metamessage in nuclear power DCS man-machine system database, obtains the man-machine boundary nuclear power DCS Corresponding icon, includes the following steps: in face
The generic features information for including in pel is extracted, pel mold title is obtained;
The pel mold title is compared with the icon title of all constituent elements in nuclear power DCS man-machine system database, is obtained Obtain the icon of all constituent elements in nuclear power DCS man-machine system database identical with the pel mold title;
In final MACS6 flow chart at corresponding pel position, the figure of constituent element in the nuclear power DCS man-machine system database is shown Symbol, as pel icon.
8. nuclear power DCS man-machine interface automatic generation method according to claim 7, which is characterized in that described according to above-mentioned Generic features information and independent characteristic information, the line segment for being suitble to nuclear power DCS man-machine interface to show, in nuclear power DCS man-machine interface Corresponding icon, final MACS6 flow chart is generated in nuclear power DCS man-machine interface, is included the following steps:
According to the position coordinates of pel in nuclear power Process Design image, syncaryon electric process designed image coordinate system and MACS6 stream Each point coordinate transformation relation in journey figure coordinate system obtains the position coordinates of pel in MACS6 flow chart;
In the MACS6 flow chart at the position coordinates of pel, the pel icon and pel interface, the figure are generated First interface is for calling the file comprising pel generic features information and independent characteristic information;
According to coordinate of the every line segment in final MACS6 flow chart, all line segments are shown in MACS6 flow chart, are generated most Whole MACS6 flow chart.
9. nuclear power DCS man-machine interface automatic generation method according to claim 7, which is characterized in that further include walking as follows It is rapid:
For pel in MACS6 flow chart, its icon tag name is replaced with into machine group name and domain number, generates project demand point name;
The icon for obtaining pel in nuclear power Process Design image rotates angle, rotates angle to MACS6 process according to the icon Figure pel icon rotation angle is adjusted, and guarantees that the two rotation angle is consistent.
10. nuclear power DCS man-machine interface automatic generation method according to claim 8 or claim 9, which is characterized in that further include as Lower step:
In the MACS6 flow chart at the position coordinates of pel, connecing for the pel and corresponding analog quantity linking of devices is generated Mouthful, the interface is used to call the acquisition data of analog quantity equipment;
Icon precision is set, carries out precision processing by acquisition data of the icon precision to above-mentioned analog quantity equipment, obtains Meet the acquisition data of the icon precision;
By the acquisition data for meeting icon precision, be stored in real time by pel interface comprising pel generic features information and In the file of independent characteristic information.
CN201910228112.5A 2019-03-25 2019-03-25 Nuclear power DCS (distributed control System) human-computer interface automatic generation method Active CN109933324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910228112.5A CN109933324B (en) 2019-03-25 2019-03-25 Nuclear power DCS (distributed control System) human-computer interface automatic generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910228112.5A CN109933324B (en) 2019-03-25 2019-03-25 Nuclear power DCS (distributed control System) human-computer interface automatic generation method

Publications (2)

Publication Number Publication Date
CN109933324A true CN109933324A (en) 2019-06-25
CN109933324B CN109933324B (en) 2022-04-22

Family

ID=66988308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910228112.5A Active CN109933324B (en) 2019-03-25 2019-03-25 Nuclear power DCS (distributed control System) human-computer interface automatic generation method

Country Status (1)

Country Link
CN (1) CN109933324B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026307A (en) * 2019-12-11 2020-04-17 新奥数能科技有限公司 Method and device for quickly associating graphics primitives in graphics configuration tool
CN111830918A (en) * 2020-07-20 2020-10-27 北京广利核系统工程有限公司 EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system
CN111949263A (en) * 2020-07-08 2020-11-17 中核武汉核电运行技术股份有限公司 Human factor engineering design verification method based on image recognition technology
CN113986214A (en) * 2021-10-26 2022-01-28 中国核动力研究设计院 Nuclear power station DCS system application software logic diagram connection data processing method
CN115185508A (en) * 2022-05-20 2022-10-14 中核武汉核电运行技术股份有限公司 Algorithm configuration tool and method based on graphic elements
CN115421458A (en) * 2022-09-09 2022-12-02 中国核动力研究设计院 DCS algorithm configuration icon and general structure thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065343A (en) * 2013-01-06 2013-04-24 中国科学院水利部成都山地灾害与环境研究所 Vector map standard conversion method based on spatial data model
CN104484499A (en) * 2014-11-18 2015-04-01 中国南方电网有限责任公司超高压输电公司南宁局 Dynamic simulation image rapid generation method for substation secondary circuit
CN105335158A (en) * 2015-10-29 2016-02-17 西安电子科技大学 Flight interface display method based on ARINC661 custom symbol library
WO2018137144A1 (en) * 2017-01-24 2018-08-02 北京广利核系统工程有限公司 Graphical user interface (gui) system
CN109471613A (en) * 2018-09-25 2019-03-15 北京广利核系统工程有限公司 The graphic file generation method and system of nuclear safe level application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065343A (en) * 2013-01-06 2013-04-24 中国科学院水利部成都山地灾害与环境研究所 Vector map standard conversion method based on spatial data model
CN104484499A (en) * 2014-11-18 2015-04-01 中国南方电网有限责任公司超高压输电公司南宁局 Dynamic simulation image rapid generation method for substation secondary circuit
CN105335158A (en) * 2015-10-29 2016-02-17 西安电子科技大学 Flight interface display method based on ARINC661 custom symbol library
WO2018137144A1 (en) * 2017-01-24 2018-08-02 北京广利核系统工程有限公司 Graphical user interface (gui) system
CN109471613A (en) * 2018-09-25 2019-03-15 北京广利核系统工程有限公司 The graphic file generation method and system of nuclear safe level application

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026307A (en) * 2019-12-11 2020-04-17 新奥数能科技有限公司 Method and device for quickly associating graphics primitives in graphics configuration tool
CN111026307B (en) * 2019-12-11 2021-07-30 新奥数能科技有限公司 Method and device for quickly associating graphics primitives in graphics configuration tool
CN111949263A (en) * 2020-07-08 2020-11-17 中核武汉核电运行技术股份有限公司 Human factor engineering design verification method based on image recognition technology
CN111949263B (en) * 2020-07-08 2024-05-14 中核武汉核电运行技术股份有限公司 Man-factor engineering design verification method based on image recognition technology
CN111830918A (en) * 2020-07-20 2020-10-27 北京广利核系统工程有限公司 EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system
CN113986214A (en) * 2021-10-26 2022-01-28 中国核动力研究设计院 Nuclear power station DCS system application software logic diagram connection data processing method
CN113986214B (en) * 2021-10-26 2024-04-23 中国核动力研究设计院 Nuclear power station DCS system application software logic diagram connection data processing method
CN115185508A (en) * 2022-05-20 2022-10-14 中核武汉核电运行技术股份有限公司 Algorithm configuration tool and method based on graphic elements
CN115421458A (en) * 2022-09-09 2022-12-02 中国核动力研究设计院 DCS algorithm configuration icon and general structure thereof

Also Published As

Publication number Publication date
CN109933324B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN109933324A (en) A kind of nuclear power DCS man-machine interface automatic generation method
CA2676487C (en) Method for emphasizing differences in graphical appearance between an original document and a modified document with annotations
US8819545B2 (en) Digital comic editor, method and non-transitory computer-readable medium
CN102682307A (en) Modifiable answer sheet system and implementation method thereof based on image processing
CN109978972A (en) A kind of method and device of copy editor in picture
JP5439455B2 (en) Electronic comic editing apparatus, method and program
US20220044451A1 (en) Method and device for image generation and colorization
EP3543948A1 (en) Method for providing e-book service and computer program therefor
CN109447019B (en) Paper scanned document electronization method based on image recognition and database storage
JP2013089198A (en) Electronic comic editing device, method and program
CN106503756A (en) Based on the method that image outline sets up Chinese character handwriting model
CN106201255B (en) Information processing method and electronic equipment
CN112084103B (en) Interface test method, device, equipment and medium
CN111107264A (en) Image processing method, image processing device, storage medium and terminal
CN108647337B (en) Format processing method and device for simulation analysis data
US6430583B1 (en) Scenario editing apparatus for performing editing of multimedia using figure feature points
CN114724170A (en) BOM generation method and device, electronic equipment and storage medium
CN115688216A (en) User-defined design method and device of drawing
JPH0612540B2 (en) Document creation support device
CN109741417B (en) Method and device for generating graphic file, computing equipment and storage medium
CN102902534A (en) Transparent OSD (Optical Scanning Device) software realization method
CN106547891A (en) For the quick visualization method of the pictured text message of palm display device
CN113034649A (en) Chinese character drawing and displaying method and device, electronic equipment and medium
CN107831920A (en) Cursor movement display methods, device, mobile terminal and storage medium
CN113627456B (en) Method and device for generating reference data

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