CAD design platform deployment method and CAD service system

Through automated scripts and bat batch generation deployment packages, combined with ansible tools, the deployment of CAD design platform is solved, the complexity of CAD software deployment is improved, and the deployment efficiency and flexibility are improved to meet user needs.

CN119167463APending Publication Date: 2024-12-20NEW DIMENSION SYST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411209512.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The deployment process of CAD software within the enterprise is complicated, resulting in inefficiency.

Method used

Generate deployment packages through automated scripts, copy them to the target server and execute bat batch processing, use CAD to deploy boot configuration system information and access types, simplify the deployment process, and combine ansible automation tools for automated deployment, generating configuration files to improve deployment efficiency and flexibility sex.

Benefits of technology

It simplifies the deployment process of the CAD design platform, improves deployment efficiency, and realizes adaptive deployment by configuring administrator account information and setting access types to adapt to user needs and improves deployment flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119167463A_ABST
    Figure CN119167463A_ABST
Patent Text Reader

Abstract

The invention discloses a CAD design platform deployment method and a CAD service system, and relates to the technical field of software deployment, and the CAD design platform deployment method comprises the following steps: enabling a plurality of to-be-installed CAD deployment modules to generate a deployment package through an automatic script; copying the deployment package to a target server, executing bat batch processing, and starting CAD deployment guidance to obtain a CAD design platform; the CAD deployment guide is used for configuring Windows system information, Linux system information and a CAD access type; the CAD design platform is used for providing computer aided design service; the Windows system is used for carrying out lightweight rendering on the lightweight file, and the Linux system is used for displaying a lightweight rendering result. The deployment process can be simplified, and the deployment efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of software deployment, and in particular to a CAD design platform deployment method and a CAD business system. Background Art

[0002] CAD software is the most popular CAD software package in the field of Computer Aided Design (CAD). This software is powerful, easy to use, and reasonably priced. It is widely used in many industries such as machinery, construction, home furnishing, and textiles, and has a large user base. However, the deployment of CAD software, especially the deployment of CAD software within an enterprise, has the problem of a complex installation process. Summary of the invention

[0003] The purpose of this application is to provide a CAD design platform deployment method and a CAD business system, which can simplify the deployment process and improve deployment efficiency.

[0004] To achieve the above objectives, this application provides the following solutions:

[0005] In a first aspect, the present application provides a CAD design platform deployment method, comprising:

[0006] Generate a deployment package for multiple CAD deployment modules to be installed through an automated script;

[0007] The deployment package is copied to the target server, and the CAD deployment guide is started after the bat batch processing to obtain the CAD design platform; the CAD deployment guide is used to configure Windows system information, Linux system information and CAD access type; the CAD design platform is used to provide computer-aided design services;

[0008] The Windows system is used to perform lightweight rendering on lightweight files, and the Linux system is used to display lightweight rendering results.

[0009] Optionally, the Windows system information includes a Windows system IP address and Windows administrator account information; and the Linux system information includes a Linux system IP address and Linux administrator account information.

[0010] Optionally, the CAD deployment module includes a basic environment, a Web application, and a 3D lightweight tool;

[0011] The basic environment includes a tool software package and middleware, the tool software package includes compression software and a browser, and the middleware services include database, file transfer protocol and remote dictionary services;

[0012] The 3D lightweight tool includes task scheduling service, scheduling conversion service and CAD stand-alone version; the scheduling conversion service includes 3D model lightweight conversion, 2D drawing lightweight conversion service, 3D model disassembly service, screenshot service, PDF file conversion service, Office conversion service and CAD model conversion service.

[0013] Optionally, the CAD deployment module further includes business services, which include enterprise management, client management, application management, authorization management, task management, scheduling management and front-end WebUI;

[0014] The enterprise management is used to manage the access rights of various departments to the CAD business system;

[0015] The client management is used to maintain personal account information and provide computer-aided design services;

[0016] The application management is used to add or delete various application services;

[0017] The authorization management is used to manage the use rights of each department and each user to each application service;

[0018] The task management is used to record the lightweight files uploaded by the user and the preview addresses of the lightweight rendering results corresponding to the lightweight files;

[0019] The scheduling management is used to obtain the lightweight rendering result corresponding to the lightweight file through the task scheduling request of the Windows system;

[0020] The front-end WebUI is used to provide a user operation interface.

[0021] Optionally, copy the deployment package to the target server, execute the bat batch process and start the CAD deployment guide to obtain the CAD design platform, which includes:

[0022] Copy the deployment package to the target server, execute the bat batch process, start the CAD deployment guide, and generate the configuration file;

[0023] Use the ansible automation tool to perform automated deployment according to the configuration file.

[0024] Optionally, the CAD access type includes IP address access and domain name access.

[0025] Optionally, the target server is a cloud server.

