Generation method and device of digital twin model, medium, equipment and product

By reducing the complexity of the surface model and using the quadrilateral grid algorithm to process it, the problem of cumbersome and low fineness of the digital twin model construction process is solved, and a digital twin model generation with high precision and high reduction is achieved.

CN118982634APending Publication Date: 2024-11-19SHENHUA GUONENG ENERGY GRP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411073468.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

The construction process of existing digital twin models is cumbersome, time-consuming and labor-intensive, and the precision and reduction degree are not high.

Method used

By obtaining the original model data, converting it into a surface model, reducing the complexity of the surface model and using the quadrilateral mesh generation algorithm to improve the surface quality of the model, thereby generating a high-precision digital twin model.

Benefits of technology

The model construction process is simplified, the precision and reduction of the digital twin model is improved, the complexity of model adjustment and modification is reduced, and the overall quality is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118982634A_ABST
    Figure CN118982634A_ABST
Patent Text Reader

Abstract

The invention relates to a digital twin model generation method and device, a medium, equipment and a product. The method comprises the following steps: acquiring original model data; converting the original model data into a surface model, wherein the surface model is composed of triangular surface patches; the complexity of the surface model is reduced, an initial surface model is obtained, and under the condition that the complexity is smaller than a preset threshold value, a quadrilateral mesh generation algorithm is used for processing the initial surface model, and a first target surface model is obtained; and generating a digital twin model according to the first target surface model. According to the invention, the fineness and the reduction degree of the digital twin model can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of digital twin technology, and in particular, to a method, apparatus, medium, equipment and product for generating a digital twin model. Background Art

[0002] With the continuous development of science and technology, digital twin technology has gradually become an important application field in various industries. Digital twin technology can achieve real-time monitoring, prediction and optimization of physical entities by building a digital mirror of the physical entity.

[0003] However, the construction process of the digital twin model in the related technology is cumbersome, time-consuming and labor-intensive, and the precision and restoration degree of the digital twin model are not high. Summary of the invention

[0004] The purpose of the present disclosure is to provide a method, device, medium, equipment and product for generating a digital twin model, which can improve the precision and restoration of the digital twin model.

[0005] In order to achieve the above objectives, in a first aspect, the present disclosure provides a method for generating a digital twin model, comprising: Get the original model data; Converting the original model data into a surface model, wherein the surface model is composed of triangular patches; reducing the complexity of the surface model to obtain an initial surface model, and when the complexity is less than a preset threshold, processing the initial surface model using a quadrilateral mesh generation algorithm to obtain a first target surface model; Generate a digital twin model based on the first target surface model.

[0006] Optionally, reducing the complexity of the face model to obtain an initial face model includes: One or more operations of simplifying faces, removing holes, correcting topological structure, removing duplicate faces, and unifying normals of all faces are performed on the face model to reduce the complexity of the face model and obtain the initial face model.

[0007] Optionally, generating a digital twin model according to the first target surface model includes: The coordinate system of the first target surface model is set as the target coordinate system to obtain a second target surface model; performing noise reduction and restoration processing on the second target surface model to obtain a third target surface model; The digital twin model is generated according to the third target surface model.

[0008] Optionally, the noise reduction process includes: eliminating noise points and isolated edges, removing redundant points, removing redundant lines and removing redundant faces, and the repair process includes repairing illegal faces and reverse normal faces of the model.

[0009] Optionally, generating the digital twin model according to the third target surface model includes: Segmenting the third target surface model according to the twin entity in the original model data and the mechanical structure of the twin entity to obtain a fourth target surface model; The digital twin model is generated according to the fourth target surface model.

[0010] Optionally, generating the digital twin model according to the fourth target surface model includes: Converting the vertex coordinates of the fourth target surface model into texture coordinates, and performing one or more of the following operations during the conversion: adjusting overlapping texture coordinates, adjusting the model scale, adjusting the layout of the texture coordinates, and adjusting the gaps between islands formed by the texture coordinates, to obtain a fifth target surface model; The digital twin model is generated according to the fifth target surface model.

[0011] Optionally, generating the digital twin model according to the fifth target surface model includes: The digital twin model is obtained by drawing the model material of the fifth target surface model, adding decal elements of the fifth target surface model, and hierarchically arranging the fifth target surface model.

