A lunar physical field visualization method, device, equipment, medium and program

Through the method based on octree and latitude mesh classification, the problem of data organization management and visualization of lunar multiphysics fields is solved, and efficient data processing and intuitive visual display are achieved.

CN119206093BActive Publication Date: 2025-02-25HANGZHOU INST FOR ADVANCED STUDY UCAS +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411710224.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-02-25
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

The prior art is difficult to effectively organize, manage and couple visualize lunar multiphysics data, especially when data is large and diverse, data extraction and reading become difficult.

Method used

The data organization and management method based on octree and latitude mesh classification is adopted to divide the lunar multiphysics data into multiple grids and map the data to the corresponding grid to realize the visualization of multiphysics.

Benefits of technology

It realizes efficient organizational management and coupled visualization of lunar multiphysics data, improves data processing efficiency and visualization, and can intuitively display the internal connections between different physics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119206093B_ABST
    Figure CN119206093B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of deep space exploration technology, and discloses a method, device, equipment, medium and program for visualizing the physical field of the moon. The method comprises: obtaining a physical field model of the moon; the type of the physical field model comprises at least one of a gravity field, a magnetic field, an electric field and a moonquake field; selecting a grid type according to the spatial range of the physical field model on the moon, and corresponding each data in the physical field model to each grid; in response to a physical field display operation, displaying the corresponding physical field model in a three-dimensional model of the moon according to the data of the physical field model in each grid. The present invention can solve the problem that it is difficult to effectively organize and manage the multi-physical field data of the moon and couple and visualize them.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep space exploration technology, and in particular to a method, device, equipment, medium and program for visualizing a lunar physical field. Background Art

[0002] In lunar scientific research, the exploration and study of the lunar interior is the key to revealing the mechanism of the formation of major lunar geological events and building a new lunar evolution theory system. The construction of a visual simulation demonstration system can intuitively and clearly understand and study the scientific goals of lunar structure. The main technologies for building a multi-physics field visualization system include: data organization and management technology, and visualization display technology.

[0003] Existing lunar exploration missions mainly focus on the observation and research of the lunar surface, while there are relatively few exploration data on the interior of the moon, and there are many challenges in data organization, management and visualization. The data of lunar multi-physics fields (including gravity field, magnetic field, electric field and moonquake field, etc.) are complex and diverse. At present, data organization and management technology mainly solves the problem of how to store data in a regular manner and facilitate extraction and reading. Traditional data organization methods are difficult to store and process lunar multi-physics field data efficiently and orderly, especially when the data is large in scale and diverse in types, data extraction and reading become particularly difficult. Visualization display technology mainly focuses on the visualization of a single physical field, including vector fields and scalar fields, as well as the coupled visualization of multiple physical fields. However, there is relatively little research on the organization, management and visualization of lunar multi-physics field data.

[0004] In view of this, a visualization method for lunar multi-physics fields is needed to solve the problems of data organization, management and visualization in lunar scientific research. Summary of the invention

[0005] In view of this, the present invention provides a lunar physical field visualization method, device, equipment, medium and program to solve the problem that lunar multi-physical field data is difficult to effectively organize and manage and couple and visualize.

[0006] In a first aspect, the present invention provides a method for visualizing the lunar physical field, the method comprising: obtaining a physical field model of the moon; the type of the physical field model comprises at least one of a gravity field, a magnetic field, an electric field and a moonquake field; selecting a grid type according to the spatial range of the physical field model on the moon, and corresponding each data in the physical field model to each grid; in response to a physical field display operation, displaying the corresponding physical field model in a three-dimensional model of the moon according to the data of the physical field model in each grid.

[0007] In a second aspect, the present invention provides a visualization device for the lunar physical field, the device comprising: a model acquisition module, used to acquire the physical field model of the moon; the types of physical field models include at least one of gravity field, magnetic field, electric field and moonquake field; a grid selection module, used to select the grid type according to the spatial range of the physical field model on the moon, and correspond each data in the physical field model to each grid; a model display module, used to respond to the physical field display operation, and display the corresponding physical field model in the three-dimensional model of the moon according to the data of the physical field model in each grid.