[0026] In a second aspect, the present application provides a CAD business system, which is deployed according to the CAD design platform deployment method.

[0027] Optionally, the CAD business system includes an enterprise management module, a client management module, an application management module and an authorization management module;

[0028] The enterprise management module is used to manage the access rights of various departments to the CAD business system;

[0029] The client management module is used to maintain personal account information and provide computer-aided design services;

[0030] The application management module is used to add or delete various application services;

[0031] The authorization management module is used to manage the use rights of each department and each user to each application service.

[0032] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0033] The present application provides a CAD design platform deployment method and a CAD business system, which generates a deployment package through an automated script; copies the deployment package to a target server, executes bat batch processing and then starts the CAD deployment guide, and uses the CAD deployment guide to deploy the CAD design platform, thereby simplifying the deployment process and improving deployment efficiency. In addition, during the CAD design platform deployment guide process, users can configure administrator account information, set access types and convert services for adaptive deployment, thereby improving the flexibility of deployment and being able to adapt to user needs. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0035] Figure 1 A flowchart of a CAD design platform deployment method provided in one embodiment of the present application;

[0036] Figure 2 A schematic diagram of an administrator configuration and deployment package selection interface in a CAD deployment guide provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of an interface showing the deployment package upload progress provided in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of another interface for displaying the deployment package upload progress provided in an embodiment of the present application;

[0039] Figure 5 A schematic diagram of an interface for decompressing a deployment package after uploading is completed provided in an embodiment of the present application;

[0040] Figure 6 A schematic diagram of an access type configuration interface in a CAD deployment guide provided in an embodiment of the present application;

[0041] Figure 7 A schematic diagram of the activation interface in the CAD deployment guide provided in an embodiment of the present application;

[0042] Figure 8 A schematic diagram of an activation configuration interface in a CAD deployment guide provided in an embodiment of the present application;

[0043] Fig. 9 A schematic diagram of the CAD business system architecture provided in accordance with an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0045] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0046] This application provides a CAD design platform deployment method, such as Figure 1 As shown, the CAD design platform deployment method includes:

[0047] Step 101: Generate a deployment package for multiple CAD deployment modules to be installed through an automated script.

[0048] Step 102: copy the deployment package to the target server, execute bat batch processing and start the CAD deployment guide to obtain a CAD design platform; the CAD deployment guide is used to configure Windows system information, Linux system information and CAD access type; the CAD design platform is used to provide computer-aided design services.

[0049] The Windows system is used to perform lightweight rendering on lightweight files, and the Linux system is used to display lightweight rendering results.

[0050] This application generates a deployment package through an automated script, specifically using a pipeline script to generate a corresponding deployment package according to the corresponding service version pipeline job; the deployment package is copied to the target server, and the CAD deployment guide is started after bat batch processing. The CAD deployment guide is used for CAD deployment, which simplifies the deployment process and improves deployment efficiency. In addition, during the CAD deployment guide process, users can configure administrator account information, set access types, and convert services for adaptive deployment, which improves the flexibility of deployment and can adapt to user needs.

[0051] Bat batch processing is used as the entry point for calling CAD deployment boot tool and management toolkit, and executes the corresponding bat batch processing file to call CAD deployment boot tool or management toolkit.

[0052] The Windows system information includes the Windows system IP address and Windows administrator account information; the Linux system information includes the Linux system IP address and Linux administrator account information.

[0053] like Figure 2 As shown, the CAD deployment guide configures the administrator account information while guiding the configuration of the IP address of the Windows system and the IP address of the Linux system. The IP address of the Windows system and the IP address of the Linux system are configured to establish a communication link between the Windows system and the Linux system. After the configuration information is entered, click the Select button to select the deployment package (tiangongcloud-linux.tar.gz) from the local computer. Figure 3 and Figure 4 The interface displays the different upload progress of the deployment package. The deployment package is installed offline based on Windows and Linux systems, using TCP / IP protocol network communication, and Windows and Linux systems communicate with each other. Deployment includes automatic decompression after uploading. The decompression page is as follows Figure 5 shown.

[0054] like Figure 6 As shown, CAD access types include IP address access and domain name access, and domain name access includes hypertext transfer protocol (http) and hypertext transfer secure protocol (https).

[0055] The Windows system is used to render lightweight files. After rendering, they are displayed through the Linux system. The Windows administrator account information is the administrator account information of the Windows system, and the Linux administrator account information is the administrator account information of the Linux system.

[0056] The CAD deployment module includes a basic environment, a Web application and a 3D lightweight tool.

[0057] The basic environment includes a tool software package, middleware and OpenOffice, the tool software package includes compression software and a browser, and the middleware service includes a database (mysql), a file transfer protocol (FileTransferProtocol, FTP) and a remote dictionary service (redis).

