CN104281756A - Analytic method of CAD wiring diagram - Google Patents

Analytic method of CAD wiring diagram Download PDF

Info

Publication number
CN104281756A
CN104281756A CN201410587571.XA CN201410587571A CN104281756A CN 104281756 A CN104281756 A CN 104281756A CN 201410587571 A CN201410587571 A CN 201410587571A CN 104281756 A CN104281756 A CN 104281756A
Authority
CN
China
Prior art keywords
cad
wiring diagram
perform step
analytic method
distribution
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.)
Pending
Application number
CN201410587571.XA
Other languages
Chinese (zh)
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.)
State Grid Corp of China SGCC
Yangquan Power Supply Co of State Grid Shanxi Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Yangquan Power Supply Co of State Grid Shanxi Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Yangquan Power Supply Co of State Grid Shanxi Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410587571.XA priority Critical patent/CN104281756A/en
Publication of CN104281756A publication Critical patent/CN104281756A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The invention discloses an analytic method of a CAD wiring diagram. By using the analytic method of the CAD wiring diagram, is capable of drawing the CAD wiring diagram can be drawn into interactive targets which are looked up and edited by a user. The analytic method of the CAD wiring diagram comprises the following steps: (1) starting; (2) reading a DXF file of the CAD wiring diagram and then analyzing CAD elements based on CAD standard and saving analysis results; (3) combining the analysis results obtained in the step (2) into a power distribution diagram according to the definition of the CAD diagram; (4) saving a power distribution device corresponding to the power distribution diagram; (5) associating an existing database and extracting information of the power distribution device corresponding to the power distribution diagram; (6) generating an interactive wiring diagram; and (7) ending.

Description

