Sea surface environment simulation method and device, electronic equipment, storage medium and program

By establishing a sea surface mesh model and combining it with rendering processing of viewpoint parameters and real environment data, the problem of insufficient adaptability of marine simulation scenarios in existing technologies has been solved, achieving accurate restoration of sea surface features and improved simulation accuracy.

CN121837531AActive Publication Date: 2026-04-10CHINA STATE SHIPBUILDING CORP NO 707 RES INST
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-13
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing marine simulation methods cannot accurately reproduce the characteristics of the sea surface in different sea areas, at different times and in different seasons, and their adaptability is insufficient.

Method used

By establishing a sea surface grid model of the target sea area, and performing precision processing on the hierarchical display data model of the sea surface network according to the target perspective parameters, and combining it with real sea environment data to perform wave rendering and color rendering, a simulation model of the target sea surface is generated.

Benefits of technology

It has achieved accurate reproduction of the sea surface characteristics of the target sea area, improving the accuracy and reliability of sea surface environment simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121837531A_ABST
    Figure CN121837531A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a sea surface environment simulation method and device, electronic equipment, a storage medium and a program, and the method comprises the steps: building a sea surface grid model of a target sea area; establishing a sea surface network hierarchical display data model corresponding to the sea surface grid model according to the sea surface grid model of the target sea area; performing precision processing on the sea surface network hierarchical display data model according to a target visual angle parameter to obtain a target sea surface network hierarchical display data model; determining an initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model; and performing sea wave rendering and color rendering on the initial sea surface simulation model of the target sea area according to the real sea area environment data of the target sea area to generate a target sea surface simulation model of the target sea area. According to the technical scheme, the sea surface features of the target sea area can be precisely restored, and the precision and reliability of sea surface environment simulation are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic charts and three-dimensional simulation, and in particular to a sea surface environment simulation method and device, an electronic device, a storage medium and a program. BACKGROUND

[0002] The ocean scene has a highly random natural attribute, which puts forward higher requirements for the precision and authenticity of simulation simulation. In the existing construction of the sea simulation scene, the technical personnel usually only simulates the sea surface features by simply adjusting the lighting model parameters, and this method has insufficient adaptability and cannot meet the accurate restoration demand of diversified sea surface features in different sea areas, different times and different seasons. SUMMARY

[0003] The present application provides a sea surface environment simulation method, device, electronic device, storage medium and program, which can accurately restore the sea surface features of the target sea area and improve the precision and reliability of the sea surface environment simulation.

[0004] According to an aspect of the present application, a sea surface environment simulation method is provided, comprising:

[0005] establishing a sea surface grid model of a target sea area;

[0006] establishing a sea surface network hierarchical display data model corresponding to the sea surface grid model according to the sea surface grid model of the target sea area;

[0007] performing precision processing on the sea surface network hierarchical display data model according to a target view angle parameter to obtain a target sea surface network hierarchical display data model;

[0008] determining an initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model;

[0009] performing sea wave rendering and color rendering on the initial sea surface simulation model of the target sea area according to the real sea area environment data of the target sea area to generate a target sea surface simulation model of the target sea area.

[0010] According to another aspect of the present application, a sea surface environment simulation device is provided, comprising:

[0011] a sea surface grid model construction module for establishing a sea surface grid model of a target sea area;

[0012] a sea surface network hierarchical display data model construction module for establishing a sea surface network hierarchical display data model corresponding to the sea surface grid model according to the sea surface grid model of the target sea area;

[0013] The target sea surface network hierarchical display data model determination module is configured to perform precision processing on the sea surface network hierarchical display data model according to the target view angle parameter, and obtain a target sea surface network hierarchical display data model.

[0014] The initial sea surface simulation model determination module is configured to determine an initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model.

[0015] The target sea surface simulation model generation module is configured to perform sea wave rendering and color rendering on the initial sea surface simulation model of the target sea area according to real sea area environment data of the target sea area, and generate a target sea surface simulation model of the target sea area.

[0016] According to another aspect of the present application, an electronic device is provided, which comprises:

[0017] at least one processor; and

[0018] a memory connected to the at least one processor in communication; wherein,

[0019] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the sea surface environment simulation method.

[0020] According to another aspect of the present application, a computer readable storage medium is provided, which stores computer instructions for enabling a processor to implement the sea surface environment simulation method when executed by the processor.

[0021] According to another aspect of the present application, a computer program product is also provided, which comprises a computer program for implementing the sea surface environment simulation method when executed by a processor.

[0022] The present application establishes a sea surface grid model of a target sea area, and establishes a sea surface network hierarchical display data model corresponding to the sea surface grid model of the target sea area. Further, the sea surface network hierarchical display data model is processed in precision according to a target view angle parameter, to obtain a target sea surface network hierarchical display data model, and then an initial sea surface simulation model of the target sea area is determined according to the target sea surface network hierarchical display data model. After obtaining the initial sea surface simulation model, sea wave rendering and color rendering are performed on the initial sea surface simulation model of the target sea area according to real sea area environment data of the target sea area, to generate a target sea surface simulation model of the target sea area. The above-mentioned solution solves the defect of insufficient adaptability of the existing sea surface simulation method, can accurately restore the sea surface features of the target sea area, and improves the precision and reliability of sea surface environment simulation.

[0023] It is to be understood that the details set forth herein do not limit the scope of the application to the specific embodiments described. Rather, the scope of the present application is broadly commensurate with the scope of the appended claims. It is also to be understood that the application can assume alternative embodiments and BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort based on these drawings.

[0025] Figure 1 is a flow chart of a sea surface environment simulation method provided by an embodiment of the present application;

[0026] Figure 2 is a flow chart of a sea surface environment simulation method provided by an embodiment of the present application;

[0027] Figure 3 is a schematic diagram of a sea surface environment simulation device provided by an embodiment of the present application;

[0028] Figure 4 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to make the technical personnel in the art better understand the present application scheme, the following will combine the drawings in the embodiments of the present application, and the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only some embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort should belong to the scope of protection of the present application.

[0030] It should be noted that the terms "first", "second", "target" and "initial" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0031] Embodiment One

[0032] Figure 1 is a flowchart of a sea surface environment simulation method provided by Embodiment One of the present application. The present embodiment can be applied to the case where a sea surface simulation model of a target sea area is generated according to real sea area environment data of the target sea area. The method can be executed by a sea surface environment simulation device, which can be implemented in software and / or hardware and generally integrated in an electronic device. The electronic device can be a terminal device or a server device, as long as it can execute the sea surface environment simulation method. The present application does not limit the specific type of the electronic device. Correspondingly, as shown in Figure 1 the method includes the following operations:

[0033] S110, establishing a sea surface grid model of a target sea area.

[0034] The target sea area can be a sea area to be simulated for sea surface environment. The sea surface grid model can be a model of discretizing a continuous sea surface into a regular or irregular grid structure.

