Historical process data management method and device for three-dimensional geometric modeling and related equipment

By using hierarchical data structures to manage the historical process data of three-dimensional geometric modeling in the CAD system, the problem that traditional methods cannot manage the model design process information is solved, stable switching of model states and error fallback are achieved, and the design process is improved Reliability and ease of use.

CN118940475APending Publication Date: 2024-11-12TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410937999.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Traditional historical process data management methods cannot effectively manage information related to the model design process in the CAD system, resulting in inconvenient model status management and difficult to track and correct misoperations in the design process.

Method used

Using hierarchical data structures, including historical flow layer, difference state layer, announcement board layer and announcement layer, through these hierarchical structures, the target state is obtained, the difference is analyzed, and the atomic operation information is converted to stable switching of model states and error reply retreat.

Benefits of technology

It provides a stable and reliable state transition mechanism, which is easy to track and audit the model change history, realizes effective management of information related to the model design process, and improves the reliability and ease of use of model state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940475A_ABST
    Figure CN118940475A_ABST
Patent Text Reader

Abstract

The invention provides a historical flow data management method and device for three-dimensional geometric modeling and related equipment, and the method comprises the steps: creating a hierarchical data structure which comprises a historical flow layer, a difference state layer, a bulletin board layer and a bulletin layer; obtaining a to-be-switched target state of the three-dimensional geometric model through the historical flow layer; analyzing the difference between the newest state and the target state of the three-dimensional geometric model through a difference state layer; the difference is converted into complete operation information of the model through the bulletin board layer; model complete operation information is converted into atomic operation information through an announcement layer, each atomic operation serves as an announcement, the three-dimensional geometric model is switched to a target state by rolling the corresponding announcement, a stable and reliable state conversion mechanism is provided for a user by creating a hierarchical data structure, and the user experience is improved. The change history of the model is easy to track and audit, the complete operation information of the model is converted into the atomic operation information, and information related to the model design process can be managed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer three-dimensional modeling, and in particular to a method, device and related equipment for managing historical process data of three-dimensional geometric modeling. Background Art

[0002] CAD software is built around a geometric modeling kernel engine, providing designers with a series of tools for design, testing, analysis, information storage, etc., and is widely used in many fields such as architecture, machinery, electronics, ships, aerospace, etc. In the process of using CAD software for solid modeling, designers need to modify the model repeatedly, which requires the CAD geometric modeling kernel to provide a complete and efficient model state management function to achieve effective management of historical data, so that designers can perform operations such as undo and redo, correct misoperations in the design process, or restore to the previous correct state when encountering abnormal operations, thereby improving the usability and accuracy of the software. Historical data management, that is, historical flow management, is the process of recording, tracking, maintaining and controlling model changes to meet different needs. In related technologies, a method similar to a database log system is used, where each historical entry contains the input and output of the operation, and a certain intermediate state of the model is reached by traversing the historical entries backward. Traditional CAD systems are built based on feature parameterization, and assist the entire modeling process by adding additional feature information to the solid model. However, in addition to the model itself, the feature-based parameterized CAD system also contains information related to the model design process, while methods similar to database log systems focus on a complete operation itself and cannot manage information related to the model design process. Summary of the invention

[0003] The present invention provides a historical process data management method, device and related equipment for three-dimensional geometric modeling, which are used to solve the defect that the traditional historical process data management method cannot manage the information related to the model design process in the CAD system.

[0004] The present invention provides a historical process data management method for three-dimensional geometric modeling, comprising: Creating a hierarchical data structure, the hierarchical data structure comprising a history stream layer, a difference state layer, a notice board layer, and a notice layer; Acquire the target state of the three-dimensional geometric model to be switched through the historical flow layer; Analyzing the difference between the latest state of the three-dimensional geometric model and the target state through the difference state layer; Converting the difference into model complete operation information through the bulletin board layer; The complete operation information of the model is converted into atomic operation information through the announcement layer, each atomic operation is used as an announcement, and the three-dimensional geometric model is switched to the target state by scrolling the corresponding announcement.

[0005] According to the historical process data management method for three-dimensional geometric modeling provided by the present invention, the atomic operation includes a creation operation, a modification operation and a deletion operation, and the method further includes: Record the generation of new model entities as a create operation; Record attribute changes to model entities as modification operations; Record the deletion of model entities as a delete operation; During the modification operation, the old entity is copied once and the operation information is recorded. When scrolling, the new entity is replaced with the old entity to switch the single entity state.

[0006] The historical process data management method for three-dimensional geometric modeling provided by the present invention also includes: A bulletin board is generated for multiple atomic operations using encapsulated macroblocks, each bulletin board corresponding to a complete operation on the three-dimensional geometric model.