A kind of analytic method of CAD wiring diagram
Technical field
The present invention relates to the technical field of image procossing, particularly a kind of analytic method of CAD wiring diagram, its CAD wiring diagram is depicted as can be mutual object for user.
Background technology
In real work, there is the wiring diagram of this perform region distribution line in the work unit of each power distribution network, and these wiring diagrams have reacted controller switching equipment position in the line truly, and the relation of each controller switching equipment in power distribution network and effect.In real work, the work of these wiring diagrams to field personnel is very helpful, and such as analytical equipment equipment, analytical equipment are on the impact etc. of whole piece circuit.
These wiring diagrams are all carry out drawing with the form of CAD, but working site can not be carried CAD software for staff and checked.If print the drawing of papery, by staff, paper drawing is carried to working site, this will be a very large burden to staff, therefore needs the staff that the drawing of electronization is working site to provide service, for managerial personnel, if the state of controller switching equipment and the information of controller switching equipment can be checked in real time in wiring diagram, this is to work management, work arrangements will be very helpful, obviously only just service is provided to be inadequate in the mode of electronic drawing wiring diagram, this just needs to carry out analytical analysis to CAD wiring diagram, in a database modeling is carried out to the result analyzed, identify the controller switching equipment in wiring diagram, last with controller switching equipment be unit be depicted as can be mutual wiring diagram, in wiring diagram that can be mutual, each controller switching equipment is connected with database, reflect state and the information parameter of controller switching equipment in real time, to carry out checking and editing for the personnel needed.
Summary of the invention
For overcoming the defect of prior art, the technical problem to be solved in the present invention there is provided a kind of analytic method of CAD wiring diagram, and CAD wiring diagram can be depicted as object that can be mutual and check for user, edit by it.
Technical scheme of the present invention is: the analytic method of this CAD wiring diagram, comprises the following steps:
(1) start;
(2) resolve CAD element based on CAD standard after reading the DXF file of CAD wiring diagram, then preserve analysis result;
(3) according to the legend definition of CAD, the analysis result of step (2) is combined into distribution figure;
(4) controller switching equipment corresponding to distribution figure is preserved;
(5) information that existing database extracts controller switching equipment corresponding to distribution figure is associated;
(6) wiring diagram that can be mutual is generated;
(7) terminate.
By resolving CAD element based on CAD standard after the DXF file of reading CAD wiring diagram, be combined into distribution figure, and associate the information that existing database extracts controller switching equipment corresponding to distribution figure, just CAD wiring diagram can be depicted as can be mutual object confession user check, edit.
Accompanying drawing explanation
Figure 1 shows that the process flow diagram of the analytic method according to CAD wiring diagram of the present invention;
Figure 2 shows that the process flow diagram of a preferred embodiment of the step (2) according to the analytic method of CAD wiring diagram of the present invention;
Figure 3 shows that the process flow diagram of a preferred embodiment of the step (3) according to the analytic method of CAD wiring diagram of the present invention;
Figure 4 shows that the process flow diagram of a preferred embodiment of the step (3.8) according to the analytic method of CAD wiring diagram of the present invention;
Figure 5 shows that the process flow diagram of a preferred embodiment of the step (3.8.8) according to the analytic method of CAD wiring diagram of the present invention;
Figure 6 shows that the process flow diagram of a preferred embodiment of the step (3.8.9) according to the analytic method of CAD wiring diagram of the present invention.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
As shown in Figure 1, the analytic method of this CAD wiring diagram, comprises the following steps:
(1) start;
(2) resolve CAD element based on CAD standard after reading the DXF file of CAD wiring diagram, then preserve analysis result;
(3) according to the legend definition of CAD, the analysis result of step (2) is combined into distribution figure;
(4) controller switching equipment corresponding to distribution figure is preserved;
(5) information that existing database extracts controller switching equipment corresponding to distribution figure is associated;
(6) wiring diagram that can be mutual is generated;
(7) terminate.
By resolving CAD element based on CAD standard after the DXF file of reading CAD wiring diagram, be combined into distribution figure, and associate the information that existing database extracts controller switching equipment corresponding to distribution figure, just CAD wiring diagram can be depicted as can be mutual object confession user check, edit.
Preferably, as shown in Figure 2, step (2) comprises step by step following:
(2.1) start;
(2.2) reading DXF file;
(2.3) judge whether to find next Element Fragment, be, perform step (2.4), otherwise perform step (2.6);
(2.4) recognition element fragment: if straight line then resolves straight line; If circle then resolves circle; Fill if circular and then resolve circular filling; If tri filling then Analytic triangular filling; If word then resolves word;
(2.5) analysis result is saved in database, jump procedure (2.3);
(2.6) terminate.
Preferably, as shown in Figure 3, step (3) comprises step by step following:
(3.1) start;
(3.2) the CAD list of elements is searched for;
(3.3) determine whether not mate element, be, perform step (3.4), otherwise perform step (3.13);
(3.4) determine assembled unit: according to the element identified, contrast legend storehouse comparison one by one, the most probable legend of selection is carried out combination and is defined as assembled unit;
(3.5) obtain all legends, legend comprises switchgear building, cement tension-resistant rod, horizontal guy;
(3.6) legend is not mated in acquisition;
(3.7) the CAD element within the scope of checking is obtained;
(3.8) judge whether checking is passed through, and is perform step (3.9), otherwise perform step (3.12);
(3.9) controller switching equipment is regarded as;
(3.10) controller switching equipment object is created;
(3.11) distribution CAD element is combined, jump procedure (3.3);
(3.12) regarding as is not controller switching equipment, jump procedure (3.6);
(3.13) terminate.
Preferably, as shown in Figure 4, step (3.8) comprises step by step following:
(3.8.1) start;
(3.8.2) CAD element set is obtained;
(3.8.3) judge whether not verified CAD element, had, performed step (3.8.6), otherwise perform step (3.8.4);
(3.8.4) judge whether all CAD elements are verified, and are, perform step (3.8.5), otherwise perform step (3.8.10);
(3.8.5) assert that meeting distribution descriptive language defines, jump procedure (3.8.11);
(3.8.6) CAD element is not verified in acquisition;
(3.8.7) legend descriptive language statements is obtained;
(3.8.8) initialization validator validates conditioning unit;
(3.8.9) verify whether CAD element passes through, and is, perform step (3.8.3), otherwise perform step (3.8.10);
(3.8.10) assert that not meeting distribution descriptive language defines;
(3.8.11) terminate.
Preferably, as shown in Figure 5, step (3.8.8) comprises step by step following:
(3.8.8.1) start;
(3.8.8.2) IF block descriptive statement is obtained;
(3.8.8.3) initialization condition module unit;
(3.8.8.4) element conditional statement is parsed;
(3.8.8.5) initialization condition statement element;
(3.8.8.6) expression formula is parsed;
(3.8.8.7) initializing expression unit;
(3.8.8.8) terminate.
Preferably, as shown in Figure 6, step (3.8.9) comprises step by step following:
(3.8.9.1) start;
(3.8.9.2) validator IF block verification method is called;
(3.8.9.3) conditional statement collection object is obtained;
(3.8.9.4) judge whether next conditional statement, be, performed step (3.8.9.5), otherwise perform step (3.8.9.11);
(3.8.9.5) conditional statement is obtained;
(3.8.9.6) Call Condition statement verification method;
(3.8.9.7) expression formula collection object is obtained;
(3.8.9.8) judge whether next expression formula, be, performed step (3.8.9.9), otherwise perform step (3.8.9.4);
(3.8.9.9) expression formula object is obtained;
(3.8.9.10) expression formula verification method is called, jump procedure (3.8.9.8);
(3.8.9.11) terminate.
The above; it is only preferred embodiment of the present invention; not any pro forma restriction is done to the present invention, every above embodiment is done according to technical spirit of the present invention any simple modification, equivalent variations and modification, all still belong to the protection domain of technical solution of the present invention.

