CAD collaborative design system
The CAD collaboration design system addresses inefficiencies in file management and reference handling through data summary files, independent reference rules, and stratified operations, improving restoration accuracy and collaborative efficiency.
Patent Information
- Application Number
- JP2024098414
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2018-07-16
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-26
- Estimated Expiration
- 2039-07-15
AI Technical Summary
Conventional CAD systems face inefficiencies in file management, transmission, and reference handling due to large file sizes, complex binary data formats, and intricate reference relationships, leading to confusion and reduced work efficiency in collaborative design projects.
A CAD collaboration design system utilizing a first data summary file with an index table and an incremental database for efficient data management, independent reference rule files in an extensible format, and a stratified operation system for seamless handling of nested references.
Enhances file restoration accuracy, reduces data transmission, and improves collaborative design efficiency by allowing quick versioning, filtering, and synchronized display of changes across referenced files.
Smart Images

Figure 2024129042000001
Abstract
Description
[Technical Field]
[0001] This application claims priority to Chinese invention patent applications filed on July 16, 2018: (i) CN201810778814.6, "Method and system for timeline management of CAD graphic data," (ii) CN201810779355.3, "Method for referencing external files in CAD graphic systems," (iii) CN201810779485.7, "Layered display system for CAD graphic reference systems," and (iv) CN201810777826.7, "Method for comparing reference drawings of CAD graphics in editable drawing environments," all of which are incorporated herein by reference in their entirety.
[0002] The present invention relates to a computer-aided design (CAD) collaborative design system. [Background technology]
[0003] CAD collaborative design projects have three characteristics: first, they involve many specialties, numerous graphic files, and complex reference relationships between the graphic files; second, the graphic file formats are complex, and many of them are binary data, resulting in high levels of data randomness; and third, the size of drawing files is large, reaching several MB or even hundreds of MB. As computer hardware technology improves, drawing file sizes are expected to become even larger in the future. In particular, during collaborative design projects, engineers from each specialty must constantly reference each other's CAD drawings while creating their own drawings (for example, when creating a plumbing CAD drawing, a plumbing engineer must reference the architectural drawings that the architectural engineer is still working on). Not only are references between the collaborative design parties layered (for example, an HVAC drawing references an electrical drawing, which in turn references a plumbing drawing, which in turn references an architectural drawing), but they also require repeated revisions and repeated review and selection between different versions during the drawing process.
[0004] Traditional CAD systems have many drawbacks, whether it be in file management, transmission, and storage, or file reference functions (e.g., external references). For example, CAD file data storage and transmission consumes a lot of data and is inefficient, making it very inconvenient for CAD users to check CAD file versions created or edited at different times. Furthermore, the limitations of the external reference method lead to a series of problems. (i) Current CAD drawings only allow a single filter when referencing external files, making it difficult to focus on the issues that users are most concerned about. (ii) It is difficult to conveniently handle nesting relationships, making it cumbersome to switch between "coverage" and "attachment" nesting modes. (iii) Currently, it is not possible to simultaneously edit a CAD drawing and check changes to the contents of the referenced drawing, making it very tedious to switch between the editing screen and the change comparison screen. All of these issues negatively impact the efficiency of CAD collaborative design and even pose a risk of confusion during collaborative design projects. Summary of the Invention [Problem to be solved by the invention]
[0005] In view of the above problems, the present invention aims to provide a new type of CAD collaborative design system that includes four sub-inventions (i.e., invention A, invention B, invention C, and invention D) and various modifications and extensions based on these four sub-inventions. [Means for solving the problem]
[0006] The present invention discloses a CAD file timeline management system (and method, computer storage medium, and computer terminal) that includes a first data summary file and an incremental database, the first data summary file including a first data item index table and first data summary information, the incremental database storing detailed information about first data corresponding to the first data summary information, the first data item index table being used to search the incremental database for detailed information about the first data corresponding to the first data summary information, and the data summary file being configured to be associated with a first restoration point. Because the present invention manages CAD files using a data summary file and incremental database, not only does it reduce the amount of data transmission during file restoration by transmitting incremental data, but the integrity of the information stored in the data summary file enables CAD files to be restored quickly and accurately.
[0007] The present invention also discloses a method (referencing device, computer-readable storage medium, and computer terminal) for referencing an external file in a CAD system, the method including the steps of creating a first general reference rule file independent of at least one referenced file according to at least one reference condition and independently saving the file in an extensible file format, and referencing at least one referenced file using the selected at least one first general reference rule file. By using a reference rule file independent of the referenced file, the present invention not only allows users to use the file multiple times, but also prevents duplicate settings of reference conditions, improving the efficiency and accuracy of user collaborative design work.
[0008] The present invention also discloses a layered operation system (method, computer storage medium, and computer terminal) referenced to a CAD system, which includes a first file containing at least one first element and a second file containing at least one second element, the at least one first element being duplicated and overlapped in the second file, the at least one first element being associated with a first control point, and independent operation of the at least one first element being realized through the first control point. The present invention solves a difficult problem in the external reference method in existing CAD systems by converting the display mode of nested content (i.e., between covered and attached types), making it more convenient and faster to refer to / quote layered drawings and improving the work efficiency of CAD drawing collaborative design.
[0009] Furthermore, the present invention discloses a method (and system, computer storage medium, and computer terminal) for checking reference changes in a CAD drawing in an editable environment, comprising: step DS101 of obtaining a first file and a second file; step DS102 of referencing the second file in the first file and overlaying a first element in the second file into the first file; step DS103 of obtaining a third file; step DS104 of comparing the third file with the second file to obtain a first change element; and step DS105 of overlaying the first change element into the first file. The present invention enables a CAD drafter to check the update status of a referenced drawing while editing a current CAD drawing, thereby solving the technical problem in existing CAD systems of having to display and check changes in referenced drawings in addition to the current CAD drawing, and then returning to the current CAD drawing to continue editing, thereby improving the convenience and efficiency of CAD collaborative design. [Effects of the Invention]
[0010] Compared to conventional CAD systems, the CAD collaborative design system provided by this invention allows CAD files to be stored along a timeline, making it possible to conveniently and quickly restore and check versions created, modified, and updated at different times. In addition, by adopting a summary file and incremental database format, it not only reduces the amount of data transmission, but also ensures accuracy when restoring files, improving the efficiency of file management throughout the CAD system.
[0011] The new referencing method not only allows CAD drafters to conveniently filter the contents of referenced files, but also allows them to share their own reference rules with other collaborative design parties. The layered display method also avoids various issues that arise from nesting existing external references, improving the smoothness of external file references. Finally, this invention duplicates and overlays the referenced content (which can be filtered and selectively displayed) into the CAD file currently being edited, enabling the current file edit and the check for changes in the referenced content to be synchronized and displayed on the same screen, making collaborative design work more convenient and efficient. [Brief explanation of the drawings]
[0012] In order to more clearly explain the embodiments of the present invention or the technical means in the existing technology, the drawings applicable to the embodiments or the description of the existing technology will be briefly described below. In all the drawings, similar elements or parts are generally indicated by similar drawing marks. In the drawings, each element or part is not necessarily drawn to actual scale. It is obvious that the drawings in the following description are some embodiments of invention A, invention B, invention C and invention D, which are sub-inventions of the present invention, and a person skilled in the art can derive other drawings from these drawings without creative work. [Figure 1] 1 is a flowchart illustrating an embodiment of a timeline management method for CAD graphic data according to an embodiment of the present invention. [Figure 2] 1 is a schematic diagram of an embodiment of a timeline management method for CAD graphic data according to an embodiment of the present invention. [Figure 3a]1 is a simplified flowchart of an embodiment of a timeline management method for CAD graphic data according to the present invention. [Figure 3b] 1 is a simplified flowchart of an embodiment of a timeline management method for CAD graphic data according to the present invention. [Figure 4a] 1 is a simplified flowchart of an embodiment of a timeline management method for CAD graphic data according to the present invention. [Figure 4b] 1 is a simplified flowchart of an embodiment of a timeline management method for CAD graphic data according to the present invention. [Figure 5a] 2 is a flowchart illustrating an embodiment of a method for referencing an external file in a CAD system according to the present invention. [Figure 5b] 10 is a flowchart illustrating another embodiment of a method for referencing an external file in a CAD system according to the present invention. [Figure 6] This is an example of a standard floor combination plan in the CAD system of the invention B. [Figure 7] This is an example of a newly created drawing in the CAD system of invention B. [Figure 8] This is an example of reading a drawing into the CAD system of invention B. [Figure 9] This is an example of drawing an entity in the CAD system of invention B. [Figure 10] This is an example of drawing an entity in the CAD system of invention B. [Figure 11] This is an example of a new reference rule in the CAD system of invention B. [Figure 12] This is an example of setting and saving a reference rule file in the CAD system of the invention B. [Figure 13] This is an example of reading a referenced file and a reference rule file in the CAD system of the invention B. [Figure 14] 1 is an example of an additional filter rule in the CAD system of the invention B. [Figure 15] FIG. 2 is a functional module diagram of one embodiment of an external file reference device in the CAD system of the present invention. [Figure 16]10 is a flowchart of another embodiment of a method for referencing an external file in a CAD system of the present invention. [Figure 17] FIG. 2 is a functional module diagram of another embodiment of an external file reference device in the CAD system of the present invention. [Figure 18] 1 is a schematic diagram showing a partial hardware structure of one embodiment of a computer terminal of the present invention. [Figure 19] 1 is a schematic diagram showing a partial hardware structure of another embodiment of a computer terminal according to the present invention; [Figure 20] 1 is a schematic diagram illustrating one embodiment of a self-defined reference condition in a method for referencing an external file in a CAD system according to the present invention; [Figure 21] 1 is a method flowchart of a layered display embodiment referenced to a CAD graphics system of the invention. [Figure 22] C is a schematic diagram of a solid body figure of an embodiment of the invention. [Figure 23] C is a schematic diagram of a solid figure of an embodiment of the invention; [Figure 24] FIG. 3C is a schematic diagram of a solid figure of an embodiment of the invention. [Figure 25] C is a layered tree diagram referred to in the invention examples. [Figure 26] C is a schematic diagram of the embodiment of the invention in which one reference drawing c is removed from drawing A. [Figure 27] C is a schematic diagram of drawing A of an embodiment of the invention with one reference drawing B and one reference drawing C removed. [Figure 28] 3 is a flowchart of an embodiment of a layering operation method referenced in the CAD system of the present invention. [Figure 29] 3 is a flowchart of an embodiment of a layering operation method referenced in the CAD system of the present invention. [Figure 30] 3 is a schematic diagram of an embodiment of a layered manipulation system referenced in the CAD system of the present invention. [Figure 31] 1 is a flowchart illustrating an embodiment of a method for checking reference changes in an editable drawing environment of a CAD drawing according to the present invention. [Figure 32] In the embodiment of the present invention, B is a schematic diagram of the CAD pattern created. [Figure 33] In the embodiment of the present invention, A is a schematic diagram referring to the CAD drawing of B. [Figure 34] 1 is a schematic diagram of the CAD pattern after modification according to B in an embodiment of the present invention; [Figure 35] 1 is an interface diagram for A to check and edit the modified figure of B in an embodiment of the present invention; [Figure 36] In the embodiment of the present invention, A is a schematic diagram created by referring to the modified CAD diagram B. [Figure 37a] 1 is a flowchart illustrating an embodiment of a method for checking reference changes in an editable drawing environment of a CAD drawing according to the present invention. [Figure 37b] 1 is a flowchart illustrating an embodiment of a method for checking reference changes in an editable drawing environment of a CAD drawing according to the present invention. [Figure 38] 1 is a schematic diagram illustrating an embodiment of a method for checking reference changes in an editable drawing environment of a CAD drawing according to the present invention. [Figure 39] 1 is a schematic diagram of an embodiment of a CAD collaborative design system according to the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0013] In order to clarify the purpose, technical means and advantages of the embodiments of the present invention, the technical means in the embodiments of the present invention will be clearly and comprehensively described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without any creative work are also within the scope of protection of the present invention.
[0014] In this specification, the terms "module," "component," or "unit" used to describe an element are merely for the convenience of explaining the present invention and do not have any specific meaning in themselves. Therefore, the terms "module," "component," or "unit" may be used interchangeably.
[0015] It should be noted that the sub-inventions of this invention (Invention A, Invention B, Invention C, and Invention D) can be combined together to derive other technical means, solve more problems, and create more effects, and therefore the descriptions of the sub-inventions in this document substantiate, interpret, explain, combine, combine, and integrate each other. For example, some embodiments of Invention B, Invention C, and Invention D are combined to form a more efficient and convenient means for referencing external files. By combining Invention A with other sub-inventions, edited and modified CAD files can be stored more efficiently and shared with the collaborative design party.
[0016] However, in the description of each sub-invention in this document, similar or analogous words may be used, and in the event of any trouble or conflict in the understanding and meaning of these similar or analogous words, the understanding and meaning of the part of the invention description to which they belong shall prevail. For example, in all sub-inventions, words such as "first file," "second file," and "referenced file" appear, but the "first file" in invention B shall follow the understanding and meaning of invention B, and the "first file" in invention C shall follow the understanding and meaning of invention C.
[0017] Noun Interpretation "Entity": As used herein, an entity refers to the graphical data in a CAD file that is displayed on the CAD drawing screen. Entities have attributes, which are data values that control certain visual characteristics of the entity or element (e.g., visibility, color, and line style). In different embodiments, entities may also be referred to as "pixels" or "elements."
[0018] "Object": In this document, an object refers to information that does not appear in a CAD file or on the CAD drawing screen, such as a layer, a text style, a note style, etc. In this document, a "style" refers to a named set of attributes used to classify and define a particular geometric and textual element (e.g., a line style or a text style).
[0019] "Element": In this document, an element refers to all possible information in a CAD file, including "entities" and "objects", as well as the definition of blocks, sets, and units based on "entities" and / or "objects".
[0020] "File": In this document, "file" refers to various files that can be run in a CAD system and used to create, edit, modify, store, and check CAD drawings. Common CAD file formats include, but are not limited to, DWG, DXF, DWT, DWF, DWL, DWS, DWX, MNU, MNC, MNL, MNS, CUI, CUIX, SHX, PAT, LIN, CTB, STB, PLT, PC3, etc.
[0021] "Collaborative Design Side": In this document, collaborative design sides refer to users who participate in a single drawing project and collaborate on collaborative design work. Collaborative design sides may have the same expertise (e.g., multiple architectural engineers working together to create a drawing) or different expertise (e.g., an architectural engineer, a plumbing engineer, an electrical engineer, and an HVAC engineer working together), and collaborative design sides refer to each other's drawings.
[0022] "Control Point": In this document (especially in the C invention), a control point is an abstract description of a certain operational element (entity, object, block, set, etc.), similar to the concept of a handle, through which one can quickly position in this set and perform a series of operations on the elements in this set. Of course, in some special circumstances, a set / set may contain only one operational object.
[0023] A Invention: CAD file timeline management system, method, computer-readable storage medium and computer terminal The invention relates to the CAD field, and more specifically to a method and system for managing the timeline of CAD graphic data.
[0024] In recent years, Internet technology, especially mobile Internet technology, has become widely used in the CAD design field, but existing CAD full-drawing transmission technologies are expensive and inefficient, making them unsuitable for collaborative design and sharing results in the Internet and mobile fields.In recent years, source code version control systems (VCS), such as Subversion (also known as SVN) and Git, have been widely applied in the software collaborative design and development field, but these software programs are primarily designed for small, purely text files, while CAD drawing data is generally binary data with complex formats and large sizes.
[0025] Version control systems, such as Subversion, store information in the form of file change lists. These systems treat the stored information as a set of base data and the gradual accumulation of differences for each file over time. When a version is created (i.e., a restore point), a difference for the previous version is generated and recorded. When tracking past versions, the system starts with the base file and sequentially merges the differences on each restore point to finally restore the file version required by the user. Because only differences are stored, the amount of data in these systems is relatively small. However, because differences must be analyzed and processed, the algorithm is relatively complex, computationally intensive, and prone to errors.
[0026] Version control systems, such as Git, store information using full-text snapshots. These systems treat data as a set of snapshots of a small file system. Each time a restore point is created, an update is submitted, or the project state is saved, a single snapshot of all files at that time is created and this snapshot index is saved. For efficiency, if a file is not modified, the file is not saved again, and only a single link is left pointing to the previously saved file. Otherwise, even a small change would require the entire file to be saved again. Because full-text snapshots are saved, no differentiation is required, making the algorithm simpler and providing higher performance and reliability. However, the I / O costs associated with transferring snapshots are significantly higher than transferring only differentiation.
[0027] CAD design projects have three characteristics: first, they involve many specializations, many graphic files, and complex reference relationships between the graphic files; second, the graphic file formats are complex, and most of them are binary data, resulting in high levels of randomness; and third, the size of the drawing files is large, reaching several MB or even hundreds of MB. With the improvement of computer hardware technology, the size of drawing files is expected to become even larger in the future.
[0028] Traditional CAD drawing management systems (such as management software, online disks, and cloud storage systems) either lack a timeline function when transmitting CAD drawings, or they store and generate versions for the entire CAD file (similar to the Git system, which also uses snapshots to store information).When processing design changes, these systems must store and transmit the entire drawing file, no matter how small the drawing change, resulting in large data consumption and data flow loss.
[0029] Furthermore, because CAD design projects contain a large number of graphic files and each graphic file is large in size, using a full-text snapshot data storage method means that the number of files and restoration points will increase as the timeline progresses, and the number of snapshots will also constantly accumulate, resulting in a significant increase in data consumption for accessing and transmitting these snapshots.
[0030] In addition, the graphic files of CAD design projects are in a complex binary data format and are large in size. Therefore, using a differential and cumulative storage method such as Subversion inevitably complicates the algorithm for collecting and processing differential data, slowing down operations and making errors more likely. Furthermore, due to the high randomness of the data, even a very small modification may result in a large difference between the two versions of the file data. Therefore, the advantages of differential and cumulative storage compared to full-text snapshots are not significant.
[0031] The invention A aims to provide a new CAD file management method applicable to CAD collaborative design systems, and to overcome or alleviate to some extent the technical problems of file storage, transmission and management in existing CAD systems.
[0032] A timeline management system for CAD files, comprising: a first data summary file and an incremental database; the first data summary file includes a first data item index table and first summary information; the incremental database stores first detailed data information corresponding to the first summary information; the first data item index table is used to search the incremental database for the first detailed data information corresponding to the first summary information; and the data summary file is configured to be associated with a first restoration point.
[0033] Furthermore, the invention A includes a timeline, and the first restoration point is placed on the timeline according to the time at which it was created.
[0034] Furthermore, there are multiple restoration points on the timeline, and the multiple restoration points are arranged in order according to the time at which they were created.
[0035] Furthermore, the invention A also includes a second data summary file containing a second incremental data item index table and second data summary information, wherein the second data summary information is stored in the incremental database as incremental data detail information for the first data summary information, the index table containing the second incremental data is used to search the incremental database for second data detail information corresponding to the second data summary information, and the second data summary file is configured to be associated with a second restoration point.
[0036] Furthermore, the first restoration point and the second restoration point are sequentially arranged on the timeline according to the time at which they were created.
[0037] Furthermore, the second data detail information includes (i) the incremental data detail information, and (ii) some or all of the detail information in the first data detail information.
[0038] Furthermore, the first data summary file is saved in a full-text snapshot manner.
[0039] Furthermore, the first data summary file is generated based on one or more CAD drawings, and the one or more CAD drawings all relate to the same construction project.
[0040] Furthermore, the first data summary information includes one or more summary information among author information, creation time, modification time, and / or thumbnail.
[0041] Furthermore, the first detailed data information is metadata.
[0042] Further, the first data detail information includes one or more CAD elements and element attributes corresponding to the one or more CAD elements, the element attributes including an insertion position of the element in the CAD drawing, an extension scale, start point and end point information, and / or rendering information.
[0043] The invention also discloses a user terminal for a CAD system, comprising: a restoration point acquisition module for acquiring a first restoration point from a timeline storage device; a restoration point analysis module connected to the restoration point acquisition module and used to analyze a first data summary file associated with the first restoration point, the first data summary file including a first data term index table and first data summary information; and a file restoration module connected to the restoration point analysis module for acquiring the first data term index table and the first data summary information, and for acquiring first data detail information corresponding to the first data summary information from an incremental database of the timeline storage device, thereby restoring and generating a first file.
[0044] Furthermore, the invention also includes a restoration point acquisition module that acquires the first restoration point from the timeline in the timeline storage device.
[0045] Furthermore, the restoration point acquisition module also acquires a second restoration point from the timeline storage device, the restoration point analysis module acquires a second data summary file including a second incremental data term index table and second data summary information through the second restoration point, and the file restoration module acquires second data detail information corresponding to the second data summary information from the incremental database in the timeline storage device based on the second incremental data term index table and the second data summary information, and restores and generates a second file.
[0046] Further, the second data detail information is stored in the incremental database, and (i) the second data summary information includes incremental data detail information relative to the first data summary information, and (ii) some or all of the detail information in the first data detail information.
[0047] Furthermore, the first data summary file is saved in a full-text snapshot manner.
[0048] Furthermore, the first data abstraction file includes one or more CAD drawings, all relating to the same construction project.
[0049] Furthermore, the first data summary information includes one or more summary information among author information, creation time, modification time, and / or thumbnail.
[0050] Furthermore, the first detailed data information is metadata.
[0051] Further, the first data detail information includes one or more CAD elements and element attributes corresponding to the one or more CAD elements, the element attributes including an insertion position, an extension scale, start and end point information and / or rendering information in the CAD drawing from which the element is restored or generated.
[0052] The invention also discloses a method for managing a timeline of CAD files, comprising: an AS101 step of acquiring one or more first CAD files; an AS102 step of creating a first data summary file including a first data term index table and first data summary information of the one or more CAD files based on the one or more first CAD files; an AS103 step of extracting first data detail information corresponding to the first and second data summary information from the one or more first CAD files, storing the first data detail information in an incremental database, and recording its first storage path in the first data term index table; and an AS104 step of creating a first restoration point and associating the first data summary file with the first restoration point.
[0053] Furthermore, the invention also includes a step AS105 of recording the first restoration point on a timeline according to the time at which it was created.
[0054] The invention also includes an AS106 step of acquiring one or more second CAD files; an AS107 step of creating a second data summary file based on the one or more second CAD files, the second data summary file including a second data term index table and second data summary information for the one or more CAD files; an AS108 step of comparing the first data summary file with the second data summary file, storing incremental data details for the second data summary file relative to the first data summary file in an incremental database, including all the second data details corresponding to the second data summary information in the incremental database, and recording the second storage path in the second data term index table; and an AS109 step of creating a second restoration point and associating the second data summary file with the second restoration point.
[0055] Furthermore, the invention also includes a step AS110 of recording the second restoration point on a timeline according to the time at which it was created.
[0056] Furthermore, the first data summary file is saved in a full-text snapshot manner.
[0057] Furthermore, the one or more first CAD files all relate to the same construction project.
[0058] Furthermore, the first data summary information includes one or more summary information among author information, creation time, modification time, and / or thumbnail.
[0059] Furthermore, the first detailed data information is metadata.
[0060] Further, the first data detail information includes one or more CAD elements and element attributes corresponding to the one or more CAD elements, the element attributes including an insertion position, an extension scale, start and end point information and / or rendering information in the CAD drawing from which the element is restored or generated.
[0061] The invention also discloses a method for restoring a CAD file, characterized by including an AS201 step of obtaining a first restoration point from a timeline storage device and a first data summary file including a first data item index table and first data summary information associated with the first restoration point; an AS202 step of obtaining first data detail information corresponding to the first data summary information from an incremental database in the timeline storage device using the first data item index table and the first data summary information; and an AS203 step of restoring and generating a first file using the first data summary file based on the first data detail information.
[0062] Furthermore, the first restoration point is recorded on the timeline of the timeline storage device.
[0063] Furthermore, the invention also includes an AS204 step of obtaining from the timeline storage device a second restoration point and a second data summary file including a second data term index table and second data summary information associated with the second restoration point; an AS205 step of obtaining incremental data details corresponding to the incremental data from the incremental database using the second data term index table and incremental data obtained by comparing the second data summary information with the first data summary information; and an AS206 step of restoring and generating a second file using the second data summary file by referring to the first data details and the incremental data details.
[0064] Furthermore, the first data summary file is saved in a full-text snapshot manner.
[0065] The first data summary file is generated from one or more CAD drawings, and the one or more CAD drawings all relate to the same construction project.
[0066] Furthermore, the first data summary information includes one or more summary information among author information, creation time, modification time, and / or thumbnail.
[0067] Furthermore, the first detailed data information is metadata.
[0068] The first data detail information includes one or more CAD elements and element attributes corresponding to the one or more CAD elements, and the element attributes include an insertion position, an extension scale, start and end point information, and / or rendering information in the CAD drawing from which the elements are restored or generated.
[0069] In order to clarify the purpose, technical means and advantages of the embodiments of invention A, a clear and complete description of the technical means in the embodiments of invention A will be provided below with reference to the drawings in the embodiments of invention A. Obviously, the described embodiments are only some embodiments of invention A, not all embodiments. All other embodiments that a person skilled in the art can obtain based on the embodiments of invention A without any creative effort also fall within the scope of invention A.
[0070] Example 1 of the invention The CAD graphic data of the invention A consists of two parts: one part is a data summary file, and the other part is an incremental database that accesses the actual data.
[0071] The data summary file consists of two parts: the main part is used to search the index table of data items from the incremental database, and the other part is used to store other necessary graphic data summary information such as author, creation time, modification time, thumbnail, etc.
[0072] The incremental database is used to store detailed data of objects in a CAD drawing, i.e., metadata terms, which contain all the necessary information to configure this object. When a drawing is modified, the metadata of the new or modified object is added to the database, forming a new data term.
[0073] A CAD design project timeline consists of a series of restore points over time. Each restore point creates a full-text snapshot based on a data summary for the file at that time and creates an index for this full-text snapshot of the data summary. Each file in a restore point has a corresponding data summary file. When the data summary is used to restore this file, the necessary set of metadata is retrieved from the incremental database.
[0074] As shown in Figure 1, invention A discloses a method for managing the timeline of CAD graphic data, which includes the following steps:
[0075] Step AS01 of configuring the timeline storage device A200 and classifying stored data: The timeline storage device A200 is configured to create an incremental database A204 corresponding to the data summary file A202 for all selected CAD figures. The timeline storage device A200 reads and analyzes all selected CAD figures and records the object metadata in each CAD figure file in the corresponding incremental database A204. At the same time, it calculates an index A206 for each piece of data and stores the index A206 in the data summary file A202. The data summary file A202 includes an index table A206 used to search for data items from the files in the incremental database A204 and other necessary figure data summary information (e.g., author, creation time, modification time, thumbnail, etc.). The incremental database A204 is used to store detailed data, i.e., metadata, of objects in the CAD figures. When a figure is modified, the metadata of the added or modified object is added to the incremental database to form a new data item.
[0076] Step AS02: Creating the baseline restore point 208: A CAD user uses the loading function to load a set of required CAD shapes into the timeline storage device A200.
[0077] It should be noted that Invention A uses the "all timeline" method, meaning that all restoration points (including the base restoration point) contain the full set of related CAD drawings (e.g., architectural drawings, plumbing drawings, electrical drawings, air conditioning drawings, etc.) associated with a project. In other words, Invention A creates a timeline for a series of CAD drawings, rather than creating a separate timeline for each individual CAD drawing. The advantage of this all timeline is that CAD users can obtain the full set of CAD drawings associated with the project at each restoration point, which is advantageous for the comprehensive management of multi-person, multi-professional, and multi-version CAD drawings and helps to avoid confusion.
[0078] For a set of data summary files A202 that need to be synchronized to the server, the timeline storage device A200 creates a reference restore point A208 for the set of data summary files A202, and the timeline storage device A200 sends the newly created reference restore point information A208, the selected data summary files A202, and the associated incremental data A204 to the server, where they are filed on the server.
[0079] Step AS03: Retrieving the base restore point A208: Through detection, the reference restore point A208 of the CAD design project is obtained from the server, and the timeline storage device A200 downloads the selected reference restore point A208 to the CAD user's local computer and locally creates a work snapshot for this reference restore point A208.
[0080] Step AS04: Extracting the restore point contents: The data summary file A202 in the work snapshot is opened using CAD software, and the timeline storage device A200 analyzes the index table A206 of the data summary file A202, incrementally synchronizes the graphic data with the local incremental database A204, and then recombines the graphic data into a data format that can be recognized by the CAD editing software.
[0081] Step AS05: Save and modify information Using CAD software, modifications to the CAD figures are made and saved, and the modified, added, deleted or revised object data information made by the analysis of the timeline storage device A200 is saved in the incremental database A204, and then the corresponding data summary file A202a (e.g., the index table is updated to A206a) is updated.
[0082] Step AS06: Create a new restore point A210: A set of data summary files that need to be synchronized to the server is selected, and the timeline storage device A200 creates a new restoration point A210 for this set of summary files A202a, and the timeline storage device A200 sends the newly created new restoration point information A210, the selected data summary files A202a, and related incremental data to the server, where they are filed on the server.
[0083] It should be noted that while the invention A employs an "all timeline" approach, the "all" in "all timeline" refers to the fact that each restoration point includes all files from the time of the project, with only some of those files having changed relative to the previous restoration point. This partial change can include all local modifications or only some of the local modifications, with the latter being more common, resulting in "selectivity" when submitting the data summary file A202a in step AS06. For example, if a CAD user modifies 10 files but only wants to submit three of them, the CAD user can select these three files as the objects to be submitted this time and postpone the remaining seven.
[0084] As a more practical example, suppose a designer is working on two design tasks (or changes) in parallel. One of the tasks is completed and involves modifying three files, while the other is in progress and involves modifying seven files. Since the designer only wants to submit the three files related to the completed task, they must first "select" the files that will be changed by the completed task, which can include adding, modifying, or deleting files.
[0085] Update to restore point AS07 step: Collaborative design users can use the update function to update their CAD graphic version to the latest version or a desired restore point. The method is as follows: The timeline storage device A200 downloads the selected restore point locally from the server and updates the corresponding work snapshot. The timeline storage device A200 then analyzes the information from this restore point to find the modified CAD graphic files, downloads the data summary files corresponding to the CAD graphic files locally, and updates the work snapshot.
[0086] The thick arrows in Figure 2 indicate the changed data.
[0087] Example 2 of the invention In one embodiment, invention A discloses a timeline storage device for CAD drawings, comprising a first data summary file and an incremental database, the first data summary file including a first data item index table and first data summary information, the incremental database storing first data detail information corresponding to the first data summary information, the first data item index table being used to search the incremental database for the first data detail information corresponding to the first data summary information, and the data summary file being configured to be associated with a first restoration point.
[0088] In one embodiment, the invention also includes a timeline, and the first restoration point is placed on the timeline according to its creation time. In another embodiment, there are multiple restoration points on the timeline, and the multiple restoration points are arranged sequentially according to their creation time.
[0089] In one embodiment, the invention also includes a second data summary file including a second incremental data term index table and second data summary information, wherein the second data summary information is stored in the incremental database as incremental data detail information for the first data summary information, the second incremental data term index table is used to search the incremental database for the second data detail information corresponding to the second data summary information, and the second data summary file is configured to be associated with a second restoration point.
[0090] In one embodiment, the first restoration point and the second restoration point are sequentially arranged on the timeline according to creation time. In one embodiment, the second data detail information includes (i) the incremental data detail information and (ii) some or all of the details in the first data detail information. In one embodiment, the first data summary file is saved in a full-text snapshot format. In one embodiment, the first data summary file is generated based on one or more CAD drawings, and the one or more CAD drawings are all related to the same construction project. In one embodiment, the first data summary information includes one or more summary information such as author information, creation time, modification time, and / or thumbnails. In one embodiment, the first data detail information is metadata.
[0091] Example 3 of the invention In one embodiment, the present invention discloses a user terminal for a CAD system, comprising: a restoration point acquisition module for acquiring a first restoration point from a timeline storage device; a restoration point analysis module coupled to the restoration point acquisition module and used to analyze a first data summary file associated with the first restoration point, the first data summary file including a first data item index table and first data summary information; and a file restoration module coupled to the restoration point analysis module for acquiring the first data item index table and the first data summary information, and for acquiring first data detail information corresponding to the first data summary information from an incremental database of the timeline storage device to restore and generate a first file.
[0092] In one embodiment, the invention also includes a step in which the restoration point acquisition module acquires the first restoration point from a timeline in the timeline storage device.
[0093] In one embodiment, the restoration point acquisition module also acquires a second restoration point from the timeline storage device, the restoration point analysis module acquires a second data summary file including a second incremental data term index table and second data summary information through the second restoration point, and the file restoration module acquires second data detail information corresponding to the second data summary information from the incremental database in the timeline storage device based on the second incremental data term index table and the second data summary information, and restores and generates a second file.
[0094] In one embodiment, the second data summary information is stored in the incremental database, and the second data summary information includes incremental data summary information relative to the first data summary information and some or all of the details in the first data summary information. In one embodiment, the first data summary file is saved in a full-text snapshot format. In one embodiment, the first data summary file includes one or more CAD drawings, all related to the same construction project. In one embodiment, the first data summary information includes one or more summary information among author information, creation time, modification time, and / or thumbnails. In one embodiment, the first data summary information is metadata.
[0095] Example 4 of the invention In one embodiment, the present invention discloses a method for managing a timeline of CAD files, characterized by including an AS101 step of acquiring one or more first CAD files; an AS102 step of creating a first data summary file including a first data term index table and first data summary information of the one or more CAD files based on the one or more first CAD files; an AS103 step of extracting first data detail information corresponding to the first and second data summary information from the one or more first CAD files, storing the first data detail information in an incremental database, and recording its first storage path in the first data term index table; and an AS104 step of creating a first restoration point and associating the first data summary file with the first restoration point (see Figure 3a).
[0096] In one embodiment, the invention also includes a step AS105 of recording the first restoration point on a timeline according to the time at which it was created.
[0097] In one embodiment, the invention also includes an AS106 step of acquiring one or more second CAD files; an AS107 step of creating a second data summary file based on the one or more second CAD files, the second data summary file including a second data term index table and second data summary information for the one or more CAD files; an AS108 step of comparing the first data summary file with the second data summary file, storing incremental data details for the second data summary file relative to the first data summary file in an incremental database, including the second data details corresponding to the second data summary information in the incremental database, and recording the second storage path in the second data term index table; and an AS109 step of creating a second restoration point and associating the second data summary file with the second restoration point (see Figure 3b).
[0098] In one embodiment, the invention also includes step AS110 of recording the second restoration point on a timeline according to the time of its creation completion. In one embodiment, the first data summary file is saved in a full-text snapshot format. In one embodiment, the one or more first CAD files are all related to the same construction project. In one embodiment, the first data summary information includes one or more summary information among author information, creation time, modification time, and / or thumbnail. In one embodiment, the first data detail information is metadata.
[0099] Example 5 of the invention In one embodiment, the present invention also discloses a method for restoring a CAD file, characterized by including: step AS201 of acquiring from a timeline storage device a first restoration point and a first data summary file including a first data item index table and first data summary information associated with the first restoration point; step AS202 of acquiring first data detail information corresponding to the first data summary information from an incremental database in the timeline storage device using the first data item index table and the first data summary information; and step AS203 of restoring and generating a first file using the first data summary file based on the first data detail information (FIG. 4a). In one embodiment, the first restoration point is recorded on a timeline in the timeline storage device.
[0100] In one embodiment, the invention also includes an AS204 step of obtaining from the timeline storage device a second restoration point and a second data summary file including a second data term index table and second data summary information associated with the second restoration point; an AS205 step of obtaining incremental data details corresponding to the incremental data from the incremental database using the second data term index table and incremental data obtained by comparing the second data summary information with the first data summary information; and an AS206 step (Figure 4b) of restoring and generating a second file using the second data summary file by referring to the first data details and the incremental data details.
[0101] In one embodiment, the first data summary file is saved in a full-text snapshot format. In one embodiment, the first data summary file is generated from one or more CAD drawings, where the one or more CAD drawings relate to the same construction project. In one embodiment, the first data summary information includes one or more summary information such as author information, creation time, modification time, and / or thumbnails. In one embodiment, the first data detail information is metadata.
[0102] Compared with the prior art, invention A has the following technical features:
[0103] 1. The timeline information is stored in a snapshot format (i.e., data summary files are saved in a full-text snapshot format), while the restoration point data is stored in an incremental format; both exist. 2. The CAD drawing transmission and processing method of Invention A is data summary + incremental data, so Invention A does not perform full-text snapshots of the entire CAD drawing. 3. Invention A tracks design changes between each restoration point through data summary files and incremental data analysis, and does not compare differences based on the entire CAD drawing.
[0104] Invention A creates a timeline for the entire construction design project as a unit, and does not create independent timelines for individual CAD graphic files within the project.
[0105] Based on the above technical features, Invention A has the following advantages. 1. Invention A manages the timeline and data information of CAD drawings using a data summarization and data increment method, rather than managing the entire drawing. This not only reduces the cost of storing and transmitting CAD drawing data, but also improves the processing performance of data line storage devices. 2. Invention A creates an overall timeline for the entire construction design project, rather than creating independent timelines for each CAD drawing file in the project. This ensures that the drawing data for the project at each restoration point is completely consistent and prevents the mixing of old and new drawings. For example, electrical layout drawings are designed using architectural floor plans as reference, and using two different versions of files can result in incorrect drawing results. Invention A's timeline creation method avoids these errors. 3. Invention A transmits incremental CAD drawing data rather than the entire CAD drawing file, significantly reducing the amount of CAD drawing data transmitted and improving transmission efficiency. 4. Invention A improves the efficiency of design change checking by tracking design changes through data summarization and incremental data analysis.
[0106] Specifically, Invention A creates a data summary file for a CAD graphic file, then creates a timeline using a full-text snapshot method that stores the data summary file. Incremental data (i.e., differential parts) resulting from file modifications are stored separately in an incremental database. The data summary is much smaller than the main text. It also contains information and metadata indexes necessary for processing the main text, meaning the data summary file is complete.
[0107] Since summary files are small in size, creating a timeline through full-text snapshots that store data summaries results in less data consumption than full-text snapshots (Git method), which reduces the device's storage space requirements and I / O costs. This advantage is ideal for mobile devices (small memory) and the Internet (slow and expensive transmission).
[0108] Example of the technical advantages of Invention A: Take a CAD design project with 100 initial files. If the average file size is 10MB, there are a total of 200 restoration points. Each restoration point modifies an average of five files, and the amount of data changed each time for each file is 100KB. Of these, the reference data is (10MB / file * 100) = 1GB. To store the entire timeline of this project using the full-text snapshot method, the amount of data required is (10MB / file * 5 * 200) = 10GB. However, Invention A creates restoration points by snapshotting the data summaries of the graphic files, and stores the modified data (differential parts) in the corresponding incremental databases. Since the data summaries store the data item indexes, rather than the data items themselves, their size is much smaller than the original drawings. Assuming that the size is 1 / 10 of the original drawing (i.e., 1MB), the amount of data required to store the entire timeline of this project based on the technical means of Invention A is [(1 / 10MB+100KB)*5*200]=1.1GB, which is roughly 1 / 10 of the full-text snapshot method. The smaller the size of the index items compared to the data items, the more significant the access advantage of Invention A becomes.
[0109] Furthermore, because the timeline device of the invention A stores data summaries, and the data summary files are complete, when a user needs to track design changes between versions (restoration points), the invention A can obtain complete change information simply by comparing the data summary files on two restoration points (e.g., by comparing data summary information, an incremental data summary can be obtained, and then detailed incremental data information corresponding to the incremental data summary can be obtained from the incremental database). In other words, a user can restore a file from one restoration point to another simply through the data summary file, rather than restoring file versions by starting from the base file and sequentially merging differences on individual restoration points, as is the case with subversions. Such a restoration method based on differential merging requires more data analysis and processing. Therefore, compared to differential timeline devices, the invention A has higher performance and reliability, improving not only device performance and data security issues, but also efficiency, thereby resolving the efficiency issue of tracking design changes.
[0110] Invention A has a wide range of applications, including but not limited to networked storage, sharing, and protection of CAD graphic data. Other application scenarios of Invention A include: 1. Data files meet the requirements for metadata, i.e., data files can be dispersed into smaller sets of metadata; 2. Used for incremental storage or reading of disk files; 3. Used for incremental transmission of files or data in a network environment; and 4. Used for backing up and restoring data files.
[0111] Although the above describes embodiments of the invention A with reference to the drawings, the invention A is not limited to the specific embodiments described above, and the above embodiments are for illustrative purposes only and not limiting. Those skilled in the art may make many modifications based on the teachings of the invention A without departing from the spirit and scope of the claims, all of which fall within the scope of protection of the invention A. For example, in the above Example 1, although the timeline storage device is installed on a remote server (e.g., the cloud end of a CAD collaborative design system), a CAD user can create a timeline storage device on their local computer to create a complete construction project timeline (also referred to as a private timeline). This CAD user can upload their private timeline to the cloud end of the CAD collaborative design system, allowing the collaborative design side to obtain CAD files at different restore points. In other words, while the invention A is particularly suited for use in CAD collaborative design systems, the invention A can also be used during non-collaborative design projects, allowing CAD drafters to manage CAD files at the drawing point using the invention A.
[0112] B Invention: Method for referencing external files in a CAD system, referencing device, computer-readable storage medium, and computer terminal The present invention relates to a method, a device, a computer-readable storage medium and a computer terminal for referencing an external file in a CAD system.
[0113] In traditional CAD drawing, each discipline references drawings provided by other disciplines or other external files, but generally, they load drawings provided by other disciplines into their own drawings as external references and create drawings by referencing elements such as floors, rooms, and walls in the drawings. Generally, a single discipline only focuses on elements in one discipline, and drawings from other disciplines are too complicated for them because they contain elements from other disciplines, so when incorporating drawings provided by other disciplines, filter rules need to be set.
[0114] In existing technology, there are only two common filter rule types in External Reference (XREF) files in CAD systems: (i) area cutting and (ii) layer hiding. The filter rule types are too simple, preventing complex and smooth operations on the CAD drawings involved. Even if the CAD drawings referenced (or imported) are diverse, there are only two common filter rule types (area cutting or layer hiding), and CAD users are forced to choose one of these two rule types.
[0115] Furthermore, in existing CAD systems, external reference files and their filter rules are stored as binary data in DWG files, resulting in tightly coupled filter rules and CAD drawing data (i.e., the filter rules and CAD drawing data are stored together in a strongly coupled manner), making it difficult to conveniently use specific filter rules with other external reference files. Furthermore, each referenced external reference file may be referenced multiple times by different users, and if a separate filter rule were to be set up for each reference, the referencing process would be extremely tedious and error-prone. In other words, this strongly coupled storage method results in a low rate of duplicate filter rules and relatively high costs for modification and maintenance.
[0116] In addition, since the filter rules are stored in the DWG drawing, the file format of the CAD drawing changes every time a new function is added. However, since widely used files such as DWG drawings are rarely modified, these specific functions are difficult to expand. In other words, the filter means are fixed and not easily expandable.
[0117] The object of the invention B is to provide a new CAD system reference method that can overcome or alleviate to some extent the above-mentioned drawbacks of the external reference method in existing CAD systems.
[0118] In order to solve the above problem, the invention B discloses a method for referencing external files in a CAD system, characterized by including a step of creating a first general reference rule file that is independent of at least one referenced file based on at least one reference condition and storing it independently in an extensible file format, and a step of referencing at least one referenced file using at least one selected first general reference rule file.
[0119] Furthermore, the first reference rule file is expanded based on a second general reference rule file sent by the collaborative design side, and the second general rule file is created according to at least one reference condition selected by the collaborative design side.
[0120] The reference rule file is stored in XML (Extensible Markup Language) format. The reference conditions include layer filter operation instructions, area cutting filter operation instructions, and / or drawing filter operation instructions. The drawing filter operation instructions are self-defined reference conditions that are added based on the object types and their characteristics in the referenced file.
[0121] Invention B also discloses a method for referencing external files in a CAD system, which includes a step of obtaining at least one third general reference rule file transmitted by the collaborative design side, and referencing at least one referenced file using the selected at least one third general rule file, wherein the third general reference rule file is created in advance according to at least one reference condition selected by the collaborative design side and is stored independently in an extensible format.
[0122] Furthermore, the reference rule file is stored in XML format. Furthermore, the reference conditions include layer filter operation instructions, area cutting filter operation instructions, and / or drawing filter operation instructions. Furthermore, the drawing filter operation instructions are self-defined reference conditions added according to each object type and feature in the referenced file.
[0123] The invention also discloses an external file referencing device for use in a CAD system, characterized in that it includes a reference rule file creation module for creating at least one first reference rule file independent of a referenced file based on at least one reference condition and storing the file in an extensible file format, a first storage module for storing at least one of the first general reference rule files created by the reference rule file creation module, and a first reference module for referencing at least one of the referenced files using at least one selected of the first general reference rule files.
[0124] Furthermore, the first general reference rule file is extended by the reference rule file creation module based on a second general reference rule file sent by the collaborative design side, and the second general reference rule file is created based on at least one reference condition selected by the collaborative design side.
[0125] Furthermore, the reference rule file is characterized in that it is stored in XML format. Furthermore, the reference conditions include layer hiding operation commands, area cutting hiding operation commands, and / or drawing filter operation commands. Furthermore, the drawing filter operation commands are self-defined reference conditions added according to each element type and its characteristics in the referenced file.
[0126] The invention B also discloses an external file referencing device for use in a CAD system, characterized in that it includes an acquisition module for acquiring at least one second general reference rule file sent by the collaborative design side, and a second reference module for referencing at least one referenced file using at least one selected second general reference rule file, wherein the second general reference rule file is created using at least one reference condition added in advance by the collaborative design side and is stored independently in an extensible format.
[0127] The reference rule file is stored in XML format. The reference conditions include layer hiding instructions, area cutting instructions, and drawing filter instructions. The drawing filter instructions are self-defined reference conditions added according to the element types and their features in the referenced file.
[0128] The invention B also discloses a computer-readable storage medium comprising a set of instructions, wherein, when the instructions are executed, at least one processing device performs the following operations: creating a first general reference rule file independent of at least one referenced file according to at least one reference condition and storing the file independently in an extensible format; and referencing at least one of the referenced files by at least one selected first general reference rule file; or, when the instructions are executed, at least one processing device performs the following operations: obtaining at least one third general reference rule file sent by the collaboration design side; and referencing at least one referenced file by at least one selected third general reference rule file; wherein the third general reference rule file is created in advance according to at least one reference condition selected by the collaboration design side and stored independently in an extensible file format.
[0129] Furthermore, the first general reference rule file is extended based on a second general reference rule file sent by the collaborative design side, and the second general reference rule file is created based on at least one reference condition selected by the collaborative design side.
[0130] Invention B also discloses a computer terminal including at least one processing device and a computer-readable storage medium coupled to the processing device, wherein the computer-readable storage medium contains a set of instructions, and when the at least one processing device executes the instructions, the at least one processing device performs the following operations: creating a first general reference rule file independent of at least one referenced file according to at least one reference condition and storing it independently in an extensible format; and referencing at least one of the referenced files by at least one selected first general reference rule file; or when the at least one processing device executes the instructions, the at least one processing device performs the following operations: obtaining at least one third general reference rule file sent by the collaboration design side; and referencing at least one referenced file by at least one selected third general reference rule file; wherein the third general reference rule file is created in advance according to at least one reference condition selected by the collaboration design side and stored independently in an extensible file format.
[0131] Furthermore, the first general reference rule file is expanded based on a second general reference rule file sent by the collaborative design side, and the second general rule file is created according to at least one reference condition selected by the collaborative design side.
[0132] Advantages of Invention B: Invention B references at least one reference rule file that is independent of the referenced file generated by the reference conditions, so that when referencing the referenced file, there is no need to set duplicate reference conditions and all reference rule files that meet actual needs (whether created by the CAD drafting engineer himself or obtained from other collaborative design parties) can be specified, which greatly improves work efficiency and better ensures the accuracy of reference (e.g., avoids errors caused by setting duplicate reference conditions).In addition, Invention B uses an extensible file format such as XML format, which makes it independent from the referenced file and extensible, allowing new reference conditions to be created according to actual needs.
[0133] In order to clarify the purpose, technical means and advantages of the embodiments of invention B, a clear and complete description of the technical means in the embodiments of invention B will be provided below with reference to the drawings in the embodiments of invention B. Obviously, the described embodiments are only some embodiments of invention B, not all embodiments. All other embodiments that a person skilled in the art can obtain based on the embodiments of invention B without any creative effort also fall within the scope of invention B.
[0134] Example 1 of the invention In one embodiment of the invention, a method for referencing an external file in a CAD system includes: a BSO1 step for generating at least one reference rule file according to at least one reference condition added by the referenced file, the at least one reference rule file being stored in an extensible file format independent of the referenced file; and BS02, which applies the referenced file to the main file according to the selected at least one reference rule file (FIG. 5a).
[0135] In one embodiment of the invention, a method for referencing an external file in a CAD system includes: a BS11 step of adding at least one reference condition to the referenced file; a step BS12 of generating a reference rule file using an XML format according to the at least one reference condition; a BS13 step of filtering the referenced file by specifying the reference rule file when referencing the referenced file; and a BS14 stage of applying the filtered referenced files to the main file (FIG. 5b).
[0136] The external file referencing method disclosed in the above embodiments is of great significance for collaborative design CAD drafting. More and more CAD drafting projects are being completed through the collaboration of engineers with multiple specialties. Therefore, collaboration typically involves cross-referencing / cross-referencing specialized CAD files (in this document, the referenced and referenced files are referred to as the "referenced file," and the CAD drawing that accepts and contains the "referenced file" is referred to as the "main file"). When the main file references / references the referenced file, the user can add a reference condition (which filters elements in the referenced file) associated with the referenced file. This reference condition may be a reference condition already associated with the referenced file (e.g., the current user or another user has previously set one or more reference conditions for the referenced file), or it may be an additional reference condition or a modification of a previously set reference condition.
[0137] In one embodiment, the reference conditions are stored independently to form a reference rule file, which is independent of the referenced file and the main file. In one embodiment, "independent" refers to the fact that the reference rule file can be independently created, saved, modified, updated, and transmitted. For example, a plumbing engineer can share his or her own reference rule file with other plumbing engineers without needing to share the referenced CAD file.
[0138] The file can use an extensible file format. For example, the reference rule file can be stored in XML format. XML is a simple, platform-independent, widely used standard language and a "metalanguage" for defining other languages. Simply put, XML provides a way to describe structured data. XML is also a meta-markup language, that is, a grammar language that defines semantic and structural markup languages related to other specific fields. Users can define the marks they need, which is the extensibility of this language. In an XML file, content and representation are separate, so different users can define different reference conditions according to their own needs.
[0139] In addition to XML, other extensible file formats and markup languages can also be applied to the B invention, and reference rule files can also be stored in the B invention, such as GML (Generalized Markup Language), SGML (The Standard Generalized Markup Language), HTML (Hyper Text Markup Language), XHTML (Extensible Hyper Text Markup Language), XAML (Extensible Application Markup Language), JSON (Java Script Object Notation), etc.
[0140] Therefore, compared to conventional CAD software, external references in existing technologies record only one external DWG file path name. In contrast, the B invention not only records DWG files, but can also record a reference rule file that is independent of an external DWG file. When referencing an external DWG file, the reference rule file is opened, and entities (also called drawing elements), objects, blocks, sets, and / or layers that satisfy the rules in the DWG file are loaded according to the reference conditions recorded in the reference rule file.
[0141] In one embodiment of the invention, the reference rule file can have three reference rule modes: layer display, area cutting, and graphic filter. Each mode has corresponding feature information recorded according to its own characteristics. In other embodiments of the invention, the reference rule modes include, but are not limited to, filter, substitution, and addition.
[0142] Take area cutting as an example. Such a reference rule can only display entities within a certain area. Therefore, the reference rule records a set of binary data and a coordinate transformation matrix. After reading the reference rule, the CAD drawing system software determines whether the area surrounding the entity is included in this area, and entities that do not belong to the area will not be displayed.
[0143] Below is an example of a reference rule file, using XML format to show three reference rule methods: layer display, area cutting, and graphic filter.
[0144] [Table 1] First, in the Layers node, the name of the filtered layer "Section Line" is recorded. If the layer with this name "Section Line" is included in the referenced drawing, the entities on this layer will not be loaded.
[0145] In addition, the node ReservedArea records point position information of the reserved area. All entities located outside the reserved area in the referenced drawing are not read.
[0146] The Filters node records the conditions used for filtering shapes, and each condition is a Filters node. There is one specific Filter here, which means that if its type is an AcDbCircle entity (circle), its number is 1302, and its attribute (color) value is (Operator is 0)-1073741824 (i.e., BYLAYER), it will not be loaded.
[0147] In traditional CAD, data such as area cutting and layer hiding set for external references are stored in DWG drawings. Every new function addition brings about changes in the format of drawing files, but since files with wide propagation ranges such as DWG drawings are rarely modified, these already fixed functions are difficult to expand.
[0148] In addition, the management and dissemination of traditional CAD drawings is left to the individual's skill level, and dividing a single drawing into multiple files can easily lead to file loss or confusion, so traditional CAD stores external reference setting data within the DWG drawing.
[0149] However, Invention B stores all DWG drawing files and XML reference rule files in the same CAD collaborative design software system and files them in that CAD collaborative design software system. The CAD collaborative design software system standardizes users' use of DWG drawing files and XML reference rule files, file management is traceable thanks to historical records, and file propagation is scalable thanks to project management. Therefore, Invention B's technical means of using independent reference rule files eliminates the impact of file errors caused by human management.
[0150] B Invention Example 2 An example will be given to explain the working method of invention B. In a construction project B200, the higher-level specialty is architecture, and the lower-level specialty is plumbing. A plumbing engineer must design the plumbing for the toilet and kitchen in the drawings provided by the architecture specialist (for ease of explanation, in the following examples, pipelines are not shown, but are replaced by a washing machine, sink, and range). The architectural drawings include one drawing, "Standard Floor.dwx" B202. This drawing contains only architectural information such as room layout and room functions (e.g., dining room, kitchen, living room, bedroom, toilet, interior staircase, etc.). See Figure 6.
[0151] When a plumbing engineer draws a plumbing diagram, he first creates a "Toilet.dwx" drawing B204 (see "Newly Created Drawing" in Figure 7) under the first-level directory (electrical, plumbing, building, air conditioning, and reference rules are all included in the first-level directory), and then loads it into the drawing "Standard Floor.dwx" B202 (as shown in Figure 8, for ease of distinction, the standard floor number for the building is B202A, and the standard floor number referenced in the toilet drawing is B202B). He then finds the toilet location B206, draws an entity B208 (see Figure 9), and saves and closes it.
[0152] Create a drawing B210 in the "Kitchen.dwx" directory under the water supply and drainage drawing directory, and load the drawing B202 in the "Standard Floor.dwx" directory. Find the kitchen location B212, draw B214 in it, and refer to Figure 10. Save and close the drawing.
[0153] Next, create a general drawing. Since there is already annotation information in "Standard Floor.dwx" B202, you must delete the annotation information brought in from "Standard Floor.dwx" B202 in the water supply and drainage drawing.
[0154] First, create a general reference rule file B216 to filter the annotation information brought in from the "Standard Floor.dwx" B202 in the water supply and drainage diagram, leaving only useful entities (e.g., water tanks, toilets, etc.) B208, B214. For example, use "Toilet.dwx" B204 as the base diagram, select the file, right-click, and select "Create New Reference Rule" B216 (see Figure 11) from the pop-up menu. Click "Graphics Filter" and set appropriate parameters in the "Remove from Selected Objects" dialog box to remove all annotations, leaving only water supply and drainage entities (e.g., water tanks, toilets, etc.), and save the "Water Supply and Drainage.drf" B218 (see Figure 12) file.
[0155] Create "General Drawing.dwx" B220, load "Standard Floor.dwx" B202, then load "Toilet.dwx" B204 and "Kitchen.dwx" B210, and when referencing these two files, specify "Water Supply and Drainage·drf" B218 as the reference rule file (see Figure 13). As shown in Figure 14, when loading "Toilet.dwx" B204 and "Kitchen.dwx" B210 into "General Drawing.dwx" B220, the reference rule file "Water Supply and Drainage.drf" B218 leaves only the water supply and drainage entities (such as water tanks and toilets) that are useful, and removes any annotation information brought in from "Standard Drawing.dwx" B202 in the water supply and drainage drawings.
[0156] In one embodiment of the method for referencing an external file in a CAD graphic system of the invention B, the reference rule file is an XML file, which is extensible, easy to store and transmit, and independent of the drawing file. When referencing a drawing, any referenced file can be specified, and there is no need to set duplicate reference rules. This not only greatly improves work efficiency, but also ensures accuracy, is not limited by the CAD external reference function, and has no impact on the original drawing file.
[0157] The reason for using the XML format for the reference rule file is mainly because the XML format is inherently reliable and extensible, and the technology for parsing and generating XML format files is already mature and has low maintenance costs. However, since the rule file in B's invention is independent, it can be used with any other file format, not just the XML format.
[0158] Example 3 of the invention Based on the method for referencing an external file in a CAD system in the first embodiment, the present invention also provides an external file referencing device B300 for use in a CAD system, which will be described below in conjunction with specific drawings and embodiments.
[0159] FIG. 15 is a functional module diagram of an embodiment used for the external file reference device of the CAD system of the B invention. Specifically, the external file reference device B300 of this embodiment includes: The system includes a reference rule file generation module B301 for generating at least one reference rule file independent of the referenced file based on at least one reference condition added to the referenced file, a first storage module B302 for storing the reference rule file generated by the reference rule file generation module B301, and a first reference module B303 for referencing the corresponding referenced file using the selected reference rule file.
[0160] A CAD drawing project is generally completed through the collaboration of multiple disciplines, and each discipline will examine different objects in the referenced files. Therefore, once a user references a referenced file (specifically, another CAD drawing imported via external reference, or an external file such as a block, Excel spreadsheet, or photo imported via insertion or other means), the user can add at least one reference condition (specifically, the reference condition may include a layer hiding operation command, an area cutting operation command, and / or a drawing filter operation command) to the referenced file according to their actual needs to complete the reference to the referenced file. For example, hiding an object in the referenced file (e.g., hiding annotation information related to the basic structure) or changing the properties of an object (e.g., changing the color or adjusting the line thickness, etc.).
[0161] However, in order to avoid storing the at least one reference condition added by the user together with the referenced file, in this embodiment, the at least one reference condition added to the referenced file is stored separately, so as to be independent of the referenced file; that is, the reference rule file generation module B301 obtains the at least one reference condition added by the user to the referenced file, and generates at least one reference rule file based on the at least one reference condition, which is stored in the first storage module B302 in an extensible file format, so as to be independent of the referenced file.
[0162] In one specific embodiment, the drawing filter operation command is a self-defined reference condition (see FIG. 20) added based on each element type and its characteristics in the referenced file. That is, the user simply selects the objects in the referenced file that need to be hidden (i.e., filtered) or have their reference method changed, and then selects the corresponding reference method. For example, the user can select an entity and change its color (e.g., red), or select an entity and hide it, or select an entity and hide all other elements except for that entity, showing only that entity. Specifically, the objects included in the drawing include various elements contained in the referenced file, and their types can vary. For example, in a CAD drawing "Kitchen.dwx," entities such as the walls, range top, tank, company logo, and table description, as well as notes such as dimensions, model, or function, can be included, as well as other types.
[0163] In a specific embodiment, the storage module B302 is used only to store the referenced file generated by the reference rule file generation module B301, and the reference rule file therein is stored in XML format.
[0164] In this embodiment, the referenced file may be previously associated with at least one reference rule file, or may not be previously associated with any reference rule file. Therefore, in another specific embodiment, the storage module B302 not only stores the reference rule file generated by the reference rule file generation module B301, but also stores at least one other user-defined reference rule file previously associated with the referenced file, which is loaded simultaneously when the referenced file is loaded. Of course, the storage module B302 can also store the referenced file, but the referenced file and the reference rule file can also be stored separately to ensure their independent storage.
[0165] In a specific embodiment, once a current user selects a reference rule file, the reference module B303 references the corresponding referenced file through the selected reference rule file, where the selected reference rule file is generated by the reference rule file generation module B301 based on the reference conditions added by the current user, or is previously generated by another user based on the reference conditions added by another user using the reference rule file generation module of the corresponding device, and is loaded by the current user simultaneously with loading the referenced file through the CAD system.
[0166] The reference device of this embodiment can be integrated into a CAD system and used as one of the sub-function APPs of the CAD system.
[0167] Example 4 of the invention Invention B also provides another method for referencing external files in a CAD system, which will be described in detail below in conjunction with specific embodiments and drawings.
[0168] FIG. 16 is a flowchart of another embodiment of the external file reference method in the CAD system of the invention B. Specifically, the reference method of this embodiment is as follows: The method includes a step BS41 of obtaining at least one reference rule file that has already been associated with the referenced file.
[0169] A project is generally completed through the mutual cooperation of multiple experts, so during actual use, the user will generally load one referenced file. However, since the referenced file is already associated with at least one reference rule file, when the user loads the referenced file, the reference rule file associated with the referenced file is also loaded at the same time.
[0170] In one specific embodiment, at least one reference rule file pre-associated with the referenced file is generated based on at least one reference condition previously added to the referenced file by another user, and is stored independently of the referenced file in an extensible file format; specifically, the referenced rule file is stored in XML format, and when a user currently loads the referenced file, the reference rule file associated with the referenced file is also loaded at the same time.
[0171] In a specific embodiment, the referenced file is a CAD drawing imported by external reference, or an external file such as a block, Excel table, or photo imported by insertion or other means, and the reference conditions include layer hiding operation commands, area cutting operation commands, and drawing filter operation commands, among which the drawing filter operation commands are self-defined reference conditions (see Figure 20) added based on each element type and its characteristics in the referenced file.
[0172] In a specific embodiment, the reference conditions include layer hiding, area cutting, and / or drawing filtering. Drawing filtering is a self-defined reference condition that is added based on the object type and characteristics of each object in the referenced file (see FIG. 20). That is, the user simply selects the objects in the referenced file that need to be hidden (i.e., filtered) or have their reference method changed, and then selects the corresponding reference method. For example, the user can select an entity and change its color (e.g., red), or select an entity and hide it, or select an entity and hide all other elements, leaving only that entity visible. Specifically, the objects include various elements contained in the referenced file, and these can be of various types, such as the walls, range top, tank, company logo, and table description in a CAD drawing "Kitchen.dwx," as well as notes such as dimensions, model, or function. Other types are also possible.
[0173] The BS 42 references the corresponding referenced file by at least one selected reference rule file.
[0174] Generally, unless otherwise required, a user can directly use at least one reference rule file that is pre-associated with the referenced file, and there is no need to add new reference conditions to create a new reference rule file. Therefore, in this embodiment, once a user selects at least one reference rule file that is pre-associated with the referenced file, the referenced file can be directly referenced by the selected reference rule file.
[0175] B Invention Example 5 Based on the referencing method of the fourth embodiment, the invention also provides an external file referencing device for a CAD system, which will be described below in conjunction with specific drawings and embodiments.
[0176] FIG. 17 is a functional module diagram showing another embodiment of the external file reference device B500 of the CAD system of the present invention. Specifically, the external file reference device B500 of the present invention includes: a reference rule file acquisition module B501 for acquiring at least one reference rule file associated with the referenced file; and a second referencing module B502 for referencing the referenced file by the selected at least one reference rule file.
[0177] A project is completed through the cooperation of multiple experts, and in practice, a user generally uses a CAD system to load a referenced file, which is previously associated with at least one reference rule file. That is, when a user loads a referenced file, the reference rule file previously associated with the referenced file is also loaded and stored in the CAD system. Therefore, when a user loads a referenced file, the reference rule file acquisition module B501 acquires the reference rule file already associated with the referenced file, and when the user selects the corresponding reference rule file through a corresponding operation, the second reference module B502 references the referenced file using the selected reference rule file.
[0178] In a specific embodiment, the reference rule file is generated based on at least one reference condition previously added to the referenced file by other users, and is stored independently of the referenced file in an extensible format, specifically, the reference rule file is stored in XML format.
[0179] In a specific embodiment, the referenced file is a CAD drawing imported by external reference, or an external file such as a block, Excel table, or photo imported by insertion or other means, and the reference conditions include layer hiding operation commands, area cutting operation commands, and drawing filter operation commands, among which the drawing filter operation commands are self-defined reference conditions (see Figure 20) added based on each element type and its characteristics in the referenced file.
[0180] In one embodiment, the reference conditions include layer hiding, area cutting, and / or drawing filtering. Drawing filtering is a self-defined reference condition that is added based on the object type and characteristics of each object in the referenced file (see Figure 20). This means that users can select the objects in the referenced file that need to be hidden (i.e., filtered) or have their reference method changed, and then select the corresponding reference method. For example, they can select an entity and change its color (e.g., red), or select an entity and hide all other elements, leaving only that entity visible. Specifically, the objects in the referenced file can be of various types, such as the walls, range top, tank, company logo, and table description in a CAD drawing called "Kitchen.dwx," as well as notes such as dimensions, model, and function. Of course, there are other types as well.
[0181] In this embodiment, the storage module can use the same storage medium as the storage module in the third embodiment, or a different storage medium. Therefore, the reference module in this embodiment is the same as the reference module in the third embodiment.
[0182] Of course, the reference device of this embodiment can be integrated into a CAD system and used as one of the sub-function APPs of the CAD system.
[0183] B. Invention Example 6 The invention also provides a computer-readable storage medium, which in this embodiment can be a RAM storage device, a flash storage device, a ROM storage device, an EPROM storage device, an EEPROM storage device, a register, hardware, mobile hardware, a CD-ROM, or any other form of storage medium known in the art.
[0184] The computer-readable storage medium stores one or more programs, which are executed by one or more processing devices to realize some or all of the steps in the above-mentioned Example 1 or Example 3.
[0185] In this embodiment, a computer-readable storage medium stores one or more external file referencing programs, which generate at least one reference rule file based on a reference rule file added to a referenced file and store the file in an extensible file format independent of the referenced file. Compared to conventional methods in which reference rules are stored in binary data format within a DWG drawing file and tightly coupled to the drawing data, this embodiment allows users to specify any reference rule file according to actual needs when loading a referenced file, eliminating the need to set duplicate reference conditions, greatly improving work efficiency and ensuring accuracy. Furthermore, because the reference rule file is independent of the referenced file, a graphic filter reference method can be added in addition to the conventional layer filter and area cutting methods, allowing users to quickly select objects that need to be filtered and the filter method based on the object type and characteristics in the drawing.
[0186] B Invention Example 7 The above-described embodiments of the invention B are implemented by a computer terminal (terminal) B600, which may be implemented in various forms, such as mobile computer terminals such as mobile phones, tablet PCs, notebook PCs, and pocket PCs, as well as fixed computer terminals such as digital TVs and desktop PCs. Although a desktop PC is used as an example in this embodiment, those skilled in the art will readily understand that the structure of the embodiments of the invention B can also be used in mobile PC terminals.
[0187] 18 is a schematic diagram of the hardware structure of a computer terminal of the invention B, in which the computer terminal (terminal) B600 includes components such as a display unit B601, a user input unit B602, a storage device B603, a processing device B604, and a computer-readable storage medium B605. Those skilled in the art will readily understand that the computer terminal structure shown in FIG. 18 is not intended to limit the computer terminal structure, and that a computer terminal may have more or fewer components than those shown in the figure, or a combination of certain components, or a different arrangement of parts.
[0188] Each component of the computer terminal B700 will be described in detail below with reference to FIGS.
[0189] The display unit B701 is used to display information input by a user or information provided to a user. The display unit B701 includes a display panel, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
[0190] The user input unit B702 receives input numeric or character information and is used to input key signals related to user settings and function control of the electronic device. Specifically, the user input unit B702 includes a keyboard, a mouse, and other input devices, such as a touch panel, etc. The user input unit B702 may also include one or more of other input devices, such as function keys (volume control keys, switch keys, etc.), a trackball, a control lever, etc., and specific examples are not limited thereto.
[0191] Furthermore, when the touch control panel is used as the input unit, it can cover the display panel, and when the touch panel detects a touch operation on or near it, it transmits the detected touch event to the processing unit B704 to determine the type of touch event, and the processing unit B704 then provides a corresponding image output on the display unit B701 according to the type of touch event. In Figure 19, the touch control panel and the display unit B701 are two independent components that realize the input and output functions of the mobile PC terminal B700, but in some embodiments, the touch control panel and the display unit B701 are integrated to realize the input and output functions of a desktop PC. Specific examples are not limited here.
[0192] The storage device B703 is used to store software programs and various data. The storage device B703 mainly includes a program storage area and a data storage area, of which the program storage area can store the OS and at least one application required for a function (e.g., CAD application), and the data storage area can store data created for use by the computer system (e.g., audio data, drawing data, reference rule files), etc. In addition, the storage device B703 can include a high-speed random access storage device, and can also include at least one nonvolatile storage device selected from disk storage devices, flash storage devices, or other nonvolatile solid-state storage devices.
[0193] As shown in Figures 18 and 19, in one embodiment, the computer-readable storage medium is part of the storage device, and the program storage area can of course also be a single storage unit, and the computer-readable storage medium contains a set of instructions, and when at least one processing device executes the instructions, the at least one processing device performs the following operations: creating a reference rule file independent of at least one referenced file according to at least one reference condition added by the referenced file, and storing it in an extensible format independent of the referenced file; and referencing the referenced file by the selected at least one reference rule file.
[0194] The processing unit B704 is the control center of the electronic equipment, connecting various components of the entire electronic equipment using various interfaces and circuits, running or executing software programs and / or modules stored in the storage unit B704, and using the data stored in the storage unit B703 to perform various computer functions and process data, thereby realizing comprehensive computer monitoring. The processing unit B704 may include one or more processing units, and preferably, the processing unit B704 may integrate an application processing unit, which is mainly used to process the OS, user interface, APP, etc.
[0195] Although not shown in FIGS. 18 and 19, the computer terminal B700 may also include a communication module, which will not be described again here.
[0196] It is important to note that, throughout this document, the terms "comprises," "comprises," and all variations thereof are intended to be inclusive, such that a process, method, article, or apparatus comprising a set of elements not only includes those elements, but also other elements not expressly listed or inherent in such process, method, article, or apparatus. Unless more restrictive, an element defined by the phrase "comprises a..." does not exclude other identical elements from being included in the process, method, article, or apparatus of that element.
[0197] Through the description of the above embodiments, those skilled in the art should clearly understand that the methods of the above embodiments can be realized using the method of software + required general-purpose hardware platform. Of course, it can also be realized using hardware, but in many situations, the former is a better embodiment. Based on this understanding, the technical means of the invention B can be expressed in the form of a product, either in its essence or in the part that contributes to existing technology, and the computer software product is stored in a storage medium (e.g., ROM / RAM, disk, CD-ROM) and allows a computer terminal (such as a mobile phone, computer, server, or network equipment) to execute the above methods described in each embodiment of the invention B.
[0198] Although the embodiments of the invention B have been described above with reference to the drawings, the invention B is not limited to the above specific embodiments, which are merely for illustrative purposes and not for limiting purposes. Those skilled in the art may make many modifications based on the teachings of the invention B without departing from the spirit and scope of the claims of the invention B, and all of these modifications fall within the scope of protection of the invention B.
[0199] C Invention: Layer manipulation system, method, computer-readable storage medium and computer terminal referenced to a CAD system The present invention relates to a layer-by-layer operation method referenced in a Computer Aided Design (CAD) system, and the system, computer-readable storage medium, and terminal.
[0200] External Reference (XREF) refers to the ability of a user in a CAD environment to view all other drawings in their current drawing file through the method of external reference. For example, when designer A draws drawing A, drawing B (or other external files in other formats, such as PDF or photos) drawn by another designer is loaded into drawing A as a reference as a base drawing. Among these, drawing B is an external file referenced by drawing A, and is also an external reference.
[0201] Collaborative design refers to a server-based shared platform that utilizes the external reference function of the CAD system to divide the design file into several modular files according to the design requirements of different specialties, and then reassemble them. In other words, it is a method of collaborative design where multiple people from different locations work on the design of a single project. During collaborative design, designers with different specialties refer to the CAD drawings drawn by other designers, so various reference relationships exist. For example, when designer A draws drawing a, he references drawing b drawn by designer B as the base drawing, and designer B's drawing b references drawing c drawn by designer C, forming a nested reference relationship.
[0202] However, because different professional designers have different ways of focusing, when complex reference relationships exist, the reference type can be specified as an "overlay" or an "attach."
[0203] When a user selects "Coverage," other external references that are referenced in the current drawing and nested in the external reference will not be displayed in the current drawing. For example, when designer A draws drawing a, if he references drawing b and selects "Coverage Reference," external reference c that is nested in drawing b will not be displayed in drawing a.
[0204] When the user selects "Attachment", other external references that are referenced in the current drawing and nested in the external reference will also be displayed in the current drawing. For example, when designer A is drawing drawing a, if he refers to drawing b and selects "Attachment Reference", drawing b will be displayed in drawing a, and external reference drawing c, which is nested in drawing b, will also be displayed.
[0205] In actual application, once an xref type is specified, it becomes difficult to later change the reference relationship between the xref and other xrefs nested within it. For example, if drawing b references drawing c using the "covered" reference method and drawing d using the "attached" reference method, and drawing a specifies the type of referenced drawing b as "attached," then drawings b and d will be displayed simultaneously in drawing a, but drawing c will not be displayed. If you later want to display drawing c, you will have to start from scratch; that is, first change the reference method of drawing b's referenced drawing c (i.e., change it to "attached"), and then reload xref b into drawing a.
[0206] Similarly, if you later decide you don't want to display drawing d, you have to start from scratch: first, change the reference type of drawing d referenced by drawing b (i.e., change it to "covered type"), and then import external reference b into drawing a. This makes changing reference types in traditional CAD systems extremely cumbersome and unwieldy. Furthermore, the current user of a drawing may not have the necessary permissions to change the reference type of the drawing they want to reference relative to other drawings. For example, when an HVAC engineer references a plumbing drawing, they may not have the necessary permissions to change the plumbing drawing's reference type relative to the architectural drawing (which would be the plumbing engineer's responsibility).
[0207] Furthermore, in a reference relationship where layered nested references exist, one file will generally have redundant references to one external reference, for example, drawing a has redundant references to two external references, drawing b, and drawing b references drawing c. Once drawing b is separated or unloaded, the two drawings b that were redundantly referenced in drawing a and drawing c within it will all disappear at the same time. This means that independent operations on each external reference are not possible, which is disruptive and results in inconvenient user operations and low work efficiency.
[0208] The object of the present invention is to provide a new type of CAD system reference method that can overcome or alleviate to some extent the above-mentioned drawbacks of the external reference method present in existing CAD systems.
[0209] In order to solve the above problem, the present invention discloses a layered operation system referenced to a CAD system, which includes a first file including at least one first element and a second file including at least one second element, wherein the at least one first element is duplicated and overlapped in the second file, the at least one first element is associated with a first control point, and independent operation on the at least one first element can be realized through the first control point.
[0210] Furthermore, the at least one second element is associated with a second control point, and an independent operation on the at least one second element can be realized through the second control point.
[0211] Furthermore, the at least one first element and the at least one second element are both duplicated or overlapped in a third file.
[0212] Furthermore, the first control point is set as a sub-control point of the second control point, and through the second control point, simultaneous operation of (i) the at least one second element and (ii) the at least one first element associated with the first control point can be realized.
[0213] Furthermore, the at least one first element and the at least one second element are both duplicated or overlapped in a third file.
[0214] Further, the second file includes a fourth file, the fourth file includes at least one fourth element, the at least one fourth element is duplicated and overlapped in the second file, the at least one fourth element is associated with a fourth control point, and an independent operation on the at least one fourth element can be realized through the fourth control point.
[0215] Furthermore, the first file and the fourth file are the same CAD drawing.
[0216] Furthermore, the at least one first element is also directly associated with the second control point, and simultaneous operations on the at least one first element and the at least one second element can be realized through the second control point, and the operations include showing, hiding, binding, separating, reloading, and unloading, and the at least one first element and the at least one second element are entities, objects, blocks, and / or sets on a CAD drawing.
[0217] In order to overcome and alleviate the drawbacks of the external reference method present in existing CAD systems, the invention also discloses a layer operation method referenced to a CAD system, characterized by including the steps of: obtaining at least one first element from a first file; creating a first control point and associating it with the at least one first element; duplicating and stacking the at least one first element in a second file; and independently operating the at least one first element through the first control point.
[0218] The method further includes the steps of obtaining at least one second element from the second file, creating a second control point and associating it with the at least one second element, duplicating and stacking both the at least one first element and the at least one second element in a third file, and independently manipulating the at least one second element through the second control point.
[0219] The method further includes a step of setting the first control point as a sub-control point of the second control point, and simultaneously operating (i) the at least one second element and (ii) the at least one first element associated with the first control point through the second control point.
[0220] The method further includes the steps of obtaining at least one fourth element from a fourth file, creating a fourth control point and associating it with the at least one fourth element, duplicating and stacking the at least one fourth element in the second file, and independently manipulating the at least one fourth element through the fourth control point.
[0221] Furthermore, the first file and the fourth file are the same CAD drawing, and further comprising the steps of directly associating the at least one first element with the second control point and simultaneously manipulating the at least one first element and the at least one second element through the second control point, further comprising the steps of showing, hiding, binding, separating, reloading, and unloading, and further comprising the steps of: the at least one first element being an entity, object, block, and / or set on the CAD drawing.
[0222] In order to overcome and alleviate the drawbacks of the external reference method present in existing CAD systems, the present invention discloses a layered operation system referenced to a CAD system, characterized by including a file storage module used to store a first file and a second file, an element acquisition module for acquiring at least one first element from the first file, a control point creation module for creating a first control point and associating it with the at least one first element, a duplication and overlap module for duplicating and overlapping the at least one first element in the second file, and a control point operation module for independently operating the at least one first element associated with the first control point.
[0223] Furthermore, the element acquisition module acquires at least one second element from the second file, the control point creation module creates a second control point and associates it with the at least one second element, the duplication / overlay module duplicates and overlays both the at least one first element and the at least one second element in a third file, the third file is stored in the file storage module, and the control point operation module independently operates the at least one second element associated with the second control point.
[0224] Furthermore, the invention also includes a control point layer creation module for setting the first control point as a sub-control point of the second control point, and the control point operation module realizes simultaneous operation of (i) the at least one second element and (ii) the at least one first element associated with the first control point through operation on the second control point.
[0225] Furthermore, the element acquisition module acquires at least one fourth element from a fourth file, and the fourth element is stored in the file storage module; the control point creation module creates a fourth control point and associates it with the at least one fourth element; the duplication / overlay module duplicates and overlays the at least one fourth element in the second file; and the control point operation module independently operates the at least one fourth element by operating the fourth control point.
[0226] Furthermore, the first file and the fourth file are the same CAD drawing. Furthermore, the invention C includes a control point creation module that directly associates the at least one first element with the second control point, and the control point manipulation module manipulates the second control point to simultaneously manipulate the at least one first element and the at least one second element. Furthermore, the control point manipulation module can realize display, hiding, binding, separation, reloading, and / or unloading, etc., and the at least one first element is an entity, object, block, and / or set on the CAD drawing.
[0227] In order to overcome and mitigate the drawbacks of the external reference method present in existing CAD systems, the present invention also discloses a computer-readable storage medium comprising a set of instructions, which, when executed, causes at least one processing device to perform the following operations: obtain at least one first element from a first file; create a first control point and associate it with the at least one first element; duplicate or overlap the at least one first element in a second file; and independently manipulate the at least one first element through the first control point.
[0228] In order to overcome and mitigate the drawbacks of the external reference method present in existing CAD systems, the present invention discloses a computer-readable storage medium including at least one processing device and a computer-readable storage medium coupled to the processing device, wherein the computer-readable storage medium includes a set of instructions, and when the at least one processing device executes the instructions, the at least one processing device performs the following operations: obtain at least one first element from a first file; create a first control point and associate it with the at least one first element; duplicate or overlap the at least one first element in a second file; and independently operate the at least one first element through the first control point.
[0229] In order to clarify the purpose, technical means and advantages of the embodiments of the invention C, a clear and complete description of the technical means in the embodiments of the invention C will be provided below with reference to the drawings in the embodiments of the invention C. Obviously, the described embodiments are only some embodiments of the invention C, not all embodiments. All other embodiments that a person skilled in the art can obtain based on the embodiments of the invention C without any creative effort also fall within the scope of the invention C.
[0230] C. Example 1 of the Invention For example, let's take the stage of invention C. When three people, A, B, and C, are working on a collaborative design, each person draws the content of the drawings they are responsible for. When drawing the drawings, A can refer to the content of B, B can refer to the content of C, and A can also refer to the content of C. At this time, the process consists of the following steps:
[0231] C draws a drawing (C106) and submits it to the server.
[0232] B downloads C's drawing (C106) and refers to C when drawing his own drawing (C104), and the contents of C (C106) are duplicated and overlapped on B (104).
[0233] A downloads B's drawing (C104) and refers to B (104) when drawing his own drawing (C102), and the contents of B (C104) are duplicated and overlapped on A (102).
[0234] At this time, a nesting relationship is formed from A to B and further to C (Figure 21(a)).
[0235] If A wants to see the contents of C (C106), turning on the sub-reference of B will cause the invention of C to duplicate and overlap the contents of C (C106) onto A (C102), so that A (C102) can see B (C104) and C (C106) at the same time.
[0236] If A does not want to see C (C106), turning off B's sub-referencing will result in C's invention deleting C's duplicated content, so A will only see B's content (C104).
[0237] A (C108) can refer to multiple parts B (Figure 21(b)), which are B1 (C110) and B2 (C114). Even if the sub-class C1 (C112) of B1 (C110) is turned off or B1 (C110) itself is turned off, it will not affect the display of the content of B2 (C114) and / or its sub-class C2 (C116). Therefore, the smooth display effect of multiple reference contents is achieved and there is no mutual interference.
[0238] C. Example 2 of the Invention Consider the following scenario: The working drawing is a.dwx (C400), and we reference two parts b.dwx (C300a and C300b) at different locations. The b.dwc file further references c.dwx (C200). The content of c is one figure c (C202) as shown in Figure 2, the content of b is the content of c + figure b (c302) as shown in Figure 23, and the content of a is the content of two b + figure a (C402) as shown in Figure 24, forming a tree-like relationship as shown in Figure 25. If the CAD user wants to temporarily hide the content of part c (C202b), they can issue a command to turn off this reference in the Collaborative Design System. The specified part c (C202b) will then disappear, and the content of a will change as shown in Figure 26. The contents of b can also be turned off, and each individual layer can be controlled, and some references can be controlled independently. The effect of turning off some c (C202b) and then some b (C300a) is shown in Figure 27.
[0239] In some embodiments, independent control is achieved through control points. For example, c(C202b) is associated with a control point, which can achieve independent control over the set of elements in c.dwx(C200) by adding a unique tag to the elements, or by extracting the shared attributes of the elements in c.dwx(C200) (e.g., all derived from c.dwx(C200)). In addition to the above two methods, control methods commonly found in other CAD systems can also be used in the C invention, and both fall within the scope of protection of the C invention.
[0240] C. Example 3 of the Invention In one embodiment, the invention includes a first CAD drawing (e.g., an air conditioning drawing), a second CAD drawing (e.g., an electrical drawing) that is referenced by the first CAD drawing, the contents of which are duplicated and overlaid in the first CAD drawing, and are displayed or hidden; and a third CAD drawing (e.g., an architectural drawing) that is referenced by the second CAD drawing, the contents of which are duplicated and overlaid in the second CAD drawing, and are displayed or hidden. When the first CAD drawing references the second CAD drawing, it indirectly references the third CAD drawing (i.e., forming a nested relationship), and the contents of the third CAD drawing can also be duplicated and overlaid in the first CAD drawing, and be displayed or hidden. In one embodiment, the invention does not require the insertion of references, and references can be displayed or hidden directly on the operation screen with a simple click. This eliminates the need to operate top-level references, and individual references can be operated independently, allowing independent control of references of the same origin.
[0241] C. Example 4 of the Invention In one embodiment, the invention discloses a layered operation system referenced to a CAD system, characterized in that it includes a first file including at least one first element, a second file including at least one second element, and a first file including at least one first element, wherein the at least first element is duplicated or overlapped in the second file, the at least first element is associated with a first control point, and independent operation on the at least one first element can be realized through the first control point.
[0242] Differences between the present invention and existing CAD drawing platforms: The contents (i.e., various CAD elements, such as entities, objects, blocks, and sets) of the referenced CAD drawing (i.e., the "first file") are duplicated and overlapped in the current CAD drawing (i.e., the "second file"), and because all of the duplicated and overlapped contents are already associated with the first control point, they can be directly controlled by the user editing the current CAD drawing. For example, one or more first elements (e.g., a drawing drawn by an architectural engineer is the first file, and there is a building wall on the drawing) extracted from the first file through the first control point can be extracted and displayed on the drawing drawn by the plumbing engineer (the second file), while hiding the entire building wall.
[0243] Furthermore, in some embodiments, one or more second elements (e.g., pipelines, cisterns) in the second file (e.g., a plumbing drawing) are associated with second control points, allowing the plumbing engineer to control one or more second elements (plumbing entities, such as pipelines and cisterns) through the second control points. In this embodiment, the first element (e.g., a building entity) and the second element (e.g., a plumbing entity) in the second file are controlled through different control points, so that when the plumbing engineer controls the visibility of the first element through the first control point, the second element in the second file is not affected. Similarly, when the plumbing engineer controls the visibility of the second element through the second control point, the first element duplicated or overlapped in the second file is similarly unaffected. In other words, through the control points, the plumbing engineer drawing the current CAD drawing can independently control and manipulate the plumbing entities and / or objects he or she has drawn, and can also independently control and manipulate the architectural entities and / or objects duplicated or overlapped in the architectural CAD drawing.
[0244] Additionally, in some embodiments, both the first element (e.g., a building entity and / or object) and the second element (e.g., a plumbing entity and / or object) are duplicated or overlapped in a third file (e.g., an electrical CAD drawing).
[0245] As described above, in existing technologies, when a nesting relationship arises due to the overlapping layers of CAD drawings, converting between first element visible (i.e., using an attached reference between the first and second files) and first element hidden (i.e., using a covered reference between the first and second files) is extremely tedious, requiring the reference type between the first and second files to be redefined. In many cases, however, a subordinate engineer (e.g., the electrical engineer in this example) does not have the authority to modify the reference type defined by the plumbing engineer. This problem is particularly troublesome for collaborative design construction projects, because the number of overlapping layers of CAD drawings is often so large that it far exceeds the three levels described in the example.
[0246] However, in the invention C, the first element is associated with a first control point, and can be independently displayed or hidden by manipulating the first control point, so that if an electrical engineer wants to examine a building wall, he can simply display the first element through the first control point, and if the electrical engineer only wants to examine elements such as water supply and drainage pipelines or water tanks, he can simply hide the entire first element through the second control point. This avoids the problem of having to re-establish reference relationships between architectural drawings and water supply and drainage drawings, as is the case with existing technologies, and improves work efficiency during collaborative design work.
[0247] In some embodiments, the first control point can be set as a sub-control point of the second control point, and the second control point can be used to simultaneously operate (i) the at least one second element and (ii) the at least one first element associated with the first control point. In these embodiments, when a subordinate electrical engineer copies and overlays a second element in a second file into a third file through the second control point, the first element is also simultaneously copied and overlaid in the third file. Furthermore, the subordinate electrical engineer can simultaneously operate the first element (e.g., a building entity) and the second element (e.g., a plumbing entity) through the second control point, thereby simultaneously displaying or hiding the first element and the second element. Of course, if the subordinate engineer wants to hide only the building entity, this can be achieved by operating the first control point alone, without affecting the plumbing entity.
[0248] In one embodiment, the layered operation system referenced in the CAD system of the C invention also includes a fourth file (e.g., an air conditioning CAD drawing), which includes at least one fourth element (e.g., an air conditioning entity and object), which is duplicated and overlapped in the second file, and which is associated with a fourth control point, allowing independent operation of the at least one fourth element through the fourth control point. In these embodiments, a plumbing engineer can control and operate the architectural elements and the air conditioning elements, respectively, through the first control point and the fourth control point. In another embodiment, the fourth file and the first file are the same CAD drawing, and the plumbing engineer can also control and operate the display or hiding of architectural elements and air conditioning elements at different positions, respectively, through the first control point and the fourth control point. In other words, the same CAD drawing can be duplicated and overlapped repeatedly in a higher-level CAD drawing, allowing independent operation and control of them.
[0249] In some embodiments, by setting a first control point as a sub-control point of a second control point, a first element in a first file can be directly associated with the second control point, again enabling simultaneous manipulation of the first and second elements. In other words, in these embodiments, because the second control point is simultaneously associated with the first and second elements, if a subordinate electrical engineer wants to simultaneously show or hide both architectural elements and plumbing elements, they can do so simply by manipulating the second control point. Of course, if a subordinate electrical engineer only wants to hide architectural elements, they can do so by manipulating the first control point alone, which will hide only the architectural elements and leave the plumbing elements unaffected.
[0250] In one embodiment, the operations include showing and hiding, as well as binding, detaching, reloading or unloading.
[0251] In an embodiment, the at least one first element and the at least one second element are entities, objects, blocks and / or sets on a CAD drawing.
[0252] C Example 5 In one embodiment, the invention comprises: a CS101 step for obtaining at least one first element from a first file; a step CS102 of creating a first control point and associating it with the at least one first element; a step CS103 of duplicating and stacking the at least one first element into a second file; and a CS104 step of independently manipulating the at least one first element through the first control point (FIG. 28).
[0253] The difference between this invention and existing CAD drawing external reference methods is that the contents (i.e., various CAD elements, such as entities, objects, blocks, and sets) of the referenced CAD drawing (i.e., the "first file," e.g., an architectural CAD drawing) are duplicated and overlapped in the current CAD drawing (i.e., the "second file," e.g., a plumbing CAD drawing). Furthermore, because all of the duplicated and overlapped contents are already associated with a first control point, they can be directly controlled by the user editing the current CAD drawing. In other words, one or more first elements (e.g., a drawing drawn by an architectural engineer is the first file, and there is a building wall on the drawing) extracted from the first file through the first control point can be displayed on the drawing drawn by the plumbing engineer (the second file), hiding the entire building wall.
[0254] In one embodiment, the operating method of the invention C also includes a step CS105 of obtaining at least one second element from a second file, a step CS106 of creating a second control point and associating it with the at least one second element, a step CS107 of duplicating and stacking both the at least one first element and the at least one second element in a third file, and a step CS108 of independently operating the at least one second element through the second control point (Figure 29).
[0255] In one embodiment, the operating method of the present invention also includes a step of setting the first control point as a sub-control point of the second control point, and using the second control point to simultaneously operate (i) the at least one second element and (ii) the at least one first element associated with the first control point.
[0256] In one embodiment, the invention also includes the steps of obtaining at least one fourth element from a fourth file, creating a fourth control point and associating it with the at least one fourth element, duplicating the at least one fourth element into a second file, and independently manipulating the at least one fourth element through the fourth control point.
[0257] In some embodiments, the first file and the fourth file are the same CAD drawing. These embodiments reflect the fact that, in practice, one CAD file can be referenced multiple times by other CAD files, but the CAD user can still achieve independent control over these multiple references by establishing different control points.
[0258] In one embodiment, the operating method of the present invention also includes the steps of directly associating the at least one first element with the second control point, and simultaneously operating the at least one first element and the at least one second element through the second control point. One application scenario of these embodiments is when a subordinate air conditioning engineer needs to refer to the architectural and electrical conditions simultaneously when drawing a blueprint. Since there is no need to check the architectural or electrical layout separately, by associating the elements of the architectural drawing and the electrical drawing with the same control point, the layered elements can be opened and closed simultaneously using one control point, thereby improving the drawing efficiency of CAD users in this scenario.
[0259] In some embodiments, the operations are binding, detaching, reloading or unloading as well as showing and hiding. In some embodiments, the at least one first element is an entity, an object, a block and / or a set on a CAD drawing.
[0260] C. Example 6 of the invention In one embodiment, the present invention discloses a layer manipulation system C500 referenced to a CAD system, comprising: a file storage module C501 for storing a first file and a second file; an element acquisition module C502 for acquiring at least one first element from the first file; a control point creation module C503 for creating a first control point and associating it with the at least one first element; a duplication and overlap module C504 for duplicating and overlapping the at least one first element in the first file; and a control point manipulation module C505 for independently manipulating the at least one second element associated with the first control point. In one embodiment, these modules can be installed independently or integrated into one.
[0261] In one embodiment, the element acquisition module C502 acquires at least one second element from the second file, the control point creation module C503 creates a second control point and associates it with the at least one second element, the duplication and overlap module C504 duplicates and overlaps both the at least one first element and the at least one second element into a third file, the third file is stored in the file storage module, and the control point operation module C505 independently operates on the at least one second element associated with the second control point.
[0262] In one embodiment, the operation system of the present invention also includes a control point layer creation module C506 for setting the first control point as a sub-control point of the second control point, and the control point operation module C505 operates the second control point to realize simultaneous operation of (i) the at least one second element and (ii) the at least one first element associated with the first control point.
[0263] In one embodiment, the element acquisition module C502 acquires at least one fourth element from a fourth file, and the fourth element is stored in the file storage module C501; the control point creation module C503 creates a fourth control point and associates it with the at least one fourth element; the duplication / overlay module C504 duplicates or overlays the at least one fourth element in the second file; and the control point manipulation module C505 manipulates the fourth control point to independently manipulate the at least one fourth element.
[0264] In one embodiment, the first file and the fourth file are the same CAD drawing.
[0265] In one embodiment, the control point creation module C503 directly associates the at least one first element with the second control point, and the control point manipulation module C505 manipulates the second control point to simultaneously manipulate the at least one first element and the at least one second element.
[0266] In one embodiment, the control point operation module C505 can implement display, hiding, binding, separation, reloading, and / or unloading, etc. In one embodiment, the at least one first element is an entity, an object, a block, and / or a set on a CAD drawing.
[0267] C. Example 7 of the invention In one embodiment, the invention discloses a computer-readable storage medium comprising a set of instructions that, when executed, cause at least one processing device to perform the following operations: obtain at least one first element from a first file; create and associate a first control point with the at least one first element; duplicate or stack the at least one first element in a second file; and independently manipulate the at least one first element through the first control point.
[0268] C. Example 8 of the Invention In one embodiment, the present invention discloses a computer terminal including at least one processing device and a computer-readable storage medium coupled to the processing device, wherein the computer-readable storage medium includes a set of instructions, and when the at least one processing device executes the instructions, the at least one processing device performs the following operations: obtain at least one first element from a first file; create a first control point and associate it with the at least one first element; duplicate or overlap the at least one first element in a second file; and independently operate the at least one first element through the first control point.
[0269] The technical advantages of invention C as seen from the above examples: 1. Convenient and fast: When performing operations such as displaying or hiding external reference CAD elements according to actual needs, engineers do not need to re-insert the reference (for example, switching between the covering type and the attached type). They can simply click the corresponding control point on the CAD collaborative design system operation interface to control the opening and closing of the referenced content.
[0270] Because existing CAD drawing platforms generally use external references, it is difficult to modify nested reference types (covered or attached references) after adding them. Whether you want to hide the nested reference (i.e., convert it from attached to covered) or show the nested reference (i.e., convert it from covered to attached), you must open the referenced drawing and adjust the reference method of the nested reference.
[0271] Differences between the present invention and existing CAD drawing platforms: The contents of the referenced CAD drawing are duplicated or overlapped within the current CAD drawing, and the duplication or overlapping can be directly controlled by the user editing the current CAD drawing. Therefore, when CAD drawings are overlapped in multiple layers and a nesting relationship occurs, the user editing the current CAD drawing can control whether to display or hide the nesting contents by deciding whether to perform the duplication or overlapping operation between the CAD drawings.
[0272] 2. Stratification operations: Any operations can still be performed on the references embedded in the stratification, and there is no restriction to operating on top-level references, and there is no need to close the stratification upward from the terminal node of the path (i.e., C2 (C200, C200a, C200b) in Figure 25, also called the "leaf node").
[0273] 3. Each reference operation is independent and can be controlled independently for references of the same origin, which solves the problem that opening one external reference method opens all of them, and closing one closes all of them.
[0274] 4. C-invention can avoid the problem of circular references in collaborative design to some extent. A shape containing self-directed nested references is called a circular reference. For example, if shape A is attached to shape B, shape B is attached to shape C, and shape C is attached to shape A again, resulting in a reference hierarchy of A>B>C>A, this is a circular reference. The external reference method in existing CAD systems cannot effectively handle circular reference problems. The "covering" method avoids direct cycles (C is not displayed), while the "attachment" method breaks the cycle. In contrast, in C-invention, each layer of drawing can be controlled independently. For example, A referenced by C is independently closed, so there is no problem even if C makes a circular reference to A. For example, if an air conditioning drawing references a water supply and drainage drawing, and the water supply and drainage drawing references an architectural drawing, and the architectural drawing then references the air conditioning drawing, simply place a control point controlling the air conditioning drawing on the control point of the architectural drawing. Therefore, C-invention can accommodate circular reference relationships.
[0275] Although the embodiments of the present invention have been described above with reference to the drawings, the present invention is not limited to the above specific embodiments, and the above specific embodiments are merely for illustrative purposes and not for limiting purposes. Those skilled in the art may make many modifications based on the teachings of the present invention without departing from the spirit and scope of the claims of the present invention, and all of these modifications fall within the scope of protection of the present invention.
[0276] D Invention: Method, system, computer-readable storage medium and computer terminal for checking CAD drawing reference changes in an editable environment The present invention relates to a method, system, computer-readable storage medium and computer terminal capable of checking CAD drawing reference changes in an editable environment.
[0277] In a project completed through the division and collaboration of multiple people, the individuals involved are not entirely independent but rather have a reference relationship. While each person bases their own work on the work of others, they also provide references for the work of others. A significant design result is not achieved in one go; it is gradually supplemented through repeated revisions. Therefore, a key step in collaborative design work is updating the referenced CAD drawings (reference conditions or reference files) of others to synchronize them with the latest results and prevent deviations in subsequent design work. However, after the update, many changes occur, and if this affects your own work, you must accurately locate the corresponding revisions and adapt your work to the current situation. This process requires considerable effort and time.
[0278] Traditional CAD drafting platforms also offer drawing comparison tools, but they require users to save two versions of a CAD drawing, one old and one new. After loading the two files using the comparison tool, the differences between the two versions are displayed in the drawing area. These drawing comparison tools have the following problems. In collaborative design using existing CAD drafting platforms, referencing someone else's CAD drawing relies on an external reference (XREF) method. For example, A references B, and after B makes modifications, B saves the new version as B'. When A updates and references B, he or she can directly view the latest version of B, i.e., B', while the old version of B becomes invisible. Therefore, if A wanted to see what changes were made from B to B', he or she had to manually compare the old version of B file each time an update was required. During the comparison, a comparison tool is used to compare the old version of B with the new version of B' (for example, the "DWG Compare" tool provided in AutoCAD), but this comparison process is performed outside of A's own CAD drawing. For example, a new drawing is created in AutoCAD, containing the comparison results, and the name of the comparison result is a combination of the comparison object document name, i.e., Compare_filename1.dwg and filename2.dwg. Therefore, A's own CAD drawing contents are not visible at this time. Even if A discovers that B's modifications affect his own design, he has no choice but to note the modifications himself and open his own CAD drawing to make the corresponding modifications.
[0279] As described above, the conventional method of comparing reference files to check for modifications to the referenced file makes it difficult to quickly search and locate the contents of the modifications or updates when the contents of the referenced file are updated, and each version of the referenced file must be maintained by the user. Furthermore, when checking for changes in an external reference file, the contents of the user's own CAD drawing cannot be seen at the time of the change, which is detrimental to the efficient development of collaborative design work.
[0280] The objective of the invention D is to provide a method for checking edits and changes in a new CAD system in order to overcome or alleviate to some extent the technical problem that editing and checking changes cannot be performed simultaneously in existing CAD systems.
[0281] In order to solve the above problem, the present invention discloses a method for checking reference changes in a CAD drawing in an editable environment, which includes a step DS101 of acquiring a first file and a second file, a step DS102 of the first file referencing the second file and overlaying a first element on the second file into the first file, a step DS103 of acquiring a third file, a step DS104 of acquiring a first changed element by comparing the third file with the second file, and a step DS105 of also overlaying the first changed element into the first file.
[0282] Furthermore, the overlapping first elements are displayed on the first file in a first display manner, and the overlapping first variable elements are displayed in a second display manner.
[0283] Furthermore, in the first file, 1) elements that are shared by the second file and the third file are displayed in a first format, 2) elements that exist only in the second file are displayed in a second format, and 3) elements that exist only in the third file are displayed in a third format.
[0284] The invention further includes editing the first file and drawing a second element on the first file.
[0285] Furthermore, the invention also includes a DS106 step of acquiring a fourth file, a DS107 step of comparing the fourth file with a third file to acquire a second change element, and a DS108 step of overlaying the second change element into the first file.
[0286] Furthermore, the second variable element is displayed superimposed on the first file in a third display format.
[0287] Furthermore, the first change factor may include one or more of an increase factor, a decrease factor, and a modification factor.
[0288] Furthermore, the first change element is incremental data based on a comparison between the third file and the second file.
[0289] Furthermore, the second file and the third file are different versions of the same CAD drawing.
[0290] Additionally, the present invention also includes a storage module configured to store the first file, the second file, and the third file.
[0291] In order to overcome or alleviate the technical problem that editing and checking for changes cannot be performed simultaneously in a CAD system, the invention D includes a file acquisition module D501, an element acquisition module D502, a duplication and overlap module D504, and an update monitoring module D507, wherein the file acquisition module D501 is configured to acquire a first file and a second file, the element acquisition module D502 is connected to the file acquisition module D501 and configured to acquire a first element on the second file, and the duplication and overlap module D504 is connected to the element acquisition module D502 and configures the first element to be a copy / overlap module D504 that copies the first changed element to the first file; the update monitoring module D507 is connected to the file acquisition module D501 and notifies the file module D501 that the third file has been acquired, and compares the second file with the third file to find a first changed element; the element acquisition module D502 is connected to the update monitoring module D507 and acquires the first element, and overlays the first changed element into the first file through the copy / overlap module D504.
[0292] Furthermore, the D invention also includes a display control module D508 that displays the overlapping first elements in a first display manner and displays the overlapping first variable elements in a second display manner.
[0293] Furthermore, the D invention also includes a display control module D508 that is displayed on the first file and that 1) displays elements shared by the second file and the third file in a first format, 2) displays elements that exist only in the second file in a second format, and 3) displays elements that exist only in the third file in a third format.
[0294] Additionally, the D invention also includes a file editing module D509 for editing the first file and drawing a second element on the first file.
[0295] Furthermore, the file acquisition module D501 is configured to acquire a fourth file, and the update monitoring module D507 is configured to compare the third file with the fourth file, find a second change element, and overlay the second change element into the first file through the duplication / overlap module D504.
[0296] Furthermore, the display control module D508 displays the second variable element superimposed on the first file in a third display format.
[0297] Furthermore, the first change factor may include one or more of an increase factor, a decrease factor, and a modification factor.
[0298] Furthermore, the first change element is incremental data based on a comparison between the third file and the second file.
[0299] Furthermore, the second file and the third file are different versions of the same CAD drawing.
[0300] Furthermore, the invention also includes a file storage module configured to store the first file, the second file, and the third file.
[0301] In order to overcome or alleviate the technical problem that editing and change checking cannot be performed simultaneously in a CAD system, the present invention also discloses a computer-readable storage medium capable of checking reference changes in a CAD drawing in an editable environment, which includes a set of instructions, and when the instructions are executed, at least one processing device performs the following operations: DS101 operation of obtaining a first file and a second file; DS102 operation of the first file referencing the second file and overlaying a first element in the second file onto the first file; DS103 operation of obtaining a third file; DS104 operation of comparing the third file with the second file to obtain a first change element; and DS105 operation of overlaying the first change element onto the first file.
[0302] In order to overcome or alleviate the technical problem that editing and change checking cannot be performed simultaneously in a CAD system, the present invention also discloses a computer terminal capable of checking reference changes of a CAD drawing in an editable environment, which includes at least one processing device and a computer-readable storage medium coupled to the processing device, wherein the computer-readable storage medium contains a set of instructions, and when the at least one processing device executes the instructions, the at least one processing device performs the following operations: DS101 operation to obtain a first file and a second file; DS102 operation to use the first file to refer to the second file and overlay a first element in the second file onto the first file; DS103 operation to obtain a third file; DS104 operation to compare the third file with the second file to obtain a first change element; and DS105 operation to overlay the first change element into the first file.
[0303] In order to clarify the purpose, technical means and advantages of the embodiments of invention D, a clear and complete description of the technical means in the embodiments of invention D will be provided below with reference to the drawings in the embodiments of invention D. Obviously, the described embodiments are only some embodiments of invention D, not all embodiments. All other embodiments that a person skilled in the art can obtain based on the embodiments of invention D without any creative effort also fall within the scope of invention D.
[0304] D. Example 1 of the Invention As shown in Figure 31, the way to check the reference changes of CAD entities in an editable environment is as follows: For the sake of convenience, let us call the person who created the drawing A and the person who is referred to B. B draws his / her own drawing (DS01), submits the drawing to the server (DS02), and the server records one version B1 (DS03). A draws his own drawing and refers to the work result of B. During the process, B's content is copied and overlaid on A's drawing. A refers to B's content when drawing his own drawing (DS04). B amends his / her drawing and submits it to the server again (DS05), and the server records the second version B2 (DS06). A updates the referenced drawing so that B's drawing is up to date (DS07); and A checks for changes, and the system compares the first and second versions (i.e., compares B1 and B2), obtains and analyzes the incremental data of the two versions, and these increase / decrease / modification objects are overlaid in different colors on the drawing screen of Figure A (DS08). A checks these differences and simultaneously modifies his / her own content (DS09).
[0305] D. Example 2 of the Invention Consider the following scenario of the use of invention D. Suppose two CAD users, A and B, are working on a collaborative design. A draws file a.dwx, and B draws file b.dwx. A references B's work and draws an outline of B's content (Figure 33), with b.dwx representing the current situation (Figure 32). Circle D202 and rectangular box D204 represent the content of b.dwx, and A draws bounding box D302 around them. It should be noted that A cannot modify the referenced content of b.dwx, i.e., circle D202 and rectangular box D204 in bounding box D302 cannot be modified. Furthermore, the content of the referenced file, e.g., a junior plumbing engineer, can only refer to the architectural CAD drawings drawn by a senior architectural engineer to draw his own plumbing drawings, and generally does not have the authority to modify or adjust the architectural engineer's drawings.
[0306] At this time, B modifies the b.dwx file on his / her CAD terminal, drawing a new line D406 and relocating the circle D202 (the circle in its new position is designated D202a). After that, B submits the modifications and stores them on the server. At this point, b.dwx looks like Figure 34. At this time, A receives a notification of the update from the system (e.g., A receives a message on his / her CAD terminal). After the update, A checks what modifications B made this time to determine whether they affect the drawing he / she is drawing. In the embodiment of D's invention, A does not need to check the previous version of B.dwx at this time. When A requests to check the changes using the graphics interface, the system compares the incremental data between the old and new versions and then overlays the added, deleted, or modified content in a different color (or in another format, such as a dotted or bold line) on the drawing area for the time being. A can continue to edit and modify the content of his / her drawing while checking the changes in B.dwx.
[0307] A comparison of the system's displays is shown in Figure 35. In actual operation, added content (e.g., added line D406) and modified content (e.g., relocated circle D202a) are marked in different colors. A specific interface also provides a list of all modifications (e.g., the list on the left). Clicking on an item in the list allows the user to accurately locate the corresponding shape, making it convenient for checking large changes. When checking these changes, the frame D302 drawn by A is perfectly displayed on the CAD drawing A is currently creating and can be directly modified. This allows the current drawing to be edited while also allowing A to check and refer to changes in other people's drawings. In this simulated scenario, A draws a large bounding box D302 to enclose the added line D406 and the relocated circle D202a. See Figure 36 for the effect of the modifications.
[0308] D. Example 3 of the Invention The invention D discloses a method for checking reference changes in a CAD drawing in an editable environment, characterized by including a DS101 step for acquiring a first file and a second file, a DS102 step for the first file to refer to the second file and for overlaying a first element on the second file into the first file, a DS103 step for acquiring a third file, a DS104 step for acquiring a first change element by comparing the third file with the second file, and a DS105 step for overlaying the first change element into the first file (Fig. 37a).
[0309] In one embodiment, the first element overlapping the first file is displayed in a first display manner, and the first variable element overlapping the first element is displayed in a second display manner, and the first and second display manners use different colors, line styles (e.g., dotted lines, thicknesses), and highlighting methods (e.g., making the variable elements semi-transparent or watermarked) according to different usage scenarios.
[0310] In one embodiment, elements shared by the second file and the third file are displayed in a first format on the first file, elements present only in the second file are displayed in a second format, and elements present only in the third file are displayed in a third format.
[0311] It should be noted that different nouns are used to refer to display methods, such as "Xth display method" and "display in Xth format," but this is mainly to distinguish between different display systems in different embodiments. In the embodiments of the invention D, the selection of the display method is mainly for the convenience of users when checking changes in the contents of referenced files, and any display method that can achieve this purpose in a CAD system may be applied to the invention D and will also fall within the scope of protection of the invention D.
[0312] In one embodiment, the invention edits the first file and draws a second element on the first file.
[0313] In one embodiment, the invention also includes a DS106 step of obtaining a fourth file, a DS107 step of obtaining a second variation element by comparing the fourth file with the third file, and a DS108 step of overlaying the second variation element into the first file (Figure 37b).
[0314] In one embodiment, the invention displays the second variable element overlapping the first file in a third display format.
[0315] In one embodiment, the first change element includes one or more of an increase element (e.g., adding one CAD solid line on the referenced drawing), a decrease element (e.g., deleting one CAD solid line on the referenced drawing), and a modification element (e.g., moving, lengthening, shrinking, turning at an angle, or making an arc line the position of one CAD sub-solid line on the referenced CAD drawing).
[0316] In one embodiment, the first change element is incremental data based on comparing the third file to the second file. In one embodiment, the second file and the third file are different versions of the same CAD drawing. In one embodiment, the invention also includes storing the first file, the second file, and the third file.
[0317] D. Example 4 of the Invention The invention discloses a system for checking reference changes in CAD drawings in an editable environment, comprising: a file acquisition module D501, an element acquisition module D502, a duplication / overlap module D504, and an update monitoring module D507, wherein the file acquisition module D501 is configured to acquire a first file and a second file; the element acquisition module D502 is connected to the file acquisition module D501 and configured to acquire a first element in the second file; the duplication / overlap module D504 is connected to the element acquisition module D502 and configured to overlay the first element in the first file; the update monitoring module D507 is connected to the file acquisition module and configured to notify the file module D501 that a third file has been acquired and compare the second file with the third file to find a first changed element; the element acquisition module D502 is connected to the update monitoring module D507 to acquire the first element and overlay the first changed element in the first file via the duplication / overlap module D504.
[0318] In one embodiment, the above various modules can be implemented by computer software and hardware in the user's local computer terminal, some of which may be installed on the local computer and others on a remote server, or all of which may be located on a remote server and their operation results may be displayed on a local display via a network.
[0319] Compared with conventional CAD systems, the invention clearly overlays the changes and modified content onto the CAD drawing currently being edited, allowing the current CAD user to simultaneously view the changes without closing or moving the current CAD drawing, thereby enabling continuous editing of the current CAD drawing, making collaborative design more convenient and further improving work efficiency.
[0320] In one embodiment, the file acquisition module D501 may be acquired from a local computer terminal (i.e., a file used in the CAD system originally saved by the drafting engineer on his / her local computer), a CAD file newly created in local CAD drafting software, or a file acquired from a remote cloud end of a server or a cloud through network transmission. When acquiring CAD files from a remote end of a server, all related files of a large CAD drafting project can be transmitted in a batch in the form of a file packet, and the required CAD file can be formed based on the existing local CAD drawing by overlaying and accepting incremental data.
[0321] In one embodiment, the operation mechanism of the element acquisition module D502 acquires elements that meet the conditions through analysis and interpretation of the attributes of elements (e.g., entities, objects, blocks, or sets), or in one embodiment system, acquires the required CAD elements by identifying and searching for a certain label / mark / tag.
[0322] In one embodiment, the term "duplicating" refers to duplicating a desired element and then inserting it into the CAD drawing currently being created. However, these copied and overlaid imported elements are merely references for the CAD drawing and cannot be modified by the CAD user. For example, when an HVAC engineer references an architectural CAD drawing and makes suggestions about the wall layout provided by the architectural engineer, they can only provide feedback to the architectural engineer by adding comments to the collaborative design system, and cannot modify the suggestions themselves. This would otherwise cause confusion in the collaborative design project. The invention D can be implemented in different ways depending on different application scenarios. For example, in one embodiment, the referenced content is displayed and modifiable only on a certain layer. When subordinate electrical engineers and HVAC engineers save the CAD drawings, only the electrical and HVAC content is saved, not the architectural content (i.e., only the electrical and HVAC CAD elements are saved on the electrical and HVAC CAD drawings, respectively). Of course, if necessary, referenced content, such as architectural content, can be saved together. In another embodiment, modification permissions are set by attaching labels / marks / tags to the referenced content to prevent it from being modified. Of course, in some use cases and embodiments, there may be a "total designer" and a "total design team," and these designers may be granted modification permissions for the referenced files. For example, the total designer may adjust the architectural, plumbing, electrical, and air conditioning elements all at once toward the end of the project.
[0323] In one embodiment, the invention also includes a display control module D508 that displays the overlapping first element in a first display manner and displays the overlapping first variable element in a second display manner.
[0324] In one embodiment, the D invention also includes a display control module D508 that displays, on the first file, elements shared by the second file and the third file in a first format, displays elements that exist only in the second file in a second format, and displays elements that exist only in the third file in a third format.
[0325] In one embodiment, the invention also includes a file editing module D509 for editing the first file and drawing a second element on the first file.
[0326] In one embodiment, the file acquisition module D501 is configured to acquire a fourth file, and the update monitoring module D507 is configured to compare the third file with the fourth file, find a second change element, and overlay the second change element into the first file via the duplication / overlap module D504.
[0327] In one embodiment, the display control module D508 displays the second change element superimposed on the first file in a third display manner. In one embodiment, the first change element includes one or more of an increase element, a decrease element, and a modification element. In one embodiment, the first change element is incremental data based on a comparison between the third file and the second file. In one embodiment, the second file and the third file are different versions of the same CAD drawing. In one embodiment, the D invention includes a file storage module configured to store the first file, the second file, and the third file. The file storage module can be configured in a local computer terminal or a cloud-based server.
[0328] D. Example 5 of the Invention The invention discloses a computer-readable storage medium capable of checking reference changes in CAD drawings in an editable environment, comprising a set of instructions, wherein, when the instructions are executed, at least one processing device executes the following operations: a DS101 operation for obtaining a first file and a second file; a DS102 operation for the first file to refer to the second file and for overlaying a first element in the second file onto the first file; a DS103 operation for obtaining a third file; a DS104 operation for comparing the third file with the second file to obtain a first change element; and a DS105 operation for overlaying the first change element onto the first file.
[0329] D. Sixth embodiment of the invention The present invention discloses a computer terminal capable of checking reference changes of CAD drawings in an editable environment, comprising at least one processing device and a computer-readable storage medium coupled to the processing device, wherein the computer-readable storage medium contains a set of instructions, and when the at least one processing device executes the instructions, the at least one processing device performs the following operations: DS101 operation to obtain a first file and a second file; DS102 operation to use the first file to reference the second file and overlay a first element in the second file onto the first file; DS103 operation to obtain a third file; DS104 operation to compare the third file with the second file to obtain a first change element; and DS105 operation to overlay the first change element into the first file.
[0330] It should be noted that Invention D is intended to investigate changes in referenced content, not changes in the CAD drawing currently being edited. In other words, A references B, and the content of B that A sees when creating a drawing is used only for reference, but B cannot be modified; A can only draw and modify its own drawing. In this case, if B is modified, A can use the system and method provided by Invention D to investigate how the current B has changed compared to the previous B, and can therefore make the corresponding modifications to A's own drawing content.
[0331] In view of the above embodiments, the problems to be solved and the effects achieved by the invention D are as follows: The invention D provides a method for checking reference changes in CAD figures in an editable environment, allowing CAD users to conveniently check the content of reference modifications, and also allows the modification content to be displayed in a graphical format on the editing screen, so that various modifications such as addition, deletion, and modification are displayed intuitively and can be understood at a glance, and the content of the figure being drawn can be conveniently edited by modifying the reference content, which not only significantly reduces the communication costs between users in CAD collaborative design work and improves work efficiency, but also allows CAD users to edit the content they are creating while modifying the reference content, which is fast and convenient.
[0332] The above examples are merely illustrative of the technical means of Invention D, and are not intended to limit it. While Invention D has been described in detail with reference to the above examples, those skilled in the art will readily understand that modifications to the technical means described in the above examples, or equivalent substitutions for some or all of the technical features therein, are possible, and that such modifications or equivalent substitutions do not deviate from the essence of the corresponding technical means within the scope of the respective technical means of Invention D, and all fall within the scope of the claims and description of Invention D. For example, certain application scenarios of Invention D can be performed on a local computer (i.e., a PC version in local software) or entirely on the cloud, with only one local display (i.e., using Invention D in network software). Furthermore, certain content display methods can be similar in certain embodiments and application scenarios. For example, the first display method in Example 3 of Invention D is configured similarly to the second display method, but different from the third display method (i.e., the first change is not noticeable in this scenario).
[0333] It should be noted that the four sub-inventions (901, 906, 907, 908) of the present invention are all part of the collaborative design system 900 of the present invention, and are technically connected. They can not only be combined, combined, and integrated with each other according to actual needs, but can also be adjusted and modified according to actual circumstances during the combination, combination, and integration (Figure 39).
[0334] For example, in one embodiment, the present invention provides a method for referencing an external file in a CAD system, characterized by including the steps of: creating a first general reference rule file independent of at least one first referenced file according to at least one first reference condition, and storing the first general reference rule file independently in an extensible file format; and overlaying a first element filtered and screened by the first general reference rule file into a current file of the first referenced file, associating the first element with a first control point, and realizing independent operation on the first element through the first control point.
[0335] Taking an example of a practical application scenario, an electrical engineer sets a reference rule file (abbreviated as "Electrical Reference Rule.XML") for an electrical drawing 914 on terminal 911 of a CAD collaborative design system. When the electrical engineer references a water supply and drainage reference drawing 913, he or she can filter and screen the water supply and drainage CAD elements related to the electrical design, duplicate and overlap them in the electrical drawing 914 he or she is editing, associate the control points of the water supply and drainage CAD elements with the water supply and drainage elements, and independently operate the duplicated and overlapped water supply and drainage CAD elements through the drainage element control points (operation methods include, but are not limited to, display, hide, bind, separate, reload, and unload). In these examples, the electrical engineer can not only reference CAD elements unrelated to electricity after filtering them (using the electrical reference rule file), but also smoothly control the display and hiding of the referenced content.
[0336] In one embodiment, the present invention also includes a step of filtering the contents of a second referenced file using the first general rule file, duplicating and stacking the filtered and screened second element in the current file, associating the second element with a second control point, and realizing independent operation on the second element through the second control point.
[0337] Similarly, in connection with a usage scenario, an electrical engineer needs to refer to the air conditioning drawing (i.e., the second referenced file) in addition to referencing the water supply and drainage drawing 913. Because the electrical reference rule file in the present invention is independently stored and extensible, the electrical engineer can also use the same electrical reference rule file (or a modified version) for the air conditioning drawing, filter and screen the air conditioning CAD elements related to the electrical design, and then duplicate and overlay them in the electrical CAD drawing. The filtered air conditioning CAD elements are associated with air conditioning control points, allowing independent operations on the duplicated and overlayed air conditioning CAD elements to be realized through the air conditioning control points (operation methods include, but are not limited to, display, hide, binding, detaching, reloading, and unloading).
[0338] By setting up different control points, operations for water supply and drainage elements and air conditioning elements can be performed independently.
[0339] In one embodiment, the first referenced file also includes a third element that is duplicated or overlapped from a third referenced file, and the third element is filtered and screened from the third referenced file by the first general reference rule file and duplicated or overlapped in the first referenced file, and the third element is associated with a third control point, so that independent operation on the third element can be realized through the third control point.
[0340] Similarly, in connection with a usage scenario, when an electrical engineer references a plumbing drawing 913, he actually references an architectural drawing 912 at the same time (i.e., forming a nesting relationship). The electrical reference rule file designed by the electrical engineer can be shared with the plumbing engineer, and is actually the same as the reference rule used by the plumbing engineer to reference the architectural drawing 912 when creating the plumbing drawing 913 on his terminal 910. The filtered and screened architectural elements are set up in association with architectural element control points, so that the architectural CAD elements duplicated or overlapping in the electrical drawing can be independently operated through the architectural element control points (operation methods include, but are not limited to, show, hide, bind, separate, reload, and unload).
[0341] In one embodiment, the present invention also includes the steps of: obtaining the fourth referenced file by modifying the first referenced file; obtaining related changes between the fourth referenced file and the first referenced file by filtering and screening the first reference rule file; and duplicating and overlapping the related changes in the current file, and displaying the related changes and the first elements in different display modes in the current file.
[0342] Similarly, in a usage scenario, a plumbing plan referenced by an electrical engineer is modified by the plumbing engineer on his computer terminal 910, creating a new version of the plumbing plan. The Collaborative Design System notifies the electrical engineer that there are changes to the plumbing plan, and the electrical engineer downloads the new version of the plumbing plan from the server (i.e., the fourth referenced file). The Collaborative Design System identifies changed CAD elements by comparing the old and new versions of the plumbing plan. Some of these changed CAD elements are relevant to the electrical engineer's design, while others are not. Therefore, the system uses the electrical reference rule file to filter these changed elements (e.g., by information in their attributes), and then duplicates and overlays the relevant changed elements on the electrical plan. These changed elements are displayed in an easily recognizable manner (e.g., different colors or styles), allowing the electrical engineer to clearly see the changes to the plumbing plan and continue editing his electrical plan.
[0343] In one embodiment, the related changes are referenced while editing the current file, and the related changes are duplicated and overlaid on the current electrical drawing, allowing the electrical engineer to continue modifying his or her own electrical drawing while viewing the changes in the plumbing drawing on the same interface.
[0344] In one embodiment, a data summary file is generated based on the edited current file, and detailed information of the incremental data generated after the current file is edited is stored in an incremental database, and the data summary file includes the storage path of the detailed information of the incremental data in the incremental database.
[0345] Also in conjunction with a usage scenario, after an electrical engineer completes edits to his electrical drawing 914, he submits his electrical drawing 914 to a timeline device in the server, and the timeline device compares the electrical drawing before and after the electrical engineer's modifications and stores the changes in an incremental database in incremental data format to form a new data summary file and its associated restore point 904.
[0346] The restoration point 904 is located on a timeline 903, which is the full timeline of the electrical engineer's participation in the collaborative design project (i.e., each restoration point includes all CAD files related to the project at that time), and the reference restoration point is 905, which includes the electrical drawing originally drawn by the electrical engineer. If the electrical engineer wants to check the drawing originally drawn by the electrical engineer, he or she simply retrieves the data summary file from the restoration point, and the detailed information of the CAD elements recorded in the data summary file is retrieved from the incremental database, thereby quickly and accurately restoring the electrical CAD drawing originally drawn.
[0347] Of course, the specific implementation may be different in different embodiments. For example, the computer terminal on which the electrical engineer is working can recognize the differences between the old and new versions of the electrical drawings, and upload the incremental data details corresponding to the differences to the incremental database in the server, thereby reducing the burden of data transmission.
[0348] It is important to note that, throughout this document, the terms "comprises," "comprises," and all variations thereof are intended to be inclusive, and thus a process, method, article, or apparatus comprising a set of elements not only includes those elements, but also other elements not expressly listed or inherent in such process, method, article, or apparatus. Unless more restrictive, an element defined by the phrase "comprises a..." does not exclude other identical elements from being included in the process, method, article, or apparatus of that element.
[0349] Through the above description of the embodiments, those skilled in the art should clearly understand that the methods of the above embodiments can be realized using a combination of software and a required general-purpose hardware platform. Of course, it can also be realized using hardware, but in many situations, the former is a better embodiment. Based on this understanding, the technical means of the present invention, in its essence or in the part that contributes to existing technology, can be expressed in the form of a product, and the computer software product is stored in a storage medium (e.g., ROM / RAM, disk, CD-ROM), and allows a computer terminal (such as a mobile phone, computer, server, or network device) to execute the methods described in each embodiment of the present invention with a few instructions.
[0350] Although the embodiments of the present invention have been described above in conjunction with the drawings, the present invention is not limited to the above specific embodiments, and the above specific embodiments are merely for illustrative purposes and are not intended to limit anything. Those skilled in the art can make many modifications based on the teachings of the present invention without departing from the spirit and scope of the claims, and all of these modifications fall within the scope of the present invention.
Claims
1. 1. A method for referencing an external file in a CAD system, comprising: generating at least one first general reference rule file independent of the referenced file based on the at least one reference condition and storing the same in an extensible file format; and The method includes the step of referencing at least one of the referenced files based on a selected at least one of the first general reference rule files.
2. 2. The method of claim 1 , A method in which the first general reference rule file is obtained by expanding a second general reference rule file sent by a collaborating party, and the second general reference rule file is generated based on at least one reference condition selected by the collaborating party.
3. 3. The method according to claim 1 or 2, The method, wherein the reference rule file is stored in an Extensible Markup Language (XML) format.
4. 3. The method according to claim 1 or 2, The method, wherein the reference conditions include a layer filter operation instruction, an area cutting filter operation instruction, and / or a drawing filter operation instruction.
5. 5. The method of claim 4, A method, wherein the drawing filter manipulation instructions are self-defined reference conditions added based on each object type and its characteristics in the referenced file.
6. 1. A method for referencing an external file in a CAD system, comprising: Obtain at least one third general reference rule file sent by a collaborator; and referencing at least one referenced file based on the selected at least one third general reference rule file; The method according to claim 1, wherein the third general reference rule file is generated in advance based on at least one reference condition selected by the collaborator and is stored independently in an extensible file format.
7. 7. The method of claim 6, The method, wherein the reference rule file is stored in an Extensible Markup Language (XML) format.
8. 7. The method according to claim 5 or 6, The method, wherein the reference conditions include a layer filter operation instruction, an area cutting filter operation instruction, and / or a drawing filter operation instruction.
9. 9. The method of claim 8, A method, wherein the drawing filter manipulation instructions are self-defined reference conditions added based on each object type and its characteristics in the referenced file.
10. A device for referencing an external file, which is applied to a CAD system, comprising: a reference rule file generating module for generating at least one first general reference rule file independent of the referenced file based on the at least one reference condition and for independently storing the first general reference rule file in an extensible file format; a first storage module for storing at least one of the first general reference rule files generated by the reference rule file generation module; and The apparatus includes a first referencing module for referencing at least one of the referenced files based on a selected at least one of the first universal referencing rule files.
11. 11. The apparatus of claim 10, The device, wherein the first general reference rule file is obtained by the reference rule file generation module expanding based on a second general reference rule file sent by a collaboration partner, and the second general reference rule file is generated based on at least one reference condition selected by the collaboration partner.
12. 12. The device according to claim 10 or 11, The apparatus, wherein the reference rule file is stored in an Extensible Markup Language (XML) format.
13. 13. The apparatus of claim 12, The reference conditions include an image layer hiding operation instruction, an area cutting hiding operation instruction, and / or a drawing filter operation instruction.
14. 14. The apparatus of claim 13, The drawing filter manipulation instructions are self-defined reference conditions added based on each object type and its characteristics in the referenced file.
15. A device for referencing an external file, which is applied to a CAD system, comprising: an acquisition module for acquiring at least one second generic rule file sent by a collaborator; and a second referencing module for referencing at least one referenced file based on the selected at least one second general referencing rule file; The second general reference rule file is generated in advance based on at least one reference condition added by the collaborator, and is independently stored in an extensible file format.
16. 16. The apparatus of claim 15, The apparatus, wherein the reference rule file is stored in an Extensible Markup Language (XML) format.
17. 18. Apparatus according to claim 15 or 17, comprising: The reference conditions include a layer hiding operation command, an area cutting operation command, and a drawing filter operation command.
18. 18. The apparatus of claim 17, The drawing filter manipulation instructions are self-defined reference conditions added based on each element type and its characteristics in the referenced file.
19. A computer-readable storage medium containing a set of instructions, comprising: The instructions, when executed, At least one processor generating at least one first general reference rule file independent of the referenced file based on the at least one reference condition and storing the same in an extensible format; and performing a step of referencing at least one of the referenced files based on the selected at least one first general reference rule file; Or, The instructions, when executed, At least one processor Obtain at least one third general reference rule file sent by a collaborator; and referencing at least one referenced file based on the selected at least one third general reference rule file; The third general-purpose reference rule file is generated in advance based on at least one reference condition selected by the collaborator, and is independently stored in an extensible file format.
20. 20. The computer-readable storage medium of claim 19, A computer-readable storage medium, wherein the first general reference rule file is obtained by expanding a second general reference rule file sent by a collaborating party, and the second general rule file is generated based on at least one reference condition selected by the collaborating party.
21. A computer terminal, at least one processor; and a computer-readable storage medium coupled to the processor; The computer-readable storage medium includes a set of instructions, The instructions, when executed by at least one of the processors, At least one of the processors generating at least one first general reference rule file independent of the referenced file based on the at least one reference condition and storing the same in an extensible format; and referencing at least one of the referenced files based on the selected at least one first general reference rule file; Or, The instructions, when executed by at least one of the processors, At least one of the processors comprises: Obtain at least one third general reference rule file sent by a collaborator; and referencing at least one referenced file based on the selected at least one third general reference rule file; The third general-purpose reference rule file is generated in advance based on at least one reference condition selected by the collaborator, and is independently stored in an extensible file format in a computer terminal.
22. 22. The computer terminal of claim 21, A computer terminal, wherein the first general reference rule file is obtained by expanding a second general reference rule file sent by a collaboration partner, and the second general rule file is generated based on at least one reference condition selected by the collaboration partner.
Citation Information
Patent Citations
Integrated database cad system
JP2003141191A
CAD system and unit arrangement method
JP2017027490A
Method, computer program product and apparatus for providing a building options configurator
US20160210377A1
