CN107729474B - Data quality detection method, system, equipment and storage medium of CAD model - Google Patents

Data quality detection method, system, equipment and storage medium of CAD model Download PDF

Info

Publication number
CN107729474B
CN107729474B CN201710954639.7A CN201710954639A CN107729474B CN 107729474 B CN107729474 B CN 107729474B CN 201710954639 A CN201710954639 A CN 201710954639A CN 107729474 B CN107729474 B CN 107729474B
Authority
CN
China
Prior art keywords
detection
cad model
data quality
model
quality detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710954639.7A
Other languages
Chinese (zh)
Other versions
CN107729474A (en
Inventor
刘昱
陆斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Industry Institute Co Ltd
Original Assignee
CRRC Industry Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRRC Industry Institute Co Ltd filed Critical CRRC Industry Institute Co Ltd
Priority to CN201710954639.7A priority Critical patent/CN107729474B/en
Publication of CN107729474A publication Critical patent/CN107729474A/en
Application granted granted Critical
Publication of CN107729474B publication Critical patent/CN107729474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a data quality detection method, a system, equipment and a storage medium of a CAD model, wherein the detection method comprises the steps of obtaining a target CAD model and a model format thereof according to a data quality detection instruction aiming at the target CAD model sent by a user terminal; the data quality detection instruction comprises a detection rule corresponding to the target CAD model; calling a corresponding detection unit according to the model format of the target CAD model; and controlling the detection unit to perform data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model. The invention has wide application and high detection efficiency, can meet the data quality detection requirements of CAD models with different formats which are properly designed according to different CAD software in the product collaborative design, effectively improves the standardization and normalization degree of enterprise product design, shortens the product development period and improves the product research and development efficiency and quality.

Description

Data quality detection method, system, equipment and storage medium of CAD model
Technical Field
The invention relates to the technical field of drawing software detection, in particular to a data quality detection method, a data quality detection system, data quality detection equipment and a storage medium for a computer-aided design (CAD) model.
Background
As a core Design tool which can help enterprises to improve Design efficiency, optimize Design schemes, reduce labor intensity of technical personnel, shorten Design period and strengthen Design standardization, the automatic Computer Aided Design software CAD (automatic CAD-automatic desk Computer Aided Design) is widely applied to various fields of engineering Design and extends to industries such as machinery, automobiles, electronics, aerospace, engineering construction and the like; with the increasing complexity of product design, a single design team sometimes has difficulty in independently completing all three-dimensional or two-dimensional CAD modeling work of a certain product, and often needs a plurality of teams, a plurality of research and development centers, or even a plurality of enterprises to jointly complete the design work of a certain product: namely, a plurality of design teams in different places finish the design work of products by using a plurality of CAD software through the same platform, and finish the transmission and sharing of three-dimensional and two-dimensional CAD models and other documents through the platform; at present, three-dimensional and two-dimensional CAD software on the market is diverse, software used by enterprises is different, when collaborative design is carried out, a plurality of teams use different CAD software to generate CAD models with various formats, and in order to guarantee the accuracy of the CAD models, data quality detection needs to be continuously carried out on the CAD models in the research and development period of products, so that the products generated according to the CAD models are accurate and reliable, and the design requirements can be met.
At present, a data quality detection method for a CAD model generally performs secondary development on a single CAD software to obtain a CAD model data quality detection scheme corresponding to the CAD software, and is applied to some enterprises.
However, the existing detection scheme has low applicability and low detection efficiency, can only detect a CAD model in a certain format, and when detecting the CAD, a designer or a standardization staff must install specific software for detection locally, which cannot meet the data quality detection requirements of CAD models in different formats obtained by different CAD software used by multiple teams in product collaborative design.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a data quality detection method, a system, equipment and a storage medium of a CAD model, which have wide application and high detection efficiency, can meet the data quality detection requirements of CAD models with different formats and properly designed according to different CAD software in product collaborative design, effectively improve the standardization and normalization degree of enterprise product design, shorten the product development period and improve the research and development efficiency and quality of products.
In order to solve the technical problems, the invention provides the following technical scheme:
in a first aspect, the present invention provides a data quality detection method for a CAD model, where the detection method includes:
acquiring a target CAD model and a model format thereof according to a data quality detection instruction aiming at the target CAD model sent by a user terminal; the data quality detection instruction comprises a detection rule corresponding to the target CAD model;
calling a corresponding detection unit according to the model format of the target CAD model;
and controlling the detection unit to perform data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model.
Further, the obtaining of the target CAD model and the model format thereof according to the data quality detection instruction for the target CAD model sent by the user terminal includes:
receiving the data quality detection instruction sent by the user terminal, wherein the data quality detection instruction comprises an identification of a target CAD model and a target detection rule;
calling the target CAD model from a CAD model database according to the mark of the target CAD model;
and reading the target CAD model to obtain the model format of the target CAD model.
Further, the obtaining of the target CAD model and the model format thereof according to the data quality detection instruction for the target CAD model sent by the user terminal includes:
receiving the data quality detection instruction sent by the user terminal, wherein the data quality detection instruction comprises a target CAD model and a target detection rule;
downloading a target CAD model in the data quality detection instruction;
and reading the target CAD model to obtain the model format of the target CAD model.
Further, the calling the corresponding detection unit according to the model format of the target CAD model includes:
according to the model format of the target CAD model, whether a detection unit with the same model format as the target CAD model exists or not is searched in a pre-stored detection unit group;
and if so, calling a detection unit with the same model format as that of the target CAD model.
Further, the controlling, according to the detection rule, the detecting unit to perform data quality detection on the target CAD model to obtain a data quality detection result of the target CAD model includes:
reading the detection rule in the data quality detection instruction, wherein the detection rule comprises a detection item and a detection standard;
controlling the detection unit to perform data quality detection on the target CAD model according to detection items and detection standards in the detection rule to obtain a data quality detection result of the target CAD model;
generating the data quality detection report according to the data quality detection result;
storing the data quality detection report in a CAD model database, and sending the data quality detection report to the corresponding user terminal; and the CAD model database comprises CAD models and corresponding relations between the CAD models and the CAD model identifications.
Further, the detection method further comprises:
according to a data quality detection instruction aiming at a target CAD model sent by a user terminal, searching whether the data quality detection report of the target CAD model exists in the CAD model database;
and if so, directly calling a data quality detection report of the target CAD model, and sending the data quality detection report to the corresponding user terminal.
Further, before the obtaining of the target CAD model and the model format thereof according to the data quality detection instruction for the target CAD model sent by the user terminal, the detection method further includes:
and storing each detection rule in a check rule base in advance, so that the user terminal calls the corresponding detection rule from the check rule base and edits the detection items and the detection standards in the detection rule.
In a second aspect, the present invention provides a data quality detection system for a CAD model, the detection system comprising:
the target CAD model acquisition module is used for acquiring a target CAD model and a model format thereof according to a data quality detection instruction aiming at the target CAD model sent by a user terminal; the data quality detection instruction comprises a detection rule corresponding to the target CAD model;
the detection unit calling module is used for calling a corresponding detection unit according to the model format of the target CAD model;
and the data quality detection module is used for controlling the detection unit to carry out data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model.
In a third aspect, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the data quality detection method for the CAD model when executing the program.
In a fourth aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for data quality inspection of a CAD model.
According to the technical scheme, the data quality detection method, the data quality detection system, the data quality detection equipment and the storage medium of the CAD model provided by the invention have the advantages that the target CAD model and the model format thereof are obtained according to the data quality detection instruction aiming at the target CAD model sent by the user terminal; the data quality detection instruction comprises a detection rule corresponding to the target CAD model; calling a corresponding detection unit according to the model format of the target CAD model; controlling a detection unit to perform data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model; the invention has wide application and high detection efficiency, can meet the data quality detection requirements of CAD models with different formats designed properly according to different CAD software in product collaborative design, and can complete the detection of the design rule of the multisource heterogeneous CAD model on line by an automatic means, thereby solving the problems of large workload and low efficiency in the normalized detection process of the CAD model in a manual state, effectively reducing simple errors in development, effectively improving the standardization and normalization degree of enterprise product design, shortening the product development period, improving the research and development efficiency and quality, and improving the design capability of quick response of enterprises; the problems that when a plurality of design teams develop collaborative design, model data quality is poor, the number of simple errors is large, standard specifications are not uniform, manual detection efficiency is low and the like are solved.
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 introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a method for data quality inspection of a CAD model according to the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of step 100 of a method for data quality inspection of a CAD model according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of step 100 of the method for detecting data quality of a CAD model according to the present invention;
FIG. 4 is a flow chart illustrating step 200 of the data quality inspection method for CAD models according to the present invention;
FIG. 5 is a flow chart illustrating step 300 of the data quality inspection method for CAD models according to the present invention;
FIG. 6 is a schematic flow chart diagram illustrating another embodiment of a method for data quality inspection of a CAD model of the present invention;
FIG. 7 is a schematic diagram of a data quality detection system for a CAD model of the present invention;
FIG. 8 is a schematic diagram of a data quality detection system for a CAD model in an application example of the present invention;
FIG. 9 is a flow chart illustrating a data quality inspection method for a CAD model in an application example of the present invention;
FIG. 10 is a schematic diagram of the structure of an apparatus of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious 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.
An embodiment of the present invention provides a specific implementation manner of a data quality detection method for a CAD model, and referring to fig. 1, the data quality detection method for the CAD model specifically includes the following steps:
step 100: acquiring a target CAD model and a model format thereof according to a data quality detection instruction aiming at the target CAD model sent by a user terminal; and the data quality detection instruction comprises a detection rule corresponding to the target CAD model.
In step 100, a target CAD model acquisition module in the data quality detection system of the CAD model acquires the target CAD model and its model format according to a data quality detection instruction for the target CAD model sent by a user terminal. It can be understood that, the user terminal sends a data quality detection instruction of the CAD model to a target CAD model acquisition module in a data quality detection system of the CAD model, and the data quality detection instruction includes a detection rule corresponding to the target CAD model; and then, a target CAD model acquisition module acquires the target CAD model and the model format thereof according to the received data quality detection instruction.
It can be understood that the detection rule is that when a user initiates a detection application at a user terminal, the user needs to select an existing rule from a rule base, and the user can customize the detection rule by using a rule template provided by a data quality detection system of a CAD model for a part of detection items. The detection rule refers to a series of detection items and a set of judgment values thereof executed by a data quality detection system of the CAD model, and the self-definition refers to operations such as adding or deleting detection items, modifying detection judgment values, modifying detection item error description, modifying detection error levels and the like performed by a user aiming at the detection rule.
In the above description, the model formats of CAD models designed in different CAD software are different, wherein the more common model formats may include: dwg format, dxf format, and dwt format, etc.
Step 200: and calling a corresponding detection unit according to the model format of the target CAD model.
In step 200, after acquiring the target CAD model and the model format thereof, a target CAD model acquisition module in the data quality detection system of the CAD model sends the target CAD model and the model format thereof to a detection unit retrieving module in the data quality detection system of the CAD model, and the detection unit retrieving module retrieves a corresponding detection unit according to the model format of the target CAD model. It will be appreciated that different detection units are suitable for CAD models of different model formats, and that the essence of the detection unit is a data quality detection program, the different data quality detection programs being programmed differently.
Step 300: and controlling the detection unit to perform data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model.
In step 300, the target CAD model obtaining module sends a detection rule corresponding to the target CAD model in the data quality detection instruction to a data quality detection module in the data quality detection system, and the data quality detection module controls the detection unit determined by the detection unit invoking module to perform data quality detection on the target CAD model according to the detection rule, so as to obtain a data quality detection result of the target CAD model. It is understood that the data quality detection results include, but are not limited to, the coincidence condition, the error description, and the detection item statistical analysis result of each detection item of the target CAD model.
It is understood that the detection items of the data quality detection module for performing data quality detection on the target CAD model are determined according to the detection items in the corresponding detection rules, and the detection items may include engineering drawing detection, feature detection, model detection, assembly detection, sketch detection, curve detection, curved surface detection and topological relation detection.
From the above description, the data quality detection method for the CAD model provided by the embodiment of the invention is widely applicable and has high detection efficiency, and can meet the data quality detection requirements of CAD models with different formats designed properly according to different CAD software in product collaborative design.
In an embodiment, the present invention further provides a first embodiment of step 100 in the data quality detection method for a CAD model, and referring to fig. 2, the step 100 specifically includes the following steps:
step 101 a: and receiving the data quality detection instruction sent by the user terminal, wherein the data quality detection instruction comprises the identification of the target CAD model and the target detection rule.
In step 101a, a user terminal sends a data quality detection instruction including an identifier of a target CAD model and a target detection rule to a data quality detection system of the CAD model, and the target CAD model acquisition module receives the data quality detection instruction sent by the user terminal.
Step 102 a: and calling the target CAD model from a CAD model database according to the mark of the target CAD model.
In step 102a, the target CAD model acquisition module retrieves the target CAD model in a CAD model database according to the identification of the target CAD model. It can be understood that the CAD model database includes CAD models and corresponding relationships between the CAD models and CAD model identifications; the CAD model database is in a collaborative design platform, and the collaborative design platform refers to an internet platform capable of realizing CAD model management and interaction, and includes but is not limited to a collaborative design platform, a product data management Platform (PDM) and a design crowdsourcing platform.
For example, a supplier of a product crowds product research and development to 4 research and development institutions, the 4 research and development institutions all send CAD models of product components designed at each stage to a CAD model database in the collaborative design platform, and the CAD model database stores CAD models and CAD model identifications thereof sent by the 4 research and development institutions, as shown in table 1.
TABLE 1
Figure BDA0001433655090000091
If the investor of a certain product wants to perform data quality detection on the component 9 of the D organization, adding the CAD model identification of the component 9 in the data quality detection instruction of the CAD model sent to the target CAD model acquisition module: d9; causing the target CAD model acquisition module to retrieve the CAD model of the component 9 in a CAD model database based on the identification D9 of the target CAD model.
Step 103: and reading the target CAD model to obtain the model format of the target CAD model.
From the above description, it can be seen that the data quality detection method for the CAD model provided in the specific embodiment of the present invention provides an accurate and convenient research and development monitoring manner for the investor of the product, and meets the data quality detection requirements of CAD models with different formats properly designed according to different CAD software in the product collaborative design.
In an embodiment, the present invention further provides a second embodiment of step 100 in the data quality detection method for a CAD model, and referring to fig. 3, the step 100 specifically includes the following steps:
step 101 b: and receiving the data quality detection instruction sent by the user terminal, wherein the data quality detection instruction comprises a target CAD model and a target detection rule.
In step 101b, the target CAD model acquisition module receives the data quality detection instruction sent by the user terminal, where the data quality detection instruction includes a target CAD model and a target detection rule. It can be understood that, when the user terminal sends the data quality detection instruction to the target CAD model acquisition module, the user terminal sends the target CAD model to the target CAD model acquisition module together.
Step 102 b: and downloading the target CAD model in the data quality detection instruction.
Step 103: and reading the target CAD model to obtain the model format of the target CAD model.
From the above description, it can be seen that the data quality detection method for the CAD model provided in the specific embodiment of the present invention provides an accurate and convenient real-time detection method for the accuracy of the CAD model for a product research and development party, and meets the data quality detection requirements of CAD models with different formats that are properly designed according to different CAD software in product collaborative design.
In an embodiment, the present invention further provides a specific implementation of step 200 in the data quality detection method for a CAD model, referring to fig. 4, where the step 200 specifically includes the following steps:
step 201: according to the model format of the target CAD model, whether a detection unit with the same model format as the target CAD model exists or not is searched in a pre-stored detection unit group; if yes, go to step 202; otherwise, go to step 203;
step 202: and calling a detection unit with the same model format as that of the target CAD model.
Step 203: and carrying out relevant prompt which cannot be detected.
As can be seen from the above description, the data quality detection method for the CAD model provided in the specific embodiment of the present invention solves the problems of large workload and low efficiency in the normalized detection process of the CAD model in a manual state, and simultaneously effectively reduces simple errors in development, effectively improves the standardization and normalization degrees of product design of enterprises, shortens the product development period, improves the research and development efficiency and quality, and improves the design capability of rapid response of enterprises; the problems that when a plurality of design teams develop collaborative design, model data quality is poor, the number of simple errors is large, standard specifications are not uniform, manual detection efficiency is low and the like are solved.
In an embodiment, the present invention further provides a specific implementation of step 300 in the data quality detection method for a CAD model, referring to fig. 5, where the step 300 specifically includes the following steps:
step 301: and reading the detection rule in the data quality detection instruction, wherein the detection rule comprises a detection item and a detection standard.
Step 302: and controlling the detection unit to perform data quality detection on the target CAD model according to the detection items and the detection standards in the detection rule to obtain a data quality detection result of the target CAD model.
Step 303: and generating the data quality detection report according to the data quality detection result.
Step 304: storing the data quality detection report in a CAD model database, and sending the data quality detection report to the corresponding user terminal; and the CAD model database comprises CAD models and corresponding relations between the CAD models and the CAD model identifications.
As can be seen from the above description, the data quality detection method for CAD models provided in the specific embodiment of the present invention is widely applicable and has high detection efficiency, and can meet the data quality detection requirements of CAD models with different formats designed properly according to different CAD software in product collaborative design, effectively improve the standardization and normalization degree of enterprise product design, shorten the product development cycle, and improve the product development efficiency and quality.
An embodiment of the present invention provides another specific implementation of a data quality detection method for a CAD model, and referring to fig. 6, in addition to the above steps 100 to 300, the data quality detection method for the CAD model specifically includes the following steps:
step A00: according to a data quality detection instruction aiming at a target CAD model sent by a user terminal, searching whether the data quality detection report of the target CAD model exists in the CAD model database; if yes, go to step B00, otherwise, go to step 100 and execute steps 100 to 300;
step B00: and directly calling a data quality detection report of the target CAD model, and sending the data quality detection report to the corresponding user terminal.
As can be seen from the foregoing description, the data quality detection method for a CAD model according to the embodiments of the present invention can directly call an already obtained data quality detection report, thereby avoiding repeated detection of CAD models in the same data quality detection instruction.
In a specific embodiment, before step 100, the present invention further specifically includes the following steps:
and storing each detection rule in a detection rule base in advance, so that the user terminal calls the corresponding detection rule from the detection rule base and edits the detection items and the detection standard in the detection rule.
From the above description, it can be seen that the data quality detection method for the CAD model provided in the specific embodiment of the present invention is widely applicable and has high detection efficiency, and can meet the data quality detection requirements of CAD models with different formats properly designed according to different CAD software in product collaborative design, and complete the design rule detection of the multi-source heterogeneous CAD model on line by an automated means.
In the third embodiment of the present invention, a specific implementation manner of a data quality detection system of a CAD model is improved, and referring to fig. 7, the data quality detection system of the CAD model specifically includes the following contents:
the target CAD model acquisition module 10 is used for acquiring a target CAD model and a model format thereof according to a data quality detection instruction aiming at the target CAD model sent by a user terminal; and the data quality detection instruction comprises a detection rule corresponding to the target CAD model.
And the detection unit calling module 20 is configured to call a corresponding detection unit according to the model format of the target CAD model.
And the data quality detection module 30 is configured to control the detection unit to perform data quality detection on the target CAD model according to the detection rule, so as to obtain a data quality detection result of the target CAD model.
The embodiment of the data quality detection system of the CAD model provided by the invention can be specifically used for executing the processing flow of the embodiment of the data quality detection method of the CAD model, the functions of which are not described herein again, and the detailed description of the embodiment of the method can be referred to.
From the above description, the data quality detection system of the CAD model provided by the embodiment of the invention has wide application and high detection efficiency, can meet the data quality detection requirements of CAD models with different formats designed according to different CAD software in product collaborative design, and can complete the design rule detection of a multisource heterogeneous CAD model on line by an automatic means, thereby solving the problems of large workload and low efficiency in the normalized detection process of the CAD model under a manual state, effectively reducing simple errors in development, effectively improving the standardization and normalization degree of enterprise product design, shortening the product development period, improving the research and development efficiency and quality, and improving the design capability of enterprise quick response; the problems that when a plurality of design teams develop collaborative design, model data quality is poor, the number of simple errors is large, standard specifications are not uniform, manual detection efficiency is low and the like are solved.
To further illustrate the present solution, the present invention further provides an application example of the data quality detection method for a CAD model by using the data quality detection system for a CAD model, which specifically includes the following contents:
referring to fig. 8, the data quality detection system of the CAD model is composed of a CAD model adapter, a plurality of data quality detection programs, and a detection rule base. It can be understood that the CAD model adapter includes a target CAD model obtaining module 10 and a detecting unit retrieving module 20, which are used for obtaining the target CAD model and its model format according to a data quality detection instruction for the target CAD model sent by a user terminal; and the data quality detection instruction comprises a detection rule corresponding to the target CAD model. And calling a corresponding detection unit according to the model format of the target CAD model. The detection unit is embodied as a data quality detection program.
As shown in fig. 9, the workflow of the data quality detection method for the CAD model includes:
1) the CAD model adapter is used for reading the CAD model and distributing a corresponding data quality detection program according to the format of the CAD model; the data quality detection program realizes data quality detection of the CAD model and generates a detection result, each data quality detection program consists of specific CAD software and a data quality detection plug-in, data quality detection can be carried out aiming at the CAD model format corresponding to the CAD software, and the system comprises a plurality of data quality detection programs and is used for supporting the CAD models with various formats; the detection rule base is used for storing CAD model data quality detection rules for each type of CAD software, and is suitable for different industries and different enterprises, and the rule base has corresponding rule templates and supports new establishment and custom detection rules.
2) The system-oriented users comprise product designers (namely creators of CAD models), design auditors, standardized detection personnel and the like, namely the designers can perform self-checking in the design process or after the design is finished, and the checking and accepting party can complete the quality detection of the model data after the design is finished and submitted.
3) The content of the CAD model data quality detection includes but is not limited to engineering drawing detection, characteristic detection, model detection, assembly detection, sketch detection, curve detection, curved surface detection and topological relation detection.
4) When a user initiates a detection application, the existing rule needs to be selected from the rule base, and meanwhile, the user can customize the detection rule by utilizing the rule template provided by the system aiming at part of detection items. The detection rule refers to a series of detection items executed by the system and a set of judgment values thereof, and the self-definition refers to that the user performs operations such as addition or deletion of the detection items, modification of the detection judgment values, modification of error description of the detection items, modification of detection error levels and the like on the detection rule.
5) After a user initiates a detection application, the system reads a CAD model from a model database of the collaborative design platform, or the user directly uploads the CAD model, and the number of the models can be one or more. The collaborative design platform refers to an internet platform capable of realizing CAD model management and interaction, and includes but is not limited to a collaborative design platform, a product data management Platform (PDM), and a design crowdsourcing platform.
6) After reading or uploading of the CAD model is completed, the system can allocate a corresponding data quality detection program to the CAD model according to the format of the CAD model, and the data quality detection program completes data quality detection of the corresponding CAD model according to the detection rule selected by the user.
7) After the detection is finished, the detection result can be stored in a CAD model database, and can also be fed back to a user for checking and exporting. The detection result includes, but is not limited to, the coincidence condition, the error description, and the statistical analysis result of the detection item of each detection item.
From the above description, the application example of the invention has wide application and high detection efficiency, can meet the data quality detection requirements of CAD models with different formats and properly designed according to different CAD software in product collaborative design, and can complete the design rule detection of the multisource heterogeneous CAD model on line by an automatic means, thereby solving the problems of large workload and low efficiency in the normalized detection process of the CAD model in a manual state, effectively reducing simple errors in development, effectively improving the standardization and normalization degree of enterprise product design, shortening the product development period, improving the research and development efficiency and quality, and improving the design capability of enterprise quick response; the problems that when a plurality of design teams develop collaborative design, model data quality is poor, the number of simple errors is large, standard specifications are not uniform, manual detection efficiency is low and the like are solved.
An embodiment of the present invention provides a specific implementation manner of an electronic device capable of implementing all steps of the data quality detection method of the CAD model, and referring to fig. 10, the electronic device specifically includes the following contents:
a processor (processor)601, a memory (memory)602, a communication interface (communications interface)603, and a bus 604;
the processor 601, the memory 602 and the communication interface 603 complete mutual communication through the bus 604; the communication interface 603 is used for realizing information transmission among related devices such as a CAD model database, a user terminal, a data quality detection system of a CAD model and the like;
the processor 601 is configured to call the computer program in the memory 602, and the processor implements all the steps in the first embodiment when executing the computer program, for example, the processor implements the following steps when executing the computer program:
step 100: acquiring a target CAD model and a model format thereof according to a data quality detection instruction aiming at the target CAD model sent by a user terminal; and the data quality detection instruction comprises a detection rule corresponding to the target CAD model.
Step 200: and calling a corresponding detection unit according to the model format of the target CAD model.
Step 300: and controlling the detection unit to perform data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model.
From the above description, the electronic device of the invention has wide application and high detection efficiency, can meet the data quality detection requirements of CAD models with different formats and properly designed according to different CAD software in product collaborative design, and can complete the design rule detection of the multi-source heterogeneous CAD model on line by an automatic means, thereby solving the problems of large workload and low efficiency in the normalized detection process of the CAD model in a manual state and effectively reducing simple errors in development.
An embodiment of the present invention provides a specific implementation manner of a computer-readable storage medium capable of implementing all the steps of the data quality detection method of the CAD model, where the computer-readable storage medium stores a computer program, and the computer program implements all the steps of the first embodiment when executed by a processor, for example, the processor implements the following steps when executing the computer program:
step 100: acquiring a target CAD model and a model format thereof according to a data quality detection instruction aiming at the target CAD model sent by a user terminal; and the data quality detection instruction comprises a detection rule corresponding to the target CAD model.
Step 200: and calling a corresponding detection unit according to the model format of the target CAD model.
Step 300: and controlling the detection unit to perform data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model.
From the above description, the computer-readable storage medium of the present invention can meet the data quality detection requirements of CAD models with different formats designed properly according to different CAD software in product collaborative design, and complete the design rule detection of a multi-source heterogeneous CAD model on line by an automated means, thereby solving the problems of large workload and low efficiency in the CAD model standardization detection process under a manual state, and simultaneously effectively reducing simple errors in development.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above examples are only for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A data quality detection method of a CAD model is characterized by comprising the following steps:
acquiring a target CAD model and a model format thereof according to a data quality detection instruction aiming at the target CAD model sent by a user terminal; the data quality detection instruction comprises a detection rule corresponding to the target CAD model;
calling corresponding detection units according to the model format of the target CAD model, wherein different detection units are suitable for CAD models with different model formats;
and controlling the detection unit to perform data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model, wherein detection items for performing data quality detection on the target CAD model comprise: the method comprises the steps of engineering drawing detection, characteristic detection, model detection, assembly detection, sketch detection, curve detection, curved surface detection and topological relation detection.
2. The detection method according to claim 1, wherein the obtaining of the target CAD model and the model format thereof according to the data quality detection instruction for the target CAD model sent by the user terminal comprises:
receiving the data quality detection instruction sent by the user terminal, wherein the data quality detection instruction comprises an identification of a target CAD model and a target detection rule;
calling the target CAD model from a CAD model database according to the mark of the target CAD model;
and reading the target CAD model to obtain the model format of the target CAD model.
3. The detection method according to claim 1, wherein the obtaining of the target CAD model and the model format thereof according to the data quality detection instruction for the target CAD model sent by the user terminal comprises:
receiving the data quality detection instruction sent by the user terminal, wherein the data quality detection instruction comprises a target CAD model and a target detection rule;
downloading a target CAD model in the data quality detection instruction;
and reading the target CAD model to obtain the model format of the target CAD model.
4. The detection method according to claim 1, wherein the calling up the corresponding detection unit according to the model format of the target CAD model includes:
according to the model format of the target CAD model, whether a detection unit with the same model format as the target CAD model exists or not is searched in a pre-stored detection unit group;
and if so, calling a detection unit with the same model format as that of the target CAD model.
5. The detection method according to claim 1, wherein the controlling the detection unit to perform data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model comprises:
reading the detection rule in the data quality detection instruction, wherein the detection rule comprises a detection item and a detection standard;
controlling the detection unit to perform data quality detection on the target CAD model according to detection items and detection standards in the detection rule to obtain a data quality detection result of the target CAD model;
generating the data quality detection report according to the data quality detection result;
storing the data quality detection report in a CAD model database, and sending the data quality detection report to the corresponding user terminal; and the CAD model database comprises CAD models and corresponding relations between the CAD models and the CAD model identifications.
6. The detection method according to claim 5, further comprising:
according to a data quality detection instruction aiming at a target CAD model sent by a user terminal, searching whether the data quality detection report of the target CAD model exists in the CAD model database;
and if so, directly calling a data quality detection report of the target CAD model, and sending the data quality detection report to the corresponding user terminal.
7. The detection method according to claim 1, wherein before the obtaining of the target CAD model and its model format according to the data quality detection instruction for the target CAD model sent by the user terminal, the detection method further comprises:
and storing each detection rule in a check rule base in advance, so that the user terminal calls the corresponding detection rule from the check rule base and edits the detection items and the detection standards in the detection rule.
8. A data quality detection system for a CAD model, the detection system comprising:
the target CAD model acquisition module is used for acquiring a target CAD model and a model format thereof according to a data quality detection instruction aiming at the target CAD model sent by a user terminal; the data quality detection instruction comprises a detection rule corresponding to the target CAD model;
the detection unit calling module is used for calling corresponding detection units according to the model formats of the target CAD models, wherein different detection units are suitable for CAD models with different model formats;
the data quality detection module is used for controlling the detection unit to perform data quality detection on the target CAD model according to the detection rule to obtain a data quality detection result of the target CAD model, wherein detection items for performing data quality detection on the target CAD model include: the method comprises the steps of engineering drawing detection, characteristic detection, model detection, assembly detection, sketch detection, curve detection, curved surface detection and topological relation detection.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method for data quality inspection of a CAD model according to any of claims 1 to 7 are implemented when the program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method for data quality inspection of a CAD model according to any of the claims 1 to 7.
CN201710954639.7A 2017-10-13 2017-10-13 Data quality detection method, system, equipment and storage medium of CAD model Active CN107729474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710954639.7A CN107729474B (en) 2017-10-13 2017-10-13 Data quality detection method, system, equipment and storage medium of CAD model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710954639.7A CN107729474B (en) 2017-10-13 2017-10-13 Data quality detection method, system, equipment and storage medium of CAD model

