A web visualization method, device, equipment and medium for CAD data

By processing CAD data in geographic information system software, the problems of multi-user sharing and online collaborative access have been solved, achieving efficient browser-based display and improving the visualization convenience and collaborative operation efficiency of CAD data.

CN117725641BActive Publication Date: 2024-11-22浪潮智慧科技有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311799000.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2024-11-22
Estimated Expiration
2043-12-25

AI Technical Summary

Technical Problem

Existing technologies make it difficult for multiple people to access shared CAD data simultaneously, and they also cannot provide intuitive and easy data display and collaborative operation without installing additional software.

Method used

By loading CAD files into geographic information system software for dimensionality reduction, configuring coordinate systems, cleaning data attributes, and converting them into a format suitable for web services, the data is finally displayed in a browser.

Benefits of technology

It enables multiple users to collaboratively access CAD data online, reducing the burden of processing invalid data, improving processing efficiency, and allowing direct access and viewing of data through a browser, thus broadening the display formats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117725641B_ABST
    Figure CN117725641B_ABST
Patent Text Reader

Abstract

The embodiments of the present specification disclose a web visualization method, device, equipment and medium for CAD data, the method comprising: determining a corresponding CAD file based on a current work task to load it into a preset geographic information system software; performing dimensionality reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data; performing coordinate system configuration on the valid CAD data according to preset projection coordinate configuration information to perform data conversion on the configured valid CAD data to obtain valid format CAD data; performing data cleaning based on the current work task and data attributes of the valid format CAD data to obtain initial display CAD data; performing format conversion on the initial display CAD data based on a preset conversion tool to obtain CAD data to be displayed, so as to publish the CAD data to be displayed as a web service based on a preset plug-in library for display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data viewing technology, and more particularly to a web visualization method, device, equipment and medium for CAD data. Background Art

[0002] Computer Aided Design (CAD) refers to tools that use computers and their graphic devices to help designers design. In the process of product research and development, design, production and manufacturing, design engineers need to frequently construct the design of the product's three-dimensional CAD model according to the requirements of internal or external designers, auditors, manufacturing personnel, customers, etc., and repeatedly modify the design details. In the daily use of CAD data, that is, in scenarios where daily work needs to be based on CAD data, complex tasks may require multiple technicians to work together. Therefore, how to achieve multi-person access to shared CAD data is an important link in realizing collaborative processing of personnel during the use of CAD data.

[0003] The current way to view CAD data is to download special software to open and view it. Downloading additional software also faces the risk of bundled ads or even virus implantation. Commonly used CAD data can only be opened on a local computer, which makes it difficult for multiple people to access and share at the same time, and thus cannot support multiple people to access and view online at the same time. It is also difficult to directly obtain and display data in an intuitive and simple way, which slows down the progress of daily work that requires collaborative operations based on CAD data. Summary of the invention

[0004] In order to solve the above technical problems, one or more embodiments of the present specification provide a method, device, equipment and medium for web visualization of CAD data.

[0005] One or more embodiments of this specification adopt the following technical solutions:

[0006] One or more embodiments of the present specification provide a web visualization method for CAD data, the method comprising:

[0007] Determine a corresponding CAD file based on the current work task, so as to load the corresponding CAD file into a preset geographic information system software;

[0008] Performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer;

[0009] The effective CAD data is configured with a coordinate system according to preset projection coordinate configuration information, so as to perform data conversion on the configured effective CAD data to obtain effective format CAD data;

[0010] Based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain initial display CAD data;

[0011] The initial display CAD data is format-converted based on a preset conversion tool to obtain the CAD data to be displayed, so that the CAD data to be displayed is published as a web service based on a preset plug-in library for display.

[0012] Optionally, in one or more embodiments of the present specification, determining a corresponding CAD file based on a current work task and loading the corresponding CAD file into a preset geographic information system software specifically includes:

[0013] According to the acquisition instruction corresponding to the current work task uploaded by the user, query the CAD file corresponding to the current work task;

