A platform management system, terminal and model rendering server
By using lightweight WebGL processing and building a SaaS system, the problems of complex 3D model data processing and poor cross-platform compatibility in the factory digital twin platform were solved. This enabled the rapid construction of factory models and the automatic output of production bills of materials, improving the efficiency of construction planning and design and the speed of model loading.
Patent Information
- Application Number
- CN202411470264.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-25
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-10-25
AI Technical Summary
In the process of building a factory digital twin platform, existing technologies have problems such as complex processing of 3D model data, poor cross-platform compatibility, lack of original design data leading to the inability to directly generate production bills of materials, high terminal processing pressure, and network bandwidth affecting model loading speed.
By using WebGL to lightweight process 3D models, a SaaS system is built to integrate models with business data, providing 2D/3D linkage and automatic output of production lists. The system also optimizes model rendering based on terminal resolution and network bandwidth, reducing data processing pressure and improving loading speed.
It enables the rapid and easy construction of factory models and the automatic output of production bills of materials, improving the efficiency of construction planning and design, reducing the amount of data processing, and ensuring the clear display and production application of the model on different terminals.
Smart Images

Figure CN119625159B_ABST
Abstract
Description
[0001] The original basis for this divisional application is patent application number (202311392938.8), filed on October 25, 2023, entitled "A Model-Based Lightweight Factory Planning SaaS System Construction Method". Technical Field
[0002] This invention relates to the field of lightweight 3D model data and cloud data management technology, and in particular to a platform management system, a terminal, and a model rendering server. Background Technology
[0003] Currently, in the construction of digital twin platforms for factories (such as power plants), most of the 3D modeling of the factory is done by engineers familiar with professional CAD software. This requires users to be familiar with the factory's business processes, technological specifications, and the structural and attribute characteristics of various equipment; it also requires users to master proficient CAD drawing skills and standards, which increases the difficulty of building a factory digital twin system. Most factory model construction is based on the initial design institute planning drawings, and the current mainstream approach is to use 2D drawings as a foundation, including architectural master plans, equipment layout drawings, process flow diagrams, etc., and gradually build the 3D models of factory buildings, floors, equipment, and pipelines on the local software using planning or BIM-type CAD engine software. Subsequently, the model is output to the cloud through lightweight modeling methods and displayed in the form of WebGL on the browser for easy access by different cloud accounts. The 3D model built on the local CAD software needs to be exported and checked one by one using the software's built-in bill of materials output function. For example, architectural drawings are exported as a building BOM by Revit, equipment is exported as a mechanical and electronic BOM by Inventor, and pipe components are exported as a pipe BOM by PDMS. Finally, the BOM is sent to the corresponding manufacturers for component processing, construction consumables preparation and other production processes.
[0004] Currently, most factory 3D modeling is done through a forward modeling process using CAD software. The factory building model is created using BIM modeling based on the 2D site plan and elevation drawings from the architectural planning stage. This includes defining elements with different family attributes such as building elevations, civil engineering walls, doors, windows, structural beams, columns, steel structures, MEP (Mechanical Engineering Processes), and terrain leveling, thus enabling building construction. Large equipment and piping in the factory are modeled using 3D CAD based on the equipment installation drawings and factory process flow diagrams from the design planning stage. This includes the construction of equipment and piping in the turbine hall and boiler areas. For example, in the turbine hall area, high and low pressure condensers, various water pumps, steam pumps, oil pumps, vacuum pumps, heaters, deaerators, closed water tanks, bypass oil stations, generator sealing oil stations, generator sets, turbines, and various instrument and piping libraries are classified and constructed hierarchically. In the boiler area, coal mills, coal feeders, forced draft fans, induced draft fans, circulating pumps, and various instrument and piping libraries are classified and constructed hierarchically. The construction of such factories requires the use of various modeling software, and the WebGL transformation of the models enables SaaS deployment to achieve a digital twin display of the factory on the browser side.
[0005] On the one hand, due to the different fields involved in factory construction, including architecture, mechanical equipment, and piping and instrumentation, the geometric engines used in CAD are also different. Even if the model data has been lightweighted to reduce the space occupied by the 3D model on the server, the review stage after the factory construction is completed still requires compatibility with multiple different types of 3D files on the same platform, which will bring a large data analysis load to the browser. On the other hand, since most factory digital twin platforms are presented and applied to users in the form of SaaS, they are mostly concentrated on the browser (B / S architecture) for unified display and operation and maintenance. Most models are loaded into the browser's graphics card in WebGL format for online display, but they lack the original design data (model, specifications, etc.) of the model equipment, and cannot be directly converted into a production bill of materials, thus lacking the application of digital twin factories in the manufacturing process.
[0006] Furthermore, on the one hand, there are differences in understanding among those skilled in the art; on the other hand, the applicant studied a large number of documents and patents when making this invention, but due to space limitations, not all details and contents were listed in detail. However, this does not mean that the present invention does not possess the features of these prior art. On the contrary, the present invention already possesses all the features of the prior art, and the applicant reserves the right to add relevant prior art to the background art. Summary of the Invention
[0007] To address the shortcomings of existing technologies, this invention provides a SaaS system based on a lightweight factory model. This system defines the relationships between lightweight associated equipment attributes within the factory model, while also providing a SaaS architecture model building page and automatically outputting a production bill of materials to connect with subsequent production and manufacturing processes.
[0008] To achieve the above objectives, this invention provides a method for building a model-based lightweight factory planning SaaS system, which may include:
[0009] Building a lightweight WebGL display model database:
[0010] Build the 3D model required for factory planning.
[0011] Lightweighting and WebGL-enhanced processing of 3D model data.
[0012] The WebGL-enhanced 3D model is integrated with business data to form a model database for users to plan and build factories;
[0013] Build a factory planning SaaS system based on the WebGL lightweight display model database:
[0014] Based on the WebGL lightweight display model database, various standard databases are categorized for users to plan and build factories.
[0015] Develop a factory planning tool that allows users to build factory models at the model output.
[0016] Build a display platform and production list export tool suitable for users to build their own factory models.
[0017] On the construction planning function page, this invention enables the linking and jumping between the factory's two-dimensional general plan, equipment layout diagram and three-dimensional model diagram. It also allows for collaborative annotation, modification and review of three-dimensional models or two-dimensional engineering views through the tool modules in the system page, thereby avoiding design rework and construction delays caused by design defects before construction.
[0018] On the collaborative design function page, the SaaS architecture platform provided by this invention enables designers and design studios in different regions to log in to the platform, collaboratively design and modify the same factory model, and control different design versions of the same model. Factory planning technicians without design software experience can also use a simple drag-and-drop method to visually drag and drop from the model library list to build the factory. Associating equipment nodes and pipeline nodes can be automatically connected, quickly building and displaying the new factory and modification area on the web (browser) terminal.
[0019] After planning the corresponding factory model, users can automatically export the BOM production list of all factory equipment, piping and instruments with one click using the production list export tool; or users can click to select the equipment, piping and instruments BOM list that needs to be exported from the web (browser) terminal and send it to the connected production MES system or third-party ERP system to complete the workshop production or third-party outsourcing production process.
[0020] The main approach to lightweighting existing 3D models is to adjust the model size and data structure to improve loading and display speed. For example, CN106909640A discloses a WebGL-based lightweight 3D model display technology. This technology first acquires the model's geometry and materials, generating a scene tree from the model tree, and an animation tree if necessary. Next, it acquires discrete triangles and line segments, reducing triangle indices to improve compression efficiency. Then, it compresses triangle normal data and reduces line segment indices, and divides the geometric objects into blocks. These blocks are compressed using LZMA to generate several BIN files. The geometry and material properties, scene tree, and animation tree data are JSON-ified to generate JS files. Finally, the files are read and decompressed, triangles and line segments are restored, the scene and animation are built, and the rendering is performed. This technology can convert various 3D models into smaller intermediate files, enabling rapid loading on web platforms and direct display in the browser based on WebGL. In other words, this technical solution unifies the preprocessing of 3D models in different formats to parse and convert them into the smallest possible intermediate format files. This allows the 3D models to be loaded quickly and reduces the space occupied by the 3D models on the server. Specifically, this technical solution uses intermediate format files as a conversion carrier to achieve the conversion between different 3D models. This technical solution mainly involves the parsing and conversion between different 3D models, and their corresponding geometric objects can be processed in blocks using the same preprocessing method.
[0021] However, this technical solution does not address the technical issue of how to convert between two-dimensional and three-dimensional views. Correspondingly, compared to the prior art, this application can achieve the association and jump between the factory's two-dimensional site plan, equipment layout plan, and three-dimensional model drawing through matching and association during the construction planning process, thereby improving the efficiency of construction planning and design. It eliminates the need for further model parsing and conversion, significantly reducing the amount of data processing. Specifically, this application can perform lightweight processing on two-dimensional engineering drawings (PDF, DXF, or SVG) to obtain unique identification codes for objects in relevant layers, and write these unique identification codes into an XML file to match and associate unique identification codes (or tag numbers) in all scene node models. The unique identification code serves as a bridge between models of different dimensions, enabling the selection of equipment in the three-dimensional model list and 3D screen, and jumping to the corresponding equipment display in the two-dimensional engineering drawing. This allows for the management of two-dimensional and three-dimensional linkage effects. This method eliminates the need for additional intermediate format files as in the prior art, further reducing the complexity of model processing and improving the processing efficiency of construction planning and design.
[0022] After completing the lightweighting of the model, the digital management process needs to be modularized and software-based. Existing technologies already exist that allow users to access cloud-based applications via internet connections. For example, CN113448693A discloses a digital factory SaaS cloud platform. This platform receives microservice components selected by users from a microservice component pool through a unified authentication portal. The selected microservice components are then registered via a service registry, generating one or more service instances. When a re-registration instruction is received, the microservice component corresponding to the service instance in the re-registration instruction is registered. If the monitored service instance's status is abnormal, a re-registration instruction containing that service instance is generated and sent to the service registry. Finally, the service instance is packaged and published via container services. This platform primarily provides a unified digital thread foundation, enabling various industrial microservices and industrial SaaS business function components to be used independently. These components can then be combined like building blocks to construct more complex and comprehensive industry digital solutions, such as C2M factory digitalization, remote equipment maintenance, and inspection, maximizing flexibility and scalability, thereby achieving modularization and software-based model algorithms.
[0023] However, modular component retrieval requires significant data processing space and computational resources, especially in the context of multiple microservice components in the aforementioned existing technologies. Due to varying display resolutions on different user terminals, modular component retrieval increases the data processing pressure on low-resolution user terminals, potentially causing lag during the planning and design process. Therefore, this technical solution does not address the issue of accelerating the loading speed of 3D model objects on the user interface. In contrast, compared to the aforementioned existing technologies, the model rendering server of this application can determine the minimum size of the components to be rendered based on the minimum visual resolution of the user terminal making the viewing request. This allows for the execution of specific rendering requirements based on different user terminals, thereby improving the processing efficiency of construction planning and design. Specifically, given the varying data processing capabilities of different user terminals, when displaying a desired 3D model object to the user's interface, the model rendering server performs the rendering task of the target 3D model object in a manner that meets the user's most basic viewing needs. This reduces the data processing pressure on the user terminal in generating the 3D model object and speeds up the loading of the 3D model object on the user's interface. Especially when the user's purpose is only to view local details of the 3D model, it is unnecessary to render the global details of the 3D model object at the highest precision or resolution. For example, unnecessary parts such as nuts in a device can be omitted or have their resolution reduced.
[0024] Conventional digital factory SaaS cloud platforms typically assume all management terminals have the same processing power. If the goal is simply to digitize existing factory digital models, uniformly setting the processing power of the management terminals can meet the requirements. However, conventional methods lack the original design data (model, specifications, etc.) of the model equipment, making it impossible to directly convert it into a production bill of materials. Since the user terminals processing the original design data often handle simple two-dimensional drawings or business data, they typically lack the robust processing capabilities for complete three-dimensional models. Consequently, digital twin factories cannot be directly applied to user terminals used in the manufacturing process. Therefore, the combination of the aforementioned existing technologies and conventional methods cannot solve the technical problems addressed in this application.
[0025] Furthermore, different network bandwidths will directly affect the model loading speed of different user terminals, especially during the switch from 2D drawings to 3D models, where there will be significant changes in data transmission volume. The model rendering server of this application can determine the field of view and / or depth of field related to the target model object selected on the terminal based on the network bandwidth of the user terminal making the viewing request, and render components related to the determined field of view and / or depth of field according to the display possibilities selected by the user through their terminal. Specifically, based on the network bandwidth request result of the user terminal, the model rendering server determines the field of view and / or depth of field of the target 3D model object to be displayed on the user interface to ensure both model loading speed and the clarity of the displayed 3D model object. For example, if the user terminal has low network bandwidth, the amount of data that can be loaded per unit time is small, and the model rendering server can render the target 3D model object using a first depth of field and / or a first field of view; if the user terminal has high network bandwidth, the model rendering server can render the target 3D model object using a second depth of field and / or a second field of view. The second depth of field and / or the second field of view is greater than the first depth of field and / or the first field of view. In other words, when the network bandwidth of the user terminal is low, only the target 3D model object selected by the user is displayed at high resolution, while the resolution of other objects and backgrounds is reduced.
[0026] Preferably, building a factory planning SaaS system based on the WebGL lightweight display model database also includes:
[0027] Develop a cloud-based solution review tool to allow users to annotate, review, and / or confirm the model output by combining 2D and 3D views.
[0028] Preferably, lightweighting and WebGL-encoding of 3D model data may include:
[0029] A graphics compression engine is used to compress the 3D model required for factory planning to achieve lightweight model data;
[0030] Based on the lightweight 3D model file, cloud rendering configuration and resource registration are completed to form a rendered model that can be displayed on the output end.
[0031] Preferably, a factory planning tool that allows users to build factory models at the model output end may include:
[0032] Provides architectural platform drawing tools for users to perform model drawing tasks;
[0033] and / or provide floor layout tools for users to perform floor model layout tasks;
[0034] And / or provide a pipe generator for users to perform automatic pipe splicing of equipment.
[0035] Preferably, compressing the 3D model required for factory planning using a graphics compression engine to achieve lightweight model data may include:
[0036] The UV mapping and 3D model in the 3D model required for factory planning are broken down and managed separately.
[0037] The graphics compression engine performs voxel decomposition on the 3D model, separating the 3D mesh geometry existing in 3D coordinates according to a defined spatial geometry, and performs data structure optimizations such as texture image compression, vertex count compression algorithms, and index buffer optimization. In this invention, the 3D model, after being lightweighted, is uniformly output in wlkx format and uploaded to the cloud, and displayed on the browser in WebGL format, significantly reducing the computational burden on the CPU and GPU.
[0038] Preferably, the cloud rendering configuration may include:
[0039] Create a model cloud rendering function to render the contents of the lightweight 3D model file within a container element of a DOM element or a CSS selector string to mount the cloud-rendered model.
[0040] Preferably, resource registration may include:
[0041] Control and manage the basic modules in the lightweight 3D model;
[0042] and / or control and manage the object scene in the lightweight 3D model scene;
[0043] and / or control and manage NPC roaming content;
[0044] And / or control and manage basic voxels and 3D elements.
[0045] Preferably, the lightweighting process for 3D models can include absolute lightweighting and relative lightweighting, wherein,
[0046] Absolute lightweighting achieves the optimized mesh state by reducing the number of vertices, edges, and faces in the mesh and unifying the direction of the normal vectors.
[0047] The relatively lightweight approach involves transferring and loading models based on the needs of the scene, and performing distributed loading from the observer's perspective in the 3D scene.
[0048] Preferably, integrating the WebGL-enhanced 3D model with business data to form a model database for user-planned factory construction may include:
[0049] Integrate production and construction data files into a 3D model to create a lightweight model that can synchronously display production and construction data;
[0050] The unique identifiers of the two-dimensional objects in the relevant layers obtained by the lightweight processing of the two-dimensional view are written into the production construction data file to match the unique identifiers in all associated scene node models.
[0051] Preferably, the digital twin-based factory planning SaaS system of the present invention further includes:
[0052] The user submits a viewing request to the model rendering server through their terminal, and the model rendering server responds to the viewing request by providing the user terminal with a first digital twin view of a first amount of data.
[0053] In response to receiving the first digital twin view, the user selects an object in the two-dimensional view through their terminal to submit an access request to the model rendering server for a second digital twin view with a second data volume.
[0054] In response to receiving an access request, the model rendering server requests the network bandwidth, resolution, access permissions, and / or access purpose from the terminal that made the viewing request.
[0055] The model rendering server determines the size of the second data volume based on the terminal's network bandwidth, resolution, access permissions, and / or access purpose, and provides the terminal with at least two display possibilities, wherein the first display possibility is determined in relation to display speed and performance optimization, and the second display possibility is determined in relation to display details and editing access optimization. Attached Figure Description
[0056] Figure 1 This is a hardware server association diagram of a SaaS system built on a power plant model in a preferred embodiment of the present invention.
[0057] Figure 2 This is a schematic diagram of the construction process of a SaaS system based on a power plant model, according to a preferred embodiment of the present invention.
[0058] Figure 3This is a business process diagram of a SaaS system built on a power plant model in a preferred embodiment of the present invention.
[0059] Figure 4 This is a software architecture diagram of a SaaS system based on a power plant model, according to a preferred embodiment of the present invention. Detailed Implementation
[0060] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby providing a clearer and more definite definition of the scope of protection of the present invention. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments described herein.
[0061] This invention proposes a SaaS platform system based on lightweight compression and conversion of 3D models used in the planning phase of new factories (such as power plants), drag-and-drop planning and construction of WebGL factory equipment models, and automatic output of production and manufacturing material lists. This system can interface with the ERP or MES systems of different manufacturers, automatically exporting equipment and facility material lists from planning drawings, and can distribute information in real time to the order receiving systems or production execution systems of various equipment suppliers. It is a management SaaS platform system that can complete the entire process of factory management from the planning and design phase to the integrated design and manufacturing phase.
[0062] Figure 1 This diagram illustrates a hardware server network diagram of a lightweight SaaS system based on a power plant model, according to a preferred embodiment of the present invention. Specifically, the SaaS system or SaaS architecture platform described in this invention may include a database service module, a file service module, a database access core service module, and a business operation service module that are communicatively coupled to each other. Specifically, the database service module includes a database server containing all database information of the lightweight SaaS platform, such as database management information, enterprise information, designer information, model information, project information, BOM information, and dynamic database information. The file service module serves as the file server for building the model system, used to store, for example, 3D model files and related image files. The database access core service module performs various business and management operations on the database and file server. The business operation service module provides power plant model design services, including model conversion, 2D / 3D linkage, and BOM output, primarily serving power plant planning and construction.
[0063] Furthermore, another aspect of the present invention provides a method for building a model-based lightweight power plant planning SaaS system. This method includes building a database server and a file server; building a database access core server; and building a business operation server. More specifically, this SaaS system building method is a method combining WebGL technology with a power plant building, equipment, and pipeline model library. This method may include the following steps:
[0064] Classification of power plant building, equipment and pipeline model levels.
[0065] Based on model design attributes (such as Archi, Eqp, or Pipe), determine the lightweight compressed partitions to enter different levels of libraries and perform WebGL model conversion.
[0066] Based on the two-dimensional layout diagram, drag the models that have entered the model level library to the web page, and stack the models in a block-like manner, drag and drop to build.
[0067] Based on the model classification of power plant area and purpose, and the familiarization method of associated equipment, pipeline and instrumentation production information, the classification logic of different bills of materials (e.g., electronics, machinery, building or construction) is automatically exported.
[0068] The SaaS platform integrates with MES (Manufacturing Execution System) and ERP (Enterprise Resource Planning) systems to automate the delivery and push of bills of materials.
[0069] Preferably, when building a 3D model of a power plant (such as a building or equipment model) on a web page, key feature points of the model, such as dragging pipe interfaces and power plant pump pipe interfaces, can be automatically snapped together, automatically completing the assembly and combination of different equipment and facilities.
[0070] Figure 2 This diagram illustrates a preferred embodiment of the SaaS system built based on a lightweight power plant model, according to the present invention. Specifically, the method for building a lightweight power plant planning SaaS system based on a model mainly includes building a 3D power plant model, performing lightweight WebGL display, and constructing the power plant planning SaaS platform system. See also... Figure 2 The method for building a model-based lightweight power plant planning SaaS system provided by this invention may include the following steps:
[0071] S100: Building a lightweight WebGL display model database.
[0072] Specifically, the process of building a lightweight WebGL display model database includes local construction of a 3D model of a power plant for power plant planning, lightweighting of model data, WebGL-enhanced processing of model data, and database integration. The main tasks of building the lightweight WebGL display model database are to lightweight, cloud-based, and WebGL-enhanced the model construction content entrusted by the user, and to integrate the final WebGL model with business data to build a model database that users can use for planning and constructing power plants.
[0073] S200: Building a SaaS platform system for power plant planning.
[0074] Specifically, the main tasks of building the power plant planning SaaS platform system are to classify the various sub-databases based on the WebGL lightweight display model database as the source of materials for users to plan power plants, to build a variety of power plant planning tools that allow users to build power plant models on the web in a drag-and-drop manner, and to build a display platform and production list export tool suitable for the models built by users, so that users can efficiently and easily plan the preliminary preparation and construction preparation of power plants in this power plant planning SaaS platform system.
[0075] According to a preferred embodiment, the steps for building a WebGL lightweight display model database may specifically include:
[0076] S101: Build a 3D model of the power plant for power plant planning.
[0077] Specifically, the power plant planning SaaS platform provided by this invention is compatible with third-party design tool software formats. Combining user-provided two-dimensional engineering drawings (DXF / PDF / SVG), equipment and piping models (RVM / VUE / DWG), and / or building models (RVT), a local three-dimensional model of the power plant plan is pre-built based on the original design tools (such as CAD).
[0078] S102: Lightweight processing of 3D model data.
[0079] Specifically, a 2D / 3D compression engine is used to compress the relevant 3D models of the power plant planning to achieve lightweight 3D model data. Specifically, the UV maps and 3D models in the relevant 3D models of the power plant planning are broken down and managed. The broken model faces are divided into multiple small triangles, and the proportions and shapes of each model face in the texture map are matched and fitted using an algorithm to ensure that each model face corresponds to a 2D UV map, guaranteeing accurate resolution of the texture attachment to the model face. Furthermore, the 2D / 3D compression engine performs voxel decomposition on the relevant 3D models of the power plant planning, separating the 3D mesh geometry existing in the XYZ coordinates according to a set spatial geometry (such as cubes, spheres, cylinders, cones, or tori), and performs compression of texture images, vertex count compression algorithms, and optimization of the index buffer data structure.
[0080] Specifically, the 2D / 3D compression engine can utilize the applicant's independently developed ezWalker 2D / 3D compression engine. The ezWalker 2D / 3D compression engine is compatible with various mainstream 3D model source file formats (e.g., .CATproduct, .ASM, .SLDASM, .PRT, .STEP, .IAM, .REVIT, etc.), thereby unifying the relevant 3D model format data of the power plant planning into a new model format, wlkx, for output. Through this data lightweighting process, the storage space occupied by the model data is reduced, achieving a compression ratio between 1:10 and 1:50 compared to the original model; simultaneously, unifying the 3D model source file format output to wlkx further reduces the data processing volume on the web (browser) side.
[0081] S103: WebGL-based processing of 3D model data.
[0082] Specifically, the uploaded wlkx format 3D model file is processed using a 2D / 3D compression engine to complete cloud rendering configuration and resource registration, forming a WebGL rendered model that can be displayed on the web (browser). The cloud rendering configuration process is as follows: a model cloud rendering function (creatCloud) is created, the cloud rendering model is mounted, and the uploaded wlkx format 3D model content is rendered within a DOM element or a container element of a CSS selector string to mount the cloud rendering model, thus completing the cloud rendering configuration.
[0083] According to a preferred embodiment, the process of displaying a WebGL rendering model on the Web (browser) can include: building a standard interface based on standard HTML, CSS, and JavaScript, covering real-time rendering capabilities, which can quickly, efficiently, and timely render 3D model scenes based on cloud rendering configurations. Preferably, the 3D model scene loading process can be divided into absolute lightweight processing and relative lightweight processing. Absolute lightweight processing involves modifying the model's LOD algorithm to reduce mesh vertices, edges, and faces and unify normal vector directions to obtain an optimized mesh state. Relative lightweight processing, on the other hand, involves transferring and loading the model based on the scene's needs, implementing distributed progressive loading based on the observer's location and distance in the 3D scene, switching between different LOD model levels, and maintaining rendering efficiency.
[0084] According to a preferred embodiment, the resource registration process may include:
[0085] a. Control and manage the basic modules in the lightweight 3D model, including:
[0086] ① Call the lightweight model loading manager to complete the calls for the model address, model download method and / or model initialization position and pose.
[0087] ② Call the model measurement manager to control and manage the measurements of two points, height, net distance, angle, area and / or continuous measurements on the model.
[0088] ③ Call the Environment Manager to control and manage sunlight intensity, outline color, skybox, ambient light intensity, sunlight direction, shadows, coordinate axis type, and / or set the grid.
[0089] ④ Call the static collision detection manager to start and stop static collision detection on the model, obtain the static collision detection results, and set a collision detection progress callback function for management.
[0090] b. Control and manage the object scene in the lightweight 3D model, including:
[0091] ① Obtain the GUID nodes, 3D root nodes, node pickup callback functions, pickup points, and nodes in the scene for each model; obtain the node operation interface and / or the virtual tree operation interface.
[0092] ② Call the node operation manager to manage setting and getting node status, getting node attributes, getting node bounding boxes, and / or getting and setting local transformations of nodes.
[0093] ③ Call node management to manage parent nodes, ancestor nodes, child nodes and / or node names of lightweight 3D models.
[0094] ④ Call the virtual node manager to manage the creation and deletion of virtual nodes, the number of times a node is referenced, and / or to obtain virtual nodes based on their GUIDs.
[0095] c. Control and manage NPC roaming content, including:
[0096] ① Use the NPC manager to manage gravity mode, first-person view, collision detection, adding and deleting NPCs, setting and getting NPC poses, deleting a specific NPC object from a layer, and deleting a specific NPC object from a layer using the layout GUID;
[0097] ② Call the path manager to manage path objects, path management, path animation objects, path animation additions and deletions, and / or path layer objects;
[0098] ③ Call the exploded graph manager to manage the acquisition of the exploded object GUID, setting the model nodes for the explosion effect in the exploded graph, the explosion effect when the explosion reaches a certain location, the explosion animation effect within a specified range, clearing and viewing the final explosion effect scene, and / or pausing and resuming the exploded graph animation.
[0099] d. Control and management of basic voxels and 3D elements, including:
[0100] ① Call the signage manager to manage 3D element objects and / or 3D element layers.
[0101] ② Call the fence object class manager to manage the GUIDs of fence objects, fence object layers, and / or fence walls.
[0102] ③ Invoke the advanced settings manager to manage advanced retrieval and / or advanced operations of model objects.
[0103] ④ Call the section manager to manage model sectioning and / or section object operations.
[0104] S104: Database integration.
[0105] Specifically, according to the results of cloud rendering configuration and resource registration, service data is combined with the lightweighted three-dimensional model to integrate and form a WebGL lightweight model database. The service data may include various data related to factory design, construction, and production of related components. Specifically, XML files in production and construction data such as construction, production, and operation and maintenance are integrated into the wlkx model to form a lightweight model capable of synchronously displaying production and construction data; lightweight processing is performed on two-dimensional engineering drawings (PDF, DXF, or SVG) to obtain the unique identifier of the object in the relevant layer, and the unique identifier is written into the XML file to match and associate the unique identifiers (or tag numbers) in all scene node models generated in S103, so as to realize the selection of equipment in the 3D model list and 3D screen and jump to the corresponding equipment display in the two-dimensional engineering drawings, enabling management with a 2D-3D linkage effect.
[0106] According to a preferred embodiment, after the WebGL lightweight display model database is built according to the above steps, a user can use the WebGL lightweight display model database to build a power plant planning SaaS system. Specifically, building the power plant planning SaaS system may include:
[0107] S201: Classify the content of the WebGL lightweight display model database to establish a standard library.
[0108] Specifically, the standard library includes, but is not limited to, a standard equipment library (such as generator sets, high-pressure boilers, etc.), a standard part library (such as standard accessories for steam turbine areas, boiler areas, etc.), an auxiliary material library (such as tanks, pipelines, etc.), and the like.
[0109] S202: Construct a power plant planning tool that allows users to plan power plant models in a drag-and-drop manner on the Web (browser) side.
[0110] Specifically, the power plant planning SaaS system provides users with various platform building tools, including a building platform drawing tool for users to complete model drawing by selecting and adjusting civil engineering parameters. Optionally, civil engineering parameters include, but are not limited to, plant location, plant type (e.g., concrete, steel structure, and steel frame), floor area and number of floors, floor elevation, steel column type (e.g., T-shaped, H-shaped), column spacing, and number of columns. A floor layout tool is used for users to complete the model's floor layout. Specific functions of the floor layout tool include, but are not limited to, equipment positioning, pipe interface docking, single-floor snapping, and equipment interface connection. An automatic pipe generator is used to automatically complete the assembly and combination of different equipment and facilities when users drag and drop to build the power plant. Specifically, based on a guidance-related algorithm, it automatically snaps to equipment and pipes when they are close to each other during drag-and-drop power plant model building. The guidance algorithm can modify pipe connection types (e.g., round head, square head, square to round connection, hopper connection, or elbow connection), match pipe material properties, steel plate thickness, chute diameter and type, and match pipe inlet / outlet types, height dimensions, and elbow angles. The system automatically calculates floor openings and supports manual adjustment of pipe connection bend directions. The relevant algorithms can be one or more of topological relationships, distance fields, neural networks, and machine learning.
[0111] S203: Build a cloud-based solution review tool.
[0112] Specifically, based on the linkage of 2D and 3D drawings in step S104, users can select relevant components of 2D drawings and / or 3D models on the platform to synchronously obtain the content of the corresponding 3D models and / or 2D drawings on the platform, thereby allowing users to annotate, review and confirm simultaneously on the web page by combining 2D engineering drawings and 3D design models.
[0113] S204: A 3D visualization tool for building components, allowing users to export and display completed power plant models.
[0114] Specifically, after users build the power plant model, the 3D visualization tool, based on its integration with various APIs, can be displayed on mobile devices (such as mobile phones, tablets, etc.) or web (browser) platforms, and can be pushed to relevant stakeholders for browsing and display via QR codes or URLs.
[0115] The digital twin-based factory planning SaaS platform system according to an embodiment of the present invention includes a rendering server and multiple terminals communicating with the server. Further, after a user has built a power plant model, when the user browses the layout of relevant buildings, equipment, and / or pipeline models through their equipped terminal device, it can be done in the following manner:
[0116] S1) The user terminal sends a viewing request to the model rendering server. In response to the viewing request, the model rendering server provides the user terminal with a first digital twin view containing a first amount of data. Specifically, the first digital twin view is, for example, a two-dimensional planar engineering drawing. The user terminal can be a mobile phone, tablet, or personal computer. Different types of user terminals have different CPU and GPU processing capabilities, which affect the output of the lightweight 3D model on the user terminal interface, such as affecting the field of view, depth of field, and / or sharpness of various 3D objects in the 3D scene.
[0117] S2) After receiving the first digital twin view with a first data volume, the user submits an access request to the model rendering server for a second digital twin view with a second data volume by selecting an object (such as a device or pipe component) on the first digital twin view on the terminal. Specifically, the second digital twin view is, for example, a 3D model diagram. The second data volume of the second digital twin view is larger than the first data volume of the first digital twin view, especially by several orders of magnitude.
[0118] S3) Upon receiving an access request for the second digital twin view, the model rendering server requests the network bandwidth, resolution, access permissions, and / or access purpose from the user terminal that made the viewing request.
[0119] Specifically, in this invention, the access requests made by the user terminal to the model rendering server include, but are not limited to, requests to view, edit, or delete one or more objects in the second digital twin view.
[0120] S4) The model rendering server determines the size of the second data volume based on the network bandwidth, resolution, access permissions, and / or access purpose of the user terminal making the viewing request and provides the user terminal making the viewing request with at least two display possibilities, wherein the first display possibility is determined in relation to display speed and performance optimization, and the second display possibility is determined in relation to display details and editing access optimization.
[0121] According to a preferred embodiment of the present invention, the size of the second data volume of the second digital twin view can be determined as follows:
[0122] The model rendering server determines the minimum size of the components to be rendered based on the minimum visually recognizable size of the user's terminal that made the viewing request. Specifically, considering the varying data processing capabilities of different user terminals, when displaying a 3D model object that the user expects to view on the user's terminal interface, the model rendering server performs the rendering task of the target 3D model object in a manner that meets the user's most basic viewing needs. This reduces the data processing pressure on the user's terminal in generating the 3D model object and speeds up the loading speed of the 3D model object on the user's interface. Especially when the user's purpose is only to view local details of the 3D model, it is unnecessary to render the global details of the 3D model object at the highest precision or resolution. For example, unnecessary components such as nuts in a device can be omitted or have their resolution reduced.
[0123] According to a preferred embodiment, the model rendering server can determine the field of view and / or depth of field related to "selecting an object in the first digital twin view on the terminal" based on the network bandwidth of the user terminal making the viewing request, and render components related to the determined field of view and / or depth of field according to the display possibilities selected by the user through their terminal. Specifically, based on the network bandwidth request result of the user terminal, the model rendering server determines the field of view and / or depth of field of the target 3D model object to be displayed to the user interface to ensure both model loading speed and the clarity of the displayed 3D model object. For example, if the network bandwidth of the user terminal is low, the amount of data that can be loaded per unit time is small, and the model rendering server can render the target 3D model object using a first depth of field and / or a first field of view; if the network bandwidth of the user terminal is high, the model rendering server can render the target 3D model object using a second depth of field and / or a second field of view. The second depth of field and / or the second field of view is greater than the first depth of field and / or the first field of view. That is, when the network bandwidth of the user terminal is low, only the target 3D model object selected by the user is displayed at high resolution, while other objects and the background are displayed at reduced resolution.
[0124] S205: A tool for automatically generating a Bill of Materials (BOM) list with one click, allowing users to export the bill of materials related to the power plant planning model for production and construction preparation with a single click.
[0125] Specifically, based on the production and construction data related to the lightweight model in step S104, and combined with the familiarization methods of production information on the region, purpose, and associated equipment, pipelines, and instruments based on the power plant model, different materials are classified. Furthermore, users can automatically export the BOM production list for all power plant equipment, pipelines, and instruments with one click, or select the equipment, pipelines, and instruments BOM list to be exported from the webpage and send it to the integrated production MES or third-party ERP system to complete the workshop production or third-party outsourcing production process. The BOM list can include automatically outputting BOMs (EXCEL or PDF format, hereinafter the same) for pipelines, floor slab openings, and engineering drawings; generating BOMs for equipment, prefabricated components, floor platforms, etc.; generating BOMs for purchased components; generating BOMs for pipelines, chutes, and clamps; generating BOMs for building steel; and outputting BOMs for standard parts (such as screws and nuts), etc.
[0126] Those skilled in the art will understand that, as long as the objectives of the present invention can be achieved, other steps or operations may be included before, after, or between the steps described above, for example, to further optimize and / or improve the method described in the present invention. Furthermore, although the method described in the present invention is shown and described as a series of actions performed sequentially, it should be understood that the method is not limited by the order. For example, some actions may occur in a different order than that described herein. Alternatively, one action may occur simultaneously with another action.
[0127] Figure 3 This is a business process diagram of a lightweight SaaS system based on a power plant model, according to a preferred embodiment of the present invention. Specifically, Figure 3 The power plant design SaaS architecture platform shown primarily includes a power plant design SaaS platform interface module, a power plant planning system interface module, and a WebGL lightweight display module. Users can access the platform homepage through the power plant design SaaS platform interface module and perform business operations including but not limited to the following:
[0128] ① The 3D model of the power plant, which has already been completed in local mapping software (such as CAD), can be directly compressed and cloudified using a 2D / 3D compression engine. For example, it supports the conversion of various mainstream 3D model source files (.CATproduct, .ASM, .SLDASM, .PRT, .STEP, .IAM, .REVIT, etc.) into WebGL format web page display.
[0129] ② For facilities and pipelines that require access to 2D engineering drawings and 3D models, clicking on a 2D drawing component will jump to the 3D model component. The attribute association is completed through the 2D and 3D drawing linkage function (for example, the 2D and 3D drawing linkage is set by using an algorithm that associates and binds the A valve layer number of the DWG drawing and the unique identification code GUID of the A valve 3D model). Then, the web page is displayed through cloud compression using a 2D / 3D compression engine.
[0130] ③ For those who wish to build equipment and facilities for specialized areas of a power plant (such as turbine hall, boiler room, or water treatment area) from scratch, they can access the power plant planning system interface through the power plant design and planning tool. They can then quickly build the equipment by dragging and dropping from the already loaded library of conventional power plant area equipment, building, and pipeline models. Key equipment and pipeline nodes can be automatically connected to each other, completing the equipment planning and construction similar to the power plant production process flow.
[0131] ④ For existing power plants undergoing technical upgrades or adding new equipment, users can independently upload, compress, and import custom 3D models of equipment, pipelines, and buildings into a custom model library using WebGL lightweighting and WebGL-based processing.
[0132] ⑤ Custom equipment import into the custom model library offers multiple model writing modes. One mode involves using 2D and 3D model data provided by third-party vendors, defining custom 2D and 3D data linkage and binding, compressing the data, and importing the WebGL format model into the custom model library. Another mode involves custom-designed pipes, equipment, and buildings, which require editing through a local power plant equipment library management tool with a C / S architecture (e.g., using an equipment editing tool to modify the parameters of existing equipment models to conform to custom parameters, followed by model compression, cloudification, and library import).
[0133] ⑥ The completed cloud power plant model can be displayed on mobile devices (such as mobile phones and tablets) or computer web (browser) and can be pushed to relevant stakeholders for browsing and display via, for example, QR codes or URLs.
[0134] ⑦ Once the power plant model is planned, the associated design attribute data of the equipment, pipelines, instruments, or steel structures to be produced will automatically generate a BOM list, which can be exported and displayed according to different types (EBOM, MBOM, or PBOM), realizing one-click display and output of the BOM list as an Excel or PDF file.
[0135] ⑧ Open the API interface for the Bill of Materials (BOM) list, which can be connected to third-party Manufacturing Execution System (MES) and Enterprise Resource Planning (ERP) systems.
[0136] Figure 4This is a software architecture diagram of a lightweight SaaS system based on a power plant model, according to a preferred embodiment of the present invention. See also... Figure 4 The main functional modules of the power plant design SaaS platform architecture provided by this invention include PIMCenter Core API Server, middleware computing engine, and general service virtual machine framework. Specifically, PIMCenter Core API Server integrates various APIs and provides 3D visualization, including an online power plant planning system based on power plant planning and layout, a power plant design SaaS platform, and a WebGL lightweight display module. The final display is available on tablets, computers, and mobile phones. Later, it can be connected to a real-time equipment data system to form a smart power plant digital twin platform supporting power plant operation and maintenance safety decisions.
[0137] The middleware computing engine includes a graphics database, a general database, a graph database, and an SDK module. The graphics database can contain 2D graphics and 3D model databases, used to associate, modify collaboratively, and quickly search and retrieve 2D graphics (DWG) and 3D models of different devices and products. The 2D / 3D graphics compression engine provides indexing functionality for searching planar drawings, engineering drawings, and 3D drawings based on different keywords. The SDK module provides secondary development modules for the above computing engines, meeting the customized needs of different enterprises / individuals for power plant construction planning.
[0138] The General Service Virtual Machine Framework provides underlying memory and data management functions, including memory allocation, serialization and deserialization, and a unified data extension framework. Furthermore, the General Service Virtual Machine Framework includes functional sub-modules such as storage services, encryption / decryption services, network communication services, operation log services, and auditing services, forming the foundation of the entire power plant's SaaS cloud platform kernel architecture.
[0139] It is understood that the SaaS architecture platform shown in the embodiments of the present invention, taking power plant planning as an example, is only an illustration of a non-limiting example. In fact, the model-based lightweight SaaS planning and design platform described in the present invention can also be applied to the planning needs of factory construction, which includes various other building forms.
[0140] It should be noted that the specific embodiments described above are exemplary. Those skilled in the art can devise various solutions inspired by the disclosure of this invention, and these solutions all fall within the scope of this invention and its protection. Those skilled in the art should understand that this specification and its accompanying drawings are illustrative and not intended to limit the scope of the claims. The scope of protection of this invention is defined by the claims and their equivalents. This specification contains multiple inventive concepts; phrases such as "preferredly" or "according to a preferred embodiment" indicate that the corresponding paragraph discloses an independent concept. The applicant reserves the right to file divisional applications based on each inventive concept.
Claims
1. A model rendering server for a platform management system, characterized in that, Connect to the user's terminal, In response to a viewing request made by a user to a model rendering server via the terminal, the model rendering server provides the user's terminal with a first digital twin view of a first data volume; In response to a user's request to access a second digital twin view with a second amount of data from an object in a two-dimensional view selected by the user's terminal, the model rendering server requests the network bandwidth, resolution, access permissions, and / or access purpose from the terminal making the viewing request. The model rendering server determines the size of the second data volume based on the terminal's network bandwidth, resolution, access permissions, and / or access purpose, and provides the terminal with at least two display possibilities, wherein the first display possibility is determined in association with display speed and performance optimization, and the second display possibility is determined in association with display details and editing access optimization. The model rendering server determines the field of view and depth of field related to the target model object selected on the terminal based on the network bandwidth of the user's terminal that made the viewing request, and renders the components related to the determined field of view and depth of field according to the display possibilities selected by the user through their terminal.
2. A platform management system, characterized in that, Including the model rendering server as described in claim 1, the platform management system further includes: The file service module is used to store 3D model files and related image files; The database access core service module is used to perform various business and management operations on the database and the file service module. The business operation service module is used to provide power plant model design services; The business operation service module is equipped with a factory planning tool that allows users to build factory models at the model output end. The factory planning tools include: Provides architectural platform drawing tools for users to perform model drawing tasks; and / or provide floor layout tools for users to perform floor model layout tasks; And / or provide a pipe generator for users to perform automatic pipe splicing of equipment; The platform management system also includes a construction planning function page. The 3D model on the construction planning function page is a compressed lightweight 3D model. Each model face of the lightweight 3D model corresponds to a 2D UV map to ensure that the resolution of the map is accurately attached to the model surface. The lightweighting steps for each model face of the lightweight 3D model corresponding to a 2D UV map include: The UV mapping and 3D model in the relevant 3D model of the power plant planning are broken down and managed separately. The broken-down model surface is divided into multiple small triangles. The proportions and shapes of each model face in the small triangle and texture map are matched and fitted using an algorithm to ensure that each model face corresponds to a two-dimensional UV map.
3. The platform management system according to claim 2, characterized in that, The business operation service module is equipped with a display platform and a production list export tool suitable for the factory model built by the user. Users can use the production list export tool to automatically export the BOM production list of all factory equipment, piping and instruments with one click. Alternatively, users can click to select the equipment, piping, and instrumentation BOM list that needs to be exported from the browser and send it to the integrated production MES system or third-party ERP system to complete the workshop production or third-party outsourcing production process.
4. The platform management system according to claim 2, characterized in that, The platform management system includes a collaborative design function page. On the collaborative design feature page, designers and design studios from different regions can log in to the platform to collaboratively design and modify the same factory model, and control different design versions of the same model. Collaborate on annotation, modification, and review of 3D models or 2D engineering views through tool modules.
5. The platform management system according to claim 4, characterized in that, On the construction planning page, the factory's 2D site plan, equipment layout diagram, and 3D model diagram are linked and navigated to. Collaborate on annotation, modification, and review of 3D models or 2D engineering views using the tool modules in the system interface.
6. The platform management system according to claim 4, characterized in that, It also includes a database service module. The lightweighted 2D engineering drawings have unique identifiers for objects in the relevant layers, and these unique identifiers are matched with unique identifiers in all scene node models. The unique identification code serves as a bridge for switching between different dimensional models, enabling the selection of devices in the 3D model list and 3D screen, and jumping to the corresponding device display in the 2D engineering drawing, thus achieving a 2D / 3D linkage effect.
7. The platform management system according to claim 2, characterized in that, The lightweight 3D model is configured and registered in the cloud rendering system to form a WebGL rendering model that can be displayed on the browser. The cloud rendering configuration process is as follows: Create a cloud rendering function for the model, mount the cloud rendering model, and render the uploaded 3D model content within a container element of a DOM element or a CSS selector string to mount the cloud rendering model, thus completing the cloud rendering configuration.
Citation Information
Patent Citations
Lightweight display technology of three-dimensional model based on WebGL
CN106909640A
Method and system for searching document association
CN102999524A
Online three-dimensional rendering technology and system based on cloud platform
CN110751712A
Roadbed slope live-action three-dimensional model visual modeling method
CN112734924A
Fabricated lightweight steel structure building intelligent design and industrial construction cloud platform
CN115758551A