[0008] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for visualizing the lunar physical field of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0009] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for visualizing the lunar physical field of the first aspect or any corresponding embodiment thereof.

[0010] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method for visualizing the lunar physical field of the first aspect or any corresponding embodiment thereof.

[0011] The technical solution provided by one or more embodiments of the present invention proposes a method for organizing and managing lunar multi-physical field data based on two partitioning methods, and constructs a corresponding visualization system. For the physical field model of the moon (covering gravity field, magnetic field, electric field and moonquake field, etc.), according to the spatial distribution of each physical field on the moon, a suitable grid type is selected for division, and the physical field data is mapped to the corresponding grid. Then, based on the data stored in each grid, the corresponding physical field distribution is presented on the three-dimensional model of the moon. The present invention divides the interior and surface areas of the moon into octrees and longitude and latitude grids respectively, and in combination with multi-physical field data, lays the data in the corresponding grids to realize the visualization of multi-physical fields. The coupling visualization of vector fields and scalar fields, and scalar fields and scalar fields is realized, so that the intrinsic connection between different physical fields can be intuitively displayed. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0013] Figure 1 is a flow chart of a method for visualizing a lunar physical field according to an embodiment of the present invention;

[0014] Figure 2 is a schematic diagram of a Ricker wavelet image according to an embodiment of the present invention;

[0015] Figure 3 is a schematic diagram of the effect of the moonquake point selection method according to an embodiment of the present invention;

[0016] Figure 4 is a schematic diagram of visual display of multiple visual channels according to an embodiment of the present invention;

[0017] Figure 5 is a structural block diagram of a visualization device for lunar physical fields according to an embodiment of the present invention;

[0018] Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0020] An embodiment of the present invention provides a visualization method for the lunar physical field. By adopting a data organization and management method based on octree and longitude and latitude grid division and a visualization technology of multiple visual channels, effective organization and management of lunar multi-physical fields and coupled visualization are achieved, thereby improving the efficiency of data processing and the intuitiveness of visualization.

[0021] According to an embodiment of the present invention, an embodiment of a method for visualizing a lunar physical field is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0022] In this embodiment, a method for visualizing lunar physical fields is provided. Figure 1 is a flow chart of a method for visualizing lunar physical fields according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0023] Step S101, obtaining a physical field model of the moon; the type of the physical field model includes at least one of a gravity field, a magnetic field, an electric field, and a moonquake field.

[0024] Specifically, in order to facilitate the subsequent organization, management and visualization of lunar physical field data, model data of various physical fields on the moon are obtained. The types of physical field models include but are not limited to at least one of the gravity field, magnetic field, electric field and moonquake field. The model data may come from various sources such as satellite detection, ground observation, numerical simulation, etc. Among them, the gravity field model describes the distribution of gravity on the moon and is an important basis for understanding the internal structure and mass distribution of the moon. The magnetic field model reflects the magnetic field characteristics of the moon and is of great significance for studying the origin and evolution of the moon's magnetic field and its interaction with the external environment such as the solar wind. The distribution and changes of the electric field model are still of certain value in understanding the environmental characteristics of the moon's ionosphere, atmosphere, etc. The moonquake field model can infer the internal structure and dynamic process of the moon by recording seismic activity on the moon.

[0025] In this embodiment, the gravity field uses the lunar gravity field model of AIUB-GRL200A. According to the given model parameters, the following spherical harmonic functions are used to reconstruct the gravity field of the lunar surface:

[0026]

[0027] in, is the azimuth of the spherical rectangular coordinate system, is the elevation angle in the spherical rectangular coordinate system, is a positive integer, is less than or equal to A positive integer, is the adjoint Legendre polynomial. The Legendre function is the solution of the Legendre differential equation, which is a variation of the Laplace differential equation. When trying to solve the three-dimensional Laplace equation in spherical coordinates, the problem often boils down to solving the Legendre equation, which is expressed as

[0028]

[0029] The Legendre polynomials have two parameters. , , which can be based on the ordinary Legendre polynomials To define, In this embodiment, :

[0030]

