A collaborative management method for CAD drawing based on cloud platform
By setting collaborative nodes and drawing requirement characteristics on the cloud platform, and combining user permission information for CAD matching and drawing mode configuration, the problem of insufficient collaborative drawing efficiency and accuracy in the cloud platform CAD drawing system is solved, and efficient and accurate collaborative drawing management is achieved.
Patent Information
- Application Number
- CN202510714766.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2045-05-30
AI Technical Summary
The existing cloud-based CAD drawing system has problems with efficiency and accuracy in multi-user collaborative drawing, especially in terms of operation conflicts and version inconsistencies, making it difficult to achieve efficient and accurate collaborative management.
By setting collaborative nodes and drawing requirement characteristics, performing collaborative CAD matching based on user permission information, locating target nodes and their node CAD drawings, and configuring synchronous online drawing and offline distributed drawing modes, accurate positioning and efficient management of collaborative drawing modes can be achieved.
It improves the efficiency and accuracy of collaborative mapping, ensures that users can accurately locate and draw the required mapping status, and reduces operational conflicts and version inconsistencies.
Smart Images

Figure CN120263536B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to data processing related fields, and in particular to a CAD drawing collaborative management method based on a cloud platform. Background Art
[0002] In the field of CAD drafting, with the increasing complexity of engineering projects, the demand for multi-user collaborative drafting is becoming more urgent. Efficient collaborative management has become the key to improving design efficiency and quality. Currently, some cloud platforms provide basic collaborative drafting functions, but they rely primarily on user-coordinated operations and lack intelligent collaborative management mechanisms. Since everyone is working online simultaneously, operational conflicts are prone to occur, and different users may see different versions of CAD drawings. This makes it difficult to determine which drafting node is truly required, making it impossible to accurately locate path nodes according to the user's drafting requirements and finding the desired drafting state difficult, which in turn affects the efficiency and accuracy of collaborative drafting.
[0003] Among the current related technologies, CAD drawing based on cloud platforms has technical problems such as insufficient efficiency and accuracy in collaborative drawing. Summary of the Invention
[0004] This application provides a CAD drawing collaborative management method based on a cloud platform, which adopts the method of requesting the user to set the collaborative node and drawing requirement characteristics of the current CAD, and based on the permission information of the requesting user, performs collaborative CAD matching on the cloud platform, locates the target node and its node CAD drawing, and configures collaborative drawing modes such as synchronous online drawing and offline distributed drawing. The target node and its node CAD drawing are sent to the corresponding drawing space for the requesting user to draw the node CAD drawing, etc. Technical means solve the technical problem of insufficient efficiency and accuracy of collaborative drawing in existing cloud platform-based CAD drawing, and achieves the technical effect of improving the efficiency and accuracy of collaborative drawing.
[0005] The present application provides a CAD drawing collaborative management method based on a cloud platform, comprising: requesting a user to set the collaborative node and drawing requirement characteristics of the current CAD; based on the permission information of the requesting user, performing collaborative CAD matching on the cloud platform according to the collaborative node and drawing requirement characteristics, locating the target node and its node CAD drawing; configuring a collaborative drawing mode, wherein the collaborative drawing mode includes synchronous online drawing and offline distributed drawing; according to the collaborative drawing mode, sending the target node and its node CAD drawing to a corresponding drawing space, wherein the drawing space is used to request the user to draw the node CAD drawing, wherein the drawing space is communicatively connected to the cloud platform.
[0006] In a possible implementation, the user is requested to set the collaborative nodes and drawing requirement features of the current CAD, and the following processing is performed: the authority information is identified according to the user information of the requesting user, and the permission collaborative tasks and collaborative scope are obtained based on the authority information; according to the permission collaborative tasks and collaborative scope, a collaborative task topology map is provided; based on the collaborative task topology map, the user requested task, selected area, selected drawing type, and drawing parameters are obtained; according to the user requested task, selected area, selected drawing type, and drawing parameters, the collaborative nodes and drawing requirement features are obtained and set.
[0007] In a possible implementation, based on the user-requested task, selected area, selected drawing type, and drawing parameters, collaborative nodes and mapping requirement characteristics are obtained, and the following processing is performed: based on the coordinates and size range of the selected area, the regional mapping task content of the user-requested task is extracted; based on the selected drawing type and the regional mapping task content, task type matching is performed to obtain task mapping parameters and mapping targets; based on the drawing parameters and the task mapping parameters and mapping targets, task flow is parsed to determine the pre-mapping flow and post-mapping flow, and the mapping requirement characteristics are determined using the drawing screen characteristics of the pre-mapping flow and post-mapping flow; based on the pre-mapping flow, the collaborative node of the user-requested task is located, and the collaborative node has task mapping parameters and mapping target labels.
[0008] In a possible implementation, collaborative CAD matching is performed on the cloud platform according to the collaborative node and the drawing requirement characteristics, the target node and its node CAD drawing are located, and the following processing is performed: the drawing screen features are analyzed according to the drawing requirement characteristics to determine the screen constraint features; based on the collaborative node and the screen constraint features, matching is identified in the drawing traceability graph structure of the cloud platform to locate the target node and its node CAD drawing.
[0009] In a possible implementation, based on the identification and matching of the collaborative nodes and the screen constraint features in the drawing tracing graph structure of the cloud platform, the following processing is performed: obtaining the collaborative node distribution of the collaborative task, the collaborative node distribution including the regional node distribution and the process node distribution; based on the collaborative node distribution, obtaining the collaborative mapping record of each node; parsing the mapping timestamp, mapping description keywords, screen features, and mapping user information according to the collaborative mapping record; based on the mapping timestamp, mapping description keywords, screen features, and mapping user information, performing a correlation analysis of the mapping feature time axis of each node in the collaborative node distribution and the mapping description keywords and screen features, and constructing the drawing tracing graph structure, wherein each mapping node in the graph structure has a mapping user information label.
[0010] In a possible implementation, the following processing is also performed: setting traceability constraint features, screening the drawing traceability map structure based on the traceability constraint features, and obtaining traceability mapping information; extracting drawing images based on the traceability mapping information, positioning and splicing the extracted drawing images according to the CAD drawing combination requirements, and obtaining an adaptive CAD drawing.
[0011] In a possible implementation, the following processing is performed: the traceability constraint feature includes: a combination of one or more features of a collaborative node and mapping time, mapping description keywords, screen features, and mapping user information.
[0012] In a possible implementation, an adaptive CAD drawing is obtained and the following processing is also performed: setting traceability constraint features of each collaborative node, and using the traceability constraint features of each collaborative node to obtain matching mapping features of each collaborative node through the drawing traceability graph structure; establishing a path screening rule, and performing path screening on the matching mapping features of each collaborative node according to the path screening rule to obtain a CAD image extraction path; extracting a drawing image from the matching mapping features of each collaborative node according to the CAD image extraction path, and splicing and combining the extracted drawing images in the order of the path to obtain the adaptive CAD drawing.
[0013] In a possible implementation, a collaborative mapping mode is configured, which includes synchronous online mapping and offline distributed mapping, and the following processing is performed: according to the online collaborative users, a collaborative user circle is set, and the collaborative user circle includes all users or some specified users among the online collaborative users; or, the computing power status information of the edge node is obtained, and the computing power status information includes the capacity status, load data, and transmission speed of each edge node, and the edge resource download node for offline distributed mapping is determined according to the computing power status information; according to the collaborative user circle or the edge resource download node, the collaborative mapping mode is configured.
[0014] In a possible implementation, the target node and its node CAD drawing are sent to the corresponding drawing space, and then the following processing is performed: the synchronization strategy of the drawing space is obtained, and the synchronization strategy includes space record locking, record public synchronization, and permission public synchronization; the drawing records of the drawing space are synchronized to the cloud platform according to the synchronization strategy, and the drawing traceability map structure is updated; when the synchronization strategy is record public synchronization and permission public synchronization, the drawing picture of the drawing space is obtained, and the drawing picture is sent to the cloud platform for structural space and time alignment, and the CAD drawing is iterated by picture splicing.
[0015] The present application proposes a cloud platform-based CAD drawing collaborative management method, which first requests the user to set the collaborative nodes and drawing requirement characteristics of the current CAD. Then, based on the permission information of the requesting user, collaborative CAD matching is performed on the cloud platform according to the collaborative nodes and drawing requirement characteristics, the target node and its node CAD drawing are located, and then a collaborative drawing mode is configured. The collaborative drawing mode includes synchronous online drawing and offline distributed drawing. Finally, according to the collaborative drawing mode, the target node and its node CAD drawing are sent to the corresponding drawing space. The drawing space is used to request the user to draw the node CAD drawing, wherein the drawing space is communicated with the cloud platform. The technical effect of improving the efficiency and accuracy of collaborative drawing is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings of the embodiments of the present invention are briefly introduced below. Flowcharts are used in this application to illustrate the operations performed by the methods according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in precise order. Instead, various steps may be processed in reverse order or simultaneously as needed. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.
[0017] Figure 1 A flowchart of a cloud-based CAD drawing collaborative management method provided in an embodiment of the present application.
[0018] Figure 2 A schematic diagram of the process of constructing a drawing traceability map structure in a cloud platform-based CAD drawing collaborative management method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.
[0020] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0021] In the following description, reference is made to “some embodiments” which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict. The terms “including” and “having” and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used herein are for the purpose of describing the embodiments of this application only.
[0022] The embodiment of the present application provides a CAD drawing collaborative management method based on a cloud platform, such as Figure 1 As shown, the method includes:
[0023] Step S100: Request the user to set the collaborative nodes and drawing requirement characteristics of the current CAD.
[0024] Specifically, interactive elements such as forms, drop-down menus, and checkboxes are provided through a graphical user interface (such as a web page or client software) to allow users to input or select collaborative node information (such as participating personnel, departments, equipment, etc.) and drawing requirement characteristics (such as drawing type, accuracy requirements, layer requirements, etc.). Among them, collaborative nodes refer to the various entities involved in CAD drawing collaborative work, such as different departments, personnel, or equipment. The information entered by the user is collected through a front-end framework (such as React, Vue.js), and sent to the back-end server of the cloud platform via HTTP / HTTPS requests and stored in a database (such as MySQL, MongoDB). Before the user submits the information, the user's identity is confirmed through an authentication mechanism (such as OAuth, JWT), and the scope of the content that can be set is limited based on the user's role and permissions (such as administrator, ordinary user).
[0025] For example, in a web-based CAD collaboration management system, a user selects participating departments (e.g., design department, review department) from a drop-down menu and enters the drawing type via a form. The system frontend captures the user input using JavaScript and encapsulates it as JSON data. This data is then sent to the cloud platform backend interface / api / collaboration / setup via an HTTPS POST request.
[0026] In one possible implementation, the user is requested to set the collaborative nodes and drawing requirement characteristics of the current CAD. Step S100 further includes step S110, identifying permission information based on the user information of the requesting user, and obtaining permission collaborative tasks and collaborative scope based on the permission information. Specifically, the user's basic information (such as user ID, role, department, etc.) is obtained through the credentials provided by the user when logging in (such as user name, password, OAuthToken). The back-end server uses a permission identification module (such as a role-based access control RBAC system) to identify its permission information based on the user information. The permission information includes the collaborative task types and collaborative scopes (such as departments, projects, drawing types, etc.) that the user can access. The permission information is stored in the database, and the permission collaborative tasks and collaborative scopes corresponding to the user are retrieved through SQL or NoSQL query statements.
[0027] For example, when a user logs in to the system, the system verifies the user's identity using a JWT (JSON Web Token) and extracts user information from the token, such as the user ID "12345," the role "Design Engineer," and the department "Design Department." The permission identification module queries the database based on the user's role "Design Engineer" to obtain their permission information. Based on this permission information, the system determines that the user can participate in collaborative tasks, including 2D drawing and 3D modeling, and that the collaboration scope is limited to the Design Department and Project X.
[0028] In step S120, a collaborative task topology map is provided based on the permission-based collaborative tasks and the collaborative scope. Specifically, the backend server generates a collaborative task topology map based on the user's permission information. The topology map displays the relationships between the collaborative tasks that a user can participate in, as well as the hierarchical structure of the tasks. The topology map data is rendered on the front-end user interface using a data visualization library (such as D3.js or ECharts). The topology map data is stored in a tree or graph structure, consisting of nodes (collaborative tasks) and edges (associations between tasks).
[0029] Step S130: Based on the collaborative task topology map, the user's requested task, selected area, selected drawing type, and drawing parameters are obtained. Specifically, a user interface (such as a webpage or client software) is provided to allow the user to select a specific collaborative task, drawing area, drawing type, and parameters from the topology map. A front-end framework (such as React or Vue.js) is used to bind the user's selections from the topology map to a data model, and the user-entered parameters are collected. The user-entered parameters are validated to ensure they meet system requirements, and real-time feedback is provided in the user interface.
[0030] For example, a user selects the "2D Drawing" task in a topology diagram. On the interface, they choose the drawing area (such as Area A on the drawing), the drawing type (such as a floor plan), and enter the drawing parameters (such as a scale of 1:100). The system frontend collects the user's input parameters through a form and verifies them. For example, it verifies whether the scale parameter is within the allowable range (such as 1:50 to 1:200).
[0031] Step S140 obtains and sets collaborative nodes and mapping requirement characteristics based on the user's requested task, selected area, selected drawing type, and drawing parameters. Specifically, based on the user's selected task and area, collaborative nodes participating in the task (e.g., other personnel or departments involved in drawing the area) are identified. Based on the user's selected drawing type and parameters, mapping requirement characteristics are generated, including drawing type, accuracy requirements, and layer requirements. The collaborative nodes and mapping requirement characteristics are stored in the database, and the system status is updated.
[0032] For example, based on the user's selected "2D Drawing" task and "Area A," the system identifies the collaborative nodes involved in drawing that area, such as the "Design Department" and "Audit Department." Based on the user's selected drawing type of "Plan View" and the parameter "Scale 1:100," the system generates a drawing requirement profile. The system stores this information in the database and updates the front-end interface, notifying the user that the collaborative nodes and drawing requirement profile have been set.
[0033] In this implementation, the system accurately identifies collaborative nodes and generates mapping requirement features based on user permissions and selected tasks, areas, types, and parameters, ensuring the accuracy and rationality of task allocation.
[0034] In one possible implementation, based on the user-requested task, the selected area, the selected drawing type, and the drawing parameters, collaborative nodes and drawing requirement features are obtained, and step S140 further includes step S141, extracting the regional drawing task content of the user-requested task based on the coordinates and size range of the selected area. Specifically, graphic recognition technology (such as image processing algorithm or vector graphics parsing) is used to extract the graphic content of the area from the CAD drawing based on the coordinates and size range of the user-selected area. For vector graphics (such as DWG and DXF formats), the graphic elements of the selected area are determined by parsing the geometric data in the file (such as the coordinates of points, lines, and surfaces). For raster graphics (such as PNG and JPEG formats), the pixel data of the selected area is extracted through image processing algorithms (such as region segmentation and edge detection). The extracted graphic content is converted into a structured data format, such as JSON or XML, containing information such as the type, coordinates, and size of the graphic elements.
[0035] Step S142 matches the selected drawing type with the regional mapping task content to obtain the task's mapping parameters and target. Specifically, based on the user-selected drawing type (e.g., adding a frame element, modifying the frame color) and the regional mapping task content, predefined matching rules are used to determine the specific mapping parameters and target for the task. For example, if the user selects "Modify the frame color," the system will match the required color parameters and target graphic elements (e.g., the frame outline) for that task. A rules engine or simple conditional logic is used to generate the task's mapping parameters and store them in a database for use in subsequent steps.
[0036] Step S143: The task process is parsed based on the drawing parameters, the task drawing parameters, and the drawing objectives to determine the pre-drawing process and post-drawing process. The drawing screen features of the pre-drawing process and post-drawing process are used to determine the drawing requirement features. Specifically, based on the drawing parameters (such as color and size adjustment) and task drawing parameters input by the user, the pre-drawing and post-drawing processes required to complete the task are parsed. The pre-drawing process includes the extraction and backup of graphic elements; the post-drawing process includes the modification, storage, and version control of graphic elements. The changing features of the graphic elements in the pre-drawing and post-drawing processes are analyzed. For example, the pre-drawing process is to extract the current color (blue) of the frame outline, and the post-drawing process is to change the frame outline color to red and save the new version. The drawing requirement features are generated based on the drawing screen features, including the type of graphic element, modification content, version information, etc.
[0037] Step S144, locate the collaborative node of the task requested by the user according to the pre-drawing process, and the collaborative node has task drawing parameters and drawing target labels. Specifically, based on the graphic elements and task drawing parameters involved in the pre-drawing process, locate the collaborative nodes (such as the design department and the review department) involved in the task. For example, if the task involves modifying the color of the frame, the system will locate the design department and the review department as collaborative nodes. Generate task drawing parameters and drawing target labels for each collaborative node so that other collaborative personnel can understand the specific content of the task. The collaborative nodes and task labels are displayed in a visual manner in the user interface, and the user can select a specific collaborative node through the graphical interface to perform drawing operations. For graphic elements with specific shapes (such as the frame), use specific shape partitions for display; for tasks without specific shapes (such as review), use topological structures to display collaborative relationships.
[0038] This approach, through region identification and task type matching, accurately decomposes user-requested tasks, extracts specific mapping parameters and objectives, and ensures task accuracy and executability. By analyzing task flows and locating collaborative nodes, it automatically determines pre- and post-task processes and generates clear task labels for each collaborative node, improving the efficiency and transparency of collaborative work.
[0039] Step S200 , based on the permission information of the requesting user, collaborative CAD matching is performed on the cloud platform according to the collaborative nodes and drawing requirement characteristics, and the target node and its node CAD drawing are located.
[0040] Specifically, the backend server verifies user permissions through a permissions management module (such as role-based access control (RBAC)) to ensure that users can only access authorized collaboration nodes and drawing resources. Based on the collaboration nodes and drawing requirements specified by the user, an algorithm (such as a rule-based matching algorithm or a machine learning model) searches the cloud platform's resource library for matching CAD drawings and collaboration nodes. A database query language (such as SQL or NoSQL query statements) is used to retrieve the target node and its corresponding CAD drawing from the stored CAD drawings and node information.
[0041] For example, the permissions management module limits access to CAD drawings related to the design department based on user roles (e.g., general designer). The matching algorithm searches the cloud platform's CAD library for drawings that meet the requirements, based on the drawing type (2D) and precision requirements (±0.1mm). For example, using an SQL query, the target node is a CAD drawing for the design department, and its file path is / cloud_storage / cad / design_dept / 2D_precision_0.1mm.dwg.
[0042] In one possible implementation, collaborative CAD matching is performed on the cloud platform based on the collaborative nodes and drawing requirement features to locate the target node and its node CAD drawing. Step S200 further includes step S210, in which drawing screen features are parsed based on the drawing requirement features to determine screen constraint features. Specifically, graphic recognition technology (such as computer vision algorithms or vector graphics parsing) is used to extract the type (such as lines, circles, polygons, text, etc.) and attributes (such as color, size, position, etc.) of graphic elements from the drawing requirement features provided by the user. According to the user's needs (such as changing the color of the frame), the constraint features related to the need are extracted. For example, if the user needs to change the color of the frame, the system needs to identify the frame's outline, current color, and other information, and determine the constraint feature as "color modification within the frame outline." The parsed drawing screen features and constraint features are stored in a structured data format, such as JSON or XML.
[0043] In step S220, based on the collaborative nodes and the screen constraint features, a match is identified in the cloud platform's drawing traceability graph structure, and the target node and its node CAD drawing are located. Specifically, the cloud platform maintains a drawing traceability graph structure that records the CAD drawing of each collaborative node and its historical version information. The graph structure can be a directed graph, with nodes representing CAD drawing versions and edges representing modification relationships between versions. For example, the graph structure contains multiple versions of a vehicle frame CAD drawing, each recording the modification history of color, size, and other aspects. Based on the collaborative nodes and screen constraint features provided by the user, the graph structure is searched for matching CAD drawing versions. The matching algorithm checks whether the CAD drawing in the graph contains user-specified graphic elements (such as the frame outline) and whether the constraint features are met (such as the current color is blue). After the matching algorithm finds a CAD drawing version that meets the constraint features, the corresponding target node is located. Information about the target node and its node CAD drawing is returned to the user for use in subsequent steps.
[0044] This implementation method accurately identifies user needs through drawing screen feature analysis and constraint feature extraction, and finds matching CAD drawing versions in the cloud platform's graph structure, ensuring the accuracy and efficiency of collaborative work. The drawing traceability graph structure records the historical version information of CAD drawings. The system can quickly trace back to the specific version that meets user needs through the graph structure, supporting version management and the continuity of collaborative work. The system automatically identifies and locates the target node and its CAD drawing, reducing the time for manual search and matching and improving the efficiency of collaborative work. Especially in complex projects, it can quickly locate the drawing version that needs to be collaboratively modified.
[0045] like Figure 2 As shown, in a possible implementation, based on the identification and matching of the collaborative nodes and the screen constraint features in the drawing traceability graph structure of the cloud platform, step S200 further includes step S230 to obtain the collaborative node distribution of the collaborative task, and the collaborative node distribution includes regional node distribution and process node distribution. Specifically, the node distribution is divided according to the geographical area (such as different departments, different project locations) or functional modules (such as the frame, engine, interior in automobile design, etc.) of the collaborative task, and the regional node distribution information is stored in a tree structure or a graph structure. Each node contains information such as the area identifier and the functional module to which it belongs. The node distribution is divided according to the process stage (such as design, review, modification, etc.) of the collaborative task, and the process node distribution information is stored in a linear or hierarchical structure. Each node contains information such as the stage identifier and the task status.
[0046] Step S240: Based on the collaborative node distribution, obtain the collaborative mapping record of each node. Specifically, based on the collaborative node distribution, query the collaborative mapping record of each node from the cloud platform database. The mapping record includes a timestamp, mapping description, screen features, user information, etc.
[0047] Step S250: Parse the collaborative mapping record for the mapping timestamp, mapping description keywords, screen features, and mapping user information. Specifically, extract the timestamp from the mapping record for subsequent timeline analysis, for example, 2025-04-20T10:00:00Z. Use natural language processing (NLP) techniques to extract keywords from the mapping description, for example, extracting the keywords ["car frame","color","red"] from the description "Modified car frame color to red." Parse the screen features in the mapping record, such as color, shape, and size, for example, {"color":"red","shape":"rectangle"}. Extract user information from the mapping record, including user ID and name, for example, {"user_id":"67890","name":"Jane Smith"}.
[0048] Step S260, based on the mapping timestamp, mapping description keywords, screen features, and mapping user information, the mapping feature timeline of each node in the collaborative node distribution and the correlation analysis of the mapping description keywords and screen features are performed to construct the drawing tracing graph structure, wherein each mapping node in the graph structure has a mapping user information label. Specifically, the mapping records of each node are arranged in chronological order according to the mapping timestamp to construct the mapping feature timeline. The similarity of the mapping description keywords is analyzed. If the keywords of two operations are highly similar, they are considered to be logically related. The inclusion or overlap relationship of the screen features is analyzed. If the screen features of two operations contain or partially overlap, they are considered to be logically related. If the timestamps of two operations are similar, they are considered to be closely related in time. Based on the correlation analysis results, the drawing tracing graph structure is constructed. Each node represents a mapping record, and the nodes are connected by directed edges with weights, and the weights represent the strength of the correlation. Each node is attached with a mapping user information label. Use visualization tools (such as D3.js and ECharts) to present the graph structure to users in a graphical manner. Nodes are presented as icons, and the thickness of the edges indicates the strength of the association. User information labels are attached to each node to trace the mapping responsibility and design intent.
[0049] For example, suppose that in an automotive design project, the design and review departments collaborate on the frame design task. The collaborative node distribution for this collaborative task is obtained, including the design department (responsible for frame design) and the review department (responsible for design review). The collaborative drawing records for the design and review departments are queried, including timestamps, descriptions, screen features, and user information. The drawing records are parsed to extract timestamps, keywords (such as "frame design" and "color change"), screen features (such as color and shape), and user information. Correlation analysis reveals that the "frame color change" operation in the design department and the "frame color review" operation in the review department occurred close in time, share similar keywords, and have overlapping screen features, thus determining that they are logically closely related. A traceability graph structure is constructed and visualized for the user: Node 1: "frame color change" operation in the design department, user John Doe. Node 2: "frame color review" operation in the review department, user Jane Smith. The nodes are connected by weighted directed edges with a weight of 0.8, indicating a strong correlation.
[0050] This implementation method builds a drawing traceability graph structure to comprehensively record and trace the drawing history of each collaborative node, including timestamps, descriptions, screen features and user information, providing complete contextual information for collaborative work.
[0051] In one possible implementation, step S200 further includes step S270, which sets traceability constraints and filters the drawing traceability graph structure based on the traceability constraints to obtain traceability drawing information. The traceability constraints include a combination of collaborative nodes and one or more features selected from the group consisting of drawing time, drawing description keywords, screen features, and drawing user information. Specifically, the user is allowed to enter traceability constraints through an interface, including collaborative nodes, drawing time range, drawing description keywords, screen features (e.g., color, shape), and drawing user information. For example, a user may wish to trace all drawing operations involving "frame color modification" made by the "Design Department" between April 20, 2025, and April 25, 2025. Based on the user-set traceability constraints, multiple conditions are filtered within the drawing traceability graph structure. From the filtered graph structure, traceability drawing information that meets the conditions is extracted, including timestamps, descriptions, screen features, and user information.
[0052] In step S280, the drawn images are extracted based on the retroactive mapping information and positioned and spliced according to the CAD drawing combination requirements to generate an adaptive CAD drawing. Specifically, for vector CAD drawings, corresponding graphic elements are extracted based on the image features (such as color and shape) in the retroactive mapping information. For raster images, image processing algorithms (such as region segmentation and color filtering) are used to extract image regions that meet the requirements. For example, the graphic elements corresponding to the "frame color modification" operation, including the frame outline and color information, are extracted. Based on the CAD drawing combination requirements (such as drawing layout and scale requirements), the extracted images are positioned and spliced according to the positioning requirements to generate a complete adaptive CAD drawing. The generated adaptive CAD drawing can dynamically adapt to different display requirements (such as screen sizes of different sizes and printing scales). For example, the generated adaptive CAD drawing can fully display the modification history of the frame design, including the initial design and the state after color modification.
[0053] This implementation method can accurately filter out the mapping information that meets the conditions from the complex drawing traceability map structure by setting traceability constraint features, ensuring the efficiency and accuracy of the traceability process.
[0054] In one possible implementation, an adaptive CAD drawing is obtained, and step S280 further includes step S281, setting the traceability constraint features of each collaborative node, and using the traceability constraint features of each collaborative node to obtain the matching mapping features of each collaborative node through the drawing traceability graph structure. Specifically, a user interface is provided to allow the user to set traceability constraint features for each collaborative node, including time range, drawing user, keywords, etc. For example, the user sets the traceability constraint feature to "search for relevant drawing information drawn by user A and containing the keyword "electrical circuit" between April 1, 2025 and April 30, 2025". According to the traceability constraint feature set by the user, matching mapping features are queried in the drawing traceability graph structure. The mapping features that meet the conditions are extracted from the graph structure, including timestamps, descriptions, screen features and user information.
[0055] Step S282: Establish path filtering rules. Path filtering is performed on the matching cartographic features of each collaborative node according to these path filtering rules to obtain a CAD image extraction path. Specifically, path filtering rules are defined based on the project's CAD drawing combination requirements, such as chronological order or the logical order of the cartographic descriptions. For example, paths can be filtered chronologically, with earlier cartographic features being prioritized as the starting point for path extraction. A graph traversal algorithm (such as depth-first search or breadth-first search) is used to filter matching cartographic features according to the path filtering rules. Based on the path filtering results, the CAD image extraction path is determined.
[0056] Step S283, extract the drawing image from the matching mapping features of each collaborative node according to the CAD image extraction path, and splice and combine the extracted drawing images in the order of the path to obtain the adaptive CAD drawing. Specifically, for vector CAD drawings, the corresponding graphic elements are extracted according to the mapping features in the extraction path. For raster images, image processing algorithms are used to extract image areas that meet the conditions. During the splicing process, the geometric relationship between the nodes is checked (such as size matching, connection relationship). If a potential conflict is found (such as inconsistent size or mismatched connection method), a warning is issued to the user, and suggestions for resolving the conflict are provided, such as automatically adjusting the size and prompting the user to manually modify the connection relationship. The verified and adjusted nodes are accurately integrated into the complete CAD drawing in the cloud.
[0057] Step S300: configuring a collaborative mapping mode, wherein the collaborative mapping mode includes synchronous online mapping and offline distributed mapping.
[0058] Specifically, the user interface provides options (e.g., radio buttons) to allow users to select a collaborative mapping mode (synchronous online or offline distributed). Synchronous online mapping refers to real-time collaboration, while offline distributed mapping refers to offline collaboration. Based on the user-selected mode, the backend server sets the corresponding collaboration parameters (e.g., real-time synchronization frequency, offline data packet generation rules, etc.) through the configuration management module. Depending on the selected mode, different communication protocols are adapted (e.g., WebSocket for synchronous online mapping, FTP or HTTP for offline distributed mapping).
[0059] For example, if a user selects "Synchronous Online Mapping" on the client interface, the backend configuration management module will set the real-time synchronization frequency to once per second and enable the WebSocket communication protocol. If the user selects "Offline Distributed Mapping," the system will generate an offline data package and provide a download link via HTTP.
[0060] In one possible implementation, a collaborative mapping mode is configured, and the collaborative mapping mode includes synchronous online mapping and offline distributed mapping. Step S300 further includes step S310, setting a collaborative user circle based on online collaborative users, and the collaborative user circle includes all users or some specified users among the online collaborative users. Specifically, the currently online collaborative users are monitored in real time through WebSocket or other real-time communication technologies. A list of online users is maintained, and the online status, identity information and permissions of each user are recorded. A user interface is provided to allow users to select "all online users" or "specific users" to form a collaborative user circle. For example, the user can select "collaborate with all online users" or manually select specific users (such as user A, user B) to form a collaborative user circle. The information of the collaborative user circle is stored in the cloud platform and notified to all relevant users. Use WebSocket to broadcast the update information of the collaborative user circle to ensure that all users are aware of the collaborative status.
[0061] Alternatively, in step S320, the computing power status information of the edge node is obtained. The computing power status information includes the capacity status, load data, and transmission speed of each edge node, and the edge resource download node for offline distributed mapping is determined based on the computing power status information. Specifically, the computing power status information of each edge node is monitored in real time through the edge computing platform, including CPU usage, memory usage, network transmission speed, etc. The computing power status information is collected from the edge node using an API or message queue (such as MQTT). Based on the computing power status information, the resource availability of each edge node is evaluated, and the most suitable edge resource download node is selected. For example, the edge node with the lowest CPU usage is selected as the resource download node.
[0062] Step S330, configure the collaborative drawing mode according to the collaborative user circle or the edge resource download node. Specifically, if the collaborative user circle is selected, it is configured as a synchronous online drawing mode, and the drawing operations of all users are synchronized in real time. If the edge resource download node is selected, it is configured as an offline distributed drawing mode, and the CAD drawings and related resources are pushed to the edge node. The user can draw independently locally and upload them to the cloud platform for splicing after completion. According to the collaborative drawing mode selected by the user, the system automatically switches to the corresponding mode and uses WebSocket or message push technology to notify the user that the mode switch is complete.
[0063] For example, suppose that in an automotive design project, users need to collaborate on drafting. If the user selects "Collaborate with all online users," the system detects that the current online users include User A, User B, and User C. The system is configured for synchronous online drafting mode, synchronizing all users' drafting operations in real time. After User A modifies the color of the vehicle frame, User B and User C can see the modified results in real time. If the user selects offline distributed drafting mode, the system obtains the computing power status information of the edge node and selects the edge node with the lowest CPU utilization (such as Edge Node 1) as the resource download node. The system pushes the CAD drawing and related resources to Edge Node 1. The user can draw independently locally and upload the completed drawing to the cloud platform for splicing. During the splicing process, the system checks the geometric and connection relationships to ensure the accuracy of the splicing. Through this implementation, the system can efficiently support the collaborative design needs of complex projects and improve the flexibility and efficiency of collaborative work.
[0064] Step S400: According to the collaborative drawing mode, the target node and its node CAD drawing are sent to a corresponding drawing space, where the drawing space is used to request the user to draw the node CAD drawing, wherein the drawing space is communicatively connected to the cloud platform.
[0065] Specifically, a virtual drawing space is created on the cloud platform or local client. This can be a web-based CAD editor (such as one based on HTML5 Canvas or WebGL) or a drawing interface in local client software. Based on the collaborative drawing model, the CAD drawing of the target node is sent to the drawing space via a network protocol (such as WebSocket or HTTP). For synchronous online drawing, updates are pushed in real time; for offline distributed drawing, the entire data package is sent all at once. A stable communication connection is maintained between the drawing space and the cloud platform, using a heartbeat detection mechanism (such as sending heartbeat packets at regular intervals) to monitor the connection status.
[0066] For example, in synchronous online drawing mode, the cloud platform pushes the CAD drawing of the target node to the CAD editor on the web page in real time via WebSocket. In offline distributed drawing mode, the cloud platform sends the complete CAD data package to the local client via HTTP, and the client downloads the data package through HTTP GET request.
[0067] In one possible implementation, the target node and its node CAD drawing are sent to the corresponding drawing space, after which the method further includes: obtaining a synchronization strategy for the drawing space, the synchronization strategy including space record locking, record public synchronization, and permission public synchronization. Specifically, a user interface is provided to allow the user to select the synchronization strategy for the drawing space, including: space record locking (encrypted records, viewable only within the collaborative user circle), record public synchronization (all records are open to all users), and permission public synchronization (records are open to authorized users). For example, a user can choose to encrypt the drawing record and only allow members within the collaborative user circle to view it. The synchronization strategy is stored in the cloud platform, and all relevant users are notified, and the synchronization strategy is updated in real time using WebSocket or message push technology.
[0068] According to the synchronization strategy, the mapping records of the mapping space are synchronized to the cloud platform, and the drawing traceability map structure is updated. Specifically, if "Space Record Lock" is selected, the mapping records are encrypted and only authorized users can decrypt and view them. If "Record Public Synchronization" or "Permission Public Synchronization" is selected, the mapping records are synchronized directly to the cloud platform. The drawing traceability map structure is updated based on the synchronized mapping records, including timestamps, descriptions, screen features, and user information.
[0069] When the synchronization strategy is record public synchronization and permission public synchronization, the drawing picture of the drawing space is obtained, and the drawing picture is sent to the cloud platform for structural space and time alignment, and the CAD drawing is iterated by picture splicing. Specifically, the drawing picture is obtained from the drawing space, including vector graphic elements or raster images. According to the structural space requirements of the CAD drawing, the extracted drawing picture is positioned and aligned, and the drawing picture is arranged in chronological order according to the timestamp to ensure the logic of the splicing. The aligned drawing pictures are spliced using an image splicing algorithm to generate a complete CAD drawing. If a conflict is found during the splicing process (such as inconsistent dimensions or mismatched connection methods), the system automatically adjusts or prompts the user to manually modify it, and then re-splices it.
[0070] For example, suppose that in an automotive design project, user A and user B are collaborating on modifying the frame design. User A selects "Public synchronization of records" to allow all collaborating users to view the drawing records, while user B selects "Public synchronization of permissions" to allow only authorized users to view the drawing records. After user A modifies the color of the frame, the system synchronizes the modification record to the cloud platform and updates the drawing traceability map structure. User B sees user A's modification record in the drawing space and makes further modifications. The system obtains the drawing images of user A and user B and performs structural space and time alignment. During the splicing process, the system discovers that there is a conflict in the size inconsistency between the modifications made by user A and user B, automatically adjusts the size, and prompts user B to manually modify the connection relationship. The resulting adaptive CAD drawing clearly shows the modification process of the frame design. Through this implementation method, the system can efficiently support the collaborative design needs of complex projects and improve the flexibility and efficiency of collaborative work.
[0071] The embodiment of the present application adopts the method of requesting the user to set the collaborative nodes and drawing requirement characteristics of the current CAD, performing collaborative CAD matching on the cloud platform based on the permission information of the requesting user, locating the target node and its node CAD drawing, and configuring collaborative drawing modes such as synchronous online drawing and offline distributed drawing at the same time, sending the target node and its node CAD drawing to the corresponding drawing space for the requesting user to draw the node CAD drawing, etc., which solves the technical problem of insufficient efficiency and accuracy of collaborative drawing in the existing cloud platform-based CAD drawing, and achieves the technical effect of improving the efficiency and accuracy of collaborative drawing.
[0072] The above specific embodiments do not constitute a limitation to the scope of protection of this application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of this application should be included in the scope of protection of this application. In some cases, the actions or steps recorded in this application can be performed in an order different from that in the embodiments and can still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A CAD drawing collaborative management method based on a cloud platform, characterized in that: include: Request the user to set the current CAD collaborative nodes and drawing requirements; Based on the permission information of the requesting user, collaborative CAD matching is performed on the cloud platform according to the collaborative nodes and mapping requirement characteristics to locate the target node and its node CAD drawing; Configure collaborative mapping mode, which includes synchronous online mapping and offline distributed mapping; According to the collaborative drawing mode, the target node and its node CAD drawing are sent to a corresponding drawing space, where the drawing space is used to request the user to draw the node CAD drawing, wherein the drawing space is communicatively connected to the cloud platform; The requesting user to set the current CAD collaborative nodes and drawing requirement features includes: Identify permission information according to the user information of the requesting user, and obtain permission collaboration tasks and collaboration scope based on the permission information; Provide a collaborative task topology diagram based on the collaborative tasks and collaborative scope of the authority; Based on the collaborative task topology graph, obtaining the user requested task, selected area, selected drawing type, and drawing parameters; According to the user's requested task, selected area, selected drawing type, and drawing parameters, collaborative nodes and drawing requirement features are obtained and set; The obtaining of collaborative nodes and mapping requirement characteristics according to the user requested task, selected area, selected drawing type, and drawing parameters includes: Extracting the regional mapping task content of the user-requested task according to the coordinates and size range of the selected area; Matching the selected drawing type with the regional mapping task content to obtain task mapping parameters and mapping targets; Performing task process analysis based on the drawing parameters, the task mapping parameters, and the mapping target to determine the pre-mapping process and the post-mapping process, and determining the mapping requirement characteristics using the drawing screen characteristics of the pre-mapping process and the post-mapping process; Locating the collaborative node of the user-requested task according to the pre-drawing process, wherein the collaborative node has task drawing parameters and a drawing target label; The collaborative CAD matching is performed on the cloud platform according to the collaborative node and the drawing requirement characteristics to locate the target node and its node CAD drawing, including: Analyze the drawing screen features according to the mapping requirement features to determine the screen constraint features; Based on the collaborative node and the screen constraint features, the target node and its node CAD drawing are identified and matched in the drawing traceability graph structure of the cloud platform; The identification and matching based on the collaborative node and the screen constraint feature in the drawing traceability graph structure of the cloud platform previously includes: Obtaining collaborative node distribution of collaborative tasks, wherein the collaborative node distribution includes regional node distribution and process node distribution; Based on the collaborative node distribution, obtaining collaborative mapping records of each node; Parsing the mapping timestamp, mapping description keywords, screen features, and mapping user information according to the collaborative mapping record; Based on the mapping timestamp, mapping description keywords, screen features, and mapping user information, a correlation analysis is performed on the mapping feature time axis of each node in the collaborative node distribution and the mapping description keywords and screen features to construct the drawing tracing graph structure, wherein each mapping node in the graph structure has a mapping user information label.
2. The cloud platform-based CAD drawing collaborative management method according to claim 1, characterized in that: Also includes: Setting a traceability constraint feature, filtering the drawn traceability graph structure based on the traceability constraint feature, and obtaining traceability mapping information; Drawing images are extracted based on the retrospective drawing information, and the extracted drawing images are positioned and spliced according to the CAD drawing combination requirements to obtain an adaptive CAD drawing.
3. The cloud platform-based CAD drawing collaborative management method according to claim 2, characterized in that: The traceability constraint features include: one or more feature combinations of collaborative nodes and mapping time, mapping description keywords, screen features, and mapping user information.
4. The cloud platform-based CAD drawing collaborative management method according to claim 2, characterized in that: Get adaptive CAD drawings, including: Setting traceability constraint features of each collaborative node, and using the traceability constraint features of each collaborative node to obtain matching mapping features of each collaborative node by drawing the traceability graph structure; Establishing a path screening rule, and performing path screening on the matching mapping features of each collaborative node according to the path screening rule to obtain a CAD image extraction path; According to the CAD image extraction path, drawing images are extracted from the matching drawing features of the collaborative nodes, and the extracted drawing images are spliced and combined according to the path sequence to obtain the adaptive CAD drawing.
5. The cloud platform-based CAD drawing collaborative management method according to claim 1, characterized in that: Configure collaborative mapping mode, which includes synchronous online mapping and offline distributed mapping, including: According to the online collaborative users, a collaborative user circle is set, wherein the collaborative user circle includes all or some designated users among the online collaborative users; or Obtain computing power status information of edge nodes, the computing power status information including the capacity status, load data, and transmission speed of each edge node, and determine the edge resource download node for offline distributed mapping based on the computing power status information; The collaborative mapping mode is configured according to the collaborative user circle or the edge resource download node.
6. The cloud platform-based CAD drawing collaborative management method according to claim 1, characterized in that: Send the target node and its node CAD drawing to the corresponding drawing space, then include: Obtaining the synchronization strategy of the mapping space, which includes space record locking, record disclosure synchronization, and permission disclosure synchronization; Synchronize the mapping records of the mapping space to the cloud platform according to the synchronization strategy, and update the drawing traceability map structure; When the synchronization strategy is record public synchronization and permission public synchronization, the drawing picture of the drawing space is obtained, and the drawing picture is sent to the cloud platform for structural space and time alignment, and the CAD drawing is iterated by picture splicing.
Citation Information
Patent Citations
CAD drawing interactive management method and system based on multi-participant cooperation
CN117708903A
Task cooperative scheduling method and device, equipment and medium
CN118245184A
Cloud drawing intelligent editing method
CN119272390A