Publications (2)

Publication Number Publication Date
CN107729474A CN107729474A (en) 2018-02-23
CN107729474B true CN107729474B (en) 2020-07-28

Family

ID=61210423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710954639.7A Active CN107729474B (en) 2017-10-13 2017-10-13 Data quality detection method, system, equipment and storage medium of CAD model

Country Status (1)

Country Link
CN (1) CN107729474B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635031A (en) * 2018-12-19 2019-04-16 成都四方伟业软件股份有限公司 A kind of data quality checking method, apparatus, system and storage medium
CN110675048A (en) * 2019-09-19 2020-01-10 国网福建省电力有限公司 Power data quality detection method and system
CN112100768A (en) * 2020-09-03 2020-12-18 中车工业研究院有限公司 CAD model checking method and system
CN114565308A (en) * 2022-03-04 2022-05-31 中车青岛四方机车车辆股份有限公司 Product model quality inspection method and system for rule customization

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559441A (en) * 2013-10-28 2014-02-05 中国科学院信息工程研究所 Cross-platform detection method and system for malicious files in cloud environment
CN105045606A (en) * 2015-08-31 2015-11-11 盐城工学院 Detection method for three-dimensional design quality based on PDM system
CN106529050A (en) * 2016-11-18 2017-03-22 中国航空综合技术研究所 Three-dimensional model data detection method, device and system for product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7860691B2 (en) * 2005-11-28 2010-12-28 Autodesk, Inc. Dynamic blocks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559441A (en) * 2013-10-28 2014-02-05 中国科学院信息工程研究所 Cross-platform detection method and system for malicious files in cloud environment
CN105045606A (en) * 2015-08-31 2015-11-11 盐城工学院 Detection method for three-dimensional design quality based on PDM system
CN106529050A (en) * 2016-11-18 2017-03-22 中国航空综合技术研究所 Three-dimensional model data detection method, device and system for product

