Product model generation method and apparatus, computer device, and storage medium
By automating the processing of product drawing information using computer equipment to generate parameter lists, bills of materials, and constraints, the inefficiency of traditional methods is solved, and efficient and accurate product model generation is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 金蝶云科技有限公司
- Filing Date
- 2023-03-07
- Publication Date
- 2026-05-12
AI Technical Summary
Traditional product model generation methods are inefficient and involve complex and cumbersome analysis processes, resulting in low generation efficiency and a high risk of errors.
The design information in the target drawings is obtained by computer equipment, the parameter information of the same materials is integrated, a parameter list and a bill of materials are generated, the relationship between the parameter information of different materials is analyzed, constraints are established, and finally a product model is generated.
It improved the efficiency of generating parameter lists and bills of materials, ensured the accuracy of bills of materials, and significantly improved the speed and accuracy of product model generation.
Smart Images

Figure CN116305895B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a product model generation method, apparatus, computer equipment, storage medium, and computer program product. Background Technology
[0002] A product model is a data file that contains structural, parameter, and material information of a product. A product model can be used to quickly generate a target bill of materials that meets the target performance parameters. Products composed of products based on the target bill of materials meet the target performance parameter requirements, thus realizing the rapid conversion from the product's target performance parameters to the target bill of materials.
[0003] In traditional technology, R&D personnel use CAD (Computer Aided Drafting) software to draw product design drawings. Then, based on multiple design drawings of the product, they analyze the performance parameters of different materials. Combining the analysis results and experience, they manually build the product model in the system. The analysis process is complex and cumbersome, resulting in low efficiency in generating product models. Summary of the Invention
[0004] Therefore, it is necessary to provide a product model generation method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the efficiency of product model generation in response to the above-mentioned technical problems.
[0005] Firstly, this application provides a method for generating a product model. The method includes:
[0006] Obtain the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings;
[0007] By fusing the parameter information of the same material from multiple design information sources, a parameter list and a material list corresponding to the target product are obtained;
[0008] Based on the design information, the relationship between the parameter information of different materials is analyzed to obtain the constraints corresponding to the target product.
[0009] Based on the parameter list, bill of materials, and constraints corresponding to the target product, the product model corresponding to the target product is obtained.
[0010] In one embodiment, obtaining the target drawing corresponding to the target product, and the design information corresponding to each design scheme in the target drawing, includes:
[0011] Obtain the target drawings corresponding to the target product; the target drawings include multiple design schemes corresponding to the target product.
[0012] Obtain the structural information corresponding to each of the design schemes, and the parameter information corresponding to each material in the structural information;
[0013] Based on the structural information corresponding to the design scheme, and the parameter information corresponding to each material in the structural information, the design information corresponding to the design scheme is obtained.
[0014] In one embodiment, fusing parameter information of the same material from multiple design information sources to obtain a parameter list and a bill of materials corresponding to the target product includes:
[0015] Obtain the parameter information corresponding to the material with the same structural information in each of the design information;
[0016] By combining the parameter information corresponding to materials with the same structural information from multiple design information sources, a parameter list corresponding to the target product is obtained.
[0017] Based on the design scheme and the parameter list, the bill of materials corresponding to the target product is obtained.
[0018] In one embodiment, obtaining the bill of materials corresponding to the target product based on the design scheme and the parameter list includes:
[0019] Based on the design scheme, obtain the material identifier corresponding to each parameter information in the parameter list;
[0020] By associating each parameter information in the parameter list with its corresponding material identifier, a material list corresponding to the target product is obtained.
[0021] In one embodiment, the analysis of the relationship between parameter information of different materials based on multiple design information to obtain the constraints corresponding to the target product includes:
[0022] Obtain the materials to be compared and the materials to be analyzed;
[0023] For each piece of design information, obtain the comparison parameters corresponding to the material to be compared, and the analysis parameters corresponding to the material to be analyzed;
[0024] Compare the parameters to be compared and the parameters to be analyzed corresponding to multiple design information items;
[0025] If the same comparison parameter corresponds to the same analysis parameter, then the binding relationship between the comparison parameter and the analysis parameter is determined.
[0026] Based on the binding relationship, the constraints corresponding to the target product are obtained.
[0027] In one embodiment, if at least one identical comparison parameter corresponds to an identical analysis parameter, the step of analyzing the relationship between parameter information of different materials based on multiple design information to obtain the constraints corresponding to the target product further includes:
[0028] By combining the same comparison parameters from multiple design information sources, the set of analysis parameters corresponding to the comparison parameters is obtained.
[0029] Obtain the target comparison parameter from the comparison parameters, and compare the set of parameters to be analyzed corresponding to each non-target comparison parameter with the set of parameters to be analyzed corresponding to the target comparison parameter to obtain the reference parameter corresponding to each non-target comparison parameter.
[0030] The intersection of the reference parameters corresponding to the multiple non-target comparison parameters is obtained to obtain the mutual exclusion parameters corresponding to the target comparison parameters.
[0031] Based on the target comparison parameters and the corresponding mutual exclusion parameters, the mutual exclusion relationship corresponding to the target comparison parameters is obtained;
[0032] The constraint conditions corresponding to the target product obtained based on the binding relationship include:
[0033] Based on the binding relationship and the mutual exclusion relationship, the constraints corresponding to the target product are obtained.
[0034] In one embodiment, the product model generation method further includes:
[0035] Based on the parameter list and constraints in the product model, a product configuration model corresponding to the target product is generated;
[0036] Based on the product configuration model, obtain the target parameters corresponding to the target product;
[0037] Based on the target parameters and the bill of materials, the target bill of materials corresponding to the target parameters is obtained.
[0038] Secondly, this application also provides a product model generation apparatus. The apparatus includes:
[0039] The acquisition module is used to acquire the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings;
[0040] The fusion module is used to fuse the parameter information of the same material in multiple design information to obtain the parameter list and material list corresponding to the target product;
[0041] The analysis module is used to analyze the relationship between the parameter information of different materials based on multiple design information to obtain the constraints corresponding to the target product.
[0042] The generation module is used to obtain the product model corresponding to the target product based on the parameter list, bill of materials and constraints corresponding to the target product.
[0043] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0044] Obtain the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings;
[0045] By fusing the parameter information of the same material from multiple design information sources, a parameter list and a material list corresponding to the target product are obtained;
[0046] Based on the design information, the relationship between the parameter information of different materials is analyzed to obtain the constraints corresponding to the target product.
[0047] Based on the parameter list, bill of materials, and constraints corresponding to the target product, the product model corresponding to the target product is obtained.
[0048] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0049] Obtain the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings;
[0050] By fusing the parameter information of the same material from multiple design information sources, a parameter list and a material list corresponding to the target product are obtained;
[0051] Based on the design information, the relationship between the parameter information of different materials is analyzed to obtain the constraints corresponding to the target product.
[0052] Based on the parameter list, bill of materials, and constraints corresponding to the target product, the product model corresponding to the target product is obtained.
[0053] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0054] Obtain the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings;
[0055] By fusing the parameter information of the same material from multiple design information sources, a parameter list and a material list corresponding to the target product are obtained;
[0056] Based on the design information, the relationship between the parameter information of different materials is analyzed to obtain the constraints corresponding to the target product.
[0057] Based on the parameter list, bill of materials, and constraints corresponding to the target product, the product model corresponding to the target product is obtained.
[0058] The aforementioned product model generation method, apparatus, computer equipment, storage medium, and computer program product acquire the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings. The parameter information of the same material in multiple design information is fused to obtain the parameter list and bill of materials corresponding to the target product. The relationship between the parameter information of different materials is analyzed based on multiple design information to obtain the constraints corresponding to the target product. Based on the parameter list, bill of materials, and constraints corresponding to the target product, the product model corresponding to the target product is obtained. By acquiring design information for each design scheme in the target drawings using computer equipment, and combining the parameter information of the same materials in the design information, a parameter list for the product is obtained. The computer equipment completes the acquisition of design information and the combination of parameter information, improving the efficiency of parameter list generation. The computer equipment directly obtains the material identifiers corresponding to each parameter in the parameter list from the target drawings and associates the parameter information with the corresponding material identifiers, thus improving both the accuracy and efficiency of the material list generation. The computer equipment analyzes the relationships between parameter information using a set algorithm; its fast processing speed and high efficiency improve the efficiency of constraint generation. Compared to manually filling in the design information of each design scheme in the design drawings into a table, then organizing the parameter information of the same materials in the table, and then analyzing the relationships between the parameter information of different materials, which is time-consuming and prone to errors, the computer equipment generates the product model using the above method, which is faster and more accurate, thus improving the efficiency of product model generation. Attached Figure Description
[0059] Figure 1 This is an application environment diagram of the product model generation method in one embodiment;
[0060] Figure 2 This is a flowchart illustrating a product model generation method in one embodiment;
[0061] Figure 3 This is a flowchart illustrating the information acquisition steps in one embodiment;
[0062] Figure 4 This is a flowchart illustrating the constraint generation steps in one embodiment;
[0063] Figure 5 This is a flowchart illustrating the constraint generation step in another embodiment;
[0064] Figure 6 This is a schematic diagram of the product model generation method in one embodiment;
[0065] Figure 7 This is a structural block diagram of a product model generation device in one embodiment;
[0066] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0067] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0068] The product model generation method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated on server 104 or placed on the cloud or other network servers. Both the terminal and server can be used independently to execute the product model generation method provided in this embodiment. The terminal and server can also be used collaboratively to execute the product model generation method provided in this embodiment. For example, a computer device acquires the target drawing corresponding to the target product, and the design information corresponding to each design scheme in the target drawing. It then fuses the parameter information of the same materials in multiple design information sets to obtain a parameter list and a bill of materials corresponding to the target product. Based on multiple design information sets, it analyzes the relationship between the parameter information of different materials to obtain the constraints corresponding to the target product. Based on the parameter list, bill of materials, and constraints corresponding to the target product, it obtains the product model corresponding to the target product. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0069] In one embodiment, such as Figure 2 As shown, a product model generation method is provided. This method can be applied to computer devices, which can be terminals or servers. The method can be executed independently by the terminal or server, or it can be implemented through interaction between the terminal and the server. This embodiment uses the application of this method to a computer device as an example for illustration, including steps 202 to 208.
[0070] Step 202: Obtain the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings.
[0071] Here, "target product" refers to a product category, such as computers or mobile phones. "Target drawing" refers to a design drawing that includes at least product structural and parameter information. The target drawing contains multiple design schemes corresponding to the target product. The target drawing can be CAD (Computer-Aided Drafting) drawing. "Design scheme" refers to the product's design drawing. The design scheme includes, but is not limited to, the relationship between product modules and materials, material location information, material parameter information, material models, connection relationships between materials, and material structural information. "Design information" refers to the information contained in the design scheme. Design information includes, but is not limited to, structural information and material parameter information. The content of the design information can be set according to actual needs.
[0072] For example, the operator imports the target drawing corresponding to the target product into the computer device. The target drawing contains multiple design schemes. The computer device obtains the target drawing and then obtains the design information corresponding to each design scheme in the target drawing.
[0073] In one embodiment, the operator imports multiple target drawings corresponding to the target product into a computer device. Each target drawing contains a design scheme of the target product, and the computer device obtains the corresponding design information from the design scheme of each target drawing.
[0074] Step 204: Merge the parameter information of the same material in multiple design information to obtain the parameter list and material list corresponding to the target product.
[0075] In this context, "materials" refers to the parts within the equipment. It can be understood as existing units that can be directly used in the production of the target product. The materials for the same component may differ in different design drawings. For example, a monitor consists of a structural frame, display units, a scanning control panel, and a power supply. The display unit comprises LEDs and a driving circuit. In the monitor design drawings produced by organization A, the display unit is considered one material. In contrast, organization B uses LEDs (Light-Emitting Diode Light) and a driving circuit. In the design drawings produced by organization B, the LEDs are considered one material, and the driving circuit is considered another. Parameter information refers to the information composed of the parameters of the materials. Parameter information can contain one or more parameters. For example, the parameter information for a screen might be (13-inch, capacitive screen, blue light filtering). Integration refers to combination and association. A parameter list is a data set containing all the structural information and corresponding parameter information for the materials in the target drawing. The parameter list can be represented as a tree structure and stored in tables or text formats. A bill of materials (BOM) is a data set that contains at least all parameter information from the target drawing, along with the corresponding material identifiers. A BOM can be stored in tabular or text format.
[0076] For example, a computer device combines and associates parameter information corresponding to the same material in multiple design information to obtain a parameter list and a bill of materials corresponding to the target product.
[0077] In one embodiment, the computer device combines the parameter information of the same material in multiple design information to obtain a parameter list corresponding to the target product. Based on multiple design schemes in the target drawing, it obtains the material identifier corresponding to each parameter information in the parameter list and associates the parameter information in the parameter list with the corresponding material identifier to obtain the bill of materials corresponding to the target product.
[0078] In one embodiment, the computer device combines the parameter information of the same material from multiple design information to obtain a parameter list corresponding to the target product, obtains a product list, retrieves the material identifier corresponding to each parameter information in the parameter list from the product list, and associates the parameter information in the parameter list with the corresponding material identifier to obtain a material list corresponding to the target product.
[0079] Step 206: Based on multiple design information, analyze the relationship between the parameter information of different materials to obtain the constraints corresponding to the target product.
[0080] Among them, constraints refer to the relationships between parameter information of different materials. Constraints include, but are not limited to, binding relationships, exclusion relationships, and proportional relationships, and there is no limit to the number of each type of relationship.
[0081] For example, a computer device compares and analyzes the relationships between the parameter information of different materials in different design information to obtain binding relationships, exclusion relationships, and proportional relationships. These binding relationships, exclusion relationships, and proportional relationships are then used to form the constraints corresponding to the target product. For instance, if there are three design schemes in the target drawing, in design scheme 1, the parameter information corresponding to material A is (1,2), and the parameter information corresponding to material B is (11,12). The relationship between the parameter information of material A and material B in design scheme 1 is A(1,2)-B(11,12). In design scheme 2, the relationship between the parameter information of material A and material B is A(1,2)-B(11,12). In design scheme 3, the relationship between the parameter information of material A and material B is A(2,3)-B(13,14). Then, by analyzing A(1,2)-B(11,12), A(1,2)-B(11,12), and A(2,3)-B(13,14), the constraints corresponding to the target product are obtained.
[0082] Step 208: Based on the parameter list, bill of materials and constraints corresponding to the target product, obtain the product model corresponding to the target product.
[0083] The product model refers to a data file that includes at least a parameter list, a bill of materials (BOM), and constraints. The product model is used to quickly generate a BOM that meets the performance parameter requirements, enabling rapid conversion from product performance parameters to a BOM.
[0084] For example, a computer product may combine the parameter list, bill of materials, and constraints corresponding to the target product to form a product model corresponding to the target product.
[0085] In the above product model generation method, the target drawing corresponding to the target product and the design information corresponding to each design scheme in the target drawing are obtained. The parameter information of the same material in multiple design information is integrated to obtain the parameter list and material list corresponding to the target product. The relationship between the parameter information of different materials is analyzed based on multiple design information to obtain the constraints corresponding to the target product. Based on the parameter list, material list and constraints corresponding to the target product, the product model corresponding to the target product is obtained. By acquiring design information for each design scheme in the target drawings using computer equipment, and combining the parameter information of the same materials in the design information, a parameter list for the product is obtained. The computer equipment completes the acquisition of design information and the combination of parameter information, improving the efficiency of parameter list generation. The computer equipment directly obtains the material identifiers corresponding to each parameter in the parameter list from the target drawings and associates the parameter information with the corresponding material identifiers, thus improving both the accuracy and efficiency of the material list generation. The computer equipment analyzes the relationships between parameter information using a set algorithm; its fast processing speed and high efficiency improve the efficiency of constraint generation. Compared to manually filling in the design information of each design scheme in the design drawings into a table, then organizing the parameter information of the same materials in the table, and then analyzing the relationships between the parameter information of different materials, which is time-consuming and prone to errors, the computer equipment generates the product model using the above method, which is faster and more accurate, thus improving the efficiency of product model generation.
[0086] In one embodiment, such as Figure 3 As shown, obtaining the target drawings corresponding to the target product, and the design information corresponding to each design scheme in the target drawings, includes:
[0087] Step 302: Obtain the target drawings corresponding to the target product; the target drawings include multiple design schemes corresponding to the target product.
[0088] For example, a computer device acquires target drawings corresponding to a target product, and the target drawings include multiple design schemes corresponding to the target product.
[0089] In one embodiment, a computer device acquires a target drawing corresponding to the target product, the target drawing including multiple design schemes for the target product.
[0090] In one embodiment, a computer device acquires multiple drawings corresponding to a target product, each drawing including at least one design method for the target product, acquires design schemes on each drawing, and obtains target drawings corresponding to the target product based on all the above design schemes.
[0091] Step 304: Obtain the structural information corresponding to each design scheme, as well as the parameter information corresponding to each material in the structural information.
[0092] Structural information refers to the correspondence between modules, components, and materials. It can refer to the relationships between all modules, components, and materials in a target product, or it can refer to the attribution information corresponding to each material. For example, a horizontal support is a material, a horizontal support is a component of a stand, a stand is a component of a monitor, and a monitor is a component of a desktop computer. The structural information of the horizontal support is: Desktop Computer - Monitor - Stand.
[0093] For example, the computer device obtains the structural information corresponding to each design scheme, which includes all the materials of the target product, and then obtains the parameter information corresponding to each material based on the design scheme.
[0094] Step 306: Based on the structural information corresponding to the design scheme and the parameter information corresponding to each material in the structural information, the design information corresponding to the design scheme is obtained.
[0095] For example, the computer device associates each material in the structural information with the corresponding parameter information to obtain the design information corresponding to the design scheme.
[0096] In this embodiment, the computer device acquires the target drawing corresponding to the target product, then obtains the structural information and the parameter information corresponding to the materials in the structural information from the design scheme of the target drawing, and generates the design information corresponding to the design scheme based on the structural information and parameter information. The computer device has high execution efficiency and high accuracy, which improves the efficiency and accuracy of the design information.
[0097] In one embodiment, fusing parameter information for the same material from multiple design information sources to obtain a parameter list and a bill of materials corresponding to the target product includes:
[0098] Obtain the parameter information corresponding to the materials with the same structural information in each design information; combine the parameter information corresponding to the materials with the same structural information in multiple design information to obtain the parameter list corresponding to the target product; based on the design scheme and the parameter list, obtain the bill of materials corresponding to the target product.
[0099] For example, for each material with the same structural information, the computer device obtains the parameter information of the material from each design information, combines the multiple parameter information corresponding to the material to obtain the parameter information set of the material, associates the material in the structural information with the corresponding parameter information set to obtain the parameter list corresponding to the target product, and then obtains the bill of materials corresponding to the target product based on the parameter list and the design scheme in the target drawing.
[0100] In this embodiment, design information corresponding to each design scheme in the target drawing is obtained through computer equipment, and parameter information of the same material in the design information is combined to obtain a parameter list corresponding to the target product. The acquisition of design information and combination of parameter information are completed through computer equipment, which improves the efficiency of parameter list generation.
[0101] In one embodiment, based on the design scheme and parameter list, the bill of materials corresponding to the target product is obtained as follows:
[0102] Based on the design scheme, obtain the material identifier corresponding to each parameter in the parameter list; associate each parameter in the parameter list with the corresponding material identifier to obtain the material list corresponding to the target product.
[0103] The material identifier is a string corresponding to the material. The material identifier can be the material model, material code, etc. For example, hard drive model A01.
[0104] For example, the computer device obtains the material identifier corresponding to each parameter information in the parameter list from the design scheme in the target drawing, associates and saves the parameter information in the parameter list with the corresponding material identifier, and obtains the material list of the target product.
[0105] In this embodiment, the computer device directly obtains the material identifier corresponding to each parameter information in the parameter list from the target drawing, and associates the parameter information with the corresponding material identifier, which improves both the accuracy and efficiency of the material list generation.
[0106] In one embodiment, such as Figure 4 As shown, based on multiple design information, the relationship between the parameter information of different materials is analyzed, and the constraints corresponding to the target product are obtained, including:
[0107] Step 402: Obtain the materials to be compared and the materials to be analyzed.
[0108] The material to be compared refers to one or more materials in the parameter list. The material to be analyzed refers to one or more materials in the parameter list that do not include the material to be compared.
[0109] For example, the computer device obtains one or more materials from the parameter list as materials to be compared, and then obtains one or more materials from the remaining materials in the parameter list as materials to be analyzed.
[0110] Step 404: For each piece of design information, obtain the comparison parameters corresponding to the material to be compared, and the analysis parameters corresponding to the material to be analyzed.
[0111] Among them, the comparison parameter refers to the combination of parameter information composed of the parameter information of the material to be compared. The analysis parameter refers to the combination of parameter information composed of the parameter information of the material to be analyzed.
[0112] For example, the computer device obtains the comparison parameters corresponding to the material to be compared and the analysis parameters corresponding to the material to be analyzed from each design information, thus obtaining the comparison parameters and analysis parameters corresponding to each design information.
[0113] Step 406: Compare the parameters to be compared and the parameters to be analyzed corresponding to multiple design information.
[0114] For example, the computer device performs comparative analysis on the parameters to be compared and the parameters to be analyzed corresponding to multiple design information.
[0115] In one embodiment, the computer device compares the parameters to be compared corresponding to multiple design information, and forms a set of parameters to be analyzed corresponding to the same comparison parameters, and determines whether the parameters to be analyzed in each set of parameters to be analyzed are the same.
[0116] Step 408: If the same comparison parameters correspond to the same analysis parameters, then determine the binding relationship between the comparison parameters and the analysis parameters.
[0117] In this context, the binding relationship refers to the correspondence between the parameters to be compared and the parameters to be analyzed. It can be understood as a one-to-one correspondence between the parameters to be compared and the parameters to be analyzed. For example, if the material to be compared is a screen, the corresponding parameter to be compared is 13 inches; if the material to be analyzed is the screen casing, the corresponding parameter to be analyzed is (27 cm, 20 cm). If the parameter to be compared is 13 inches, and the corresponding parameter to be analyzed is (27 cm, 20 cm), then 13 inches - (27 cm, 20 cm) represents a binding relationship between the screen and the screen casing.
[0118] For example, the computer device compares multiple parameters to be analyzed corresponding to the same comparison parameter. If the multiple parameters to be analyzed are the same, the correspondence between the comparison parameter and the analysis parameter is taken as the binding relationship between the comparison material and the analysis material.
[0119] Step 410: Based on the binding relationship, obtain the constraints corresponding to the target product.
[0120] For example, the computer device will form the constraints corresponding to the target product by combining all the binding relationships corresponding to the target product.
[0121] In this embodiment, the computer device analyzes the relationship between parameter information of different materials to obtain the constraint conditions corresponding to the target product. The computer device analyzes the relationship between parameter information through a set algorithm. The computer device has a fast calculation speed and high efficiency, which improves the efficiency of constraint condition generation.
[0122] In one embodiment, such as Figure 5 As shown, if at least one identical comparison parameter corresponds to a different analysis parameter; based on multiple design information, the relationship between the parameter information of different materials is analyzed to obtain the constraints corresponding to the target product, which also includes:
[0123] Step 502: Combine the same comparison parameters from multiple design information sources to obtain the set of comparison parameters to be analyzed.
[0124] The set of parameters to be analyzed refers to the collection of parameters corresponding to the same comparison parameter. The set of parameters to be analyzed can be one or more, and includes at least one parameter to be analyzed.
[0125] For example, the computer device combines the same comparison parameter with the corresponding analysis parameter to obtain at least one set of analysis parameters, and each set of analysis parameters corresponds to one comparison parameter.
[0126] Step 504: Obtain the target comparison parameter from the comparison parameters. Compare the set of parameters to be analyzed corresponding to each non-target comparison parameter with the set of parameters to be analyzed corresponding to the target comparison parameter to obtain the reference parameter corresponding to each non-target comparison parameter.
[0127] Here, the target alignment parameter refers to any one of the multiple alignment parameters. Non-target alignment parameters refer to the alignment parameters excluding the target alignment parameter. Reference parameters are parameters that exist in the set of parameters to be analyzed for the non-target alignment parameters, but not in the set of parameters to be analyzed for the target alignment parameter.
[0128] For example, the computer device obtains a target comparison parameter from a plurality of comparison parameters, compares the set of parameters to be analyzed corresponding to each non-target comparison parameter with the set of parameters to be analyzed corresponding to the target comparison parameter, and obtains a reference parameter corresponding to each non-target comparison parameter.
[0129] Step 506: Find the intersection of the reference parameters corresponding to multiple non-target comparison parameters to obtain the mutually exclusive parameters corresponding to the target comparison parameters.
[0130] Mutually exclusive parameters refer to parameters that are not present in the set of parameters to be analyzed for the target comparison parameter, but exist in the set of parameters to be analyzed for each non-target comparison parameter. A mutually exclusive parameter can be one or more parameters.
[0131] For example, the computer device finds the intersection of reference parameters corresponding to multiple non-target comparison parameters, and uses the parameter information obtained from the intersection as the mutually exclusive parameters corresponding to the target comparison parameter.
[0132] Step 508: Based on the target comparison parameters and the corresponding mutual exclusion parameters, obtain the mutual exclusion relationship corresponding to the target comparison parameters.
[0133] Mutual exclusion refers to the correspondence between the target comparison parameter and the corresponding mutual exclusion parameter.
[0134] For example, the computer device establishes a correspondence between the target comparison parameter and the corresponding mutually exclusive parameter, and uses the correspondence between the target comparison parameter and the corresponding mutually exclusive parameter as the mutual exclusive relationship corresponding to the target comparison parameter.
[0135] Step 510: Based on the binding relationship, obtain the constraint conditions corresponding to the target product, including: based on the binding relationship and the mutual exclusion relationship, obtain the constraint conditions corresponding to the target product.
[0136] For example, the computer device uses all the binding relationships and mutual exclusion relationships corresponding to the target product to form the constraints corresponding to the target product.
[0137] In this embodiment, the computer device analyzes the relationship between parameter information of different materials to obtain the constraint conditions corresponding to the target product. The computer device analyzes the relationship between parameter information through a set algorithm. The computer device has a fast calculation speed and high efficiency, which improves the efficiency of constraint condition generation.
[0138] In one embodiment, the product model generation method further includes:
[0139] Based on the parameter list and constraints in the product model, generate the product configuration model corresponding to the target product; based on the product configuration model, obtain the target parameters corresponding to the target product; based on the target parameters and the bill of materials, obtain the target bill of materials corresponding to the target parameters.
[0140] The product configuration model refers to the input interface used to obtain performance parameters. The product configuration model includes multiple material parameters, which correspond to the parameter information of the materials in the parameter list, and there are constraints between the multiple material parameters. Target parameters refer to the desired performance parameters. This can be understood as the performance parameter requirements proposed by the customer. The target bill of materials refers to the bill of materials that meets the target parameters.
[0141] For example, the computer equipment generates a product configuration model based on the parameter list in the product model, sets binding and mutual exclusion relationships for the material parameters in the product configuration model according to the constraints in the product model, and the operator or customer inputs the target parameters through the product configuration model. The computer equipment obtains the target parameters corresponding to the target product, and then generates the target bill of materials corresponding to the target parameters based on the target parameters and the bill of materials.
[0142] In one embodiment, the computer device generates a product configuration model based on the parameter list in the product model, sets binding and mutual exclusion relationships for the material parameters in the product configuration model according to the constraints in the product model, and the operator or customer inputs target parameters through the product configuration model. The computer device obtains the target parameters corresponding to the target product, and then generates a target bill of materials corresponding to the target parameters based on the target parameters and the bill of materials. Based on the target bill of materials and the parameter list, it generates a target product drawing corresponding to the target parameters.
[0143] In this embodiment, a user configuration interface is generated based on the product model corresponding to the target product. The target parameters of the target product are obtained through the user configuration interface. Based on the target parameters and the bill of materials of the product model, the target bill of materials corresponding to the target parameters is directly obtained. It is not necessary to design the target product based on the target parameters each time, obtain the design scheme corresponding to the target parameters, and then obtain the target bill of materials based on the design scheme. The user configuration interface can obtain different target parameters multiple times. The product model directly generates the target bill of materials corresponding to the target parameters based on the obtained target parameters, which improves the generation efficiency of the target bill of materials.
[0144] In one exemplary embodiment, using as Figure 6 The intelligent device generates a product configuration model, including the following steps:
[0145] The operator imports the CAD drawing corresponding to the target product into the intelligent device. The target drawing contains multiple design schemes for the target product. The intelligent device acquires the target drawing and then obtains the structural information corresponding to each design scheme. The structural information includes all the materials of the target product. Then, based on the design scheme, it obtains the parameter information corresponding to each material and associates each material in the structural information with the corresponding parameter information to obtain the design information corresponding to each design scheme.
[0146] For each material with the same structural information, the parameter information of the material is obtained from each design information. The multiple parameter information corresponding to the material is combined to obtain the parameter information set of the material. The material in the structural information is associated with the corresponding parameter information set to obtain the parameter list corresponding to the target product.
[0147] Obtain the material identifier corresponding to each parameter in the parameter list from the design scheme in the target drawings, associate and save the parameter information in the parameter list with the corresponding material identifier to obtain the bill of materials for the target product.
[0148] One or more materials are selected from the parameter list as comparison materials, and then one or more materials are selected from the remaining materials in the parameter list as analysis materials. From each design information, the comparison parameters corresponding to the comparison materials and the analysis parameters corresponding to the analysis materials are obtained, resulting in comparison parameters and analysis parameters for each design information. The comparison parameters corresponding to multiple design information are compared, and the analysis parameters corresponding to the same comparison parameters are grouped into a set of analysis parameters. It is then determined whether the analysis parameters in each set are identical. If multiple analysis parameters in a set are identical, the correspondence between the comparison parameters and the analysis parameters is established. This serves as the binding relationship between the materials to be compared and the materials to be analyzed. If there are at least one identical set of parameters to be compared that are not identical, then a target parameter to be compared is obtained from the multiple parameters to be compared. The set of parameters to be analyzed corresponding to each non-target parameter to be compared is compared with the set of parameters to be analyzed corresponding to the target parameter to obtain the reference parameter corresponding to each non-target parameter. The intersection of the reference parameters corresponding to multiple non-target parameters is calculated, and the parameter information obtained from the intersection is used as the mutually exclusive parameter corresponding to the target parameter. All binding relationships and mutually exclusive relationships corresponding to the target product are used to form the constraint conditions corresponding to the target product.
[0149] The computer equipment generates a product configuration model based on the parameter list in the product model. Based on the constraints in the product model, it sets binding and mutual exclusion relationships for the material parameters in the product configuration model. Operators or customers input target parameters through the product configuration model. The computer equipment obtains the target parameters corresponding to the target product and then generates the target bill of materials corresponding to the target parameters based on the target parameters and the bill of materials.
[0150] In the above product model generation method, the target drawing corresponding to the target product and the design information corresponding to each design scheme in the target drawing are obtained. The parameter information of the same material in multiple design information is integrated to obtain the parameter list and material list corresponding to the target product. The relationship between the parameter information of different materials is analyzed based on multiple design information to obtain the constraints corresponding to the target product. Based on the parameter list, material list and constraints corresponding to the target product, the product model corresponding to the target product is obtained. By acquiring design information for each design scheme in the target drawings using computer equipment, and combining the parameter information of the same materials in the design information, a parameter list for the product is obtained. The computer equipment completes the acquisition of design information and the combination of parameter information, improving the efficiency of parameter list generation. The computer equipment directly obtains the material identifiers corresponding to each parameter in the parameter list from the target drawings and associates the parameter information with the corresponding material identifiers, thus improving both the accuracy and efficiency of the material list generation. The computer equipment analyzes the relationships between parameter information using a set algorithm; its fast processing speed and high efficiency improve the efficiency of constraint generation. Compared to manually filling in the design information of each design scheme in the design drawings into a table, then organizing the parameter information of the same materials in the table, and then analyzing the relationships between the parameter information of different materials, which is time-consuming and prone to errors, the computer equipment generates the product model using the above method, which is faster and more accurate, thus improving the efficiency of product model generation.
[0151] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0152] Based on the same inventive concept, this application also provides a product model generation apparatus for implementing the product model generation method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more product model generation apparatus embodiments provided below can be found in the limitations of the product model generation method described above, and will not be repeated here.
[0153] In one embodiment, such as Figure 7 As shown, a product model generation device is provided, including: an acquisition module 702, a fusion module 704, an analysis module 706, and a generation module 708, wherein:
[0154] The acquisition module 702 is used to acquire the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings;
[0155] The fusion module 704 is used to fuse the parameter information of the same material in multiple design information to obtain the parameter list and material list corresponding to the target product;
[0156] Analysis module 706 is used to analyze the relationship between parameter information of different materials based on multiple design information to obtain the constraints corresponding to the target product.
[0157] The generation module 708 is used to obtain the product model corresponding to the target product based on the parameter list, bill of materials and constraints corresponding to the target product.
[0158] In one embodiment, the acquisition module 702 is further configured to: acquire target drawings corresponding to the target product; the target drawings include multiple design schemes corresponding to the target product; acquire structural information corresponding to each design scheme, and parameter information corresponding to each material in the structural information; and obtain design information corresponding to the design scheme based on the structural information corresponding to the design scheme and the parameter information corresponding to each material in the structural information.
[0159] In one embodiment, the fusion module 704 is further configured to: obtain parameter information corresponding to materials with the same structural information in each design information; combine the parameter information corresponding to materials with the same structural information in multiple design information to obtain a parameter list corresponding to the target product; and obtain a bill of materials corresponding to the target product based on the design scheme and the parameter list.
[0160] In one embodiment, the fusion module 704 is further configured to: obtain the material identifier corresponding to each parameter information in the parameter list based on the design scheme; associate each parameter information in the parameter list with the corresponding material identifier to obtain the material list corresponding to the target product.
[0161] In one embodiment, the analysis module 706 is further configured to: acquire the material to be compared and the material to be analyzed; for each design information, acquire the comparison parameters corresponding to the material to be compared and the analysis parameters corresponding to the material to be analyzed; compare the comparison parameters and analysis parameters corresponding to multiple design information; if the analysis parameters corresponding to the same comparison parameters are all the same, determine the binding relationship between the comparison parameters and the analysis parameters; and obtain the constraint conditions corresponding to the target product based on the binding relationship.
[0162] In one embodiment, the analysis module 706 is further configured to: combine the same comparison parameters from multiple design information to obtain a set of comparison parameters; obtain the target comparison parameters from the comparison parameters; compare the set of comparison parameters corresponding to each non-target comparison parameter with the set of comparison parameters corresponding to the target comparison parameter to obtain a reference parameter corresponding to each non-target comparison parameter; find the intersection of the reference parameters corresponding to multiple non-target comparison parameters to obtain the mutually exclusive parameters corresponding to the target comparison parameter; obtain the mutually exclusive relationship corresponding to the target comparison parameter based on the target comparison parameter and the corresponding mutually exclusive parameter; and obtain the constraint conditions corresponding to the target product based on the binding relationship, including obtaining the constraint conditions corresponding to the target product based on the binding relationship and the mutually exclusive relationship.
[0163] In one embodiment, the product model generation device further includes a configuration module, which is used to: generate a product configuration model corresponding to the target product based on the parameter list and constraints in the product model; obtain the target parameters corresponding to the target product based on the product configuration model; and obtain the target bill of materials corresponding to the target parameters based on the target parameters and the bill of materials.
[0164] Each module in the aforementioned product model generation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0165] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a product model generation method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0166] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0167] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0168] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0169] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0170] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0171] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0172] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0173] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A product model generation method, characterized in that, The method includes: Obtain the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings; By fusing the parameter information of the same material from multiple design information sources, a parameter list and a material list corresponding to the target product are obtained; Based on the design information, the relationship between the parameter information of different materials is analyzed to obtain the constraints corresponding to the target product. Based on the parameter list, bill of materials, and constraints corresponding to the target product, a product model corresponding to the target product is obtained; the product model refers to a data file that at least contains the parameter list, the bill of materials, and the constraints, and is used to generate a product bill of materials that meets the performance parameters according to the performance parameter requirements.
2. The method according to claim 1, characterized in that, The acquisition of the target drawings corresponding to the target product, and the design information corresponding to each design scheme in the target drawings, includes: Obtain the target drawings corresponding to the target product; the target drawings include multiple design schemes corresponding to the target product. Obtain the structural information corresponding to each of the design schemes, and the parameter information corresponding to each material in the structural information; Based on the structural information corresponding to the design scheme, and the parameter information corresponding to each material in the structural information, the design information corresponding to the design scheme is obtained.
3. The method according to claim 1, characterized in that, The step of fusing parameter information for the same material from multiple design information sources to obtain the parameter list and material list corresponding to the target product includes: Obtain the parameter information corresponding to the material with the same structural information in each of the design information; By combining the parameter information corresponding to materials with the same structural information from multiple design information sources, a parameter list corresponding to the target product is obtained. Based on the design scheme and the parameter list, the bill of materials corresponding to the target product is obtained.
4. The method according to claim 3, characterized in that, The process of obtaining the bill of materials corresponding to the target product based on the design scheme and the parameter list includes: Based on the design scheme, obtain the material identifier corresponding to each parameter information in the parameter list; By associating each parameter information in the parameter list with its corresponding material identifier, a material list corresponding to the target product is obtained.
5. The method according to claim 1, characterized in that, The analysis of the relationship between parameter information of different materials based on multiple design information sources yields the following constraints for the target product: Obtain the materials to be compared and the materials to be analyzed; For each piece of design information, obtain the comparison parameters corresponding to the material to be compared, and the analysis parameters corresponding to the material to be analyzed; Compare the parameters to be compared and the parameters to be analyzed corresponding to multiple design information items; If the same comparison parameter corresponds to the same analysis parameter, then the binding relationship between the comparison parameter and the analysis parameter is determined. Based on the binding relationship, the constraints corresponding to the target product are obtained.
6. The method according to claim 5, characterized in that, If at least one identical comparison parameter corresponds to a different analysis parameter; the step of analyzing the relationship between parameter information of different materials based on multiple design information to obtain the constraints corresponding to the target product further includes: By combining the same comparison parameters from multiple design information sources, the set of analysis parameters corresponding to the comparison parameters is obtained. Obtain the target comparison parameter from the comparison parameters, and compare the set of parameters to be analyzed corresponding to each non-target comparison parameter with the set of parameters to be analyzed corresponding to the target comparison parameter to obtain the reference parameter corresponding to each non-target comparison parameter. The intersection of the reference parameters corresponding to the multiple non-target comparison parameters is obtained to obtain the mutual exclusion parameters corresponding to the target comparison parameters. Based on the target comparison parameters and the corresponding mutual exclusion parameters, the mutual exclusion relationship corresponding to the target comparison parameters is obtained; The constraint conditions corresponding to the target product obtained based on the binding relationship include: Based on the binding relationship and the mutual exclusion relationship, the constraints corresponding to the target product are obtained.
7. The method according to claim 1, characterized in that, The method further includes: Based on the parameter list and constraints in the product model, a product configuration model corresponding to the target product is generated; Based on the product configuration model, obtain the target parameters corresponding to the target product; Based on the target parameters and the bill of materials, the target bill of materials corresponding to the target parameters is obtained.
8. A product model generation device, characterized in that, The device includes: The acquisition module is used to acquire the target drawings corresponding to the target product, as well as the design information corresponding to each design scheme in the target drawings; The fusion module is used to fuse the parameter information of the same material in multiple design information to obtain the parameter list and material list corresponding to the target product; The analysis module is used to analyze the relationship between the parameter information of different materials based on multiple design information to obtain the constraints corresponding to the target product. The generation module is used to obtain a product model corresponding to the target product based on the parameter list, bill of materials and constraints corresponding to the target product; the product model refers to a data file that at least contains the parameter list, the bill of materials and the constraints, and is used to generate a product bill of materials that meets the performance parameters according to the performance parameter requirements.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.