[0007] The historical process data management method for three-dimensional geometric modeling provided by the present invention also includes: The errors and exceptions occurring in a complete operation on the three-dimensional geometric model are captured at the bulletin board layer, and the model in the error state is rolled back when the complete operation ends or the next complete operation begins.

[0008] According to the historical process data management method for three-dimensional geometric modeling provided by the present invention, the differential state layer includes a plurality of bulletin boards, and the three-dimensional geometric model is switched to the target state by scrolling corresponding bulletins, including: According to the target state, the corresponding difference state is scrolled. When the difference state is scrolled, the included bulletin boards will be scrolled in sequence. The scrolling of the bulletin board will drive the scrolling of the bulletins it contains, and the three-dimensional geometric model will be switched to the target state.

[0009] According to the historical process data management method for three-dimensional geometric modeling provided by the present invention, the historical flow layer is a tree structure, and the method further includes: Each rollback of the difference state is taken as a branch of the tree structure, and one branch is selected from multiple branches to switch to the latest state.

[0010] The historical process data management method for three-dimensional geometric modeling provided by the present invention also includes: The life cycle of the model entity is bound to the life cycle of the tree structure, and the memory of the model entity is released when the tree structure is pruned or the entire tree structure is deleted.

[0011] The present invention also provides a historical process data management device for three-dimensional geometric modeling, comprising: A creation module, used to create a hierarchical data structure, wherein the hierarchical data structure includes a history stream layer, a difference state layer, a notice board layer and a notice layer; An acquisition module, used for acquiring a target state to be switched of a three-dimensional geometric model through the historical flow layer; An analysis module, used for analyzing the difference between the latest state of the three-dimensional geometric model and the target state through the difference state layer; A conversion module, used for converting the difference into model complete operation information through the bulletin board layer; The rollback module is used to convert the complete operation information of the model into atomic operation information through the announcement layer, take each atomic operation as an announcement, and switch the three-dimensional geometric model to the target state by rolling the corresponding announcement.

