Ray-tracing-based digital twin space physical field simulation analysis method and device

By constructing digital twins and using ray tracing technology, combined with real-time data-driven multiphysics coupling processing, the problems of low adaptability and efficiency in complex spatial geometry simulation were solved, achieving high-precision, real-time physical field simulation and analysis.

CN123179641APending Publication Date: 2026-11-27BEIJING EASY TIMES DIGITAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611022178.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies are poorly adaptable to physical field simulations of complex spatial geometries, have low computational efficiency, and lack multi-physics collaborative analysis capabilities and real-time data-driven dynamic correction mechanisms, resulting in insufficient simulation accuracy and inability to meet the needs of real-time dynamic analysis.

Method used

By constructing a digital twin and configuring physical property parameters, receiving real-time data for dynamic updates, configuring ray tracing parameters for ray simulation, and combining multi-physics coupling processing and visualization, high-precision and high-efficiency physical field simulation can be achieved.

Benefits of technology

It enables high-precision, multi-field collaborative simulation analysis of complex spaces, improves the real-time performance and accuracy of simulations, supports virtual-real interaction and dynamic control, and provides practical support for space optimization and equipment control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179641A_ABST
    Figure CN123179641A_ABST
Patent Text Reader

Abstract

The embodiment of the present specification provides a ray tracing based digital twin space physical field simulation analysis method and device, wherein the ray tracing based digital twin space physical field simulation analysis method realizes high-precision, high-efficiency, multi-field collaborative simulation analysis of complex space physical fields by constructing deep coupling of digital twin and ray tracing technology, dynamically updating the digital twin by using real-time data, performing high-precision physical field calculation based on ray tracing, and combining multi-physical field coupling processing. Meanwhile, through visual presentation and virtual-real interaction function, the simulation result can be intuitively displayed and dynamic regulation and control is supported, which significantly improves the real-time performance, accuracy and practicability of simulation, and provides strong support for space optimization, equipment regulation and other application scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments in this specification relate to the field of computer technology, and in particular to a digital twin spatial physics field simulation and analysis method based on ray tracing. Background Technology

[0002] In the field of physical field simulation and analysis, existing technologies typically employ numerical methods such as finite element analysis or finite-difference time-domain (FDTD) to solve physical field equations through discretized meshes. However, these methods are poorly adaptable to complex spatial geometries, are difficult to mesh, and have low computational efficiency, making it difficult to meet the needs of real-time dynamic analysis. At the same time, existing digital twin simulation technologies are mostly based on simplified algorithms, ignoring physical phenomena such as reflection, refraction, and diffraction in ray propagation, resulting in insufficient simulation accuracy. Furthermore, they lack multi-physics collaborative analysis capabilities and real-time data-driven dynamic correction mechanisms, failing to comprehensively and accurately reflect the multi-field coupling environment such as electromagnetic fields, acoustic fields, and thermal radiation fields in real space, thus limiting their application effectiveness in complex scenarios.

[0003] Therefore, a better solution is urgently needed. Summary of the Invention

[0004] In view of this, embodiments of this specification provide a method for simulating and analyzing digital twin spatial physics fields based on ray tracing. One or more embodiments of this specification also relate to a device for simulating and analyzing digital twin spatial physics fields based on ray tracing, a computing device, a computer-readable storage medium, and a computer program, to address the technical deficiencies existing in the prior art.

[0005] According to a first aspect of the embodiments of this specification, a digital twin spatial physics field simulation and analysis method based on ray tracing is provided, comprising: Construct a digital twin of the target physical space and configure physical attribute parameters for the digital twin; Receive real-time data from the physical space and dynamically update the digital twin based on the real-time data; Configure ray tracing parameters and emit rays into the updated digital twin according to the configured ray tracing parameters to calculate the single-field parameters of the digital twin; Multiphysics coupling is performed on single-field parameters to obtain coupling parameters; The distribution data of coupling parameters are overlaid onto the digital twin for visualization.

[0006] In one possible implementation, the steps of constructing a digital twin of the target physical space and configuring physical attribute parameters for the digital twin include: Point cloud data of physical space is acquired by laser scanner, and Gaussian filtering is used to denoise the point cloud data, iterative nearest point algorithm registration and Poisson reconstruction are performed to generate the geometric model of digital twin; Through the visual parameter configuration interface, physical property parameters can be assigned or customized for each component of the geometric model. These physical property parameters include electromagnetic conductivity, acoustic impedance, and thermal radiation coefficient.

[0007] In one possible implementation, the steps of receiving real-time data from the physical space and dynamically updating the digital twin based on the real-time data include: Receive pre-processed real-time data via Time-Sensitive Networking Protocol (TSP). Compare real-time data with historical data to determine whether the preset trigger conditions are met; If the triggering conditions are met, the digital twin is updated based on real-time data. The triggering conditions include the device's position offset in the physical space reaching or exceeding a preset displacement threshold, or the rate of change of the device's physical attribute parameter values ​​in the physical space reaching or exceeding a preset rate of change threshold.

[0008] In one possible implementation, the steps of configuring ray tracing parameters and emitting rays into the updated digital twin based on the configured ray tracing parameters to calculate the single-field parameters of the digital twin include: Configure the type of ray, the number of rays emitted, the range of emission angles, and the energy attenuation coefficient; An accelerated structure is constructed based on the axis-aligned bounding box hierarchical structure algorithm, and a ray-triangle intersection detection algorithm is used to emit rays into the digital twin according to the configured ray tracing parameters, simulating the reflection, refraction and diffraction process of the rays, and calculating the single field parameters; among them, the types of rays include electromagnetic field rays, sound field rays and thermal radiation field rays.

[0009] In one possible implementation, the steps of performing multiphysics coupling on single-field parameters to obtain coupled parameters include: Coupled rules can be called from a pre-defined multiphysics coupling rule library, or customized coupling equations can be defined through the user interface; The coupling parameters are calculated by solving the system of coupling equations constructed from coupling rules or coupling equations using a matrix factorization algorithm. The rules in the coupling rule base are pre-set based on the law of conservation of energy and the principles of field theory, including coupling rules between electromagnetic fields and thermal radiation fields, coupling rules between sound fields and electromagnetic fields, and coupling rules between thermal radiation fields and sound fields.

[0010] In one possible implementation, the steps of overlaying the distribution data of the coupling parameters onto the digital twin for visualization include: Volume rendering and heatmap overlay techniques are used to render the distribution data of coupling parameters onto the digital twin model; In response to user operations on the digital twin model, the system displays historical variation curves of the single-field parameters, coupling parameters, and physical field parameters of the operated point on the interactive interface.

[0011] In one possible implementation, the method also includes: In response to the user's drag-and-drop operation on the components in the digital twin model, the configuration of ray tracing parameters and the ray emission steps, the multiphysics coupling processing steps, and the visualization presentation steps are triggered to re-execute the physical field distribution of the digital twin in real time.

