Model detection method and device, computer equipment and storage medium

Through an automated detection method based on selected model detection rules, the problem of errors easily arise when product data files are migrated between different design platforms is solved, the efficiency of complex model detection is improved, the product meets design standards, and the company's losses are avoided.

CN119442551APending Publication Date: 2025-02-14RICHFIT INFORMATION TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310945471.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

When product data files are migrated between different design platforms, errors are easily generated, and product model data detection of complex models is inefficient, which may cause huge losses to the company.

Method used

A model detection method based on selected model detection rules is provided, which can automatically detect part models, quickly determine whether they comply with model detection rules, and prompt the situation of not complying with the rules through the detection report.

Benefits of technology

Compared with manual inspection, automated model inspection significantly improves inspection efficiency, ensures that the products comply with the design standards and specifications of the industry and enterprises, and avoids potential losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119442551A_ABST
    Figure CN119442551A_ABST
Patent Text Reader

Abstract

The invention provides a model detection method and device, computer equipment and a storage medium, and belongs to the field of model detection. The method comprises the following steps: acquiring at least one to-be-detected part model; in response to a model detection operation on the at least one part model, respectively performing model detection on the at least one part model based on the selected at least one model detection rule; and in response to detection completion, displaying a detection report. According to the technical scheme, model detection is carried out on the part model based on the selected model detection rule, whether the part model meets the model detection rule or not can be rapidly judged, and then the situation that the part model does not meet the model detection rule is prompted through the detection report. Compared with a manual detection mode, the scheme has the advantages that the detection of the part model is automatically completed, and the detection efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of model detection technology, and in particular to a model detection method, device, computer equipment and storage medium. Background Art

[0002] Product data files are important carriers of product model data, but errors always occur when product data files are migrated between different design platforms. Incorrect product model data will also be generated when the company's design specifications are not followed during the product design process. These errors in product model data may cause various problems in subsequent applications, thus causing huge losses to the company. Therefore, how to test product model data to ensure that the product meets the design standards and specifications of the industry and the company is a problem that needs to be solved.

[0003] At present, it is usually chosen to check product model data manually. However, this method is only effective for simple models. When checking complex models, manual inspection is inefficient due to the huge volume of product model data of complex models. Summary of the invention

[0004] The embodiments of the present application provide a model detection method, device, computer equipment and storage medium, which can perform model detection on a part model based on a selected model detection rule, can quickly determine whether the part model complies with the model detection rule, and then prompt the part model through a detection report if it does not comply with the model detection rule. Compared with the manual detection method, this solution automatically completes the detection of the part model, greatly improving the detection efficiency. The technical solution is as follows:

[0005] In one aspect, a model detection method is provided, the method comprising:

[0006] Acquire at least one part model to be inspected;

[0007] In response to a model detection operation on the at least one part model, based on the selected at least one model detection rule, model detection is performed on the at least one part model, wherein the model detection is used to detect whether the part model complies with the at least one model detection rule;

[0008] In response to the detection being completed, a detection report is displayed, wherein the detection report is used to indicate at least one situation in the at least one part model that does not comply with the model detection rule.

[0009] In another aspect, a model detection device is provided, the device comprising:

[0010] An acquisition module, used for acquiring at least one part model to be detected;

[0011] A detection module, configured to, in response to a model detection operation on the at least one part model, perform model detection on the at least one part model based on at least one selected model detection rule, wherein the model detection is used to detect whether the part model complies with the at least one model detection rule;

[0012] The first display module is used for displaying a detection report in response to the end of the detection, wherein the detection report is used for indicating at least one situation in the at least one part model that does not meet the model detection rule.

[0013] In some embodiments, the acquisition module is used to acquire the part model currently displayed in the model detection application, and the model detection application is used to perform model detection on the model part based on model detection rules; or, to acquire multiple part models loaded in the model detection application; or, to acquire the at least one part model under the target path, and the target path is a file path selected by the model detection application, and the folder under the target path is used to store the model file of the at least one part model.

[0014] In some embodiments, the detection module is used to display multiple rule packages in response to a model detection operation on the at least one part model, and the rules include at least two types of model detection rules; in response to a selection operation on at least one rule package, model detection is performed on the at least one part model based on the selected at least one rule package.

[0015] In some embodiments, the detection module is used to display multiple model detection rules according to functional type in response to a model detection operation on the at least one part model; for any model detection rule, in response to a parameter setting operation on the model detection rule, adjust the detection parameters of the model detection rule to obtain a custom rule; and based on at least one custom detection rule, perform model detection on the at least one part model respectively.

[0016] In some embodiments, the apparatus further comprises:

[0017] A second display module, used to display a rule creation page, where the rule creation page is used to create a model detection rule;

[0018] A storage module is used to store at least one model detection rule created based on the rule creation page into a model detection rule library, wherein the model detection rules include general rules and non-general rules, wherein the general rules include system environment rules, general data rules, entity model rules and assembly model rules, and the non-general rules include rules related to product requirements.

[0019] In some embodiments, the test report is displayed on a result display page, and the result display page also displays at least one display rule;

[0020] The device also includes:

[0021] The third display module is used to display a part of the detection report that meets the display rule on the result display page in response to a selection operation of any display rule.

[0022] In some embodiments, the basic building block of the part model is a model object;

[0023] The device also includes:

[0024] A first determination module, configured to determine a target part model and a target model object indicated by any item in the inspection report in response to a selection operation on the item;

[0025] A fourth display module is used to display the target part model and highlight the target model object in the target part model.

[0026] In some embodiments, the basic building block of the part model is a model object;

[0027] The device also includes:

[0028] A second determination module, configured to determine a target model object indicated by any item in the detection report in response to a selection operation on the item;

[0029] The fifth display module is used to display modification suggestion information when the target model object does not comply with the model detection rule, wherein the modification suggestion information is used to indicate a modification method for the target model object.

[0030] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory is used to store at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the model detection method in the embodiment of the present application.

[0031] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the model detection method in the embodiment of the present application.

[0032] On the other hand, a computer program product is provided, including a computer program, wherein the computer program is executed by a processor to implement the model detection method in the embodiment of the present application.

[0033] The present application provides a model detection method, which can quickly determine whether the part model meets the model detection rules by performing model detection on the part model based on the selected model detection rules, and then prompt the situation that the part model does not meet the model detection rules through the detection report. Compared with the manual detection method, this solution automatically completes the detection of the part model, greatly improving the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 It is a schematic diagram of an implementation environment of a model detection method provided according to an embodiment of the present application;

[0036] Figure 2 is a flow chart of a model detection method provided according to an embodiment of the present application;

[0037] Figure 3 is a flow chart of another model detection method provided according to an embodiment of the present application;

[0038] Figure 4 is a schematic diagram of a rule creation page provided according to an embodiment of the present application;

[0039] Figure 5 is a schematic diagram of a rule package display page provided according to an embodiment of the present application;

[0040] Figure 6 is a schematic diagram of a rule package creation page provided according to an embodiment of the present application;

[0041] Figure 7 is a schematic diagram of a result display page provided according to an embodiment of the present application;

[0042] Figure 8 is a schematic diagram of another result display page provided according to an embodiment of the present application;

[0043] Fig. 9 is a schematic diagram of a storage process provided according to an embodiment of the present application;

[0044] Fig.10 is a block diagram of a model detection device provided according to an embodiment of the present application;

[0045] Fig.11 is a block diagram of another model detection device provided according to an embodiment of the present application;

[0046] Fig.12 is a schematic diagram of the structure of a terminal provided according to an embodiment of the present application;

[0047] Fig.13 It is a structural diagram of a server provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0049] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with basically the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there any limitation on quantity and execution order.

[0050] In the present application, the term "at least one" means one or more, and the term "plurality" means two or more.

[0051] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the part models involved in this application were obtained with full authorization.

[0052] Figure 1 Schematic diagram of an implementation environment of a model detection method provided according to an embodiment of the present application. Figure 1 The implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 can be directly or indirectly connected via wired or wireless communication, which is not limited in this application.

[0053] In some embodiments, the terminal 101 is a mobile phone, a desktop computer, a laptop computer, a tablet computer, a smart watch, and other types of terminals. An application can be installed and run on the terminal 101, and the application can receive the model detection operation and display the detection results of the model detection. The user can log in to the application to view the detection results of the model detection. The application is associated with the server 102, and the server 102 provides background services to the terminal 101.

[0054] In some embodiments, the server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, the terminal 101 sends the model detection operation and the input part model to be detected and the model detection rules to the server 102. In response to the model detection operation, the server 102 obtains the input part model to be detected and the model detection rules, and performs model detection on the part models to be detected based on the model detection rules, and displays the detection report. The server 102 returns the detection result to the terminal 101.

[0055] In some embodiments, the server 102 undertakes the main computing work and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work and the terminal 101 undertakes the main computing work; or, the server 102 and the terminal 101 adopt a distributed computing architecture to perform collaborative computing.

[0056] Figure 2 is a flow chart of a model detection method provided according to an embodiment of the present application, the method is executed by a computer device, see Figure 2 , the method comprises the following steps:

[0057] 201. Obtain at least one part model to be inspected.

[0058] In the embodiment of the present application, the part model is used to represent the part. The part model is usually a sub-model of the component model. For example, the propeller model is a component model, and the shaft model, bracket model, nut model, and blade model in the propeller model all belong to the part model, wherein the part model contains the part information of the part, and the part information can be manufacturing information, such as accuracy, shape, material, and technical specifications, etc.; it can also be management information, such as part type, part name, part number, and design date, etc.; it can also be custom information, such as part alias, etc., which is not limited in the embodiment of the present application.

[0059] 202. In response to a model detection operation on at least one part model, based on at least one selected model detection rule, model detection is performed on at least one part model, wherein the model detection is used to detect whether the part model complies with at least one model detection rule.

[0060] In an embodiment of the present application, the model detection rules may be general rules in the system, such as system environment rules, general data rules, entity model rules, assembly model rules, etc.; they may also be non-general rules related to product requirements; they may also be custom rules obtained by adjusting the detection parameters of preset model detection rules.

[0061] The selected model detection rule can be a single rule or a rule package formed by combining different rules. For example, you can select the material detection rule to detect the material of the part model, or you can combine different rules to form a part inspection package and an assembly inspection package, which are used to inspect each part model and to inspect the assembly of multiple part models respectively.

[0062] 203. In response to the detection being completed, display a detection report, where the detection report is used to indicate at least one situation in at least one part model that does not comply with the model detection rule.

[0063] In the embodiment of the present application, the computer device can output a test report when any situation that does not meet the model test rules is detected, or it can output a test report after all the inspections are completed. The test report includes multiple items, and each item corresponds to the test result of a part model.

[0064] The embodiment of the present application provides a model detection method, which can quickly determine whether the part model meets the model detection rule by performing model detection on the part model based on the selected model detection rule, and then display the situation that the part model does not meet the model detection rule through the detection report. Compared with the manual detection method, this solution automatically completes the detection of the part model, greatly improving the detection efficiency.

[0065] Figure 3 is a flowchart of another model detection method provided according to an embodiment of the present application, the method is executed by a computer device, see Figure 3 , the method comprises the following steps:

[0066] 301. Display a rule creation page, where the rule creation page is used to create a model detection rule.

[0067] In the embodiment of the present application, the model detection rule can be a general rule in the system, such as a system environment rule, a general data rule, a physical model rule, an assembly model rule, etc.; it can also be a non-general rule related to product requirements; it can also be a custom rule. The model detection rule can be created through the rule creation page.

[0068] Among them, the system environment rules are used to detect whether the initial environment of the model system meets the enterprise standards, including default environment variables, default parameter values, etc.; the general data rules are used to detect whether various additional attributes in the data meet the specifications of the industry or enterprise, including rules for file names, unit systems, date formats, attributes, scales, materials, coating settings, expressions, weights, line types, colors, views, text fonts, and character sets; entity detection rules are used to detect whether model entities conform to physical laws, including rules for wireframe geometry, surfaces, bounded surfaces, combined surfaces, boundary expression entities, etc.; assembly model rules are used to detect whether the assembly is a formally archived part and subassembly, and are also used to detect whether non-drawing parts, standard parts, symmetrical parts, deformed parts, borrowed parts, purchased parts, etc. are correctly involved in the assembly in accordance with regulations to ensure the integrity of the assembly data, and are also used to detect whether the assembly relationship and assembly order are correct, detect assembly constraints, and do not allow over-constraints and cross-constraints between components, and are also used to detect assembly interference, etc. The embodiment of the present application does not limit the model detection rules.

[0069] See also Figure 4 As shown, Figure 4 This is a schematic diagram of a rule creation page provided according to an embodiment of the present application. The rule creation page includes a rule name, a rule category, and a writing area. In the process of creating a model detection rule, you can enter the rule name in the rule name area, enter or select the rule category in the rule category area, edit the rule content in the writing area, and select the Generate and Save option to save it.

[0070] It should be noted that after saving a check rule, a KBE (Knowledge Based Engineering) class definition file will be formed, which consists of the following five parts: the file header, document, class header, attributes, and functional area that need to define the detection rule. Among them, the file header is used to indicate the file version, and each file must have a corresponding file header. The document includes a function description, a parameter description, and a description of the inspection results. The class header is used to define the class name, display name, and test category. The attributes are used to list the input parameters required for the detection rule, and the syntax in the attributes follows the Knowledge Fusion (KF) syntax specification. The functional area includes the running code of the inspection rule.