[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the historical process data management method for three-dimensional geometric modeling as described in any one of the above items is implemented.

[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for managing historical process data of three-dimensional geometric modeling described in any one of the above items is implemented.

[0014] The historical process data management method, device and related equipment for three-dimensional geometric modeling provided by the present invention create a hierarchical data structure, which includes a historical flow layer, a differential state layer, a bulletin board layer and an announcement layer; obtain the target state of the three-dimensional geometric model to be switched through the historical flow layer; analyze the difference between the latest state of the three-dimensional geometric model and the target state through the differential state layer; convert the difference into complete model operation information through the bulletin board layer; convert the complete model operation information into atomic operation information through the announcement layer, take each atomic operation as an announcement, and switch the three-dimensional geometric model to the target state by scrolling the corresponding announcement. By creating a hierarchical data structure, a stable and reliable state transition mechanism is provided to the user, which is easy to track and audit the change history of the model, and the complete model operation information is converted into atomic operation information, so that the information related to the model design process can be managed. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 It is a flowchart of a historical process data management method for three-dimensional geometric modeling provided by an embodiment of the present invention; Figure 2 is a schematic diagram of the historical flow layer structure provided by an embodiment of the present invention; Figure 3 is a schematic diagram of a differential state structure provided by an embodiment of the present invention; Figure 4 is a schematic diagram of the structure of a bulletin board provided by an embodiment of the present invention; Figure 5 It is a schematic diagram of the announcement structure provided by an embodiment of the present invention; Figure 6 It is a functional structure diagram of a historical process data management device for three-dimensional geometric modeling provided by an embodiment of the present invention; Figure 7 It is a functional structure diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0018] Figure 1 A flowchart of a historical process data management method for three-dimensional geometric modeling provided by an embodiment of the present invention, such as Figure 1 As shown, the historical process data management method for 3D geometric modeling provided by the embodiment of the present invention includes: Step 101, creating a hierarchical data structure, the hierarchical data structure including a history stream layer, a difference state layer, a notice board layer and a notice layer; In the embodiment of the present invention, the hierarchical data structure includes a history stream, a delta state, a bulletin board, and a bulletin from top to bottom, which can provide different levels of historical data abstraction; Step 102, obtaining the target state of the three-dimensional geometric model to be switched through the historical flow layer; In the embodiment of the present invention, the history stream layer is the top-level data structure, and each history stream structure contains a series of difference states, such as Figure 2 As shown in the figure, the root difference state is the most original difference state of the model, the active difference state is the latest state of the model, and the history stream records the complete state change process of the model. Users manage the model state at this level.

[0019] Step 103, analyzing the difference between the latest state of the three-dimensional geometric model and the target state through the difference state layer; The bad state layer contains a series of notice boards, such as Figure 3 As shown, the difference state includes the rear difference state, the companion difference state and the front difference state. The difference state layer records the user's operation increment on the model, and the state of the model is modified by scrolling the difference state.

[0020] Different difference states correspond to different state nodes of the model, including a series of bulletin boards. When the difference state is scrolled, the included bulletin boards will be scrolled in sequence, and the scrolling of the bulletin board is essentially the scrolling of the included bulletins, thereby switching the model between different historical states.

[0021] Step 104: convert the difference into complete model operation information through the bulletin board layer; Each bulletin board in the bulletin board layer contains a series of bulletins, such as Figure 4 As shown, the notice board includes the actual notice and the final notice, and the notice board is used to record a complete operation on the model.

[0022] For example, a Boolean operation on a model may involve the creation, modification, and deletion of multiple underlying point, edge, and surface elements, and each atomic operation corresponds to a notification.

[0023] Step 105: convert the complete operation information of the model into atomic operation information through the announcement layer, take each atomic operation as an announcement, and switch the three-dimensional geometric model to the target state by scrolling the corresponding announcement.

[0024] The announcement layer is the lowest level data structure, such as Figure 5 As shown, the announcement includes a new entity pointer and an old entity pointer. The announcement is used to record atomic operations on the model. The lowest-level operation of model state switching is to scroll the announcement.

[0025] The historical process data management of traditional 3D geometric modeling uses a management method similar to a database log system. Each historical entry contains the input and output of the operation, and a certain intermediate state of the model is reached by traversing the historical entries backward. The traditional CAD system is based on feature parameterization, which assists the entire modeling process by adding additional feature information to the solid model. However, in addition to the model itself, the CAD system based on feature parameterization also contains information related to the model design process. The method similar to the database log system focuses on a complete operation itself and cannot manage information related to the model design process.

[0026] The historical process data management method for three-dimensional geometric modeling provided by an embodiment of the present invention creates a hierarchical data structure, wherein the hierarchical data structure includes a historical flow layer, a differential state layer, a bulletin board layer and an announcement layer; the target state to be switched of the three-dimensional geometric model is obtained through the historical flow layer; the difference between the latest state of the three-dimensional geometric model and the target state is analyzed through the differential state layer; the difference is converted into model complete operation information through the bulletin board layer; the model complete operation information is converted into atomic operation information through the announcement layer, each atomic operation is used as an announcement, and the three-dimensional geometric model is switched to the target state by scrolling the corresponding announcement. By creating a hierarchical data structure, a stable and reliable state transition mechanism is provided to the user, which is easy to track and audit the change history of the model, and the model complete operation information is converted into atomic operation information, so that information related to the model design process, such as the creation, modification and deletion of elements such as points, edges and faces in the model, can be managed.

[0027] Based on any of the above embodiments, the atomic operation includes a creation operation, a modification operation and a deletion operation, and the historical process data management method for three-dimensional geometric modeling further includes: The generation of a new model entity is recorded as a creation operation; the modification of the attributes of a model entity is recorded as a modification operation; and the deletion of a model entity is recorded as a deletion operation; During the modification operation, the old entity is copied once and the operation information is recorded. When scrolling, the new entity is replaced with the old entity to switch the single entity state.

[0028] In an embodiment of the present invention, atomic operations are recorded in announcements as a basis for model state switching, so that information related to the model design process, such as the creation, modification and deletion of elements such as points, edges and faces in the model, can be managed.

[0029] Based on any of the above embodiments, the historical process data management method for 3D geometric modeling further includes: A bulletin board is generated for multiple atomic operations using encapsulated macroblocks, each bulletin board corresponding to a complete operation on the three-dimensional geometric model.

[0030] In the embodiment of the present invention, macroblocks can be nested, and only the outermost macroblock will generate a new bulletin board.

[0031] Based on any of the above embodiments, the historical process data management method for 3D geometric modeling further includes: The errors and exceptions occurring in a complete operation on the three-dimensional geometric model are captured at the bulletin board layer, and the model in the error state is rolled back when the complete operation ends or the next complete operation begins.

[0032] Since many problems may occur in the process of 3D geometric modeling, errors in the design of the model itself, errors in the software kernel, and the use of model data in different CAD software may lead to model errors and affect the modeling process. The embodiment of the present invention rebuilds the erroneous model into a normal model, classifies the errors, detects possible errors in the model, and rolls back the model in the error state to repair the errors.

[0033] Based on any of the above embodiments, the differential state layer includes a plurality of bulletin boards, and the three-dimensional geometric model is switched to the target state by scrolling corresponding bulletins, including: According to the target state, the corresponding difference state is scrolled. When the difference state is scrolled, the included bulletin boards will be scrolled in sequence. The scrolling of the bulletin board will drive the scrolling of the bulletins it contains, and the three-dimensional geometric model will be switched to the target state.

[0034] In an embodiment of the present invention, the increment of the user's operation on the model is recorded in the differential state, different differential states correspond to different state nodes of the model, and the model is switched between different historical states by scrolling the differential state.

[0035] Based on any of the above embodiments, the historical flow layer is a tree structure, and the historical process data management method of three-dimensional geometric modeling further includes: Each rollback of the difference state is taken as a branch of the tree structure, and one branch is selected from multiple branches to switch to the latest state.

[0036] In an embodiment of the present invention, the historical process data management method of three-dimensional geometric modeling further includes: The life cycle of the model entity is bound to the life cycle of the tree structure, and the memory of the model entity is released when the tree structure is pruned or the entire tree structure is deleted.

[0037] The history stream layer records the complete state change process of the model and supports a multi-branch history stream tree structure, providing a more flexible model state management mechanism. On this basis, the life cycle of the model entity is bound to the history stream life cycle to release memory at the appropriate time.

[0038] When a differential state is rolled back, a fork will be formed in the history stream tree structure. At this time, creating a new differential state and continuing to roll back can form a multi-branch history stream tree structure. Users can choose different branches to switch to the latest state, which provides users with a more flexible model state management mechanism.

[0039] In addition, the life cycle of the model entity is bound to the life cycle of the history stream, and the memory is released at the appropriate time. The entity maintains a notice count. When the history stream is pruned or the entire operation history stream is deleted, the entity's notice count is reset to zero, and the entity's memory is truly released at this time.

[0040] The historical process data management method for three-dimensional geometric modeling provided by an embodiment of the present invention designs a hierarchical data structure to provide users with a stable and reliable mechanism, which is easy to track and audit the change history of the model and can conveniently switch between different historical states of the model; in addition, it facilitates unified memory management of model entities.

[0041] The historical process data management device for three-dimensional geometric modeling provided by the present invention is described below. The historical process data management device for three-dimensional geometric modeling described below and the historical process data management method for three-dimensional geometric modeling described above can be referenced to each other.

[0042] Figure 6 A schematic diagram of a historical process data management device for three-dimensional geometric modeling provided by an embodiment of the present invention, such as Figure 6 As shown, the historical process data management device for three-dimensional geometric modeling provided by the embodiment of the present invention includes: A creation module 601, for creating a hierarchical data structure, wherein the hierarchical data structure includes a history stream layer, a difference state layer, a notice board layer and a notice layer; An acquisition module 602 is used to acquire a target state of a three-dimensional geometric model to be switched through the historical flow layer; An analysis module 603 is used to analyze the difference between the latest state of the three-dimensional geometric model and the target state through the difference state layer; A conversion module 604, configured to convert the difference into model complete operation information through the bulletin board layer; The rollback module 605 is used to convert the complete operation information of the model into atomic operation information through the announcement layer, take each atomic operation as an announcement, and switch the three-dimensional geometric model to the target state by rolling the corresponding announcement.

[0043] The historical process data management device for three-dimensional geometric modeling provided by an embodiment of the present invention creates a hierarchical data structure, which includes a historical flow layer, a differential state layer, a bulletin board layer and an announcement layer; obtains the target state to be switched of the three-dimensional geometric model through the historical flow layer; analyzes the difference between the latest state of the three-dimensional geometric model and the target state through the differential state layer; converts the difference into complete model operation information through the bulletin board layer; converts the complete model operation information into atomic operation information through the announcement layer, takes each atomic operation as an announcement, and switches the three-dimensional geometric model to the target state by scrolling the corresponding announcement. By creating a hierarchical data structure, a stable and reliable state transition mechanism is provided to the user, which is easy to track and audit the change history of the model, and converts the complete model operation information into atomic operation information, so as to realize the management of information related to the model design process.

[0044] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the server may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The memory 730 includes a computer program, an operating system and acquired data, and the processor 710 may call the logic instructions in the memory 730 to execute the historical process data management method for three-dimensional geometric modeling, the method comprising: creating a hierarchical data structure, the hierarchical data structure including a historical flow layer, a differential state layer, a bulletin board layer and an announcement layer; acquiring the target state to be switched of the three-dimensional geometric model through the historical flow layer; analyzing the difference between the latest state of the three-dimensional geometric model and the target state through the differential state layer; converting the difference through the bulletin board layer into model complete operation information; converting the model complete operation information into atomic operation information through the announcement layer, taking each atomic operation as an announcement, and switching the three-dimensional geometric model to the target state by scrolling the corresponding announcement.

[0045] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0046] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the historical process data management method for three-dimensional geometric modeling provided by the above-mentioned methods, the method comprising: creating a hierarchical data structure, the hierarchical data structure comprising a historical flow layer, a differential state layer, a bulletin board layer and an announcement layer; obtaining a target state to be switched of the three-dimensional geometric model through the historical flow layer; analyzing the difference between the latest state of the three-dimensional geometric model and the target state through the differential state layer; converting the difference into complete model operation information through the bulletin board layer; converting the complete model operation information into atomic operation information through the announcement layer, treating each atomic operation as an announcement, and switching the three-dimensional geometric model to the target state by scrolling the corresponding announcement.