[0035] In the present embodiment, to simulate the marine environment of the target sea area, a preset ellipsoid reference surface can be used as a spatial coordinate reference datum to construct a sea surface grid model covering the geographical range of the target sea area, thereby providing a basic geometric carrier for subsequent numerical simulation and visual rendering of marine environment elements.

[0036] S120, establishing a sea surface network hierarchical display data model corresponding to the sea surface grid model according to the sea surface grid model of the target sea area.

[0037] The sea surface network hierarchical display data model can be a hierarchical data organization and scheduling model for visualization of the target sea area, which is established according to the sea surface grid model of the target sea area.

[0038] Correspondingly, after the sea surface grid model of the target sea area is established, a sea surface quadtree data model can be constructed based on the sea surface grid model of the target sea area, and the sea surface quadtree data model can be used as the sea surface network hierarchical display data model. The multi-resolution hierarchical feature and efficient spatial indexing capability of the quadtree structure can realize the hierarchical display function of the detail level of the sea surface grid of the target sea area.

[0039] S130, performing precision processing on the sea surface network hierarchical display data model according to target view angle parameters, to obtain a target sea surface network hierarchical display data model.

[0040] The target view parameter can be a parameter set for representing a virtual observation state of a user on the target sea area sea surface grid model. For example, the target view parameter can include, but is not limited to, a viewpoint spatial coordinate, an observation direction vector, a field of view angle range, and an observation distance, and the like, and embodiments of the present application do not limit the specific type of the target view parameter. The target sea surface network hierarchical display data model can be a sea surface network hierarchical display data model that meets the current display precision.

[0041] Correspondingly, after the sea surface network hierarchical display data model corresponding to the sea surface grid model is established, the current display precision of the sea surface network hierarchical display data model can be calculated and determined according to the target view parameter set in advance. Further, the target sea surface network hierarchical display data model that meets the precision requirement can be extracted and generated from the constructed sea surface network hierarchical display data model according to the current display precision as a screening basis.

[0042] S140, determining an initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model.

[0043] The initial sea surface simulation model can be used to represent a simulation model of a static sea surface environment of the target sea area.

[0044] Correspondingly, after the target sea surface network hierarchical display data model is obtained, the initial sea surface simulation model for subsequent dynamic sea surface simulation calculation can be generated by model encapsulation and geometric topology reconstruction, taking the target sea surface network hierarchical display data model as the core data basis and construction benchmark.

[0045] Optionally, the initial sea surface simulation model of the target sea area can be subjected to a view pyramid clipping operation according to the target view parameter, the redundant geometric data of the initial sea surface simulation model located outside the current view pyramid is removed, and only the effective display part within the view pyramid is retained, so that the data amount of subsequent rendering is greatly reduced, and the rendering efficiency is improved.

[0046] S150, performing sea wave rendering and color rendering on the initial sea surface simulation model of the target sea area according to real sea area environment data of the target sea area, to generate a target sea surface simulation model of the target sea area.

[0047] The real sea area environment data can be real environment data of the target sea area obtained by a standardized observation method. For example, the real sea area environment data can include, but is not limited to, sea current flow data, wave data, water color parameter information, and transparency parameter information, and the like, and embodiments of the present application do not limit the specific parameters included in the real sea area environment data. The target sea surface simulation model can be a simulation model for representing a dynamic sea surface environment of the target sea area.

[0048] Different sea areas, time and seasonal conditions, sea level, sea waves, sea currents, water color and transparency are different, therefore, it is difficult to reflect the characteristics of the sea surface under different sea areas, time and seasonal conditions by simply adjusting the light parameters to simulate the sea surface characteristics.

[0049] Therefore, in the embodiment of the present application, after determining the initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model, the initial sea surface simulation model can be used as a basic framework. According to the real sea area environment data of the target sea area, the superposition rendering of the dynamic sea wave form and the matching rendering of the sea surface visual color are sequentially performed for the static sea surface environment of the target sea area, so as to generate the target sea surface simulation model which can accurately represent the dynamic sea surface environment of the target sea area. In a specific example, the real sea area environment data of the target sea area can be obtained by satellite remote sensing detection or marine field observation. Specifically, satellite remote sensing detection can be used to obtain real sea area environment data with large range and high spatio-temporal resolution; marine field observation can obtain high-precision local real sea area environment data through measuring wave buoys, current profilers or underwater detection equipment, and the specific acquisition method of real sea area environment data is not limited in the embodiment of the present application.

[0050] As can be seen, the sea surface environment simulation method provided by the embodiment of the present application processes the sea surface network hierarchical display data model through target view angle parameters, can generate a target sea surface network hierarchical display data model that accurately matches the actual observation angle requirements, and guarantees the accuracy of the sea surface simulation result from the bottom precision layer of the data model. At the same time, the present scheme performs sea wave rendering and color rendering on the initial sea surface simulation model of the target sea area through the real sea area environment data of the target sea area, so that the finally generated simulation model can accurately reproduce the real sea surface environment characteristics of the target sea area, greatly improving the realism and scene adaptability of the sea surface simulation.

[0051] The embodiment of the present application establishes a sea surface grid model of the target sea area, and establishes a sea surface network hierarchical display data model corresponding to the sea surface grid model according to the sea surface grid model of the target sea area. Further, the sea surface network hierarchical display data model is processed in precision according to the target view angle parameters, and the target sea surface network hierarchical display data model is obtained, and then the initial sea surface simulation model of the target sea area is determined according to the target sea surface network hierarchical display data model. After obtaining the initial sea surface simulation model, the initial sea surface simulation model of the target sea area is rendered in sea wave and color according to the real sea area environment data of the target sea area, and the target sea surface simulation model of the target sea area is generated. The above scheme solves the defect of insufficient adaptability of the existing sea surface simulation method, can accurately restore the sea surface characteristics of the target sea area, and improves the precision and reliability of the sea surface environment simulation.

[0052] Embodiment two

[0053] Figure 2 is a flowchart of a sea surface environment simulation method provided by Embodiment Two of the present application. Embodiment Two is based on the above-mentioned embodiments and is embodied in the present embodiment. In the present embodiment, a specific optional implementation of establishing a sea surface grid model of a target sea area, performing precision processing on a sea surface network hierarchical display data model according to target perspective parameters to obtain a target sea surface network hierarchical display data model, and performing sea wave rendering and color rendering on an initial sea surface simulation model of the target sea area according to real sea area environment data of the target sea area to generate a target sea surface simulation model of the target sea area is given. Correspondingly, as shown in Figure 2 , the method of the present embodiment can include:

[0054] S210, obtaining sea surface height data and tide data of the target sea area.

[0055] The sea surface height data can be the vertical height of the ocean surface of the target sea area relative to a reference datum at a certain moment. The tide data can be a set of quantitative data obtained by observing, counting and modeling the periodic fluctuation phenomenon of the ocean water body of the target sea area. The tide data can be used to represent the periodic variation law of the sea surface height data over time.