[0071] 302. Store at least one model detection rule created based on the rule creation page into a model detection rule library.

[0072] In the embodiment of the present application, the created model detection rules can be stored in the model detection rule library according to the function type. For example, the newly created model detection rule A is "bolt size, diameter 5 mm, length 2 cm", and the model detection rule A is stored in the "precision feature" category under the "manufacturing information" category in the model detection rule library; the newly created model detection rule B is "bolt material, iron", and the B model detection rule is stored in the "material feature" category under the "manufacturing information" category in the model detection rule library; the newly created model detection rule C is "design date, xx / xx / xx", and the model detection rule C is stored in the "management information" category in the model detection rule library.

[0073] It should be noted that, based on the model detection rules in the above-mentioned model detection rule library, the part model can be detected.

[0074] 303. Obtain at least one part model to be inspected.

[0075] In the embodiment of the present application, the part model is saved in a model file, and one part model corresponds to one model file. The user can load the model file through the model detection application, and the model detection application displays the loaded part model. The model detection application is used to perform model detection on the part model based on the model detection rules.

[0076] In some embodiments, the part model to be detected can be divided into the following three cases. Case 1, the part model to be detected is the part model currently displayed in the model detection application, that is, the part model that has been loaded but not currently displayed does not belong to the part model to be detected. Case 2, the part model to be detected is multiple part models loaded in the model detection application, that is, the part model that has been loaded through the model detection application, all of which belong to the part model to be detected. Case 3, the part model to be detected is at least one part model under the target path. Among them, the target path is the file path selected by the model detection application, and the folder under the target path is used to store the model file of at least one part model.

[0077] For example, a propeller model is assembled from part models such as shaft, bracket, nut and blade. The part model to be tested can be the nut model currently displayed in the model detection application, can be multiple part models such as shaft, bracket, nut and blade that have been loaded, or can be the part model corresponding to at least one model file in the folder storing the entire propeller model.

[0078] 304. In response to a model detection operation on at least one part model, display a plurality of rule packages, wherein the rules include at least two types of model detection rules.

[0079] In an embodiment of the present application, in order to facilitate the detection process and shorten the time for selecting model detection rules, a rule package can also be set. Among them, the rule package is composed of different model detection rules. The combination ideas of different rule packages are not exactly the same. Optionally, for a certain type of part model, rules related to a certain part model are selected from model detection rules of different functional types to form a rule package applicable to the part model; or, for a certain functional type, rules are selected from the model detection rules of the functional type to form a rule package for detecting related problems of the functional type; or, the combination ideas are customized according to actual needs to form a rule package that meets the needs.

[0080] For example, select "Bolt Diameter" from the "Precision Feature" type and select "Bolt Material" from the "Material Feature" type in the model detection rule library to form a rule package suitable for the bolt model; select "Part Type", "Part Number" and "Design Date" from the "Management Information" type in the model detection rule library to form a rule package for detecting the management information of the part model.

[0081] See also Figure 5 As shown, Figure 5 This is a schematic diagram of a rule package display page provided according to an embodiment of the present application. The rule package display page includes a rule package display area, a selected rule package display area, and an operation confirmation area. Among them, the rule package display area is used to display the rule packages that can be called; the selected rule package display area is used to display the selected rule package; the operation confirmation area is used to confirm the execution of the save operation or the customization operation. After confirming the execution of the save operation, the selected rule package is saved. After confirming the execution of the customization operation, the rule creation page is entered.

[0082] For example, on the rule package display page, select "Rule Package 1" in "Function Type 1" and "Rule Package 3" in "Function Type 2" in the rule package display area. The selected rule package area displays "Rule Package 1" and "Rule Package 3". After confirming the save operation in the operation confirmation area, the selected rule package is saved.

[0083] See also Figure 6 As shown, Figure 6 This is a schematic diagram of a rule package creation page provided according to an embodiment of the present application. The rule package creation page includes an information filling area, a rule display area, a selected rule display area, and an operation confirmation area. Among them, the information filling area is used to fill in basic information such as the rule package name, display name, and test category; the rule display area is used to display selectable rules; the selected rule display area is used to display the selected rules; and the operation confirmation area is used to confirm the save and load operations of the filled basic information and the selected rules.

[0084] For example, in the rule package creation page, fill in "Drawing Inspection Package" in the rule package name in the information filling area, fill in "Drawing Inspection" in the display name, and fill in "xx Company Standardization" in the test category; in the rule display area, select "Rule 1" in "Function Type 1" and "Rule 3" in "Function Type 2"; the selected rule area displays "Rule 1" and "Rule 3"; after confirming the save and load operation in the operation confirmation area, the selected rules are saved and the rule package is generated.