[0031] Substituting the parameters of the AIUB-GRL200A model and the lunar surface coordinate values ​​into the spherical harmonic function, the gravity field data of the corresponding point on the lunar surface can be obtained. The longitude and latitude grid models the entire lunar gravity field.

[0032] In this embodiment, the lunar magnetic field uses magnetic monopoles as equivalent field sources, uses L1 norm model regularization to increase model applicability, and obtains a lunar global magnetic field model with higher resolution.

[0033] It should be noted that because the gravity field and magnetic field of the moon basically do not change, the gravity field and magnetic field data are normalized and directly mapped using a color mapping table to generate RGB values, which are stored as a JavaScript array directly in the front end.

[0034] In this embodiment, a one-dimensional sheath model is used to calculate the electric field distribution on the lunar surface using relevant parameters of the moon and its surrounding environment.

[0035] In this embodiment, the construction principle of the lunar seismic field is similar to that of the Earth. The general technical route is: the product of the Ricker wavelet and the three-dimensional source attenuation function is used to form the lunar seismic wave. The Ricker wavelet expression is:

[0036]

[0037] in, represents the amplitude, Indicates time, Indicates the main frequency, Indicates the start time, such as Figure 2 is a The image of the Ricker wavelet, the horizontal axis represents time and the vertical axis represents amplitude.

[0038] The expression of the three-dimensional source attenuation function is:

[0039]

[0040] in express The value of the Gaussian distribution at the position, represents the earthquake source location, Indicates the attenuation frequency. The larger the attenuation frequency, the faster the attenuation speed.

[0041] Step S102, selecting a corresponding grid type according to the spatial range of the physical field model on the moon, and mapping each data in the physical field model to each grid.

[0042] Specifically, the physical field data of the moon are spatially divided and organized. First, according to the spatial range of the physical field model on the moon, select the appropriate grid type for subdivision. The choice of grid type should take into account the resolution, accuracy and subsequent visualization requirements of the data. Commonly used grid types include octree grids and longitude and latitude grids. Octree grids are suitable for data division in three-dimensional space and can efficiently process data with complex shapes and irregular distributions; longitude and latitude grids are suitable for surface data division of approximate spheres such as the earth or the moon, and can easily process geographic coordinates and longitude and latitude information. Then, correspond each data point or data block in the physical field model to each grid.

[0043] Step S103, in response to the physical field display operation, display the corresponding physical field model in the three-dimensional model of the moon according to the data of the physical field model in each grid.

[0044] Specifically, when a physical field display operation instruction is received, visual rendering is performed on the three-dimensional model of the moon according to the grid data and physical field model data organized in the previous step. Visual rendering refers to the use of computer graphics technology to convert the data in the grid into a visual image or animation. In order to more intuitively display the coupling relationship between multiple physical fields, a multi-visual channel visualization method can be used. For example, different colors, textures, or shapes are used to represent different physical fields; or the superposition effect of multiple physical fields can be displayed simultaneously in the same view.

[0045] The present embodiment provides a lunar physical field visualization method, which significantly improves the efficiency of data processing and the intuitiveness of visualization by adopting a data organization and management method based on octree and longitude and latitude grid division and a visualization technology of multiple visual channels. It not only solves the problem of the difficulty in effectively organizing and managing lunar multi-physical field data, but also provides users with a more convenient and intuitive means of data analysis and display, providing strong support for lunar scientific research.

[0046] In some optional implementations, the above step S102 selects a grid type according to the spatial range of the physical field model on the moon, and corresponds each data in the physical field model to each grid, including the following steps:

[0047] Step S1021, selecting a corresponding grid type according to the spatial range of the physical field model on the moon.

[0048] Specifically, the grid type is selected according to the spatial distribution characteristics of the physical field model on the moon.

[0049] Step S1022, obtaining the grid accuracy according to the physical quantity type of the physical field model; the physical quantity type includes vector and scalar.