[0014] Determining whether the CAD file can be obtained based on the role information of the user and the permission information of the CAD file;

[0015] If so, each layer file corresponding to the CAD file is selected to load each layer file into the workbench of the preset geographic information system software; wherein the preset geographic information system software is: arcMap tool.

[0016] Optionally, in one or more embodiments of the present specification, performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer specifically includes:

[0017] Based on the preset geographic information system software, obtaining a component pop-up layer of each layer file in the CAD file;

[0018] Determine a fixed component pop-up layer of each layer file in the CAD file based on the CAD version corresponding to the CAD file;

[0019] The CAD data corresponding to the fixed component pop-up layer in the CAD file is deleted to obtain valid CAD data of the valid data layer.

[0020] Optionally, in one or more embodiments of the present specification, the valid CAD data is configured with a coordinate system according to preset projection coordinate configuration information, specifically including:

[0021] Acquire data frame attributes corresponding to each layer in the valid CAD data based on the preset geographic information system software;

[0022] According to the tab corresponding to the data frame attribute, trigger the corresponding projection coordinate system;

[0023] The valid CAD data corresponding to each layer is customized to configure the coordinate system according to the corresponding projection coordinate system configuration information; wherein the projection coordinate system configuration information includes: scale range and zone range.

[0024] Optionally, in one or more embodiments of the present specification, performing data conversion on the configured valid CAD data to obtain valid format CAD data specifically includes:

[0025] Generate the preset export instruction of the valid CAD data based on the preset export parameters; wherein the preset export parameters include: element selection range and type selection range;

[0026] Based on the preset export instruction, the corresponding valid CAD data is converted to obtain valid format CAD data; wherein the data format of the valid format CAD data is a raster graphic data format.

[0027] Optionally, in one or more embodiments of the present specification, based on the current work task and the data attributes of the valid format CAD data, data cleaning is performed on the valid format CAD data to obtain initial display CAD data, specifically including:

[0028] Based on the current work task, determining a data attribute that matches the current work task;

[0029] Acquire the data structure of the valid format CAD data to determine the data attribute of each of the valid format CAD data based on the editing information of the data structure;

[0030] Determine whether the data attributes matching the current work task are consistent with the data attributes of the valid format CAD data;

[0031] If they are inconsistent, the valid format CAD data is deleted to obtain the filtered initial display CAD data.

[0032] Optionally, in one or more embodiments of the present specification, the format of the initial display CAD data is converted based on a preset conversion tool to obtain the CAD data to be displayed, so that the CAD data to be displayed is published as a web service based on a preset plug-in library for display, specifically including:

[0033] Based on the preset conversion tool in the preset geographic information system software, the initial display data is converted to obtain the CAD data to be displayed; wherein the format of the CAD data to be displayed is the geoJson format;

[0034] Obtaining a designated database corresponding to the web display in the preset plug-in library, and based on a loading function in the designated database, loading the CAD data to be displayed to the web end for rendering to obtain a web page project on the web end;

[0035] The web page project is published as a web service through the server corresponding to the web terminal, so as to obtain the CAD data to be displayed based on the web terminal for display.

[0036] One or more embodiments of the present specification provide a web visualization device for CAD data, the device comprising:

[0037] A loading unit, used for determining a corresponding CAD file based on a current work task, so as to load the corresponding CAD file into a preset geographic information system software;

[0038] A dimension reduction unit, used for performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer;

[0039] A conversion unit, configured to configure a coordinate system for the valid CAD data according to preset projection coordinate configuration information, so as to perform data conversion on the configured valid CAD data to obtain valid format CAD data;

[0040] A data cleaning unit, configured to clean the valid format CAD data based on the current work task and the data attributes of the valid format CAD data to obtain initial display CAD data;

[0041] The display unit is used to perform format conversion on the initial display CAD data based on a preset conversion tool to obtain the CAD data to be displayed, so as to publish the CAD data to be displayed as a web service based on a preset plug-in library for display.