[0012] In a second aspect, the present disclosure provides a device for generating a digital twin model, comprising: An acquisition module, configured to acquire original model data; A conversion module, configured to convert the original model data into a surface model, wherein the surface model is composed of triangular facets; a reducing module configured to reduce the complexity of the surface model to obtain an initial surface model, and when the complexity is less than a preset threshold, process the initial surface model using a quadrilateral mesh generation algorithm to obtain a first target surface model; A generation module is configured to generate a digital twin model based on the first target surface model.

[0013] Optionally, the reducing module is further configured to: One or more operations of simplifying faces, removing holes, correcting topological structure, removing duplicate faces, and unifying normals of all faces are performed on the face model to reduce the complexity of the face model and obtain the initial face model.

[0014] Optionally, the generating module is further configured to: The coordinate system of the first target surface model is set as the target coordinate system to obtain a second target surface model; performing noise reduction and restoration processing on the second target surface model to obtain a third target surface model; The digital twin model is generated according to the third target surface model.

[0015] In a third aspect, the present disclosure provides a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect.

[0016] In a fourth aspect, the present disclosure provides an electronic device, including: a memory having a computer program stored thereon; A processor is used to execute the computer program in the memory to implement the steps of any one of the methods in the first aspect.

[0017] In a fifth aspect, the present disclosure provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.

[0018] Through the above technical scheme, by first reducing the complexity of the surface model, and when the complexity is less than the preset threshold, the surface model is processed using the quadrilateral mesh algorithm. Reducing the complexity can make the model easier to adjust and modify. When the complexity is less than the preset threshold, the basic shape of the model has been characterized. At this time, the quadrilateral mesh generation algorithm is used for processing, which can improve the surface quality of the overall model, thereby improving the quality, precision and restoration of the final digital twin model.

[0019] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings: Figure 1 It is a flowchart of a method for generating a digital twin model according to an exemplary embodiment.

[0021] Figure 2 It is a block diagram of a device for generating a digital twin model according to an exemplary embodiment.

[0022] Figure 3 It is a block diagram of an electronic device according to an exemplary embodiment.

[0023] Figure 4 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0024] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0025] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0026] Figure 1 It is a flowchart of a method for generating a digital twin model according to an exemplary embodiment, and the method includes the following steps 110-140.

[0027] Step 110, obtaining original model data.

[0028] In some embodiments, the original model data may be CAD data, which includes a three-dimensional model of a physical object. The CAD data may be generated according to any software, and it may be in any format, for example, the software may include CATIA, NX, Alias, and SolidWorks, and the format may include STL format, STEP format, IGES format, etc.

[0029] In a possible embodiment, obtaining the original model data may include: calling a CAD file to obtain the original model data. In some embodiments, before calling a CAD file to obtain the original model data, it is also possible to check whether the CAD file is complete, and if the CAD file is complete, call the CAD file to obtain the original model data.

[0030] Since CAD data can accurately capture the shape, size and structure of physical objects, it eliminates manual errors that may occur in the traditional model making process, making the digital twin model generated based on CAD data more accurate.

[0031] Step 120, converting the original model data into a surface model, where the surface model is composed of triangular patches.

[0032] When the original model data is CAD data, the physical objects in the CAD data are usually represented by curves and surfaces. By converting the CAD data into a surface model, the digital twin model can be obtained by directly processing the surface model.

[0033] Step 130, reducing the complexity of the surface model to obtain an initial surface model, and when the complexity is less than a preset threshold, processing the initial surface model using a quadrilateral mesh generation algorithm to obtain a first target surface model.

[0034] In a possible implementation, reducing the complexity of the surface model to obtain an initial surface model may include: performing one or more operations of simplifying the surface model, removing holes, correcting the topological structure, removing duplicate surfaces, and unifying the normals of all surfaces to reduce the complexity of the surface model and obtain the initial surface model.

[0035] In some embodiments, a mesh simplification algorithm can be used to perform a face simplification operation on a surface model. The face simplification operation may include: merging adjacent vertices and facets of the surface model. The face simplification operation performed by the mesh simplification algorithm can reduce the number of facets while maintaining the overall shape and features of the model, and reduce the complexity of the surface model, making the model more efficient in subsequent calculations and rendering processes. In addition, the mesh simplification algorithm can also repair the model, eliminate unnecessary details, and make the model more regular.

[0036] In some embodiments, the initial surface model is processed using a quadrilateral mesh generation algorithm to obtain a first target surface model, including: converting the facets of the initial surface model into a quadrilateral mesh. By processing the initial surface model using a quadrilateral mesh generation algorithm and converting the mesh data of the model into a quadrilateral mesh, it is beneficial to improve the surface quality of the model, making the model easier to render and calculate, and the quadrilateral mesh can improve the stability of the model and reduce errors in the deformation and digital twin model generation process.