[0056] In the present embodiment, to establish a sea surface grid model of a target sea area, the sea surface height data and tide data of the target sea area can be obtained first.

[0057] S220, establishing a sea surface datum grid model of the target sea area according to the sea surface height data of the target sea area.

[0058] The sea surface datum grid model can be a grid model of the target sea area established according to the sea surface height data.

[0059] Correspondingly, after obtaining the sea surface height data of the target sea area, the sea surface height data can be subjected to spatial coordinate conversion and gridding interpolation processing based on a preset ellipsoid datum, and then a sea surface datum grid model of the target sea area is established. Exemplarily, the sea surface datum grid model can include [lon, lat, h s ]. Wherein, lon represents the longitude of any position in the target sea area, lat represents the latitude of any position in the target sea area, and h s represents the sea surface height data of any position in the target sea area.

[0060] S230, correcting the sea surface datum grid model of the target sea area according to the tide data to obtain a sea surface grid model of the target sea area.

[0061] Correspondingly, after the sea surface reference grid model of the target sea area is established according to the sea surface height data of the target sea area, the sea surface height data in the sea surface reference grid model of the target sea area can be corrected by using the tidal data, so as to obtain the sea surface grid model of the target sea area.

[0062] In an optional embodiment of the present application, the sea surface reference grid model of the target sea area is corrected according to the tidal data, and the sea surface grid model of the target sea area is obtained, which can include: calculating the tidal height deviation of each grid in the sea surface reference grid model according to the tidal data; correcting the sea surface height data of each grid in the sea surface reference grid model according to the tidal height deviation of each grid, so as to obtain the sea surface grid model of the target sea area.

[0063] The tidal height deviation can be the height deviation between the actual observation value and the theoretical value of the tidal data.

[0064] In the embodiments of the present application, when the sea surface reference grid model of the target sea area is corrected according to the tidal data, and the sea surface grid model of the target sea area is obtained, the simulation system can be connected to the tidal system, and based on the input time parameter t, the tidal system core parameter T and the geographical space feature parameter G S , the tidal height deviation of each grid in the sea surface reference grid model at different times is calculated through a preset algorithm model . Further, the sea surface height data of each grid in the sea surface reference grid model can be corrected according to the tidal height deviation of each grid, so as to obtain the corrected sea surface grid model of the target sea area, thereby effectively eliminating the interference of the tidal periodic deviation on the sea surface height data, reducing the absolute error of the corrected sea surface height data by more than one order of magnitude, and making the corrected sea surface height data closer to the real sea surface height of the target sea area. In a specific example, the sea surface grid model can include , wherein, .

[0065] S240, establishing the sea surface network hierarchical display data model corresponding to the sea surface grid model of the target sea area.

[0066] S250, determining the current sea surface network hierarchical display node of the sea surface network hierarchical display data model.

[0067] The current sea surface network hierarchical display node can be the node data for the current sea surface simulation display task in the sea surface network hierarchical display data model.

[0068] Specifically, after the sea surface network hierarchical display data model is determined, the current sea surface network hierarchical display node for the current sea surface simulation display task can be determined from the sea surface network hierarchical display data model in a random selection manner.

[0069] S260, evaluate the rendering pressure of the current sea surface network hierarchical display node according to the target view angle parameter, to obtain an accuracy evaluation factor of the current sea surface network hierarchical display node.

[0070] The accuracy evaluation factor can be data obtained by quantitatively evaluating the accuracy performance of each node in the current sea surface simulation display task.

[0071] Correspondingly, after determining the current sea surface network hierarchical display node of the sea surface network hierarchical display data model, the real-time rendering pressure of the current sea surface network hierarchical display node can be evaluated according to the target view angle parameter and the actual performance of the hardware device, to obtain the accuracy evaluation factor of the current sea surface network hierarchical display node, so that the accuracy of the matching of the current sea surface network hierarchical display node can be processed according to the accuracy evaluation factor.

[0072] In an optional embodiment of the present application, the evaluation of the rendering pressure of the current sea surface network hierarchical display node according to the target view angle parameter to obtain the accuracy evaluation factor of the current sea surface network hierarchical display node can include: calculating the accuracy evaluation factor of the current sea surface network hierarchical display node based on the following formula:

[0073] ;

[0074] wherein, the accuracy evaluation factor of the current sea surface network hierarchical display node, the distance from the current sea surface network hierarchical display node to the target view angle observation point, the earth line-of-sight distance, the first performance parameter constant, the second performance parameter constant, the hierarchical length of the current sea surface network hierarchical display node, the wind and snow sea fog illumination attenuation correction parameter, the rain and snow intensity, the sea fog coefficient, and Table 1 is a specific example of the wind and snow sea fog illumination attenuation correction parameter table.

[0075] Table 1 Wind and snow sea fog illumination attenuation correction parameter table

[0076]

[0077] wherein, and According to the adaptation requirements of different graphics cards in the sea surface environment simulation system, the system display frame rate and the subjective use experience of the user are comprehensively set, and the user setting is solidified and does not need to be set again. For example, when the sea surface environment simulation system is equipped with a high-performance graphics card, the sea surface environment simulation system has a high display frame rate and a smooth picture rendering, and then the values of and are set to be relatively loose. When the sea surface environment simulation system is equipped with a low-performance graphics card, the sea surface environment simulation system has a low display frame rate and is prone to picture freezing, and then the values of and are set to be relatively strict. It can be understood that the user can adjust and set the values of and according to the system hardware parameters until the display frame rate of the sea surface environment simulation system is stable. For example, the initial value of is set to 3500, and the initial value of is set to 40, and the specific values of and are not limited in the embodiment of the application.

[0078] S270, performing precision processing on the current sea surface network hierarchical display node according to the precision evaluation factor of the current sea surface network hierarchical display node to obtain a target sea surface network hierarchical display data model.

[0079] The target sea surface network hierarchical display data model can be a sea surface network hierarchical display data model matched with the target view angle parameter and the actual performance of the hardware device.

[0080] Specifically, after obtaining the precision evaluation factor of the current sea surface network hierarchical display node, the matching degree of the current sea surface network hierarchical display node with the target view angle parameter and the actual performance of the hardware device can be determined according to the precision evaluation factor of the current sea surface network hierarchical display node. On this basis, the current sea surface network hierarchical display node can be subjected to targeted precision optimization processing based on the precision evaluation factor, and finally a target sea surface network hierarchical display data model meeting the preset display requirement is obtained.

[0081] In an optional embodiment of the application, the precision processing on the current sea surface network hierarchical display node according to the precision evaluation factor of the current sea surface network hierarchical display node can include: in the case where the value of the precision evaluation factor of the current sea surface network hierarchical display node is less than a preset threshold, the current sea surface network hierarchical display node is subjected to hierarchical processing again.