[0042] One or more embodiments of the present specification provide a web visualization device for CAD data, the device comprising:

[0043] at least one processor; and,

[0044] a memory communicatively connected to the at least one processor; wherein,

[0045] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0046] Determine a corresponding CAD file based on the current work task, so as to load the corresponding CAD file into a preset geographic information system software;

[0047] Performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer;

[0048] The effective CAD data is configured with a coordinate system according to preset projection coordinate configuration information, so as to perform data conversion on the configured effective CAD data to obtain effective format CAD data;

[0049] Based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain initial display CAD data;

[0050] The initial display CAD data is format-converted based on a preset conversion tool to obtain the CAD data to be displayed, so that the CAD data to be displayed is published as a web service based on a preset plug-in library for display.

[0051] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to:

[0052] Determine a corresponding CAD file based on the current work task, so as to load the corresponding CAD file into a preset geographic information system software;

[0053] Performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer;

[0054] The effective CAD data is configured with a coordinate system according to preset projection coordinate configuration information, so as to perform data conversion on the configured effective CAD data to obtain effective format CAD data;

[0055] Based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain initial display CAD data;

[0056] The initial display CAD data is format-converted based on a preset conversion tool to obtain the CAD data to be displayed, so that the CAD data to be displayed is published as a web service based on a preset plug-in library for display.

[0057] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:

[0058] Based on the current work task, the corresponding CAD file is determined and loaded into the preset geographic information system software, so as to perform dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software, reducing the processing pressure of invalid data processing on memory calculation, thereby improving the processing efficiency of web visualization. By cleaning the CAD data in the valid format, the initial display CAD data is obtained, and the filtering of irrelevant attribute data is realized, reducing the pressure of subsequent rendering. By converting the format of the initial display CAD data and publishing it as a web service, it is possible to directly access and view the relevant data through the browser without installing relevant software tools, improving convenience and broadening the display form of CAD data. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0060] Figure 1 A schematic diagram of a method for web visualization of CAD data provided in an embodiment of this specification;

[0061] Figure 2 A schematic diagram of CAD data in a CAD file in an application scenario provided in an embodiment of this specification;

[0062] Figure 3 A schematic diagram of a data attribute viewing interface for CAD data in an application scenario provided by an embodiment of this specification;

[0063] Figure 4 A schematic diagram of CAD data in a valid format in an application scenario provided by an embodiment of this specification;

[0064] Figure 5 A schematic diagram of a web service display in an application scenario provided in an embodiment of this specification;

[0065] Figure 6 A schematic diagram of the internal structure of a web visualization device for CAD data provided in an embodiment of this specification;

[0066] Figure 7A schematic diagram of the structure of a web visualization device for CAD data provided in an embodiment of this specification;

[0067] Figure 8 A schematic diagram of the internal structure of a non-volatile storage medium provided in an embodiment of this specification. DETAILED DESCRIPTION

[0068] The embodiments of the present specification provide a method, apparatus, device and medium for web visualization of CAD data.

[0069] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0070] like Figure 1 As shown, one or more embodiments of this specification provide a schematic flow chart of a web visualization method for CAD data. Figure 1 It can be seen that in one or more embodiments of this specification, a CAD data web visualization method includes the following steps:

[0071] S101: Determine a corresponding CAD file based on a current work task, so as to load the corresponding CAD file into a preset geographic information system software.

[0072] In order to view CAD data through a browser without installing related software tools, the CAD file to be viewed needs to be determined in the embodiments of this specification first, so as to process the CAD data therein. Therefore, the corresponding CAD file is determined according to the current work task, and the corresponding CAD file is loaded into the preset geographic information system software, that is, the arcMap tool. Tool. Specifically, in one or more embodiments of this specification, the corresponding CAD file is determined based on the current work task, and the corresponding CAD file is loaded into the preset geographic information system software, which specifically includes the following process:

[0073] First, according to the acquisition instruction corresponding to the current work task uploaded by the user, the CAD file corresponding to the current work task is queried. Then, in order to ensure the security of the CAD data, it is necessary to determine whether the current user has the authority to obtain the CAD file based on the user's role information and the permission information of the CAD file, and then determine whether the CAD file can be obtained. If it can, then select each layer file corresponding to the CAD file, so as to load each layer file into the workbench of the preset geographic information system software. In an embodiment under a certain application scenario of the present specification, when loading a CAD file into the preset geographic information system software, first import the CAD data .dwg format file to be loaded into the arcMap tool, and then select the layer and choose to add data to it, and load the CAD data into the workbench. If there are multiple CAD files, repeat the above operation to achieve it.

[0074] S102: Performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of a valid data layer.

[0075] In order to reduce the processing pressure of invalid data transmission on memory calculation, in the embodiment of this specification, the CAD file is processed according to the preset geographic information system software. Figure 2 The CAD data shown is subjected to dimensionality reduction processing to obtain effective CAD data of the effective data layer for subsequent analysis and processing. Specifically, in one or more embodiments of the present specification, the CAD data in the CAD file is subjected to dimensionality reduction processing based on the preset geographic information system software to obtain effective CAD data of the effective data layer, which specifically includes the following process:

[0076] First, based on the preset geographic information system software, the component pop-up layer, i.e., the layer layer, of each layer file in the CAD file is obtained. Then, according to the CAD version corresponding to the CAD file, the fixed component pop-up layer of each layer file in the CAD file is determined. By deleting the CAD data corresponding to the fixed component pop-up layer in the CAD file, the valid CAD data of the valid data layer is obtained. That is, in a certain application scenario of the present specification, after the CAD data is imported into the preset geographic information system software based on the above step S101, each CAD layer is usually composed of multiple layers. Therefore, the invalid layer layer that comes with CAD is removed to obtain the valid CAD data of the valid data layer. By deleting the invalid layer layer, the amount of data processing for subsequent processing and web rendering is reduced, thereby improving the processing efficiency of web visualization.

[0077] S103: performing coordinate system configuration on the valid CAD data according to preset projection coordinate configuration information, so as to perform data conversion on the configured valid CAD data to obtain valid format CAD data.

[0078] Since the CAD data layer in the imported CAD file has no coordinate system, in order to ensure the reliability of subsequent data conversion, in one or more embodiments of this specification, the valid CAD data is configured with a coordinate system according to the preset projection coordinate configuration information, thereby realizing data conversion of the configured valid CAD data to obtain valid format CAD data. Specifically, in one or more embodiments of this specification, the valid CAD data is configured with a coordinate system according to the preset projection coordinate configuration information, which specifically includes the following process:

[0079] First, based on the preset geographic information system software, the data frame attributes corresponding to each layer in the valid CAD data are obtained. Then, according to the tab corresponding to the data frame attribute, the corresponding projection coordinate system is triggered. Then, according to the corresponding projection coordinate system configuration information, the coordinate system of the valid CAD data corresponding to each layer is customized. Among them, it should be noted that the projection coordinate system configuration information includes: scale range and zone range. In a certain application scenario in this manual, the projection coordinate system is expanded through the coordinate system tab corresponding to the data frame attribute, and then the appropriate projection coordinate is selected according to the CAD scale. Usually, for scales of 1:25000 and 1:50000, a 6-degree zone projection is selected; a 3-degree zone is used for a scale of 1:10000.

[0080] Furthermore, in one or more embodiments of the present specification, data conversion is performed on the configured valid CAD data to obtain valid format CAD data, which specifically includes the following process:

[0081] Generate a preset export instruction for valid CAD data based on preset export parameters. The preset export parameters include: feature selection range, type selection range. Then, based on the preset export instruction, perform data conversion on the corresponding valid CAD data to obtain valid format CAD data. The data format of the valid format CAD data is a raster graphic data format. In an embodiment of a certain application scenario of this specification, by selecting a single layer in the Group Layer group, and then by selecting all elements and database types, the single layer data can be exported into .shp data to obtain valid format CAD data.

[0082] S104: Based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain initial display CAD data.

[0083] After the data is successfully exported, in terms of circuit operation, there may be both high-voltage line data and low-voltage line data in the valid format CAD data. When the high-voltage line data actually needs to be rendered, it is necessary to perform relevant processing on the data attributes to achieve data cleaning. Therefore. In an embodiment of the present specification, according to the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain the initial display CAD data. Specifically, in one or more embodiments of the present specification, based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain the initial display CAD data, which specifically includes the following processes:

[0084] First, according to the user's current work task, determine the data attributes that match the current work task. The schematic diagram of the data attribute acquisition interface is as follows: Figure 3 As shown in FIG. 1 , after obtaining the data structure of the valid format CAD data, the data attributes of each valid format CAD data can be determined according to the editing information of the data structure. By determining whether the data attributes matching the current work task are consistent with the data attributes of the valid format CAD data, it is determined whether to perform data cleaning. If they are inconsistent, the valid format CAD data is deleted to obtain the following: Figure 4 The filtered initial presentation CAD data is shown.

[0085] In addition, in an embodiment of a certain application scenario of this specification, after selecting the layer to be processed, the data format of all data in the attribute table is obtained, and then the corresponding data attributes can be obtained through its editing information, and the data can be batch selected according to the attributes. After batch selection, data editing can also be performed, that is, field attribute values ​​of multiple selected data can be batch edited through the attribute box interface corresponding to the data attributes.

[0086] S105: Convert the format of the initial display CAD data based on a preset conversion tool to obtain the CAD data to be displayed, and publish the CAD data to be displayed as a web service based on a preset plug-in library for display.

[0087] In order to achieve cross-browser data display, data conversion is required in the embodiments of this specification so that the browser can directly access and view the corresponding CAD data to be displayed. Therefore, after the initial display CAD data is obtained based on the above step S104, the embodiment of this specification performs format conversion according to the preset conversion tool to obtain the CAD data to be displayed, so that the CAD data to be displayed is published as a web service for display based on the preset plug-in library. Specifically, in one or more embodiments of this specification, the initial display CAD data is format converted based on the preset conversion tool to obtain the CAD data to be displayed, so that the CAD data to be displayed is published as a web service for display based on the preset plug-in library, which specifically includes the following steps:

[0088] First, the initial display data is converted based on the preset conversion tool in the preset geographic information system software to obtain the CAD data to be displayed. It should be noted that the format of the CAD data to be displayed is geoJson format. Then obtain the specified database corresponding to the web display in the preset plug-in library, and according to the loading function in the specified database, load the CAD data to be displayed to the web end for rendering to obtain the web page project on the web end. Through the server corresponding to the web end, the web page project is published as a web service, so as to obtain the CAD data to be displayed based on the web end. Figure 5 The display shown. In a practical application scenario of this manual, with the help of Cesium plug-in library, it is a cross-platform, cross-browser JavaScript library for displaying 3D earth and maps. Specifically, the Cesium.GeoJsonDataSource.load() method loads the above geoJson data, so as to realize the rendering of CAD data on the web side. Use nginx web server to publish the entire web page project as a web service, and then you can directly access and view the relevant data through the browser.

[0089] like Figure 6 As shown, the embodiment of this specification provides a schematic diagram of the internal structure of a web visualization device for CAD data. Figure 6 It can be seen that in one or more embodiments of this specification, the device includes:

[0090] A loading unit 601 is used to determine a corresponding CAD file based on a current work task, so as to load the corresponding CAD file into a preset geographic information system software;

[0091] A dimension reduction unit 602 is used to perform dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of a valid data layer;