[0037] The disclosed embodiment first reduces the complexity of the surface model, and when the complexity is less than a preset threshold, uses a quadrilateral mesh algorithm to process the surface model. Reducing the complexity can make the model easier to adjust and modify. When the complexity is less than the preset threshold, the basic shape of the model is represented. At this time, the quadrilateral mesh generation algorithm is used for processing, which can improve the surface quality of the overall model, thereby improving the quality, precision and restoration of the final digital twin model.

[0038] In a possible implementation, the first target surface model may be converted into FBX or OBJ format. Since the original model data may exist in different data formats, for example, the aforementioned CAD data includes STL format, STEP format, and IGES format, etc., therefore, the first target surface model is converted into a unified FBX or OBJ format to facilitate subsequent processing of the model.

[0039] By executing the aforementioned steps 110-130, the original model data can be quickly converted into a surface model with high precision and accurate restoration, which can accurately reflect the structure, characteristics, position and size of the physical twin, laying the foundation for subsequent twin modeling. This fast and automated conversion process greatly improves the efficiency and accuracy of digital twin modeling.

[0040] Step 140: Generate a digital twin model based on the first target surface model.

[0041] In some embodiments, generating a digital twin model based on a first target surface model may include: changing the coordinate system of the first target surface model to a target coordinate system to obtain a second target surface model; performing denoising and repair processing on the second target surface model to obtain a third target surface model; and generating a digital twin model based on the third target surface model.

[0042] In a possible implementation, the coordinate system of the first target surface model is used as the target coordinate system to obtain the second target surface model, which can include: regressing the model space position of the first target surface model to the grid origin, with the front facing the positive direction of the Z axis and the top facing the positive direction of the Y axis, to obtain the second target surface model.

[0043] The embodiment of the present disclosure unifies the coordinate system of the first target surface model as the target coordinate system, so as to unify the coordinate systems of surface models obtained from original model data from different sources, thereby ensuring the accuracy and consistency of the surface model data.

[0044] In a possible implementation manner, the noise reduction process includes: eliminating noise points and isolated edges, removing redundant points, removing redundant lines, and removing redundant faces, and the repair process includes repairing illegal faces and reverse normal faces of the model.

[0045] The noise point may be a coordinate point in the second target surface model that is not connected to any edge or surface. In some embodiments, the second target surface model may be subjected to denoising by a denoising algorithm, and the second target surface model may be subjected to repairing by a repairing algorithm, and different denoising algorithms and repairing algorithms may be used for different types of second target surface models.

[0046] In some embodiments, the second target surface model is subjected to denoising and repair processing to obtain a third target surface model, which may also include: denoising and repairing the second target surface model, clearing useless historical records and deformation records of the previous model of the second target surface model, determining the movement value and rotation value of the second target surface model to be 0, and determining the scaling value of the second target surface model to be 1.

[0047] Since a large number of unnecessary nodes, empty objects and invalid data will be generated in the process of converting the surface model, these data will take up storage space and affect the accuracy of the model and the subsequent generation of digital twin models. Therefore, the present invention obtains a third target surface model by denoising and repairing the second target surface model; and generates a digital twin model based on the third target surface model, which can clean up the surface model, help optimize the model structure, improve the efficiency of subsequent data processing, and improve the accuracy of the subsequently generated digital twin model.

[0048] In some embodiments, generating a digital twin model based on the third target surface model includes: segmenting the third target surface model according to the twin entity and the mechanical structure of the twin entity in the original model data to obtain a fourth target surface model; generating a digital twin model based on the fourth target surface model.

[0049] The fourth target surface model includes multiple modules or multiple components. The fourth target surface model is obtained by segmenting the third target surface model, which can realize the segmentation of large models and split them into multiple modules or components. This helps to facilitate operation and processing in the subsequent modeling process of the digital twin model, improve work efficiency, and enable each module to be processed and optimized separately.

[0050] In addition, model segmentation can simplify the operation process of making fine twin models in the future. Fine twin models require high-precision and high-complexity modeling, and model segmentation reduces the sophistication and complexity of each small module, making it easier to optimize and process them one by one. The segmented modules can be processed in parallel, shortening the overall working time.

[0051] In some embodiments, generating the digital twin model according to the fourth target surface model includes: Converting the vertex coordinates of the fourth target surface model into texture coordinates, and performing one or more of the following operations during the conversion: adjusting overlapping texture coordinates, adjusting the model scale, adjusting the layout of the texture coordinates, and adjusting the gaps between islands formed by the texture coordinates, to obtain a fifth target surface model; Generate a digital twin model based on the fifth target surface model.