[0058] Compression software 7zip compression software, the tool software package also includes dotnet-hosting-3.1.6-win and javajdk openoffice tools.

[0059] The 3D lightweight tools include task scheduling services, scheduling conversion services and CAD stand-alone version; scheduling conversion services include 3D model lightweight conversion, 2D drawing lightweight conversion services, 3D model disassembly services, screenshot services, PDF file conversion services, Office conversion services and CAD model conversion services.

[0060] The task scheduling service is used to match the scheduling conversion service corresponding to the service to be converted input by the client front end.

[0061] Step 102 specifically includes: copying the deployment package to the target server, executing the bat batch process and then starting the CAD deployment guide, generating a configuration file, and using the ansible automation tool to perform automated deployment according to the configuration file.

[0062] The configuration file is specifically generated based on the Windows and Linux account passwords, the number of 3D conversion sets, the number of 2D conversion sets, the access type and other configuration information. Among them, the scheduling conversion service is deployed by default in one set on the Windows system. Among them, the 3D model lightweight conversion and 2D drawing lightweight conversion services can be deployed in multiple sets according to the user's choice. The more sets deployed, the faster the 3D conversion and 2D conversion speeds, and the faster the model equipment is rendered on the Web.

[0063] The conversion service includes 2D drawing lightweight conversion service and 3D model disassembly service.

[0064] The installation steps for the deployment package generated by the automation script include:

[0065] 1) Install the Ansible automation tool, which performs automated deployment according to the configuration file; the configuration file is a custom configuration file generated by combining the Shell script with the Python script.

[0066] 2) Installation of Windows server basic environment (required tool software package, middleware (mysql, FTP, redis), installation of OPenOffice, etc.).

[0067] 3) Generate the OPenOffice License file and bitservice device code (BitService).

[0068] 4) Install the fonts.

[0069] 5) Install the task scheduling service. The task scheduling service is the unified entrance for 3D task scheduling, and it schedules the tasks to the corresponding lightweight services according to the lightweight conversion.

[0070] The task scheduling service is the unified entrance for lightweight conversion. The 3D model lightweight conversion files, 2D drawing lightweight conversion service files, 3D model disassembly service files, screenshot service files, PDF file conversion service files, Office conversion service files, and CAD model conversion service files uploaded by customers are all centrally scheduled by the task scheduling service.

[0071] 6) Automatically generate 2D and 3D deployment (screenshot service, disassembly service, dft conversion) according to the conversion service configuration. The conversion service configuration includes 2D drawing lightweight conversion service and 3D model disassembly service.

[0072] 7) Initialize the Linux server configuration, including MySQL database initialization, RocketMQ message topic initialization, Minio object storage initialization file and Elasticsearch index initialization.

[0073] 8) Install middleware (automatically import initialization configuration).

[0074] 9) Install business services (automatically check whether the service is available).

[0075] 10) Push enterprise and application initialization.

[0076] 11) One-click activation, such as Figure 7 As shown, activation requires selecting the activation file location, such as Figure 8 shown.

[0077] The deployment package of this application contains all the data for deployment and installation, and does not require a network connection, so offline installation can be achieved. The deployment of the CAD design platform of this application is specifically the deployment of Tiangong Cloud CAD.

[0078] Among them, business services include enterprise management, client management, application management, authorization management, task management, scheduling management and front-end WebUI.

[0079] The enterprise management is used to manage the access rights of various departments to the CAD business system.

[0080] The client management is used to maintain personal account information and provide computer-aided design services. The application management is used to add or delete various application services.

[0081] The authorization management is used to manage the use rights of each department and each user to each application service.

[0082] The task management is used to record the lightweight files uploaded by the user and the preview addresses of the lightweight rendering results corresponding to the lightweight files.

[0083] The scheduling management is used to obtain the lightweight rendering result corresponding to the lightweight file through a task scheduling request of the Windows system.

[0084] The front-end WebUI is used to provide a user operation interface, such as displaying the lightweight rendering result.

[0085] For authorized application services, activation is performed using the activation code generated by the administrator.

[0086] This application can automatically identify and configure different middleware, microservices, and task scheduling services according to user needs. This method may generate a customized deployment solution by analyzing the parameters and environment information provided by the user, thereby simplifying the deployment process.

[0087] After the target server is deployed, the user accesses the client website front end (front-end WebUI) through http / https on the client to realize "end" + "cloud" collaborative design, making CAD services more efficient and flexible. The cloud refers to the target server.

[0088] Through the CAD design platform deployment method, you can get the web version of the CAD business system and the CAD cloud disk. CAD cloud disk is a new industrial cloud software product that is oriented to the product R&D and design process and meets the "end-to-end" application requirements such as 3D design, data management, and collaborative sharing. It adopts a novel "end + cloud" fusion architecture and a unified cloud product data model. All data is centrally stored in the cloud, and the design data is safe and reliable, the application scenarios are integrated, and the IT management is standardized and flexible. Help enterprises achieve efficient design and smooth communication in a "cloud collaboration" environment.