[0092] The conversion unit 603 is used to configure the coordinate system of the valid CAD data according to the preset projection coordinate configuration information, so as to perform data conversion on the configured valid CAD data to obtain valid format CAD data;

[0093] A data cleaning unit 604 is used to clean the valid format CAD data based on the current work task and the data attributes of the valid format CAD data to obtain initial display CAD data;

[0094] The display unit 605 is used to perform format conversion on the initial display CAD data based on a preset conversion tool to obtain the CAD data to be displayed, so as to publish the CAD data to be displayed as a web service based on a preset plug-in library for display.

[0095] like Figure 7 As shown, in one or more embodiments of the present specification, a schematic diagram of the internal structure of a web visualization device for CAD data is provided. Figure 7 It can be seen that in one or more embodiments of this specification, a web visualization device for CAD data includes:

[0096] at least one processor; and,

[0097] a memory communicatively connected to the at least one processor; wherein,

[0098] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0099] Determine a corresponding CAD file based on the current work task, so as to load the corresponding CAD file into a preset geographic information system software;

[0100] Performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer;

[0101] The effective CAD data is configured with a coordinate system according to preset projection coordinate configuration information, so as to perform data conversion on the configured effective CAD data to obtain effective format CAD data;

[0102] Based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain initial display CAD data;

[0103] The initial display CAD data is format-converted based on a preset conversion tool to obtain the CAD data to be displayed, so that the CAD data to be displayed is published as a web service based on a preset plug-in library for display.

[0104] like Figure 8 As shown, one or more embodiments of this specification provide a schematic diagram of the internal structure of a non-volatile storage medium. Figure 8 It can be seen that in one or more embodiments of this specification, a non-volatile storage medium stores computer executable instructions, and the computer executable instructions can:

[0105] Determine a corresponding CAD file based on the current work task, so as to load the corresponding CAD file into a preset geographic information system software;

[0106] Performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer;

[0107] The effective CAD data is configured with a coordinate system according to preset projection coordinate configuration information, so as to perform data conversion on the configured effective CAD data to obtain effective format CAD data;

[0108] Based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain initial display CAD data;

[0109] The initial display CAD data is format-converted based on a preset conversion tool to obtain the CAD data to be displayed, so that the CAD data to be displayed is published as a web service based on a preset plug-in library for display.

[0110] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0111] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the 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.

[0112] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.

Claims

1. A web visualization method for CAD data, characterized in that: The method comprises: Determine a corresponding CAD file based on the current work task, so as to load the corresponding CAD file into a preset geographic information system software; Performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer; The effective CAD data is configured with a coordinate system according to preset projection coordinate configuration information, so as to perform data conversion on the configured effective CAD data to obtain effective format CAD data; Based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain initial display CAD data; Performing format conversion on the initial display CAD data based on a preset conversion tool to obtain the CAD data to be displayed, so as to publish the CAD data to be displayed as a web service based on a preset plug-in library for display; The step of performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer specifically includes: Based on the preset geographic information system software, obtaining a component pop-up layer of each layer file in the CAD file; Determine a fixed component pop-up layer of each layer file in the CAD file based on the CAD version corresponding to the CAD file; Deleting the CAD data corresponding to the fixed component pop-up layer in the CAD file to obtain valid CAD data of the valid data layer; The data conversion of the configured valid CAD data to obtain the valid format CAD data specifically includes: Generate the preset export instruction of the valid CAD data based on the preset export parameters; wherein the preset export parameters include: element selection range and type selection range; Based on the preset export instruction, the corresponding valid CAD data is converted to obtain valid format CAD data; wherein the data format of the valid format CAD data is a raster graphic data format; The step of performing data cleaning on the valid format CAD data based on the current work task and the data attributes of the valid format CAD data to obtain the initial display CAD data specifically includes: Based on the current work task, determining a data attribute that matches the current work task; Acquire the data structure of the valid format CAD data to determine the data attribute of each of the valid format CAD data based on the editing information of the data structure; Determine whether the data attributes matching the current work task are consistent with the data attributes of the valid format CAD data; If they are inconsistent, the valid format CAD data is deleted to obtain the filtered initial display CAD data.