Claims (6)

1. an analytic method for CAD wiring diagram, is characterized in that, comprises the following steps:
(1) start;
(2) resolve CAD element based on CAD standard after reading the DXF file of CAD wiring diagram, then preserve analysis result;
(3) according to the legend definition of CAD, the analysis result of step (2) is combined into distribution figure;
(4) controller switching equipment corresponding to distribution figure is preserved;
(5) information that existing database extracts controller switching equipment corresponding to distribution figure is associated;
(6) wiring diagram that can be mutual is generated;
(7) terminate.
2. the analytic method of CAD wiring diagram according to claim 1, is characterized in that, step (2) comprises step by step following:
(2.1) start;
(2.2) reading DXF file;
(2.3) judge whether to find next Element Fragment, be, perform step (2.4), otherwise perform step (2.6);
(2.4) recognition element fragment: if straight line then resolves straight line; If circle then resolves circle; Fill if circular and then resolve circular filling; If tri filling then Analytic triangular filling; If word then resolves word;
(2.5) analysis result is saved in database, jump procedure (2.3);
(2.6) terminate.
3. the analytic method of CAD wiring diagram according to claim 2, is characterized in that, step (3) comprises step by step following:
(3.1) start;
(3.2) the CAD list of elements is searched for;
(3.3) determine whether not mate element, be, perform step (3.4), otherwise perform step (3.13);
(3.4) determine assembled unit: according to the element identified, contrast legend storehouse comparison one by one, the most probable legend of selection is carried out combination and is defined as assembled unit;
(3.5) obtain all legends, legend comprises switchgear building, cement tension-resistant rod, horizontal guy;
(3.6) legend is not mated in acquisition;
(3.7) the CAD element within the scope of checking is obtained;
(3.8) judge whether checking is passed through, and is perform step (3.9), otherwise perform step (3.12);
(3.9) controller switching equipment is regarded as;
(3.10) controller switching equipment object is created;
(3.11) distribution CAD element is combined, jump procedure (3.3);
(3.12) regarding as is not controller switching equipment, jump procedure (3.6);
(3.13) terminate.
4. the analytic method of CAD wiring diagram according to claim 3, is characterized in that, step
(3.8) comprise step by step following:
(3.8.1) start;
(3.8.2) CAD element set is obtained;
(3.8.3) judge whether not verified CAD element, had, performed step (3.8.6), otherwise perform step (3.8.4);
(3.8.4) judge whether all CAD elements are verified, and are, perform step (3.8.5), otherwise perform step (3.8.10);
(3.8.5) assert that meeting distribution descriptive language defines, jump procedure (3.8.11);
(3.8.6) CAD element is not verified in acquisition;
(3.8.7) legend descriptive language statements is obtained;
(3.8.8) initialization validator validates conditioning unit;
(3.8.9) verify whether CAD element passes through, and is, perform step (3.8.3), otherwise perform step (3.8.10);
(3.8.10) assert that not meeting distribution descriptive language defines;
(3.8.11) terminate.
5. the analytic method of CAD wiring diagram according to claim 4, is characterized in that, step (3.8.8) comprises step by step following:
(3.8.8.1) start;
(3.8.8.2) IF block descriptive statement is obtained;
(3.8.8.3) initialization condition module unit;
(3.8.8.4) element conditional statement is parsed;
(3.8.8.5) initialization condition statement element;
(3.8.8.6) expression formula is parsed;
(3.8.8.7) initializing expression unit;
(3.8.8.8) terminate.
6. the analytic method of CAD wiring diagram according to claim 5, is characterized in that, step (3.8.9) comprises step by step following:
(3.8.9.1) start;
(3.8.9.2) validator IF block verification method is called;
(3.8.9.3) conditional statement collection object is obtained;
(3.8.9.4) judge whether next conditional statement, be, performed step (3.8.9.5), otherwise perform step (3.8.9.11);
(3.8.9.5) conditional statement is obtained;
(3.8.9.6) Call Condition statement verification method;
(3.8.9.7) expression formula collection object is obtained;
(3.8.9.8) judge whether next expression formula, be, performed step (3.8.9.9), otherwise perform step (3.8.9.4);
(3.8.9.9) expression formula object is obtained;
(3.8.9.10) expression formula verification method is called, jump procedure (3.8.9.8);
(3.8.9.11) terminate.
CN201410587571.XA 2014-10-28 2014-10-28 Analytic method of CAD wiring diagram Pending CN104281756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410587571.XA CN104281756A (en) 2014-10-28 2014-10-28 Analytic method of CAD wiring diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410587571.XA CN104281756A (en) 2014-10-28 2014-10-28 Analytic method of CAD wiring diagram