[0050] Specifically, the types of physical quantities in physical field models are mainly divided into two types: vector and scalar. Vector physical fields (such as electric fields) describe physical quantities with magnitude and direction, and usually require higher precision to accurately represent their direction and intensity during visualization. Therefore, for vector physical fields, a higher precision grid should be selected to ensure the accuracy of the data. Scalar physical fields (such as gravity fields and magnetic fields) only describe the magnitude of physical quantities, and the requirements for precision are relatively low. Determining the appropriate grid precision based on the type of physical quantity in the physical field model can optimize data storage and computing efficiency while maintaining visualization effects.

[0051] Step S1023, according to the grid type and grid accuracy corresponding to the physical field model, each data in the physical field model is mapped to each grid.

[0052] Specifically, according to the grid type and grid accuracy determined in the first two steps, each data in the physical field model is accurately matched to each grid.

[0053] Through the above steps, this embodiment can more accurately select the grid type and allocate data according to the spatial range and physical quantity type of the physical field model, providing more reliable and accurate data support for subsequent visualization.

[0054] In some optional implementations, the above step S1021 includes the following steps of selecting a grid type according to the spatial range of the physical field model on the moon:

[0055] Step S1021A, if the physical field model is a sphere or a partial space of a sphere, a first grid type is selected; the grid of the first grid type is generated by an octree algorithm.

[0056] Specifically, first determine whether the spatial distribution of the physical field model on the moon is a sphere or a partial space of a sphere. If the physical field model is distributed in a sphere or a partial space of a sphere, then the first grid type should be selected. The first grid type is a grid generated by the octree algorithm. Octree is a tree data structure used to describe three-dimensional space. Each node of the octree represents a volume element of a cube, and each node has eight child nodes. The volume elements represented by these eight child nodes add up to the volume of the parent node. Generally, the center point is used as the bifurcation center of the node. If the octree is not an empty tree, any node in the tree will have exactly eight child nodes, or zero, that is, the child nodes will not have numbers other than 0 and 8.

[0057] Steps to implement Octree:

[0058] (1) Set the maximum recursion depth,

[0059] (2) Find the maximum size of the scene and create the first cube based on this size

[0060] (3) Drop the identity elements into a cube that can be contained and has no child nodes.

[0061] (4) If the maximum recursion depth has not been reached, the cube is subdivided into eight equal parts, and all the identity elements in the cube are distributed to the eight sub-cubes.

[0062] (5) If it is found that the number of identity elements allocated to the child cube is not zero and is the same as that of the parent cube, the subdivision of the child cube will stop. This is because according to the theory of space partitioning, the allocation obtained by the subdivided space must be smaller. If the number is the same, then no matter how many times it is cut, the number will remain the same, which will result in infinite cutting.

[0063] (6) Repeat (3) until the maximum recursion depth is reached.

[0064] In this embodiment, the moon is divided into cube octrees, with the center of the moon as the center, and the surrounding The cube is decomposed using the cube octree decomposition method.

[0065] When dividing, a spatial rectangular coordinate system is established with the center of the cube as the origin, the upward direction as the positive direction of the z-axis, the direction from the screen to the outside as the positive direction of the x-axis, and the rightward direction as the positive direction of the y-axis. Eight hexagrams are generated, and the first hexagram is encoded as 0, the second hexagram is encoded as 1, and so on. Octal numbers are used to encode the grid.

[0066] Step S1021B, if the physical field model is a sphere, select the second grid type; the grid of the second grid type is obtained by longitude and latitude network segmentation.

[0067] Specifically, it is determined whether the physical field model is mainly distributed on the surface of the moon, that is, whether it is a spherical model. If the physical field model is mainly distributed on the surface of the moon, the second grid type should be selected. The second grid type is a grid obtained by dividing the longitude and latitude network. The longitude and latitude grid is a grid type suitable for representing spherical data. It forms a grid by dividing the longitude and latitude on the spherical surface, and can well adapt to the surface of a spherical approximation such as the earth or the moon.

[0068] In this embodiment, the surface of the moon is divided into different precisions using longitude and latitude grids, such as , Wait, use as needed.

[0069] Furthermore, the two partitioning methods can be combined. Determine the scope of the physical field. If the scope is a sphere or a part of a sphere, organize the physical field to the corresponding position using an octree. If the scope is a sphere, organize the data to the corresponding position using longitude and latitude partitioning. Store the grid and its corresponding data in the database for easy search and reading.