[0085] 305. In response to a selection operation on at least one rule package, perform model detection on at least one part model based on the selected at least one rule package.

[0086] In the embodiment of the present application, in response to the selection operation of the rule package, the part model to be detected is sequentially tested based on the selected rule package. The rule package can be single, for example, the selected rule package is A, and the model detection is performed sequentially based on A according to the loading order of the part model; the rule package can be multiple, for example, the selected rule packages are B and C, and the model detection is performed sequentially based on B according to the loading order of the part model, and then based on C according to the loading order of the part model; or the model detection is performed sequentially based on B and C according to the loading order of the part model.

[0087] The above steps 304 and 305 describe a scheme for model detection by selecting a rule package. In some embodiments, the part model can also be detected by selecting at least one model detection rule. The method of selecting model detection rules is similar to the method of selecting rule packages and will not be repeated here. Accordingly, in response to the model detection operation on at least one part model, model detection is performed on at least one part model based on at least one selected model detection rule. Among them, the model detection rules can be general rules in the system, such as system environment rules, general data rules, entity model rules, assembly model rules, etc.; they can also be non-general rules related to product requirements.

[0088] Among them, the above-mentioned selected model detection rule can be a single one, for example, the selected model detection rule is a, then based on a, the model detection is performed in sequence according to the loading order of the part models; the model detection rule can be multiple, for example, the selected model detection rules are b and c, then based on b, the model detection is performed in sequence according to the loading order of the part models, and then based on c, the model detection is performed in sequence according to the loading order of the part models, or based on b and c, the model detection is performed in sequence according to the loading order of the part models.

[0089] In some embodiments, model detection can also be performed on at least one part model based on a customized model detection rule. Accordingly, in response to a model detection operation on at least one part model, multiple model detection rules are displayed according to the functional type. For any model detection rule, in response to a parameter setting operation on the model detection rule, the detection parameters of the model detection rule are adjusted to obtain a customized rule. Based on at least one customized detection rule, model detection is performed on at least one part model. Through customized rules, part models can be detected according to actual needs, which solves the problem that the preset rules do not meet actual needs, and the customized rules are simple and can significantly improve the efficiency of model detection.

[0090] Among them, the detection rules of the model can be divided according to the functional type, for example, the model detection rules can be divided into "manufacturing information class", "management information class" and "custom information class".

[0091] It should be noted that the content in the custom inspection rules can be added or deleted according to actual needs, and the language can adopt other programming language specifications, which is not limited in the embodiments of the present application.

[0092] 306. In response to the detection being completed, display a detection report, where the detection report is used to indicate at least one situation in at least one part model that does not comply with the model detection rule.

[0093] In an embodiment of the present application, the test report includes a plurality of items, one item corresponding to the test result of a part model. Optionally, the test report includes both items of the part model that does not conform to the model detection rules and items of the part model that conforms to the model detection rules. Optionally, the test report only includes items of the part model that does not conform to the model detection rules.

[0094] See also Figure 7 As shown, Figure 7 1 is a schematic diagram of a result display page provided according to an embodiment of the present application. The result display page is used to display a test report.

[0095] In some embodiments, the contents of the test report can also be screened as required to screen out the test results of the desired part model. Accordingly, in response to the selection operation of any display rule, the part of the test report that meets the display rule is displayed on the result display page. The test report is displayed on the result display page, and the result display page also displays at least one display rule.

[0096] See also Figure 8 As shown, Figure 8It is a schematic diagram of another result display page provided according to an embodiment of the present application. The result page display page is divided into a display rule area and a test report area, the display rule area is used to display the test rule, and the test report area is used to display the test report. For example, "Display Rule 1" is selected in the display rule area, and "Item 1" that meets Display Rule 1 is displayed in the test report area.

[0097] 307. In response to a selection operation on any item in the inspection report, determine a target part model and a target model object indicated by the item.

[0098] In the embodiment of the present application, the basic constituent unit of the part model is a model object, which can also be called a part sub-model. A test report includes multiple entries under one item, and each entry corresponds to the test result of a model object in the part model. For example, by selecting entry A in the test report, it can be determined that the corresponding target part model is a "bolt model", and the target model object is a partial model in the "bolt model".

[0099] 308. Display the target part model and highlight the target model object in the target part model.

[0100] In the embodiment of the present application, in order to facilitate the location of the model object with an abnormality or error, by selecting an entry, you can quickly jump to the display page of the target part model, and then highlight the target model object in the target part model. Among them, the highlighting can be in the form of highlighting, color changing, or enlarged display, which is not limited in the embodiment of the present application.