[0012] According to a second aspect of the embodiments of this specification, a digital twin spatial physics field simulation and analysis apparatus based on ray tracing is provided, comprising: The attribute configuration module is configured to construct a digital twin of the target physical space and configure physical attribute parameters for the digital twin; The data update module is configured to receive real-time data from the physical space and dynamically update the digital twin based on the real-time data. The parameter calculation module is configured to configure ray tracing parameters and emit rays into the updated digital twin according to the configured ray tracing parameters in order to calculate the single field parameters of the digital twin. The parameter coupling module is configured to perform multi-physics coupling processing on single-field parameters to obtain coupled parameters. The visualization module is configured to overlay the distribution data of the coupling parameters onto the digital twin for visualization.

[0013] According to a third aspect of the embodiments of this specification, a computing device is provided, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, they implement the steps of the above-described digital twin space physics field simulation and analysis method based on ray tracing.

[0014] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided that stores computer-executable instructions, which, when executed by a processor, implement the steps of the above-described ray-tracing-based digital twin spatial physics simulation and analysis method.

[0015] According to a fifth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, it causes the computer to perform the steps of the above-described digital twin spatial physics field simulation and analysis method based on ray tracing.

[0016] This specification provides a method and apparatus for simulating and analyzing spatial physics fields using ray tracing-based digital twins. The method achieves high-precision, high-efficiency, and multi-field collaborative simulation and analysis of complex spatial physics fields by constructing a deep coupling between a digital twin and ray tracing technology, using real-time data to drive dynamic updates of the digital twin, and performing high-precision physics field calculations based on ray tracing. Combined with multi-physics field coupling processing, it realizes high-precision, high-efficiency, and multi-field collaborative simulation and analysis of complex spatial physics fields. Furthermore, through visualization and virtual-real interaction functions, it can intuitively display simulation results and support dynamic control, significantly improving the real-time performance, accuracy, and practicality of the simulation, providing strong support for applications such as space optimization and equipment control. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating a digital twin spatial physics field simulation and analysis method based on ray tracing, provided in one embodiment of this specification. Figure 2 This is a schematic diagram illustrating the principle of a digital twin spatial physics field simulation and analysis method based on ray tracing, provided in one embodiment of this specification. Figure 3 This is a schematic diagram of the structure of a ray-tracing-based digital twin spatial physics field simulation and analysis device provided in one embodiment of this specification; Figure 4 This is a structural block diagram of a computing device provided in one embodiment of this specification. Detailed Implementation

[0018] Many specific details are set forth in the following description to provide a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this specification. Therefore, this specification is not limited to the specific implementations disclosed below.

[0019] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of this specification. The singular forms “a” and “the” as used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0020] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this specification, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0021] This specification provides a method for simulating and analyzing a digital twin spatial physics field based on ray tracing. This specification also relates to a device for simulating and analyzing a digital twin spatial physics field based on ray tracing, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments.

[0022] See Figure 1 , Figure 1 A flowchart is shown of a ray-tracing-based digital twin spatial physics field simulation and analysis method according to one embodiment of this specification, which specifically includes the following steps.

[0023] Step 101: Construct a digital twin of the target physical space and configure physical attribute parameters for the digital twin; Step 102: Receive real-time data from the physical space and dynamically update the digital twin based on the real-time data; Step 103: Configure ray tracing parameters and emit rays into the updated digital twin according to the configured ray tracing parameters to calculate the single-field parameters of the digital twin; Step 104: Perform multiphysics coupling processing on the single-field parameters to obtain the coupling parameters; Step 105: Overlay the distribution data of the coupling parameters onto the digital twin for visualization.

[0024] In this context, a digital twin can refer to a high-fidelity digital mapping of a physical entity or system in virtual space. For example, it can be a virtual model constructed through 3D modeling and physical attribute assignment, capable of reflecting the geometric structure and material characteristics of the corresponding physical space in real time. Physical attribute parameters can refer to quantitative indicators describing the material properties of each component of the digital twin, such as electromagnetic conductivity for electromagnetic field calculations, acoustic impedance for sound field calculations, and thermal radiation coefficient for thermal radiation field calculations. Real-time data can refer to environmental and state information collected in real time from the physical space through a sensor network and then preprocessed, such as the device's position coordinates, power output, or ambient temperature. Ray tracing parameters can refer to a set of configurations controlling the simulated behavior of ray propagation, such as ray type, number of rays emitted, emission angle range, and energy attenuation coefficient. Single-field parameters can refer to the distribution of physical quantities calculated at various locations in the digital twin space under the influence of only a single physical field (such as an electromagnetic field, sound field, or thermal radiation field), such as electric field strength, sound pressure level, or heat flux density. Coupling parameters can refer to the distribution of comprehensive physical quantities calculated at various locations in the digital twin space after comprehensively considering the interaction of multiple physical fields, such as the thermal radiation increment caused by electromagnetic field energy loss.

[0025] The present invention will be further described below through a detailed embodiment. The ray-tracing-based digital twin spatial physics field simulation and analysis method of the present invention is applied to a communication coverage analysis and environmental monitoring scenario in a large indoor warehouse environment. First, the digital twin is constructed and initialized. This method generates a high-precision three-dimensional digital twin by fusing warehouse point cloud data acquired by an unmanned aerial vehicle (UAV) laser scanner with imported building information model (BIM) data. Then, through a visual configuration interface, corresponding physical attribute parameters are assigned to the shelves, walls, floors, and various IoT device models in this digital twin. For example, high electromagnetic conductivity is configured for metal shelves, and specific acoustic impedance and thermal radiation coefficients are configured for concrete walls. Next, data synchronization and dynamic updates are performed. This method uses a wireless sensor network deployed within the warehouse to receive real-time data on the location, operating status, and environmental temperature and humidity of various IoT devices using Time-Sensitive Networking Protocol (TSP). The system compares the received real-time data with historical data from the previous moment. When the system detects that the position of an automated guided vehicle (AGV) has moved beyond a preset threshold, it immediately triggers a dynamic update of the corresponding model position in the digital twin. Finally, the core ray-tracing calculation and analysis process is initiated. Based on the communication network performance that needs to be analyzed, the system configures the ray type as electromagnetic field rays and sets the number of rays emitted, the angular range of rays emitted from each wireless access point into the entire space, and the attenuation coefficient of energy propagation in the medium. Based on the aforementioned constructed and real-time updated digital twin, the ray trajectory calculation unit quickly simulates the reflection, refraction, and diffraction processes of massive amounts of rays in a complex warehouse environment, thereby calculating the distribution of single-field electromagnetic parameters throughout the space, i.e., the signal strength coverage map. Building on this, to more comprehensively assess the environment, the system further invokes the multi-physics coupling processing module. This module, based on preset electromagnetic field-thermal radiation field coupling rules, transforms the previously calculated energy increment due to signal propagation loss into an increment of thermal radiation flux density, thereby calculating coupling parameters that simultaneously reflect signal coverage and temperature distribution. Finally, the system enters the visualization and decision output stage. This method utilizes volume rendering and heatmap overlay technology to display the calculated signal strength and temperature distributions as intuitive color heatmaps overlaid on the digital twin model, allowing managers to analyze communication blind spots and potential heat source risks within the warehouse.