Publications (1)

Publication Number Publication Date
CN104281756A true CN104281756A (en) 2015-01-14

Family

ID=52256625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410587571.XA Pending CN104281756A (en) 2014-10-28 2014-10-28 Analytic method of CAD wiring diagram

Country Status (1)

Country Link
CN (1) CN104281756A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992007A (en) * 2015-06-24 2015-10-21 国家电网公司 Automatic evaluation method for power supply scheme design drawing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000011011A (en) * 1998-06-19 2000-01-14 Hitachi Ltd Power source wiring method of semiconductor integrated circuit
CN101923346A (en) * 2010-05-19 2010-12-22 广东电网公司电力科学研究院 Method and system for automatically generating anti-sabotage, anti-blocking, water irrigation, breathing, fire burning logic rules of substation
CN102184280A (en) * 2011-04-27 2011-09-14 广西电力工业勘察设计研究院 Drawing and model integrated visual integration design method
CN102360398A (en) * 2011-10-11 2012-02-22 广东省电力设计研究院 IEC61850-based CAD electric power graphic generation analysis method
CN102760186A (en) * 2012-06-12 2012-10-31 中国电力科学研究院 Method for automatically generating vector graphics of intelligent transformer station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000011011A (en) * 1998-06-19 2000-01-14 Hitachi Ltd Power source wiring method of semiconductor integrated circuit
CN101923346A (en) * 2010-05-19 2010-12-22 广东电网公司电力科学研究院 Method and system for automatically generating anti-sabotage, anti-blocking, water irrigation, breathing, fire burning logic rules of substation
CN102184280A (en) * 2011-04-27 2011-09-14 广西电力工业勘察设计研究院 Drawing and model integrated visual integration design method
CN102360398A (en) * 2011-10-11 2012-02-22 广东省电力设计研究院 IEC61850-based CAD electric power graphic generation analysis method
CN102760186A (en) * 2012-06-12 2012-10-31 中国电力科学研究院 Method for automatically generating vector graphics of intelligent transformer station

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992007A (en) * 2015-06-24 2015-10-21 国家电网公司 Automatic evaluation method for power supply scheme design drawing
CN104992007B (en) * 2015-06-24 2017-08-11 国家电网公司 A kind of automatic reviewing method of power supply plan design drawing

Similar Documents

Publication Publication Date Title
CN113010944B (en) Model verification method, electronic equipment and related products
CN110389896A (en) Code automated analysis and test method, device and computer readable storage medium
CN109858138A (en) Room finish component processing method, device, terminal and medium based on BIM
CN109446689A (en) DC converter station electrical secondary system drawing recognition methods and system
CN110968712B (en) BIM family model acquisition method, device and system
CN109934494A (en) A kind of water and soil conservation supervision data quality checking method and system
CN104572072A (en) MVC (model view controller) mode-based language transformation method and equipment for program
CN107169210A (en) The self checking method and self-checking system of BIM database
CN103235757B (en) Several apparatus and method that input domain tested object is tested are made based on robotization
CN106301976A (en) A kind of intelligent substation schedule information automated testing method
CN107579976A (en) The method and device of self-defined detection website sensitive information
CN104504221A (en) Evaluation data processing method and system
CN104281756A (en) Analytic method of CAD wiring diagram
CN103593228A (en) Practical test instrument program control command emulator and application method thereof
CN105574081B (en) A kind of data source tracing method based on no circuit digraph
CN103309993B (en) The extracting method of a kind of key word and device
CN112906117B (en) Indoor equipment layout diagram generation method and device, electronic equipment and storage medium
CN102882737A (en) Transaction language-1(TL1) command automatically testing method based on extensible markup language (XML) script
JP5480424B1 (en) Defect location analysis system and method
CN103186465A (en) Browser compatibility testing method and system for webpage user interface
CN105577424A (en) Data asset quality monitoring method based on data traceability graph
CN106301833A (en) A kind of transformer station schedule information method of testing
CN102214252A (en) Method for carrying out parameter extraction and modeling on semiconductor device
CN105227333B (en) The method and apparatus of network element device data maintenance
CN109302670B (en) Equipment information display method, server, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150114