[0101] In some embodiments, multiple entries can be selected at the same time, and multiple target part models and multiple target model objects corresponding to the multiple entries can be displayed, and the target model objects can be highlighted in the target model. The highlighting methods used for target model objects corresponding to different entries can be the same or different.

[0102] For example, see Figure 7 By selecting Item 2 and Item 3 in the inspection report, it can be determined that the corresponding target part model is the "bolt model", the target model object M indicated by Item 2 is displayed in red, and the target model object N indicated by Item 3 is displayed in yellow.

[0103] 309. When the target model object does not comply with the model detection rule, display modification suggestion information, where the modification suggestion information is used to indicate a modification method for the target model object.

[0104] In the embodiment of the present application, the modification suggestion information can be presented in a variety of ways, such as text description, picture example, or model example. The modification suggestion information can include the overall modification plan, modification reasons, and principle introduction.

[0105] See also Fig. 9 As shown, Fig. 9 It is a schematic diagram of a storage process provided according to an embodiment of the present application. In order to facilitate the designer to trace the model quality, the test results can be saved in the product data management (PDM, Product Data Management) system. Among them, the test report exists under the part model in a verification relationship, and the test report is automatically saved in the system to generate a corresponding test form. Each test result corresponds to a line of information in the test form, and each line of information is displayed as passed or failed.

[0106] The embodiment of the present application provides a model detection method, which can quickly determine whether the part model meets the model detection rule by performing model detection on the part model based on the selected model detection rule, and then prompt the situation that the part model does not meet the model detection rule through the detection report. Compared with the manual detection method, this solution automatically completes the detection of the part model, greatly improving the detection efficiency.

[0107] Fig.10 is a block diagram of a model detection device provided according to an embodiment of the present application. The device is used to execute the steps of the above-mentioned model detection method. Fig.10 The model detection device includes: an acquisition module 1001, a detection module 1002 and a first display module 1003.

[0108] An acquisition module 1001 is used to acquire at least one part model to be detected;

[0109] A detection module 1002 is used for, in response to a model detection operation on at least one part model, performing model detection on at least one part model based on at least one selected model detection rule, wherein the model detection is used to detect whether the part model complies with at least one model detection rule;

[0110] The first display module 1003 is used to display a detection report in response to the end of the detection, where the detection report is used to indicate at least one situation in at least one part model that does not comply with the model detection rule.

[0111] In some embodiments, the acquisition module 1001 is used to acquire the part model currently displayed in the model detection program, the model detection program is used to perform model detection on the model part based on model detection rules; or, to acquire multiple part models loaded in the model detection program; or, to acquire at least one part model under the target path, the target path is the file path selected by the model detection program, and the folder under the target path is used to store the model file of at least one part model.

[0112] In some embodiments, the detection module 1002 is used to display multiple rule packages in response to a model detection operation on at least one part model, and the rules include at least two types of model detection rules; in response to a selection operation on at least one rule package, model detection is performed on at least one part model based on the selected at least one rule package.

[0113] In some embodiments, the detection module 1002 is used to display multiple model detection rules according to functional types in response to a model detection operation on at least one part model; for any model detection rule, in response to a parameter setting operation on the model detection rule, adjust the detection parameters of the model detection rule to obtain a custom rule; based on at least one custom detection rule, perform model detection on at least one part model respectively.

[0114] In some embodiments, Fig.11 is a block diagram of another model detection device provided according to an embodiment of the present application. Fig.11 As shown, the device also includes:

[0115] The second display module 1101 is used to display a rule creation page, where the rule creation page is used to create a model detection rule;

[0116] Storage module 1102 is used to store at least one model detection rule created based on the rule creation page into the model detection rule library. The model detection rules include general rules and non-general rules. The general rules include system environment rules, general data rules, entity model rules and assembly model rules. The non-general rules include rules related to product requirements.

[0117] In some embodiments, the test report is displayed on a result display page, and the result display page also displays at least one display rule;

[0118] The device also includes:

[0119] The third display module 1103 is used to display a part of the detection report that meets the display rule on the result display page in response to the selection operation of any display rule.

[0120] In some embodiments, the basic building block of the part model is a model object;

[0121] The device also includes:

[0122] A first determination module 1104 is used to determine a target part model and a target model object indicated by any item in the inspection report in response to a selection operation on the item;

[0123] The fourth display module 1105 is used to display the target part model and highlight the target model object in the target part model.

[0124] In some embodiments, the basic building block of the part model is a model object;

[0125] The device also includes:

[0126] A second determination module 1106, configured to determine a target model object indicated by any item in the detection report in response to a selection operation on the item;

[0127] The fifth display module 1107 is used to display modification suggestion information when the target model object does not conform to the model detection rule, where the modification suggestion information is used to indicate a modification method for the target model object.

[0128] The present application provides a model detection device, which can quickly determine whether the part model meets the model detection rule by performing model detection on the part model based on the selected model detection rule, and then prompt the part model through the detection report if it does not meet the model detection rule. Compared with the manual detection method, this solution automatically completes the detection of the part model, greatly improving the detection efficiency.

[0129] It should be noted that: the model detection device provided in the above embodiment only uses the division of the above functional modules as an example when running an application program. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the model detection device provided in the above embodiment and the model detection method embodiment belong to the same concept, and the specific implementation process is shown in the method embodiment, which will not be repeated here.

[0130] Fig.121 is a schematic diagram of a terminal structure provided according to an embodiment of the present application. The terminal 1200 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 1200 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0131] Typically, the terminal 1200 includes: a processor 1201 and a memory 1202 .

[0132] The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1201 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0133] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one computer program, which is used to be executed by the processor 1201 to implement the model detection method provided in the method embodiment of the present application.

[0134] In some embodiments, the terminal 1200 may further optionally include: a peripheral device interface 1203 and at least one peripheral device. The processor 1201, the memory 1202 and the peripheral device interface 1203 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1203 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1204, a display screen 1205, a camera assembly 1206, an audio circuit 1207 and a power supply 1208.

[0135] The peripheral device interface 1203 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, the memory 1202, and the peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202, and the peripheral device interface 1203 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0136] The radio frequency circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1204 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. In some embodiments, the radio frequency circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1204 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1204 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0137] The display screen 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 also has the ability to collect touch signals on the surface or above the surface of the display screen 1205. The touch signal can be input to the processor 1201 as a control signal for processing. At this time, the display screen 1205 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1205 can be one, set on the front panel of the terminal 1200; in other embodiments, the display screen 1205 can be at least two, respectively set on different surfaces of the terminal 1200 or in a folding design; in other embodiments, the display screen 1205 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 1200. Even, the display screen 1205 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1205 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0138] The camera assembly 1206 is used to capture images or videos. In some embodiments, the camera assembly 1206 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal, and the rear camera is disposed on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1206 may also include a flash. The flash may be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0139] The audio circuit 1207 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1201 for processing, or input them into the radio frequency circuit 1204 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1200. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1207 may also include a headphone jack.

[0140] The power supply 1208 is used to power various components in the terminal 1200. The power supply 1208 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1208 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0141] In some embodiments, the terminal 1200 further includes one or more sensors 1209 . The one or more sensors 1209 include, but are not limited to: an acceleration sensor 1210 , a gyroscope sensor 1211 , a pressure sensor 1212 , an optical sensor 1213 , and a proximity sensor 1214 .

[0142] The acceleration sensor 1210 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1200. For example, the acceleration sensor 1210 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1201 can control the display screen 1205 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1210. The acceleration sensor 1210 can also be used for collecting game or user motion data.

[0143] The gyro sensor 1211 can detect the body direction and rotation angle of the terminal 1200, and the gyro sensor 1211 can cooperate with the acceleration sensor 1210 to collect the user's 3D actions on the terminal 1200. The processor 1201 can implement the following functions based on the data collected by the gyro sensor 1211: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0144] The pressure sensor 1212 can be set on the side frame of the terminal 1200 and / or the lower layer of the display screen 1205. When the pressure sensor 1212 is set on the side frame of the terminal 1200, it can detect the user's holding signal of the terminal 1200, and the processor 1201 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1212. When the pressure sensor 1212 is set on the lower layer of the display screen 1205, the processor 1201 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1205. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0145] The optical sensor 1213 is used to collect the ambient light intensity. In one embodiment, the processor 1201 can control the display brightness of the display screen 1205 according to the ambient light intensity collected by the optical sensor 1213. Optionally, when the ambient light intensity is high, the display brightness of the display screen 1205 is increased; when the ambient light intensity is low, the display brightness of the display screen 1205 is decreased. In another embodiment, the processor 1201 can also dynamically adjust the shooting parameters of the camera assembly 1209 according to the ambient light intensity collected by the optical sensor 1213.

[0146] The proximity sensor 1214, also called a distance sensor, is disposed on the front panel of the terminal 1200. The proximity sensor 1214 is used to collect the distance between the user and the front of the terminal 1200. In one embodiment, when the proximity sensor 1214 detects that the distance between the user and the front of the terminal 1200 is gradually decreasing, the processor 1201 controls the display screen 1205 to switch from the screen-on state to the screen-off state; when the proximity sensor 1214 detects that the distance between the user and the front of the terminal 1200 is gradually increasing, the processor 1201 controls the display screen 1205 to switch from the screen-off state to the screen-on state.

