CN103500257B - DWG-format drawing identification method and system - Google Patents
DWG-format drawing identification method and system Download PDFInfo
- Publication number
- CN103500257B CN103500257B CN201310483707.8A CN201310483707A CN103500257B CN 103500257 B CN103500257 B CN 103500257B CN 201310483707 A CN201310483707 A CN 201310483707A CN 103500257 B CN103500257 B CN 103500257B
- Authority
- CN
- China
- Prior art keywords
- list
- identified
- keyword
- dwg
- region
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a DWG-format drawing identification method and system. The DWG-format drawing identification method includes the following steps: loading a DWG-format drawing, identifying a to-be-identified region of the drawing, extracting keywords of the to-be-identified region, and generating a list, wherein the list comprises a primary system diagram and/or an element material list. Compared with the prior art, the DWG-format drawing identification method and system have the advantages that automatic identification is carried out on the DWG-format electronic drawing provided by a designing institute, and the list is generated and correspondingly modified, so that results can be output according to requirements of an operator; the method of traditional manual drawing identification is replaced, the design cost is reduced, waste of the manpower resource is avoided, meanwhile, the occurrence probability of errors is reduced, and great convenience is brought to design work.
Description
Technical field
The present invention relates to layer Info art, more particularly, to a kind of dwg format chart paper recognition method and system.
Background technology
With the popularization of design software, the electronic drawing of dwg form is widely used in various design industry, therefore, right
It is prominent and important that the reading of the electronic drawing of dwg form also seems increasingly.
Currently for designing institute provide dwg form electronic drawing be all adopt manual mode to change using as
Produce used.During manual modification and output drawing information, design cost, labor intensive resource can be increased, also can increase
Plus the probability that mistake produces, bring very big inconvenience to design work.
Content of the invention
In order to solve the above problems, it is an object of the invention to provide a kind of dwg format chart paper recognition method and system, should
Recognition methodss and identifying system, the electronic drawing to the dwg form that designing institute provides, carry out automatic identification, and according to behaviour
The demand of author exports corresponding result.
Correspondingly, the dwg format chart paper recognition method of an embodiment of the present invention, the method comprising the steps of: carries
Enter dwg form drawing;
Judge that whether described drawing is the specification drawing of predetermined format,
If so, then described drawing is directly identified;
If it is not, being then the specification drawing of predetermined format by described conversion of drawings, then it is identified;
Identify the region to be identified of described drawing, extract the keyword in described region to be identified, and generate list;Described row
Table includes primary system figure and/or element material table;
Wherein, " being the specification drawing of predetermined format by described conversion of drawings " specifically includes:
The lines that form in described drawing is not closed, according to nearby principle, are revised as closing lines;
The block containing in described drawing is decomposed.
It is as a further improvement on the present invention, described that " region to be identified of the described drawing of identification, extracts described area to be identified
The keyword in domain, and generate list " specifically include:
The keyword extracting described region to be identified is preserved;
Coordinate on the basis of described keyword, searches the cell corresponding to described keyword, and its in cell
His information;
By the other information record in the cell inquiring in respective list, generate list.
As a further improvement on the present invention, methods described also includes: described list is imported quotation system and/or by institute
The form stating list generation excel form is exported.
Accordingly, the dwg form drawing identifying system of an embodiment of the present invention, described system includes: insmods, uses
In loading dwg form drawing;
Identification module, for judging that whether described drawing is the specification drawing of predetermined format,
If so, then described drawing is directly identified;
If it is not, being then the specification drawing of predetermined format by described conversion of drawings, then it is identified;
During described identification module " being the specification drawing of predetermined format by described conversion of drawings ", specifically for by described drawing
The lines that middle form is not closed, according to nearby principle, are revised as closing lines;
The block containing in described drawing is decomposed;
Described identification module is additionally operable to identify the region to be identified of described drawing, extracts the key in described region to be identified
Word, and generate list;Described list includes primary system figure and/or element material table.
As a further improvement on the present invention, described identification module is additionally operable to extract the keyword in described region to be identified and enters
Row preserves;
Coordinate on the basis of described keyword, searches the cell corresponding to described keyword, and its in cell
His information;
By the other information record in the cell inquiring in respective list, generate list.
As a further improvement on the present invention, described identifying system also includes output module, and described output module is used for will
The form that described list imports quotation system and/or described list is generated excel form is exported.
Compared with prior art, a kind of dwg format chart paper recognition method of the present invention and system, provides to designing institute
The electronic drawing of dwg form, carries out automatic identification, generates list, and described list is made with corresponding modification, with according to operation
The demand output result of person;Instead of traditional method identifying drawing manually, reduce design cost, it is to avoid people
The waste of power resource, reduces the probability of happening of mistake meanwhile, brings great convenience to design work.
Brief description
Fig. 1 is the flow chart of dwg format chart paper recognition method in an embodiment of the present invention;
Fig. 2 is the module map of dwg form drawing identifying system in an embodiment of the present invention.
Specific embodiment
Describe the present invention below with reference to each embodiment shown in the drawings.But these embodiments are not
Limit the present invention, structure, method or change functionally that those of ordinary skill in the art is made according to these embodiments
Change and be all contained in protection scope of the present invention.
As shown in figure 1, in an embodiment of the present invention dwg format chart paper recognition method, methods described includes following step
Rapid:
S1, loading dwg form drawing.
Specifically, the dwg form drawing of identification required for being loaded into, described dwg format chart paper includes graphics field, Yi Jibiao
Lattice region.Certainly, in other embodiment of the present invention, drawing can also include extended formatting, and the present invention is only with to dwg form
Drawing automatic identification as a example be illustrated.
S2, the region to be identified of the described drawing of identification, extract the keyword in described region to be identified, and generate list;Institute
State list and include primary system figure and/or element material table.Certainly, described list can also be the quantity sheets such as electrical secondary system figure
Lattice.
Specifically, identify the region to be identified of described drawing, first will select the region to be identified of described drawing, accordingly,
Full figure identification can be carried out to described drawing, or select described drawing is carried out with frame choosing identification.
Accordingly, treating of described drawing can be selected by corresponding tick boxes are arranged on user interface for user
Identification region.For example, setting full figure recognition button and frame select recognition button to choose for user.When the drawing being loaded into is individual
During dwg drawing, choose full figure recognition button, Intelligent Recognition can be carried out to individual dwg drawing being loaded into;Or choice box choosing identification
Button, individual dwg drawing that frame choosing is loaded into, similarly can realize carrying out Intelligent Recognition to the dwg drawing being loaded into.When be loaded into
When drawing is several dwg drawings, it is only capable of choice box and selects recognition button, frame selects a dwg drawing to carry out Intelligent Recognition.When one
After dwg drawing is identified output, the other dwg drawing of reselection is identified.
Accordingly, when choice box selects recognition button, user interface has operation method presentation, and suggestion content is: " presses
Lower left mouse button designating frame selects upper left angle point, must not unclamp mouse and be pulled ", to point out to user, by for man-machine friendship
The foreign mediums such as mutual mouse, keyboard, touch screen participate in, and complete the selection in described drawing region to be identified.
Specifically, extract the keyword in described region to be identified, and generate list.
Accordingly, during the region to be identified identifying described drawing, judge whether described drawing is predetermined format
Specification drawing, if so, then described drawing is directly identified;If it is not, then by described conversion of drawings be predetermined format rule
Model drawing, then be identified.
Accordingly, the dwg form drawing being loaded into is scanned, judges that whether it is the specification drawing of predetermined format, if
Described drawing is the specification drawing of predetermined format, then described drawing is directly identified;If described drawing is not predetermined format
Specification drawing, then described conversion of drawings is the specification drawing of predetermined format, then is identified.
Accordingly, the rule of the specification drawing described conversion of drawings being predetermined format is: by form in described drawing not
The lines of closing, according to nearby principle, are revised as closing lines;The block containing in described drawing is decomposed.
Above rule formulation purpose, be by described conversion of drawings be predetermined format specification drawing, in order to institute
The region to be identified stating drawing carries out automatic identification.
Specifically, the region to be identified of described drawing is identified, can be to the list display area being generated after identification
Field selectivity is arranged.
Accordingly, choose whether to show whole cabinet attributes, if so, then show whole cabinet attributes of list;If it is not, it is then only aobvious
Show the acquiescence cabinet attribute of list.
Accordingly, can choose whether display all by corresponding tick boxes are arranged on user interface for user
Cabinet attribute.For convenience of description, in an embodiment of the present invention, so that described list is for primary system figure as a example do corresponding introduction.
Whole cabinet attributes of display primary system figure, whole cabinet attributes of described primary system figure include: cabinet number, drawer
Number, cabinet title, cabinet model, electric component title etc..
The acquiescence cabinet attribute of display primary system figure, the acquiescence cabinet attribute of described primary system figure includes: cabinet number, drawer
Number, cabinet title, cabinet model.
Certainly, the acquiescence cabinet attribute of primary system figure can make specific modification according to the needs of operator, can increase
The interior content perhaps deleting acquiescence cabinet attribute of acquiescence cabinet attribute.For example, it is possible to acquiescence cabinet attribute is only left cabinet title, with
Meet the demand to acquiescence cabinet attribute for the operator.
Specifically, in the region process to be identified identifying described drawing, can also select to show list area and/or display
Graph area.
Accordingly, if select to show list area and display graph area simultaneously, described list area is corresponding to show described figure
The full content in the region to be identified of paper;If only selecting display list area or display graph area, described list area is corresponding aobvious
Show the table content in region to be identified or the graphical content of described drawing.
Accordingly, in an embodiment of the present invention, by arrange on user interface corresponding tick boxes come for
Family selects display list area and/or display graph area.In operation, if choose display list area and display figure simultaneously
Area, then the full content in the corresponding region to be identified showing described drawing of described list area;If only choose display list area or
Display graph area, then the corresponding table content in region to be identified showing described drawing of described list area or graphical content.
Specifically, the row headers of the described list corresponding to described keyword before being identified described drawing, are set.
Accordingly, according to industry slang specification set list row headers it is also possible to according to operator custom, self-defined
The row headers of described list.Specifically, several keywords are comprised in described drawing, by being extended to keyword, each
Row headers correspond to multiple keywords.For example, in primary system in figure, the entitled cabinet number of rower of described primary system figure, corresponding institute
The keyword stating drawing is cabinet number, and cabinet is numbered, and cabinet is numbered, device numbering, numbering etc.;The rower of described primary system figure is entitled
Cabinet title, the keyword of corresponding described drawing is cabinet title, cabinet title, loop title, load name etc..In element material table
In, the row headers of described element material table are title, and the keyword of corresponding described drawing is title, name etc.;Described element material
The entitled model specification of rower of material table, the keyword of corresponding described drawing is model, specification etc..
Specifically, the process in the region to be identified of the described drawing of identification is that the keyword extracting described region to be identified enters
Row preserves;Coordinate on the basis of described keyword, searches the cell corresponding to described keyword, and other in cell
Information;By the other information record in the cell inquiring in respective list, generate list.
Accordingly, scan the region to be identified of described drawing, search and described row in the region to be identified of described drawing
Keyword corresponding to the row headers of table is preserved, the table area in the region to be identified of described drawing, with described pass
Coordinate on the basis of key word, searches to the left apart from the nearest vertical line segment of described keyword;Find downwards treating of described drawing upwards
Flat border and lower flat border on the form of identification region;Search horizontal line section on upper flat border and lower flat boundary, find to the right
Described form right margin;Line segment is searched in described form border by said method, the cell gone and often the row of form
Calculate;And the information in each cell searching corresponding to corresponding keyword, corresponded to and be added to described list area
In domain, generate complete described list, and be shown in the operation interface of user.
Specifically, the row headers to described list, column heading is modified;And the row headers to described list, row mark
The corresponding content of topic is modified.
Accordingly, the row headers of described list are modified, comprising:
Delete selected line, delete full line information in described list;To facilitate operator to delete unnecessary letter in described list
Breath.
Inserting line, inserts a new row above or below the position of current line;To facilitate operator in described list
The new information of middle increase.
Additional newline, inserts a new row below last column of described list;To facilitate operator in described row
Increase new information in table, and facilitate operator to check the information of increase.
Empty current line, remove all information that current line is comprised.
Editor's row headers, the row headers information of edit-modify current location, to facilitate operator's modification row headers.
Switch to electrical equipment/non-electrical element, make can mutually freely change between electrical equipment and non-electrical element.
Specifically, the row headers to described list, the content corresponding to column heading is modified.In the present invention one embodiment party
In formula, by external equipment, such as mouse, keyboard etc. clicks on the content corresponding to row headers, column heading, according to the need of operator
Ask and carry out actively changing, to meet the demand of operator.
S3, the form described list importing quotation system and/or described list being generated excel form are exported.
Specifically, according to the difference of user's request, described list can be imported directly quotation system and/or by described row
The form that table generates excel form is exported.
Accordingly, the selection of above-mentioned output result can by arrange on user interface corresponding tick boxes come for
Family selects the suitable way of output.For example, it is respectively provided with detail to enter library button and derive excel button.Detail enters library button pair
Described list should be introduced directly into quotation system, derive excel button correspondence and the form that described list generates excel form is entered
Row output.When clicking on the corresponding button using external control deviceses, will be defeated respectively according to the demand of operator by described list
Go out.
As shown in Fig. 2 dwg form drawing identifying system in one embodiment of the present invention, described system includes:
Insmod 100, insmoding 100 is used for being loaded into dwg form drawing.
Specifically, insmod the dwg form drawing identifying required for 100 loadings, and described dwg format chart paper includes figure
Region, and table area.Certainly, in other embodiment of the present invention, drawing can also include extended formatting, and the present invention is only
Taking the drawing automatic identification to dwg form as a example it is illustrated.
Identification module 200, identification module 200 is used for identifying the region to be identified of described drawing, extracts described area to be identified
The keyword in domain, and generate list;Described list includes primary system figure and/or element material table.Certainly, described list also may be used
Think the engineering form such as electrical secondary system figure.Specifically, identification module 200 identifies the region to be identified of described drawing, first will select
The region to be identified of described drawing, accordingly, identification module 200 can carry out full figure identification to described drawing, or selects to institute
State drawing and carry out frame choosing identification.
Accordingly, treating of described drawing can be selected by corresponding tick boxes are arranged on user interface for user
Identification region.For example, setting full figure recognition button and frame select recognition button to choose for user.
When the drawing being loaded into is individual dwg drawing, choose full figure recognition button, can be to individual dwg drawing being loaded into
Carry out Intelligent Recognition;Or choice box selects recognition button, individual dwg drawing that frame choosing is loaded into, similarly can realize to loading
Dwg drawing carries out Intelligent Recognition.
When the drawing being loaded into is several dwg drawings, it is only capable of choice box and selects recognition button, frame selects a dwg drawing to carry out
Intelligent Recognition.After a dwg drawing is identified output, the other dwg drawing of reselection is identified.
Accordingly, when choice box selects recognition button, user interface has operation method presentation, and suggestion content is: " presses
Lower left mouse button designating frame selects upper left angle point, must not unclamp mouse and be pulled ", to point out to user, by for man-machine friendship
The foreign mediums such as mutual mouse, keyboard, touch screen participate in, and complete the selection in described drawing region to be identified.
Accordingly, whether identification module 200, during the region to be identified identifying described drawing, judges described drawing
For the specification drawing of predetermined format, if so, then described drawing is directly identified;If it is not, then described conversion of drawings is pre-
The specification drawing of the formula that fixes, then be identified.
Accordingly, identification module 200 is scanned to the dwg form drawing of 100 loadings that insmod, and judges that whether it be
The specification drawing of predetermined format, if described drawing is the specification drawing of predetermined format, is directly identified to described drawing;If
Described drawing is not the specification drawing of predetermined format, then be the specification drawing of predetermined format by described conversion of drawings, then known
Not.
Accordingly, the rule of the specification drawing described conversion of drawings being predetermined format is: by form in described drawing not
The lines of closing, according to nearby principle, are revised as closing lines;The block containing in described drawing is decomposed.
Above rule formulation purpose, be by described conversion of drawings be predetermined format specification drawing, in order to institute
The region to be identified stating drawing carries out automatic identification.
Specifically, identification module 200 is identified to the region to be identified of described drawing, can be generated to after identification
List display area selectivity is arranged.
Accordingly, choose whether to show whole cabinet attributes, if so, then show whole cabinet attributes of list;If it is not, it is then only aobvious
Show the acquiescence cabinet attribute of list.
Accordingly, can choose whether display all by corresponding tick boxes are arranged on user interface for user
Cabinet attribute.For convenience of description, in an embodiment of the present invention, so that described list is for primary system figure as a example do corresponding introduction.
Whole cabinet attributes of display primary system figure, whole cabinet attributes of described primary system figure include: cabinet number, drawer
Number, cabinet title, cabinet model, electric component title etc..
The acquiescence cabinet attribute of display primary system figure, the acquiescence cabinet attribute of described primary system figure includes: cabinet number, drawer
Number, cabinet title, cabinet model.
Certainly, the acquiescence cabinet attribute of primary system figure can make specific modification according to the needs of operator, can increase
The interior content perhaps deleting acquiescence cabinet attribute of acquiescence cabinet attribute.For example, it is possible to acquiescence cabinet attribute is only left cabinet title, with
Meet the demand to acquiescence cabinet attribute for the operator.
Specifically, identification module 200, in the region process to be identified identifying described drawing, can also select to show list
Area and/or display graph area.
Accordingly, if select to show list area and display graph area simultaneously, described list area is corresponding to show described figure
The full content in the region to be identified of paper;If only selecting display list area or display graph area, described list area is corresponding aobvious
Show described drawing region to be identified table content or graphical content.
Accordingly, in an embodiment of the present invention, by arrange on user interface corresponding tick boxes come for
Family selects display list area and/or display graph area.In operation, if choose display list area and display figure simultaneously
Area, then the full content in the corresponding region to be identified showing described drawing of described list area;If only choose display list area or
Display graph area, then the corresponding table content in region to be identified showing described drawing of described list area or graphical content.
Specifically, identification module 200, before being identified described drawing, is additionally operable to set corresponding to described keyword
The row headers of described list.
Accordingly, according to industry slang specification set list row headers it is also possible to according to operator custom, self-defined
The row headers of described list.Specifically, several keywords are comprised in described drawing, by being extended to keyword, each
Row headers correspond to multiple keywords.For example, in primary system in figure, the entitled cabinet number of rower of described primary system figure, corresponding institute
The keyword stating drawing is cabinet number, and cabinet is numbered, and cabinet is numbered, device numbering, numbering etc.;The rower of described primary system figure is entitled
Cabinet title, the keyword of corresponding described drawing is cabinet title, cabinet title, loop title, load name etc..In element material table
In, the row headers of described element material table are title, and the keyword of corresponding described drawing is title, name etc.;Described element material
The entitled model specification of rower of material table, the keyword of corresponding described drawing is model, specification etc..
Specifically, the process in the region to be identified of the described drawing of identification is that identification module 200 extracts described region to be identified
Keyword preserved;Coordinate on the basis of described keyword, searches the cell corresponding to described keyword, and unit
Other information in lattice;By the other information record in the cell inquiring in respective list, generate list.
Accordingly, identification module 200 scans the region to be identified of described drawing, looks in the region to be identified of described drawing
Look for and being preserved with the keyword corresponding to the row headers of described list, the form area in the region to be identified of described drawing
Domain, coordinate on the basis of described keyword, search to the left apart from the nearest vertical line segment of described keyword;Find downwards institute upwards
State flat border and lower flat border on form;Search horizontal line section on upper flat border and lower flat boundary, find to the right described drawing
Region to be identified form right margin;Line segment is searched in described form border by said method, by the row of form and often
The cell of row calculates;And the information in each cell searching corresponding to corresponding keyword, corresponded to and be added to
In described list area, generate complete described list, and be shown in the operation interface of user.
Specifically, the row headers to described list for the identification module 200, column heading is modified;And to described list
Row headers, the content corresponding to column heading is modified.
Accordingly, the row headers of described list are modified, comprising:
Delete selected line, delete full line information in described list;To facilitate operator to delete unnecessary letter in described list
Breath.
Inserting line, inserts a new row above or below the position of current line;To facilitate operator in described list
The new information of middle increase.
Additional newline, inserts a new row below last column of described list;To facilitate operator in described row
Increase new information in table, and facilitate operator to check the information of increase.
Empty current line, remove all information that current line is comprised.
Editor's row headers, the row headers information of edit-modify current location, to facilitate operator's modification row headers.
Switch to electrical equipment/non-electrical element, make can mutually freely change between electrical equipment and non-electrical element.
Specifically, the row headers to described list for the identification module 200, the content corresponding to column heading is modified.At this
Invent in an embodiment, by external equipment, such as mouse, keyboard etc. is clicked on the content corresponding to row headers, column heading, pressed
Demand according to operator carries out actively changing, to meet the demand of operator.
Output module 300, for importing quotation system by described list;Or described list is generated the table of excel form
Lattice are exported.
Specifically, according to the difference of user's request, described list can be imported directly quotation system by output module 300
System and/or the form that described list is generated excel form are exported.
Accordingly, the selection of above-mentioned output result can by arrange on user interface corresponding tick boxes come for
Family selects the suitable way of output.For example, it is respectively provided with detail to enter library button and derive excel button.Detail enters library button pair
Described list should be introduced directly into quotation system, derive excel button correspondence and the form that described list generates excel form is entered
Row output.When clicking on the corresponding button using external control deviceses, will be defeated respectively according to the demand of operator by described list
Go out.
Compared with prior art, a kind of dwg format chart paper recognition method of the present invention and system, provides to designing institute
The electronic drawing of dwg form, carries out automatic identification, generates list, and described list is made with corresponding modification, with according to operation
The demand output result of person;Instead of traditional method identifying drawing manually, reduce design cost, it is to avoid people
The waste of power resource, reduces the probability of happening of mistake meanwhile, brings great convenience to design work.
For convenience of description, it is divided into various modules to be respectively described with function when describing apparatus above.Certainly, implementing this
The function of each module can be realized in same or multiple softwares and/or hardware during application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
Mode by software plus necessary general hardware platform to be realized.Based on such understanding, the technical scheme essence of the application
On in other words prior art is contributed partly can be embodied in the form of software product, this computer software product
Can be saved in preservation medium, such as rom/ram, magnetic disc, CD etc., include some instructions use so that a computer equipment
(can be personal computer, Information Push Server, or network equipment etc.) execution each embodiment of the application or reality
Apply some partly described methods of mode.
Device embodiments described above are only the schematically wherein said module illustrating as separating component
Can be or may not be physically separate, as the part that module shows can be or may not be physics mould
Block, you can with positioned at a place, or can also be distributed on multiple mixed-media network modules mixed-medias.Can be selected it according to the actual needs
In the purpose to realize present embodiment scheme for some or all of module.Those of ordinary skill in the art are not paying creation
Property work in the case of, you can to understand and to implement.
The application can be used in numerous general or special purpose computing system environment or configuration.For example: personal computer, information
Push server computer, handheld device or portable set, laptop device, multi-processing module system, be based on microprocessor mould
The system of block, set top box, programmable consumer-elcetronics devices, network pc, minicomputer, mainframe computer, include to take up an official post
Distributed computing environment of what system or equipment etc..
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes execution particular task or the routine realizing particular abstract data type, program, object, group
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environment, by
The remote processing devices connected by communication network are executing task.In a distributed computing environment, program module is permissible
It is located at and preserve in medium in the local and remote computer including preservation equipment.
It should be understood that although this specification is been described by according to embodiment, but not each embodiment only comprises one
Individual independent technical scheme, only for clarity, those skilled in the art should will say this narrating mode of description
As an entirety, the technical scheme in each embodiment can also be through appropriately combined, and forming those skilled in the art can for bright book
With the other embodiment understanding.
The a series of detailed description of those listed above is only for the feasibility embodiment of the present invention specifically
Bright, they simultaneously are not used to limit the scope of the invention, all equivalent implementations made without departing from skill spirit of the present invention
Or change should be included within the scope of the present invention.
Claims (4)
1. a kind of dwg format chart paper recognition method is it is characterised in that the method comprising the steps of:
It is loaded into dwg form drawing;
Judge that whether described drawing is the specification drawing of predetermined format,
If so, then described drawing is directly identified;
If it is not, the lines not closing form in described drawing, according to nearby principle, it is revised as closing lines;
The block containing in described drawing is decomposed, with the specification drawing as predetermined format by described conversion of drawings, then is carried out
Identification;
Identify the region to be identified of described drawing,
The keyword extracting described region to be identified is preserved;
Coordinate on the basis of described keyword, searches the cell corresponding to described keyword, and other letters in cell
Breath;
By the other information record in the cell inquiring in respective list, generate list;
Described list includes primary system figure and/or element material table;
Wherein, " on the basis of described keyword, coordinate, searches the cell corresponding to described keyword, and in cell
Other information " specifically includes:
Table area in the region to be identified of described drawing, coordinate on the basis of described keyword, search to the left apart from institute
State the nearest vertical line segment of keyword;Find downwards flat border and lower flat side on the form in region to be identified of described drawing upwards
Boundary;Search horizontal line section on upper flat border and lower flat boundary, find to the right described form right margin, with described form border
Interior lookup line segment, the cell gone and often the row of form calculates.
2. dwg format chart paper recognition method according to claim 1 is it is characterised in that methods described also includes: will be described
The form that list imports quotation system and/or described list is generated excel form is exported.
3. a kind of dwg form drawing identifying system is it is characterised in that described system includes:
Insmod, for being loaded into dwg form drawing;
Identification module, for judging that whether described drawing is the specification drawing of predetermined format,
If so, then described drawing is directly identified;
If it is not, the lines not closing form in described drawing, according to nearby principle, it is revised as closing lines;
The block containing in described drawing is decomposed, with the specification drawing as predetermined format by described conversion of drawings, then is carried out
Identification;
Described identification module is additionally operable to:
Identify the region to be identified of described drawing,
The keyword extracting described region to be identified is preserved;
Coordinate on the basis of described keyword, searches the cell corresponding to described keyword, and other letters in cell
Breath;
By the other information record in the cell inquiring in respective list, generate list;Described list includes
System figure and/or element material table;
Wherein, described identification module " on the basis of described keyword, coordinate, searches the cell corresponding to described keyword, with
And the other information in cell " during, specifically for: the table area in the region to be identified of described drawing, with institute
State coordinate on the basis of keyword, search to the left apart from the nearest vertical line segment of described keyword;Find downwards described drawing upwards
The form in region to be identified on flat border and lower flat border;Search horizontal line section on upper flat border and lower flat boundary, to the right
Find described form right margin, to search line segment in described form border, the cell gone and often the row of form calculates
Come.
4. dwg form drawing identifying system according to claim 3 it is characterised in that described identifying system also include defeated
Go out module, described output module is used for for described list importing quotation system and/or the table by described list generation excel form
Lattice are exported.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310483707.8A CN103500257B (en) | 2013-10-16 | 2013-10-16 | DWG-format drawing identification method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310483707.8A CN103500257B (en) | 2013-10-16 | 2013-10-16 | DWG-format drawing identification method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103500257A CN103500257A (en) | 2014-01-08 |
CN103500257B true CN103500257B (en) | 2017-01-25 |
Family
ID=49865467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310483707.8A Active CN103500257B (en) | 2013-10-16 | 2013-10-16 | DWG-format drawing identification method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103500257B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104217396A (en) * | 2014-09-11 | 2014-12-17 | 广西桂能软件有限公司 | DWG (drawing) file format conversion method |
CN104298991B (en) * | 2014-10-09 | 2017-08-25 | 中国石油集团工程设计有限责任公司 | A kind of angle stamp information extracting method |
CN105159685A (en) * | 2015-09-28 | 2015-12-16 | 武汉中冶易新科技有限公司 | Method for extracting detail content of computer aided design (CAD) drawing to Excel form |
CN106951636A (en) * | 2017-03-20 | 2017-07-14 | 国网福建省电力有限公司 | A kind of power communication static resource automatic identifying method based on AutoCAD |
CN106997564A (en) * | 2017-03-20 | 2017-08-01 | 国网福建省电力有限公司 | A kind of power communication static resource automatic recognition system |
CN107315817B (en) * | 2017-06-30 | 2020-06-02 | 华自科技股份有限公司 | Electronic drawing text matching method and device, storage medium and computer equipment |
CN107665122B (en) * | 2017-09-29 | 2020-02-07 | 中国建筑第八工程局有限公司 | Automatic updating method of civil engineering BIM (building information modeling) |
CN110084179B (en) * | 2019-04-24 | 2021-07-23 | 上海外高桥造船有限公司 | Frame identification method and system |
CN110399509A (en) * | 2019-06-10 | 2019-11-01 | 万翼科技有限公司 | It is a kind of intelligently to know drawing system and method |
CN111898401A (en) * | 2020-05-26 | 2020-11-06 | 中建八局天津建设工程有限公司 | Intelligent identification method for construction engineering drawing |
CN115841679B (en) * | 2023-02-23 | 2023-05-05 | 江西中至科技有限公司 | Drawing form extraction method, drawing form extraction system, computer and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7663637B2 (en) * | 2007-01-31 | 2010-02-16 | Autodesk, Inc. | Overriding layer properties in computer aided design viewports |
CN101783023A (en) * | 2010-02-03 | 2010-07-21 | 南京师范大学 | Method for exchanging AutoCAD (computer-aided design) graphic block with point map symbol based on path |
CN102880646A (en) * | 2012-08-24 | 2013-01-16 | 广州天越电子科技有限公司 | Method for converting CAD drawing paper into VISIO drawing paper |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882225B (en) * | 2009-12-29 | 2013-09-18 | 北京中科辅龙计算机技术股份有限公司 | Engineering drawing material information extraction method and system based on template |
-
2013
- 2013-10-16 CN CN201310483707.8A patent/CN103500257B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7663637B2 (en) * | 2007-01-31 | 2010-02-16 | Autodesk, Inc. | Overriding layer properties in computer aided design viewports |
CN101783023A (en) * | 2010-02-03 | 2010-07-21 | 南京师范大学 | Method for exchanging AutoCAD (computer-aided design) graphic block with point map symbol based on path |
CN102880646A (en) * | 2012-08-24 | 2013-01-16 | 广州天越电子科技有限公司 | Method for converting CAD drawing paper into VISIO drawing paper |
Non-Patent Citations (3)
Title |
---|
产品设计BOM信息自动生成及管理的研究;杨晓镇;《中国优秀硕士学位论文全文数据库工程科技II辑》;20080515(第5期);第C028-18/38-41、52页 * |
利用单元格和特征点实现图纸信息的自动提取;龚雄等;《计算机辅助设计与图形学学报》;20050831;第17卷(第8期);第1883-1888页 * |
电子扫描表格图像中数据提取方法研究;任通等;《电子技术》;20121031(第10期);第7-10页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103500257A (en) | 2014-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103500257B (en) | DWG-format drawing identification method and system | |
CN104584003A (en) | Word detection and domain dictionary recommendation | |
CN107085583B (en) | Electronic document management method and device based on content | |
CN102651002B (en) | A kind of method for abstracting web page information and its system | |
CN109800386A (en) | Highlight the key component of text in document | |
CN103020295B (en) | A kind of problem label for labelling method and device | |
CN104281702A (en) | Power keyword segmentation based data retrieval method and device | |
CN111240669B (en) | Interface generation method and device, electronic equipment and computer storage medium | |
CN106339380A (en) | Method and device for recommending frequently asked question information | |
CN107368511A (en) | A kind of information displaying method and device | |
CN105512347A (en) | Information processing method based on geographic topic model | |
CN106407199A (en) | Network article comment processing method and apparatus | |
CN105144147A (en) | Detection and reconstruction of right-to-left text direction, ligatures and diacritics in a fixed format document | |
Lu et al. | A semi-automatic approach to detect structural components from CAD drawings for constructing as-is BIM objects | |
JP2022187507A (en) | Technical research support device, technical research support method and technical research support program | |
CN110191124B (en) | Web front-end development data-based website identification method and device and storage equipment | |
CN106339381A (en) | Method and device for processing information | |
CN104765747A (en) | Webpage processing method and device | |
CN107168627A (en) | Method for editing text and device for touch-screen | |
CN105808595B (en) | A kind of the data library generating method and device of authority file | |
JP2014102634A (en) | Method and apparatus for supporting user operation | |
CN114115831A (en) | Data processing method, device, equipment and storage medium | |
CN110059215B (en) | Arrangement system suitable for rapid naming and filing of defect photos of power transmission line | |
CN102819594B (en) | A kind of method and apparatus of organization website information | |
CN109032907B (en) | Data monitoring method and system for equipment application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Unit 601 and 602, Building 6, Creative Industry Park, 328 Xinghu Street, Suzhou Industrial Park, Jiangsu Province, 215123 Patentee after: Lichi Software (Suzhou) Co.,Ltd. Address before: Unit 601 and 602, Building 6, Creative Industry Park, 328 Xinghu Street, Suzhou Industrial Park, Jiangsu Province, 215123 Patentee before: SUZHOU LICHI E-COMMERCE CO.,LTD. |
|
CP01 | Change in the name or title of a patent holder |