CAD application system design scheme data management method and system
By separating the design model data and view data in the CAD application system, and using the data intermediate layer and two-stage submission mechanism, the problems of slow loading of design solution data, easy data damage and excessive resource utilization in the prior art are solved, and efficient data management and larger capacity design data processing are achieved.
Patent Information
- Application Number
- CN202510486503.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-04-18
AI Technical Summary
In the design data management of existing CAD applications, there are problems such as slow loading speed, easy data to be corrupted when operating errors, and excessive resource usage caused by coupling model data and view data.
By separating CAD design model data from design view data, and leveraging data intermediate layer and two-stage submission mechanism, a high consistency and complete design solution data management method is provided.
It improves the loading speed of design solution data, ensures the integrity of data in case of operation errors, and effectively improves the upper limit of the system's design data carrying capacity.
Smart Images

Figure CN120012446A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer graphics technology, and in particular to a CAD application system design solution data management method and system. Background Art
[0002] In the 3D CAD modeling design application system, the models created by users in the system, as well as design data such as business semantic information related to the models, will be saved in the user's design solution file / database. CAD design data involves the expression needs of different scenarios and different design stages. It has complex data structure, wide data granularity, high degree of dependence and correlation between data, and needs to support the interoperability of different types of data in different professions and scenarios, as well as large-volume data features in large assemblies and large scenarios. From a functional level, CAD design data management needs to support core basic capabilities such as expression, evolution, cascading, storage, and rendering of design data, as well as high-level demands such as concurrency and collaborative processing.
[0003] The existing CAD application system design solution data management method, during the storage stage, will package the design data as a whole, or store it in blocks and slices in the user's design solution file / database. During the loading, display, and editing process, operations are performed directly on the actual stored data blocks. The defects and shortcomings of the current CAD design solution data management method are:
[0004] 1. Design scheme data is slow to load: Design scheme data loading includes the parsing of model data and the conversion of model data to view data, which results in slow scheme loading.
[0005] 2. The data lacks effective protection during the operation. In the event of an operation error or program error, dirty data will be directly written into the final stored data block, causing the overall design data to be destroyed.
[0006] 3. Model data and view data are coupled and lack effective isolation, resulting in large and complex design data occupying too many system resources, limiting the upper limit of design solution data volume of the CAD design system. Summary of the invention
[0007] The embodiment of the present application provides a CAD application system design scheme data management method and system, which separates CAD design model data and design view data to better optimize data management for different CAD design stages and design scenarios. Through the data middle layer, the two-stage submission can provide a good guarantee for the high consistency and integrity of the design scheme data.
[0008] The embodiment of the present application provides a CAD application system design solution data management method, which is applied to CAD design data management, including:
[0009] In the target design scheme creation stage, the design model data and design view data of the target design scheme are respectively created, and the intermediate design model data and intermediate design view data are obtained by copying, wherein the design model data includes the three-dimensional geometric model data, parameter data and combination data generated in the CAD design process, and the design view data includes the visualization data of the CAD design model data;
[0010] In the target design solution data editing stage, part of the design model data associated with the edited data is loaded and edited, and after the editing, the edited updated data is saved to the intermediate design model data and the intermediate design view data;
[0011] During the target design solution data saving and submission stage, the intermediate design model data and the intermediate design view data are synchronized with the design model data and the design view data of the target design solution.
[0012] The embodiment of the present application also proposes a CAD application system design scheme data management system, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the CAD application system design scheme data management method as described above are implemented.
[0013] The embodiment of the present application separates the CAD design model data and the design view data to better optimize data management for different CAD design stages and design scenarios. Through the data middle layer, the two-stage submission can provide a good guarantee for the high consistency and integrity of the design solution data.
[0014] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0016] Figure 1 This is a basic flow diagram of the CAD application system design solution data management method according to the embodiment of the present application;
[0017] Figure 2This is a schematic diagram of the design model data and design view data separation management process of the CAD application system design solution data management method of the embodiment of the present application;
[0018] Figure 3 The figure is a schematic diagram of the intermediate design data management process of the CAD application system design solution data management method according to the embodiment of the present application. DETAILED DESCRIPTION
[0019] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0020] The present application embodiment provides a CAD application system design solution data management method, which is applied to CAD design data management, such as Figure 1 As shown, the following steps are included:
[0021] In step S101, during the target design scheme creation phase, design model data and design view data of the target design scheme are respectively created, and intermediate design model data and intermediate design view data are obtained by copying, wherein the design model data includes three-dimensional geometric model data, parameter data and combination data generated during the CAD design process, and the design view data includes visualization data of the CAD design model data.
[0022] In a specific example, CAD design model data includes three-dimensional geometric model data generated during the CAD design process, model-related definitions, material and processing technology parameter data, assembly combination data between models, and some setting data related to the CAD application system: units, precision tolerance, rendering mode, etc.
[0023] CAD design view data, including visualization data for CAD design model data, mainly includes discretized triangular patch data of three-dimensional geometric models, material mapping data of models, and structural organization data of models: the hierarchical organization structure of three-dimensional geometric models, the identification ID of each geometric model, and the corresponding grouped discretized triangular patch data.
[0024] Regarding the management of user design schemes, the embodiment of the present application separates the design model data and the design view data from the top level. In the process of the user creating the required design scheme, an independent background thread is used to process the three-dimensional geometric model display data: on the one hand, the three-dimensional model is rendered and displayed on the graphical interface of the CAD application system; on the other hand, the three-dimensional model rendering data is output to an independent design view database / file.
[0025] In step S102, during the target design solution data editing phase, part of the design model data associated with the edited data is loaded and edited, and after the editing, the edited updated data is saved to the intermediate design model data and the intermediate design view data. Figure 2 As shown, in a specific example, the present application first loads the design view data during the process of opening and loading the design scheme through the CAD application system to ensure the rapid display and browsing of the scheme. When the user further edits the existing design or queries the data, the method of the present application dynamically loads the design model data corresponding to the current operation in a specific example: according to the part of the design view data that the user wants to edit, the identification id of the corresponding geometric model is found, and according to the model id, the corresponding three-dimensional geometric model data and related information are found from the design model database / file, and loaded into the application system, and then the editing is performed, and after the editing, the edited updated data is saved to the intermediate design model data and the intermediate design view data.
[0026] In step S103, during the target design solution data saving and submission stage, the intermediate design model data and the intermediate design view data are synchronized with the design model data and the design view data of the target design solution.
[0027] The embodiment of the present application separates the CAD design model data and the design view data to better optimize data management for different CAD design stages and design scenarios. Through intermediate design data, the use of two-stage submission can provide a good guarantee for the high consistency and integrity of the design solution data.
[0028] In some embodiments, Figure 2 As shown, after the edited updated data is saved to the intermediate design model data and the intermediate design view data, the method further includes:
[0029] The design model data corresponding to the loaded editing data is unloaded, and only the design view data corresponding to the editing data is retained. Through the separated data model and dynamic design data management, the method of the present application can effectively increase the upper limit of the design data carrying capacity of the system.
[0030] In some embodiments, Figure 2As shown, it also includes unloading the design model data and design view data corresponding to some models of the target design scheme that are closed before and after the design scheme data switching from the current system during the target design scheme data switching stage, wherein the design data switching includes switching from high-level design data to low-level design data.
[0031] For example, in a specific example, when switching from a large assembly model data design to the model data design of a sub-component in the assembly model, or switching across professional design stages, such as switching from the CAD three-dimensional model design stage to the CAE simulation analysis stage, or switching from high-level design data to low-level design data, the design model data and design view data corresponding to some models of the closed target design scheme will be uninstalled from the current system.
[0032] In some embodiments, after the target design scheme data saving and submission stage, there is also a target design scheme opening stage, in which only the design view data associated with the target design scheme is opened, thereby avoiding premature loading of large amounts of design model data.
[0033] In some embodiments, the method further includes rolling back and undoing changes to the intermediate design model data and the intermediate design view data in the event of an operation error or a data validity check failure.
[0034] In some embodiments, the target design solution data saving and submission stage specifically includes:
[0035] When data synchronization starts, a synchronization flag is temporarily inserted into the design model data and the design view data. In a specific example, the synchronization flag is used to record the status of the synchronization, such as success, interruption, cancellation, etc.
[0036] When data synchronization is completed, the design model data and the synchronization markers temporarily inserted in the design view data are cleared.
[0037] like Figure 3 As shown, the method of the present application introduces intermediate design model data and intermediate design view data. Changes generated during the user editing process will be directly updated to the intermediate design model data and design view data. During the data saving or submission stage, changes to the design data will be synchronized from the intermediate design model / view data to the target solution design model / view data.
[0038] In some embodiments, the target design solution data saving and submission stage specifically includes:
[0039] In the case of synchronization interruption, the synchronization will be continued during the next startup according to the synchronization flag temporarily inserted in the design model data. That is, if a synchronization interruption occurs during the synchronization process, such as a program crash or user intervention, the interrupted synchronization process will be continued after the system is started next time.
[0040] The embodiment of the present application also proposes a CAD application system design scheme data management system, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the CAD application system design scheme data management method as described above are implemented.
[0041] It should be noted that in the various embodiments of the present application, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0042] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0043] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0044] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A CAD application system design scheme data management method, characterized in that: Applied to CAD design data management, including: In the target design scheme creation stage, the design model data and design view data of the target design scheme are respectively created, and the intermediate design model data and intermediate design view data are obtained by copying, wherein the design model data includes the three-dimensional geometric model data, parameter data and combination data generated in the CAD design process, and the design view data includes the visualization data of the CAD design model data; In the target design solution data editing stage, part of the design model data associated with the edited data is loaded and edited, and after the editing, the edited updated data is saved to the intermediate design model data and the intermediate design view data; During the target design solution data saving and submission stage, the intermediate design model data and the intermediate design view data are synchronized with the design model data and the design view data of the target design solution.
2. The CAD application system design scheme data management method according to claim 1, characterized in that: After the editing, the updated data is saved to the intermediate design model data and the intermediate design view data, and further includes: The design model data corresponding to the loaded editing data is unloaded, and only the design view data corresponding to the editing data is retained.
3. The CAD application system design solution data management method according to claim 1, characterized in that: It also includes unloading from the current system the design model data and design view data corresponding to some models of the target design scheme that are closed before and after the design scheme data switching stage, wherein the design scheme data switching includes switching from high-level design data to low-level design data.
4. The CAD application system design solution data management method according to claim 3, characterized in that: After the target design scheme data saving and submission stage, the target design scheme data opening stage is also included, in which only the design view data associated with the target design scheme is opened.
5. The CAD application system design solution data management method according to claim 1, characterized in that: The method also includes rolling back and undoing changes to the intermediate design model data and the intermediate design view data in the event of an operation error or a data validity check failure.
6. The CAD application system design solution data management method according to claim 1, characterized in that: The target design scheme data preservation and submission stage specifically includes: When data synchronization starts, a synchronization marker is temporarily inserted into the design model data and the design view data; When data synchronization is completed, the synchronization markers temporarily inserted into the design model data and design view data are cleared.
7. The CAD application system design solution data management method according to claim 6, characterized in that: The target design scheme data preservation and submission stage also includes: In the case of synchronization interruption, during the next startup process, synchronization is continued according to the synchronization identification bit temporarily inserted in the design model data.
8. A CAD application system design scheme data management system, characterized in that: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the CAD application system design scheme data management method as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Spatial data conversion method and system
CN105279243A
GIM file visualization processing method and system, readable storage medium and computer
CN111161406A
Multi-BOM version editing method and system based on MBD lightweight model
CN118656422A
Method and device for making CAD drawing, method and device for editing dimension, and storage medium
JP2001092865A
Model producing apparatus, model producing method, and computer-readable recording medium in which model producing program is stored
US20110218776A1
Cited By
Scheme data organization method of CAD application system
CN121071968A
A method for organizing scheme data of a CAD application system
CN121071968B