Three-dimensional digital-analog inspection method and system, electronic equipment and storage medium
The three-dimensional digital model inspection method automates the inspection process by constructing a business process with a toolkit, establishing a calling relationship, and encapsulating codes, addressing inefficiencies and errors in traditional methods to enhance accuracy and efficiency.
Patent Information
- Application Number
- CN202411336036.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2024-12-20
AI Technical Summary
Traditional three-dimensional digital model inspection methods are inefficient, labor-intensive, and lack versatility, leading to errors and reduced design efficiency and quality, especially in complex design processes.
A three-dimensional digital model inspection method that constructs a business process using a toolkit provided by a third-party supplier, establishes a calling relationship through a graphic operation interface, sets inspection judgment conditions, and develops codes to encapsulate the process into a modular inspection tool, ensuring systematic and automated inspection.
The method enhances automation, reduces manual intervention, improves inspection accuracy and efficiency, and ensures compliance with design specifications and standards, optimizing the design process.
Smart Images

Figure CN119167650A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital design verification, and in particular to a three-dimensional digital model inspection method, system, electronic device and storage medium. Background Art
[0002] Digital Model Inspection refers to a series of verification and confirmation processes for digital design three-dimensional models to ensure that they meet design specifications, process requirements and quality standards, including but not limited to size inspection, geometric feature verification, material property confirmation, etc. At present, three-dimensional digital model inspection occupies an important position in automotive design and other industrial fields, but traditional inspection methods mainly rely on manual or semi-automatic tools such as VIS Mockup and Clearance DB. Although these tools can complete certain inspection tasks, they have problems such as incomplete inspection rules, low efficiency, and easy errors. With the rapid development of computer technology, some automated digital model inspection tools have appeared on the market, which can automate the processing of specific types of digital models or inspection items, effectively improving the inspection efficiency. However, these tools are often limited by their lack of specificity and flexibility, and it is difficult to cover diverse inspection needs, especially for complex three-dimensional design processes, which still require a lot of manual intervention. Based on the fact that traditional tools and existing automated tools only cover part of the inspection rules, the inspection method is time-consuming and labor-intensive, human factors are difficult to completely avoid, and lack sufficient versatility and flexibility. It is difficult to adapt to the complex and changing design environment, which has become the current technical bottleneck and reduced the design efficiency and quality. Summary of the invention
[0003] The purpose of the embodiments of the present invention is to provide a three-dimensional digital model inspection method, system, electronic device and storage medium to solve the above-mentioned technical problems.
[0004] The present invention provides a three-dimensional digital model inspection method, which includes: obtaining a three-dimensional digital model toolkit provided by a third-party supplier, and constructing a three-dimensional digital model business process according to preset inspection business requirements, wherein the three-dimensional digital model business process includes process steps arranged in an execution order; establishing a calling relationship for the process steps according to a graphic operation interface in the three-dimensional digital model toolkit, and setting inspection and judgment conditions for the process steps according to the three-dimensional digital model toolkit, wherein the execution method of the process steps includes calling the graphic operation interface corresponding to the process steps according to the calling relationship if the inspection and judgment conditions are met; developing codes for the process steps with the calling relationship and the inspection and judgment conditions according to the execution order to obtain a code module; encapsulating the code module and the three-dimensional digital model toolkit to obtain a three-dimensional digital model inspection encapsulator, wherein the three-dimensional digital model inspection encapsulator is used to realize the three-dimensional digital model inspection business requirements by executing the code module in the three-dimensional digital model inspection encapsulator.
[0005] In one embodiment of the present invention, the process steps include a three-dimensional digital model inspection initialization step, and the three-dimensional digital model inspection initialization step includes: obtaining a three-dimensional digital model inspection standard information file and a target three-dimensional digital model file, initializing the application interface according to the three-dimensional digital model toolkit, and importing the three-dimensional digital model inspection standard information file through the rule configuration module interface in the three-dimensional digital model toolkit, and the application interface is used to display relevant information of the three-dimensional digital model inspection method process; determining the initialization inspection judgment condition of the three-dimensional digital model inspection initialization step through the three-dimensional digital model inspection standard information file, and the initialization inspection judgment condition includes the existence of the three-dimensional digital model inspection standard information file and supporting the file format of the target three-dimensional digital model file; if the initialization inspection judgment condition is met, creating a target three-dimensional digital model according to the target three-dimensional digital model file in the application interface.
[0006] In one embodiment of the present invention, the process steps include a three-dimensional digital model inspection step, and the three-dimensional digital model inspection step is performed by the following method: in response to a digital model inspection request, determining the existence status of a digital model inspection item list, the digital model inspection item list is used to characterize the inspection item requirement information for the target three-dimensional digital model; if the digital model inspection item list exists, setting a target inspection judgment condition for the three-dimensional digital model inspection step according to the digital model inspection item list and the three-dimensional digital model inspection standard information file; if the digital model inspection item list does not exist, setting a target inspection judgment condition for the three-dimensional digital model inspection step according to the three-dimensional digital model inspection standard information file; determining the inspection result of the inspection node in the target three-dimensional digital model according to the target three-dimensional digital model and the target inspection judgment condition, the target three-dimensional digital model includes multiple inspection nodes, the digital model inspection item list includes at least one inspection node, and the inspection node includes a single inspection part in the three-dimensional digital model or an inspection part combination formed by multiple inspection parts; forming a visualization file according to the inspection result of the inspection node and displaying it on the application interface.
[0007] In one embodiment of the present invention, forming a visualization file based on the inspection result of the inspection node includes: if the inspection result of an inspection node is that the inspection is correct, normal inspection item information is generated based on the inspection result and the inspection node information; if the inspection result of an inspection node is that the inspection is abnormal, a part location link is generated based on the inspection part or inspection part combination in the corresponding inspection node, and abnormal inspection item information is generated based on the inspection result, the part location link and the inspection node information, the part location link includes a hyperlink text generated based on the part three-dimensional file; the normal inspection item information and the abnormal inspection item information are merged to generate inspection node inspection information, and the inspection node inspection information is visualized to obtain a visualization file.
[0008] In one embodiment of the present invention, after determining the inspection results of the inspection nodes in the target three-dimensional digital model according to the target three-dimensional digital model and the target inspection judgment conditions, the method also includes: storing the abnormal inspection entry information in the abnormal detection history information library; counting the number of detection anomalies occurring in the inspection nodes corresponding to the current abnormal inspection entry information in the abnormal detection history information library, and sorting them according to the number of detection anomalies to obtain a high-frequency abnormal node list, so as to set the priority of the inspection nodes according to the high-frequency abnormal node list.
[0009] In one embodiment of the present invention, the target inspection judgment condition includes at least one of the following: if the inspection item has a coding specification check, and each part in the target three-dimensional digital model has part coding information, then the part coding library in the three-dimensional digital model inspection standard information file is called, and the part coding information of each part in the target three-dimensional digital model is proofread according to the part coding library; if the inspection item has a part attribute check, and each part in the target three-dimensional digital model has part attribute information, then the part attribute information library in the three-dimensional digital model inspection standard information file is called, and the part attribute information of each part in the target three-dimensional digital model is proofread according to the part attribute information library; if the inspection item has a design standard check, then the design standard information library in the three-dimensional digital model inspection standard information file is called, and the graphical operation interface is called to obtain parameters of the parts in the target three-dimensional digital model to obtain the target part design parameters, so as to compare the target part design parameters with the design standard information library to obtain the design standard inspection result.
[0010] In one embodiment of the present invention, the three-dimensional digital model inspection encapsulator includes at least one of the following: a toolkit layer, used to store the three-dimensional digital model toolkits corresponding to one or more third-party suppliers; a business logic layer, used to manage the three-dimensional digital model business process and set inspection judgment conditions; an external call layer, used to provide an external interface, the external interface is used to determine the target three-dimensional digital model toolkit from each third-party supplier according to the data format of the received three-dimensional digital model, and receive the three-dimensional digital model inspection standard information file, and / or, display the three-dimensional digital model inspection business requirements implemented based on the three-dimensional digital model toolkit.
[0011] An embodiment of the present invention also provides a three-dimensional digital model inspection system, which includes: a tool information acquisition module, which is used to obtain a three-dimensional digital model toolkit provided by a third-party supplier, and construct a three-dimensional digital model business process according to preset inspection business requirements, wherein the three-dimensional digital model business process includes process steps arranged in an execution order; a business process configuration module, which is used to establish a calling relationship for the process steps according to the graphic operation interface in the three-dimensional digital model toolkit, and set inspection judgment conditions for the process steps according to the three-dimensional digital model toolkit, wherein the execution method of the process steps includes calling the graphic operation interface corresponding to the process steps according to the calling relationship if the inspection judgment conditions are met; an execution code development module, which is used to develop codes for the process steps with the calling relationship and the inspection judgment conditions according to the execution order to obtain a code module; an inspection tool packaging module, which is used to package the code module and the three-dimensional digital model toolkit to obtain a three-dimensional digital model inspection encapsulator, wherein the three-dimensional digital model inspection encapsulator is used to implement the three-dimensional digital model inspection business requirements by executing the code module in the three-dimensional digital model inspection encapsulator.
[0012] An embodiment of the present invention also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements a three-dimensional digital model inspection method as described in any one of the above embodiments.
[0013] An embodiment of the present invention further provides a computer-readable storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a processor of a computer, the computer executes the three-dimensional digital model inspection method as described in any one of the above embodiments.
[0014] A 3D digital model inspection method, system, electronic device and storage medium provided by the present invention provide a technical basis for subsequent automated inspection by acquiring a 3D digital model toolkit provided by a third-party supplier; a 3D digital model business process is constructed according to preset inspection business requirements, wherein each step corresponds to a specific inspection task or operation, thereby ensuring the systematicness and orderliness of the inspection process; a graphic operation interface in the 3D digital model toolkit is used to establish a calling relationship for the process steps, and inspection judgment conditions are set according to actual requirements, so as to realize automatic calling of the corresponding graphic operation interface for inspection, thereby improving the automation and flexibility of the inspection; code development is performed on the process steps with calling relationships and inspection judgment conditions in accordance with the execution order to obtain a code module, and complex inspection logic is encapsulated into an independent tool for easy use and maintenance. The above inspection process is highly automated. The method can realize automation, reduce manual intervention, and improve inspection efficiency and accuracy; construct a 3D digital model business process by acquiring a 3D digital model toolkit provided by a third-party supplier, establish a calling relationship according to the graphic operation interface in the 3D digital model toolkit, and set inspection judgment conditions according to the execution order to develop the code, obtain the code module, and encapsulate it to obtain a 3D digital model inspection encapsulator; the method centrally integrates the inspection rules to make the inspection process more coherent and systematic, which helps to optimize the design process and improve the overall design efficiency. It reduces errors and omissions caused by human factors through automated inspection processes, improves the accuracy and reliability of inspection results, and makes the inspection process more coherent and systematic by encapsulating it into a tool software, which helps to optimize the design process, improve the overall design efficiency, and ensure that the design model complies with various specifications and standards, thereby improving the design quality.
[0015] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0017] Figure 1 is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application;
[0018] Figure 2 is a flow chart of a three-dimensional digital model inspection method shown in an exemplary embodiment of the present application;
[0019] Figure 3 It is a schematic diagram of a specific three-dimensional digital model inspection method flow chart shown in an exemplary embodiment of the present application;
[0020] Figure 4 is a schematic diagram of a three-dimensional digital model inspection system shown in an exemplary embodiment of the present application;
[0021] Figure 5 It is a structural diagram of a computer system of an electronic device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will describe the embodiments of the present invention with reference to the accompanying drawings and specific embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0023] It should be noted that the illustrations provided in the following embodiments are only used to illustrate the basic concept of the present invention in a schematic manner, and thus the illustrations only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0024] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0025] The "and / or" mentioned in this application describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0026] Figure 1 It is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application.
[0027] Reference Figure 1 As shown, the system architecture may include a three-dimensional digital model toolkit 110 and a computer device 120. The computer device 120 obtains the three-dimensional digital model toolkit 110 provided by a third-party supplier, and constructs a three-dimensional digital model business process according to the preset inspection business requirements, establishes a call relationship for the process steps according to the graphical operation interface in the three-dimensional digital model toolkit 110, and sets the inspection judgment conditions to the process steps according to the three-dimensional digital model toolkit 110, and develops the code for the process steps with the call relationship and the inspection judgment conditions according to the execution order to obtain the code module, and encapsulates the code module and the three-dimensional digital model toolkit 110 to obtain a three-dimensional digital model inspection encapsulator. The above-mentioned computer device 120 may be at least one of a microcomputer, an embedded computer, a network computer, a single-chip microcomputer, etc.; the above-mentioned three-dimensional digital model toolkit 110 refers to a three-dimensional support software for implementing three-dimensional digital model inspection, and the toolkit includes at least one three-dimensional support software, such as VIS Mockup, Clearance DB and other tools.
[0028] Schematically, the computer device 120 obtains the three-dimensional digital model toolkit 110 provided by a third-party supplier, and constructs a three-dimensional digital model business process according to preset inspection business requirements, establishes a calling relationship for the process steps according to the graphic operation interface in the three-dimensional digital model toolkit 110, and sets inspection and judgment conditions for the process steps according to the three-dimensional digital model toolkit 110, and develops code for the process steps with the calling relationship and the inspection and judgment conditions in the execution order to obtain a code module, and encapsulates the code module and the three-dimensional digital model toolkit 110 to obtain a three-dimensional digital model inspection encapsulator; this method provides a technical basis for subsequent automated inspection by obtaining a three-dimensional digital model toolkit provided by a third-party supplier; constructs a three-dimensional digital model business process according to preset inspection business requirements, wherein each step corresponds to a specific inspection task or operation, thereby ensuring the systematicness and orderliness of the inspection process; utilizes the graphic operation interface in the three-dimensional digital model toolkit to establish a calling relationship for the process steps, and sets inspection and judgment conditions according to actual requirements, thereby realizing automatic calling of the corresponding graphic operation interface for inspection, thereby improving the automation level of the inspection. degree and flexibility; the code is developed for the process steps with calling relationships and inspection judgment conditions in the execution order to obtain the code module, and the complex inspection logic is encapsulated into an independent tool for easy use and maintenance. The above inspection process is highly automated, which reduces manual intervention and improves inspection efficiency and accuracy; the three-dimensional digital modeling business process is constructed by obtaining the three-dimensional digital modeling toolkit provided by a third-party supplier, and the calling relationship is established according to the graphic operation interface in the three-dimensional digital modeling toolkit, and the inspection judgment conditions are set according to the execution order. The code module is obtained, and the code module is encapsulated to obtain a three-dimensional digital modeling inspection encapsulator; this method centrally integrates the inspection rules, making the inspection process more coherent and systematic, which helps to optimize the design process and improve the overall design efficiency. The automated inspection process reduces errors and omissions caused by human factors, improves the accuracy and reliability of the inspection results, and encapsulates it into a tool software to make the inspection process more coherent and systematic, which helps to optimize the design process, improve the overall design efficiency, and ensure that the design model meets various specifications and standards, thereby improving the design quality.
[0029] Figure 2 is a flowchart of a three-dimensional digital model inspection method shown in an exemplary embodiment of the present application. The three-dimensional digital model inspection method can be Figure 1 The implementation environment may be implemented in other implementation environments, and the above implementation environments are not specifically limited here. Figure 2 As shown, the flowchart of the three-dimensional digital model inspection method includes at least steps S210 to S240, which are described in detail as follows:
[0030] In step S210, a three-dimensional digital model toolkit provided by a third-party supplier is obtained, and a three-dimensional digital model business process is constructed according to preset inspection business requirements.
[0031] In one embodiment of the present application, the above-mentioned three-dimensional digital modeling business process includes process steps arranged in an execution order.
[0032] In step S220, a calling relationship is established for the process steps according to the graphic operation interface in the three-dimensional digital model toolkit, and an inspection and judgment condition is set for the process steps according to the three-dimensional digital model toolkit.
[0033] In one embodiment of the present application, the execution method of the above process steps includes calling the graphic operation interface corresponding to the process step according to the calling relationship if the inspection and judgment conditions are met.
[0034] In one embodiment of the present application, the above-mentioned process steps include a three-dimensional digital model inspection initialization step, obtaining a three-dimensional digital model inspection standard information file and a target three-dimensional digital model file, initializing the application interface according to the three-dimensional digital model toolkit, and importing the three-dimensional digital model inspection standard information file through the rule configuration module interface in the three-dimensional digital model toolkit. The application interface is used to display relevant information of the three-dimensional digital model inspection method process, and the initialization inspection judgment conditions of the three-dimensional digital model inspection initialization step are determined through the three-dimensional digital model inspection standard information file.
[0035] In one embodiment of the present application, the above-mentioned initialization inspection judgment conditions include the existence of a three-dimensional digital model inspection standard information file and support for the file format of the target three-dimensional digital model file. In some other embodiments, it may also include integrity verification of the target three-dimensional digital model file to ensure that the opened three-dimensional digital model file has complete file information for implementing the inspection process.
[0036] If the initialization check judgment conditions are met, a target three-dimensional digital model is created in the application interface according to the target three-dimensional digital model file.
[0037] If the initialization judgment conditions are not met, the initialization failure is displayed and an error is reported.
[0038] In one embodiment of the present application, the above process steps include a three-dimensional digital model inspection step, and the three-dimensional digital model inspection step is performed by the following method:
[0039] In one embodiment of the present application, in response to a digital model inspection request, the existence of a digital model inspection item list is determined, and the digital model inspection item list is used to characterize the inspection item requirement information for the target three-dimensional digital model. The above-mentioned digital model inspection request is a request to the technician or user to select the inspection range in the initialization interface after the three-dimensional digital model inspection initialization step is completed. One implementation method of the request process includes listing all inspection items to form a selectable table, determining the digital model inspection item list according to the selection result of the technician or user, and generating a digital model inspection request after clicking the confirmation information.
[0040] If there is a digital model inspection item list, the target inspection judgment conditions are set for the three-dimensional digital model inspection steps according to the digital model inspection item list and the three-dimensional digital model inspection standard information file; if there is no digital model inspection item list, the target inspection judgment conditions are set for the three-dimensional digital model inspection steps according to the three-dimensional digital model inspection standard information file.
[0041] In one embodiment of the present application, the inspection results of the inspection nodes in the target three-dimensional digital model are determined based on the target three-dimensional digital model and the target inspection judgment conditions, the target three-dimensional digital model includes multiple inspection nodes, the digital model inspection item list includes at least one inspection node, and the inspection node includes a single inspection part in the three-dimensional digital model or an inspection part combination formed by multiple inspection parts.
[0042] The target inspection judgment condition includes at least one of the following:
[0043] A. If the inspection item has a coding specification check, and each part in the target 3D digital model has part coding information, the part coding library in the 3D digital model inspection standard information file is called, and the part coding information of each part in the target 3D digital model is proofread according to the part coding library.
[0044] B. If the inspection item includes component attribute inspection, and each part in the target three-dimensional digital model has component attribute information, the component attribute information library in the three-dimensional digital model inspection standard information file is called, and the component attribute information of each part in the target three-dimensional digital model is proofread according to the part attribute information library.
[0045] C. If there is a design standard check for the inspection project, the design standard information library in the three-dimensional digital model inspection standard information file is called, and the graphic operation interface is called to obtain the parameters of the components in the target three-dimensional digital model to obtain the design parameters of the target components, so as to compare the design parameters of the target components with the design standard information library to obtain the design standard check results.
[0046] After that, this solution also includes storing the abnormal inspection entry information in the abnormal detection history information library, counting the number of detection anomalies in the inspection nodes corresponding to the current abnormal inspection entry information in the abnormal detection history information library, and sorting them according to the number of detection anomalies to obtain a high-frequency abnormal node list, so as to set the priority of the inspection nodes according to the high-frequency abnormal node list. Specifically, during the inspection process, it will automatically filter according to the previous high-frequency abnormal node list, and give priority to the inspection nodes with a higher frequency of design problems, and check the inspection nodes with a very low frequency of problems at the end or not check them. It also supports recording the frequency of problems in the inspection nodes, and can also set the inspection items with a very low frequency of problems or 0 to not check, thereby improving the inspection efficiency.
[0047] In one embodiment of the present application, a visualization file is formed according to the inspection result of the inspection node and displayed in the application interface. The form of the visualization file includes but is not limited to visualization contents such as tables, text boxes, graphics, and statistical charts. Specifically, if the inspection result of an inspection node is that the inspection is correct, normal inspection item information is generated according to the inspection result and the inspection node information; if the inspection result of an inspection node is that the inspection is abnormal, a part location link is generated according to the inspection part or inspection part combination in the corresponding inspection node, and abnormal inspection item information is generated according to the inspection result, the part location link, and the inspection node information. The part location link includes a hyperlink text generated based on the three-dimensional file of the part; the normal inspection item information and the abnormal inspection item information are merged to generate the inspection node inspection information, and the inspection node inspection information is visualized to obtain a visualization file.
[0048] In step S230, code development is performed on the process steps with call relationships and check and judgment conditions in the execution order to obtain a code module.
[0049] In one embodiment of the present application, the code development process needs to clarify the specific requirements of each process step, determine the data source, processing logic and conditions for triggering the next action of each detection step, and then perform modular design to break down the complex detection process into multiple small, manageable modules. Pseudocode is written for each module to plan its internal logical structure, and the functions are implemented in actual programming languages based on the pseudocode, such as Python, Java, C++, JavaScript / TypeScript and other programming languages for code compilation, to ensure that each module can work independently and communicate correctly with other modules.
[0050] In step S240, the code module and the three-dimensional digital model toolkit are packaged to obtain a three-dimensional digital model inspection packager.
[0051] In one embodiment of the present application, the above-mentioned three-dimensional digital model inspection encapsulator is used to implement the three-dimensional digital model inspection business requirements by executing the code module in the three-dimensional digital model inspection encapsulator.
[0052] In one embodiment of the present application, the three-dimensional digital model inspection packager includes at least one of the following:
[0053] The toolkit layer is used to store the three-dimensional digital model toolkits corresponding to one or more third-party suppliers;
[0054] Business logic layer, used to manage 3D digital model business processes and set inspection and judgment conditions;
[0055] The external call layer is used to provide an external interface, which is used to determine the target 3D digital model toolkit from various third-party suppliers according to the data format of the received 3D digital model, and to receive the 3D digital model inspection standard information file, and / or to display the 3D digital model inspection business requirements implemented based on the 3D digital model toolkit.
[0056] See also Figure 3 , Figure 3 FIG. 1 is a schematic diagram of a specific knowledge graph architecture for automated inspection of a three-dimensional design model as shown in an exemplary embodiment of the present application. Figure 3 As shown, the specific 3D design model automated inspection knowledge graph architecture includes a logical architecture and a technical architecture, wherein the logical architecture includes a rule base and the data itself, such as a 3D structure tree and related attributes, parameters, etc.; the technical architecture includes information extraction, knowledge display, knowledge fusion, knowledge processing and knowledge update. Specifically, information extraction includes entity data extraction, relationship extraction, attribute extraction, and inspection rule indexing; knowledge display includes interface display, report export, interface transmission, etc.; knowledge fusion includes inspection result classification, adding model links, and data merging; knowledge processing includes building a rule base and rule base reasoning expansion; and knowledge update includes full update of the rule base and incremental update of the rule base.
[0057] The specific inspection method implementation process of the 3D digital model based on the above-mentioned specific 3D design model automated inspection knowledge graph architecture includes:
[0058] Import the 3D digital model inspection encapsulator, generate an integrated menu by modifying the menu configuration file in the 3D digital model toolkit provided by a third-party supplier, and modify the main program startup item of the 3D digital model toolkit to load the plug-in to expand the design digital model inspection function. Import the rule library through the 3D digital model inspection encapsulator. The above rule library maintenance supports manual creation, modification, and deletion, as well as addition, modification, and overwriting. Open the design inspection menu, check the scope to be checked in the pop-up interface, and determine the list of digital model inspection items. The default coding specifications, component attributes, and design standards are all checked. The specific inspection rules are as follows:
[0059] Coding specification check: Check whether the codes and names of all parts in the currently opened digital model structure are consistent with the coding specification library, and generate a check report. The rule is that when checking the part code, the part name in the digital model structure is matched in the coding library, and the consistency of the digital model part code and the coding in the coding specification library is compared according to the matching result. If they are inconsistent, the records are formed into a report; when checking the part name, the part code in the digital model structure is matched in the coding library, and the consistency of the digital model part name and the name in the coding specification library is compared according to the matching result. If they are inconsistent, the records are formed into a report, and the same content is not prompted.
[0060] Component attribute check: Check whether the specified attribute information of all components in the currently opened digital model structure is consistent with the component attribute library, and generate an inspection report. The rule is to match the component code in the digital model structure in the component attribute rule library, and compare the attributes one by one based on the matching results. If there is any inconsistency, record it in a report.
[0061] Design standard check: Check whether all components in the currently opened digital model structure are consistent with the parameters specified in the design standard library, and generate an inspection report. Design standard check supports inspections of review categories such as processing accuracy, clearance, material thickness, and hole center distance. For example, the hinge installation hole depth check needs to check whether the hole depth design is within the current processing level. The hole depth data of the hinge installation plate is obtained from the three-dimensional model feature and compared with the specified value in the design standard library to obtain the inspection result; another example is the front cover plate assembly material thickness check. The front cover plate assembly material thickness is obtained from the three-dimensional model feature and compared with the value in the design standard library to obtain the inspection result. Among them, each generated inspection result contains a link to the component, which can quickly locate the questionable component and make quick modifications with reference to the inspection results.
[0062] The design standard inspection results can be directly exported as reports, and can also be integrated with other systems to form visual files, which can be displayed on the application interface, or the report parameters can be directly passed to other system databases through the interface, so as to facilitate data analysis and processing, optimize inspection rules, and improve product design quality.
[0063] A 3D digital model inspection method, system, electronic device and storage medium provided by the present invention provide a technical basis for subsequent automated inspection by acquiring a 3D digital model toolkit provided by a third-party supplier; a 3D digital model business process is constructed according to preset inspection business requirements, wherein each step corresponds to a specific inspection task or operation, thereby ensuring the systematicness and orderliness of the inspection process; a graphic operation interface in the 3D digital model toolkit is used to establish a calling relationship for the process steps, and inspection judgment conditions are set according to actual requirements, so as to realize automatic calling of the corresponding graphic operation interface for inspection, thereby improving the automation and flexibility of the inspection; code development is performed on the process steps with calling relationships and inspection judgment conditions in accordance with the execution order to obtain a code module, and complex inspection logic is encapsulated into an independent tool for easy use and maintenance. The above inspection process is highly automated. The method can realize automation, reduce manual intervention, and improve inspection efficiency and accuracy; construct a 3D digital model business process by acquiring a 3D digital model toolkit provided by a third-party supplier, establish a calling relationship according to the graphic operation interface in the 3D digital model toolkit, and set inspection judgment conditions according to the execution order to develop the code, obtain the code module, and encapsulate it to obtain a 3D digital model inspection encapsulator; the method centrally integrates the inspection rules to make the inspection process more coherent and systematic, which helps to optimize the design process and improve the overall design efficiency. It reduces errors and omissions caused by human factors through automated inspection processes, improves the accuracy and reliability of inspection results, and makes the inspection process more coherent and systematic by encapsulating it into a tool software, which helps to optimize the design process, improve the overall design efficiency, and ensure that the design model complies with various specifications and standards, thereby improving the design quality.
[0064] The following describes a system embodiment of the present application, which can be used to execute the three-dimensional digital model inspection method in the above embodiment of the present application. For details not disclosed in the system embodiment of the present application, please refer to the above embodiment of the three-dimensional digital model inspection method of the present application.
[0065] Figure 4 is a schematic diagram of a three-dimensional digital model inspection system shown in an exemplary embodiment of the present application. The system can be applied to Figure 2 The method implementation process shown in the figure can be based on Figure 1 The system is executed in the implementation environment shown in the figure, and may also be applicable to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the system is applicable.
[0066] like Figure 4 As shown, the exemplary three-dimensional digital model inspection system includes: a tool information acquisition module 401, a target business process configuration module 402, an execution code development module 403 and an inspection tool packaging module 404.
[0067] Among them, the tool information acquisition module 401 is used to obtain the three-dimensional digital model toolkit provided by a third-party supplier, and construct a three-dimensional digital model business process according to the preset inspection business requirements, and the three-dimensional digital model business process includes process steps arranged in an execution order; the business process configuration module 402 is used to establish a calling relationship for the process steps according to the graphic operation interface in the three-dimensional digital model toolkit, and set inspection judgment conditions to the process steps according to the three-dimensional digital model toolkit, wherein the execution method of the process steps includes calling the graphic operation interface corresponding to the process steps according to the calling relationship if the inspection judgment conditions are met; the execution code development module 403 is used to develop the code for the process steps with the calling relationship and the inspection judgment conditions according to the execution order to obtain the code module; the inspection tool packaging module 404 is used to package the code module and the three-dimensional digital model toolkit to obtain a three-dimensional digital model inspection encapsulator, wherein the three-dimensional digital model inspection encapsulator is used to realize the three-dimensional digital model inspection business requirements by executing the code module in the three-dimensional digital model inspection encapsulator.
[0068] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the three-dimensional digital model inspection method provided in the above-mentioned embodiments.
[0069] Figure 5 is a schematic diagram of the structure of a computer system of an electronic device according to an exemplary embodiment of the present application. It should be noted that: Figure 5 The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0070] like Figure 5 As shown, computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in read-only memory (ROM) 502 or the program loaded from the storage part to random access memory (RAM) 503, such as executing the method in the above embodiment. In RAM 503, various programs and data required for system operation are also stored. CPU 501, ROM 502 and RAM 503 are connected to each other through a bus. Input / output (I / O) interface 505 is also connected to bus 504.
[0071] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
[0072] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.
[0073] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0074] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0075] In the corresponding drawings of the above embodiments, connecting lines may indicate the connection relationship between the various components to indicate more constituent signal paths (constituent_signalpath) and / or one or more ends of some lines may have arrows to indicate the main information flow direction. Connecting lines, as a mark, are not a limitation to the scheme itself, but the use of these lines in combination with one or more exemplary embodiments helps to connect circuits or logic units more easily. Any represented signal (determined by design requirements or preferences) may actually include one or more signals that can be transmitted in either direction and implemented with any appropriate type of signal scheme.
[0076] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0077] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0078] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0079] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0080] It should be noted that the present application can be used in many general or special computing system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.
[0081] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0082] It should be understood that the above content of the present application is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. Ordinary technicians in this field can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application should be the scope of protection required by the claims.
Claims
1. A three-dimensional digital model inspection method, characterized in that: The three-dimensional digital model inspection method comprises: Obtain a 3D digital model toolkit provided by a third-party supplier, and construct a 3D digital model business process according to preset inspection business requirements, wherein the 3D digital model business process includes process steps arranged in an execution order; Establishing a calling relationship for the process step according to the graphic operation interface in the three-dimensional digital model toolkit, and setting an inspection and judgment condition for the process step according to the three-dimensional digital model toolkit, wherein the execution method of the process step includes calling the graphic operation interface corresponding to the process step according to the calling relationship if the inspection and judgment condition is met; Developing codes for the process steps with the calling relationship and the inspection and determination conditions according to the execution order to obtain a code module; The code module and the three-dimensional digital model toolkit are encapsulated to obtain a three-dimensional digital model inspection encapsulator, wherein the three-dimensional digital model inspection encapsulator is used to realize the three-dimensional digital model inspection business requirements by executing the code module in the three-dimensional digital model inspection encapsulator.
2. The three-dimensional digital model inspection method according to claim 1, characterized in that: The process steps include a three-dimensional digital model inspection initialization step, and the three-dimensional digital model inspection initialization step includes: Obtain a 3D digital model inspection standard information file and a target 3D digital model file, initialize the application interface according to the 3D digital model toolkit, and import the 3D digital model inspection standard information file through the rule configuration module interface in the 3D digital model toolkit, wherein the application interface is used to display relevant information of the 3D digital model inspection method process; Determining the initialization inspection judgment condition of the three-dimensional digital model inspection initialization step through the three-dimensional digital model inspection standard information file, wherein the initialization inspection judgment condition includes the existence of the three-dimensional digital model inspection standard information file and the file format supporting the target three-dimensional digital model file; If the initialization check judgment condition is met, a target three-dimensional digital model is created in the application interface according to the target three-dimensional digital model file.
3. The three-dimensional digital model inspection method according to claim 2, characterized in that: The process steps include a three-dimensional digital model inspection step, which is performed by the following method: In response to a digital model inspection request, determining the existence status of a digital model inspection item list, wherein the digital model inspection item list is used to represent inspection item requirement information for a target three-dimensional digital model; If the digital model inspection item list exists, setting target inspection judgment conditions for the three-dimensional digital model inspection step according to the digital model inspection item list and the three-dimensional digital model inspection standard information file; If the digital model inspection item list does not exist, setting a target inspection judgment condition for the three-dimensional digital model inspection step according to the three-dimensional digital model inspection standard information file; Determine the inspection result of the inspection node in the target three-dimensional digital model according to the target three-dimensional digital model and the target inspection judgment condition, the target three-dimensional digital model includes a plurality of the inspection nodes, the digital model inspection item list includes at least one inspection node, and the inspection node includes a single inspection part or an inspection part combination formed by a plurality of inspection parts in the three-dimensional digital model; A visualization file is formed according to the inspection results of the inspection nodes and displayed on the application interface.
4. The three-dimensional digital model inspection method according to claim 3, characterized in that: Forming a visualization file according to the inspection result of the inspection node includes: If the inspection result of one of the inspection nodes is that the inspection is correct, generating normal inspection item information according to the inspection result and the inspection node information; If the inspection result of an inspection node is an inspection abnormality, a part location link is generated according to the inspection part or inspection part combination in the corresponding inspection node, and abnormal inspection item information is generated according to the inspection result, the part location link and the inspection node information, wherein the part location link includes a hyperlink text generated based on the part three-dimensional file; The normal inspection item information and the abnormal inspection item information are combined to generate inspection node inspection information, and the inspection node inspection information is visualized to obtain a visualization file.
5. The three-dimensional digital model inspection method according to claim 3, characterized in that: After determining the inspection result of the inspection node in the target three-dimensional digital model according to the target three-dimensional digital model and the target inspection judgment condition, the method further includes: Storing the anomaly check entry information in the anomaly detection history information library; The number of times detection anomalies occur in the inspection nodes corresponding to the current anomaly inspection entry information in the anomaly detection history information library is counted, and they are sorted according to the number of times detection anomalies occur to obtain a list of high-frequency abnormal nodes, so as to set the priority of the inspection nodes according to the list of high-frequency abnormal nodes.
6. The method according to claim 3, characterized in that: The target inspection determination condition includes at least one of the following: If the inspection item has a coding standard inspection, and each part in the target 3D digital model has component coding information, the component coding library in the 3D digital model inspection standard information file is called, and the component coding information of each part in the target 3D digital model is checked according to the component coding library; If the inspection item has component attribute inspection, and each part in the target 3D digital model has component attribute information, the component attribute information library in the 3D digital model inspection standard information file is called, and the component attribute information of each part in the target 3D digital model is checked according to the component attribute information library; If there is a design standard check for the inspection item, the design standard information library in the three-dimensional digital model inspection standard information file is called, and the graphic operation interface is called to obtain parameters of the components in the target three-dimensional digital model to obtain the design parameters of the target components, so as to compare the design parameters of the target components with the design standard information library to obtain the design standard check results.
7. The method according to any one of claims 1 to 6, characterized in that: The three-dimensional digital model inspection packager includes at least one of the following: The toolkit layer is used to store the three-dimensional digital model toolkits corresponding to one or more third-party suppliers; The business logic layer is used to manage the three-dimensional digital model business process and set inspection and judgment conditions; The external call layer is used to provide an external interface, which is used to determine the target three-dimensional digital model toolkit from each third-party supplier according to the data format of the received three-dimensional digital model, and to receive the three-dimensional digital model inspection standard information file, and / or to display the three-dimensional digital model inspection business requirements implemented based on the three-dimensional digital model toolkit.
8. A three-dimensional digital model inspection system, characterized in that: The three-dimensional digital model inspection system comprises: A tool information acquisition module is used to obtain a 3D digital model toolkit provided by a third-party supplier, and to construct a 3D digital model business process according to preset inspection business requirements, wherein the 3D digital model business process includes process steps arranged in an execution order; A business process configuration module, used to establish a call relationship for the process step according to the graphic operation interface in the three-dimensional digital model toolkit, and set an inspection and judgment condition for the process step according to the three-dimensional digital model toolkit, wherein the execution method of the process step includes calling the graphic operation interface corresponding to the process step according to the call relationship if the inspection and judgment condition is met; An execution code development module is used to develop codes for the process steps with the calling relationship and the inspection and judgment conditions according to the execution order to obtain a code module; The inspection tool encapsulation module is used to encapsulate the code module and the three-dimensional digital model toolkit to obtain a three-dimensional digital model inspection encapsulator, wherein the three-dimensional digital model inspection encapsulator is used to implement the three-dimensional digital model inspection business requirements by executing the code module in the three-dimensional digital model inspection encapsulator.
9. An electronic device, characterized in that: It includes a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute the computer program stored in the memory to implement the three-dimensional digital model inspection method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is used to enable a computer to execute the three-dimensional digital model inspection method as described in any one of claims 1-7.