[0026] The beneficial effects of one of the embodiments in this specification include at least the following: by constructing a deep coupling between a digital twin and ray tracing technology, and introducing a real-time data-driven update mechanism, high-precision, dynamic simulation analysis of physical fields in complex physical spaces is achieved. Its beneficial effects lie in overcoming the shortcomings of traditional numerical simulation methods, such as poor adaptability to complex geometry and low computational efficiency. Ray tracing technology accurately simulates physical phenomena such as the reflection and refraction of rays, significantly improving simulation accuracy. Simultaneously, dynamic updates based on real-time data ensure the consistency between the digital twin and the physical space, enabling simulation analysis to respond to environmental changes and providing real-time, reliable decision-making basis for communication network optimization and environmental monitoring.

[0027] In one possible implementation, the steps of constructing a digital twin of the target physical space and configuring physical attribute parameters for the digital twin include: acquiring point cloud data of the physical space using a laser scanner, performing Gaussian filtering for noise reduction, iterative nearest-point registration, and Poisson reconstruction on the point cloud data to generate a geometric model of the digital twin; and assigning or customizing physical attribute parameters to each component of the geometric model through a visual parameter configuration interface. The physical attribute parameters include electromagnetic conductivity, acoustic impedance, and thermal emissivity.

[0028] Point cloud data refers to a collection of points containing three-dimensional coordinate information, obtained by sampling physical space using a laser scanner. For example, it could be millions of spatial points obtained after scanning the internal structure and equipment of an industrial plant. Gaussian filtering denoising refers to a signal processing method used to smooth point cloud data and remove isolated noise points. For example, it involves weighting the neighborhood of each point by setting a standard deviation parameter to eliminate outliers caused by scanning accuracy or environmental interference. Iterative nearest-point registration refers to an algorithm used to accurately align and merge multiple point clouds obtained from different perspectives. For example, it involves repeatedly finding nearest point pairs and calculating the optimal rotation and translation matrices to stitch together local point clouds obtained from multiple scans into a complete global point cloud. Poisson reconstruction refers to an algorithm that generates continuous, closed triangular mesh surfaces based on point cloud normal information. For example, it involves solving the Poisson equation to transform discrete point clouds into smooth 3D mesh models suitable for subsequent simulations. A visual parameter configuration interface refers to a graphical user interface that allows users to intuitively specify or modify material properties for different parts of a 3D model through mouse clicks, drop-down menus, or numerical input. Electromagnetic conductivity, acoustic impedance, and thermal radiation coefficient can refer to intrinsic physical parameters that describe a material’s response to electromagnetic waves, sound waves, and thermal radiation. For example, when configuring a wall, you can select the “concrete” material, and the system will automatically assign it the corresponding default values ​​for electromagnetic conductivity, acoustic impedance, and thermal radiation coefficient.

[0029] The present invention will be further illustrated by a detailed embodiment below, which elaborates on the step of "constructing a digital twin of the target physical space" in the aforementioned method. In a city block scenario requiring simulation and analysis, geometric data acquisition is performed first. This method uses a laser scanner mounted on a drone to comprehensively scan the building complex, streets, and green belts within the block, acquiring raw point cloud data. The acquired raw point cloud contains a large number of coordinate points, but also includes noise points caused by birds, specular reflections, etc. Therefore, the next step is point cloud data preprocessing. The system first applies a Gaussian filtering algorithm, smoothing the data by setting an appropriate standard deviation, effectively removing isolated noise points. Subsequently, since a single drone flight cannot cover all angles, the system collects point cloud fragments from multiple flights and different viewpoints, and uses an iterative nearest-point algorithm to precisely register these fragments. Through multiple iterations, the optimal transformation matrix is ​​found, and they are seamlessly stitched together into a complete street block point cloud. Next, to obtain a surface model usable for ray tracing calculations, the system performs Poisson reconstruction on the registered point cloud, generating a high-precision 3D mesh geometric model composed of millions of triangular facets. This forms the geometric foundation of the digital twin. After the geometric model is built, the system moves to the physical property configuration stage. The system provides a visual parameter configuration interface where users can load the previously generated geometric model. By selecting or dragging different components in the model, such as the glass curtain wall or concrete base of an office building, or a metal street lamp pole, users can assign corresponding properties from the system's built-in library of common material physical parameters. For example, assigning lower electromagnetic conductivity and specific acoustic impedance to the glass curtain wall, and extremely high electromagnetic conductivity to the metal street lamp pole. Simultaneously, the interface also allows users to customize and input more precise electromagnetic conductivity, acoustic impedance, and thermal radiation coefficients based on measured values ​​of specific materials, thus completing the construction and initialization of the entire digital twin.

[0030] The beneficial effects of one of the embodiments in this specification include at least the following: by combining laser scanning and point cloud processing algorithms, it is possible to automatically and accurately construct digital twin geometric models of complex physical spaces, solving the problems of low efficiency and poor accuracy in traditional manual modeling. Its beneficial effects lie in the fact that Gaussian filtering and iterative nearest-point algorithms ensure the purity and integrity of the model, while Poisson reconstruction generates a continuous mesh surface suitable for ray tracing calculations; simultaneously, by configuring physical properties through a visual interface and integrating a library of commonly used material parameters, the model not only possesses a geometric shape but also embodies the material properties necessary for multiphysics simulations, laying a solid foundation for subsequent high-precision ray tracing calculations.

[0031] In one possible implementation, the step of receiving real-time data from the physical space and dynamically updating the digital twin based on the real-time data includes: receiving preprocessed real-time data via a time-sensitive networking protocol; comparing the real-time data with historical data to determine whether a preset trigger condition is met; if the trigger condition is met, updating the digital twin based on the real-time data; wherein the trigger condition includes the position offset of the device in the physical space reaching or exceeding a preset displacement threshold, or the rate of change of the physical attribute parameter value of the device in the physical space reaching or exceeding a preset rate of change threshold.

[0032] Time-Sensitive Networking Protocol (TSCP) can refer to a set of protocols that provide deterministic data transmission capabilities on top of standard Ethernet. For example, through precise time synchronization and data stream scheduling, it ensures that high-frequency real-time data from physical space sensors can be transmitted to the digital twin system with low latency and no packet loss. Preprocessed real-time data can refer to sensor data that has undergone preliminary cleaning, formatting, or compression at the data source end (such as an edge gateway). For example, it converts raw voltage signals into standardized values ​​representing device power and adds precise timestamps. Historical data can refer to snapshots of the digital twin's state or corresponding physical space data stored in the system at one or more previous moments, used for comparative detection of changes. Preset trigger conditions can refer to pre-defined rules and thresholds used to determine whether the digital twin needs to be updated. For example, to ensure simulation accuracy, it is stipulated that any change in the position of an automated guided vehicle exceeding 5 centimeters must update its position in the twin. Displacement thresholds and rate of change thresholds can refer to specifically quantified boundary values, such as a position offset threshold of 5 centimeters and a power change rate threshold of 10%.