[0082] The preset threshold value can be a threshold value of the pre-set precision evaluation factor. For example, the preset threshold value can be 1, and the embodiment of the present application does not limit the specific value of the preset threshold value.

[0083] In the embodiment of the present application, when the precision of the current sea surface network hierarchical display node is processed according to the precision evaluation factor of the current sea surface network hierarchical display node, first, whether the precision of the current sea surface network hierarchical display node meets the standard can be determined according to the precision evaluation factor. If the value of the precision evaluation factor of the current sea surface network hierarchical display node is less than the preset threshold value, it indicates that the current precision level of the current sea surface network hierarchical display node cannot meet the demand of the target display scene, at this time, the node subdivision process is started, and the grid subdivision and node refinement of the sea surface network hierarchical display node are further performed, so as to increase the number and density of the nodes and improve the overall display precision. If the value of the precision evaluation factor of the current sea surface network hierarchical display node is greater than or equal to the preset threshold value, it indicates that the current precision level of the current sea surface network hierarchical display node can meet the demand of the target display scene, and the precision of the current sea surface network hierarchical display node does not need to be processed.

[0084] S280, determining an initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model.

[0085] S290, performing far-view angle rendering on the initial sea surface simulation model according to the sea current flow data of the target sea area, to obtain a far-view angle sea wave model of the target sea surface simulation model.

[0086] The sea current flow data can be a data set formed by observing, collecting and sorting the flow state and related properties of seawater in the ocean. The far-view angle sea wave model can be a sea wave model under far-view angle conditions.

[0087] Specifically, after obtaining the initial sea surface simulation model of the target sea area, the initial sea surface simulation model can be simultaneously rendered in a far-view angle and a near-view angle to simulate the dynamic sea wave of the target sea area. Specifically, under far-view angle conditions, the initial sea surface simulation model can be rendered according to the sea current flow data of the target sea area based on the vector displacement texture mapping mode of the sea current, to obtain a far-view angle sea wave model of the target sea surface simulation model. It can be understood that the far-view angle can be an observation mode in which the observation point is far away from the target sea area and the field of view covers a large range of ocean areas.

[0088] In an optional embodiment of the present application, the far-view angle rendering of the initial sea surface simulation model according to the sea current flow data of the target sea area to obtain the far-view angle sea wave model of the target sea surface simulation model can comprise: determining a sea current flow vector of the target sea area according to the sea current flow data; generating a sea current texture of the target sea area according to the sea current flow vector; wherein the sea current texture comprises a reference sea current texture and a disturbed sea current texture; constructing a first sea wave texture sampling phase of the reference sea current texture and a second sea wave texture sampling phase of the disturbed sea current texture; sampling the reference sea current texture according to the first sea wave texture sampling phase to obtain reference sea current texture sampling data; sampling the disturbed sea current texture according to the second sea wave texture sampling phase to obtain disturbed sea current texture sampling data; determining a fusion weight according to the first sea wave texture sampling phase, and performing weighted fusion on the reference sea current texture sampling data and the disturbed sea current texture sampling data according to the fusion weight to obtain the far-view angle sea wave model of the target sea surface simulation model.

[0089] The sea current flow vector can be data for representing the motion direction and motion rate of the sea current at a certain spatial position and at a certain time. The sea current texture can be the distribution mode, variation law and visualized presentation form of the flow rate, flow direction and flow state and the like of the sea current in space. Exemplarily, the sea current texture can include but is not limited to the reference sea current texture and the disturbed sea current texture, and the embodiments of the present application do not limit the specific type of the sea current texture. The reference sea current texture can be a standardized and reusable reference texture template constructed based on the sea current flow data under standard conditions in the sea surface environment simulation scene. The disturbed sea current texture can be a texture form reflecting the abnormal flow state of the sea current after superimposing various disturbance factors in the marine environment on the basis of the reference sea current texture. The first sea wave texture sampling phase can be a reference phase for sampling the reference sea current texture. The second sea wave texture sampling phase can be a reference phase for sampling the disturbed sea current texture. The reference sea current texture sampling data can be data obtained by sampling the reference sea current texture at the first sea wave texture sampling phase. The disturbed sea current texture sampling data can be data obtained by sampling the disturbed sea current texture at the second sea wave texture sampling phase. The fusion weight can be a weight parameter determined according to the first sea wave texture sampling phase.

[0090] In the embodiment of the present application, when rendering the initial sea surface simulation model from a far view angle according to the sea current flow data of the target sea area to obtain a far view sea wave model of the target sea surface simulation model, first, the sea current flow data of the target sea area can be acquired, and then the sea current flow vector of the target sea area can be determined according to the sea current flow data of the target sea area. Further, the sea current flow space capable of reflecting the spatial distribution law of the sea current of the target sea area can be constructed with the sea current flow vector as the core parameter. On this basis, the reference sea current texture and the disturbed sea current texture of the target sea area can be parsed and determined by a texture extraction algorithm based on the sea current flow space.

[0091] In a specific example, the sea current flow space can be constructed based on the following formula:

[0092] ;

[0093] wherein, represents a sea current flow factor, used to represent the specific flow state of a certain moment or position in the sea current flow space, is the sea current flow vector, represents the normalization processing of . By , the normalized sea current flow vector can be mapped between (-1, 1) to realize the bidirectional flow effect of the sea current.

[0094] After determining the sea current texture of the target sea area, the first sea wave texture sampling phase of the reference sea current texture and the second sea wave texture sampling phase of the disturbed sea current texture can be constructed. In a specific example, the sea wave texture sampling phase can be constructed based on the following formula:

[0095] ;

[0096] ;

[0097] wherein, is the first sea wave texture sampling phase, is the second sea wave texture sampling phase.

[0098] Further, the reference sea current texture can be sampled according to the first sea wave texture sampling phase to obtain reference sea current texture sampling data. At the same time, the disturbed sea current texture can be sampled according to the second sea wave texture sampling phase to obtain disturbed sea current texture sampling data. Further, the fusion weight can be determined according to the first sea wave texture sampling phase based on the following formula:

[0099] ;

[0100] On the basis of determining the fusion weight, the reference sea current texture sampling data and the disturbed sea current texture sampling data can be weighted fused according to the fusion weight based on the following formula to obtain the far view sea wave model of the target sea surface simulation model:

[0101] ;

[0102] wherein, is the fusion weight, is the sea wave texture at the current moment under the far view angle condition, is the reference sea current texture sampling data, is the disturbed sea current texture sampling data.

[0103] S2100, according to the wave data of the target sea area, the initial sea surface simulation model is rendered under the near view angle to obtain the near view sea wave model of the target sea surface simulation model.

[0104] Wherein, the wave data can be a set of quantitative information obtained by observing, measuring and counting the wave motion characteristics in the target sea area. The near view sea wave model can be a sea wave model under the near view angle condition.