[0070] This implementation can more accurately select the appropriate grid type based on the spatial range of the physical field model on the moon, which helps to more efficiently organize and manage physical field data in subsequent steps.

[0071] In some optional implementations, the above step S103 displays the corresponding physical field model in the three-dimensional model of the moon according to the data of the physical field model in each grid, including:

[0072] Step S103A, if the physical field model is a scalar field, then according to the numerical value in the grid corresponding to the physical field model, the pixel value corresponding to the grid is generated to display the physical field model in the three-dimensional model of the moon.

[0073] Specifically, first, read the values ​​of the scalar field model in each grid from the organized grid data. These values ​​represent the size of physical quantities at different locations on the moon, such as gravity field strength, magnetic field strength, etc. Next, map the scalar field values ​​to corresponding colors according to their size. Through a color map, the color map defines the correspondence between the value range and the color. Convert the mapped colors to the pixel values ​​of the corresponding grids on the three-dimensional model of the moon. Finally, display the generated pixel values ​​in the three-dimensional model of the moon, and the visualization of the scalar field is completed. Users can intuitively see the distribution of physical quantities at different locations on the moon in the three-dimensional interface, such as the strength of the gravity field and the distribution of the magnetic field.

[0074] Step S103B1, if the physical field model is a vector field, determine the direction and size of the arrow according to the value of the physical field model in the grid.

[0075] Specifically, first, read the values ​​of the vector field model in each grid from the organized grid data. These values ​​include the magnitude and direction of the vector, such as the electric field strength and its direction. Decompose the vector data into horizontal and vertical components (or decompose into x, y, z components according to the specific coordinate system) to subsequently determine the direction and size of the arrow. Determine the direction of the arrow at each grid position based on the direction component of the vector. Determine the length or size of the arrow at each grid position based on the magnitude component of the vector. The size of the arrow should be proportional to the magnitude of the vector field to intuitively represent the strength of the physical quantity.

[0076] Step S103B2, displaying arrows corresponding to the physical field model at each grid position on the lunar surface according to the arrow direction and arrow size.

[0077] Specifically, the determined arrow direction and size are mapped to each grid position on the lunar surface. Arrows are drawn on the corresponding grid positions on the lunar surface. Graphics libraries (such as three.js) can be used to draw arrows on web pages, and front-end technologies (such as HTML, CSS) can be used to display them in browsers. The display parameters of the arrows, such as color, transparency, etc., can be adjusted as needed to optimize the visualization effect. For example, different colors can be used to represent different vector fields, or the transparency of the arrows can be adjusted according to the size of the vector field.

[0078] In this embodiment, JavaScript, HTML, CSS and other front-end technologies are used to build a demonstration interface of the moon in the browser.

[0079] In the demonstration interface, for the convenience of display, the lunar surface transparency switch module, the lunar multi-physics field display module, and the lunar earthquake source setting module are set. The detailed functions of the modules are as follows:

[0080] Moon surface transparency switch module: Set whether the moon surface is displayed. If checked, a transparent sphere is displayed. The surface of the sphere is set The longitude and latitude grid.

[0081] Lunar multi-physics field display module: This module sets the gravity field, magnetic field, and electric field switches. After checking, the corresponding physical fields can be displayed on the lunar surface. The accuracy of the gravity field and magnetic field is The scalar field of , using the optical channel, corresponds different values ​​in the physical field to different colors and is laid on the surface of the moon. The electric field is a vector field, using the precision of The longitude and latitude grid is used to represent the lunar surface, and the geometric channel is used to draw arrows at the corresponding positions on the lunar surface. The direction of the arrow represents the direction of the electric field, and the length of the arrow represents the magnitude of the electric field. The geometric channel can include: size, direction, shape, curvature, smoothness, etc. The optical channel can include: brightness, color, transparency, texture, shadow, etc.

[0082] Moonquake source setting module: This module consists of three input boxes, a confirmation button, and a clear button. The three input boxes input the rectangular coordinates of the source. The confirmation button means sending the source position to the back end, and the clear button can clear the contents of the three input boxes. Moonquakes also use optical channels to correspond the amplitude of the internal point of the moon under the source to different transparencies for dynamic display.