[0089] In an exemplary embodiment, the present application provides a CAD business system, which is deployed according to the CAD design platform deployment method.

[0090] like Fig. 9As shown, the CAD business system includes a Linux server and a Window server. The Linux server includes a service layer and a display layer. The service layer includes authorization services, application services, enterprise management services, client services and task conversion services. The display layer includes a client website front end, an enterprise management back end front end and application authorization management. The Window server includes a task scheduling service and a scheduling conversion service.

[0091] The enterprise management backend front end includes an enterprise management module, the client website front end includes a client management module, and the application authorization management includes an application management module and an authorization management module.

[0092] The client service and the task conversion service interact with the scheduling conversion service through the task scheduling service.

[0093] The Linux server also includes a registry, message queue, database, and mechanical binding service that interact with the service layer. The mechanical binding service is used to provide Mac addresses.

[0094] The enterprise management module is used to manage the access rights of various departments to the CAD business system.

[0095] The client management module is used to maintain personal account information and provide computer-aided design services.

[0096] The application management module is used to add or delete various application services.

[0097] The authorization management module is used to manage the use rights of each department and each user to each application service.

[0098] The CAD business system of this application involves obtaining permission information, customer information, application service information, etc. and storing it in the target server. Users log in to the CAD business system with their personal account and password to obtain personally saved CAD design information and files, so that users do not rely on a single terminal device and can achieve CAD design in different locations only through their personal account.

[0099] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0100] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A CAD design platform deployment method, characterized in that: The CAD design platform deployment method comprises: Generate a deployment package for multiple CAD deployment modules to be installed through an automated script; The deployment package is copied to the target server, and the CAD deployment guide is started after the bat batch processing to obtain the CAD design platform; the CAD deployment guide is used to configure Windows system information, Linux system information and CAD access type; the CAD design platform is used to provide computer-aided design services; The Windows system is used to perform lightweight rendering on lightweight files, and the Linux system is used to display lightweight rendering results.

2. The CAD design platform deployment method according to claim 1, characterized in that: The Windows system information includes the Windows system IP address and Windows administrator account information; the Linux system information includes the Linux system IP address and Linux administrator account information.

3. The CAD design platform deployment method according to claim 1, characterized in that: The CAD deployment module includes a basic environment, a Web application, and a 3D lightweight tool; The basic environment includes a tool software package and middleware, the tool software package includes compression software and a browser, and the middleware services include database, file transfer protocol and remote dictionary services; The 3D lightweight tool includes task scheduling service, scheduling conversion service and CAD stand-alone version; the scheduling conversion service includes 3D model lightweight conversion, 2D drawing lightweight conversion service, 3D model disassembly service, screenshot service, PDF file conversion service, Office conversion service and CAD model conversion service.

4. The CAD design platform deployment method according to claim 3, characterized in that: The CAD deployment module also includes business services, which include enterprise management, client management, application management, authorization management, task management, scheduling management and front-end WebUI; The enterprise management is used to manage the access rights of various departments to the CAD business system; The client management is used to maintain personal account information and provide computer-aided design services; The application management is used to add or delete various application services; The authorization management is used to manage the use rights of each department and each user to each application service; The task management is used to record the lightweight files uploaded by the user and the preview addresses of the lightweight rendering results corresponding to the lightweight files; The scheduling management is used to obtain the lightweight rendering result corresponding to the lightweight file through the task scheduling request of the Windows system; The front-end WebUI is used to provide a user operation interface.

5. The CAD design platform deployment method according to claim 1, characterized in that: Copy the deployment package to the target server, execute the bat batch process and start the CAD deployment guide to obtain the CAD design platform, which includes: Copy the deployment package to the target server, execute the bat batch process, start the CAD deployment guide, and generate the configuration file; Use the ansible automation tool to perform automated deployment according to the configuration file.

6. The CAD design platform deployment method according to claim 1, characterized in that: The CAD access types include IP address access and domain name access.

7. The CAD design platform deployment method according to claim 1, characterized in that: The target server is a cloud server.

8. A CAD business system, characterized in that: The CAD business system is deployed according to the CAD design platform deployment method described in any one of claims 1-6.

9. The CAD business system according to claim 8, characterized in that: The CAD business system includes an enterprise management module, a client management module, an application management module and an authorization management module; The enterprise management module is used to manage the access rights of various departments to the CAD business system; The client management module is used to maintain personal account information and provide computer-aided design services; The application management module is used to add or delete various application services; The authorization management module is used to manage the use rights of each department and each user to each application service.