[0033] The present invention will be further described below through a detailed embodiment, which is a specific elaboration of the "receiving real-time data and dynamically updating" step in the aforementioned method. Continuing with the aforementioned warehouse environment example, a large number of sensors and mobile devices are deployed in the physical space. First, data is received synchronously. An edge computing gateway located at the warehouse site collects the real-time position coordinates of each automated guided vehicle (AGV), the transmit power of wireless access points, and temperature readings of each area. After preprocessing (e.g., unit conversion and outlier removal), this data is packaged and sent to the central digital twin server with millisecond latency via a 5G industrial router supporting Time-Sensitive Networking Protocol (TSN). The server continuously listens for and receives these data streams. Next, update condition judgment is performed. For each received frame of data, the system compares it with the current state (i.e., historical data) of the corresponding digital twin object stored in the database. For example, the system compares the latest position coordinates of an AVT with its position coordinates in the twin model to calculate its spatial offset. Simultaneously, the system also compares the latest reported power value of a wireless access point with the power value configured in the twin to calculate its rate of change. These calculation results are compared with preset trigger conditions in the system. These preset conditions include: an update is triggered if the positional offset of any device is greater than or equal to 5 cm, or if the rate of change of any device's physical attribute parameters (such as transmission power or device surface temperature) is greater than or equal to 10%. Finally, a dynamic update is performed. If the calculated positional offset of an automated guided vehicle reaches 7 cm, exceeding the 5 cm threshold, the trigger condition is met. The system then modifies the positional attributes of the vehicle model in the digital twin based on the latest position coordinates. If the power change rate of another wireless access point is only 5%, not reaching the 10% threshold, the parameters of its corresponding digital twin model remain unchanged, and the simulation continues using the existing values. Through this threshold-based triggering mechanism, the system ensures that the digital twin can reflect key changes in physical space in a timely manner, while avoiding frequent and resource-intensive repetitive calculations due to small, meaningless fluctuations.

[0034] The beneficial effects of one embodiment in the various embodiments of this specification include at least the following: by introducing a threshold-triggered dynamic update mechanism, efficient and accurate synchronization between the digital twin and the physical space is achieved. Its beneficial effects lie in the fact that the use of Time-Sensitive Networking Protocol (TSP) ensures determinism and low latency in real-time data transmission, providing a data foundation for dynamic updates; and by comparing real-time data with preset displacement and rate-of-change thresholds, the system can intelligently filter out meaningful physical changes and update the digital twin only when necessary. This effectively avoids invalid calculations and waste of system resources caused by data jitter while ensuring the realism of the simulation, significantly improving the system's operating efficiency and response speed.

[0035] In one possible implementation, the step of configuring ray tracing parameters and emitting rays into the updated digital twin according to the configured ray tracing parameters to calculate the single-field parameters of the digital twin includes: configuring the type of ray, the number of rays emitted, the range of emission angles, and the energy attenuation coefficient; constructing an acceleration structure based on an axis-aligned bounding box hierarchy algorithm, and using a ray-triangle intersection detection algorithm to emit rays into the digital twin according to the configured ray tracing parameters, simulating the reflection, refraction, and diffraction processes of the rays, and calculating the single-field parameters; wherein the types of rays include electromagnetic field rays, acoustic field rays, and thermal radiation field rays.

[0036] Among these, ray type can refer to the different types of rays distinguished according to the physical fields being simulated, such as electromagnetic field rays for analyzing wireless signal coverage, sound field rays for analyzing noise propagation, and radiation field rays for analyzing the effects of heat sources. The number of rays emitted can refer to the total number of rays emitted from the ray source into space; a higher number results in higher simulation accuracy but also greater computational complexity. The emission angle range can refer to the horizontal and vertical coverage area of ​​the ray emission, such as omnidirectional 360-degree emission in the horizontal direction or fan-shaped emission in a specific direction. The energy attenuation coefficient can refer to the rate attenuation of energy per unit distance when a ray propagates in a medium or material, such as the attenuation rate of electromagnetic waves in air. The axis-aligned bounding box hierarchy can refer to an accelerated algorithm that organizes a 3D spatial model into a tree-like hierarchical structure. By calculating a minimum cuboid bounding box aligned with the coordinate axes for each geometric object and constructing a bounding box tree, it quickly eliminates a large number of objects that cannot intersect with the rays, thus accelerating the intersection process. The ray-triangle intersection detection algorithm can refer to a geometric algorithm used to accurately calculate whether a ray intersects with a triangular facet constituting the surface of a 3D model, and the location of the intersection point. Simulating the reflection, refraction, and diffraction of rays can refer to the process of calculating the generation of new reflected rays, refracted rays, or diffracted rays when a ray intersects with a model surface, based on the surface material properties and physical laws, and tracking their continued propagation.

[0037] The present invention is further illustrated by a detailed embodiment, which elaborates on the step of "configuring ray tracing parameters and performing calculations" in the aforementioned method. When assessing the electromagnetic environment of a complex factory workshop, ray parameter configuration is performed first. The user selects "Single Physics Simulation" on the system interface and specifies the ray type as electromagnetic field ray. Considering the presence of multiple robots and metal equipment in the workshop, the user sets the emission quantity to a high value to accurately capture multipath effects. The ray source is set at the location of the wireless access point to be tested within the workshop, with the emission angle configured to provide full coverage in the horizontal direction (0-360 degrees) and the vertical direction configured according to the access point antenna type. A default energy attenuation coefficient is configured for the electromagnetic field ray based on the workshop's air environment and equipment materials. After parameter configuration, calculation is initiated. The system first uses the triangular mesh model of the workshop's digital twin to call the axis-aligned bounding box hierarchy algorithm to quickly construct a spatial index tree for all walls, equipment, columns, and other components. This accelerated structure can quickly locate objects that may intersect with the ray in subsequent calculations, avoiding unnecessary calculations. Ray tracing then begins. The system emits a massive number of rays from the ray source according to the configured parameters. Each ray propagates in space, and when it encounters a triangular facet of an object, a ray-triangle intersection detection algorithm is invoked to accurately calculate the intersection point. At the intersection point, the system simulates the ray's reflection (generating new reflected rays that continue to propagate), penetration (generating refracted rays), or diffraction based on the physical properties of the component containing that point (such as metal or concrete), while simultaneously calculating the ray's energy loss based on the energy attenuation coefficient. Through recursive tracking and calculation of all rays and their derivative rays, the system ultimately aggregates the electromagnetic field intensity received at each location throughout the entire workshop space, i.e., the distribution data of the single-field electromagnetic parameters.

[0038] The beneficial effects of one of the embodiments in this specification include at least the following: by combining refined ray parameter configuration with an efficient spatial acceleration structure and intersection algorithm, efficient and high-precision calculation of physical fields in complex geometric scenes is achieved. Its advantages lie in the fact that users can flexibly configure ray types, quantities, and angles to adapt to different simulation analysis needs; the application of axis-aligned bounding box hierarchy and fast ray-triangle intersection detection algorithm greatly accelerates the intersection process of rays with hundreds of millions of triangular facets, making large-scale, high-density ray tracing possible, and while ensuring that the simulation results accurately reflect complex physical phenomena such as reflection, refraction, and diffraction, the calculation time is compressed to the minute level, meeting the application requirements of real-time simulation.