[0147] Those skilled in the art will understand that Fig.12 The structure shown in the figure does not constitute a limitation on the terminal 1200, and the terminal 1200 may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0148] Fig.13It is a structural diagram of a server provided according to an embodiment of the present application. The server 1300 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1301 and one or more memories 1302, wherein the memory 1302 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 1301 to implement the model detection method provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.

[0149] The embodiment of the present application also provides a computer-readable storage medium, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor to implement the model detection method in the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device.

[0150] The embodiment of the present application also provides a computer program product, including a computer program, which is executed by a processor to implement the model detection method in the embodiment of the present application.

[0151] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0152] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A model detection method, characterized in that: The method comprises: Acquire at least one part model to be inspected; In response to a model detection operation on the at least one part model, based on the selected at least one model detection rule, model detection is performed on the at least one part model, wherein the model detection is used to detect whether the part model complies with the at least one model detection rule; In response to the detection being completed, a detection report is displayed, wherein the detection report is used to indicate at least one situation in the at least one part model that does not comply with the model detection rule.

2. The method according to claim 1, characterized in that The obtaining of at least one part model to be detected comprises: Acquire a part model currently displayed in a model detection application, wherein the model detection application is used to perform model detection on the model part based on a model detection rule; or, Obtaining multiple part models loaded in the model detection application; or, The at least one part model in a target path is obtained, where the target path is a file path selected by the model detection application, and the folder in the target path is used to store the model file of the at least one part model.

3. The method according to claim 1, characterized in that In response to the model detection operation on the at least one part model, based on the selected at least one model detection rule, respectively performing model detection on the at least one part model comprises: In response to a model detection operation on the at least one part model, displaying a plurality of rule packages, the rules comprising at least two types of model detection rules; In response to a selection operation of at least one rule package, model detection is performed on the at least one part model based on the selected at least one rule package.

4. The method according to claim 1, characterized in that: In response to the model detection operation on the at least one part model, based on the selected at least one model detection rule, respectively performing model detection on the at least one part model comprises: In response to a model detection operation on the at least one part model, displaying a plurality of model detection rules according to function types; For any model detection rule, in response to a parameter setting operation on the model detection rule, adjusting the detection parameters of the model detection rule to obtain a custom rule; Based on at least one custom detection rule, model detection is performed on the at least one part model.

5. The method according to claim 1, characterized in that The method further comprises: Display a rule creation page, where the rule creation page is used to create a model detection rule; At least one model detection rule created based on the rule creation page is stored in a model detection rule library, wherein the model detection rules include general rules and non-general rules, wherein the general rules include system environment rules, general data rules, entity model rules and assembly model rules, and the non-general rules include rules related to product requirements.

6. The method according to claim 1, characterized in that The test report is displayed on a result display page, and the result display page also displays at least one display rule; The method further comprises: In response to a selection operation on any display rule, a portion of the detection report that conforms to the display rule is displayed on the result display page.

7. The method according to claim 1, characterized in that The basic constituent unit of the part model is a model object; The method further comprises: In response to a selection operation of any item in the inspection report, determining a target part model and a target model object indicated by the item; The target part model is displayed, and the target model object is highlighted in the target part model.

8. The method according to claim 1, characterized in that The basic constituent unit of the part model is a model object; The method further comprises: In response to a selection operation on any item in the detection report, determining a target model object indicated by the item; In the case that the target model object does not conform to the model detection rule, modification suggestion information is displayed, where the modification suggestion information is used to indicate a modification method for the target model object.

9. A model detection device, characterized in that: The device comprises: An acquisition module, used for acquiring at least one part model to be detected; A detection module, configured to, in response to a model detection operation on the at least one part model, perform model detection on the at least one part model based on at least one selected model detection rule, wherein the model detection is used to detect whether the part model complies with the at least one model detection rule; The first display module is used for displaying a detection report in response to the end of the detection, wherein the detection report is used for indicating at least one situation in the at least one part model that does not meet the model detection rule.

10. A computer device, characterized in that: The computer device comprises a processor and a memory, wherein the memory is used to store at least one computer program, and the at least one computer program is loaded by the processor to execute the model detection method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store at least one computer program, and the at least one computer program is used to execute the model detection method according to any one of claims 1 to 8.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the model detection method according to any one of claims 1 to 8 is implemented.