[0105] Specifically, the initial sea surface simulation model can be rendered according to the wave data of the target sea area under the near view angle condition to obtain the near view sea wave model of the target sea surface simulation model. It can be understood that the near view can be an observation mode in which the observation point is close to the target sea area and the field of view focuses on a small range of local sea area.

[0106] In an optional embodiment of the present application, the near view sea wave model of the target sea surface simulation model can be obtained by rendering the initial sea surface simulation model according to the wave data of the target sea area, which can include: establishing a mapping relationship between the sea surface grid model and the wave particle; generating a near view sea wave model correction coefficient according to the wave data of the target sea area; generating the near view sea wave model of the target sea surface simulation model according to the mapping relationship between the sea surface grid model and the wave particle and the near view sea wave model correction coefficient.

[0107] Wherein, the near view sea wave model correction coefficient can be a coefficient for converting the vertical amplitude of the wave in the target sea area into horizontal displacement.

[0108] In the embodiment of the present application, when the initial sea surface simulation model is rendered at a near view angle according to the wave data of the target sea area to obtain a near view sea wave model of the target sea surface simulation model, first, a dynamic sea wave can be constructed by a sea surface wave particleization method, and a wave particleization processing method is used for the sea surface grid of different nodes to establish a corresponding mapping relationship of "grid node-time-corrected sea surface height data". On this basis, the near view sea wave model correction coefficient of each grid node at different times can be calculated under the near view rendering condition based on the above mapping relationship and in combination with the wave data of the target sea area.

[0109] Further, the near view sea wave model of the target sea surface simulation model can be generated according to the mapping relationship between the sea surface grid model and the wave particle and the near view sea wave model correction coefficient. The above model can not only reflect the real characteristics of dynamic waves, but also meet the requirement of detail accuracy of near view rendering.

[0110] In an optional embodiment of the present application, the generation of the near view sea wave model of the target sea surface simulation model according to the mapping relationship between the sea surface grid model and the wave particle and the near view sea wave model correction coefficient can include: generating the near view sea wave model of the target sea surface simulation model based on the following formula:

[0111] ;

[0112] Wherein, is a forward movement model of the wave particle, is a fluctuation model of the wave particle, and together constitute the near view sea wave model of the target sea surface simulation model, is an initial position of the wave particle, is an initial height of the wave particle, is an amplitude of the wave data, is a wave number, is the near view sea wave model correction coefficient, , is a wavelength, , is a wave period, is a gravitational acceleration, is an angular frequency, , is time, is a first roller correction function, is a second roller correction function, is a current velocity, is an angle between the water flow and the wave direction.

[0113] Wherein:

[0114] ;

[0115] ;

[0116] ;

[0117] ;

[0118] in, For steep waves, , For example, to make the critical wave steep, one could... Set as the typical critical value for deep-water wave breaking; The wave-current dimensionless ratio, For wave speed, The angle between the water flow and the wave direction. For the critical wave-current ratio, for example, it can be... Set to the critical value at which water flow significantly affects waves; This is a smooth step function. Optionally, the Heaviside step can be replaced with the Sigmoid function to avoid discontinuities.

[0119] S2110. Render the target sea surface simulation model with color based on the water color parameter information and transparency parameter information of the target sea area.

[0120] Among these, water color parameters can be quantitative indicators used to characterize the color and optical properties of seawater in the target sea area. Transparency parameters can be indicators used to characterize the clarity of seawater in the target sea area.

[0121] Specifically, after rendering the distant and near-view wave models in the target sea surface simulation model, the target sea surface simulation model can be further color-rendered based on the real water color and transparency parameters of the target sea area, so that the visual representation of the rendering result matches the real optical characteristics of the target sea area.

[0122] In an optional embodiment of the present application, the color rendering of the target sea surface simulation model according to the water color parameter information and the transparency parameter information of the target sea area can include: calculating Fresnel reflectivity according to the water color parameter information and the transparency parameter information of the target sea area; obtaining environmental texture information of the target sea area; sampling the environmental texture information according to a camera direction parameter of the target sea surface simulation model to obtain reflection color data of the target sea surface simulation model; determining refraction color data of the target sea surface simulation model based on a preset seawater refraction color table according to the water color parameter information and the transparency parameter information of the target sea area; and weighting and fusing the reflection color data and the refraction color data according to the Fresnel reflectivity to obtain rendering color data of the target sea surface simulation model; and performing color rendering on the target sea surface simulation model according to the rendering color data.

[0123] The Fresnel reflectivity can be a ratio of reflected light flux to incident light flux when light is reflected and transmitted on the interface between two different optical media. The environmental texture information can be a set of digital parameters for characterizing the visual features and details of the target sea area and the surrounding environment. The camera direction parameter can be a set of core parameters for defining the orientation and viewing angle of the virtual camera in the three-dimensional scene in the sea surface environment simulation scene. The reflection color data can be a set of digital parameters for characterizing the wavelength distribution, color saturation and brightness characteristics of the reflected light of the target sea area under natural light or artificial light source. The preset seawater refraction color table can be a standard table data determined according to the corresponding relationship between the water color parameter information, the transparency parameter information and the seawater refraction color. The refraction color data can be a set of digital parameters for characterizing the wavelength distribution, transparency and hue characteristics of the outward radiation light after the light penetrates the medium interface into the seawater of the target sea area and is scattered and absorbed. The rendering color data can be color data for color rendering of the target sea surface simulation model.

[0124] In the embodiment of the present application, when the target sea surface simulation model is color rendered according to the water color parameter information and the transparency parameter information of the target sea area, the Fresnel reflectivity can be calculated according to the water color parameter information and the transparency parameter information of the target sea area based on the following formula:

[0125] ;

[0126] wherein, the Fresnel reflectivity, the reference Fresnel reflectivity, for example, may be the reflectivity when the optical fiber is vertically incident, the normal direction of the target sea area, the camera direction, a Fresnel reflectance correction term determined according to the water color parameter information and the transparency parameter information, water color parameter information, transparency parameter information. Table 2 is a specific example of the Fresnel reflectance correction term parameter table.

[0127] Meanwhile, the environmental texture of the target sea area can be generated according to the real environmental information of the target sea area, so as to provide the target sea surface simulation model with real environmental reflection, refraction or indirect lighting effects. On this basis, the environmental texture information can be sampled according to the camera direction parameter of the target sea surface simulation model, so as to obtain the reflection color data of the target sea surface simulation model.

[0128] Table 2 Fresnel reflectance correction term parameter table

[0129]

[0130] In addition, a preset seawater refraction color table can also be established according to the corresponding relationship among the water color parameter information, the transparency parameter information and the seawater refraction color. Table 3 is a specific example of the preset seawater refraction color table. The user can establish the corresponding relationship among the water color parameter information, the transparency parameter information and the seawater refraction color according to the simulation requirements, and the specific content of the preset seawater refraction color table is not limited by the embodiments of the present application. Further, the preset seawater refraction color table can be searched according to the water color parameter information and the transparency parameter information of the target sea area, and the refraction color data of the target sea surface simulation model can be determined through a nearest linear interpolation method.