[0039] In one possible implementation, the step of performing multi-physics coupling processing on single-field parameters to obtain coupling parameters includes: calling coupling rules from a preset multi-physics coupling rule library, or defining coupling equations through a user interface; using a matrix factorization algorithm to solve the coupling equation set constructed by the coupling rules or coupling equations to calculate the coupling parameters; the rules in the coupling rule library are preset based on the law of conservation of energy and field theory principles, including coupling rules between electromagnetic fields and thermal radiation fields, coupling rules between sound fields and electromagnetic fields, and coupling rules between thermal radiation fields and sound fields.

[0040] The multiphysics coupling rule base can refer to a pre-existing set of rules in a system that contains quantitative relationships between different physical fields, such as defining how electromagnetic wave energy loss is converted into heat energy, or how temperature changes affect the speed of sound. User-defined coupling equations can refer to interactive tools provided to advanced users, allowing them to input or select mathematical expressions derived from their research that describe the multi-field coupling relationships in a specific scenario within a graphical interface. Matrix factorization algorithms can refer to numerical methods for efficiently solving linear equation systems, such as decomposing a complex coupling coefficient matrix into the product of lower and upper triangular matrices to quickly solve for the parameters of each coupled physical field. Rules in the coupling rule base can refer to empirical or semi-empirical formulas derived from basic physical principles and verified experimentally, such as rules describing the proportional relationship between the increase in electromagnetic field energy loss rate and the increase in thermal radiation flux density, rules describing the relationship between the increase in sound pressure level and the increase in electromagnetic field propagation loss, and rules describing the relationship between the increase in temperature and the increase in sound speed.

[0041] The present invention will be further illustrated by a detailed embodiment, which elaborates on the "multi-physics coupling processing" step in the aforementioned method. In a simulation analysis of a data center server room, the system first calculates the electromagnetic field distribution (reflecting wireless signal interference) and thermal radiation field distribution (reflecting temperature hotspots) at locations such as servers, air conditioners, and walls using ray tracing. These are single-field parameters. To analyze whether electromagnetic interference leads to increased local heating, coupling processing is required. The system first accesses a preset multi-physics coupling rule base. According to basic physics, the energy loss of electromagnetic waves propagating in a medium is converted into heat energy. Therefore, the rule base contains an electromagnetic field-thermal radiation field coupling rule, which describes the proportional relationship between the increase in electromagnetic field energy loss rate and the resulting increase in thermal radiation flux density. Similarly, noise (sound field) in the server room may affect the server fan speed, thereby changing power consumption and heat generation. The rule base also contains association rules between sound field-electromagnetic field and thermal radiation field-sound field. For this specific server room, engineers also found that the electromagnetic shielding effectiveness of the special server racks used was significantly affected by temperature, which is not included in the general rule base. Therefore, engineers used the system's user interface to define a new coupling equation to describe the impact of temperature changes on the equivalent electromagnetic conductivity of this specific cabinet. After defining the coupling relationships, the system began solving them. These coupling relationships together constituted a set of coupling equations. The system organized these relationships into a coupling coefficient matrix and a corresponding vector of single-field parameter results. To efficiently solve this set of equations, the system employed a matrix factorization algorithm. This algorithm decomposes the complex coefficient matrix and then quickly solves the coupling equations through forward and backward substitution, ultimately obtaining a new set of coupling parameters. These coupling parameters not only include the original electromagnetic field strength and temperature but also the combined results of their interactions, such as the temperature of local hotspots caused by increased electromagnetic interference, thus more realistically reflecting the overall physical environment within the server room.

[0042] The beneficial effects of one of the embodiments in this specification include at least the following: by constructing an extensible coupling rule base and supporting user-defined equations, combined with an efficient matrix solving algorithm, accurate simulation of complex multiphysics coupling effects is achieved. Its beneficial effects lie in the fact that the preset rules based on energy conservation and field theory principles provide a reliable foundation for coupling calculations in most common scenarios, while the user-defined function endows the system with the ability to handle special and novel coupling relationships, greatly improving the system's flexibility and adaptability; the use of matrix factorization algorithms to solve the coupling equation set ensures that even under multi-field coupling and computationally intensive conditions, accurate coupling parameters can still be obtained quickly and stably, thus comprehensively and realistically reflecting the comprehensive environmental characteristics of physical space.

[0043] In one possible implementation, the step of overlaying the distribution data of coupling parameters onto the digital twin for visualization includes: using volume rendering and heatmap overlay techniques to render the distribution data of coupling parameters onto the model of the digital twin; and responding to user operations on the digital twin model by displaying the historical change curves of the single field parameters, coupling parameters, and physical field parameters of the operated point on the interactive interface.

[0044] Volume rendering can refer to a visualization technique that directly generates two-dimensional images from a three-dimensional data field. For example, it can simulate the absorption and emission of light in a data field to present the continuous distribution of electromagnetic field strength or temperature within space, rather than just surface values. Heatmap overlay technology refers to the technique of overlaying data values ​​onto the surface of a three-dimensional model using color mapping. For example, high signal strength areas are rendered in red, and low signal strength areas in blue, intuitively showing the spatial changes of physical quantities. The manipulated point refers to a specific location selected by the user on the digital twin model through mouse clicks, touch, or gestures in the visualization interface. Single-field parameters and coupling parameters refer to the specific values ​​corresponding to the points, as calculated above. Historical change curves refer to line graphs plotted with time on the horizontal axis and physical parameter values ​​on the vertical axis, used to show the fluctuation trend of the physical quantity at that point over a period of time, such as the temperature change at a certain location over the past 10 minutes.

[0045] The present invention will be further illustrated by a detailed embodiment, which elaborates on the "visualization and interaction" step in the aforementioned method. In a smart city planning simulation platform, urban planners need to analyze the combined impact of new buildings on the electromagnetic and wind environments (in this case, an application of thermal radiation fields) of the surrounding blocks. After completing ray tracing and multiphysics coupling calculations, the system obtains volumetric data containing coupling parameters including electromagnetic field strength and temperature distribution. Entering the visualization stage, the system is further developed based on the Unity3D engine. It employs volume rendering technology to represent the temperature field of the entire block as a semi-transparent, color-gradient 3D cloud map, with red areas representing areas with significant heat island effects. Simultaneously, the system overlays electromagnetic field signal strength as a heat map onto the surfaces of all buildings and roads, making the strength of communication signal coverage immediately apparent. Planners can freely rotate, translate, and scale the 3D digital twin model on the screen using the mouse. When particularly interested in an intersection, they can click on a point on the intersection model with the mouse. The system immediately responds to the user's click, using ray-mapping technology to identify the selected 3D spatial point, and then extracts the corresponding parameters from the calculated data field. Subsequently, an information panel pops up on the interface, clearly listing the point's individual field parameters (such as individual electric field strength values ​​and individual temperature values) and coupling parameters (such as the overall temperature value considering electromagnetic losses). In addition, the panel embeds a line graph that dynamically plots the historical changes in temperature and electromagnetic signal strength at the intersection over the past 10 minutes due to vehicle traffic and signal base station load variations, providing planners with comprehensive dynamic analysis data.

