A CAE simulation result visualization system supporting multiple interactive modes
By designing a CAE simulation visualization system with modules such as multi-resolution rendering, keyframe screening, data compression and dynamic local playback, the problem of inefficient large-scale data set analysis in the existing technology is solved, and efficient and flexible visualization of simulation results is achieved.
Patent Information
- Application Number
- CN202510099083.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-01-22
AI Technical Summary
The existing CAE simulation visualization technology lacks flexibility when processing large-scale data sets, and it is difficult to perform fine operations such as keyframe selection, region cropping, and time-step screening, resulting in inefficient user analysis.
A CAE simulation result visualization system that supports multiple interactive modes is designed, including multi-resolution rendering module, keyframe and time-step filtering module, data compression and simplification module, and dynamic local playback and frame skip rendering module. Through these modules, dynamic rendering area resolution adjustment, automatic filtering of keyframes, data compression and local playback are realized.
The system allows users to interact in real-time during the simulation result animation playback, improves analysis efficiency, reduces the amount of rendered data, and achieves smooth animation playback and efficient resource management.
Smart Images

Figure CN119520909B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of CAE simulation, and in particular to a CAE simulation result visualization system supporting multiple interaction modes. Background Art
[0002] With the development of CAE simulation technology, the volume and complexity of simulation data continue to increase. Existing CAE simulation visualization technology has limitations in real-time interaction, data processing and rendering performance. Especially for large-scale data sets, there is a lack of flexibility in dynamic interactive operations, and it is difficult to perform fine operations such as key frame selection, region cropping, and time step screening during playback, resulting in low efficiency for users during the analysis process.
[0003] To meet these challenges, CAE simulation visualization systems need to support richer and more flexible interactive operations and maintain good performance and user experience through data simplification, compression and dynamic rendering technologies when facing large-scale simulation data. Summary of the invention
[0004] In view of the above problems, the present invention is proposed to provide a CAE simulation result visualization system supporting multiple interaction modes, which overcomes the above problems or at least partially solves the above problems.
[0005] In order to solve the above technical problems, the embodiments of the present application disclose the following technical solutions:
[0006] The embodiment of the present invention discloses a CAE simulation result visualization system supporting multiple interaction modes.
[0007] It includes: multi-resolution rendering module, key frame and time step screening module, data compression and simplification module and dynamic local playback and frame skipping rendering module; among which:
[0008] A multi-resolution rendering module, used to obtain user interaction behavior and dynamically adjust the resolution of the rendering area according to the user interaction behavior;
[0009] The key frame and time step screening module is used to analyze the input simulation data, automatically screen out the key frames, and detect the changes in the simulation data time step according to the time series analysis method;
[0010] The data compression and simplification module is used to compress data using a feature-preserving compression algorithm, use incremental storage and sparse representation for the compressed data, and record data changes;
[0011] The dynamic local playback and frame skipping rendering module is used to obtain the user's local time playback instruction, and process the user's local time and non-user local time separately through the frame skipping rendering method to realize multi-frame rendering and switching.
[0012] Furthermore, a multi-resolution rendering module is used to obtain the user's interactive behavior and dynamically adjust the resolution of the rendering area according to the user's interactive behavior. The specific method includes: obtaining the user's interactive behavior through the user's mouse operation behavior, and the user's interactive behavior only includes zooming and panning behaviors; determining the user's focus area according to the area selected by the user's mouse; adjusting the resolution and level of detail within a preset range of the focus area according to the focus area determined by the user, wherein when the object is within the preset range of the focus area, it is adjusted to a first level of resolution and level of detail, and when the object is outside the preset range of the focus area, it is adjusted to a second level of resolution and level of detail; the first level of resolution and level of detail are higher than the second level of resolution and level of detail.
[0013] Furthermore, the user's interactive behavior is obtained through the user's mouse operation behavior, and the user's interactive behavior only includes zooming behavior and panning behavior; the specific method includes: listening to mouse wheel events, obtaining the zoom ratio according to event parameters, determining the center point coordinates of the user's zoom focus based on the mouse position, and determining the user's zooming behavior according to the center point coordinates of the zoom focus and the zoom ratio; listening to mouse dragging events, updating the center point of the view according to the direction and distance of the mouse dragging, calculating the new focus area position according to the translation distance, and determining the user's translation behavior.
[0014] Furthermore, the user focus area is determined according to the area selected by the user's mouse; the specific method includes:
[0015] Determine the focus center. When listening to mouse wheel events, the focus center is the position where the user zooms or clicks. When listening to mouse move events, the focus center will be updated as the view center changes.
[0016] Calculate the range of the focus area. When listening to mouse wheel events, the size of the focus area is inversely proportional to the zoom ratio. The larger the zoom ratio, the smaller the focus area. The width of the focus area = view width / zoom ratio, and the height of the focus area = view height / zoom ratio. When listening to mouse move events, determine the range of the focus area based on the start and end points of the mouse two-dimensional plane.
[0017] Furthermore, according to the focus area determined by the user, the resolution and level details within a preset range of the focus area are adjusted. The specific method includes: rendering the focus area determined by the user in blocks, dividing the entire screen into multiple small blocks, and optimizing system performance by reducing the resolution of each small block in the area far from the viewing angle; in the focus area, retaining high-resolution rendering to ensure the clarity of the visual effect.
[0018] Furthermore, the focus area determined by the user is rendered in blocks, and the specific method includes:
[0019] Detecting the focus area to determine the focus area of the user, where the focus area is the click point or drag point of the user;
[0020] The screen is divided into multiple small blocks. The number of small blocks in the focus area is denser to ensure higher rendering accuracy, while the peripheral area is divided into larger blocks to reduce the amount of rendering calculations.
[0021] The resolution is dynamically adjusted according to the position of the block on the screen. High-resolution rendering is applied to small blocks in the focus area, and the rendering resolution of each small block is gradually reduced as the distance from the focus area increases. The gradual adjustment of the resolution depends on the specific visual effect requirements;
[0022] Rendering priority can be set to set the rendering priority of different small blocks. In high-performance systems, small blocks in the focus area are rendered first, and the update frequency of surrounding small blocks is adjusted in real time. Small blocks in the surrounding area are updated less frequently or even displayed statically, achieving the effect of further saving resources.
[0023] Dynamic focus tracking and re-rendering, as the focus area changes, the rendering accuracy of the small block where the focus area is located is adjusted in real time, the new focus area is set to high resolution, and the resolution of the previous focus area is reduced to achieve efficient dynamic rendering.
[0024] Furthermore, a key frame and time step screening module is used to analyze the input simulation data, automatically screen out key frames, and detect changes in the simulation data time step according to a time series analysis method; the specific method includes: analyzing the input simulation data, the simulation data at least includes speed, stress, and displacement physical quantities, and detecting changes in physical quantities; obtaining significant change points of physical quantities, and automatically screening out key frames according to feature change detection and threshold analysis methods; adjusting the screened key frames according to user-defined screening conditions; using a time series analysis method for the screened key frames to detect the law or trend of data changes within the simulation time step. Users perform high-precision local playback at selected key time steps and manually marked time points to achieve efficient review of key scenes.
[0025] Furthermore, according to the feature change detection and threshold analysis method, the key frames are automatically screened out. The specific method includes: calculating the change amplitude, for the simulation data of each time step, calculating the change amplitude by the difference method or the gradient change method: wherein the difference method is to calculate the difference between the current frame and the previous frame to measure the change in value; the gradient change method is to use the numerical gradient (such as the first-order difference or the second-order difference) to calculate the change amplitude to detect the stable segment and the sudden change segment;
[0026] Setting a change threshold, setting a change threshold, when the data change exceeds the set threshold, marking the time step as a potential key frame; at least including using the average value of the change plus several times the standard deviation as a dynamic threshold to adapt to data with different change trends;
[0027] Detect mutation points: Identify the inflection points of data mutations by combining first-order and second-order differences. The mutation points often correspond to key events in the simulation. Use the cumulative sum algorithm to gradually accumulate the degree of deviation of the data and detect the location of significant changes. Use the change detection algorithm to identify significant changes in the time series.
[0028] Determine whether the data has obvious periodicity. If the data has periodicity, combine Fourier transform or autocorrelation analysis to identify periodic changes and use the frames at the beginning or end of the period as key frames.
[0029] Furthermore, the data compression and simplification module is used to compress data using a feature-preserving compression algorithm, use incremental storage and sparse representation for the compressed data, and record data changes; the specific method includes: inputting the original simulation or physical data to be compressed, denoising and normalizing the data before preprocessing, and dividing the data into a low-frequency part and a high-frequency part through wavelet transform; retaining important data in the low-frequency part, the important data in the low-frequency part contains global information, and compressing or partially ignoring the details of the high-frequency part; outputting data compressed by wavelet transform, retaining global features; using incremental storage and sparse representation, recording data changes, reducing duplicate data storage, dynamically loading and rendering compressed data, giving priority to compressed data during rendering, ignoring details, completing data rendering and storage, and achieving the purpose of accelerating rendering and optimizing storage space.
[0030] Furthermore, the dynamic local playback and frame skipping rendering module is used to obtain the user's local time playback instructions, and through the frame skipping rendering method, the user's local time and non-user local time are processed separately to realize multi-frame rendering and switching. The specific method includes: receiving complete animation frame information, receiving user's local time period high-precision playback instructions, detecting changes between frames, identifying frames that do not change significantly, skipping frames that do not change significantly, loading high resolution for important frames, and low resolution for non-important frames; using GPU parallel processing to ensure smooth playback and switching of animations; combining local high-precision playback with smooth playback to output optimized animations.
[0031] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:
[0032] The present invention discloses a CAE simulation result visualization system supporting multiple interaction modes, comprising: a multi-resolution rendering module, a key frame and time step screening module, a data compression and simplification module, and a dynamic local playback and frame skipping rendering module; the multi-resolution rendering module is used to obtain the user's interactive behavior and dynamically adjust the resolution of the rendering area according to the user's interactive behavior; the key frame and time step screening module is used to analyze the input simulation data, automatically screen out the key frames, and detect the change of the simulation data time step according to the time series analysis method; the data compression and simplification module is used to compress the data using a feature-preserving compression algorithm, use incremental storage and sparse representation for the compressed data, and record data changes; the dynamic local playback and frame skipping rendering module is used to obtain the user's local time playback instruction, and through the frame skipping rendering method, the user's local time and non-user local time are processed separately to achieve multi-frame rendering and switching.
[0033] The present invention allows the user to select simulation data of a specific time interval for playback or playback, avoiding unnecessary global data processing and improving analysis efficiency. The present invention uses data compression technology to reduce the amount of data rendered without affecting the visualization effect. Through a compression algorithm based on wavelet transform or Fourier transform, the simulation data can be greatly compressed on the basis of maintaining the main features, thereby improving the efficiency of rendering and data transmission. The present invention supports real-time interactive operations during the animation playback of simulation results, including cutting, mirroring, rotation, scaling, etc. All interactive operations are reflected instantly during rendering without pausing or stopping the animation playback. During the rendering process, the system uses GPU acceleration and multi-threaded processing technology to ensure smooth display under complex operations. It also adopts strategies including area-priority rendering and progressive rendering. The system prioritizes the area of user concern based on the user's view and interactive operations, and renders the rest in a simplified manner or in the form of gradual loading, saving computing resources.
[0034] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0036] Figure 1 This is a structural block diagram of a CAE simulation result visualization system supporting multiple interaction modes in Example 1 of the present invention. DETAILED DESCRIPTION
[0037] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0038] In order to solve the problems existing in the prior art, an embodiment of the present invention provides a CAE simulation result visualization system supporting multiple interaction modes.
[0039] Embodiment 1: The present invention discloses a CAE simulation result visualization system supporting multiple interaction modes, such as Figure 1 , including: multi-resolution rendering module, key frame and time step screening module, data compression and simplification module and dynamic local playback and frame skipping rendering module; among which:
[0040] The multi-resolution rendering module is used to obtain the user's interactive behavior and dynamically adjust the resolution of the rendering area according to the user's interactive behavior; wherein the multi-resolution rendering module dynamically adjusts the resolution of the rendering area through the user's interactive behavior (such as zooming and panning), thereby optimizing the computing efficiency. The area that the user focuses on (the focus area) will be presented at a high resolution, while the area far from the focus will be rendered at a low resolution. To this end, the module uses the layered detail model technology to create geometric models of different resolutions and dynamically switch according to the distance of the user's focus. The sampling of the screen space technology further supports the block processing, so that the resolution of the distant area is reduced. The entire process uses GPU accelerated rendering, and uses its parallel processing capabilities to adjust the resolution in real time, reducing the data transmission between the CPU and GPU, and ensuring a fast system response.
[0041] In this embodiment, the multi-resolution rendering module is used to obtain the user's interactive behavior and dynamically adjust the resolution of the rendering area according to the user's interactive behavior. The specific method includes: obtaining the user's interactive behavior through the user's mouse operation behavior, and the user's interactive behavior only includes zooming and panning behaviors; determining the user's focus area according to the area selected by the user's mouse; adjusting the resolution and level of detail within a preset range of the focus area according to the focus area determined by the user, wherein when the object is within the preset range of the focus area, it is adjusted to a first level of resolution and level of detail, and when the object is outside the preset range of the focus area, it is adjusted to a second level of resolution and level of detail; the first level of resolution and level of detail are higher than the second level of resolution and level of detail.
[0042] In some preferred embodiments, the user's interactive behavior is obtained through the user's mouse operation behavior, and the user interactive behavior includes zooming behavior and panning behavior; the specific method for obtaining the user's interactive behavior includes: monitoring mouse wheel events, obtaining the zoom ratio according to event parameters, determining the center point coordinates of the user's zoom focus based on the mouse position, and determining the user's zoom behavior according to the center point coordinates of the zoom focus and the zoom ratio; monitoring mouse dragging events, updating the center point of the view according to the direction and distance of the mouse dragging, calculating the new focus area position according to the translation distance, and determining the user's translation behavior.
[0043] In some preferred embodiments, the user focus area is determined according to the area selected by the user's mouse; the specific method includes:
[0044] Determine the focus center. When listening to mouse wheel events, the focus center is the position where the user zooms or clicks. When listening to mouse move events, the focus center will be updated as the view center changes.
[0045] Calculate the range of the focus area. When listening to mouse wheel events, the size of the focus area is inversely proportional to the zoom ratio. The larger the zoom ratio, the smaller the focus area. The width of the focus area = view width / zoom ratio, and the height of the focus area = view height / zoom ratio. When listening to mouse move events, determine the range of the focus area based on the start and end points of the mouse two-dimensional plane.
[0046] In this embodiment, the resolution and level details within a preset range of the focus area are adjusted according to the focus area determined by the user. The specific method includes: rendering the focus area determined by the user in blocks, dividing the entire screen into multiple small blocks, and optimizing system performance by reducing the resolution of each small block in the area far from the viewing angle; in the focus area, retaining high-resolution rendering to ensure the clarity of the visual effect.
[0047] The focus area determined by the user is rendered in blocks, and the specific method includes:
[0048] Detecting the focus area to determine the focus area of the user, where the focus area is the click point or drag point of the user;
[0049] The screen is divided into multiple small blocks. The number of small blocks in the focus area is denser to ensure higher rendering accuracy, while the peripheral area is divided into larger blocks to reduce the amount of rendering calculations.
[0050] The resolution is dynamically adjusted according to the position of the block on the screen. High-resolution rendering is applied to small blocks in the focus area, and the rendering resolution of each small block is gradually reduced as the distance from the focus area increases. The gradual adjustment of the resolution depends on the specific visual effect requirements;
[0051] Rendering priority can be set to set the rendering priority of different small blocks. In high-performance systems, small blocks in the focus area are rendered first, and the update frequency of surrounding small blocks is adjusted in real time. Small blocks in the surrounding area are updated less frequently or even displayed statically, achieving the effect of further saving resources.
[0052] Dynamic focus tracking and re-rendering, as the focus area changes, the rendering accuracy of the small block where the focus area is located is adjusted in real time, the new focus area is set to high resolution, and the resolution of the previous focus area is reduced to achieve efficient dynamic rendering.
[0053] The multi-resolution rendering module of this embodiment obtains the focus area based on the user's zooming and panning behavior and dynamically adjusts the resolution and level details, which is an effective method for optimizing resources and improving user experience. By obtaining user interaction behavior in real time, determining the focus area and dynamically adjusting its display quality, it can effectively save system resources and improve response speed while meeting user needs.
[0054] The keyframe and timestep screening module is used to analyze the input simulation data, automatically screen out keyframes, and detect changes in the simulation data timesteps based on the time series analysis method; the keyframe and timestep screening module allows users to manually mark keyframes in the animation, and automatically analyzes the simulation data (such as changes in physical quantities such as velocity, stress, and displacement) to identify and mark important timesteps. The time series analysis technology of this module is used to detect significant changes in timesteps, and the feature change detection technology automatically screens keyframes through threshold analysis, while allowing users to customize screening conditions to screen keyframes. The module also provides local playback control, and users can perform high-precision local playback at selected key timesteps and manually marked time points to achieve efficient review of key scenes.
[0055] In this embodiment, the key frame and time step screening module is used to analyze the input simulation data, automatically screen out the key frames, and detect the change of the simulation data time step according to the time series analysis method; the specific method includes: analyzing the input simulation data, the simulation data at least includes speed, stress, displacement physical quantities, and detecting the change of the physical quantities; obtaining the significant change points of the physical quantities, and automatically screening out the key frames according to the feature change detection and threshold analysis method; adjusting the screened key frames according to the user-defined screening conditions; using the time series analysis method for the screened key frames to detect the law or trend of data changes within the simulation time step. The user performs high-precision local playback at the selected key time steps and manually marked time points to achieve efficient review of key scenes.
[0056] Among them, according to the feature change detection and threshold analysis method, the key frames are automatically screened out. The specific method includes: calculating the change amplitude, for the simulation data of each time step, calculating the change amplitude by the difference method or the gradient change method: Among them, the difference method is to calculate the difference between the current frame and the previous frame to measure the change in value; the gradient change method is to use the numerical gradient (such as the first-order difference or the second-order difference) to calculate the change amplitude to detect the stable segment and the sudden change segment;
[0057] Setting a change threshold, setting a change threshold, when the data change exceeds the set threshold, marking the time step as a potential key frame; at least including using the average value of the change plus several times the standard deviation as a dynamic threshold to adapt to data with different change trends;
[0058] Detect mutation points: Identify the inflection points of data mutations by combining first-order and second-order differences. The mutation points often correspond to key events in the simulation. Use the cumulative sum algorithm to gradually accumulate the degree of deviation of the data and detect the location of significant changes. Use the change detection algorithm to identify significant changes in the time series.
[0059] Determine whether the data has obvious periodicity. If the data has periodicity, combine Fourier transform or autocorrelation analysis to identify periodic changes and use the frames at the beginning or end of the period as key frames.
[0060] The data compression and simplification module is used to compress data using a feature-preserving compression algorithm, and use incremental storage and sparse representation for the compressed data to record data changes; in order to reduce the storage and rendering burden, the data compression module uses a feature-preserving compression algorithm (such as wavelet transform) to retain key physical properties. When rendering, compressed data is given priority, and unnecessary details are dynamically loaded or ignored, thereby speeding up rendering. Specific technologies include wavelet transform, which is used to compress data and retain low-frequency important information while reducing storage space; incremental data storage is responsible for recording changed data, and repeated information is reused for processing, further saving space; in addition, the application of sparse representation and dimensionality reduction algorithms simplifies the data structure and retains key features, thereby further improving rendering efficiency.
[0061] In this embodiment, the data compression and simplification module is used to compress data using a feature-preserving compression algorithm, use incremental storage and sparse representation for the compressed data, and record data changes; the specific method includes: inputting the original simulation or physical data to be compressed, denoising and normalizing the data, and dividing the data into a low-frequency part and a high-frequency part by wavelet transform; retaining important data in the low-frequency part, the important data in the low-frequency part contains global information, and compressing or partially ignoring the details of the high-frequency part; outputting the data compressed by wavelet transform, retaining global features; using incremental storage and sparse representation, recording data changes, reducing duplicate data storage, dynamically loading and rendering compressed data, giving priority to compressed data during rendering, ignoring details, completing data rendering and storage, and achieving the purpose of accelerating rendering and optimizing storage space. This embodiment uses data compression technology to reduce the amount of data rendered without affecting the visualization effect. Through a compression algorithm based on wavelet transform or Fourier transform, simulation data can be greatly compressed on the basis of maintaining the main features, improving rendering and data transmission efficiency.
[0062] The dynamic local playback and frame skipping rendering module is used to obtain the user's local time playback instructions, and through the frame skipping rendering method, the user's local time and non-user local time are processed separately to achieve multi-frame rendering and switching. Among them, the module supports high-precision playback in the local time interval, and achieves a smooth animation experience by skipping frames or reducing the resolution of non-important time periods. It uses frame skipping rendering technology, based on inter-frame change detection, to skip frames that do not change significantly, thereby reducing the amount of calculation. For the time period that the user is concerned about, the local time period rendering loads high-resolution data, while the non-concerned time period is processed at low resolution. With the help of GPU parallel acceleration, the module can achieve multi-frame rendering and switching, ensure smooth playback, and further optimize the user experience.
[0063] In this embodiment, the dynamic local playback and frame skipping rendering module is used to obtain the user's local time playback instruction, and through the frame skipping rendering method, the user's local time and non-user local time are processed separately to realize multi-frame rendering and switching. The specific method includes: receiving complete animation frame information, receiving the user's local time period high-precision playback instruction, detecting changes between frames, identifying frames that do not change significantly, skipping frames that do not change significantly, loading high resolution for important frames, and low resolution for non-important frames; using GPU parallel processing to ensure smooth playback and switching of animations; combining local high-precision playback with smooth playback to output optimized animations.
[0064] The present embodiment discloses a CAE simulation result visualization system supporting multiple interaction modes, including: a multi-resolution rendering module, a key frame and time step screening module, a data compression and simplification module, and a dynamic local playback and frame skipping rendering module; the multi-resolution rendering module is used to obtain the user's interactive behavior and dynamically adjust the resolution of the rendering area according to the user's interactive behavior; the key frame and time step screening module is used to analyze the input simulation data, automatically screen out key frames, and detect changes in the simulation data time step according to the time series analysis method; the data compression and simplification module is used to compress the data using a feature-preserving compression algorithm, use incremental storage and sparse representation for the compressed data, and record data changes; the dynamic local playback and frame skipping rendering module is used to obtain the user's local time playback instruction, and through the frame skipping rendering method, the user's local time and non-user local time are processed separately to achieve multi-frame rendering and switching.
[0065] The present embodiment discloses a CAE simulation result visualization system that supports multiple interactive modes, allowing users to select simulation data of a specific time interval for playback or playback, avoiding unnecessary global data processing and improving analysis efficiency. The present invention uses data compression technology to reduce the amount of data to be rendered without affecting the visualization effect. Through a compression algorithm based on wavelet transform or Fourier transform, the simulation data can be greatly compressed on the basis of maintaining the main features, thereby improving the efficiency of rendering and data transmission. The present invention supports real-time interactive operations during the animation playback of simulation results, including cutting, mirroring, rotation, scaling, etc. All interactive operations are reflected instantly during rendering without pausing or stopping the animation playback. During the rendering process, the system uses GPU acceleration and multi-threaded processing technology to ensure smooth display under complex operations. And adopts strategies including area priority rendering and progressive rendering. The system prioritizes the area of user concern based on the user's view and interactive operation, and the rest is rendered in a simplified manner or in the form of gradual loading, saving computing resources.
[0066] It should be understood that the specific order or hierarchy of steps in the disclosed process is an example of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process can be rearranged without departing from the scope of protection of the present disclosure. The attached method claims present the elements of the various steps in an exemplary order and are not intended to be limited to the specific order or hierarchy described.
[0067] In the above detailed description, various features are grouped together in a single embodiment to simplify the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the embodiments of the claimed subject matter require more features than are clearly stated in each claim. On the contrary, as reflected in the appended claims, the invention is in a state of having less than all the features of the disclosed individual embodiments. Therefore, the appended claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.
[0068] Those skilled in the art will also appreciate that the various illustrative logic blocks, modules, circuits, and algorithmic steps described in conjunction with the embodiments herein can all be implemented as electronic hardware, computer software, or a combination thereof. In order to clearly illustrate the interchangeability between hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above around their functions. Whether such functions are implemented as hardware or software depends on specific applications and the design constraints imposed on the entire system. A skilled person can implement the described functions in an alternative manner for each specific application, but such implementation decisions should not be interpreted as departing from the scope of protection of the present disclosure.
[0069] The steps of the method or algorithm described in conjunction with the embodiments herein may be directly embodied as hardware, a software module executed by a processor, or a combination thereof. The software module may be located in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in an ASIC. The ASIC may be located in a user terminal. Of course, the processor and the storage medium may also be present in a user terminal as discrete components.
[0070] For software implementation, the techniques described in this application can be implemented with modules (e.g., procedures, functions, etc.) that perform the functions described in this application. These software codes can be stored in a memory unit and executed by a processor. The memory unit can be implemented within the processor or outside the processor. In the latter case, it is coupled to the processor in a communication manner via various means, which are well known in the art.
[0071] The above description includes examples of one or more embodiments. Of course, it is impossible to describe all possible combinations of components or methods for the purpose of describing the above embodiments, but it should be recognized by those skilled in the art that the various embodiments may be further combined and arranged. Therefore, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of protection of the appended claims. In addition, with respect to the term "comprising" used in the specification or claims, the word is covered in a manner similar to the term "including", just as "including," is explained as a transitional word in the claims. In addition, any term "or" used in the specification of the claims is intended to mean "non-exclusive or".
Claims
1. A CAE simulation result visualization system supporting multiple interactive modes, characterized in that: include: Multi-resolution rendering module, key frame and time step screening module, data compression and simplification module and dynamic local playback and frame skipping rendering module; among which: A multi-resolution rendering module is used to obtain the user's interactive behavior and dynamically adjust the resolution of the rendering area according to the user's interactive behavior; the specific method includes: obtaining the user's interactive behavior through the user's mouse operation behavior, and the user's interactive behavior includes zooming behavior and panning behavior; determining the user's focus area according to the area selected by the user's mouse; adjusting the resolution and level of detail within a preset range of the focus area according to the focus area determined by the user, wherein when the object is within the preset range of the focus area, it is adjusted to a first level of resolution and level of detail, and when the object is outside the preset range of the focus area, it is adjusted to a second level of resolution and level of detail; the first level of resolution and level of detail are higher than the second level of resolution and level of detail; Determine the user focus area based on the area selected by the user's mouse. The specific methods include: Determine the focus center. When listening to mouse wheel events, the focus center is the position where the user zooms or clicks. When listening to mouse move events, the focus center will be updated as the view center changes. Calculate the focus area range. When listening to mouse wheel events, the size of the focus area is inversely proportional to the zoom ratio. The larger the zoom ratio, the smaller the focus area range. The focus area width = view width / zoom ratio, and the focus area height = view height / zoom ratio. When listening to mouse move events, determine the focus area range based on the start and end points of the mouse two-dimensional plane. According to the focus area determined by the user, the resolution and level details within the preset range of the focus area are adjusted. The specific method includes: rendering the focus area determined by the user in blocks, dividing the entire screen into multiple small blocks, and optimizing system performance by reducing the resolution of each small block in the area far from the viewing angle; in the focus area, retaining high-resolution rendering to ensure the clarity of the visual effect; The key frame and time step screening module is used to analyze the input simulation data, automatically screen out the key frames, and detect the change of the simulation data time step according to the time series analysis method; the specific method includes: analyzing the input simulation data, the simulation data at least includes speed, stress, displacement physical quantities, and detecting the change of physical quantities; obtaining the significant change points of physical quantities, and automatically screening out the key frames according to the characteristic change detection and threshold analysis method; adjusting the screened key frames according to the user-defined screening conditions; using the time series analysis method for the screened key frames to detect the law or trend of data changes within the simulation time step. The user performs high-precision local playback at the selected key time step and the manually marked time point; According to the feature change detection and threshold analysis method, key frames are automatically selected. The specific method includes: calculating the change amplitude, for each time step of simulation data, the change amplitude is calculated by difference method or gradient change method: the difference method is to calculate the difference between the current frame and the previous frame to measure the change in value; the gradient change method is to use the numerical gradient to calculate the change amplitude to detect the stable segment and the sudden change segment; Setting a change threshold, setting a change threshold, when the data change exceeds the set threshold, marking the time step as a potential key frame; at least including using the average value of the change plus several times the standard deviation as a dynamic threshold to adapt to data with different change trends; Detect mutation points, identify the inflection points of data mutations by combining first-order and second-order differences, which often correspond to key events in simulation; use the cumulative sum algorithm to gradually accumulate the degree of deviation of the data and detect the location of significant changes; use the change detection algorithm to identify significant changes in the time series; Determine whether the data has obvious periodicity. If the data has periodicity, combine Fourier transform or autocorrelation analysis to identify periodic changes and use the frames at the beginning or end of the period as key frames. The data compression and simplification module is used to compress data using a feature-preserving compression algorithm, use incremental storage and sparse representation for the compressed data, and record data changes; The dynamic local playback and frame skipping rendering module is used to obtain the user's local time playback instruction, and through the frame skipping rendering method, the user's local time and non-user local time simulation data are processed separately to realize multi-frame rendering and switching of simulation data.
2. A CAE simulation result visualization system supporting multiple interactive modes as claimed in claim 1, characterized in that: Acquiring a user's interactive behavior through the user's mouse operation behavior, wherein the user's interactive behavior includes zooming and panning behavior; The specific method for obtaining the user's interactive behavior includes: monitoring the mouse wheel event, obtaining the zoom ratio according to the event parameter, determining the center point coordinates of the user's zoom focus based on the mouse position, and determining the user's zoom behavior according to the center point coordinates of the zoom focus and the zoom ratio; Listen to the mouse drag event, update the center point of the view according to the direction and distance of the mouse drag, calculate the new focus area position according to the translation distance, and determine the user's translation behavior.
3. A CAE simulation result visualization system supporting multiple interactive modes as claimed in claim 1, characterized in that: The focus area determined by the user is rendered in blocks. The specific method includes: Detecting the focus area to determine the focus area of the user, where the focus area is the click point or drag point of the user; The screen is divided into multiple small blocks. The number of small blocks in the focus area is dense to ensure higher rendering accuracy, while the area outside the focus is divided into larger blocks to reduce the amount of rendering calculations; The resolution is dynamically adjusted according to the position of the block on the screen. High-resolution rendering is applied to small blocks in the focus area, and the rendering resolution of each small block is gradually reduced as the distance from the focus area increases. The gradual adjustment of the resolution depends on the specific visual effect requirements; Rendering priority can be set to set the rendering priority of different small blocks. Small blocks in the focus area are rendered first, and the update frequency of surrounding small blocks is adjusted in real time. Small blocks in areas outside the focus area have a reduced update frequency or even static display, achieving the effect of further saving resources; Dynamic focus tracking and re-rendering, as the focus area changes, the rendering accuracy of the small block where the focus area is located is adjusted in real time, the new focus area is set to high resolution, and the resolution of the previous focus area is reduced to achieve efficient dynamic rendering.
4. A CAE simulation result visualization system supporting multiple interactive modes as claimed in claim 1, characterized in that: The key frame and time step screening module is used to analyze the input simulation data, automatically screen out the key frames, and detect the change of the simulation data time step according to the time series analysis method; the specific method includes: analyzing the input simulation data, the simulation data at least includes speed, stress, displacement physical quantities, and detecting the change of physical quantities; obtaining the significant change points of the physical quantities, and automatically screening out the key frames according to the feature change detection and threshold analysis method; adjusting the screened key frames according to the user-defined screening conditions; using the time series analysis method for the screened key frames to detect the law or trend of data changes within the simulation time step. The user performs high-precision local playback at the selected key time step and manually marked time point.
5. A CAE simulation result visualization system supporting multiple interactive modes as claimed in claim 1, characterized in that: The data compression and simplification module is used to compress data using a feature-preserving compression algorithm, use incremental storage and sparse representation for the compressed data, and record data changes; the specific method includes: inputting the original simulation or physical data to be compressed, denoising and normalizing the data preprocessing, dividing the data into a low-frequency part and a high-frequency part through wavelet transform; retaining important data in the low-frequency part, the important data in the low-frequency part contains global information, compressing or partially ignoring the details of the high-frequency part; outputting data compressed by wavelet transform, retaining global features; using incremental storage and sparse representation, recording data changes, reducing duplicate data storage, dynamically loading and rendering compressed data, giving priority to compressed data during rendering, completing data rendering and storage, and achieving the purpose of accelerating rendering and optimizing storage space.
6. A CAE simulation result visualization system supporting multiple interactive modes as claimed in claim 1, characterized in that: The dynamic local playback and frame skipping rendering module is used to obtain the user's local time playback instructions, and through the frame skipping rendering method, the user's local time and non-user local time are processed separately to achieve multi-frame rendering and switching. The specific method includes: receiving complete animation frame information, receiving the user's local time period high-precision playback instructions, detecting changes between frames, identifying frames that do not change significantly, skipping frames that do not change significantly, loading high resolution for important frames, and low resolution for non-important frames; using GPU parallel processing to ensure smooth playback and switching of animations; combining local high-precision playback with smooth playback to output optimized animations.
Citation Information
Patent Citations
Panoramic video rendering method and system
CN112465939A
Map rendering method and device, electronic equipment and storage medium
CN119206026A