Also Published As

Publication number Publication date
CN107729474A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN107729474B (en) Data quality detection method, system, equipment and storage medium of CAD model
CN109087054B (en) Collaborative office data stream processing method, device, computer equipment and storage medium
CN111192004A (en) Method for displaying current to-do task and subsequent to-do workflow
US11681685B1 (en) System for uploading information into a metadata repository
CN108628607B (en) Method, system and storage medium for assisting software development based on artificial intelligence
CN107291745B (en) Data index management method and device
US20180332102A1 (en) Cloud-based system for collaborating engineering, operations, maintenance, project management, procurement and vendor data and activities
CN111159982B (en) Document editing method, device, electronic equipment and computer readable storage medium
CN110889582A (en) Method for realizing PBOM visualization based on Teamcenter
CN112328805B (en) Entity mapping method of vulnerability description information and database table based on NLP
CN105868956A (en) Data processing method and device
CN109086476B (en) Data processing method for drawing design, PLM plug-in and computing equipment
CN112130891A (en) Method and equipment for continuously deploying database
KR100982527B1 (en) Total Dimensional Accuracy Control System and Method for Block Assembly
CN102930112B (en) The method to set up of object properties and device
CN109388812B (en) Cloud computing-based modular automatic plotting method and system
CN116894005A (en) File processing method, device, electronic equipment and storage medium
Cicconi et al. An approach to support model based definition by PMI annotations
US10204165B2 (en) Network-based gathering of background information
CN112988576B (en) Method and device for determining development process of software project
CN108197179A (en) Facility information querying method and terminal device
CN113126864A (en) Visual configuration method and device for approval process
CN111279279A (en) Establishing and tracking an automated engineering environment
CN114117994B (en) Rapid layout method for radar electronic equipment structure
CN111858324B (en) Automatic generation method and device for test cases

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