[0131] After the above data is obtained, the reflection color data and the refraction color data can be weighted and fused according to the Fresnel reflectance based on the following formula, so as to obtain the rendering color data of the target sea surface simulation model, and the target sea surface simulation model can be color rendered according to the rendering color data:

[0132] ;

[0133] wherein, the rendering color data, the reflection color data, the refraction color data.

[0134] Table 3 preset seawater refraction color table

[0135]

[0136] The embodiment of the present application obtains the sea surface height data and the tide data of the target sea area, establishes the sea surface reference grid model of the target sea area according to the sea surface height data of the target sea area, and then corrects the sea surface reference grid model of the target sea area according to the tide data to obtain the sea surface grid model of the target sea area. Further, the sea surface grid model corresponding to the sea surface network hierarchical display data model is established according to the sea surface grid model of the target sea area. On this basis, the current sea surface network hierarchical display node of the sea surface network hierarchical display data model is determined, and then the rendering pressure of the current sea surface network hierarchical display node is evaluated according to the target view angle parameter to obtain the precision evaluation factor of the current sea surface network hierarchical display node. After obtaining the precision evaluation factor of the current sea surface network hierarchical display node, the precision of the current sea surface network hierarchical display node is processed according to the precision evaluation factor of the current sea surface network hierarchical display node to obtain the target sea surface network hierarchical display data model, and the initial sea surface simulation model of the target sea area is determined according to the target sea surface network hierarchical display data model. After obtaining the initial sea surface simulation model of the target sea area, the initial sea surface simulation model is rendered at a far view angle according to the sea current flow data of the target sea area to obtain a far view angle sea wave model of the target sea surface simulation model. At the same time, the initial sea surface simulation model is rendered at a near view angle according to the wave data of the target sea area to obtain a near view angle sea wave model of the target sea surface simulation model. Further, the target sea surface simulation model is color rendered according to the water color parameter information and the transparency parameter information of the target sea area. The above scheme solves the defect of insufficient adaptability of the existing sea surface simulation method, can accurately restore the sea surface features of the target sea area, and improves the precision and reliability of the sea surface environment simulation.

[0137] In the technical scheme of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information comply with relevant laws and regulations and do not violate public order and good customs.

[0138] It should be noted that the related information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, analyzed data, etc.) involved in the present disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data comply with relevant laws, regulations and standards in the relevant region.

[0139] It should be noted that any arrangement and combination of the technical features among the above embodiments also belong to the protection scope of the present application.

[0140] Embodiment three

[0141] Figure 3 is a schematic diagram of a sea surface environment simulation device provided by the third embodiment of the present application, as Figure 3As shown, the device comprises: a sea surface grid model construction module 310, a sea surface network hierarchical display data model construction module 320, a target sea surface network hierarchical display data model determination module 330, an initial sea surface simulation model determination module 340, and a target sea surface simulation model generation module 350, wherein:

[0142] The sea surface grid model construction module 310 is configured to establish a sea surface grid model of a target sea area.

[0143] The sea surface network hierarchical display data model construction module 320 is configured to establish a sea surface network hierarchical display data model corresponding to the sea surface grid model according to the sea surface grid model of the target sea area.

[0144] The target sea surface network hierarchical display data model determination module 330 is configured to perform precision processing on the sea surface network hierarchical display data model according to a target view angle parameter to obtain a target sea surface network hierarchical display data model.

[0145] The initial sea surface simulation model determination module 340 is configured to determine an initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model.

[0146] The target sea surface simulation model generation module 350 is configured to perform sea wave rendering and color rendering on the initial sea surface simulation model of the target sea area according to real sea area environment data of the target sea area to generate a target sea surface simulation model of the target sea area.

[0147] The embodiment of the present application establishes a sea surface grid model of a target sea area, and establishes a sea surface network hierarchical display data model corresponding to the sea surface grid model according to the sea surface grid model of the target sea area. Further, the sea surface network hierarchical display data model is processed in precision according to a target view angle parameter to obtain a target sea surface network hierarchical display data model, and then an initial sea surface simulation model of the target sea area is determined according to the target sea surface network hierarchical display data model. After obtaining the initial sea surface simulation model, sea wave rendering and color rendering are performed on the initial sea surface simulation model of the target sea area according to real sea area environment data of the target sea area to generate a target sea surface simulation model of the target sea area. The above scheme solves the defect of insufficient adaptability of the existing sea surface simulation method, can accurately restore the sea surface features of the target sea area, and improves the precision and reliability of the sea surface environment simulation.

[0148] Optionally, the sea surface grid model construction module 310 is specifically configured to: acquire sea surface height data and tide data of the target sea area; establish a sea surface reference grid model of the target sea area according to the sea surface height data of the target sea area; and correct the sea surface reference grid model of the target sea area according to the tide data to obtain the sea surface grid model of the target sea area.

[0149] Optionally, the sea surface grid model construction module 310 is further configured to: calculate a tidal height deviation of each grid in the sea surface reference grid model according to the tidal data; and correct the sea surface height data of each grid in the sea surface reference grid model according to the tidal height deviation of each grid, to obtain the sea surface grid model of the target sea area.

[0150] Optionally, the target sea surface network hierarchical display data model determination module 330 is specifically configured to: determine a current sea surface network hierarchical display node of the sea surface network hierarchical display data model; evaluate a rendering pressure of the current sea surface network hierarchical display node according to the target view angle parameter, to obtain an accuracy evaluation factor of the current sea surface network hierarchical display node; and perform accuracy processing on the current sea surface network hierarchical display node according to the accuracy evaluation factor of the current sea surface network hierarchical display node.

[0151] Optionally, the target sea surface network hierarchical display data model determination module 330 is further configured to: calculate the accuracy evaluation factor of the current sea surface network hierarchical display node based on the following formula:

[0152] ;

[0153] wherein, the accuracy evaluation factor of the current sea surface network hierarchical display node is, a distance from the current sea surface network hierarchical display node to a target view angle observation point, an earth line-of-sight distance, a first performance parameter constant, a second performance parameter constant, a length of a hierarchical level of the current sea surface network hierarchical display node, a wind, snow, sea fog, and light attenuation correction parameter, a rain and snow intensity, a sea fog coefficient.

[0154] Optionally, the target sea surface network hierarchical display data model determination module 330 is further configured to: in a case where a value of the accuracy evaluation factor of the current sea surface network hierarchical display node is less than a preset threshold, perform hierarchical processing on the current sea surface network hierarchical display node again.