[0046] The beneficial effects of one of the embodiments in this specification include at least the following: by using advanced volume rendering and heatmap technology, the complex multiphysics coupling calculation results are presented to the user in an intuitive and easy-to-understand visual form. Its beneficial effects are that it not only allows users to grasp the overall distribution trend of physical quantities in space at a glance, but also, through sophisticated interactive design, enables users to delve into detailed data of any point of interest, including static instantaneous values ​​and dynamic historical changes, greatly enhancing the depth and breadth of data analysis. This transforms simulation results from abstract data into a perceptible and explorable virtual environment, providing strong visual support and data insights for professional planning decisions.

[0047] In one possible implementation, the method further includes: in response to a user's drag operation on a component in the digital twin model, triggering the re-execution of the ray tracing parameter configuration and ray emission steps, the multiphysics coupling processing steps, and the visualization presentation steps, so as to update the physical field distribution of the digital twin in real time.

[0048] The drag-and-drop operation of components in a digital twin model refers to the interactive behavior of a user selecting an object model (such as a machine or a partition wall) in the digital twin through a mouse or touch interface and dragging it to a new location. Triggering re-execution means that after detecting a drag operation, the system automatically starts a completely new calculation process from configuring ray tracing parameters, rather than simply modifying the original results. Real-time updating of the physical field distribution of the digital twin means recalculating the physical field of the entire space based on the components at the new location and immediately refreshing the new calculation results (such as signal coverage maps and temperature distribution maps) on the visualization interface, allowing users to see the impact of the layout changes in real time.

[0049] The invention is further illustrated below with a detailed embodiment, which elaborates on the "virtual-real interaction and dynamic feedback" step in the aforementioned method. In a wireless network planning scenario within a large open-plan office, a network engineer is using this system to determine the optimal installation locations for several key wireless access points. After the system completes a simulation analysis based on the initial layout, the engineer sees the current signal coverage on a visualization interface. He notices a weak signal in a corner workstation area. He then directly selects the digital model of the nearest wireless access point to that area with the mouse and drags it a short distance along a virtual ceiling track towards the weak signal area. Upon releasing the mouse, the system immediately detects the final position change of this component. Without requiring the engineer to manually initiate any calculations, the system automatically responds to this interaction. It first reconfigures the ray tracing parameters (primarily the emission source location) based on the new location of the wireless access point and re-emits rays throughout the digital twin space. Next, based on the newly calculated single-field parameters, the system performs multiphysics coupling processing again (although this example primarily focuses on the electromagnetic field, the coupling process is still fully executed). Finally, the visualization module recalculates the signal coverage heatmap, renders it in real time, and refreshes it on the digital twin model on the screen. Engineers can immediately see that as the access point moves, the color of the previously weak signal area changes from blue to red, indicating improved coverage. Through this "drag-and-drop" real-time feedback, engineers can try out multiple different layout schemes within minutes and quickly find the optimal network deployment strategy.

[0050] The beneficial effects of one of the embodiments in this specification include at least the following: by seamlessly linking intuitive model interaction with complex background computation processes, a "what you see is what you get" real-time simulation analysis environment is created. Its beneficial effect lies in the fact that user adjustments to the physical structure of the digital twin can instantly trigger recalculation and visualization updates throughout the entire process, making "hypothesis analysis" and solution optimization processes extremely intuitive and efficient. This instant feedback mechanism greatly shortens the cycle from idea generation to solution verification, transforming the traditional serial "modify-wait-view" work mode into a highly interactive real-time collaborative mode, significantly improving user decision-making efficiency and experience in tasks such as space planning and equipment layout optimization.

[0051] In one overall embodiment, see Figure 2 The method first constructs a digital twin of the target physical space and configures physical attribute parameters for the digital twin. Next, it receives real-time data from the physical space and dynamically updates the digital twin based on this data. Then, it configures ray tracing parameters and emits rays into the updated digital twin according to these parameters to calculate single-field parameters. Subsequently, it performs multi-physics coupling processing on the single-field parameters to obtain coupling parameters. Finally, it overlays the distribution data of the coupling parameters onto the digital twin for visualization.

[0052] Specifically, the operational details, parameter settings, algorithm applications, and input / output for each step are as follows: Step 1: Details of Digital Twin Construction and Initialization 1. Geometric Model Construction: A laser scanner is used to scan the physical space from all directions to obtain point cloud data; the point cloud data is preprocessed: Gaussian filtering (σ=0.8) is used to remove noise, ICP registration (50 iterations) is used to stitch together multi-view point clouds, and Poisson reconstruction (mesh density 1000 faces / m³) is used to generate a 3D mesh model, and finally a digital twin geometric model with an accuracy of ±0.1m is output. 2. Physical property configuration parameter database Default parameters are assigned to each component of the model (e.g., walls: electromagnetic conductivity 5.0 × 10⁻⁶). -7 H / m, acoustic impedance 413000 Pa·s / m, thermal emissivity 0.7; Metal equipment: electromagnetic conductivity 4.0 × 10⁻⁶ 7 S / m, acoustic impedance 1.7×10 7 Pa·s / m, thermal emissivity 0.2; supports user-defined parameter input (through a visual interface, parameter range: electromagnetic conductivity 1e-8-1e8S / m, acoustic impedance 1e3-1e8Pa·s / m, thermal emissivity 0.01-1.0).

[0053] Step 2: Digital Twin Data Synchronization Reception The system receives preprocessed standardized data via the TSN protocol, compares the current data with historical data, and determines whether the update trigger conditions are met. Geometric change trigger: device position offset ≥ 5cm; physical attribute change trigger: parameter value change ≥ 10% (such as changes in thermal radiation coefficient due to device power adjustment). Step 3: Configure ray tracing parameters and emit rays Select the simulation physics field type (single physics field / multi-physics field coupling, default is multi-physics field); configure the ray parameters: number of rays: determined according to the space volume; emission angle: 0-360° (horizontal direction), -90°-90° (vertical direction), angle step 0.1°; energy attenuation coefficient: electromagnetic field ray 0.02dB / m, sound field ray 0.03dB / m, thermal radiation field ray 0.015W / m; Step 4: Visualization and Decision Output The rendering core uses volume rendering + heatmap overlay technology to overlay the coupling parameter distribution data onto the digital twin model; it supports user interaction: clicking on any point in the model displays the single field parameters, coupling parameters, and historical change curves of that point over the past 10 minutes.

[0054] Furthermore, the system structure of the solution in this application is as follows.