[0052] Converting the vertex coordinates of the fourth target surface model into texture coordinates enables the texture to be correctly displayed on the model surface.

[0053] In a possible implementation, adjusting the model scale includes adjusting the model scale of the fifth target surface model according to the model scale of the fourth target surface model. Adjusting the layout of the texture coordinates includes: adjusting the overly dense and overly sparse texture coordinate regions. Adjusting the gaps between islands formed by the texture coordinates may include: adjusting the gaps to a preset threshold, and the preset threshold may be specifically set according to actual needs, for example, the preset threshold may be 0.4 cm.

[0054] The disclosed embodiment can avoid repeated drawing of textures and affect the visual effect of the model by adjusting overlapping texture coordinates; can maintain the proportion of the original model by adjusting the model scale and avoid excessive stretching or compression to avoid texture distortion; can maximize the use of space within a limited texture space by adjusting the layout of texture coordinates and avoid overly dense or overly sparse areas that affect the display of texture details; and can ensure that the texture color can overflow smoothly during subsequent mapping and avoid edge effects by adjusting the gaps between islands formed by texture coordinates.

[0055] The disclosed embodiment obtains a fifth target surface model by converting the vertex coordinates of the fourth target surface model into texture coordinates, and performing one or more of the following operations during the conversion process: adjusting overlapping texture coordinates, adjusting the model scale, adjusting the layout of texture coordinates, and adjusting the gaps between islands formed by texture coordinates. This ensures that the model presents a clear and natural texture effect during the mapping process.

[0056] In some embodiments, generating a digital twin model based on the fifth target surface model includes: drawing the model material of the fifth target surface model, adding decal elements of the fifth target surface model, and hierarchically arranging the fifth target surface model to obtain the digital twin model.

[0057] In a possible implementation, drawing the model material of the fifth target surface model may include: drawing corresponding model materials for each component in the fifth target surface model according to each component in the structure of the digital twin. For example, taking the digital twin as a model in the industrial field as an example, the material may include metal materials such as steel, aluminum, alloy, and paint materials.

[0058] The disclosed embodiment helps to improve the production efficiency of the digital twin model and save storage space by drawing corresponding model materials for each component in the fifth target surface model.

[0059] In another possible implementation, drawing the model material of the fifth target surface model may include: drawing the model material of the fifth target surface model using a preset material library, wherein the preset material library includes materials of different parts preset according to functions and scenes of the twin, and commonly used materials. Different materials are preset in the preset material library to facilitate rapid adjustment and application of materials.

[0060] In another possible implementation, drawing the model material of the fifth target surface model may include: using a material matching algorithm to filter out a material that matches the fifth target surface model from a preset material library, and drawing the model material of the fifth target surface model. Matching suitable materials through an algorithm can shorten the time for drawing materials.

[0061] In some embodiments, decal elements may include: one or more of: logo decals, decorative decals, realistic decals, and functional decals. Among them, logo decals are used to reflect various logos; decorative decals include preset patterns and preset patterns; realistic decals are used to simulate the wear and tear and materials of the twin in reality, for example, sand, mud, oil and other effects are attached to the surface of the twin to make it more lifelike; functional decals are used to reflect the functions of the twin. For example, taking the twin as a smart device, the functional decals may include buttons and prompt labels.

[0062] By adding the decal element of the fifth target surface model, the disclosed embodiment can quickly attach different logos, patterns and other elements to the twin, thereby meeting different scenarios and needs. It also increases the authenticity of the twin, making it look more realistic and more in line with the user's needs for digital twins.

[0063] In some embodiments, hierarchical organization may include analyzing the model structure, dividing component modules, standardizing naming, setting hierarchical relationships, modifying component pivot points, and checking the model structure.

[0064] Analyzing the model structure may include analyzing the components in the model, their functions, their relationships, and their physical locations. Analyzing the model structure helps to give appropriate names and levels to the components later.

[0065] Dividing the component modules may include: dividing the model into different physical component modules according to the model structure, wherein the divided modules have clear boundaries and functions. Dividing the component modules makes management and control easier.

[0066] Standardized naming includes: matching a corresponding name for each physical component, which can reflect the physical properties, functions and location of the component. Standardized naming can facilitate the subsequent identification of each physical component.