2. A web visualization method for CAD data according to claim 1, characterized in that: Determining the corresponding CAD file based on the current work task and loading the corresponding CAD file into the preset geographic information system software specifically includes: According to the acquisition instruction corresponding to the current work task uploaded by the user, query the CAD file corresponding to the current work task; Determining whether the CAD file can be obtained based on the role information of the user and the permission information of the CAD file; If so, each layer file corresponding to the CAD file is selected to load each layer file into the workbench of the preset geographic information system software; wherein the preset geographic information system software is: arcMap tool.

3. A web visualization method for CAD data according to claim 1, characterized in that: The valid CAD data is configured with a coordinate system according to preset projection coordinate configuration information, specifically including: Acquire data frame attributes corresponding to each layer in the valid CAD data based on the preset geographic information system software; According to the tab corresponding to the data frame attribute, trigger the corresponding projection coordinate system; The valid CAD data corresponding to each layer is customized to configure the coordinate system according to the corresponding projection coordinate system configuration information; wherein the projection coordinate system configuration information includes: scale range and zone range.

4. A web visualization method for CAD data according to claim 1, characterized in that: The initial display CAD data is formatted based on a preset conversion tool to obtain the CAD data to be displayed, so as to publish the CAD data to be displayed as a web service based on a preset plug-in library for display, specifically including: Based on the preset conversion tool in the preset geographic information system software, the initial display CAD data is converted to obtain the CAD data to be displayed; wherein the format of the CAD data to be displayed is the geoJson format; Obtaining a designated database corresponding to the web display in the preset plug-in library, and based on a loading function in the designated database, loading the CAD data to be displayed to the web end for rendering to obtain a web page project on the web end; The web page project is published as a web service through the server corresponding to the web terminal, so as to obtain the CAD data to be displayed based on the web terminal for display.

5. A web visualization device for CAD data, characterized in that: The device comprises: A loading unit, used for determining a corresponding CAD file based on a current work task, so as to load the corresponding CAD file into a preset geographic information system software; A dimension reduction unit, used for performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer; A conversion unit, configured to configure a coordinate system for the valid CAD data according to preset projection coordinate configuration information, so as to perform data conversion on the configured valid CAD data to obtain valid format CAD data; A data cleaning unit, configured to clean the valid format CAD data based on the current work task and the data attributes of the valid format CAD data to obtain initial display CAD data; A display unit, used for performing format conversion on the initial display CAD data based on a preset conversion tool to obtain the CAD data to be displayed, so as to publish the CAD data to be displayed as a web service based on a preset plug-in library for display; The step of performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer specifically includes: Based on the preset geographic information system software, obtaining a component pop-up layer of each layer file in the CAD file; Determine a fixed component pop-up layer of each layer file in the CAD file based on the CAD version corresponding to the CAD file; Deleting the CAD data corresponding to the fixed component pop-up layer in the CAD file to obtain valid CAD data of the valid data layer; The data conversion of the configured valid CAD data to obtain the valid format CAD data specifically includes: Generate the preset export instruction of the valid CAD data based on the preset export parameters; wherein the preset export parameters include: element selection range and type selection range; Based on the preset export instruction, the corresponding valid CAD data is converted to obtain valid format CAD data; wherein the data format of the valid format CAD data is a raster graphic data format; The step of performing data cleaning on the valid format CAD data based on the current work task and the data attributes of the valid format CAD data to obtain the initial display CAD data specifically includes: Based on the current work task, determining a data attribute that matches the current work task; Acquire the data structure of the valid format CAD data to determine the data attribute of each of the valid format CAD data based on the editing information of the data structure; Determine whether the data attributes matching the current work task are consistent with the data attributes of the valid format CAD data; If they are inconsistent, the valid format CAD data is deleted to obtain the filtered initial display CAD data.