[0055] 1. Digital Twin Modeling Module Geometric data acquisition unit: 3D modeling and CAD data import interface; Physical property configuration unit: visual parameter configuration interface, physical parameter library of common materials (such as electromagnetic conductivity, acoustic impedance, thermal emissivity, etc. of metals, concrete, glass, etc.). 2. Ray Tracing Calculation Module Ray parameter configuration unit: supports user-defined ray type (electromagnetic field ray, acoustic field ray, thermal radiation field ray), emission quantity (10 6 -10 8 Strip, step size 10 6 The radiation sources are arranged according to the principle of "uniform distribution + densification in key areas". Ray trajectory calculation unit: The accelerated structure is built based on the AABB (axis-aligned bounding box) hierarchical structure algorithm, combined with the improved ray-triangle intersection detection algorithm, and supports ray reflection (the reflection coefficient is dynamically adjusted according to material properties). 3. Multiphysics Coupling Processing Module Coupling relationship definition unit: Based on the law of conservation of energy and field theory principles, it has a pre-defined multiphysics coupling rule base and supports user-defined coupling equations. The core coupling rules include: ① Electromagnetic field - thermal radiation field: ΔΦ =k1×ΔP e (ΔΦ) For the increase in thermal radiation flux density, k1 = 8 W / m² per 10% P e ΔP e (Increment of electromagnetic field energy loss rate). ② Sound field - electromagnetic field: ΔL e =k2×ΔL s (ΔL) e For the electromagnetic field propagation loss increment, k2 = 1.2 dB per 5 dB ΔL s ΔL s (This refers to the increase in sound pressure level in the sound field). ③ Thermal radiation field - sound field: Δc = k3 × ΔT (Δc is the sound speed increment, k3 = 0.6 m / sper℃ΔT, ΔT is the temperature increment); Coupled parameter calculation unit: The coupled equation system is solved by matrix decomposition algorithm (LU decomposition, decomposition accuracy ≤ 1e-6). The coupled equation system is in the form of: [A]×[X]=[B], where [A] is the coupling coefficient matrix (dimension ≥ 3×3, elements are the scaling coefficients k1, k2, k3, etc. in the coupling rules), [X] is the coupled physical field parameter vector, and [B] is the single field parameter solution result vector; 4. Simulation Results Visualization Module Result rendering unit: Based on the Unity3D engine, it supports volume rendering, isosurface drawing, and heatmap overlay, with a rendering frame rate of ≥30fps. Virtual-real interaction unit: Supports mouse / touch / gesture operation. Users can click on any position of the digital twin model to display the physical field parameters (including single field parameters, coupling parameters, and historical change curves) of that point in real time. It supports model scaling, translation, and rotation. Users can drag and drop components in the digital twin model to trigger the ray tracing module to recalculate and update the physical field distribution in real time.

[0056] Corresponding to the above method embodiments, this specification also provides embodiments of a digital twin spatial physics field simulation and analysis device based on ray tracing. Figure 3 A schematic diagram of a ray-tracing-based digital twin spatial physics simulation and analysis device is shown as an embodiment of this specification. Figure 3 As shown, the device includes: The attribute configuration module 301 is configured to construct a digital twin of the target physical space and configure physical attribute parameters for the digital twin; The data update module 302 is configured to receive real-time data from the physical space and dynamically update the digital twin based on the real-time data. The parameter calculation module 303 is configured to configure ray tracing parameters and emit rays into the updated digital twin according to the configured ray tracing parameters in order to calculate the single field parameters of the digital twin. The parameter coupling module 304 is configured to perform multi-physics coupling processing on single-field parameters to obtain coupling parameters. The visualization module 305 is configured to overlay the distribution data of the coupling parameters onto the digital twin for visualization.

[0057] In one possible implementation, the steps of constructing a digital twin of the target physical space and configuring physical attribute parameters for the digital twin include: Point cloud data of physical space is acquired by laser scanner, and Gaussian filtering is used to denoise the point cloud data, iterative nearest point algorithm registration and Poisson reconstruction are performed to generate the geometric model of digital twin; Through the visual parameter configuration interface, physical property parameters can be assigned or customized for each component of the geometric model. These physical property parameters include electromagnetic conductivity, acoustic impedance, and thermal radiation coefficient.

[0058] In one possible implementation, the steps of receiving real-time data from the physical space and dynamically updating the digital twin based on the real-time data include: Receive pre-processed real-time data via Time-Sensitive Networking Protocol (TSP). Compare real-time data with historical data to determine whether the preset trigger conditions are met; If the triggering conditions are met, the digital twin is updated based on real-time data. The triggering conditions include the device's position offset in the physical space reaching or exceeding a preset displacement threshold, or the rate of change of the device's physical attribute parameter values ​​in the physical space reaching or exceeding a preset rate of change threshold.

[0059] In one possible implementation, the steps of configuring ray tracing parameters and emitting rays into the updated digital twin based on the configured ray tracing parameters to calculate the single-field parameters of the digital twin include: Configure the type of ray, the number of rays emitted, the range of emission angles, and the energy attenuation coefficient; An accelerated structure is constructed based on the axis-aligned bounding box hierarchical structure algorithm, and a ray-triangle intersection detection algorithm is used to emit rays into the digital twin according to the configured ray tracing parameters, simulating the reflection, refraction and diffraction process of the rays, and calculating the single field parameters; among them, the types of rays include electromagnetic field rays, sound field rays and thermal radiation field rays.

[0060] In one possible implementation, the steps of performing multiphysics coupling on single-field parameters to obtain coupled parameters include: Coupled rules can be called from a pre-defined multiphysics coupling rule library, or customized coupling equations can be defined through the user interface; The coupling parameters are calculated by solving the system of coupling equations constructed from coupling rules or coupling equations using a matrix factorization algorithm. The rules in the coupling rule base are pre-set based on the law of conservation of energy and the principles of field theory, including coupling rules between electromagnetic fields and thermal radiation fields, coupling rules between sound fields and electromagnetic fields, and coupling rules between thermal radiation fields and sound fields.

[0061] In one possible implementation, the steps of overlaying the distribution data of the coupling parameters onto the digital twin for visualization include: Volume rendering and heatmap overlay techniques are used to render the distribution data of coupling parameters onto the digital twin model; In response to user operations on the digital twin model, the system displays historical variation curves of the single-field parameters, coupling parameters, and physical field parameters of the operated point on the interactive interface.

[0062] In one possible implementation, the method also includes: In response to the user's drag-and-drop operation on the components in the digital twin model, the configuration of ray tracing parameters and the ray emission steps, the multiphysics coupling processing steps, and the visualization presentation steps are triggered to re-execute the physical field distribution of the digital twin in real time.

[0063] The above is a schematic scheme of a ray-tracing-based digital twin spatial physics field simulation and analysis device according to this embodiment. It should be noted that the technical solution of this ray-tracing-based digital twin spatial physics field simulation and analysis device belongs to the same concept as the technical solution of the ray-tracing-based digital twin spatial physics field simulation and analysis method described above. Details not described in detail in the technical solution of the ray-tracing-based digital twin spatial physics field simulation and analysis device can be found in the description of the technical solution of the ray-tracing-based digital twin spatial physics field simulation and analysis method described above.

[0064] Figure 4 A structural block diagram of a computing device 400 according to one embodiment of this specification is shown. The components of the computing device 400 include, but are not limited to, a memory 410 and a processor 420. The processor 420 is connected to the memory 410 via a bus 430, and a database 450 is used to store data.

[0065] The computing device 400 also includes an access device 440, which enables the computing device 400 to communicate via one or more networks 460. Examples of these networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or combinations of communication networks such as the Internet. The access device 440 may include one or more of any type of wired or wireless network interface (e.g., a network interface card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) wireless interface, a Wi-MAX (Worldwide Interoperability for Microwave Access) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, or a Near Field Communication (NFC) interface.

[0066] In one embodiment of this specification, the aforementioned components of the computing device 400 and Figure 4 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 4 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0067] The computing device 400 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or personal computers (PCs). The computing device 400 can also be a mobile or stationary server.