[0047] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0048] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0049] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for managing historical process data of three-dimensional geometric modeling, characterized in that: include: Creating a hierarchical data structure, the hierarchical data structure comprising a history stream layer, a difference state layer, a notice board layer, and a notice layer; Acquire the target state of the three-dimensional geometric model to be switched through the historical flow layer; Analyzing the difference between the latest state of the three-dimensional geometric model and the target state through the difference state layer; Converting the difference into model complete operation information through the bulletin board layer; The complete operation information of the model is converted into atomic operation information through the announcement layer, each atomic operation is used as an announcement, and the three-dimensional geometric model is switched to the target state by scrolling the corresponding announcement.

2. The historical process data management method for three-dimensional geometric modeling according to claim 1 is characterized in that: The atomic operation includes a creation operation, a modification operation and a deletion operation, and the method further includes: Record the generation of new model entities as a create operation; Record attribute changes to model entities as modification operations; Record the deletion of model entities as a delete operation; During the modification operation, the old entity is copied once and the operation information is recorded. When scrolling, the new entity is replaced with the old entity to switch the single entity state.

3. The historical process data management method for 3D geometric modeling according to claim 2, characterized in that: Also includes: A bulletin board is generated for multiple atomic operations using encapsulated macroblocks, each bulletin board corresponding to a complete operation on the three-dimensional geometric model.

