Disclosure of Invention
In view of this, the invention aims to provide a method and a device for identifying and auditing engineering drawings, so as to solve the problems of high time consumption, low efficiency and low auditing accuracy rate in the prior art for examining drawings.
In order to achieve the purpose, the invention adopts the following technical scheme:
an engineering drawing identification auditing method comprises the following steps:
converting the imported initial format drawing into a standard format drawing;
analyzing the standard format drawing to determine a graphic object set corresponding to the standard format drawing;
filtering the graphic object set according to the drawing type of the standard format drawing by using a preset graphic filtering algorithm to determine a graphic object set to be checked;
verifying the connection relation of all the graph objects to be checked in the graph object set to be checked according to the drawing types by using a preset graph completion algorithm to obtain automatic modification information;
modifying the graphic object set to be checked according to the automatic modification information to obtain a standardized graphic object set;
and verifying and checking the standardized graph object set by utilizing a pre-acquired building standard library to obtain a checking result, so that the client side can acquire and display the checking result.
Further, in the above method for identifying and reviewing engineering drawings, the filtering the graphic object set by using a preset graphic filtering algorithm according to the drawing type of the standard format drawing to determine a graphic object set to be reviewed includes:
filtering the graphic object set by using the graphic filtering algorithm according to the drawing type to obtain a graphic object to be checked and an irrelevant checking graphic object;
and collecting all the graphic objects to be checked to obtain a graphic object collection to be checked.
Further, in the above method for identifying and reviewing engineering drawings, after obtaining the set of graphic objects to be reviewed, the method further includes:
and collecting all the irrelevant audit graphic objects to obtain the irrelevant audit graphic object collection.
Further, in the above method for identifying and reviewing engineering drawings, after obtaining the set of irrelevant review graphic objects, the method further includes:
constructing the graph object set to be checked to obtain a graph to be checked;
sending the graph to be checked to the client so that an auditor can determine whether the graph to be checked has an irrelevant graph;
and if the selection information sent by the auditor through the client is received, transferring the graphic object corresponding to the selection information in the graphic object set to be audited to the irrelevant auditing graphic object set to form a new graphic object set to be audited and a new irrelevant auditing graphic object set.
Further, in the above method for identifying and reviewing engineering drawings, after the new set of graphical objects to be reviewed and the set of unrelated graphical objects are formed, the method further includes:
and training the graph filtering algorithm by using the irrelevant auditing graph object set, and updating the graph filtering algorithm.
Further, in the method for identifying and auditing engineering drawings, after the standardized graphic object set is obtained, the method further includes:
constructing the standardized graph object set to obtain a standardized graph;
sending the standardized graph to the client so that a auditor can determine whether the graph object connection relation in the standardized graph is qualified or not;
and if receiving manual modification information sent by the auditor through the client, modifying the connection relation of the standardized graphic objects in the standardized graphic object set according to the manual modification information to form a new standardized graphic object set.
Further, in the method for identifying and reviewing engineering drawings, after the forming of the new standardized set of graphic objects, the method further includes:
and training the graph completion algorithm by using the connection relation of the standardized graph objects in the standardized graph object set, and updating the graph completion algorithm.
The invention also provides an engineering drawing identification and verification device, which comprises:
the conversion module is used for converting the imported initial format drawing into a standard format drawing;
the analysis module is used for analyzing the standard format drawing and determining a graphic object set corresponding to the standard format drawing;
the filtering module is used for filtering the graphic object set according to the drawing type of the standard format drawing by using a preset graphic filtering algorithm to determine a graphic object set to be checked;
the verification module is used for verifying the connection relation of all the graphic objects to be checked in the graphic object set to be checked according to the drawing types by using a preset graphic completion algorithm to obtain automatic modification information;
the modification module is used for modifying the graphic object set to be checked according to the automatic modification information to obtain a standardized graphic object set;
and the auditing module is used for verifying and auditing the standardized graphic object set by utilizing a pre-acquired building standard library to obtain an auditing result so that the client can acquire and display the auditing result.
Further, in the above apparatus for identifying and auditing engineering drawings, the filtering module includes:
the graphic object filtering unit is used for filtering the graphic object set according to the drawing type by using the graphic filtering algorithm to obtain a graphic object to be checked and an irrelevant checking graphic object;
the collection unit is used for collecting all the graphic objects to be checked to obtain a collection of the graphic objects to be checked; and collecting all the irrelevant audit graphic objects to obtain the irrelevant audit graphic object collection.
Further, the above engineering drawing identification auditing apparatus further includes:
the construction module is used for constructing the graph object set to be checked to obtain a graph to be checked;
the sending module is used for sending the graph to be checked to the client so that an auditor can determine whether the graph to be checked has an irrelevant graph;
and the transfer module is used for transferring the graphic objects corresponding to the selection information in the graphic object set to be audited to the irrelevant auditing graphic object set to form a new graphic object set to be audited and a new irrelevant auditing graphic object set if the selection information sent by the auditor through the client is received.
According to the engineering drawing identification auditing method and device, the imported initial format drawing is converted into the standard format drawing; analyzing the standard format drawing to determine a graphic object set corresponding to the standard format drawing; filtering the graph object set by using a preset graph filtering algorithm according to the drawing type of the standard format drawing, and determining the graph object set to be checked, so that graph objects which are irrelevant to checking in the drawing can be filtered, the interference of irrelevant checking graphs on checking is reduced, the time consumed for checking is reduced, and the checking efficiency is improved; by utilizing a preset graph completion algorithm, verifying the connection relation of all graph objects to be checked in the graph object set to be checked according to the type of the drawing to obtain automatic modification information, so that the efficiency of checking the connection relation of the graphs can be improved; modifying the graphic object set to be checked according to the automatic modification information to obtain a standardized graphic object set; and verifying and auditing the standardized graph object set by using a pre-acquired building standard library to obtain an auditing result, so that the client side can acquire and display the auditing result. By adopting the technical scheme, the imported drawing can be directly checked, compared with manual verification and comparison, time consumed by checking the drawing is saved, checking efficiency is improved, the subjectivity of checking can be reduced, the building standard library is directly used for checking the drawing, and checking accuracy is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a flowchart of a first embodiment of the engineering drawing identification and review method of the present invention, and as shown in fig. 1, the engineering drawing identification and review method of the present embodiment specifically includes the following steps:
s101, converting the imported initial format drawing into a standard format drawing;
if the engineering drawings need to be checked, the initial format drawings need to be imported at first, and the imported initial format drawings are converted into standard format drawings, so that drawings in various formats can be checked, a user does not need to convert the drawing formats by himself, compared with the drawings in which the formats are not unified through manual checking, time-consuming cost of checking can be saved, and checking efficiency is improved. The initial format drawing may be a PDF format drawing or a picture format drawing, and the like, and the standard format drawing is preferably a CAD standard format drawing, and when the imported drawing is the initial format drawing in a PDF format or a picture format, and the like, the drawing needs to be converted into the CAD standard format drawing. If the initially imported initial format drawing is the CAD standard format drawing, the drawing is directly used as the standard format drawing without conversion.
S102, analyzing the standard format drawing, and determining a graphic object set corresponding to the standard format drawing;
after the standard format drawing is obtained, the graphs of all layers in the standard format drawing need to be analyzed, all the graphs are converted into graph objects, and the graph objects are stored in a set, so that a graph object set corresponding to the standard format drawing is obtained. The graphic objects in the graphic object set can be classified and stored according to the graphic features, for example, borders, columns, labels, and the like can be stored separately.
S103, filtering the graphic object set according to the drawing type of the drawing with the standard format by using a preset graphic filtering algorithm, and determining a graphic object set to be checked;
after the graph object set corresponding to the standard format drawing is obtained, the graph object set is filtered by using a preset graph filtering algorithm according to the drawing type of the standard format drawing, for example, graph objects such as drawing frames, axis dimension labels, north pointers, legends and the like in the graph objects can be filtered, so that interference of irrelevant verification graph objects on verification can be eliminated in the verification process, verification time consumption can be saved, and verification efficiency can be improved. The drawing types of the standard format drawing comprise a building drawing, a structural drawing, an electrical drawing, a heating and ventilation drawing, a fire fighting drawing, a water supply and drainage drawing and the like. The graph object set is filtered according to the drawing types in the filtering process. In this embodiment, the drawing type of the drawing with the standard format may be determined according to the drawing analysis, for example, the initially imported drawing is generally annotated with the type of the drawing, and the type of the drawing may be analyzed according to the imported drawing, so as to determine the drawing type corresponding to the drawing; the drawing type of the drawing can also be carried when the initial format drawing is imported, namely, the drawing type corresponding to the drawing is input when the initial format drawing is imported. After irrelevant audit graphic objects in the graphic object set are filtered, the residual graphic objects to be audited are stored in the set, and therefore the graphic object set to be audited is obtained.
S104, verifying the connection relation of all the to-be-checked graph objects in the to-be-checked graph object set according to the drawing types by using a preset graph completion algorithm to obtain automatic modification information;
after the graph objects to be checked are obtained, a preset graph completion algorithm is needed to be used for verifying the connection relation between all the graph objects to be checked in the graph object set to be checked according to the type of the graph and the design connection lines in the graph, whether the connection relation between all the graph objects to be checked is reasonable or not and whether the defects of missing pictures, random pictures and the like occur or not needs to be verified, for example, the type of the graph is a fire fighting graph, whether a restaurant fire fighting design graph is drawn, whether a missing picture door exists in a bag drawn in the design graph or not needs to be verified, whether other graph objects are drawn in a fixed distance of a fire fighting access port or not needs to be verified. If the connection relation among the graphic objects to be checked is unreasonable, the defects of missing pictures, random pictures and the like exist, and automatic modification information can be generated according to the defects. In the graph completion algorithm, different drawing types also have different graph completion rules, so in the process of verifying the connection relationship of the graph object to be checked, verification needs to be performed according to the drawing types.
S105, modifying the graphic object set to be checked according to the automatic modification information to obtain a standardized graphic object set;
after the automatic modification information is obtained, modifying the positions with defects in the connection relation between the graphic objects to be checked in the graphic object set to be checked according to the automatic modification information, so as to obtain a modified graphic object set as a standardized graphic object set.
And S106, verifying and auditing the standardized graph object set by utilizing the pre-acquired building specification library to obtain an auditing result, so that the client can acquire and display the auditing result.
And after the standardized graph object set is obtained, verifying and checking all standardized graph objects in the standardized graph object set by utilizing a pre-obtained building code library, verifying whether all standardized graph objects violate the code provisions of the state in the building industry, and obtaining a verification result, wherein when the standardized graph object set is verified and checked, verification and check are required to be carried out according to the drawing types. For example, whether the height and width of the passageway in the drawing meet the corresponding standard of the drawing type, whether a fire fighting passageway is drawn in a building, whether the arrangement of a fire extinguisher meets the standard regulations, and the like. And then sending the audit result to the client, and displaying the audit result through the client. The checking result can display the graph constructed by the standardized graph object set, highlight the part violating the standard provisions, display characters on the right side of the graph to describe which standard provisions are not met, and directly jump to the corresponding highlight graph by clicking the characters, so that a user or a checker can know the checking result more intuitively. In addition, after the auditor checks the audit result, if the graphic object violating the standard provisions is found, the client side can perform manual marking, the audit result is updated according to the manual marking, and after the auditor confirms that the audit result is correct, the updated audit result is displayed again.
In the engineering drawing identification and verification method of the embodiment, the imported initial format drawing is converted into the standard format drawing; analyzing the standard format drawing to determine a graphic object set corresponding to the standard format drawing; filtering the graph object set by using a preset graph filtering algorithm according to the drawing type of the standard format drawing, and determining the graph object set to be checked, so that graph objects which are irrelevant to checking in the drawing can be filtered, the interference of irrelevant checking graphs on checking is reduced, the time consumed for checking is reduced, and the checking efficiency is improved; by utilizing a preset graph completion algorithm, verifying the connection relation of all graph objects to be checked in the graph object set to be checked according to the type of the drawing to obtain automatic modification information, so that the efficiency of checking the connection relation of the graphs can be improved; modifying the graphic object set to be checked according to the automatic modification information to obtain a standardized graphic object set; and verifying and auditing the standardized graph object set by using a pre-acquired building standard library to obtain an auditing result, so that the client side can acquire and display the auditing result. According to the scheme, the method and the device for checking the graph drawing can be used for directly checking the imported drawing, time for checking the drawing is saved compared with manual verification and comparison, checking efficiency is improved, the subjectivity of checking can be reduced, the building specification library is directly used for checking the graph, and checking accuracy is improved.
Fig. 2 is a flowchart of a second embodiment of the engineering drawing identification and review method of the present invention, and as shown in fig. 2, the engineering drawing identification and review method of the present embodiment further describes the technical solution of the present invention in more detail on the basis of the above embodiment.
As shown in fig. 2, the method for identifying and auditing engineering drawings in this embodiment specifically includes the following steps:
s201, converting the imported initial format drawing into a standard format drawing;
the execution process of this step is the same as the execution process of S101 shown in fig. 1, and is not described here again.
S202, analyzing the standard format drawing, and determining a graphic object set corresponding to the standard format drawing;
the execution process of this step is the same as the execution process of S102 shown in fig. 1, and is not described here again.
S203, filtering the graph object set according to the graph type by using a graph filtering algorithm to obtain a graph object to be checked and an irrelevant check graph object;
in this step, the specific process of filtering the graphic object set is the same as S103 shown in fig. 1, and is not described here again. After the graph object set is filtered, the filtered graph objects are irrelevant audit graph objects, and the rest graph objects are graph objects to be audited.
S204, collecting all the graphic objects to be checked to obtain a graphic object set to be checked;
through the steps, all the obtained graphic objects to be checked are collected and stored, and therefore a graphic object collection to be checked is obtained.
S205, collecting all irrelevant audit graphic objects to obtain a irrelevant audit graphic object collection;
through the steps, all the filtered irrelevant audit graphic objects are collected and stored, so that a set of irrelevant audit graphic objects is obtained.
S206, constructing a graph object set to be checked to obtain a graph to be checked;
after the graph object set to be checked is obtained, all the graph objects to be checked in the graph object set to be checked need to be reconstructed into graphs to be used as graphs to be checked. Compared with the graph presented in the standard format drawing, the graph object irrelevant to the examination in the drawing is removed.
S207, sending the graph to be checked to the client so that an auditor can determine whether the graph to be checked has an irrelevant graph;
after the graph to be checked is constructed, the graph to be checked is sent to the client, and an auditor can check the graph to be checked through the client and determine whether an irrelevant graph still exists in the graph to be checked.
S208, if the selection information sent by the auditor through the client is received, transferring the graphic object corresponding to the selection information in the graphic object set to be audited to an irrelevant audited graphic object set to form a new graphic object set to be audited and an irrelevant audited graphic object set;
after the auditor views the graph to be audited through the client, if an irrelevant graph still exists in the graph to be audited, the auditor can mark the graph to be audited, for example, click the irrelevant graph in the graph to be audited, so as to generate the selection information. If the selection information sent by the auditor through the client is received, indicating that an irrelevant graph still exists in the graph to be audited, transferring and storing the graph object corresponding to the selection information in the graph object set to be audited into the irrelevant audit graph object set, and thus obtaining the updated graph object set to be audited and the irrelevant audit graph object set.
In addition, if no irrelevant image exists in the graph to be audited after the auditor checks the graph to be audited, the auditor can confirm that the graph to be audited is correct through the client and send confirmation information. And if the confirmation information sent by the auditor through the client is received, the next step is directly executed without changing the to-be-audited graph object set and the irrelevant audit graph object set.
S209, training the graph filtering algorithm by using the irrelevant examination graph object set, and updating the graph filtering algorithm;
and after determining the irrelevant audit graphic object set, training the filtering rule corresponding to the drawing type in the graphic filtering algorithm by using the graphic characteristics of all irrelevant audit graphic objects in the irrelevant audit graphic object set, and updating the graphic filtering algorithm into the trained graphic filtering algorithm so as to utilize the updated graphic filtering algorithm in the next filtering.
S210, verifying the connection relation of all to-be-checked graph objects in the to-be-checked graph object set according to the drawing types by using a preset graph completion algorithm to obtain automatic modification information;
the execution process of this step is the same as the execution process of S104 shown in fig. 1, and is not described here again.
S211, modifying the graphic object set to be checked according to the automatic modification information to obtain a standardized graphic object set;
the execution process of this step is the same as the execution process of S105 shown in fig. 1, and is not described here again.
S212, constructing a standardized graph object set to obtain a standardized graph;
after the standardized graphic object set is obtained, all the graphic objects in the standardized graphic object set need to be reconstructed into a graphic as a standardized graphic. The standardized graph is a graph obtained by completing and modifying the connection relation between graph objects in a standard format drawing.
S213, sending the standardized graph to a client so that an auditor can determine whether the graph object connection relation in the standardized graph is qualified;
after the standardized graph is constructed, the standardized graph is sent to a client, an auditor can check the standardized graph through the client and determine whether the connection relation of the graph objects in the standardized graph is qualified, namely whether the connection relation of the graph objects is reasonable or not, and whether the defects of missed drawing, random drawing and the like exist or not.
S214, if manual modification information sent by an auditor through a client is received, modifying the connection relation of the standardized graphic objects in the standardized graphic object set according to the manual modification information to form a new standardized graphic object set;
after the auditor checks the standardized graph through the client, if the connection relation of the standardized graph objects in the standardized graph is unqualified, the auditor can label the standardized graph, for example, the connection relation of missed pictures is supplemented, the places where the pictures are wrongly drawn are modified, the places where the pictures are drawn are deleted, and the like, and manual modification information is generated according to the label of the auditor. And if manual modification information sent by an auditor through the client is received, indicating that the connection relation of the graphic objects in the standardized graphics is unqualified, modifying the connection relation of the standardized graphic objects in the standardized graphic object set according to the manual modification information, thereby obtaining a new standardized graphic object set.
In addition, if the graphic object connection relation in the standardized graphic is qualified after the auditor checks the standardized graphic, the auditor can confirm that the standardized graphic is correct through the client and send confirmation information. And if the confirmation information sent by the auditor through the client is received, the next step is directly executed without changing the standardized graphic object set.
S215, training the graph completion algorithm by using the connection relation of the standardized graph objects in the standardized graph object set, and updating the graph completion algorithm;
after the standardized graph object set is determined, the graph completion rule corresponding to the drawing type in the graph completion algorithm is trained by using the connection relation of the standardized graph objects in the standardized graph object set, and the graph completion algorithm is updated to the trained graph completion algorithm, so that the updated graph completion algorithm is used when the connection relation between the graph objects is verified and modified next time.
S216, verifying and auditing the standardized graph object set by using the pre-acquired building specification library to obtain an auditing result, so that the client side can acquire and display the auditing result.
The execution process of this step is the same as the execution process of S106 shown in fig. 1, and is not described here again.
The engineering drawing identification auditing method of the embodiment can also construct a to-be-audited graph object set to obtain a to-be-audited graph; constructing a standardized graph object set to obtain a standardized graph; and respectively sending the graph to be checked and the standardized graph to the client so that an auditor can determine whether the graph to be checked has an irrelevant graph or not and whether the graph object connection relation in the standardized graph is qualified or not. After automatic filtration and automatic verification, the auditor can also carry out manual filtration and manual verification through the client, so that the accuracy of engineering drawing audit can be improved. The embodiment can also train the graph filtering algorithm by using an irrelevant auditing graph object set, and update the graph filtering algorithm; and training the graph completion algorithm by using the connection relation of the standardized graph objects in the standardized graph object set, and updating the graph completion algorithm. Therefore, after the engineering drawing is audited each time, the audit can be used as a training sample to train the graph filtering algorithm and the graph completion algorithm, the accuracy of the two algorithms is improved, and the accuracy of the engineering drawing audit is improved. The embodiment can directly audit the imported drawing, compares with manual verification and comparison, saves time for examining the drawing, improves auditing efficiency, reduces auditing subjectivity, directly utilizes the building code library to audit the drawing, and improves auditing accuracy.
In order to be more comprehensive, the application also provides an engineering drawing identification and verification device corresponding to the engineering drawing identification and verification method provided by the embodiment of the invention.
Fig. 3 is a schematic structural diagram of a first engineering drawing identification and review device according to an embodiment of the present invention, and as shown in fig. 3, the engineering drawing identification and review device according to the embodiment includes: a conversion module 101, a parsing module 102, a filtering module 103, a verification module 104, a modification module 105, and an auditing module 106.
The conversion module 101 is used for converting the imported initial format drawing into a standard format drawing;
the analysis module 102 is used for analyzing the standard format drawing and determining a graphic object set corresponding to the standard format drawing;
the filtering module 103 is configured to filter the graphic object set according to the drawing type of the standard format drawing by using a preset graphic filtering algorithm, and determine a graphic object set to be checked;
the verification module 104 is configured to verify connection relationships of all to-be-checked graph objects in the to-be-checked graph object set according to the drawing types by using a preset graph completion algorithm, so as to obtain automatic modification information;
the modification module 105 is configured to modify the to-be-checked graph object set according to the automatic modification information to obtain a standardized graph object set;
and the auditing module 106 is used for verifying and auditing the standardized graphic object set by using the pre-acquired building specification library to obtain an auditing result, so that the client can acquire and display the auditing result.
In the engineering drawing identification and verification device of the embodiment, the conversion module 101 converts the imported initial format drawing into a standard format drawing; the analysis module 102 analyzes the standard format drawing to determine a graphic object set corresponding to the standard format drawing; the filtering module 103 filters the graphic object set according to the drawing type of the drawing with the standard format by using a preset graphic filtering algorithm, and determines the graphic object set to be checked, so that the graphic objects which are irrelevant to checking in the drawing can be filtered, the interference of irrelevant checking graphics on checking is reduced, the time consumed by checking is reduced, and the checking efficiency is improved; the verification module 104 verifies the connection relation of all the graph objects to be checked in the graph object set to be checked according to the drawing types by using a preset graph completion algorithm to obtain automatic modification information, so that the efficiency of checking the connection relation of the graphs can be improved; the modification module 105 modifies the graphic object set to be checked according to the automatic modification information to obtain a standardized graphic object set; the auditing module 106 verifies and audits the standardized graphic object set by using the pre-acquired building specification library to obtain an auditing result, so that the client can acquire and display the auditing result. According to the scheme, the method and the device for checking the graph drawing can be used for directly checking the imported drawing, time for checking the drawing is saved compared with manual verification and comparison, checking efficiency is improved, the subjectivity of checking can be reduced, the building specification library is directly used for checking the graph, and checking accuracy is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a schematic structural diagram of a second embodiment of the engineering drawing identification and review device according to the present invention, and as shown in fig. 4, the filtering module 103 of the engineering drawing identification and review device of this embodiment includes, on the basis of the embodiment shown in fig. 3: a graphical object filtering unit 1031, and a collecting unit 1032.
The graphic object filtering unit 1031 is configured to filter the graphic object set according to the drawing type by using a graphic filtering algorithm to obtain a graphic object to be checked and an irrelevant checking graphic object;
a collecting unit 1032, configured to collect all the to-be-checked graph objects to obtain a to-be-checked graph object set; and collecting all irrelevant audit graphic objects to obtain an irrelevant audit graphic object collection.
Further, the engineering drawing identification and audit device of the embodiment further includes: a build module 107, a send module 108, and a transfer module 109.
The building module 107 is configured to build a graph object set to be checked to obtain a graph to be checked;
the sending module 108 is configured to send the to-be-audited graph to the client, so that an auditor determines whether an unrelated graph exists in the to-be-audited graph;
and the transfer module 109 is configured to, if the selection information sent by the auditor through the client is received, transfer the graphic object corresponding to the selection information in the graphic object set to be audited to the irrelevant audit graphic object set, so as to form a new graphic object set to be audited and a new irrelevant audit graphic object set.
Further, in the engineering drawing identification and review apparatus of this embodiment, the construction module 107 is further configured to construct a standardized graph object set to obtain a standardized graph;
the sending module 108 is further configured to send the standardized graph to the client, so that an auditor determines whether the graph object connection relationship in the standardized graph is qualified;
the modification module 105 is further configured to, if manual modification information sent by an auditor through a client is received, modify the connection relationship of the standardized graphical objects in the standardized graphical object set according to the manual modification information, so as to form a new standardized graphical object set.
Further, the engineering drawing identification auditing device of the embodiment further includes a training module 110, configured to train a graph filtering algorithm by using an irrelevant auditing graph object set, and update the graph filtering algorithm; and training the graph completion algorithm by using the connection relation of the standardized graph objects in the standardized graph object set, and updating the graph completion algorithm.
In the engineering drawing identification and review device of the embodiment, the construction module 107 constructs a to-be-reviewed graph object set to obtain a to-be-reviewed graph; constructing a standardized graph object set to obtain a standardized graph; the sending module 108 sends the graph to be checked and the standardized graph to the client, so that an auditor can determine whether the graph to be checked has an irrelevant graph or not and whether the graph object connection relationship in the standardized graph is qualified or not. After automatic filtration and automatic verification, the auditor can also carry out manual filtration and manual verification through the client, so that the accuracy of engineering drawing audit can be improved. In this embodiment, the training module 110 trains the graph filtering algorithm by using the irrelevant audit graph object set, and updates the graph filtering algorithm; and training the graph completion algorithm by using the connection relation of the standardized graph objects in the standardized graph object set, and updating the graph completion algorithm. Therefore, after the engineering drawing is audited each time, the audit can be used as a training sample to train the graph filtering algorithm and the graph completion algorithm, the accuracy of the two algorithms is improved, and the accuracy of the engineering drawing audit is improved. The embodiment can directly audit the imported drawing, compares with manual verification and comparison, saves time for examining the drawing, improves auditing efficiency, reduces auditing subjectivity, directly utilizes the building code library to audit the drawing, and improves auditing accuracy.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.