[0083] This implementation uses two visual channels to draw multi-physics fields, namely, geometric channel and optical channel. A mapping relationship between multi-physics fields and multi-visual channels is established to achieve the fusion drawing of vector fields and scalar fields, so that scalar field and vector field data can be visualized in the three-dimensional model of the moon, providing users with an intuitive and clear way to represent physical field information, which is an important part of the organization and visual analysis method of multi-physics field data on the moon.

[0084] In some optional implementations, the above step S103A generates pixel values ​​corresponding to the grid according to the values ​​in the grid corresponding to the physical field model, so as to display the physical field model in the three-dimensional model of the moon, including the following steps:

[0085] Step a11, obtaining the earthquake source data input by the user.

[0086] Specifically, a user interface (such as a web form) is provided to allow the user to enter the location data of the earthquake source. The data usually includes the longitude, latitude and depth of the earthquake source, as well as the rectangular coordinates with the center of the moon as the origin. The data entered by the user is verified to ensure that it is valid and conforms to the coordinate system of the moon.

[0087] Step a12, determining the lunar cross section based on the earthquake source data and the lunar center.

[0088] Specifically, a lunar cross section is determined based on the source data and the lunar center point input by the user. Since moonquakes are centrally symmetrical, a cross section including the source and the lunar center point can usually be selected for display. The intersection of the cross section and the lunar surface is calculated to form a circular surface. This circular surface will serve as the main area for moonquake visualization.

[0089] Step a13, select each reference point in the lunar cross section and place the reference point in the grid corresponding to the lunar seismic field model.

[0090] Specifically, the grid distribution on the cross section is determined according to the grid division of the moon. Reference points are selected from the grid on the cross section. These reference points can be the center points of the grid, or the vertices or boundary points of the grid, depending on the accuracy requirements of the visualization. Each reference point is mapped to the grid corresponding to the lunar seismic field model for subsequent calculation of the amplitude.

[0091] Step a14, calculate the amplitude of each grid center point, and render the center point of each grid with different transparencies according to the amplitude to display the moonquake field model.

[0092] Specifically, the amplitude of each grid center point is calculated using moonquake models (such as Ricker wavelets and three-dimensional source attenuation functions). The amplitude represents the vibration intensity of the point under the action of seismic waves. The calculated amplitude is normalized so that it can be uniformly represented during visualization. Normalization usually involves scaling the amplitude value to a specific range. Different transparency values ​​are assigned to each grid center point based on the normalized amplitude value. In the three-dimensional model of the moon, each grid center point is rendered according to its transparency to display the moonquake field model.

[0093] In this embodiment, the visualization of moonquakes is divided into four modules: source input, section determination, data calculation, and return display. The detailed process is as follows:

[0094] Source input: The user inputs the desired source into the moonquake source setting module. After clicking confirm, the input source will be sent to the backend.

[0095] Determine the cross section: Because moonquakes are centrally symmetrical, only one cross section is needed to fully display the moonquake situation. The inner circular surface of the plane composed of the center of the sphere, the epicenter, and the three points (0,0,1) cut by the lunar spherical surface is taken as the cross section, and points are selected on the circular surface. The point selection rules are as follows:

[0096]

[0097] in is the radius of the moon, Represents the polar coordinates on the cross section, Indicates the point position in the radial direction, from 1 to Changes, including Indicates how many rings the cross section is decomposed radially into. Indicates the point position on each ring, from 1 to Changes, including Indicates the number of points on each ring. The effect of the point selection method is shown as follows Figure 3 As shown, at this time , .

[0098] Calculate data: Correspond the selected points to the six-level octree grid that has been segmented. Use the above-mentioned moonquake model to calculate the amplitude of each grid center position, which represents the amplitude of the entire grid. After the calculation is completed, normalize it and convert the data into transparency. Then store it as a JSON file and wait for reading.

[0099] Return display: The front-end program reads the generated JSON file and renders different transparency levels at the corresponding points.