[0067] Setting the hierarchical relationship may include: setting the hierarchical relationship for each component according to the model structure and component function. Setting the hierarchical relationship helps to organize and manage the model more intuitively.

[0068] Modifying the component pivot point can include: modifying the component pivot point based on the actual position and function of the physical component. Modifying the component pivot point helps ensure the stability and accuracy of the model.

[0069] Checking the model structure may include: checking the correctness of the model structure, ensuring that the hierarchical relationship and naming of each component are in line with expectations, and making corresponding adjustments if they are not in line with expectations to improve the usability and simulation effect of the model.

[0070] Figure 2 is a block diagram of a device for generating a digital twin model according to an exemplary embodiment. Figure 2 As shown, the digital twin model generation device 200 includes: An acquisition module 210 is configured to acquire original model data; A conversion module 220, configured to convert the original model data into a surface model, wherein the surface model is composed of triangular patches; A reducing module 230 is configured to reduce the complexity of the surface model to obtain an initial surface model, and when the complexity is less than a preset threshold, process the initial surface model using a quadrilateral mesh generation algorithm to obtain a first target surface model; The generation module 240 is configured to generate a digital twin model according to the first target surface model.

[0071] Optionally, the reducing module 230 is further configured to: One or more operations of simplifying faces, removing holes, correcting topological structure, removing duplicate faces, and unifying normals of all faces are performed on the face model to reduce the complexity of the face model and obtain the initial face model.

[0072] Optionally, the generating module 240 is further configured to: The coordinate system of the first target surface model is set as the target coordinate system to obtain a second target surface model; performing noise reduction and restoration processing on the second target surface model to obtain a third target surface model; The digital twin model is generated according to the third target surface model.

[0073] Optionally, the noise reduction process includes: eliminating noise points and isolated edges, removing redundant points, removing redundant lines and removing redundant faces, and the repair process includes repairing illegal faces and reverse normal faces of the model.

[0074] Optionally, the generating module 240 is further configured to: Segmenting the third target surface model according to the twin entity in the original model data and the mechanical structure of the twin entity to obtain a fourth target surface model; The digital twin model is generated according to the fourth target surface model.

[0075] Optionally, the generating module 240 is further configured to: Converting the vertex coordinates of the fourth target surface model into texture coordinates, and performing one or more of the following operations during the conversion: adjusting overlapping texture coordinates, adjusting the model scale, adjusting the layout of the texture coordinates, and adjusting the gaps between islands formed by the texture coordinates, to obtain a fifth target surface model; The digital twin model is generated according to the fifth target surface model.

[0076] Optionally, the generating module 240 is further configured to: The digital twin model is obtained by drawing the model material of the fifth target surface model, adding decal elements of the fifth target surface model, and hierarchically arranging the fifth target surface model.

[0077] The device of the embodiment of the present disclosure first reduces the complexity of the surface model, and when the complexity is less than a preset threshold, uses a quadrilateral mesh algorithm to process the surface model. Reducing the complexity can make the model easier to adjust and modify. When the complexity is less than the preset threshold, the basic shape of the model has been characterized. At this time, the quadrilateral mesh generation algorithm is used for processing, which can improve the surface quality of the overall model, thereby improving the quality, precision and restoration of the final digital twin model.

[0078] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0079] Figure 3 FIG. 1 is a block diagram of an electronic device 300 according to an exemplary embodiment. Figure 3 As shown, the electronic device 300 may include: a processor 301 , a memory 302 . The electronic device 300 may also include one or more of a multimedia component 303 , an input / output (I / O) interface 304 , and a communication component 305 .

[0080] The processor 301 is used to control the overall operation of the electronic device 300 to complete all or part of the steps in the above-mentioned method for generating a digital twin model. The memory 302 is used to store various types of data to support the operation of the electronic device 300, which may include, for example, instructions for any application or method for operating on the electronic device 300, and application-related data, such as contact data, messages sent and received, pictures, audio, video, etc. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 303 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 302 or sent through the communication component 305. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 304 provides an interface between the processor 301 and other interface modules, and the other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 305 is used for wired or wireless communication between the electronic device 300 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 305 may include: Wi-Fi module, Bluetooth module, NFC module, etc.

[0081] In an exemplary embodiment, the electronic device 300 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned method for generating a digital twin model.

[0082] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by the processor, the steps of the above-mentioned method for generating a digital twin model are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 302 including program instructions, and the above-mentioned program instructions can be executed by the processor 301 of the electronic device 300 to complete the above-mentioned method for generating a digital twin model.

