A cad intelligent interaction method and system of an embedded web engine
By using embedded webpage engine technology, the deep integration of webpages and CAD is achieved in CAD software, which can autonomously generate or supplement modeling data, solving the problems of flexibility and efficiency in the existing CAD software interaction mode and realizing efficient and flexible intelligent interaction.
Patent Information
- Application Number
- CN202611070126.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-17
- Publication Date
- 2026-11-10
AI Technical Summary
The existing native plug-in development model of CAD software suffers from cumbersome interface development process, single interaction form, and insufficient flexibility. It cannot adapt to diverse design interaction needs, and the difficulty and long cycle of function and interface iteration and update make it impossible for the system to build models independently according to user needs.
Using embedded webpage engine technology, the required webpages are integrated into a webpage container to form a merged webpage. The merged webpage receives user modeling requirement information, generates a preliminary modeling group, and outputs it to CAD modeling software. The system automatically determines missing data based on existing parameters and searches for historical modeling data. Combined with user-selected or supplemented data, the final model is generated.
It improves the flexibility and reliability of intelligent interaction between CAD and web pages, ensuring that the model generation process is efficient and accurate, and adapts to diverse design interaction needs.
Smart Images

Figure CN123069480A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data transmission technology, and in particular to a CAD intelligent interaction method and system with an embedded web page engine. Background Technology
[0002] In computer-aided design scenarios such as industrial design, mechanical modeling, and engineering drawing, relying on extension plugins to upgrade CAD software functions, optimize human-computer interaction, and achieve intelligent assisted design is an important means to improve CAD modeling efficiency and design intelligence.
[0003] Currently, CAD software typically expands its functionality through native plugins. These plugins are mostly developed using native technologies such as C++, and can access CAD's graphic data and business interfaces. However, the traditional native plugin development model still has many inherent drawbacks. The native plugin interface development process is cumbersome, the interaction form is monotonous and rigid, the overall interaction flexibility is insufficient, it cannot adapt to the diverse modern design interaction needs, and the function and interface iteration updates are difficult and time-consuming.
[0004] Regarding the aforementioned technologies, in actual CAD and web page interaction processes, most involve loading plugins and then using plugins to input code containing parameters to build models. This results in the system being unable to autonomously build models according to user needs, thus the flexibility of intelligent interaction between CAD and web pages still has room for improvement. Summary of the Invention
[0005] To improve the flexibility of intelligent interaction between CAD and web pages, this invention provides a method and system for intelligent CAD interaction using an embedded web page engine.
[0006] In a first aspect, the present invention provides a CAD intelligent interaction method with an embedded webpage engine, employing the following technical solution:
[0007] A method for intelligent CAD interaction using an embedded web page engine includes:
[0008] Step 1: In response to the preset modeling signal, obtain the webpage container and the required webpage;
[0009] Step 2: Embed the required webpage into a webpage container using a preset embedded engine to obtain a merged webpage;
[0010] Step 3: Collect modeling requirements information by integrating web pages;
[0011] Step 4: Generate preliminary modeling groups according to the modeling requirements and output them to the fusion webpage;
[0012] Step 5: Filter the preliminary modeling group to obtain the requirement model and output it.
[0013] By adopting the above technical solution, the requirement webpage is integrated into a webpage container to form a fused webpage. Then, the fused webpage receives the user's modeling requirement information, generates a preliminary modeling group according to the modeling requirement information, and outputs it to the fused webpage. Finally, the requirement modeling is determined and modeling is performed to achieve the output. This allows the webpage to be integrated into CAD modeling software and interact with it, improving the flexibility of intelligent interaction between CAD and webpage.
[0014] Optionally, methods for generating preliminary modeling groups based on modeling requirements and outputting them to the merged webpage include:
[0015] Step 40: Obtain the characteristics of the demand information;
[0016] Step 41: Determine the modeling parameters and modeling features from the modeling requirement information based on the characteristics of the requirement information;
[0017] Step 42: Perform modeling operations according to the modeling parameters and modeling features to obtain the preliminary modeling group;
[0018] Step 43: If the preliminary modeling group exists, output the preliminary modeling group to the merged webpage;
[0019] Step 44: If the preliminary modeling group does not exist, determine the missing data based on the modeling parameters and modeling features and output it to the fusion webpage.
[0020] By adopting the above technical solution, modeling parameters and features are obtained from the modeling requirements information through the requirements information features. Then, modeling operations are performed according to these information to obtain a preliminary model combination. If it can be obtained, it is output for user confirmation. If it does not exist, the missing data that needs to be supplemented is determined and output for the user to supplement as needed. This avoids modeling stoppage caused by insufficient parameters, and improves the flexibility and reliability of the preliminary model group generation.
[0021] Alternatively, methods for obtaining the preliminary model set also include:
[0022] Step 45: Obtain the historical model set;
[0023] Step 46: Combine modeling parameters and modeling features to search for past models in the historical modeling set;
[0024] Step 47: Integrate past modeling data into a past modeling group and define it as the initial modeling group;
[0025] Step 48: Merge the preliminary modeling group with the missing data to form comprehensive data and output it to the merged webpage.
[0026] By adopting the above technical solution, the system searches for past models that meet the requirements in the historical modeling set based on the relevant information of the modeling, and then combines them into a past modeling group. This group is then integrated with the missing data to form comprehensive data and output. This ensures that the system will not stop modeling when it cannot accurately build a model based on the parameters, thus improving the flexibility of web page and CAD modeling interaction.
[0027] Optionally, methods for fusing the initial modeling set with missing data to form comprehensive data and output it also include:
[0028] Step 480: If the previous modeling does not exist, separate the modeling parameters and modeling features to obtain individual modeling information;
[0029] Step 481: Search for individual modeling groups in the historical modeling set based on individual modeling information;
[0030] Step 482: Compare multiple sets of individual modeling groups to select a comprehensive modeling group and define it as the preliminary modeling group;
[0031] Step 483: Merge the preliminary modeling group with the missing data to form comprehensive data and output it to the merged webpage.
[0032] By adopting the above technical solution, when past models cannot be found, the modeling-related information is decomposed into multiple independent single modeling information, then multiple sets of past models are searched and their intersection is taken, and finally the intersection is output. This avoids the situation where it is impossible to find possible models based on the total information and improves the flexibility of historical modeling search.
[0033] Optionally, the initial modeling group can be filtered to obtain requirement models and outputs including:
[0034] Step 50: Upon receiving a preset modeling confirmation signal, obtain the user-selected modeling from the preliminary modeling group;
[0035] Step 51: Define the user-selected modeling as requirement modeling and output it;
[0036] Step 52: If no modeling confirmation signal is received, obtain the supplementary data corresponding to the missing data;
[0037] Step 53: Integrate the supplementary data, modeling parameters, and modeling features to obtain supplementary modeling information;
[0038] Step 54: Perform modeling operations according to the supplementary modeling information to obtain and output the supplementary modeling group.
[0039] By adopting the above technical solution, when a modeling confirmation signal is received, the relevant model is generated in CAD according to the modeling selected by the user. When no confirmation signal is received, the user-supplemented data is collected and a supplementary modeling group is generated. This allows the user to select or supplement relevant required data from the historical models output by the system, improving the flexibility of intelligent interaction between the webpage and CAD.
[0040] Optionally, perform modeling operations based on the supplementary modeling information to obtain a supplementary modeling group and output the following:
[0041] Step 540: Obtain functional information features;
[0042] Step 541: Compare the supplementary modeling group with the preliminary modeling group to select the requirements modeling group;
[0043] Step 542: If the requirements modeling group exists, output the requirements modeling group to the merged webpage;
[0044] Step 543: When the requirement modeling group does not exist, search for functional requirement information in the modeling requirement information and supplementary data based on the functional information characteristics;
[0045] Step 544: Based on the functional requirements information, find and form functional modeling groups in the supplementary modeling group and the preliminary modeling group;
[0046] Step 545: Output the functional modeling group to the merged webpage.
[0047] By adopting the above technical solution, the intersection of the supplementary modeling group and the initial modeling group is extracted. Based on whether the intersection exists, it is determined whether to directly output the modeling group for the user to choose from or to select the modeling group that meets the function from the two combinations and output it. This avoids the situation where the model established by the initial parameters is inconsistent with the model established by the supplementary parameters, and improves the reliability and flexibility of intelligent interaction between web pages and CAD.
[0048] Optionally, it also includes a method for determining the generation of preliminary modeling groups based on modeling requirements information, the method comprising:
[0049] Step 490: Determine the modeling item information by combining functional requirement information and modeling features;
[0050] Step 491: Find the normal parameter range for the corresponding item based on the modeled item information;
[0051] Step 492: If the modeling parameters fall within the normal parameter range of the item, generate a preliminary modeling group according to the modeling requirements information;
[0052] Step 493: If the modeling parameters do not fall within the normal parameter range of the item, determine the actual requirement information based on the modeling parameters and the modeling item information to generate the actual modeling group and define it as the preliminary modeling group.
[0053] By adopting the above technical solution, the normal parameter range of the item is determined by modeling the item information. Then, it is analyzed whether the parameters fall within the range to determine whether to directly generate a preliminary modeling group or to re-acquire information to obtain an actual modeling group. This reduces the error in modeling generation caused by the mismatch between parameters and features / functions, and improves the reliability of intelligent interaction between web pages and CAD.
[0054] Optionally, methods for determining actual requirements based on modeling parameters and modeled item information to generate actual modeling groups include:
[0055] Step 4930: Find parameter item information based on modeling parameters;
[0056] Step 4931: Combine the parameter item information with the modeled item information to obtain the selected item list and output it to the merged webpage;
[0057] Step 4932: Receive actual demand information through the integrated webpage;
[0058] Step 4933: When the actual demand information is parameter item information, generate a parameter modeling group according to the modeling parameters and define it as the actual modeling group;
[0059] Step 4934: When the actual requirement information is the modeled item information, combine the modeled item information with the normal parameter range of the item to form a requirement modification parameter table and output it;
[0060] Step 4935: Upon receiving the modified item parameters, generate a modified modeling group based on the modified item parameters and the modeling item information, and define it as the actual modeling group.
[0061] By adopting the above technical solution, the system determines the items and related information corresponding to the parameters, and then outputs the parameter item information and the modeling item information together for the user to choose from. Based on the user's choice, the system determines whether to generate a model according to the parameters or modify the parameters and regenerate the model. This allows the system to flexibly determine the next operation according to the user's needs, improving the reliability and flexibility of intelligent interaction between the webpage and CAD.
[0062] Optionally, methods for integrating past models into a past modeling group include:
[0063] Step 470: Determine the parameters and features of past modeling based on past modeling;
[0064] Step 471: Combine past modeling parameters and features to obtain past modeling association information;
[0065] Step 472: Combine modeling parameters with modeling features to form modeling association information;
[0066] Step 473: Compare the modeling association information with the previous modeling association information to obtain the modeling matching degree;
[0067] Step 474: Arrange the modeling matching scores according to the preset size rules to obtain the matching score ranking;
[0068] Step 475: Sort the past models according to their matching degree, integrate them into a past model group, and output it.
[0069] By adopting the above technical solution, relevant information from past modeling is integrated to obtain past modeling association information, and then relevant information from the current modeling is integrated to obtain modeling association information. The two are then compared to obtain the modeling matching degree and sorted. Finally, past modeling groups are formed according to the matching degree, which enables users to find the model they need more quickly when viewing possible combinations of modeling, thus improving the flexibility and efficiency of intelligent interaction between web pages and CAD.
[0070] Secondly, the present invention provides a CAD intelligent interactive system with an embedded web page engine, which adopts the following technical solution:
[0071] A CAD intelligent interactive system with an embedded web page engine, comprising:
[0072] The acquisition module is used to acquire web page containers, requirement web pages, requirement information features, historical modeling sets, user selection modeling, supplementary data, and functional information features.
[0073] The memory is used to store the program of the CAD intelligent interaction method of the embedded web page engine as described above;
[0074] The processor loads and executes programs from memory.
[0075] By adopting the above technical solution, the module collects relevant information such as web page containers, then the memory stores the CAD intelligent interaction method program of the embedded web page engine, and finally the processor loads and executes the relevant program to realize a fully automatic interaction process that deeply integrates the required web page and the web page container, thereby improving the efficiency, reliability and flexibility of interaction with the web page during the CAD modeling process.
[0076] In summary, the present invention has at least one of the following beneficial technical effects:
[0077] 1. By integrating the requirement webpage into a webpage container to form an integrated webpage, the user's modeling requirement information is received through the integrated webpage. Then, a preliminary modeling group is generated according to the modeling requirement information and output to the integrated webpage. Finally, the requirement modeling is determined and modeling is performed to achieve the output. This allows the webpage to be integrated into the CAD modeling software and interact with it, improving the flexibility of intelligent interaction between CAD and webpage.
[0078] 2. When a model cannot be directly generated based on the parameters provided by the user, the system automatically determines the missing data based on the existing parameters and then generates a table. At the same time, the system searches for historical models based on relevant information and outputs both together. This allows the system to automatically determine the required data when information is insufficient and provide the user with possible models to choose from, thus improving the efficiency and reliability of intelligent interaction between CAD and web pages.
[0079] 3. By comparing items with defined functions and features with items with defined parameters, and then determining the main reference information for modeling based on the user's selection, the system can make automatic modeling more accurate and improve the flexibility and reliability of intelligent interaction between CAD and web pages. Attached Figure Description
[0080] Figure 1 This is a flowchart of a CAD intelligent interaction method using an embedded webpage engine, according to an embodiment of this application.
[0081] Figure 2 This is a flowchart illustrating how the preliminary modeling group and missing data are fused to form comprehensive data and then output, according to an embodiment of this application.
[0082] Figure 3 This is a flowchart of an embodiment of the present application that determines actual demand information based on modeling parameters and modeling item information to generate an actual modeling group. Detailed Implementation
[0083] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0084] This invention discloses a CAD intelligent interaction method using an embedded web page engine. (Refer to...) Figure 1 A method for intelligent CAD interaction using an embedded web engine includes:
[0085] Step 1: In response to the preset modeling signal, obtain the web page container and the required web page.
[0086] The modeling signal refers to the signal that modeling is about to begin. Here, the modeling signal is triggered automatically by the system after the user opens the CAD modeling software.
[0087] A webpage container refers to the window within CAD software that hosts the webpage interaction interface. Here, the webpage container is obtained by the native extension plugin automatically creating a dedicated interface window that is bound to the CAD kernel process and is not an independent browser process when CAD starts. A requirement webpage refers to an external webpage file that collects user modeling instructions. Here, the requirement webpage is obtained by the staff setting up the external webpage file in advance and inputting it into the system. When the system triggers a modeling signal, it automatically obtains the corresponding external webpage file.
[0088] Step 2: Embed the required webpage into the webpage container using a preset embedded engine to obtain a merged webpage.
[0089] An embedded engine refers to a built-in web page execution kernel integrated into the CAD software kernel, capable of directly parsing and running web page code. A fused web page refers to an integrated web page interactive interface used for collecting modeling requirements. Here, the fused web page is obtained by the system parsing, loading, and embedding the external requirement web page into a web page container. The CAD's built-in embedded web page engine parses the HTML, JS, and CSS resources of the requirement web page, mounting and embedding the interface layers, interactive interfaces, and data logic of the requirement web page into the web page container kernel. This eliminates the independent process execution mode of web pages and abandons the traditional cross-process communication method of browser controls. Instead, it adopts shared memory and same-process communication, achieving deep embedded fusion of the requirement web page and the web page container within the same process, interface overlay, and data channel connection, generating an integrated interactive web page.
[0090] Step 3: Collect modeling requirements information by integrating web pages.
[0091] Modeling requirement information refers to the CAD modeling parameters, modeling features, and functional requirements input by the user on the integrated webpage. This modeling requirement information is collected by the system receiving and processing the user-inputted modeling content through the integrated webpage.
[0092] Step 4: Generate a preliminary modeling group according to the modeling requirements and output it to the fusion webpage.
[0093] The preliminary modeling group refers to a set of CAD preview models initially generated based on the user's input modeling requirements, awaiting user confirmation. The preliminary modeling group is generated by the system parsing the modeling requirements, calling the underlying CAD interface to generate preview models, and integrating them into the preliminary modeling group. This preliminary modeling group can be any combination of models that can be output to the integrated webpage for user selection, such as AutoCAD's ObjectARX. The preliminary modeling group is output by the system pushing the preview data to the integrated webpage for visualization via the embedded webpage engine's bidirectional communication module.
[0094] Step 5: Filter the preliminary modeling group to obtain the requirement model and output it.
[0095] Requirements modeling refers to the final, generated target model determined after user confirmation. Here, requirements modeling is obtained by the system receiving user confirmation instructions and selecting the corresponding model from the preliminary modeling group. The output of requirements modeling is completed by the system generating the finalized requirements model in CAD software.
[0096] The methods for generating preliminary modeling groups based on modeling requirements and outputting them to the fusion webpage include:
[0097] Step 40: Obtain the characteristics of the demand information.
[0098] Demand information features refer to the set of information features used to extract modeling requirements from user-input modeling requirement information. The method for obtaining these requirements information features is as follows: first, professionals in the field preliminarily define basic information features based on actual needs and input them into the system. Then, by performing word frequency statistics, keyword mining, and semantic clustering on historical modeling requirement texts, the feature set is automatically iteratively expanded, including features such as numbers, units, and shapes.
[0099] Step 41: Determine the modeling parameters and modeling features from the modeling requirement information based on the requirements information features.
[0100] Modeling parameters refer to the basic modeling data, such as quantifiable numerical values, that define the dimensions, specifications, location, and quantity of the CAD model. These modeling parameters are determined by the system matching and extracting quantifiable numerical data from the modeling requirements information based on the characteristics of the requirements information. Modeling features refer to the non-numerical attribute description information that defines the shape, structure, type, and process of the CAD model. These modeling features are determined by the system matching and extracting attribute description data from the modeling requirements information based on the characteristics of the requirements information.
[0101] Step 42: Perform modeling operations according to the modeling parameters and modeling features to obtain the preliminary modeling group.
[0102] Modeling operation refers to the process by which CAD software constructs a corresponding 3D or 2D model based on extracted modeling parameters and features. In this case, the modeling operation is executed by the system calling the underlying CAD graphics interface to generate a corresponding preview model according to the modeling parameters and features.
[0103] Step 43: If the preliminary modeling group exists, output the preliminary modeling group to the merged webpage.
[0104] If the preliminary modeling group exists, it means that a model can be generated based on the modeling parameters and features provided by the user. Therefore, the preliminary modeling group is output to the fusion webpage.
[0105] Step 44: If the preliminary modeling group does not exist, determine the missing data based on the modeling parameters and modeling features and output it to the fusion webpage.
[0106] Missing data refers to key modeling information missing from the initial modeling set due to incomplete user-input modeling parameters or features. The system first attempts to model based on existing parameters and features. If modeling fails, it compares the existing parameters and features with the standard parameter set required for complete modeling of the corresponding item to identify the crucial information needed to complete the modeling. For example, if the user provides a 1.5m long stick, the system doesn't know if it's cylindrical or rectangular; therefore, the data could be the diameter and the lengths of the remaining two sides. Missing data is output by the system pushing the identified missing information to the integrated webpage for display via a two-way communication module.
[0107] If the initial modeling group does not exist, it means that the system cannot generate a model using the modeling parameters. Therefore, the missing data is determined based on the modeling parameters and modeling features and output to the fusion webpage.
[0108] The methods for obtaining the preliminary modeling group also include:
[0109] Step 45: Obtain the historical model set.
[0110] The historical modeling set refers to the collection of all previously completed CAD modeling data. The historical modeling set is obtained by the system storing all confirmed historical models to form a historical modeling set. When the initial modeling group does not exist, the system automatically extracts all historical modeling data.
[0111] Step 46: Combine modeling parameters and modeling features to search for past models in the historical modeling set.
[0112] Past modeling refers to historical CAD models in the historical modeling set that match the current modeling parameters and features. The search method for past modeling involves the system comparing the modeling parameters and features with the data of each model in the historical modeling set, filtering out matching historical models, and defining them as past modeling.
[0113] Step 47: Integrate past models into a past modeling group and define it as the initial modeling group.
[0114] The past modeling group refers to a collection of historical models formed by integrating multiple found past models. The past modeling group is formed by the system filtering out all matching past models, organizing them uniformly, and then using this collection as the initial modeling group.
[0115] Step 48: Merge the preliminary modeling group with the missing data to form comprehensive data and output it to the merged webpage.
[0116] Comprehensive data refers to the complete modeling-related information formed by integrating the preliminary modeling set with the missing data. Here, comprehensive data is generated by the system integrating the preliminary modeling set with the missing data to produce comprehensive interactive data. The comprehensive data is output by the system pushing it to the fusion webpage for unified display via a two-way communication module.
[0117] The methods for integrating the preliminary modeling group with the missing data to form comprehensive data and output it also include:
[0118] Step 480: If the previous modeling does not exist, separate the modeling parameters and modeling features to obtain individual modeling information.
[0119] Individual modeling information refers to modeling data for a single parameter or feature. This individual modeling information is obtained by the system breaking down the modeling parameters and features one by one, extracting the modeling data for each independent dimension.
[0120] If the previous modeling does not exist, it means that there is no historical modeling that meets the user's needs. Therefore, the modeling parameters and modeling features are separated to obtain individual modeling information.
[0121] Step 481: Search for individual modeling groups in the historical modeling set based on individual modeling information.
[0122] A single-item modeling group refers to a set of coarse-division historical models that match the individual modeling information in the historical modeling set. The search method for single-item modeling groups involves the system retrieving and matching the corresponding coarse-division model one by one from the historical modeling set based on each independent individual modeling information.
[0123] Step 482: Compare multiple single-item modeling groups to select a comprehensive modeling group and define it as the preliminary modeling group.
[0124] A comprehensive modeling group refers to a collection of identical models formed from different individual modeling groups. The comprehensive modeling group is obtained by comparing different groups of individual modeling groups, finding their intersections, and then integrating the models in the intersection to form a comprehensive modeling group. For example, a 2-meter-long stick does not exist in the historical modeling, but the individual modeling group corresponding to the parameter contains a 2-meter-long spear and broadsword, and the individual modeling group for the feature also contains a stick—the handle of the spear and broadsword, only less than 2 meters long. Since it exists in both individual modeling groups, the spear and broadsword are integrated into a comprehensive modeling group, which is then defined as the preliminary modeling group.
[0125] Step 483: Merge the preliminary modeling group with the missing data to form comprehensive data and output it to the merged webpage.
[0126] The data formation and output methods described here are consistent with those in step 48.
[0127] The preliminary modeling group selects and outputs the following requirements models:
[0128] Step 50: Upon receiving the preset modeling confirmation signal, obtain the user-selected modeling from the preliminary modeling group.
[0129] The modeling confirmation signal refers to the signal triggered after the user confirms the model within the preliminary modeling group on the merged webpage. This signal is received by the system listening for user confirmation button operations within the merged webpage using an embedded webpage engine, capturing the corresponding trigger command. User selection modeling refers to the user selecting a target preview model from the preliminary modeling group that meets their needs. This selection is obtained by the system parsing the user selection command returned from the merged webpage and determining the corresponding model data.
[0130] Upon receiving a preset modeling confirmation signal, it indicates that the user has selected the desired modeling, and therefore the user-selected modeling from the preliminary modeling group is retrieved.
[0131] Step 51: Define the user selection modeling as requirement modeling and output it.
[0132] The output method of this requirement modeling is that the system defines the user-selected modeling as requirement modeling, and then generates the model in CAD according to its parameters and features.
[0133] Step 52: If no modeling confirmation signal is received, obtain the supplementary data corresponding to the missing data.
[0134] Supplementary data refers to the information that users input on the fusion webpage to supplement the modeling requirements. This supplementary data is obtained by the system receiving information from users regarding any missing items entered on the fusion webpage.
[0135] If no modeling confirmation signal is received, it means that the model required by the user is not in the preliminary modeling group. Therefore, the user can only supplement the relevant data, so the supplementary data corresponding to the missing data is obtained.
[0136] Step 53: Integrate the supplementary data, modeling parameters, and modeling features to obtain supplementary modeling information.
[0137] Supplementary modeling information refers to more complete modeling information compared to the initial information. This supplementary modeling information is obtained by the system combining the supplementary data with the original modeling parameters and features to generate complete modeling information.
[0138] Step 54: Perform modeling operations according to the supplementary modeling information to obtain and output the supplementary modeling group.
[0139] A supplementary modeling group refers to an updated set of CAD preview models generated by re-performing the modeling operation. The supplementary modeling group is obtained by the system calling the underlying CAD graphics interface to generate corresponding preview models based on the supplementary modeling information and integrating them into the supplementary modeling group. The supplementary modeling group is output by the system pushing it to a merged webpage for visualization via an embedded webpage engine.
[0140] The process of performing modeling operations based on supplementary modeling information to obtain a supplementary modeling group and outputting the following includes:
[0141] Step 540: Obtain functional information features.
[0142] Functional information features refer to the set of features used to determine the modeling function from the modeling requirements input by the user. Here, functional information features are obtained by those skilled in the art through multiple inputs of requirements and subsequent experiments to obtain the possible feature information when the user inputs the requirements. This information is then integrated and input into the system. When the system is about to generate the initial modeling group, it automatically extracts the stored functional information features. For example, if it's used for chopping vegetables, then modeling is the knife.
[0143] Step 541: Compare the supplementary modeling group with the preliminary modeling group to select the requirement modeling group.
[0144] The requirement modeling group refers to the set of models that best meet user needs. The selection method for the requirement modeling group is to compare the supplementary modeling group with the preliminary modeling group found in the historical modeling set, and then integrate the models that intersect between the two to form the requirement modeling group. It is important to note that the preliminary modeling group here is obtained by searching through the historical modeling set when it is impossible to directly generate a model.
[0145] Step 542: If the requirements modeling group exists, output the requirements modeling group to the merged webpage.
[0146] The output of the requirement modeling group here is that the system pushes the requirement modeling group to the integrated web page through the embedded web page engine for visualization.
[0147] When a requirement modeling group exists, it means that the set of models that the user may need can be further narrowed down based on the information provided by the user. Therefore, the requirement modeling group is output to the merged webpage.
[0148] Step 543: When the requirement modeling group does not exist, search for functional requirement information in the modeling requirement information and supplementary data based on the functional information characteristics.
[0149] Functional requirement information refers to the descriptive information that defines the functional requirements and application needs of the model, extracted from the modeling requirement information and supplementary data. The functional requirement information is retrieved by the system using functional information characteristics as the search criteria, searching for functional categories within the modeling requirement information and supplementary data.
[0150] When the requirement modeling group does not exist, it means that the preliminary modeling group obtained by searching through the historical modeling set may not have user requirement modeling. Therefore, the supplementary modeling group and the preliminary modeling group have no intersection. Thus, functional requirement information is searched in the modeling requirement information and supplementary data based on the functional information characteristics.
[0151] Step 544: Based on the functional requirements information, find and form a functional modeling group in the supplementary modeling group and the preliminary modeling group.
[0152] A functional modeling group refers to a set of models selected from the supplementary modeling group and the preliminary modeling group that meet the corresponding functional requirements. The functional modeling group is formed by the system comparing each model in the supplementary modeling group and the preliminary modeling group with the functional requirement information, selecting the models that meet the functional requirements, and then integrating them.
[0153] Step 545: Output the functional modeling group to the merged webpage.
[0154] The output method of the functional modeling group here is that the system pushes the functional modeling group to the integrated web page through the embedded web page engine to achieve visualization display.
[0155] This also includes a method for determining the generation of preliminary modeling groups based on modeling requirements information, which includes:
[0156] Step 490: Combine functional requirements information with modeling features to determine the modeling item information.
[0157] Modeling item information refers to the identifying information of the item to be modeled, such as its type, purpose, and attributes. The method for determining this modeling item information is that the system matches the usage function corresponding to the functional requirements information with the structural attributes corresponding to the modeling features to determine the possible modeling item information. For example, if the feature is a small circle and the function is to be worn on the hand, then it could be an item like a ring or bracelet.
[0158] Step 491: Find the normal parameter range of the corresponding item based on the modeled item information.
[0159] The normal parameter range of an item refers to the reasonable range of standard dimensions, specifications, structural parameters, and other values that a modeled item possesses under normal usage scenarios. The method for finding the normal parameter range is as follows: different items have different normal parameter ranges. Experts in the field obtain the relevant parameter ranges for each item through experimentation and their own experience, and then input these ranges into the system. When the system receives information about the modeled item, it automatically retrieves the corresponding normal parameter range, such as the normal inner diameter range of a ring or the normal circumference range of a bracelet.
[0160] Step 492: If the modeling parameters fall within the normal parameter range of the item, generate a preliminary modeling group according to the modeling requirements information.
[0161] The preliminary modeling group is generated as follows: after the system determines that the current modeling parameters are within the normal parameter range of the corresponding item, it calls the CAD modeling engine to generate a preview model that meets the specifications based on the modeling requirements information, and then integrates the generated models into the preliminary modeling group.
[0162] If the modeling parameters fall within the normal parameter range of the item, it means that the modeling parameters entered by the user are consistent with the function, and therefore a preliminary modeling group is generated according to the modeling requirements information.
[0163] Step 493: If the modeling parameters do not fall within the normal parameter range of the item, determine the actual requirement information based on the modeling parameters and the modeling item information to generate the actual modeling group and define it as the preliminary modeling group.
[0164] Actual requirement information refers to the set of relevant information regarding the user's actual modeling needs. This information is determined by the system generating two types of modeling items based on modeling parameters and item information, outputting them separately to the fusion webpage, and then receiving the user's selected items or additional information to obtain the actual requirement information. The actual modeling group refers to the set of models generated by the system based on the user's final confirmed actual requirement information. This group is generated by the system parsing the user-selected item types and supplementary information, combining them with modeling parameters, calling the modeling engine to generate corresponding preview models, and integrating them to obtain the actual modeling group, which is then defined as the preliminary modeling group.
[0165] The methods for determining actual requirements based on modeling parameters and modeling item information to generate actual modeling groups include:
[0166] Step 4930: Find parameter item information based on modeling parameters.
[0167] Parameter item information refers to the possible item types and related information corresponding to a given modeling parameter. The method for finding parameter item information is that different modeling parameters correspond to different possible parameter item information. This is achieved by professionals in the field who extract parameters for various items and conduct multiple parameter experiments to obtain the items corresponding to each parameter. The relevant information is then input into the system. When the system receives the modeling parameter, it automatically retrieves the corresponding parameter item information. For example, an object with a length of 2m, a width of 1m, and a thickness of 0.1m might be a door panel.
[0168] Step 4931: Combine the parameter item information with the modeled item information to obtain the selected item list and output it to the merged webpage.
[0169] The item selection list refers to the list of candidate items for the user to choose from. The item selection list is generated by the system comparing, deduplicating, and filtering the parameter item information with the modeled item information, extracting candidate items that match both sets of information, and compiling them into the item selection list. The item selection list is output by the system pushing the compiled list to the integrated webpage via an embedded webpage engine, displaying it in a visual form for the user to select and confirm.
[0170] Step 4932: Receive actual demand information through the integrated webpage.
[0171] The actual demand information is received by the system through an embedded webpage engine that listens to the user's item selection operation on the integrated webpage, captures and parses the item data confirmed by the user, and obtains the actual demand information.
[0172] Step 4933: When the actual demand information is parameter item information, generate a parameter modeling group according to the modeling parameters and define it as the actual modeling group.
[0173] A parametric modeling group refers to a collection of models generated according to modeling parameters. Here, the parametric modeling group is generated by the system calling the modeling engine, which generates a suitable preview model based on the current modeling parameters and parameter item information, and then integrates it into a parametric modeling group.
[0174] When the actual demand information is parameter item information, it means that the parameters are the main information that the user actually needs to build the model, while features and functions may only be for reference. Therefore, a parameter modeling group is generated according to the modeling parameters and defined as the actual modeling group.
[0175] Step 4934: When the actual requirement information is the modeled item information, combine the modeled item information with the normal parameter range of the item to form a requirement modification parameter table and output it.
[0176] The Parameter Modification Requirement Table is a reference form for users to adjust and correct modeling parameters. This table is generated by the system comparing the user-input modeling parameters with the normal parameter range for the item, marking any deviations, and then compiling them into a form. The table is output by the system pushing this form to the integrated webpage for display via an embedded webpage engine.
[0177] When the actual requirement information is the modeling item information, it means that the function and characteristics are the main information that the user wants to build. The parameters may only be for reference. Therefore, the requirement modification parameter table is formed by combining the modeling item information and the normal parameter range of the item and then output.
[0178] Step 4935: Upon receiving the modified item parameters, generate a modified modeling group based on the modified item parameters and the modeling item information, and define it as the actual modeling group.
[0179] Modifying item parameters refers to users re-entering item specifications that conform to the normal parameter range or are custom-defined parameters according to their needs. The system receives these modified parameter information directly from the user via a webpage. Modifying a modeling group refers to the collection of models generated based on the user-inputted modified item parameters and the item information. This modified modeling group is generated by the system calling the modeling engine, combining the modified parameters with relevant item information, generating a preview model, and integrating it into the modified modeling group.
[0180] Upon receiving a request to modify item parameters, it indicates that the user has modified the parameters according to the parameter table as required. Therefore, a modified modeling group is generated based on the modified item parameters and the modeling item information and defined as the actual modeling group.
[0181] The methods for integrating past modeling into past modeling groups include:
[0182] Step 470: Determine the past modeling parameters and features based on past modeling.
[0183] Past modeling parameters refer to quantitative parameters such as dimensions, specifications, structure, and performance corresponding to historical models. These parameters are determined by the system associating each generated model with its relevant parameters and storing them. When the system receives a past model, it automatically matches and extracts the corresponding past modeling parameters. Past modeling features refer to non-quantitative identifying characteristics such as structural morphology, appearance, functional layout, and texture design corresponding to historical models. These features are determined by the system associating each generated model with its structural and appearance features and storing them. When the system retrieves a past model, it automatically matches and extracts the corresponding past modeling features.
[0184] Step 471: Combine past modeling parameters and past modeling features to obtain past modeling association information.
[0185] Historical modeling association information refers to the comprehensive historical modeling information formed by associating and binding historical modeling parameters and features. This information is obtained by the system retrieving the corresponding historical modeling parameters and features, establishing data binding relationships, and thus forming the historical modeling association information.
[0186] Step 472: Combine modeling parameters with modeling features to form modeling association information.
[0187] Modeling association information refers to the comprehensive modeling information formed by associating and binding the current modeling parameters and features to be modeled. This modeling association information is formed by the system retrieving the current modeling parameters and features and establishing data binding relationships.
[0188] Step 473: Compare the modeling association information with the previous modeling association information to obtain the modeling matching degree.
[0189] Modeling matching degree refers to a quantitative indicator of the similarity between current modeling-related information and past modeling-related information. The modeling matching degree is obtained by comparing the parameter differences between the two types of related information. For numerical parameters, the normalized absolute difference method is used to calculate the similarity of individual parameters; for categorical parameters, the label matching method is used to calculate category similarity; and for features, cosine similarity is used. A fixed-weight parameter-feature weighted comprehensive calculation model is used for weighted fusion, and then the modeling matching degree is calculated using the modeling matching degree weighted comprehensive calculation model. The weights here are set by those skilled in the art according to actual needs; for example, the parameter weight is 0.6 and the feature weight is 0.4.
[0190] Step 474: Arrange the modeling matching degree according to the preset size rules to obtain the matching degree sort.
[0191] The size rule refers to the order rule for arranging modeling matching scores from largest to smallest. This size rule is obtained by having professionals in the field set it and input it into the system. Matching score sorting refers to the ordered sequence formed by arranging modeling matching scores according to the size rule from largest to smallest. This matching score sorting is obtained by the system sorting the modeling matching scores in descending order according to the descending order rule.
[0192] Step 475: Sort the past models according to their matching degree, integrate them into a past model group, and output it.
[0193] The past modeling group is formed by the system collecting and integrating the past models in descending order of matching degree according to the order of matching degree, forming an ordered set of past models, and then pushing it to the fusion webpage.
[0194] Based on the same inventive concept, embodiments of the present invention provide a CAD intelligent interactive system with an embedded web page engine.
[0195] One example is a CAD intelligent interaction system with an embedded webpage engine, comprising:
[0196] The acquisition module is used to acquire web page containers, requirement web pages, requirement information features, historical modeling sets, user selection modeling, supplementary data, and functional information features.
[0197] Memory for storing the program of a CAD intelligent interaction method for an embedded web page engine;
[0198] The processor loads and executes programs from memory.
[0199] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0200] The above description is merely a preferred embodiment of the present invention, and the scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principle of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A CAD intelligent interaction method with an embedded webpage engine, characterized in that, include: Step 1: In response to the preset modeling signal, obtain the webpage container and the required webpage; Step 2: Embed the required webpage into a webpage container using a preset embedded engine to obtain a merged webpage; Step 3: Collect modeling requirements information by integrating web pages; Step 4: Generate preliminary modeling groups according to the modeling requirements and output them to the fusion webpage; Step 5: Filter the preliminary modeling group to obtain the requirement model and output it.
2. The CAD intelligent interaction method with an embedded webpage engine according to claim 1, characterized in that, Methods for generating preliminary modeling groups based on modeling requirements and outputting them to the merged webpage include: Step 40: Obtain the characteristics of the demand information; Step 41: Determine the modeling parameters and modeling features from the modeling requirement information based on the characteristics of the requirement information; Step 42: Perform modeling operations according to the modeling parameters and modeling features to obtain the preliminary modeling group; Step 43: If the preliminary modeling group exists, output the preliminary modeling group to the merged webpage; Step 44: If the preliminary modeling group does not exist, determine the missing data based on the modeling parameters and modeling features and output it to the fusion webpage.
3. The CAD intelligent interaction method with an embedded webpage engine according to claim 2, characterized in that, Methods for obtaining preliminary modeling sets also include: Step 45: Obtain the historical model set; Step 46: Combine modeling parameters and modeling features to search for past models in the historical modeling set; Step 47: Integrate past modeling data into a past modeling group and define it as the initial modeling group; Step 48: Merge the preliminary modeling group with the missing data to form comprehensive data and output it to the merged webpage.
4. The CAD intelligent interaction method with an embedded webpage engine according to claim 3, characterized in that, Methods that integrate preliminary modeling sets with missing data to form comprehensive data and output it also include: Step 480: If the previous modeling does not exist, separate the modeling parameters and modeling features to obtain individual modeling information; Step 481: Search for individual modeling groups in the historical modeling set based on individual modeling information; Step 482: Compare multiple sets of individual modeling groups to select a comprehensive modeling group and define it as the preliminary modeling group; Step 483: Merge the preliminary modeling group with the missing data to form comprehensive data and output it to the merged webpage.
5. The CAD intelligent interaction method with an embedded webpage engine according to claim 2, characterized in that, The initial modeling group is used to select and output the requirements models, which include: Step 50: Upon receiving a preset modeling confirmation signal, obtain the user-selected modeling from the preliminary modeling group; Step 51: Define the user-selected modeling as requirement modeling and output it; Step 52: If no modeling confirmation signal is received, obtain the supplementary data corresponding to the missing data; Step 53: Integrate the supplementary data, modeling parameters, and modeling features to obtain supplementary modeling information; Step 54: Perform modeling operations according to the supplementary modeling information to obtain and output the supplementary modeling group.
6. The CAD intelligent interaction method with an embedded webpage engine according to claim 5, characterized in that, Perform modeling operations based on the supplementary modeling information to obtain a supplementary modeling group and output the following: Step 540: Obtain functional information features; Step 541: Compare the supplementary modeling group with the preliminary modeling group to select the requirements modeling group; Step 542: If the requirements modeling group exists, output the requirements modeling group to the merged webpage; Step 543: When the requirement modeling group does not exist, search for functional requirement information in the modeling requirement information and supplementary data based on the functional information characteristics; Step 544: Based on the functional requirements information, find and form functional modeling groups in the supplementary modeling group and the preliminary modeling group; Step 545: Output the functional modeling group to the merged webpage.
7. The CAD intelligent interaction method with an embedded webpage engine according to claim 6, characterized in that, It also includes a method for determining the generation of preliminary modeling groups based on modeling requirements information, which includes: Step 490: Determine the modeling item information by combining functional requirement information and modeling features; Step 491: Find the normal parameter range for the corresponding item based on the modeled item information; Step 492: If the modeling parameters fall within the normal parameter range of the item, generate a preliminary modeling group according to the modeling requirements information; Step 493: If the modeling parameters do not fall within the normal parameter range of the item, determine the actual requirement information based on the modeling parameters and the modeling item information to generate the actual modeling group and define it as the preliminary modeling group.
8. The CAD intelligent interaction method with an embedded webpage engine according to claim 7, characterized in that, Methods for determining actual requirements based on modeling parameters and modeling item information to generate actual modeling groups include: Step 4930: Find parameter item information based on modeling parameters; Step 4931: Combine the parameter item information with the modeled item information to obtain the selected item list and output it to the merged webpage; Step 4932: Receive actual demand information through the integrated webpage; Step 4933: When the actual demand information is parameter item information, generate a parameter modeling group according to the modeling parameters and define it as the actual modeling group; Step 4934: When the actual requirement information is the modeled item information, combine the modeled item information with the normal parameter range of the item to form a requirement modification parameter table and output it; Step 4935: Upon receiving the modified item parameters, generate a modified modeling group based on the modified item parameters and the modeling item information, and define it as the actual modeling group.
9. The CAD intelligent interaction method with an embedded webpage engine according to claim 3, characterized in that, Methods for integrating past modeling into past modeling groups include: Step 470: Determine the parameters and features of past modeling based on past modeling; Step 471: Combine past modeling parameters and features to obtain past modeling association information; Step 472: Combine modeling parameters with modeling features to form modeling association information; Step 473: Compare the modeling association information with the previous modeling association information to obtain the modeling matching degree; Step 474: Arrange the modeling matching scores according to the preset size rules to obtain the matching score ranking; Step 475: Sort the past models according to their matching degree, integrate them into a past model group, and output it.
10. A CAD intelligent interactive system with an embedded webpage engine, characterized in that, include: The acquisition module is used to acquire web page containers, requirement web pages, requirement information features, historical modeling sets, user selection modeling, supplementary data, and functional information features. A memory for storing a program of an embedded webpage engine CAD intelligent interaction method as described in any one of claims 1 to 9; The processor loads and executes programs from memory.