[0155] Optionally, the target sea surface simulation model generation module 350 is specifically configured to: perform far-view angle rendering on the initial sea surface simulation model according to the sea current flow data of the target sea area, to obtain a far-view angle sea wave model of the target sea surface simulation model; perform near-view angle rendering on the initial sea surface simulation model according to the wave data of the target sea area, to obtain a near-view angle sea wave model of the target sea surface simulation model; and perform color rendering on the target sea surface simulation model according to the water color parameter information and the transparency parameter information of the target sea area.

[0156] Optionally, the target sea surface simulation model generation module 350 is further configured to: determine a sea current flow vector of the target sea area according to the sea current flow data; generate a sea current texture of the target sea area according to the sea current flow vector; wherein the sea current texture comprises a reference sea current texture and a disturbed sea current texture; construct a first sea wave texture sampling phase of the reference sea current texture and a second sea wave texture sampling phase of the disturbed sea current texture; sample the reference sea current texture according to the first sea wave texture sampling phase to obtain reference sea current texture sampling data; sample the disturbed sea current texture according to the second sea wave texture sampling phase to obtain disturbed sea current texture sampling data; determine a fusion weight according to the first sea wave texture sampling phase, and perform weighted fusion on the reference sea current texture sampling data and the disturbed sea current texture sampling data according to the fusion weight, to obtain the far-view angle sea wave model of the target sea surface simulation model.

[0157] Optionally, the target sea surface simulation model generation module 350 is further configured to: establish a mapping relationship between the sea surface grid model and the wave particles; generate a near-view angle sea wave model correction coefficient according to the wave data of the target sea area; and generate the near-view angle sea wave model of the target sea surface simulation model according to the mapping relationship between the sea surface grid model and the wave particles and the near-view angle sea wave model correction coefficient.

[0158] Optionally, the target sea surface simulation model generation module 350 is further configured to: generate the near-view angle sea wave model of the target sea surface simulation model based on the following formula:

[0159] ;

[0160] wherein, is a forward movement model of the wave particle, is a fluctuation model of the wave particle, and together constitute the near-view angle sea wave model of the target sea surface simulation model, is an initial position of the wave particle, is an initial height of the wave particle, is an amplitude of the wave data, is the wave number, is the near-vision angle sea wave model correction coefficient, , is the wave length, , is the wave period, is the gravity acceleration, is the angular frequency, , is the time, is the first roller wave correction function, is the second roller wave correction function, is the sea current velocity, is the water flow and wave direction angle.

[0161] Optionally, the target sea surface simulation model generation module 350 is further configured to: calculate the Fresnel reflectivity according to the water color parameter information and the transparency parameter information of the target sea area; obtain environmental texture information of the target sea area; sample the environmental texture information according to the camera direction parameter of the target sea surface simulation model to obtain reflection color data of the target sea surface simulation model; determine refraction color data of the target sea surface simulation model based on a preset seawater refraction color table according to the water color parameter information and the transparency parameter information of the target sea area; weight and fuse the reflection color data and the refraction color data according to the Fresnel reflectivity to obtain rendering color data of the target sea surface simulation model; and perform color rendering on the target sea surface simulation model according to the rendering color data.

[0162] The sea surface environment simulation device described above can execute the sea surface environment simulation method provided by any embodiment of the present application, has the corresponding function modules and beneficial effects of the execution method. Technical details not described in detail in the present embodiment can be referred to the sea surface environment simulation method provided by any embodiment of the present application.

[0163] Since the sea surface environment simulation device described above is a device that can execute the sea surface environment simulation method in the embodiments of the present application, based on the sea surface environment simulation method described in the embodiments of the present application, those skilled in the art can understand the specific implementation of the sea surface environment simulation device of the present embodiment and its various forms, so the sea surface environment simulation device how to realize the sea surface environment simulation method in the embodiments of the present application will not be introduced in detail here. As long as the device used to implement the sea surface environment simulation method in the embodiments of the present application is implemented by those skilled in the art, it belongs to the scope of the present application.

[0164] Embodiment four

[0165] Figure 4A structural diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.

[0166] As shown in Figure 4 The electronic device 10 includes at least one processor 11, and a memory, such as a ROM (Read-Only Memory), a RAM (Random Access Memory), etc., connected to the at least one processor 11 in communication, where the memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer programs stored in the ROM 12 or loaded into the RAM 13 from the storage unit 18. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An I / O (Input / Output) interface is also connected to the bus 14.

[0167] Various components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc., an output unit 17, such as various types of displays, a speaker, etc., a storage unit 18, such as a magnetic disk, an optical disk, etc., and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0168] The processor 11 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the sea surface environment simulation method.

[0169] In some embodiments, the sea surface environment simulation method can be implemented as a computer program tangibly embodied in a computer readable storage medium, e.g., storage unit 18. In some embodiments, parts or all of the computer program can be loaded and / or installed onto electronic device 10 via, e.g., ROM 12 and / or communication unit 19. When the computer program is loaded onto RAM 13 and executed by processor 11, one or more steps of the sea surface environment simulation method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the sea surface environment simulation method by other means, e.g., by way of firmware.

[0170] Optionally, the sea surface environment simulation method can comprise: establishing a sea surface grid model of a target sea area; establishing a sea surface network hierarchical display data model corresponding to the sea surface grid model according to the sea surface grid model of the target sea area; performing precision processing on the sea surface network hierarchical display data model according to a target view angle parameter to obtain a target sea surface network hierarchical display data model; determining an initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model; performing sea wave rendering and color rendering on the initial sea surface simulation model of the target sea area according to real sea area environment data of the target sea area to generate a target sea surface simulation model of the target sea area.

[0171] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0172] Computer programs used to implement the methods of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flow diagrams and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0173] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal form, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0174] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0175] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), blockchain networks, and the Internet.

[0176] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0177] It should be understood that the steps shown above in various forms of flow can be reordered, added, or deleted. For example, the steps described in the present disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions of the present disclosure can be achieved, and the present disclosure is not limited herein.

[0178] The above detailed description does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method of simulating a sea surface environment, characterized by, The method comprises the following steps: establishing a sea surface grid model of a target sea area; establishing a sea surface network hierarchical display data model corresponding to the sea surface grid model of the target sea area according to the sea surface grid model of the target sea area; performing precision processing on the sea surface network hierarchical display data model according to a target view angle parameter to obtain a target sea surface network hierarchical display data model; determining an initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model; performing wave rendering and color rendering on the initial sea surface simulation model of the target sea area according to real sea area environment data of the target sea area to generate a target sea surface simulation model of the target sea area; wherein the real sea area environment data comprises sea current flow data, wave data, water color parameter information and transparency parameter information.

2. The sea surface environment simulation method according to claim 1, characterized by, The method comprises the following steps: obtaining sea surface height data and tide data of the target sea area; establishing a sea surface reference grid model of the target sea area according to the sea surface height data of the target sea area; correcting the sea surface reference grid model of the target sea area according to the tide data to obtain a sea surface grid model of the target sea area.