[0083] Figure 4 4 is a block diagram of an electronic device 400 according to an exemplary embodiment. For example, the electronic device 400 may be provided as a server. Figure 4 The electronic device 400 includes a processor 422, which may be one or more, and a memory 432 for storing a computer program executable by the processor 422. The computer program stored in the memory 432 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 422 may be configured to execute the computer program to perform the above-mentioned method for generating a digital twin model.

[0084] In addition, the electronic device 400 may further include a power supply component 426 and a communication component 450, wherein the power supply component 426 may be configured to perform power management of the electronic device 400, and the communication component 450 may be configured to implement communication of the electronic device 400, for example, wired or wireless communication. In addition, the electronic device 400 may further include an input / output (I / O) interface 458. The electronic device 400 may operate based on an operating system stored in the memory 432.

[0085] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by the processor, the steps of the above-mentioned method for generating a digital twin model are implemented. For example, the non-transitory computer-readable storage medium can be the above-mentioned memory 432 including program instructions, and the above-mentioned program instructions can be executed by the processor 422 of the electronic device 400 to complete the above-mentioned method for generating a digital twin model.

[0086] In another exemplary embodiment, a computer program product is also provided, which includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-mentioned method for generating a digital twin model when executed by the programmable device.

[0087] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0088] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0089] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A method for generating a digital twin model, characterized in that: include: Get the original model data; Converting the original model data into a surface model, wherein the surface model is composed of triangular facets; reducing the complexity of the surface model to obtain an initial surface model, and when the complexity is less than a preset threshold, processing the initial surface model using a quadrilateral mesh generation algorithm to obtain a first target surface model; Generate a digital twin model based on the first target surface model.

2. The method according to claim 1, characterized in that The reducing the complexity of the surface model to obtain an initial surface model includes: One or more operations of simplifying faces, removing holes, correcting topological structure, removing duplicate faces, and unifying normals of all faces are performed on the face model to reduce the complexity of the face model and obtain the initial face model.

3. The method according to claim 1, characterized in that The step of generating a digital twin model according to the first target surface model includes: The coordinate system of the first target surface model is set as the target coordinate system to obtain a second target surface model; Performing noise reduction and restoration processing on the second target surface model to obtain a third target surface model; The digital twin model is generated according to the third target surface model.

4. The method according to claim 3, characterized in that The noise reduction process includes: eliminating noise points and isolated edges, removing redundant points, removing redundant lines and removing redundant faces, and the repair process includes repairing illegal faces and reverse normal faces of the model.

5. The method according to claim 3 or 4, characterized in that: The step of generating the digital twin model according to the third target surface model comprises: Segmenting the third target surface model according to the twin entity in the original model data and the mechanical structure of the twin entity to obtain a fourth target surface model; The digital twin model is generated according to the fourth target surface model.

6. The method according to claim 5, characterized in that The step of generating the digital twin model according to the fourth target surface model includes: Converting the vertex coordinates of the fourth target surface model into texture coordinates, and performing one or more of the following operations during the conversion: adjusting overlapping texture coordinates, adjusting the model scale, adjusting the layout of the texture coordinates, and adjusting the gaps between islands formed by the texture coordinates, to obtain a fifth target surface model; The digital twin model is generated according to the fifth target surface model.

7. The method according to claim 6, characterized in that The step of generating the digital twin model according to the fifth target surface model comprises: The digital twin model is obtained by drawing the model material of the fifth target surface model, adding decal elements of the fifth target surface model, and hierarchically arranging the fifth target surface model.

8. A device for generating a digital twin model, characterized in that: include: An acquisition module, configured to acquire original model data; A conversion module, configured to convert the original model data into a surface model, wherein the surface model is composed of triangular facets; a reducing module configured to reduce the complexity of the surface model to obtain an initial surface model, and when the complexity is less than a preset threshold, process the initial surface model using a quadrilateral mesh generation algorithm to obtain a first target surface model; A generation module is configured to generate a digital twin model based on the first target surface model.

9. The device according to claim 8, characterized in that The reducing module is further configured to: One or more operations of simplifying faces, removing holes, correcting topological structure, removing duplicate faces, and unifying normals of all faces are performed on the face model to reduce the complexity of the face model and obtain the initial face model.

10. The device according to claim 8, characterized in that The generating module is further configured to: The coordinate system of the first target surface model is set as the target coordinate system to obtain a second target surface model; Performing noise reduction and restoration processing on the second target surface model to obtain a third target surface model; The digital twin model is generated according to the third target surface model.

11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

12. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 7.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.