CN106777644A - Power plant identifies the automatic generation method and device of system coding - Google Patents

Power plant identifies the automatic generation method and device of system coding Download PDF

Info

Publication number
CN106777644A
CN106777644A CN201611123326.9A CN201611123326A CN106777644A CN 106777644 A CN106777644 A CN 106777644A CN 201611123326 A CN201611123326 A CN 201611123326A CN 106777644 A CN106777644 A CN 106777644A
Authority
CN
China
Prior art keywords
power plant
coding
pel
mark
topological structure
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
CN201611123326.9A
Other languages
Chinese (zh)
Other versions
CN106777644B (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.)
Huaneng Power International Inc
Original Assignee
Huaneng Power International Inc
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 Huaneng Power International Inc filed Critical Huaneng Power International Inc
Priority to CN201611123326.9A priority Critical patent/CN106777644B/en
Publication of CN106777644A publication Critical patent/CN106777644A/en
Application granted granted Critical
Publication of CN106777644B publication Critical patent/CN106777644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Geometry (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides automatic generation method and device that a kind of power plant identifies system coding, including:The page is drawn according to the system diagram chosen, determines that power plant identifies System Computer group number;According to the pel of the engineering design structure matching with electric power factory equipment chosen, power plant's mark genealogical classification code of pel is read;For the system diagram that pel is drawn, the corresponding power plant's mark System Number of the system diagram is generated;System Computer group number, power plant's mark genealogical classification code and power plant's mark System Number are identified according to power plant, power plant's mark system coding of system diagram is generated;It can realize that power plant is carried out to system diagram identifies automatically generating and automatic marking for system coding by computer system, reduce the error rate and the repetition rate of coding and cost of labor of coding, improve digital management and safety operation level and the operating efficiency of enterprise, and for its application provides unification, science, correct, complete power plant's mark systematic-coded data, Enterprise Integrated cost then greatly reduces.

Description

Power plant identifies the automatic generation method and device of system coding
Technical field
The present invention relates to electric power factory equipment coding techniques field, oneself of system coding is identified in particular to a kind of power plant Dynamic generation method and device.
Background technology
Power plant's mark system coding is, according to features such as function, infield and the installation sites for being identified object, to use English alphabet and Arabic numerals, enter according to the practical coding rule of rigorous, science to the system in power plant, equipment and its part A kind of coding that row understands and uniquely describes.Power plant's mark system coding is mainly used in power plant engineering to be planned, design, applies The aspects such as work, examination, operation, maintenance, budget and cost control.
With the fast development of science and technology, power plant's mark system has become the coding being most widely used.At present, should Electricity consumption emblem mark know system coding to power plant in identified object carry out encode generation process it is as follows:By designer according to system System figure, according to equipment and part, function, effect and subordinate relation carry out manual coding in system diagram, and by hand using obtaining Coding is labeled on drawing to being identified object, to realize the power plant's mark system coding to being identified object in enterprise Generation and mark.
But, above-mentioned application to power plant in the identified object method that carries out manual coding, not only operating efficiency is slow, And occur the probability of error code and repeated code in order to reduce, professional standards, careful degree and multi-specialized collaboration to designer The aspect requirement such as share with difference section higher, and the work period is more long.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide the automatic generation method that a kind of power plant identifies system coding And device, it passes through computer system and realizes to carry out system diagram automatically generating and marking automatically for power plant's mark system coding Note, reduces error rate and the repetition rate of coding and cost of labor that power plant identifies system coding, improves the digital management of enterprise With safety operation level and operating efficiency.
In a first aspect, the automatic generation method that a kind of power plant identifies system coding is the embodiment of the invention provides, including:
The page is drawn according to the system diagram chosen, determines that power plant identifies System Computer group number;
According to the pel of the engineering design structure matching with electric power factory equipment chosen, the mark system of power plant of the pel is read System classification code;
For the system diagram drawn according to the pel chosen, according to the corresponding electricity of the preset numbers rule generation system diagram Emblem mark knows System Number;The preset numbers rule includes one or more in following rule:Prefix number coding rule, system Level coding rule, device level coding rule and component-level coding rule;
The power plant mark genealogical classification code for System Computer group number is identified according to the power plant for determining, reading and generation Power plant mark System Number, generate power plant's mark system coding of the system diagram.
With reference in a first aspect, the embodiment of the invention provides the first possible implementation method of first aspect, wherein, root The page is drawn according to the system diagram chosen, determines that power plant identifies System Computer group number, including:
When the system diagram drafting page is detected, the page iden-tity code that the system diagram draws the page is extracted;
The page iden-tity code in the page is drawn according to the system diagram, the power plant mark System Computer of electric power factory equipment is determined Group number;Wherein, the page iden-tity code and power plant mark System Computer group number one-to-one corresponding.
With reference in a first aspect, the embodiment of the invention provides second possible implementation method of first aspect, wherein, root According to the pel of the engineering design structure matching with electric power factory equipment chosen, power plant's mark genealogical classification code of the pel is read, Including:
When the pel with the engineering design structure matching of electric power factory equipment is detected, the pel mark of the pel is extracted Code;
Pel identification code according to the pel, reads power plant's mark genealogical classification code of the graphic element matching;Wherein, often Individual pel has unique pel identification code, and the pel identification code is multistage corresponding with power plant mark genealogical classification code;It is described Power plant's mark genealogical classification code includes one or more of:System-level classification code, device level classification code and component-level classification code.
With reference to second possible implementation method of first aspect, the third of first aspect is the embodiment of the invention provides Possible implementation method, wherein, the pel identification code according to the pel reads power plant's mark system point of the graphic element matching Class code, including:
It is determined that second of pel described in first topological structure and the system diagram of the system diagram of the pel drafting chosen Topological structure;Wherein, the system diagram includes:Total figure and subsystem drawing;
Treatment is analyzed to first topological structure and second topological structure, code topological structure of classifying is obtained; Wherein, the classification code topological structure includes:System-level classification code topological structure, device level classification code topological structure and component-level Classification code topological structure;
According to the classification code topological structure and the pel identification code of the pel, the mark system of power plant of the pel is read System classification code;Wherein, power plant's mark genealogical classification code corresponding with the classification code topological structure is prestored in database.
With reference in a first aspect, the embodiment of the invention provides the 4th kind of possible implementation method of first aspect, wherein, it is right In the system diagram drawn according to the pel chosen, according to the corresponding power plant's mark system of the preset numbers rule generation system diagram Numbering, including:
It is determined that second of pel described in first topological structure and the system diagram of the system diagram of the pel drafting chosen Topological structure;Wherein, the system diagram includes:Total figure and subsystem drawing;
Treatment is analyzed to first topological structure and second topological structure, numbering topological structure is obtained;Its In, the numbering topological structure includes:Prefix number topological structure, system-level numbering topological structure, device level numbering topological structure With component-level numbering topological structure;
According to the numbering topological structure and preset numbers rule, the corresponding power plant's mark system of the system diagram is generated Numbering;Wherein, the preset numbers rule includes:Numbering topological structure identifies the corresponding relation of System Number with power plant.
With reference to first aspect, first aspect the first possible implementation method to first aspect the 4th kind of possible reality Any one possible implementation method in mode is applied, the 5th kind of possible embodiment party of first aspect is the embodiment of the invention provides Formula, wherein, power plant mark system coding using seven groups of three-level 13 coding rules, 0 grade of first group of correspondence, including 1 Code name, represents machine group number;1 grade of second group of correspondence, the 3rd group and the 4th group, respectively including 1 bit digital, 3 letters and 2 digits Word, represents prefix number, genealogical classification code and System Number respectively;2 grades of the 5th group, the 6th group and the 7th group of correspondences, respectively including 2 Position letter, 3 bit digitals and 1 letter, represent device class code, device numbering and equipment extra-code respectively;Wherein, the code name Including:Numeral or letter;0 completion of default value of the machine group number, the System Number and the device numbering.
With reference in a first aspect, the embodiment of the invention provides the 6th kind of possible implementation method of first aspect, wherein, institute Stating method also includes:
Acquisition includes the system map file of other structures type;
The system map file to obtaining carries out conversion process, obtains system graph structure;The system graph structure includes: The topological structure of the system diagram drawing page, pel, figure layer and pel.
With reference in a first aspect, the embodiment of the invention provides the 7th kind of possible implementation method of first aspect, wherein, institute Stating method also includes:
Power plant's mark system coding of the system diagram that will be generated is stored in coded data storehouse, and sets up the coding The index code of database;
Investigation treatment is carried out to the power plant's mark system coding in the coded data storehouse;
When abnormal coding is detected, start the instruction prompting of the abnormal codes match.
With reference in a first aspect, the embodiment of the invention provides the 8th kind of possible implementation method of first aspect, wherein, institute Stating method also includes:
Each described pel correspondence encoder block is set up on the system diagram, in each described encoder block automatic marking with Power plant's mark system coding of the graphic element matching.
With reference in a first aspect, the embodiment of the invention provides the 9th kind of possible implementation method of first aspect, wherein, institute Stating method also includes:
When the power plant for generating the system diagram identifies system coding, the figure of current system figure and template system figure is obtained Diff area;
The difference of the corresponding power plant's mark system coding of the template system figure according to the graphic difference zone location is compiled Code region;
The difference coding of the diff area difference coding region is generated, and the difference is compiled according to difference coding The coding in code region is modified treatment, obtains power plant's mark system coding of current system figure.
Second aspect, the embodiment of the present invention additionally provides the automatically generating device that a kind of power plant identifies system coding, including:
Determining module, the page is drawn according to the system diagram chosen, and determines that power plant identifies System Computer group number;
Read module, for the pel according to the engineering design structure matching with electric power factory equipment chosen, reads the figure Power plant's mark genealogical classification code of unit;
First generation module, for the system diagram for being drawn according to the pel chosen, generates according to preset numbers rule The corresponding power plant's mark System Number of the system diagram;The preset numbers rule includes one or more in following rule: Prefix number coding rule, system-level coding rule, device level coding rule and component-level coding rule;
Second generation module, for the power plant mark for identifying System Computer group number according to the power plant for determining, read Genealogical classification code and the power plant mark System Number of generation, generate power plant's mark system coding of the system diagram.
With reference to second aspect, the first possible implementation method of second aspect is the embodiment of the invention provides, wherein, institute Determining module is stated, including:
First extraction unit, for when the system diagram drafting page is detected, extracting the page mark in the drawing page Know code;
Determining unit, for drawing the page iden-tity code in the page according to the system diagram, determines the described of electric power factory equipment Power plant identifies System Computer group number;Wherein, the page iden-tity code and power plant mark System Computer group number one-to-one corresponding;
The read module, including:
Second extraction unit, for when the pel with the engineering design structure matching of electric power factory equipment is detected, extracting institute State the pel identification code of pel;
Reading unit, for the pel identification code according to the pel, reads power plant's mark system of the graphic element matching Classification code;Wherein, each pel has unique pel identification code, and the pel identification code and power plant's mark genealogical classification code Multistage correspondence;The emblem mark knows genealogical classification code includes one or more of:System-level classification code, device level classification code and portion Part level classification code.
With reference to the first possible implementation method of second aspect, second of second aspect is the embodiment of the invention provides Possible implementation method, wherein, the reading unit also includes:
Determination subelement, in first topological structure and the system diagram of the system diagram that the pel for determining to choose is drawn Second topological structure of the pel;Wherein, the system diagram includes:Total figure and subsystem drawing;
Analyzing and processing subelement, for being analyzed treatment to first topological structure and second topological structure, Obtain code topological structure of classifying;Wherein, the classification code topological structure includes:System-level classification code topological structure, equipment fraction Class code topological structure and component-level classification code topological structure;
Subelement is read, for the pel identification code according to the classification code topological structure and the pel, is read described Power plant's mark genealogical classification code of pel;Wherein, power plant corresponding with the classification code topological structure is prestored in database to mark Know genealogical classification code.
With reference to second possible implementation method of second aspect, the third of second aspect is the embodiment of the invention provides Possible implementation method, wherein, first generation module, including:
Determining unit, institute in first topological structure and the system diagram of the system diagram that the pel for determining to choose is drawn State the second topological structure of pel;Wherein, the system diagram includes:Total figure and subsystem drawing;
Analysis and processing unit, for being analyzed treatment to first topological structure and second topological structure, obtains To numbering topological structure;Wherein, the numbering topological structure includes:Prefix number topological structure, system-level numbering topological structure, set Standby level numbering topological structure and component-level numbering topological structure;
Generation unit, for according to the numbering topological structure and preset numbers rule, generating the system diagram correspondence Power plant mark System Number;Wherein, the preset numbers rule includes:Numbering topological structure identifies System Number with power plant Corresponding relation.
With reference to second aspect, the 4th kind of possible implementation method of second aspect is the embodiment of the invention provides, wherein, the One acquisition module, the system map file of other structures type is included for obtaining;
Conversion processing module, for carrying out conversion process to the system map file for obtaining, obtains system graph structure;Institute The system graph structure of stating includes:The topological structure of the system diagram drawing page, pel, figure layer and pel;
Memory module, power plant's mark system coding of the system diagram for that will generate is stored in coded data storehouse;
First sets up module, the index code for setting up the coded data storehouse;
Investigation processing module, for carrying out investigation treatment to the power plant's mark system coding in the coded data storehouse;
Starting module, the instruction prompting for when abnormal coding is detected, starting the abnormal codes match;
Second sets up module, for setting up each pel correspondence encoder block on the system diagram;
Labeling module, compiles for the automatic marking in each described encoder block with power plant's mark system of the graphic element matching Code.
With reference to second aspect, the 5th kind of possible implementation method of second aspect is the embodiment of the invention provides, wherein, also Including:
Second acquisition module, during for identifying system coding in the power plant for generating the system diagram, obtains current system figure With the graphic difference region of template system figure;
Locating module, for according to the corresponding power plant's mark system coding of the graphic difference zone location template system figure Difference coding region;
3rd generation module, the difference for generating the diff area difference coding region is encoded, and according to the difference Different coding is modified treatment to the coding of the difference coding region, obtains power plant's mark system coding of current system figure.
A kind of power plant provided in an embodiment of the present invention identifies the automatic generation method and device of system coding, according to what is chosen System diagram draws the page, determines that power plant identifies System Computer group number;According to the engineering design structure matching with electric power factory equipment chosen Pel, read pel power plant mark genealogical classification code;For the system diagram drawn according to the pel chosen, according to default volume Number rule generation system diagram corresponding power plant mark System Number;System Computer group number, the electricity for reading are identified according to the power plant for determining Emblem mark knows power plant's mark System Number of genealogical classification code and generation, generates power plant's mark system coding of system diagram, and existing Not only operating efficiency is slow the method for being manually generated and marking in technology, and work period longer correlation ratio, and it can pass through Computer system realizes and carries out to system diagram power plant's mark system coding and automatically generate and automatic marking, reduce it is artificial into This, improves operating efficiency, and for equipment control machine account, lifecycle management, defect management, maintaining management, Application in point inspection based maintenance management, two ticket IT application in management management systems provides unification, science, correct, complete power plant's mark Know systematic-coded data, Enterprise Integrated cost then greatly reduces.
Further, power plant provided in an embodiment of the present invention identifies the automatic generation method and device of system coding, moreover it is possible to Enough automatic power plant's mark system codings to generating carry out investigation treatment, and when corresponding error code and repeated code is detected, automatically Start the instruction prompting of abnormal codes match, it is ensured that all power plant identify the uniqueness and correctness of system coding.
Further, power plant provided in an embodiment of the present invention identifies the automatic generation method and device of system coding, moreover it is possible to It is enough that automatically generating and automatic marking for power plant's mark system coding can be carried out to the system diagram while drawing system figure, The work period is reduced, operating efficiency is improve.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows a kind of flow of the automatic generation method of power plant mark system coding that the embodiment of the present invention is provided Figure;
Fig. 2 shows the stream of the automatic generation method of another power plant mark system coding that the embodiment of the present invention is provided Cheng Tu;
Fig. 3 shows the stream of the automatic generation method of another power plant mark system coding that the embodiment of the present invention is provided Cheng Tu;
Fig. 4 shows the stream of the automatic generation method of another power plant mark system coding that the embodiment of the present invention is provided Cheng Tu;
Fig. 5 shows the stream of the automatic generation method of another power plant mark system coding that the embodiment of the present invention is provided Cheng Tu;
Fig. 6 shows the stream of the automatic generation method of another power plant mark system coding that the embodiment of the present invention is provided Cheng Tu;
Fig. 7 shows the stream of the automatic generation method of another power plant mark system coding that the embodiment of the present invention is provided Cheng Tu;
Fig. 8 shows a kind of structure of the automatically generating device of power plant mark system coding that the embodiment of the present invention is provided Schematic diagram;
Fig. 9 determines in showing a kind of automatically generating device of power plant mark system coding that the embodiment of the present invention provided The structural representation of module and read module;
Figure 10 reads in showing a kind of automatically generating device of power plant mark system coding that the embodiment of the present invention provided Take the structural representation of unit and the first generation module.
Major Symbol explanation:
11st, determining module;12nd, read module;13rd, the first generation module;14th, the second generation module;111st, first extract Unit;112nd, determining unit;121st, the second extraction unit;122nd, reading unit;131st, determining unit;132nd, analyze and process single Unit;133rd, generation unit;1221st, determination subelement;1222nd, subelement is analyzed and processed;1223rd, subelement is read;.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention Middle accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only It is a part of embodiment of the invention, rather than whole embodiments.The present invention generally described and illustrated in accompanying drawing herein is real The component for applying example can be arranged and designed with a variety of configurations.Therefore, it is of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of selected reality of the invention Apply example.Based on embodiments of the invention, the institute that those skilled in the art are obtained on the premise of creative work is not made There is other embodiment, belong to the scope of protection of the invention.
With the fast development of science and technology, power plant's mark system has become the coding being most widely used.Power plant marks Know system coding always by design engineer according to system diagram, according to equipment and part in system diagram function, effect and subordinate Relation carries out manual coding and carries out the mark that power plant identifies system coding, above-mentioned power plant's mark to being identified object on drawing Not only operating efficiency is slow for the generation of system coding and mask method, and error code and repeated code easily occurs, manual duplicate checking error correction Possibility it is extremely low, error code and repeated code to finding are modified even more extremely difficult, and the later stage for having a strong impact on coding applies work Make.
Encoded in view of the identified object in identifying system coding craft to power plant using power plant in the prior art Method, not only operating efficiency is slow, and in order to avoid there is error code and repeated code, professional standards and carefulness to designer Degree requirement is higher, and the work period is more long, meanwhile, discovery manually to error code and repeated code, modification difficulty are higher.Based on this, this Inventive embodiments provide the automatic generation method and device that a kind of power plant identifies system coding, are realized with by computer system Automatically generating and automatic marking for power plant's mark system coding is carried out to system diagram, cost of labor is reduced, work is improve Efficiency, additionally it is possible to which automatic power plant's mark system coding to generating carries out investigation treatment, and detecting corresponding error code and weight During code, the instruction prompting of automatic exception codes match, it is ensured that the uniqueness of all power plant mark system codings and correct Property;And, additionally it is possible to while drawing system figure, power plant's mark system coding can be carried out to the system diagram and is automatically generated And automatic marking, the work period is reduced, operating efficiency is improve, it is described below by embodiment.
The automatic generation method that a kind of power plant identifies system coding is the embodiment of the invention provides, with reference to Fig. 1, including:
S101, the system diagram drafting page according to selection, determine that power plant identifies System Computer group number.
In the embodiment of the present invention, system diagram to be encoded can be the figure drawn in mapping software, or from figure The figure that piece is converted to.For what is be converted to from picture, specific method is:First obtain include other structures type be System map file (this document can be picture, it is also possible to pdf document, DWG file), is then carried out at conversion to the picture for obtaining Reason, obtains system graph structure;Said system graph structure includes:The topological structure of the drawing page, pel, figure layer and pel.
The figure that the figure either drawn still is changed, in the embodiment of the present invention, system is monitoring system diagram drafting During the page, the page iden-tity code that the system diagram is drawn in the page is extracted;Then the page mark in the page is drawn according to system diagram Know code, determine power plant's mark System Computer group number;Wherein, in the database of system, system diagram draws the page mark of the page Code is known with power plant's mark System Computer group number one-to-one corresponding.
For drawing, current system diagram is drawn by the mainframe computer Autocad of CAD series mostly.This hair Then opening for system can be carried out in bright embodiment using computer language on the basis of the CAD existing drawing functions of P&ID softwares Hair, realize power plant's mark system coding automatically generates the work(that automatic marking of the system coding on system diagram is identified with power plant Energy.
S102, the pel according to the engineering design structure matching with electric power factory equipment chosen, read the power plant of the pel Mark genealogical classification code.
Specifically, the different pel of the engineering design structure correspondence of different electric power factory equipments, such as total figure pair of electric power factory equipment Answer system-level pel, subsystem drawing corresponding device level pel or component-level pel;And in the database of system, system pel correspondence There is system-level classification code, equipment pel has component-level classification code to that should have device level classification code, part pel correspondence.
S103, the system diagram for being drawn according to the pel chosen, according to the preset numbers rule generation system diagram pair The power plant's mark System Number answered;The preset numbers rule includes one or more in following rule:Prefix number numbering rule Then, system-level coding rule, device level coding rule and component-level coding rule.
When system diagram is total figure, it is according to preset numbers rule generation System Number, subsequently according to machine group number, system point Class code and System Number can generate power plant's mark system coding of the total figure.
When system diagram is subsystem drawing, it will also be solved according to the corresponding preset numbers rule generating apparatus numbering of pel Classify code and device numbering of desorption device determines genealogical classification code and System Number, finally according to machine group number, genealogical classification code, is Unified editing number, device class code and device numbering can generate power plant's mark system coding of the system diagram.
S104, according to the power plant mark System Computer group number for determining, the power plant mark genealogical classification code for reading with And the power plant mark System Number of generation, generate power plant's mark system coding of the system diagram.
During for system diagram for total figure, according to machine group number, the electricity of the total figure is generated by genealogical classification code and System Number Emblem mark knows system coding;
When for system diagram being subsystem drawing, according to machine group number, genealogical classification code, System Number, device class yard and set Standby numbering can generate power plant's mark system coding of the system diagram.
A kind of power plant provided in an embodiment of the present invention identifies the automatic generation method of system coding, using computer system, The engineering design relation of system is identified according to power plant, power plant is set up and is identified the multilevel branch system database of system, and obtain and be The topological structure of system figure and pel, parsing classification code and numbering generate power plant's mark system coding of matching, and in the prior art The method of manual mark not only operating efficiency is slow, and work period longer correlation ratio, it can be realized by computer system Automatically generating and automatic marking for power plant's mark system coding is carried out to system diagram, cost of labor is reduced, work is improve Efficiency, and for equipment control machine account, lifecycle management, defect management, maintaining management, point inspection based maintenance management, Application in two ticket IT application in management management systems provides unification, science, correct, complete power plant's mark system coding number According to Enterprise Integrated cost then greatly reduces.
Further, different types of pel is to that should have different power plant's mark genealogical classification codes, with reference to Fig. 2, above-mentioned step Rapid 102, according to the pel of the engineering design structure matching with electric power factory equipment chosen, read power plant's mark system of the pel Classification code, including:
S201, when the pel with the engineering design structure matching of electric power factory equipment is detected, extract the pel of the pel Identification code;
S202, the pel identification code according to the pel, read power plant's mark genealogical classification code of the graphic element matching;Its In, each pel has unique pel identification code, and the pel identification code is multistage corresponding with power plant mark genealogical classification code; Power plant's mark genealogical classification code includes one or more of:System-level classification code, device level classification code and part fraction Class code.
Wherein, unique pel identification code of above-mentioned pel is the type for representing the pel, that is, represent that the pel is system Pel or equipment pel or part pel, the different power plant of different types of pel correspondence identify genealogical classification code, that is, be System pel correspondence system level classification code, equipment pel corresponding device level classification code.
Further, with reference to Fig. 3, power plant provided in an embodiment of the present invention identifies the automatic generation method of system coding, on Step 202 is stated, the pel identification code according to the pel reads power plant's mark genealogical classification code of the graphic element matching, including:
Pel described in first topological structure and the system diagram of the system diagram that the pel that S301, determination are chosen is drawn Second topological structure;Wherein, the system diagram includes:Total figure and subsystem drawing;
Wherein, the system diagram that above-mentioned pel is drawn can be total figure, or subsystem drawing.Above-mentioned first topological structure Including the topological relation structure between various pieces in system diagram, pel is the primary element for constituting system diagram, in each part Include between multiple pels, and multiple pels also to that there should be topological relation structure.
In the embodiment of the present invention, system determines pel difference corresponding first in said system figure and said system figure first Topological structure and the second topological structure.
S302, treatment is analyzed to first topological structure and second topological structure, obtains classification code topology Structure;Wherein, the classification code topological structure includes:System-level classification code topological structure, device level classification code topological structure and Component-level classification code topological structure;
S303, the pel identification code according to the classification code topological structure and the pel, read the power plant of the pel Mark genealogical classification code;Wherein, the classification code topological structure is prestored in database and identifies the right of genealogical classification code with power plant Should be related to and power plant's mark genealogical classification code.
Wherein, above-mentioned pel identification code, classification code topological structure and power plant's mark system are prestored in the database of system Corresponding relation between classification code three, figure is can determine that according to pel identification code from the above-mentioned corresponding relation of database purchase Power plant's mark genealogical classification code of unit.
Further, with reference to Fig. 4, power plant provided in an embodiment of the present invention identifies the automatic generation method of system coding, step Rapid 104, for the system diagram drawn according to the pel chosen, according to the corresponding power plant of the preset numbers rule generation system diagram Mark System Number, including:
Pel described in first topological structure and the system diagram of the system diagram that the pel that S401, determination are chosen is drawn Second topological structure;Wherein, the system diagram includes:Total figure and subsystem drawing;
In the embodiment of the present invention, the system diagram that above-mentioned pel is drawn can be total figure, or subsystem drawing.Above-mentioned One topological structure includes the topological relation structure between various pieces in system diagram, and pel is the primary element for constituting system diagram, Include in each part between multiple pels, and multiple pels also to that there should be topological relation structure.
In the embodiment of the present invention, system determines pel difference corresponding first in said system figure and said system figure first Topological structure and the second topological structure.
S402, treatment is analyzed to first topological structure and second topological structure, obtains numbering topological knot Structure;Wherein, second topological structure includes:Prefix number topological structure, system-level numbering topological structure, device level numbering topology Structure and component-level numbering topological structure;
S403, the generation system diagram corresponding power plant mark regular according to the numbering topological structure and preset numbers Know System Number;Wherein, the preset numbers rule includes:Numbering topological structure identifies the corresponding pass of System Number with power plant System.
Wherein, above-mentioned preset numbers rule, above-mentioned preset numbers rule are prestored in the database of system:Opened up including numbering The corresponding relation that structure identifies System Number with power plant is flutterred, according to the numbering topological structure for obtaining, from the above-mentioned of database purchase Power plant's mark System Number of pel is can determine that in preset numbers rule.
When system diagram is total figure, according to each system diagram in numbering topological structure and system-level coding rule generation total figure Power plant's mark service system numbering of each system component that unit includes;Wherein, the total figure includes multiple system pels, and Each described system pel includes multiple system components.
Because total figure includes multiple system pels, and each system pel includes multiple system components, therefore can basis Numbering topological structure and system-level coding rule, the System Number of the system of generation system diagram unit composition, according to the system pel It is total that the System Number of the machine group number of the drawing page at place, the corresponding genealogical classification code of the system pel and generation can generate this Power plant's mark system coding of figure.
When the system diagram drawn according to the pel chosen is subsystem drawing, numbered according to numbering topological structure and device level Rule, power plant's mark system equipment numbering of each apparatus assembly that each equipment pel includes in the generation system diagram;Its In, the system includes multiple equipment pel, and each described equipment pel includes multiple equipment component;The present invention is implemented In example, when system diagram is subsystem drawing, it generates device numbering according to numbering topological structure and device level coding rule, then Genealogical classification code and System Number are determined according to numbering topological structure, device class code and numbering, finally according to machine group number, is System classification code, System Number, device class code and device numbering can generate power plant's mark system coding of the subsystem drawing.
When the system diagram drawn according to the pel chosen is subsystem drawing, the composition pel of subsystem drawing refine to part During level pel, in the principle of the corresponding power plant's mark system coding of subsystem drawing, compiled according to numbering topological structure and component-level Number rule, generates power plant's mark system unit numbering of all parts level pel in the system diagram;In the embodiment of the present invention, when System diagram be subsystem drawing when, when pel refine to component-level pel, its according to numbering topological structure and component-level coding rule, Generating unit is numbered, and device class code and device numbering are determined further according to numbering topological structure, part classification code and numbering, then It is secondary that genealogical classification code and System Number are determined according to numbering topological structure, device class code and numbering, finally according to machine group number, Genealogical classification code, System Number, device class code and device numbering can generate power plant's mark system coding of the subsystem drawing. The coding rule of the power plant's mark system coding foundation in the embodiment of the present invention includes that GB/T 50549-2010 power plant identify system Power plant's mark system coding code fo practice of coding standard and company standard, either for total figure or subsystem drawing, power plant Mark system coding is as follows:Power plant's mark system coding is regular using 13 bit numbers of seven groups of three-level, 0 grade of correspondence first Group, including 1 code name, represent machine group number G (A or N);1 grade of second group of correspondence, the 3rd group and the 4th group, respectively including 1 digit Word, 3 letters and 2 bit digitals, represent prefix number F0 (N), genealogical classification code F1F2F3 (AAA) and System Number FN respectively (NN);2 grades of the 5th group, the 6th group and the 7th group of correspondences, respectively including 2 letters, 3 bit digitals and 1 letter, represent set respectively Back-up class code A1A2 (AA), device numbering AN (NNN) and equipment extra-code (A).
The said equipment extra-code there may be, and can not exist, in the presence of equipment extra-code, its corresponding 1 letter Can not omit.
In the embodiment of the present invention, above-mentioned " N " represents Arabic numerals, can be with value 0-9;" A " represents the English words of capitalization Mother, letter that can be with value in addition to I and O;0 completion of the default value of machine group number, prefix number, System Number and device numbering.
Further, with reference to Fig. 5, the automatic generation method of power plant's mark system coding provided in an embodiment of the present invention is also wrapped Include:
S501, power plant's mark system coding of the system diagram that will be generated are stored in coded data storehouse, and set up institute State the index code in coded data storehouse.
S502, in the coded data storehouse power plant mark system coding carry out investigation treatment.
S503, when abnormal coding is detected, start the instruction prompting of the abnormal codes match.
With reference to 501~step 503 of above-mentioned steps, in the embodiment of the present invention, the power plant's mark system coding that will additionally generate enters Row storage, sets up coded data storehouse, and set up the index code in the coded data storehouse;Wherein, the index code at least includes:System System index code and equipment index code.
Wherein, the power plant's mark system coding rule in database, i.e., according to national power plant's mark system coding standard and Company standard sets up the part rope of the system index code, equipment index code and adaptation future development demand of power plant's mark system coding Draw the database of code, to identify system coding according to the power plant of coding rule generation matching.Wherein, to storing in coded data The purpose that power plant's mark system coding in storehouse sets up index is that reading speed in order to accelerate data and quickening are entered to data Row integrity checking.
In order to ensure that power plant's mark system coding that power plant's mark system is set up is met the requirements, the embodiment of the present invention In, " data verification " function is also provided with, enable a system to carry out the unique of real-time power plant's mark systematic-coded data automatically The comparison of property and the warning push work of repeated data.
Specifically, system is provided with " check criteria ", and system coding is identified to power plant according to " check criteria " in real time Investigation treatment is carried out, including, check whether coding has duplication code, if having error code;Wherein, " check criteria " is including pre- in system Each part correspondence coding rule is first set, thus when system detectio to have two identicals coding when, that is, detect duplication code; " check criteria " also pre-sets machine group number including system, and the machine group number that such as system is set only has 1,2 and 3, and goes out in practice Machine group number 5 is showed, this kind of situation is error code;System can directly send alarm when duplication code and error code has been detected User, or, directly generate word and give user prompting.In addition, for repeated code and the situation of error code, system can also basis Corresponding investigation result generates corresponding suggestion for revision, and the suggestion for revision is pointed out while prompting is started, straight in order to user Connect and check and change.Further, power plant provided in an embodiment of the present invention identifies the automatic generation method and device of system coding, Power plant's mark system coding that can also be automatically to generating carries out investigation treatment, and when corresponding error code and repeated code is detected, The instruction prompting of automatic exception codes match, it is ensured that all power plant identify the uniqueness and correctness of system coding.
Further, the embodiment of the present invention is identifying the volume that system coding rule generates power plant's mark system according to power plant After code, can also be labeled in the coding on corresponding system diagram by it, and specific method includes:Each is set up on the system diagram The pel correspondence encoder block, automatic marking is compiled with power plant's mark system of the graphic element matching in each described encoder block Code.
Specifically, system has annotation function, definition meets the encoder block of power plant's mark system coding rule, realizes power plant Identify the mark of systematic-coded data.In the embodiment of the present invention, above-mentioned encoder block is set up does not influence visual effect in system diagram Position, so that the follow-up encoder block and its internal power plant mark system coding are not influenceed into the attractive in appearance of system diagram.
Further, power plant provided in an embodiment of the present invention identifies the automatic generation method and device of system coding, moreover it is possible to It is enough to carry out automatic marking to the system diagram while drawing system figure, the work period is reduced, improve work effect Rate.
In practice, power plant's mark system coding can include some, and such as multiple units, each unit can include multiple again System, and each system can include multiple equipment, based on this, be compiled system is identified using power plant provided in an embodiment of the present invention During the automatic generation method of code, power plant's mark system higher for similarity, such as only unit is different, and that unit includes is each The system diagram of individual part all same, can encode in quick and easy efficient generation by the following method, with reference to Fig. 6, the power plant The automatic generation method for identifying system coding also includes:
S601, when the power plant for generating the system diagram identifies system coding, obtain current system figure and template system figure Graphic difference region;
Specifically, graphic difference region herein can be 1, such as unit, it is also possible to including two or more, such as wrap Unit and system are included, the embodiment of the present invention is illustrated so that graphic difference region is unit as an example.
The corresponding power plant of S602, the template system figure according to the graphic difference zone location identifies the difference of system coding Different coding region.
After graphic difference region is determined (such as machine group number), according to power plant's mark in the graphic difference zone location The difference coding region of system is identified in system with the power plant, in order to the follow-up coding that a upper power plant is identified system It is copied next, and corresponding difference coding region is changed, then amended coding is identified the volume of system as current power plant Code, it is convenient and swift, and improve code efficiency.
S603, the difference coding for generating the diff area difference coding region, and according to difference coding to described The coding of difference coding region is modified treatment, obtains power plant's mark system coding of current system figure.
The difference coding of diff area is firstly generated, then with difference coding region in difference coding alternative steps 402 In original encoding, that is, obtained power plant's mark system coding of current power plant mark system.
No. 1 unit water supply system (10LAB) of such as certain thermal power plant and No. 2 system diagrams of unit water supply system (20LAB) Unanimously, you can No. 2 draftings of the system diagram of unit water supply system (20LAB), power plant are completed by replicating, pasting, change and is marked Know automatically generating and marking work for system coding.
A kind of automatic generation method of power plant's mark system coding provided in an embodiment of the present invention is capable of the automation of intelligence Realize unification, science, the generation of correct, complete power plant's mark system coding and mark.The ease for use of one side strengthening system And flexibility, thoroughly change the working method of h coding and mark, prevent error code and repeated code, reduce cost of labor;The opposing party Face provides unification, science, correct, complete power plant's mark system coding for management systems at different levels, allows production management more to advise Generalized, standardization, then reduce the integrated cost of enterprise.
With reference to Fig. 7, with reference to specific embodiment to the automatic of power plant provided in an embodiment of the present invention mark system coding Generation method is illustrated:
S701, configuration and runtime software.
Specifically, configuration systems soft ware includes:Project configuration is carried out to systems soft ware and power plant's mark system is carried out opening up Flutter the configuration of structure and rule and corresponding relation;After the completion of the configuration, you can run the systems soft ware.
S702, the system diagram drafting page according to selection, determine that power plant identifies System Computer group number system diagram.Said system figure Can manually draw, it is also possible to which the system map file of other structures type is converted into meeting power plant's mark system by the system The structured file that coding is automatically generated.
S703, the pel according to the engineering design structure matching with electric power factory equipment chosen, read the identification code of pel, solution Analysis pel identification code and power plant's mark genealogical classification multistage corresponding topological structure relation of code, the mark genealogical classification of generation power plant Code;Power plant's mark genealogical classification code includes one or more of:System-level classification code, device level classification code and component-level classification Code.
S704, the system diagram for being drawn according to the pel chosen, it is corresponding according to preset numbers rule generation system diagram Power plant identifies System Number.Preset numbers rule includes one or more in following rule:It is prefix number coding rule, system-level Coding rule, device level coding rule and component-level coding rule.
S705, according to the power plant mark System Computer group number for determining, the power plant's mark genealogical classification code for reading and generation Power plant identifies System Number, generates power plant's mark system coding of system diagram.
S706, investigation treatment is carried out to the power plant's mark system coding in coded data storehouse, when abnormal coding is detected, Start the instruction prompting of abnormal codes match.
S707, each pel correspondence encoder block is set up on system diagram, automatic marking and pel in each encoder block The power plant's mark systematic coding system figure matched somebody with somebody.
S708, the drafting for completing P&ID edition system figures, automatically generating for power plant's mark system coding identify system with power plant The work of unified editing code automatic marking on system diagram.
The automatic generation method of power plant's mark system coding provided in an embodiment of the present invention has advantages below:
First, intelligent, it is that foundation carries out manual coding and by hand mark to have broken with the system diagram of very complicated, equipment inventory The custom of note, makes coding and mark automation, intellectuality;2nd, integrality, system convention is identified as foundation with power plant, there is provided Unified, complete, the auto-coding form of specification;3rd, versatility, premised on power plant's mark system, can apply thermoelectricity, The electricity power enterprises such as wind-powered electricity generation, water power, nuclear power, transformer station and harbour;4th, expandability, the design initial stage has just reserved enough capacity Deacclimatize the growth requirement of new technology;5th, it is scientific, using national and foreign standards, industry mark and large enterprise's standard as automatic The standard of coding rule is supported;6th, uniqueness, intelligent correction duplicate checking module is processed power plant's mark system coding, to asking Topic coding carries out automatic warning and pushes, it is ensured that all power plant identify the uniqueness and correctness of system coding;7th, flexibility, electricity Emblem mark knows system coding, and to realize that the multiposition modification of wall scroll and batch, many condition of form are imported/derived etc. convenient and efficiently Operation;8th, ease for use, all users by short-term cultivation can flexible Application, and a designer complete it is original While the design of system diagram, the generation and power plant for also completing power plant's mark system coding identify system coding on system diagram Mark it is other two work.
The application and popularization of the automatic generation method of power plant's mark system coding provided in an embodiment of the present invention, the first purpose A set of power plant's mark system coding automatic creation system is there are provided, while completion system figure is drawn, also for enterprise certainly It is dynamic to generate the unique of intensive management needs, science, complete power plant's mark systematic-coded data;Second purpose is to provide Power plant's mark system coding automatic marking system, while system diagram completes to draw, except automatically generating mark system of power plant Unified editing code, the automatic marking power plant mark system coding also on system diagram, for enterprise provides more perfect, convenient system Figure;3rd purpose is to provide a kind of power plant mark system coding to automatically generate method with automatic marking;4th purpose is The system that a set of power plant's mark system combines together with computer aided design software is provided.On the whole, the embodiment of the present invention The automatic generation method of power plant's mark system coding of offer advances information automation across the paces to autoknowledge.
The embodiment of the present invention additionally provides the automatically generating device that a kind of power plant identifies system coding, and described device is used to hold The above-mentioned power plant of row identifies the automatic generation method of system coding, and with reference to Fig. 8, described device includes:
Determining module 11, for drawing the page according to the system diagram chosen, determines that power plant identifies System Computer group number;
Read module 12, for the pel according to the engineering design structure matching with electric power factory equipment chosen, reads pel Power plant mark genealogical classification code;
First generation module 13, for the system diagram drawn according to the pel chosen, according to preset numbers rule generation system The corresponding power plant's mark System Number of system figure;Preset numbers rule includes one or more in following rule:Prefix number is numbered Regular, system-level coding rule, device level coding rule and component-level coding rule;
Second generation module 14, for the power plant mark for identifying System Computer group number according to the power plant for determining, read Know the power plant mark System Number of genealogical classification code and generation, generate power plant's mark system coding of the system diagram.
Further, with reference to Fig. 9, in the automatically generating device of above-mentioned power plant's mark system coding, determining module 11, bag Include:
First extraction unit 111, for when the system diagram drafting page is detected, extraction system figure to draw the page in the page Face identification code;
Determining unit, for drawing the page iden-tity code in the page according to the system diagram, determines the described of electric power factory equipment Power plant identifies System Computer group number;Wherein, the page iden-tity code and power plant mark System Computer group number one-to-one corresponding.
Read module 12, including:
Second extraction unit 121, for when the pel with the engineering design structure matching of electric power factory equipment is detected, extracting The pel identification code of pel;
Reading unit 122, for the pel identification code according to pel, reads power plant's mark genealogical classification of graphic element matching Code;Wherein, each pel has unique pel identification code, and pel identification code is multistage right with power plant mark genealogical classification code Should;Power plant's mark genealogical classification code includes one or more of:System-level classification code, device level classification code and component-level classification Code.
Further, in the automatically generating device of above-mentioned power plant's mark system coding, with reference to Figure 10, reading unit 122, bag Include:
Determination subelement 1221, in first topological structure and system diagram of the system diagram that the pel for determining to choose is drawn Second topological structure of pel;Wherein, system diagram includes:Total figure and subsystem drawing;
Analyzing and processing subelement 1222, for being analyzed treatment to the first topological structure and the second topological structure, obtains Classification code topological structure;Wherein, classification code topological structure includes:System-level classification code topological structure, device level classification code topology Structure and component-level classification code topological structure;
Subelement 1223 is read, for the pel identification code according to classification code topological structure and pel, the electricity of pel is read Emblem mark knows genealogical classification code;Wherein, power plant's mark system point corresponding with the classification code topological structure is prestored in database Class code.
First generation module 13, including:
Determining unit 131, schemes in first topological structure and system diagram of the system diagram that the pel for determining to choose is drawn Second topological structure of unit;Wherein, system diagram includes:Total figure and subsystem drawing;
Analysis and processing unit 132, for being analyzed treatment to the first topological structure and the second topological structure, is numbered Topological structure;Wherein, numbering topological structure includes:Prefix number topological structure, system-level numbering topological structure, device level numbering are opened up Flutter structure and component-level numbering topological structure;
Generation unit 133, for according to numbering topological structure and preset numbers rule, the corresponding power plant of generation system diagram Mark System Number;Wherein, preset numbers rule includes:Numbering topological structure identifies the corresponding relation of System Number with power plant.
Further, above-mentioned power plant identifies the automatically generating device of system coding, also includes:
First acquisition module, the system map file of other structures type is included for obtaining;
Conversion processing module, for carrying out conversion process to the system map file for obtaining, obtains system graph structure;Institute The system graph structure of stating includes:The topological structure of the system diagram drawing page, pel, figure layer and pel.
Further, above-mentioned power plant identifies the automatically generating device of system coding, also includes:
Memory module, power plant's mark system coding of the system diagram for that will generate is stored in coded data storehouse;
First sets up module, the index code for setting up the coded data storehouse;
Investigation processing module, for carrying out investigation treatment to the power plant's mark system coding in the coded data storehouse;
Starting module, the instruction prompting for when abnormal coding is detected, starting the abnormal codes match.
Further, above-mentioned power plant identifies the automatically generating device of system coding, also includes:
Second sets up module, for setting up each pel correspondence encoder block on the system diagram;
Labeling module, compiles for the automatic marking in each described encoder block with power plant's mark system of the graphic element matching Code.
Further, above-mentioned power plant identifies the automatically generating device of system coding, also includes:
Second acquisition module, during for identifying system coding in the power plant for generating the system diagram, obtains current system figure With the graphic difference region of template system figure;
Locating module, for according to the corresponding power plant's mark system coding of the graphic difference zone location template system figure Difference coding region;
3rd generation module, the difference for generating the diff area difference coding region is encoded, and according to the difference Different coding is modified treatment to the coding of the difference coding region, obtains power plant's mark system coding of current system figure.
A kind of power plant provided in an embodiment of the present invention identifies the automatically generating device of system coding, with hand of the prior art Not only operating efficiency is slow for the method for work coding, and work period longer correlation ratio, and it is right that it can be realized by computer system System diagram carries out automatically generating and automatic marking for power plant's mark system coding, reduces cost of labor, improves operating efficiency, And for equipment control machine account, lifecycle management, in defect management, maintaining management, point inspection based maintenance management, two ticket pipes Application in reason KXG provides unification, science, correct, complete power plant's mark systematic-coded data, then Enterprise Integrated cost greatly reduces.
Further, power plant provided in an embodiment of the present invention identifies the automatically generating device of system coding, additionally it is possible to automatic Power plant's mark system coding to generating carries out investigation treatment, and when corresponding error code and repeated code is detected, automatic is different The instruction prompting of normal codes match, it is ensured that all power plant identify the uniqueness and correctness of system coding.
Further, power plant provided in an embodiment of the present invention identifies the automatically generating device of system coding, additionally it is possible to painting While system diagram processed, the automatic marking that power plant identifies system coding can be carried out to the system diagram, reduce the work period, carried Operating efficiency high.
The automatically generating device of power plant's mark system coding that the embodiment of the present invention is provided can be specific in equipment Hardware or the software being installed in equipment or firmware etc..The device that the embodiment of the present invention is provided, its realization principle and generation Technique effect it is identical with preceding method embodiment, be briefly describe, device embodiment part do not refer to part, refer to foregoing Corresponding contents in embodiment of the method.It is apparent to those skilled in the art that, it is for convenience and simplicity of description, preceding The specific work process of system, device and the unit of description is stated, the corresponding process in above method embodiment is may be referred to, This is repeated no more.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can be by other sides Formula is realized.Device embodiment described above is only schematical, for example, the division of the unit, only one kind are patrolled Collect function to divide, there can be other dividing mode when actually realizing, but for example, multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some communication interfaces Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in the embodiment that the present invention is provided can be integrated in a processing unit, also may be used Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing, additionally, term " the One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, specific embodiment only of the invention, is used to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of embodiment of the present invention technical scheme.Should all cover in protection of the invention Within the scope of.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (16)

1. a kind of power plant identifies the automatic generation method of system coding, it is characterised in that including:
The page is drawn according to the system diagram chosen, determines that power plant identifies System Computer group number;
According to the pel of the engineering design structure matching with electric power factory equipment chosen, power plant's mark system point of the pel is read Class code;
For the system diagram drawn according to the pel chosen, according to the corresponding power plant's mark of the preset numbers rule generation system diagram Know System Number;The preset numbers rule includes one or more in following rule:Prefix number coding rule, system-level volume Number rule, device level coding rule and component-level coding rule;
The power plant mark genealogical classification code for System Computer group number is identified according to the power plant for determining, reading and the institute of generation Power plant's mark System Number is stated, power plant's mark system coding of the system diagram is generated.
2. power plant according to claim 1 identifies the automatic generation method of system coding, it is characterised in that according to what is chosen System diagram draws the page, determines that power plant identifies System Computer group number, including:
When the system diagram drafting page is detected, the page iden-tity code that the system diagram draws the page is extracted;
The page iden-tity code in the page is drawn according to the system diagram, the power plant mark system unit of electric power factory equipment is determined Number;Wherein, the page iden-tity code and power plant mark System Computer group number one-to-one corresponding.
3. power plant according to claim 1 identifies the automatic generation method of system coding, it is characterised in that according to what is chosen With the pel of the engineering design structure matching of electric power factory equipment, power plant's mark genealogical classification code of the pel is read, including:
When the pel with the engineering design structure matching of electric power factory equipment is detected, the pel identification code of the pel is extracted;
Pel identification code according to the pel, reads power plant's mark genealogical classification code of the graphic element matching;Wherein, each figure There is unique pel identification code in unit, and the pel identification code is corresponding with power plant mark genealogical classification code multistage;The power plant Mark genealogical classification code includes one or more of:System-level classification code, device level classification code and component-level classification code.
4. power plant according to claim 3 identifies the automatic generation method of system coding, it is characterised in that according to the figure The pel identification code of unit, reads power plant's mark genealogical classification code of the graphic element matching, including:
It is determined that the second topology of pel described in first topological structure and the system diagram of the system diagram of the pel drafting chosen Structure;Wherein, the system diagram includes:Total figure and subsystem drawing;
Treatment is analyzed to first topological structure and second topological structure, code topological structure of classifying is obtained;Wherein, The classification code topological structure includes:System-level classification code topological structure, device level classification code topological structure and component-level classification Code topological structure;
According to the classification code topological structure and the pel identification code of the pel, power plant's mark system point of the pel is read Class code;Wherein, power plant's mark genealogical classification code corresponding with the classification code topological structure is prestored in database.
5. power plant according to claim 1 identifies the automatic generation method of system coding, it is characterised in that for according to choosing The system diagram that the pel for taking is drawn, according to the corresponding power plant's mark System Number of the preset numbers rule generation system diagram, bag Include:
It is determined that the second topology of pel described in first topological structure and the system diagram of the system diagram of the pel drafting chosen Structure;Wherein, the system diagram includes:Total figure and subsystem drawing;
Treatment is analyzed to first topological structure and second topological structure, numbering topological structure is obtained;Wherein, institute Stating numbering topological structure includes:Prefix number topological structure, system-level numbering topological structure, device level numbering topological structure and part Level numbering topological structure;
According to the numbering topological structure and preset numbers rule, generate the corresponding power plant's mark system of the system diagram and compile Number;Wherein, the preset numbers rule includes:Numbering topological structure identifies the corresponding relation of System Number with power plant.
6. the power plant according to any one in claim 1-5 identifies the automatic generation method of system coding, and its feature exists In, power plant's mark system coding uses 13 coding rules of seven groups of three-level, 0 grade of first group of correspondence, including 1 code name, Represent machine group number;1 grade of second group of correspondence, the 3rd group and the 4th group, respectively including 1 bit digital, 3 letters and 2 bit digitals, respectively Represent prefix number, genealogical classification code and System Number;2 grades of the 5th group, the 6th group and the 7th group of correspondences, respectively including 2 letters, 3 bit digitals and 1 letter, represent device class code, device numbering and equipment extra-code respectively;Wherein, the code name includes:Number Word or letter.
7. power plant according to claim 1 identifies the automatic generation method of system coding, it is characterised in that methods described is also Including:
Acquisition includes the system map file of other structures type;
The system map file to obtaining carries out conversion process, obtains system graph structure;The system graph structure includes:System The topological structure of the figure drawing page, pel, figure layer and pel.
8. power plant according to claim 1 identifies the automatic generation method of system coding, it is characterised in that methods described is also Including:
Power plant's mark system coding of the system diagram that will be generated is stored in coded data storehouse, and sets up the coded data The index code in storehouse;
Investigation treatment is carried out to the power plant's mark system coding in the coded data storehouse;
When abnormal coding is detected, start the instruction prompting of the abnormal codes match.
9. power plant according to claim 1 identifies the automatic generation method of system coding, it is characterised in that methods described is also Including:
Each described pel correspondence encoder block is set up on the system diagram, in each described encoder block automatic marking with it is described Power plant's mark system coding of graphic element matching.
10. power plant according to claim 1 identifies the automatic generation method of system coding, it is characterised in that methods described Also include:
When the power plant for generating the system diagram identifies system coding, the graphic difference of current system figure and template system figure is obtained Region;
The corresponding power plant of the template system figure according to the graphic difference zone location identifies the difference code area of system coding Domain;
The difference coding of the diff area difference coding region is generated, and according to difference coding to the difference code area The coding in domain is modified treatment, obtains power plant's mark system coding of current system figure.
A kind of 11. power plant identify the automatically generating device of system coding, it is characterised in that including:
Determining module, the page is drawn according to the system diagram chosen, and determines that power plant identifies System Computer group number;
Read module, for the pel according to the engineering design structure matching with electric power factory equipment chosen, reads the pel Power plant's mark genealogical classification code;
First generation module, for the system diagram drawn according to the pel chosen, according to the preset numbers rule generation system Scheme corresponding power plant's mark System Number;The preset numbers rule includes one or more in following rule:Prefix number is compiled Number regular, system-level coding rule, device level coding rule and component-level coding rule;
Second generation module, the power plant for identifying System Computer group number according to the power plant for determining, read identifies system The power plant mark System Number of classification code and generation, generates power plant's mark system coding of the system diagram.
12. power plant according to claim 11 identify the automatically generating device of system coding, it is characterised in that the determination Module, including:
First extraction unit, for when the system diagram drafting page is detected, extracting the page iden-tity code in the drawing page;
Determining unit, for drawing the page iden-tity code in the page according to the system diagram, determines the power plant of electric power factory equipment Mark System Computer group number;Wherein, the page iden-tity code and power plant mark System Computer group number one-to-one corresponding;
The read module, including:
Second extraction unit, for when the pel with the engineering design structure matching of electric power factory equipment is detected, extracting the figure The pel identification code of unit;
Reading unit, for the pel identification code according to the pel, reads power plant's mark genealogical classification of the graphic element matching Code;Wherein, each pel has unique pel identification code, and the pel identification code and power plant's mark genealogical classification code multistage Correspondence;Power plant's mark genealogical classification code includes one or more of:System-level classification code, device level classification code and part Level classification code.
13. power plant according to claim 12 identify the automatically generating device of system coding, it is characterised in that the reading Unit, also includes:
Determination subelement, described in first topological structure and the system diagram of the system diagram that the pel for determining to choose is drawn Second topological structure of pel;Wherein, the system diagram includes:Total figure and subsystem drawing;
Analyzing and processing subelement, for being analyzed treatment to first topological structure and second topological structure, obtains Classification code topological structure;Wherein, the classification code topological structure includes:System-level classification code topological structure, device level classification code Topological structure and component-level classification code topological structure;
Subelement is read, for the pel identification code according to the classification code topological structure and the pel, the pel is read Power plant mark genealogical classification code;Wherein, power plant's mark system corresponding with the classification code topological structure is prestored in database System classification code.
14. power plant according to claim 13 identify the automatically generating device of system coding, it is characterised in that described first Generation module, including:
Determining unit, schemes described in first topological structure and the system diagram of the system diagram that the pel for determining to choose is drawn Second topological structure of unit;Wherein, the system diagram includes:Total figure and subsystem drawing;
Analysis and processing unit, for being analyzed treatment to first topological structure and second topological structure, is compiled Number topological structure;Wherein, the numbering topological structure includes:Prefix number topological structure, system-level numbering topological structure, device level Numbering topological structure and component-level numbering topological structure;
Generation unit, for according to the numbering topological structure and preset numbers rule, generating the corresponding electricity of the system diagram Emblem mark knows System Number;Wherein, the preset numbers rule includes:Numbering topological structure identifies the corresponding of System Number with power plant Relation.
15. power plant according to claim 11 identify the automatically generating device of system coding, it is characterised in that also include:
First acquisition module, the system map file of other structures type is included for obtaining;
Conversion processing module, for carrying out conversion process to the system map file for obtaining, obtains system graph structure;The system System graph structure includes:The topological structure of the system diagram drawing page, pel, figure layer and pel;
Memory module, the power plant's mark system coding for that will generate is stored in coded data storehouse;
First sets up module, the index code for setting up the coded data storehouse;
Investigation processing module, for carrying out investigation treatment to the power plant's mark system coding in the coded data storehouse;
Starting module, the instruction prompting for when abnormal coding is detected, starting the abnormal matching;
Second sets up module, for setting up each pel correspondence encoder block on the system diagram;
Labeling module, system coding is identified for the automatic marking in each described encoder block with the power plant of the graphic element matching.
16. power plant according to claim 11 identify the automatically generating device of system coding, it is characterised in that also include:
Second acquisition module, during for identifying system coding in the power plant for generating the system diagram, obtains current system figure and mould The graphic difference region of plate system diagram;
Locating module, for the corresponding power plant's mark system coding of the template system figure according to the graphic difference zone location Difference coding region;
3rd generation module, the difference for generating the diff area difference coding region is encoded, and is compiled according to the difference Code is modified treatment to the coding of the difference coding region, obtains power plant's mark system coding of current system figure.
CN201611123326.9A 2016-12-08 2016-12-08 Automatic generation method and device for power plant identification system code Active CN106777644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611123326.9A CN106777644B (en) 2016-12-08 2016-12-08 Automatic generation method and device for power plant identification system code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611123326.9A CN106777644B (en) 2016-12-08 2016-12-08 Automatic generation method and device for power plant identification system code

Publications (2)

Publication Number Publication Date
CN106777644A true CN106777644A (en) 2017-05-31
CN106777644B CN106777644B (en) 2020-04-10

Family

ID=58881623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611123326.9A Active CN106777644B (en) 2016-12-08 2016-12-08 Automatic generation method and device for power plant identification system code

Country Status (1)

Country Link
CN (1) CN106777644B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291675A (en) * 2017-06-19 2017-10-24 南通易致软件科技有限公司 A kind of trade information sorting code number management system and method
CN107844665A (en) * 2017-11-24 2018-03-27 青岛鸿瑞电力工程咨询有限公司 A kind of factory's logic chart design method and logic chart
CN108733911A (en) * 2018-05-17 2018-11-02 武汉理工大学 Building aluminum alloy pattern plate construction code Design method based on three-dimensional digital model
CN109190157A (en) * 2018-07-26 2019-01-11 中国核电工程有限公司 A kind of method for refreshing of the object location information for Autodesk AutoCAD P&ID
CN109343480A (en) * 2018-09-18 2019-02-15 国电联合动力技术有限公司 The component names of blower fan system automatically generate the method and its system and application of coding
CN111026917A (en) * 2019-11-07 2020-04-17 中国科学院计算技术研究所 Data packet classification method and system based on convolutional neural network
CN111126811A (en) * 2019-12-16 2020-05-08 湖南大唐先一科技有限公司 Power plant data auxiliary coding system based on improved KKS coding rule
CN111507071A (en) * 2020-04-17 2020-08-07 上海电气风电集团股份有限公司 Encoding method and encoding device for wind power plant and computer readable storage medium
CN111931017A (en) * 2020-08-25 2020-11-13 国家能源集团乌海能源有限责任公司 Intelligent configuration method and system suitable for coal preparation plant
CN112541834A (en) * 2020-12-08 2021-03-23 南方电网调峰调频发电有限公司 Identifier processing method, device and system for hydropower industry digital object
CN112668061A (en) * 2021-01-13 2021-04-16 海信视像科技股份有限公司 Electronic equipment and equipment code reporting method thereof
CN112882717A (en) * 2021-02-23 2021-06-01 南京南瑞继保电气有限公司 Label name duplicate checking method and device, electronic equipment and storage medium
CN112988540A (en) * 2021-03-19 2021-06-18 深圳市安冠科技有限公司 Primitive replacement method, system, computer readable storage medium and terminal equipment
CN113836611A (en) * 2021-08-25 2021-12-24 通号城市轨道交通技术有限公司 Equipment number file generation method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731444A (en) * 2005-08-18 2006-02-08 福建英特莱信息技术咨询有限公司 A power network system equipment identification code used in computer and method for generating same in computer
CN200969111Y (en) * 2005-08-18 2007-10-31 福建英特莱信息技术咨询有限公司 Electric network system equipment identification coder for computer
CN103049809A (en) * 2012-08-23 2013-04-17 国电大渡河瀑布沟发电有限公司 Equipment coding method
CN103955869A (en) * 2014-04-29 2014-07-30 河北省电力勘测设计研究院 Automatic KKs code generating method for power plant equipment elements
CN105843847A (en) * 2016-03-14 2016-08-10 长江勘测规划设计研究有限责任公司 Intelligent encoding method for hydropower station equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731444A (en) * 2005-08-18 2006-02-08 福建英特莱信息技术咨询有限公司 A power network system equipment identification code used in computer and method for generating same in computer
CN200969111Y (en) * 2005-08-18 2007-10-31 福建英特莱信息技术咨询有限公司 Electric network system equipment identification coder for computer
CN103049809A (en) * 2012-08-23 2013-04-17 国电大渡河瀑布沟发电有限公司 Equipment coding method
CN103955869A (en) * 2014-04-29 2014-07-30 河北省电力勘测设计研究院 Automatic KKs code generating method for power plant equipment elements
CN105843847A (en) * 2016-03-14 2016-08-10 长江勘测规划设计研究有限责任公司 Intelligent encoding method for hydropower station equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李泽宇: "基于双编码体系的海岛新能源电站设备编码设计", 《电工技术》 *
杜军,孙靖初等: "基于SAP系统的"集中+分布式"火电厂运行管理系统的设计及研发", 《2012 电力行业信息化年会论文集》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291675B (en) * 2017-06-19 2021-01-26 刘永江 Industry information classification coding management system and method
CN107291675A (en) * 2017-06-19 2017-10-24 南通易致软件科技有限公司 A kind of trade information sorting code number management system and method
CN107844665A (en) * 2017-11-24 2018-03-27 青岛鸿瑞电力工程咨询有限公司 A kind of factory's logic chart design method and logic chart
CN108733911A (en) * 2018-05-17 2018-11-02 武汉理工大学 Building aluminum alloy pattern plate construction code Design method based on three-dimensional digital model
CN108733911B (en) * 2018-05-17 2022-05-17 武汉理工大学 Construction aluminum template construction code design method based on three-dimensional digital model
CN109190157A (en) * 2018-07-26 2019-01-11 中国核电工程有限公司 A kind of method for refreshing of the object location information for Autodesk AutoCAD P&ID
CN109343480A (en) * 2018-09-18 2019-02-15 国电联合动力技术有限公司 The component names of blower fan system automatically generate the method and its system and application of coding
CN111026917A (en) * 2019-11-07 2020-04-17 中国科学院计算技术研究所 Data packet classification method and system based on convolutional neural network
CN111026917B (en) * 2019-11-07 2021-07-20 中国科学院计算技术研究所 Data packet classification method and system based on convolutional neural network
CN111126811A (en) * 2019-12-16 2020-05-08 湖南大唐先一科技有限公司 Power plant data auxiliary coding system based on improved KKS coding rule
CN111507071A (en) * 2020-04-17 2020-08-07 上海电气风电集团股份有限公司 Encoding method and encoding device for wind power plant and computer readable storage medium
CN111507071B (en) * 2020-04-17 2024-02-27 上海电气风电集团股份有限公司 Encoding method and encoding device for wind power plant and computer readable storage medium
CN111931017A (en) * 2020-08-25 2020-11-13 国家能源集团乌海能源有限责任公司 Intelligent configuration method and system suitable for coal preparation plant
CN112541834A (en) * 2020-12-08 2021-03-23 南方电网调峰调频发电有限公司 Identifier processing method, device and system for hydropower industry digital object
CN112668061A (en) * 2021-01-13 2021-04-16 海信视像科技股份有限公司 Electronic equipment and equipment code reporting method thereof
CN112882717A (en) * 2021-02-23 2021-06-01 南京南瑞继保电气有限公司 Label name duplicate checking method and device, electronic equipment and storage medium
CN112882717B (en) * 2021-02-23 2022-06-28 南京南瑞继保电气有限公司 Label name duplicate checking method and device, electronic equipment and storage medium
CN112988540A (en) * 2021-03-19 2021-06-18 深圳市安冠科技有限公司 Primitive replacement method, system, computer readable storage medium and terminal equipment
CN112988540B (en) * 2021-03-19 2023-07-04 深圳市安冠科技有限公司 Primitive replacement method, system, computer readable storage medium and terminal device
CN113836611A (en) * 2021-08-25 2021-12-24 通号城市轨道交通技术有限公司 Equipment number file generation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106777644B (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN106777644A (en) Power plant identifies the automatic generation method and device of system coding
CN103197948B (en) A kind of electric intelligent devices communicating stipulations script resolving method
CN106055585A (en) Log analysis method and apparatus
CN102087657B (en) IO (Input/output) to point method and IO (Input/output) to point for nuclear power plant simulation platform
CN109934227A (en) System for recognizing characters from image and method
CN104933588A (en) Data annotation platform for expanding merchandise varieties and data annotation method
CN110188454A (en) Architectural Equipment and Building Information Model matching process and device
CN103473056A (en) Automatic generation method for telemetering configuration files
CN110704880A (en) Correlation method of engineering drawings
CN103606032B (en) A kind of method in two dimension power grid GIS data set
CN117875320A (en) Data processing method, device, equipment and storage medium based on artificial intelligence
CN103810365A (en) Automatic grading method based on hydroelectric simulation training system
CN107025214B (en) Data processing method and device
CN111340253B (en) Analysis method and system for main network maintenance application form
CN101957759B (en) SDK interface conversion system and implementation method thereof
CN111680804A (en) Method and device for generating operation and inspection work ticket and computer readable medium
CN111126811A (en) Power plant data auxiliary coding system based on improved KKS coding rule
CN112346737B (en) Method, device and equipment for training programming language translation model and storage medium
CN115169370A (en) Corpus data enhancement method and device, computer equipment and medium
CN115374502A (en) Method and system for processing standard monomer drawings
CN101246473B (en) Segmentation system evaluating method and segmentation evaluating system
CN103838845A (en) Universal Excel data importing implementing method
CN114676959A (en) Distribution network graph model management method and device
CN113887171A (en) Measuring point code standardization automatic conversion method for wind power generation system
CN113419951A (en) Artificial intelligence model optimization 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