3. The sea surface environment simulation method according to claim 2, characterized by, The method comprises the following steps: calculating tide height deviations of each grid in the sea surface reference grid model according to the tide data; correcting the sea surface height data of each grid in the sea surface reference grid model according to the tide height deviations of each grid to obtain the sea surface grid model of the target sea area.

4. The sea surface environment simulation method according to claim 1, characterized by, The method comprises the following steps: determining a current sea surface network hierarchical display node of the sea surface network hierarchical display data model; evaluating rendering pressure of the current sea surface network hierarchical display node according to the target view angle parameter to obtain an accuracy evaluation factor of the current sea surface network hierarchical display node; performing precision processing on the current sea surface network hierarchical display node according to the accuracy evaluation factor of the current sea surface network hierarchical display node.

5. The sea surface environment simulation method according to claim 4, characterized by, The method comprises the following steps: calculating the accuracy evaluation factor of the current sea surface network hierarchical display node based on the following formula: ; wherein, is an accuracy evaluation factor of the current sea surface network hierarchical display node, is a distance from the current sea surface network hierarchical display node to a target visual angle observation point, is an earth line-of-sight distance, is a first performance parameter constant, is a second performance parameter constant, is a step-by-step hierarchical length of the current sea surface network hierarchical display node, is a wind-snow-sea fog light attenuation correction parameter, is a rain-snow intensity, is a sea fog coefficient; The method comprises the following steps: in a case where the value of the accuracy evaluation factor of the current sea surface network hierarchical display node is less than a preset threshold, performing hierarchical processing on the current sea surface network hierarchical display node again.

6. The sea surface environment simulation method according to claim 1, characterized by, The method comprises the following steps: performing far view angle rendering on the initial sea surface simulation model according to the sea current flow data of the target sea area to obtain a far view angle wave model of the target sea surface simulation model; According to the wave data of the target sea area, the initial sea surface simulation model is rendered at a near view angle to obtain a near view angle sea wave model of the target sea surface simulation model; According to the water color parameter information and the transparency parameter information of the target sea area, the target sea surface simulation model is color rendered.

7. The sea surface environment simulation method according to claim 6, characterized by, According to the sea current flow data of the target sea area, the initial sea surface simulation model is rendered at a far view angle to obtain a far view angle sea wave model of the target sea surface simulation model, including: According to the sea current flow data, a sea current flow vector of the target sea area is determined; According to the sea current flow vector, a sea current texture of the target sea area is generated; wherein the sea current texture includes a reference sea current texture and a disturbed sea current texture; A first sea wave texture sampling phase of the reference sea current texture and a second sea wave texture sampling phase of the disturbed sea current texture are constructed; According to the first sea wave texture sampling phase, the reference sea current texture is sampled to obtain reference sea current texture sampling data; According to the second sea wave texture sampling phase, the disturbed sea current texture is sampled to obtain disturbed sea current texture sampling data; According to the first sea wave texture sampling phase, a fusion weight is determined, and the reference sea current texture sampling data and the disturbed sea current texture sampling data are weighted and fused according to the fusion weight to obtain the far view angle sea wave model of the target sea surface simulation model.

8. The sea surface environment simulation method according to claim 6, characterized by, According to the wave data of the target sea area, the initial sea surface simulation model is rendered at a near view angle to obtain a near view angle sea wave model of the target sea surface simulation model, including: A mapping relationship between the sea surface grid model and the wave particle is established; According to the wave data of the target sea area, a near view angle sea wave model correction coefficient is generated; According to the mapping relationship between the sea surface grid model and the wave particle and the near view angle sea wave model correction coefficient, the near view angle sea wave model of the target sea surface simulation model is generated.

9. The sea surface environment simulation method according to claim 8, characterized by, According to the mapping relationship between the sea surface grid model and the wave particle and the near view angle sea wave model correction coefficient, the near view angle sea wave model of the target sea surface simulation model is generated, including: The near view angle sea wave model of the target sea surface simulation model is generated based on the following formula: ; wherein, is a forward model of the wave particle, is a heave model of the wave particle, and together constitute a near view sea wave model of the target sea surface simulation model, is an initial position of the wave particle, is an initial height of the wave particle, is an amplitude of the wave data, is a wave number, is a near view sea wave model correction coefficient, , is a wavelength, , is a wave period, is a gravitational acceleration, is an angular frequency, , is a time, is a first roller correction function, is a second roller correction function, is a sea current velocity, is an angle between the water flow and the wave direction.

10. The sea surface environment simulation method according to claim 6, characterized by, According to the water color parameter information and the transparency parameter information of the target sea area, the target sea surface simulation model is color rendered, including: According to the water color parameter information and the transparency parameter information of the target sea area, Fresnel reflectivity is calculated; The environment texture information of the target sea area is obtained; According to the camera direction parameter of the target sea surface simulation model, the environment texture information is sampled to obtain reflection color data of the target sea surface simulation model; Based on a preset seawater refraction color table, according to the water color parameter information and the transparency parameter information of the target sea area, refraction color data of the target sea surface simulation model is determined; According to the Fresnel reflectivity, the reflection color data and the refraction color data are weighted and fused to obtain rendering color data of the target sea surface simulation model; According to the rendering color data, the target sea surface simulation model is color rendered.

11. A sea surface environment simulation apparatus, characterized by comprising: including: The sea surface grid model construction module is configured to establish a sea surface grid model of the target sea area. The sea surface network hierarchical display data model construction module is configured to establish a sea surface network hierarchical display data model corresponding to the sea surface grid model according to the sea surface grid model of the target sea area. The target sea surface network hierarchical display data model determination module is configured to perform precision processing on the sea surface network hierarchical display data model according to the target view angle parameter to obtain a target sea surface network hierarchical display data model. The initial sea surface simulation model determination module is configured to determine an initial sea surface simulation model of the target sea area according to the target sea surface network hierarchical display data model. The target sea surface simulation model generation module is configured to perform sea wave rendering and color rendering on the initial sea surface simulation model of the target sea area according to real sea area environment data of the target sea area to generate a target sea surface simulation model of the target sea area, wherein the real sea area environment data includes sea current flow data, wave data, water color parameter information, and transparency parameter information.

12. An electronic device, comprising: The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executed by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the sea surface environment simulation method of any one of claims 1-10.

13. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to perform the sea surface environment simulation method of any one of claims 1-10 when executed.

14. A computer program product, characterised in that, The computer program / instructions, when executed by the processor, implement the sea surface environment simulation method of any one of claims 1-10.

Citation Information

Patent Citations

  • Optimal depth datum geodetic height model construction method based on multi-source data

    CN115423955A

  • Three-dimensional flow field reconstruction method and system, electronic equipment and storage medium

    CN116597085A

  • Water body rendering method and system matched with real geographical water area environment, medium and equipment

    CN117274465A

  • Global ocean current visualization method and system facing virtual battlefield

    CN117611754A

  • Ocean internal wave three-dimensional visualization method based on cesium

    CN118568323A