6. A web visualization device for CAD data, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Determine a corresponding CAD file based on the current work task, so as to load the corresponding CAD file into a preset geographic information system software; Performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer; The effective CAD data is configured with a coordinate system according to preset projection coordinate configuration information, so as to perform data conversion on the configured effective CAD data to obtain effective format CAD data; Based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain initial display CAD data; Performing format conversion on the initial display CAD data based on a preset conversion tool to obtain the CAD data to be displayed, so as to publish the CAD data to be displayed as a web service based on a preset plug-in library for display; The step of performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer specifically includes: Based on the preset geographic information system software, obtaining a component pop-up layer of each layer file in the CAD file; Determine a fixed component pop-up layer of each layer file in the CAD file based on the CAD version corresponding to the CAD file; Deleting the CAD data corresponding to the fixed component pop-up layer in the CAD file to obtain valid CAD data of the valid data layer; The data conversion of the configured valid CAD data to obtain the valid format CAD data specifically includes: Generate the preset export instruction of the valid CAD data based on the preset export parameters; wherein the preset export parameters include: element selection range and type selection range; Based on the preset export instruction, the corresponding valid CAD data is converted to obtain valid format CAD data; wherein the data format of the valid format CAD data is a raster graphic data format; The step of performing data cleaning on the valid format CAD data based on the current work task and the data attributes of the valid format CAD data to obtain the initial display CAD data specifically includes: Based on the current work task, determining a data attribute that matches the current work task; Acquire the data structure of the valid format CAD data to determine the data attribute of each of the valid format CAD data based on the editing information of the data structure; Determine whether the data attributes matching the current work task are consistent with the data attributes of the valid format CAD data; If they are inconsistent, the valid format CAD data is deleted to obtain the filtered initial display CAD data.

7. A non-volatile storage medium storing computer executable instructions, characterized in that: The computer executable instructions are capable of: Determine a corresponding CAD file based on the current work task, so as to load the corresponding CAD file into a preset geographic information system software; Performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer; The effective CAD data is configured with a coordinate system according to preset projection coordinate configuration information, so as to perform data conversion on the configured effective CAD data to obtain effective format CAD data; Based on the current work task and the data attributes of the valid format CAD data, the valid format CAD data is cleaned to obtain initial display CAD data; Performing format conversion on the initial display CAD data based on a preset conversion tool to obtain the CAD data to be displayed, so as to publish the CAD data to be displayed as a web service based on a preset plug-in library for display; The step of performing dimension reduction processing on the CAD data in the CAD file based on the preset geographic information system software to obtain valid CAD data of the valid data layer specifically includes: Based on the preset geographic information system software, obtaining a component pop-up layer of each layer file in the CAD file; Determine a fixed component pop-up layer of each layer file in the CAD file based on the CAD version corresponding to the CAD file; Deleting the CAD data corresponding to the fixed component pop-up layer in the CAD file to obtain valid CAD data of the valid data layer; The data conversion of the configured valid CAD data to obtain the valid format CAD data specifically includes: Generate the preset export instruction of the valid CAD data based on the preset export parameters; wherein the preset export parameters include: element selection range and type selection range; Based on the preset export instruction, the corresponding valid CAD data is converted to obtain valid format CAD data; wherein the data format of the valid format CAD data is a raster graphic data format; The step of performing data cleaning on the valid format CAD data based on the current work task and the data attributes of the valid format CAD data to obtain the initial display CAD data specifically includes: Based on the current work task, determining a data attribute that matches the current work task; Acquire the data structure of the valid format CAD data to determine the data attribute of each of the valid format CAD data based on the editing information of the data structure; Determine whether the data attributes matching the current work task are consistent with the data attributes of the valid format CAD data; If they are inconsistent, the valid format CAD data is deleted to obtain the filtered initial display CAD data.