[0100] This implementation enables the visualization of moonquake field data in a three-dimensional model of the moon. This visualization method helps researchers to more intuitively understand the propagation law and impact range of moonquakes.

[0101] In some optional embodiments, coupled visualization of the lunar vector field and scalar field may be performed.

[0102] The visualization method using multiple visual channels is as follows: Figure 4 As shown in the figure, it starts from multi-physics field simulation data, enters multiple visual channels (optical channel and geometric channel) through mapping, and then goes to the complete visualization process of fusion drawing and visualization display.

[0103] In the present invention, the vector field (electric field) is used as a geometric channel, and each quantity of the lunar electric field is represented as an arrow, the length of the arrow represents the magnitude of the electric field, and the direction of the arrow represents the direction of the electric field. The scalar field (magnetic field, gravity field, moonquake) is used as an optical channel for coupled visualization, wherein the magnetic field and gravity field are represented by the colors in the optical channel, and different colors represent different magnitudes of the physical field values ​​at the corresponding positions. The display of moonquakes is not on the lunar surface, but inside the moon. In order to intuitively represent the magnitude of the moonquake, the transparency in the optical channel is used for visualization. The greater the opacity, the greater the amplitude.

[0104] In some optional embodiments, coupled visualization of the lunar scalar field and the scalar field may be performed.

[0105] In the present invention, both the gravity field and the magnetic field are represented by colors in the optical channel and are also visualized on the lunar surface at the same time, but they use different color mapping tables. After data processing, it is found that the data of the magnetic field is more scattered and the features are more prominent. Therefore, when the gravity field and the magnetic field are coupled and visualized, the opacity of the magnetic field is reduced so that the smaller data, that is, the color of the points where the magnetic field is close to 0, is not obvious, thereby highlighting the color of the position with a larger magnetic field value. When drawing the magnetic field on the lunar surface, it is drawn at a position 162km above the moon, and then the gravity field and the magnetic field are rendered simultaneously, so that the distribution pattern of the magnetic field can be seen while observing the gravity field.

[0106] In this embodiment, a visualization device for lunar physical fields is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0107] This embodiment provides a visualization device for the lunar physical field, such as Figure 5 As shown, including:

[0108] The model acquisition module 501 is used to acquire the physical field model of the moon; the type of the physical field model includes at least one of a gravity field, a magnetic field, an electric field and a moonquake field;

[0109] A grid selection module 502 is used to select a grid type according to the spatial range of the physical field model on the moon, and correspond each data in the physical field model to each grid;

[0110] The model display module 503 is used to respond to the physical field display operation and display the corresponding physical field model in the three-dimensional model of the moon according to the data of the physical field model in each grid.

[0111] In some optional implementations, the grid selection module 502 includes:

[0112] The grid type selection unit is used to select the grid type according to the spatial range of the physical field model on the moon.

[0113] The grid accuracy acquisition unit is used to obtain the grid accuracy according to the physical quantity type of the physical field model; the physical quantity type includes vector and scalar.

[0114] The model data corresponding unit is used to correspond various data in the physical field model to various grids according to the grid type and grid accuracy corresponding to the physical field model.

[0115] In some optional implementations, the grid type selection unit includes:

[0116] The first grid type selection subunit is used to select the first grid type if the physical field model is a sphere or a partial space of a sphere; the grid of the first grid type is generated by an octree algorithm.

[0117] The second grid type selection subunit is used to select the second grid type if the physical field model is a spherical surface; the grid of the second grid type is obtained by dividing the longitude and latitude network.

[0118] In some optional implementations, the model display module 503 includes:

[0119] The scalar field display unit is used to generate pixel values ​​corresponding to the grid according to the numerical values ​​in the grid corresponding to the physical field model if the physical field model is a scalar field, so as to display the physical field model in the three-dimensional model of the moon.

[0120] The first vector field display unit is used to determine the direction and size of the arrow according to the value of the physical field model in the grid if the physical field model is a vector field.

[0121] The second vector field display unit is used to display arrows corresponding to the physical field model at each grid position on the lunar surface according to the arrow direction and arrow size.

[0122] In some optional embodiments, the scalar field display unit includes:

[0123] The first lunar earthquake field display unit is used to obtain the earthquake source data input by the user.

[0124] The second lunar earthquake field display unit is used to determine the lunar cross section based on the earthquake source data and the lunar center.

[0125] The third moonquake field display unit is used to select various reference points in the lunar cross section and place the reference points in the grid corresponding to the moonquake field model.

[0126] The fourth moonquake field display unit is used to calculate the amplitude of each grid center point and render the center point of each grid with different transparencies according to the amplitude to display the moonquake field model.

[0127] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0128] The embodiment of the present invention also provides a computer device having the above Figure 5 A visualization device for lunar physical fields is shown.

[0129] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.

[0130] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0131] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0132] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0133] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0134] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0135] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.

[0136] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0137] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0138] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for visualizing lunar physical fields, characterized in that: The method comprises: Acquire a physical field model of the moon; the type of the physical field model includes at least one of a gravity field, a magnetic field, an electric field, and a moonquake field; According to the spatial range of the physical field model on the moon, a grid type is selected correspondingly, and each data in the physical field model is mapped to each grid; In response to the physical field display operation, displaying the corresponding physical field model in the three-dimensional model of the moon according to the data of the physical field model in each grid; The corresponding physical field model is displayed in the three-dimensional model of the moon, including: Get the source data input by the user; Determine the lunar cross section according to the earthquake source data and the lunar sphere center; Selecting each reference point in the lunar cross section and placing the reference point in a grid corresponding to the lunar seismic field model; The amplitude of each grid center point is calculated, and the center point of each grid is rendered with different transparencies according to the amplitude to display the moonquake field model.

2. The method according to claim 1, characterized in that The selecting a grid type according to the spatial range of the physical field model on the moon, and corresponding each data in the physical field model to each grid, includes: Selecting a grid type according to the spatial range of the physical field model on the moon; According to the physical quantity type of the physical field model, the grid accuracy is obtained; the physical quantity type includes vector and scalar; According to the grid type and grid accuracy corresponding to the physical field model, each data in the physical field model is mapped to each grid.

3. The method according to claim 2, characterized in that The grid type is selected according to the spatial range of the physical field model on the moon, including: If the physical field model is a sphere or a partial space of a sphere, a first grid type is selected; the grid of the first grid type is generated by an octree algorithm; If the physical field model is a sphere, a second grid type is selected; the grid of the second grid type is obtained by dividing the longitude and latitude network.

4. The method according to claim 3, characterized in that The method of displaying the corresponding physical field model in the three-dimensional model of the moon according to the data of the physical field model in each grid includes: If the physical field model is a scalar field, pixel values ​​corresponding to the grid are generated according to the numerical values ​​in the grid corresponding to the physical field model, so as to display the physical field model in the three-dimensional model of the moon.

5. The method according to claim 3, characterized in that: The three-dimensional model of the moon displays the corresponding physical field model according to the data of the physical field model in each grid, including: If the physical field model is a vector field, the direction and size of the arrow are determined according to the value of the physical field model in the grid; Arrows corresponding to the physical field model are displayed at various grid positions on the lunar surface according to arrow directions and arrow sizes.

6. A visualization device for lunar physical fields, characterized in that: The device comprises: A model acquisition module, used to acquire a physical field model of the moon; the type of the physical field model includes at least one of a gravity field, a magnetic field, an electric field, and a moonquake field; A grid selection module, used to select a grid type according to the spatial range of the physical field model on the moon, and correspond each data in the physical field model to each grid; A model display module, for displaying the corresponding physical field model in the three-dimensional model of the moon according to the data of the physical field model in each grid in response to the physical field display operation; The corresponding physical field model is displayed in the three-dimensional model of the moon, including: Get the source data input by the user; Determine the lunar cross section according to the earthquake source data and the lunar sphere center; Selecting each reference point in the lunar cross section and placing the reference point in a grid corresponding to the lunar seismic field model; The amplitude of each grid center point is calculated, and the center point of each grid is rendered with different transparencies according to the amplitude to display the moonquake field model.

7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 5 by executing the computer instructions.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 5.

9. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method according to any one of claims 1 to 5.