CN111881171A - Drawing identification recommendation method and system based on data analysis - Google Patents
Drawing identification recommendation method and system based on data analysis Download PDFInfo
- Publication number
- CN111881171A CN111881171A CN202010694645.5A CN202010694645A CN111881171A CN 111881171 A CN111881171 A CN 111881171A CN 202010694645 A CN202010694645 A CN 202010694645A CN 111881171 A CN111881171 A CN 111881171A
- Authority
- CN
- China
- Prior art keywords
- input
- parameters
- determining
- parameter
- information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000007405 data analysis Methods 0.000 title claims abstract description 37
- 238000013461 design Methods 0.000 claims abstract description 86
- 230000015654 memory Effects 0.000 claims description 20
- 238000004364 calculation method Methods 0.000 claims description 11
- 238000012163 sequencing technique Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 36
- 238000012795 verification Methods 0.000 abstract description 11
- 238000011960 computer-aided design Methods 0.000 description 17
- 238000004422 calculation algorithm Methods 0.000 description 8
- 238000002372 labelling Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 3
- 230000007306 turnover Effects 0.000 description 3
- 101100030351 Schizosaccharomyces pombe (strain 972 / ATCC 24843) dis2 gene Proteins 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Geometry (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Image Analysis (AREA)
Abstract
The invention provides a drawing identification recommendation method and system based on data analysis, wherein the method comprises the following steps: acquiring a drawing to be identified and an identification requirement, determining an object to be identified on the drawing to be identified, and acquiring design parameter information corresponding to the object to be identified; acquiring an input format requirement corresponding to an identification object, and determining parameters to be input and an input sequence of the parameters to be input according to the input format requirement; determining a recommended parameter corresponding to the current parameter to be input according to the input sequence and the position relation of the design parameter information; and when responding to the recommended parameter selection operation, determining the recommended parameters as the input parameters corresponding to the current parameters to be input until all the parameters to be input are input. According to the method, the object to be recognized on the drawing to be recognized is determined, and the recommended parameters corresponding to the current parameters to be input are determined from the design parameter information, so that the manual recognition efficiency of a user is improved; the verification is completed in the user selection process, so that the operation is simpler and more convenient, and the drawing identification efficiency is improved.
Description
Technical Field
The invention relates to the technical field of computer information processing, in particular to a drawing identification recommendation method and system based on data analysis.
Background
In the application of a three-dimensional BIM (Building Information Modeling), the turnover operation from a two-dimensional CAD to a three-dimensional model is inevitably required, in the turnover operation process, a user manually selects a primitive to be identified generally, and then fills corresponding attributes to complete the identification, in the process, the selection and the attribute filling of the primitive to be identified are completely selected or filled by the user through experience, so that the problems of low efficiency, high error rate, high required experience, need of professional knowledge and the like are caused, and the bottleneck of the turnover process is formed, and the defect of low efficiency of the whole process is caused.
Disclosure of Invention
In view of this, the embodiment of the invention provides a drawing identification recommendation method and system based on data analysis, and solves the problems of low efficiency, high error rate and need of professional knowledge in the rollover process due to subjective judgment in the prior art.
According to a first aspect, an embodiment of the present invention provides a drawing identification recommendation method based on data analysis, including: acquiring a drawing to be identified and an identification requirement, determining an object to be identified on the drawing to be identified, and acquiring design parameter information corresponding to the object to be identified; acquiring an input format requirement corresponding to the identification object, and determining parameters to be input and an input sequence of the parameters to be input according to the input format requirement; determining a recommended parameter corresponding to the current parameter to be input according to the input sequence and the position relation of the design parameter information; and when the recommended parameter selection operation is responded, determining the recommended parameters as the input parameters corresponding to the current parameters to be input until all the parameters to be input are input.
Optionally, the obtaining design parameter information corresponding to the identification object includes: and when responding to the selection operation of the marking information, acquiring the marking information and determining the marking information as the design parameter information.
Optionally, the obtaining design parameter information corresponding to the identification object includes: acquiring the position information of the primitive when responding to the primitive selection operation; and according to the position information, determining label information corresponding to the position information on the drawing to be identified, and determining the label information as the design parameter information.
Optionally, after the obtaining the label information and before the determining the label information as the design parameter information, the obtaining design parameter information corresponding to the identification object further includes: acquiring a first coordinate of the object to be identified and a coordinate range of the marking information on the drawing to be identified; judging whether the first coordinate is in the coordinate range; and when the first coordinate is in the coordinate range, determining the marking information as the design parameter information.
Optionally, the determining, according to the input sequence and the position relationship of the design parameter information, a recommended parameter corresponding to a current parameter to be input includes: judging whether the input sequence of the current parameters to be input is a first sequence bit; when the input sequence of the current parameter to be input is not the first sequence, acquiring a second coordinate of the input parameter corresponding to the previous parameter to be input on the drawing to be identified and a third coordinate of the rest design parameters in the design parameter information corresponding to the drawing to be identified; respectively calculating the distance between the second coordinate and each third coordinate; and determining the design parameter information with the minimum distance as a recommended parameter corresponding to the current parameter to be input.
Optionally, the determining, according to the input sequence and the position relationship of the design parameter information, a recommended parameter corresponding to a current parameter to be input further includes: and when the input sequence of the current parameters to be input is a first sequence, acquiring primitive identification parameters from the design parameter information, and determining the primitive identification parameters as recommended parameters corresponding to the current parameters to be input.
Optionally, the determining, according to the input sequence and the position relationship of the design parameter information, a recommended parameter corresponding to a current parameter to be input further includes: and determining each candidate recommended parameter corresponding to the parameter to be input from the design parameter information according to the sequencing result of the distance from small to large.
Optionally, the method for identifying and recommending a drawing based on data analysis provided by the embodiment of the present invention further includes: and when the candidate recommended parameter selection operation is responded, determining the candidate recommended parameter as the input parameter corresponding to the current parameter to be input until all the parameters to be input are input.
Optionally, after determining the recommended parameter as the input parameter corresponding to the current parameter to be input, the method for identifying and recommending a drawing based on data analysis provided by the embodiment of the present invention further includes: and removing the recommended parameters from the design parameter information, and determining the updated design parameter information.
According to a second aspect, an embodiment of the present invention provides a drawing identification recommendation system based on data analysis, including: the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a drawing to be identified and an identification requirement, determining an object to be identified on the drawing to be identified and acquiring design parameter information corresponding to the object to be identified; the first calculation module is used for acquiring an input format requirement corresponding to the identification object and determining parameters to be input and an input sequence of the parameters to be input according to the input format requirement; the second calculation module is used for determining a recommended parameter corresponding to the current parameter to be input according to the input sequence and the position relation of the design parameter information; and the third calculation module is used for determining the recommended parameters as the input parameters corresponding to the current parameters to be input when responding to the recommended parameter selection operation until all the parameters to be input are input.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions, when executed by a processor, implement the method for drawing identification recommendation based on data analysis according to the first aspect and any one of the optional manners of the present invention.
An embodiment of the present invention provides an electronic device, including: the drawing identification recommendation method based on data analysis comprises a memory and a processor, wherein the memory and the processor are connected in a communication mode, the memory stores computer instructions, and the processor executes the computer instructions so as to execute the drawing identification recommendation method based on data analysis in the first aspect and any optional mode of the invention.
The technical scheme of the invention has the following advantages:
the embodiment of the invention provides a drawing identification recommendation method and system based on data analysis, which comprises the steps of determining an object to be identified on a drawing to be identified, acquiring design parameter information corresponding to the identified object, and determining a recommendation parameter corresponding to a current parameter to be input from the design parameter information by adopting a recommendation algorithm based on data analysis according to an input sequence; according to the association among the data, possible parameters to be input are recommended automatically, so that the process of searching and inputting by a user is omitted, the manual identification efficiency of the user can be improved, the user can conveniently confirm whether unidentified contents exist or not by automatically providing all the parameters to be input, the identification omission is prevented, and the identification accuracy is improved; and the verification process is completed in the process that the user selects and determines, and the verification process does not need to be independently set after the recognition is completed, so that the operation is simpler and more convenient, and the drawing recognition efficiency is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart of a drawing identification recommendation method based on data analysis according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of the identification of a floor frame beam in an embodiment of the present invention;
FIG. 3 is a flowchart illustrating determining recommended parameters corresponding to current parameters to be input according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of a drawing identification recommendation system based on data analysis according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the invention provides a drawing identification recommendation method based on data analysis, which specifically comprises the following steps of:
step S1: the method comprises the steps of obtaining a drawing to be identified and an identification requirement, determining an object to be identified on the drawing to be identified, and obtaining design parameter information corresponding to the object to be identified.
In the embodiment of the invention, in the application of a three-dimensional BIM (Building Information Modeling), in the process of turning a two-dimensional CAD (computer aided design) model to a three-dimensional model, a drawing to be identified and an identification requirement need to be obtained first, wherein the drawing to be identified can be a two-dimensional CAD drawing required in the turning process, and the identification requirement can be requirements on identification type, identification range, identification precision and the like.
In practical application, firstly, the CAD drawing to be identified needs to be acquired, then identification requirements are set, and value determination of each input box is completed in sequence, wherein the type of the characteristic value in the first input box can be characters, numbers, geometric primitives and the like, finally, an identification range and identification precision are set according to requirements of practical engineering, hardware configuration and the like, and the specific identification of the roof frame beam in the two-dimensional CAD drawing is taken as an example for explanation, so that the characteristic value in the first input box is selected as the roof frame beam.
It should be noted that, the embodiment of the present invention only illustrates specific representation forms of the drawing to be identified, the identification requirement, and the type of the feature value, and may also be selected according to an actual engineering situation in an actual application, and the present invention is not limited thereto.
Specifically, in an embodiment, the step S1 includes the following steps:
step S11: and when responding to the selection operation of the marking information, acquiring the marking information and determining the marking information as the design parameter information.
In the embodiment of the invention, after the user selects the operation of marking information in the input box A of the name of the marking information, the user is responded to perform marking information selection operation on the human-computer interaction interface, wherein for each primitive or component of the drawing to be identified, corresponding marking information is correspondingly set and is used for recording the name of the corresponding primitive, basic data parameters and other information so as to facilitate the subsequent understanding and application of the drawing to be identified.
Specifically, in an embodiment, in the step S11, after the obtaining of the label information, before the label information is determined as the design parameter information, the obtaining of the design parameter information corresponding to the identification object further includes the following steps:
step S110: and acquiring a first coordinate of the object to be identified and a coordinate range of the marking information on the drawing to be identified.
In the embodiment of the invention, after the drawing to be identified and the identification requirement are obtained, after the operation that a user selects marking information in the input box A of the name of the marking information, the user is responded to perform marking information selection operation on a man-machine interaction interface, then the marking information selected by the user is obtained, the corresponding object to be identified can be obtained according to the marking information and the corresponding identification requirement, and highlighting can be performed in the CAD drawing to help the user to confirm; after the object to be recognized is determined, the first coordinate of the object to be recognized and the coordinate range of the marking information on the drawing to be recognized can be obtained, wherein the marks in the CAD drawing all have corresponding bounding box information which describes the coordinate range marked in the CAD drawing, and for example, the bounding box information corresponding to the marking information named bbox is bbox (minx, miny, maxx, maxy) which represents the coordinate range of the marking information of bbox on the CAD drawing.
Step S111: and judging whether the first coordinate is in the coordinate range.
In the embodiment of the invention, whether the first coordinate is in the coordinate range is judged, if the first coordinate of the object to be identified is not in the coordinate range of the corresponding marking information, the object to be identified determined at the moment is not corresponding to the marking information in the drawing correctly, and the user needs to select and confirm again at the moment, or the user directly and manually selects and determines on the drawing. The process of the judgment can use a comparison algorithm: if the algorithm result is true, namely the first coordinate is in the bounding box of the labeling information, the corresponding labeling information is obtained. It should be noted that, the embodiment of the present invention only illustrates the comparison algorithm for determining whether the first coordinate is within the coordinate range, and other algorithms may be selected for determination in practical applications as long as it can accurately determine whether the first coordinate is within the coordinate range, which is not limited by the present invention.
Step S112: and when the first coordinate is in the coordinate range, determining the marking information as the design parameter information.
In the embodiment of the invention, when the first coordinate is in the coordinate range, namely after the corresponding marking information is obtained, the marking information is determined as the design parameter information, wherein the design parameter information comprises a primitive identification parameter, a data identification, a data basic parameter, connection conditions with other components and the like.
For example, the naming form of the names of the primitives in the CAD drawing follows certain rules, as shown in fig. 2, such as: the name of the frame beam comprises a 'KL' character code, the corresponding frame supporting beam comprises a 'KZL' character, the connecting beam comprises a 'LL' character and the like, and taking the character code corresponding to the roof frame beam as AKL as an example, when the identification requirement of a user is acquired as the roof frame beam, namely the characteristic value in the first input frame, namely the category shown in figure 2, is determined as the roof frame beam, all elements in the drawing can be acquired at first, the text type diagram element in the drawing is acquired by judging the element type, the character string in the text type diagram element is acquired, the character string in the character type diagram element is filtered, the character string conforming to the rule is reserved, and the information such as the unique identification, the position and the character string of the diagram element is recorded. After the input box a, that is, the name part shown in fig. 2, is automatically filled with the unique identifier "AKL 26 (1)" corresponding to the object to be recognized, the first coordinate of the object to be recognized "AKL 26 (1)" in the CAD drawing can be obtained, and at the same time, the coordinate range of the labeling information named AKL26(1) on the CAD drawing is obtained, and when the first coordinate is within the coordinate range of the labeling information, the labeling information is determined as the design parameter information.
Specifically, in another alternative embodiment, the step S1 further includes the following steps:
step S12: and acquiring the position information of the primitive when responding to the primitive selection operation.
In the embodiment of the invention, in the process of acquiring the drawing to be identified and the identification requirement, the input of the primitive type is limited by specifying possible shapes, sizes, ranges, topological relations and the like, a user can also select the primitive, and the position information of the primitive on the drawing is acquired in response to the primitive selection operation.
Step S13: and according to the position information, determining marking information corresponding to the position information on the drawing to be identified, and determining the marking information as design parameter information.
In the embodiment of the invention, a user can directly select the primitive needing to be operated in the primitive list box to be directly used as the object to be identified, then the position information of the primitive is obtained, after the position of the selected primitive on the drawing to be identified is found, the marking information corresponding to the position information on the drawing to be identified, namely the marking information containing the position information, is determined according to the position information, and the marking information is determined as the design parameter information.
Step S2: acquiring an input format requirement corresponding to the identification object, and determining the parameters to be input and the input sequence of the parameters to be input according to the input format requirement.
In an embodiment of the present invention, the input format requirement includes: the setting requirement of the input content and the limiting requirement of the input format, specifically, the input format can be limited by using a regular expression, for example: KL | KZL | LL, meaning matching strings containing KL or LL, and in addition, regular expressions may also exclude characters that are not likely to appear in names, such as "@", "; ","/"," x ", etc., to improve the search accuracy; and then determining all to-be-input parameters to be filled and the input sequence of each to-be-input parameter according to the setting requirements of the input content, namely determining the input parameters and the input sequence corresponding to the input boxes according to the position sequence of the input boxes.
Step S3: and determining a recommended parameter corresponding to the current parameter to be input according to the input sequence and the position relation of the design parameter information.
Specifically, in an embodiment, as shown in fig. 3, the step S3 includes the following steps:
step S31: and judging whether the input sequence of the current parameter to be input is a first sequence bit.
Step S32: and when the input sequence of the current parameter to be input is not the first sequence, acquiring a second coordinate of the input parameter corresponding to the previous parameter to be input on the drawing to be recognized and a third coordinate of the rest design parameters in the design parameter information corresponding to the drawing to be recognized.
In the embodiment of the invention, when the input sequence of the current parameter to be input is not the first sequence, the second coordinate of the input parameter corresponding to the previous parameter to be input on the drawing to be identified and the third coordinate of the rest of design parameters in the design parameter information corresponding to the drawing to be identified are obtained. For example, as shown in fig. 2, when the first ordinal of the input sequence is the input box a, that is, the "name", and after the content of the "name" input box is selected and confirmed by the user, the current parameter to be input, that is, the input box B, is the cross-sectional width, the second coordinate of the label information on the drawing to be recognized, that is, the CAD drawing, corresponding to the previous parameter "name" to be input is obtained, and the third coordinate on the CAD drawing corresponding to the remaining design parameters, such as the cross-sectional width, the cross-sectional height, the upper and lower through-length bars, etc., after the parameter corresponding to the "name" that has been input is excluded from the design parameter information.
Step S33: and respectively calculating the distance between the second coordinate and each third coordinate.
Step S34: and determining the design parameter information with the minimum distance as a recommended parameter corresponding to the current parameter to be input.
In the embodiment of the invention, it is assumed that the position, corresponding to the label information, in the CAD drawing selected by the user in the input box a, i.e., the second coordinate, is pos _ a (x, y), and the position, corresponding to the label information, of each candidate input parameter in the input box B, i.e., the third coordinate, in the CAD drawing is pos _ B _0(m, n). The squared distance of two different labels is: and (d) recommending the labeling information with the minimum dis2 value to the input box B, namely recommending other labeling information closest to the selected labeling information, to the dis2 ═ 2+ (y-n) ^2 so as to meet the rule that labels of users on the drawings are generally written together in a centralized manner.
It should be noted that, in the embodiment of the present invention, only the recommended parameter corresponding to the parameter to be input is determined by distance, in practical applications, the determination may also be performed according to other association relations of the data, such as a connection line, an area range, a rank label, and the like, or according to a combination of the association relations, so as to further ensure the accuracy of the data, which is not limited by the present invention.
Step S35: and when the input sequence of the current parameters to be input is a first sequence position, acquiring the primitive identification parameters from the design parameter information, and determining the primitive identification parameters as the recommended parameters corresponding to the current parameters to be input.
In the embodiment of the present invention, when an object to be recognized is recognized, a primitive identification parameter corresponding to the object to be recognized is usually recognized first, and the primitive identification parameter is used as a unique identification of the object to be recognized on a drawing to be recognized, so that the input parameter of the first ordinal position is set as the primitive identification parameter in the above input format requirement. When the input sequence of the current parameter to be input is the first sequence order, the current parameter to be input is the primitive identification parameter, so that the primitive identification parameter is obtained from the design parameter information, namely the name corresponding to the input box A is the only data information capable of determining a primitive, and the primitive identification parameter is determined as the recommended parameter corresponding to the current parameter to be input.
Step S4: and when responding to the recommended parameter selection operation, determining the recommended parameters as the input parameters corresponding to the current parameters to be input until all the parameters to be input are input. After the recommended parameters are determined as the input parameters corresponding to the current parameters to be input, the step S31 is returned until all the parameters to be input are input completely, the identification and the search of all the contents to be identified in the drawing to be identified are finally completed through the selection and the judgment of all the design parameter information, the identification omission is prevented, the identification accuracy is improved, the process of user selection simultaneously comprises the process of user confirmation, namely, the identification and the verification are combined together, the step of performing the verification after the automatic identification is completed is omitted, and the operation is simpler and more convenient.
Specifically, in an embodiment, after the step of determining the recommended parameter as the input parameter corresponding to the current parameter to be input, and before the step of completing the input of all the parameters to be input, the drawing identification recommendation method based on data analysis may further include the following steps:
step S5: and removing the recommended parameters from the design parameter information, and determining the updated design parameter information.
In the embodiment of the invention, the selected design parameter information in the input box B influences the sequencing of data in other input boxes, when a user selects a certain item from the list as an input value of the input box B, the values in the lists of other input boxes are sequenced according to a specified rule, the sequencing rule is obtained by analyzing the relationship among the data, the relationship may be one or a combination of several of the relationships of distance, area, row and column, and the like, and the value with the minimum sequence number is selected. Because the attributes of the building blocks are typically placed centrally, if input box B is a deterministic primitive, the primitive name is typically written with the primitive, i.e., at a relatively close distance. The recommended parameters are removed from the design parameter information, so that the selection and sorting data of the subsequent parameters to be input are reduced, the accuracy of data recommendation is ensured along with the increase of the selection times of the user in the selection confirmation process, and the operation process of the user is reduced.
The embodiment of the invention provides a drawing identification recommendation method based on data analysis, which comprises the steps of determining an object to be identified on a drawing to be identified, acquiring design parameter information corresponding to the identified object, and determining a recommendation parameter corresponding to a current parameter to be input from the design parameter information by adopting a recommendation algorithm based on data analysis according to an input sequence; according to the association among the data, possible parameters to be input are recommended automatically, so that the process of searching and inputting by a user is omitted, the manual identification efficiency of the user can be improved, the user can conveniently confirm whether unidentified contents exist or not by automatically providing all the parameters to be input, the identification omission is prevented, and the identification accuracy is improved; and the verification process is completed in the process that the user selects and determines, and the verification process does not need to be independently set after the recognition is completed, so that the operation is simpler and more convenient, and the drawing recognition efficiency is further improved.
Specifically, in another alternative embodiment, the step S3 includes the following steps:
step S301: and judging whether the input sequence of the current parameter to be input is a first sequence bit.
Step S302: and when the input sequence of the current parameter to be input is not the first sequence, acquiring a second coordinate of the input parameter corresponding to the previous parameter to be input on the drawing to be recognized and a third coordinate of the rest design parameters in the design parameter information corresponding to the drawing to be recognized.
Step S303: and respectively calculating the distance between the second coordinate and each third coordinate. The process of the calculation is described in detail in step S31 to step S35, and is not repeated here.
Step S304: and determining each candidate recommended parameter corresponding to the parameter to be input from the design parameter information according to the sequencing result of the distance from small to large.
In the embodiment of the present invention, the distances between the second coordinate and each third coordinate obtained by the above calculation are sorted from small to large, for example: after the roof frame beam named as AKL26(1) shown in fig. 2 is identified and confirmed, in the process of determining the section width, other pieces of information, namely 200, 400 and 2C14, are marked according to the distance from the marking information AKL26 (1); 2C14, determining candidate recommended parameters corresponding to the parameters to be input from the design parameter information according to the sorting result, namely forming sequential candidate recommended parameters in the input box B, wherein the sequential candidate recommended parameters can be selected by a user, and the first design parameter information in the default recommended sorting result is the recommended parameter, and then the final recommended parameter of the input box B can be correspondingly adjusted by monitoring the response of the user until the recommended parameter selection is confirmed by the user.
Step S305: and when the input sequence of the current parameters to be input is a first sequence position, acquiring the primitive identification parameters from the design parameter information, and determining the primitive identification parameters as the recommended parameters corresponding to the current parameters to be input.
In the embodiment of the invention, the candidate recommendation parameters are sequenced on the current parameter to be input, so that the recommendation range is expanded in the recommendation process, a user can select the candidate recommendation parameters more quickly, the recommendation parameters corresponding to the current parameter to be input are determined, and the input speed and the recognition efficiency are improved.
In another alternative embodiment, the above step S4 may be replaced by the following steps:
step S6: and when the candidate recommended parameter selection operation is responded, determining the candidate recommended parameters as the input parameters corresponding to the current parameters to be input until all the parameters to be input are input.
In the embodiment of the invention, after determining the candidate recommended parameters as the recommended parameters, the user responds to the selection operation of the candidate recommended parameters, then determines the candidate recommended parameters as the input parameters corresponding to the current parameters to be input, and returns to determine the recommended parameters of the next input frame of the input frame B according to the input sequence until all the parameters to be input are input. It should be noted that, in the embodiment of the present invention, only the parameter to be input is determined as the parameter in the input box by way of example, and in practical applications, the parameter may also be in a list box or in other forms, and the present invention is not limited thereto.
The embodiment of the invention provides a drawing identification recommendation method based on data analysis, which comprises the steps of determining an object to be identified on a drawing to be identified, acquiring design parameter information corresponding to the identified object, and determining a recommendation parameter corresponding to a current parameter to be input from the design parameter information by adopting a recommendation algorithm based on data analysis according to an input sequence; according to the association among the data, possible parameters to be input are recommended automatically, so that the process of searching and inputting by a user is omitted, the manual identification efficiency of the user can be improved, the recommendation range is expanded in the recommendation process, the user can select and determine the recommendation parameters corresponding to the current parameters to be input more quickly from the candidate recommendation parameters, and the input speed is improved; all the parameters to be input are automatically provided, so that a user can conveniently confirm whether unidentified contents exist, identification omission is prevented, and identification accuracy is improved; and the verification process is completed in the process that the user selects and determines, and the verification process does not need to be independently set after the recognition is completed, so that the operation is simpler and more convenient, and the drawing recognition efficiency is further improved.
The embodiment of the present invention further provides a drawing identification recommendation system based on data analysis, as shown in fig. 4, including:
the first acquisition module 1 is used for acquiring a drawing to be identified and an identification requirement, determining an object to be identified on the drawing to be identified, and acquiring design parameter information corresponding to the object to be identified; the module executes the method described in step S1, and is not described herein again.
The first calculation module 2 is used for acquiring an input format requirement corresponding to the identification object and determining the parameters to be input and the input sequence of the parameters to be input according to the input format requirement; the module executes the method described in step S2, and is not described herein again.
The second calculation module 3 is used for determining a recommended parameter corresponding to the current parameter to be input according to the input sequence and the position relation of the design parameter information; the module executes the method described in step S3, and is not described herein again.
The third calculation module 4 is configured to determine, when a recommended parameter selection operation is performed in response to the recommended parameter selection operation, the recommended parameter as an input parameter corresponding to a current parameter to be input until all the parameters to be input are input; the module executes the method described in step S4, and is not described herein again.
Through the cooperative cooperation of the components, the embodiment of the invention provides a drawing identification recommendation system based on data analysis, which determines an object to be identified on a drawing to be identified, acquires design parameter information corresponding to the identified object, and determines a recommendation parameter corresponding to a current parameter to be input from the design parameter information by adopting a recommendation algorithm based on data analysis according to an input sequence; according to the association among the data, possible parameters to be input are recommended automatically, so that the process of searching and inputting by a user is omitted, the manual identification efficiency of the user can be improved, the user can conveniently confirm whether unidentified contents exist or not by automatically providing all the parameters to be input, the identification omission is prevented, and the identification accuracy is improved; and the verification process is completed in the process that the user selects and determines, and the verification process does not need to be independently set after the recognition is completed, so that the operation is simpler and more convenient, and the drawing recognition efficiency is further improved.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, the electronic device may include a processor 901 and a memory 902, where the processor 901 and the memory 902 may be connected by a bus or in another manner, and fig. 5 takes the connection by the bus as an example.
The memory 902, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the methods in the embodiments of the present invention. The processor 901 executes various functional applications and data processing of the processor, i.e., implements the above-described method, by executing non-transitory software programs, instructions, and modules stored in the memory 902.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 901, and the like. Further, the memory 902 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 902 may optionally include memory located remotely from the processor 901, which may be connected to the processor 901 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 902, which when executed by the processor 901 performs the methods described above.
The specific details of the electronic device may be understood by referring to the corresponding related descriptions and effects in the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
The above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.
Claims (12)
1. A drawing identification recommendation method based on data analysis is characterized by comprising the following steps:
acquiring a drawing to be identified and an identification requirement, determining an object to be identified on the drawing to be identified, and acquiring design parameter information corresponding to the object to be identified;
acquiring an input format requirement corresponding to the identification object, and determining parameters to be input and an input sequence of the parameters to be input according to the input format requirement;
determining a recommended parameter corresponding to the current parameter to be input according to the input sequence and the position relation of the design parameter information;
and when the recommended parameter selection operation is responded, determining the recommended parameters as the input parameters corresponding to the current parameters to be input until all the parameters to be input are input.
2. The drawing identification recommendation method based on data analysis according to claim 1, wherein the obtaining of the design parameter information corresponding to the identification object comprises:
and when responding to the selection operation of the marking information, acquiring the marking information and determining the marking information as the design parameter information.
3. The drawing identification recommendation method based on data analysis according to claim 1, wherein the obtaining of the design parameter information corresponding to the identification object comprises:
acquiring the position information of the primitive when responding to the primitive selection operation;
and according to the position information, determining label information corresponding to the position information on the drawing to be identified, and determining the label information as the design parameter information.
4. The drawing identification recommendation method based on data analysis according to claim 2, wherein after the obtaining of the label information, before the determining of the label information as the design parameter information, the obtaining of the design parameter information corresponding to the identification object further comprises:
acquiring a first coordinate of the object to be identified and a coordinate range of the marking information on the drawing to be identified;
judging whether the first coordinate is in the coordinate range;
and when the first coordinate is in the coordinate range, determining the marking information as the design parameter information.
5. The drawing identification recommendation method based on data analysis according to claim 1, wherein the determining of the recommended parameters corresponding to the parameters to be currently input according to the input sequence and the positional relationship of the design parameter information comprises:
judging whether the input sequence of the current parameters to be input is a first sequence bit;
when the input sequence of the current parameter to be input is not the first sequence, acquiring a second coordinate of the input parameter corresponding to the previous parameter to be input on the drawing to be identified and a third coordinate of the rest design parameters in the design parameter information corresponding to the drawing to be identified;
respectively calculating the distance between the second coordinate and each third coordinate;
and determining the design parameter information with the minimum distance as a recommended parameter corresponding to the current parameter to be input.
6. The drawing identification recommendation method based on data analysis of claim 5, wherein the determining of the recommended parameters corresponding to the parameters to be input currently according to the input sequence and the positional relationship of the design parameter information further comprises:
and when the input sequence of the current parameters to be input is a first sequence, acquiring primitive identification parameters from the design parameter information, and determining the primitive identification parameters as recommended parameters corresponding to the current parameters to be input.
7. The drawing identification recommendation method based on data analysis of claim 5, wherein the determining of the recommended parameters corresponding to the parameters to be input currently according to the input sequence and the positional relationship of the design parameter information further comprises:
and determining each candidate recommended parameter corresponding to the parameter to be input from the design parameter information according to the sequencing result of the distance from small to large.
8. The drawing identification recommendation method based on data analysis of claim 7, further comprising:
and when the candidate recommended parameter selection operation is responded, determining the candidate recommended parameter as the input parameter corresponding to the current parameter to be input until all the parameters to be input are input.
9. The drawing identification recommendation method based on data analysis as claimed in claim 1, wherein after determining the recommendation parameter as the input parameter corresponding to the current parameter to be input, the method further comprises:
and removing the recommended parameters from the design parameter information, and determining the updated design parameter information.
10. A drawing identification recommendation system based on data analysis is characterized by comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a drawing to be identified and an identification requirement, determining an object to be identified on the drawing to be identified and acquiring design parameter information corresponding to the object to be identified;
the first calculation module is used for acquiring an input format requirement corresponding to the identification object and determining parameters to be input and an input sequence of the parameters to be input according to the input format requirement;
the second calculation module is used for determining a recommended parameter corresponding to the current parameter to be input according to the input sequence and the position relation of the design parameter information;
and the third calculation module is used for determining the recommended parameters as the input parameters corresponding to the current parameters to be input when responding to the recommended parameter selection operation until all the parameters to be input are input.
11. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement the data analysis-based drawing identification recommendation method of any one of claims 1-9.
12. An electronic device, comprising:
a memory and a processor, wherein the memory and the processor are communicatively connected with each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the drawing identification recommendation method based on data analysis according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010694645.5A CN111881171B (en) | 2020-07-17 | 2020-07-17 | Drawing identification recommendation method and system based on data analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010694645.5A CN111881171B (en) | 2020-07-17 | 2020-07-17 | Drawing identification recommendation method and system based on data analysis |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111881171A true CN111881171A (en) | 2020-11-03 |
CN111881171B CN111881171B (en) | 2024-06-25 |
Family
ID=73154936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010694645.5A Active CN111881171B (en) | 2020-07-17 | 2020-07-17 | Drawing identification recommendation method and system based on data analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111881171B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112464903A (en) * | 2020-12-16 | 2021-03-09 | 广联达科技股份有限公司 | Primitive identification method and device of municipal construction drawing and electronic equipment |
CN112906572A (en) * | 2021-02-20 | 2021-06-04 | 广联达科技股份有限公司 | Method and device for identifying longitudinal section in construction drawing |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005174078A (en) * | 2003-12-12 | 2005-06-30 | Canon Inc | Information processor and information processing method |
CN102693334A (en) * | 2012-03-01 | 2012-09-26 | 成都鹏业软件股份有限公司 | Dynamic construction member identifying method based on CAD (computer-aided design) electronic drawing |
KR20180021961A (en) * | 2016-08-22 | 2018-03-06 | 경희대학교 산학협력단 | Method for automatically regulating checking at architectural design phase using building information modeling |
CN109191576A (en) * | 2018-09-06 | 2019-01-11 | 宁波睿峰信息科技有限公司 | A kind of figure layer classification method that architectural drawing is converted to three-dimensional BIM model |
CN109993827A (en) * | 2019-03-29 | 2019-07-09 | 宁波睿峰信息科技有限公司 | A kind of elevation recognition methods that architectural drawing is converted to three-dimensional BIM model |
CN110909650A (en) * | 2019-11-15 | 2020-03-24 | 清华大学 | CAD drawing identification method and device based on domain knowledge and target detection |
CN111078861A (en) * | 2019-11-29 | 2020-04-28 | 陈韬文 | Type selection replacement recommendation method and system for electrical drawing components and storage medium |
CN111414508A (en) * | 2020-03-17 | 2020-07-14 | 金钱猫科技股份有限公司 | Method and terminal for searching and realizing visualization in design model |
-
2020
- 2020-07-17 CN CN202010694645.5A patent/CN111881171B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005174078A (en) * | 2003-12-12 | 2005-06-30 | Canon Inc | Information processor and information processing method |
CN102693334A (en) * | 2012-03-01 | 2012-09-26 | 成都鹏业软件股份有限公司 | Dynamic construction member identifying method based on CAD (computer-aided design) electronic drawing |
KR20180021961A (en) * | 2016-08-22 | 2018-03-06 | 경희대학교 산학협력단 | Method for automatically regulating checking at architectural design phase using building information modeling |
CN109191576A (en) * | 2018-09-06 | 2019-01-11 | 宁波睿峰信息科技有限公司 | A kind of figure layer classification method that architectural drawing is converted to three-dimensional BIM model |
CN109993827A (en) * | 2019-03-29 | 2019-07-09 | 宁波睿峰信息科技有限公司 | A kind of elevation recognition methods that architectural drawing is converted to three-dimensional BIM model |
CN110909650A (en) * | 2019-11-15 | 2020-03-24 | 清华大学 | CAD drawing identification method and device based on domain knowledge and target detection |
CN111078861A (en) * | 2019-11-29 | 2020-04-28 | 陈韬文 | Type selection replacement recommendation method and system for electrical drawing components and storage medium |
CN111414508A (en) * | 2020-03-17 | 2020-07-14 | 金钱猫科技股份有限公司 | Method and terminal for searching and realizing visualization in design model |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112464903A (en) * | 2020-12-16 | 2021-03-09 | 广联达科技股份有限公司 | Primitive identification method and device of municipal construction drawing and electronic equipment |
CN112906572A (en) * | 2021-02-20 | 2021-06-04 | 广联达科技股份有限公司 | Method and device for identifying longitudinal section in construction drawing |
CN112906572B (en) * | 2021-02-20 | 2024-02-27 | 广联达科技股份有限公司 | Identification method and identification device for vertical section in construction drawing |
Also Published As
Publication number | Publication date |
---|---|
CN111881171B (en) | 2024-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110414477B (en) | Image scale detection method and device | |
CN110502985B (en) | Form identification method and device and form identification equipment | |
CN111340054A (en) | Data labeling method and device and data processing equipment | |
CN115880536B (en) | Data processing method, training method, target object detection method and device | |
CN108334805A (en) | The method and apparatus for detecting file reading sequences | |
CN111881171B (en) | Drawing identification recommendation method and system based on data analysis | |
CN112241565A (en) | Modeling method and related device | |
EP3460762A1 (en) | Device and method for extracting topographical boundary | |
CN110705226A (en) | Spreadsheet creating method and device and computer equipment | |
CN111652141B (en) | Question segmentation method, device, equipment and medium based on question numbers and text lines | |
CN115546809A (en) | Table structure identification method based on cell constraint and application thereof | |
JP2003296383A (en) | Three-dimensional modeling system | |
CN112308946A (en) | Topic generation method and device, electronic equipment and readable storage medium | |
CN111369294B (en) | Software cost estimation method and device | |
CN112328880A (en) | Geographical region clustering method and device, storage medium and electronic equipment | |
CN109871743B (en) | Text data positioning method and device, storage medium and terminal | |
KR102209076B1 (en) | Method, system, and non-transitory computer readable record medium for correcting typing error of virtual keyboard | |
CN113553268A (en) | AI intelligent software testing method | |
JP4092637B2 (en) | Shape model simplification device | |
CN116029009B (en) | Building intelligent drawing method and system based on BIM technology | |
CN116798053A (en) | Icon generation method and device | |
CN115797955A (en) | Table structure identification method based on cell constraint and application thereof | |
CN111026946A (en) | Page information extraction method, device, medium and equipment | |
CN116681792A (en) | Subgraph generation method, device and equipment of vector drawing and readable storage medium | |
CN114444185A (en) | In-situ labeling identification method and device and electronic equipment |
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 |