4. The historical process data management method for 3D geometric modeling according to claim 1, characterized in that: Also includes: The errors and exceptions occurring in a complete operation on the three-dimensional geometric model are captured at the bulletin board layer, and the model in the error state is rolled back when the complete operation ends or the next complete operation begins.

5. The historical process data management method for 3D geometric modeling according to claim 3 is characterized in that: The differential state layer includes a plurality of notice boards, and the three-dimensional geometric model is switched to the target state by scrolling corresponding notices, including: According to the target state, the corresponding difference state is scrolled. When the difference state is scrolled, the included bulletin boards will be scrolled in sequence. The scrolling of the bulletin board will drive the scrolling of the bulletins it contains, and the three-dimensional geometric model will be switched to the target state.

6. The historical process data management method for 3D geometric modeling according to claim 5, characterized in that: The historical flow layer is a tree structure, and the method further includes: Each rollback of the difference state is taken as a branch of the tree structure, and one branch is selected from multiple branches to switch to the latest state.

7. The historical process data management method for 3D geometric modeling according to claim 6, characterized in that: Also includes: The life cycle of the model entity is bound to the life cycle of the tree structure, and the memory of the model entity is released when the tree structure is pruned or the entire tree structure is deleted.

8. A historical process data management device for three-dimensional geometric modeling, characterized in that: include: A creation module, used to create a hierarchical data structure, wherein the hierarchical data structure includes a history stream layer, a difference state layer, a notice board layer and a notice layer; An acquisition module, used for acquiring a target state to be switched of a three-dimensional geometric model through the historical flow layer; An analysis module, used for analyzing the difference between the latest state of the three-dimensional geometric model and the target state through the difference state layer; A conversion module, used for converting the difference into model complete operation information through the bulletin board layer; The rollback module is used to convert the complete operation information of the model into atomic operation information through the announcement layer, take each atomic operation as an announcement, and switch the three-dimensional geometric model to the target state by rolling the corresponding announcement.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the historical process data management method for three-dimensional geometric modeling as described in any one of claims 1 to 7 is implemented.

10. A non-transitory readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for managing historical process data of three-dimensional geometric modeling as described in any one of claims 1 to 7 is implemented.