[0068] The processor 420 executes computer-executable instructions, which, when executed by the processor, implement the steps of the aforementioned ray-tracing-based digital twin spatial physics simulation and analysis method. The above is an illustrative scheme of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the aforementioned ray-tracing-based digital twin spatial physics simulation and analysis method belong to the same concept. Details not described in detail in the technical solution of the computing device can be found in the description of the technical solution of the aforementioned ray-tracing-based digital twin spatial physics simulation and analysis method.

[0069] An embodiment of this specification also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the above-described ray-tracing-based digital twin spatial physics simulation and analysis method.

[0070] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium belongs to the same concept as the technical solution of the above-described ray-tracing-based digital twin spatial physics field simulation and analysis method. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the above-described ray-tracing-based digital twin spatial physics field simulation and analysis method.

[0071] An embodiment of this specification also provides a computer program, wherein when the computer program is executed in a computer, it causes the computer to perform the steps of the above-described digital twin spatial physics field simulation and analysis method based on ray tracing.

[0072] The above is an illustrative scheme of a computer program according to this embodiment. It should be noted that the technical solution of this computer program belongs to the same concept as the technical solution of the above-described digital twin spatial physics field simulation and analysis method based on ray tracing. For details not described in detail in the technical solution of the computer program, please refer to the description of the technical solution of the above-described digital twin spatial physics field simulation and analysis method based on ray tracing.

[0073] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0074] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or certain intermediate forms. The computer-readable medium may include any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.

[0075] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments in this specification are not limited to the described order of actions, because according to the embodiments in this specification, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the embodiments in this specification.

[0076] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0077] The preferred embodiments disclosed above are merely illustrative of this specification. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the embodiments described herein. These embodiments are selected and specifically described in this specification to better explain the principles and practical applications of the embodiments, thereby enabling those skilled in the art to better understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.

Claims

1. A digital twin spatial physics field simulation and analysis method based on ray tracing, characterized in that, include: Construct a digital twin of the target physical space and configure physical attribute parameters for the digital twin; Receive real-time data from the physical space and dynamically update the digital twin based on the real-time data; Configure ray tracing parameters and emit rays into the updated digital twin according to the configured ray tracing parameters to calculate the single-field parameters of the digital twin; The single-field parameters are subjected to multi-physics coupling processing to obtain coupling parameters; The distribution data of the coupling parameters are superimposed onto the digital twin for visualization.

2. The method according to claim 1, characterized in that, The steps of constructing a digital twin of the target physical space and configuring physical attribute parameters for the digital twin include: Point cloud data of the physical space is acquired by a laser scanner, and the point cloud data is subjected to Gaussian filtering for noise reduction, iterative nearest point registration algorithm and Poisson reconstruction to generate the geometric model of the digital twin; Through the visual parameter configuration interface, the physical property parameters are assigned or customized for each component of the geometric model. The physical property parameters include electromagnetic conductivity, acoustic impedance and thermal radiation coefficient.

3. The method according to claim 1, characterized in that, The step of receiving real-time data from the physical space and dynamically updating the digital twin based on the real-time data includes: The preprocessed real-time data is received via Time-Sensitive Networking Protocol (TSP). The real-time data is compared with historical data to determine whether the preset triggering conditions are met; If the triggering condition is met, the digital twin is updated according to the real-time data; wherein, the triggering condition includes the position offset of the device in the physical space reaching or exceeding a preset displacement threshold, or the rate of change of the physical attribute parameter value of the device in the physical space reaching or exceeding a preset rate of change threshold.

4. The method according to claim 1, characterized in that, The step of configuring ray tracing parameters and emitting rays into the updated digital twin according to the configured ray tracing parameters to calculate the single-field parameters of the digital twin includes: Configure the type of ray, the number of rays emitted, the range of emission angles, and the energy attenuation coefficient; An accelerated structure is constructed based on an axis-aligned bounding box hierarchical structure algorithm, and a ray-triangle intersection detection algorithm is used to emit rays into the digital twin according to the configured ray tracing parameters, simulating the reflection, refraction and diffraction process of the rays, and calculating the single field parameters; wherein, the types of rays include electromagnetic field rays, acoustic field rays and thermal radiation field rays.

5. The method according to claim 1, characterized in that, The step of performing multiphysics coupling processing on the single field parameters to obtain the coupling parameters includes: Coupled rules can be called from a pre-defined multiphysics coupling rule library, or customized coupling equations can be defined through the user interface; The coupling parameters are calculated by solving the system of coupling equations constructed from the coupling rules or the coupling equations using a matrix factorization algorithm. The rules in the coupling rule base are pre-set based on the law of conservation of energy and the principles of field theory, including coupling rules between electromagnetic fields and thermal radiation fields, coupling rules between sound fields and electromagnetic fields, and coupling rules between thermal radiation fields and sound fields.

6. The method according to claim 1, characterized in that, The step of overlaying the distribution data of the coupling parameters onto the digital twin for visualization includes: The distribution data of the coupling parameters are rendered onto the model of the digital twin using volume rendering and heatmap overlay techniques. In response to user operations on the digital twin model, the historical variation curves of the single field parameters, the coupling parameters, and the physical field parameters of the operated point are displayed on the interactive interface.

7. The method according to claim 6, characterized in that, The method further includes: In response to a user's drag-and-drop operation on a component in the digital twin model, the configuration of the ray tracing parameters and the ray emission steps, the multiphysics coupling processing steps, and the visualization steps are re-executed to update the physical field distribution of the digital twin in real time.

8. A digital twin spatial physics field simulation and analysis device based on ray tracing, characterized in that, include: The attribute configuration module is configured to construct a digital twin of the target physical space and configure physical attribute parameters for the digital twin; The data update module is configured to receive real-time data from the physical space and dynamically update the digital twin based on the real-time data. The parameter calculation module is configured to configure ray tracing parameters and emit rays into the updated digital twin according to the configured ray tracing parameters to calculate the single-field parameters of the digital twin. The parameter coupling module is configured to perform multi-physics coupling processing on the single field parameter to obtain the coupling parameter; The visualization module is configured to overlay the distribution data of the coupling parameters onto the digital twin for visualization.

9. A computing device, characterized in that, include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of the ray-tracing-based digital twin spatial physics field simulation and analysis method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the ray-tracing-based digital twin spatial physics simulation and analysis method according to any one of claims 1 to 7.