Underwater noise processing method, device, equipment and medium
By converting the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area in the underwater noise processing request into simulated geographic grid coordinates, calculating the grid specification distance corresponding to the noise source entity and the detection entity, and determining the corresponding underwater noise values based on the grid specification distance, the problem of difficult to efficiently process complex underwater noise data in large-scale real-time simulation systems is solved, and the effect of quickly responding to environmental changes is achieved.
Patent Information
- Application Number
- CN202410139960.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-31
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-01-31
AI Technical Summary
In large-scale real-time simulation systems, existing computing methods are difficult to efficiently process complex underwater noise data, resulting in extremely slow calculation speed, extremely poor response effect, and difficult to respond quickly to environmental changes.
By converting the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area in the underwater noise processing request into simulated geographic grid coordinates, the grid specification distance corresponding to the noise source entity and the detection entity is calculated, and the corresponding underwater noise value is determined based on the grid specification distance.
This method quickly obtains underwater noise values by simplifying the calculation of grid standard distance, saving calculation time, improving the system's response speed, and being able to respond to noise calculation requirements in real time, thereby quickly responding to environmental changes.
Smart Images

Figure CN118280379B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of underwater acoustic detection, and in particular to an underwater noise processing method, device, equipment and medium. Background Art
[0002] Underwater noise mainly comes from: noise caused by mechanical system operation, propeller noise and noise caused by fluid flowing through the hull surface, among which mechanical system noise is the main noise source of ship underwater noise. Calculating underwater noise is of great significance to many fields such as scientific research, military application, environmental protection and resource development.
[0003] In recent years, there are some problems and challenges in calculating the underwater noise of target entities in large-scale real-time simulation systems. For example, it is difficult to efficiently process complex noise data using existing computational methods. Summary of the invention
[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desired to provide an underwater noise processing method, device, equipment and medium to solve the problem of difficulty in efficiently processing complex noise data when facing a large-scale real-time simulation system.
[0005] In a first aspect, an embodiment of the present invention provides an underwater noise processing method, the method comprising: in response to an underwater noise processing request received in real time, converting the latitude and longitude coordinates of a noise source entity and a detection entity in a target sea area contained in the underwater noise processing request into simulated geographic grid coordinates, respectively, the simulated geographic grid coordinates being determined based on the position of a pre-constructed simulated geographic grid, the simulated geographic grid being obtained by discretizing the target sea area; calculating a grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates; and determining an underwater noise value corresponding to the grid standard distance according to the grid standard distance.
[0006] In a second aspect, an embodiment of the present invention provides an underwater noise processing device, which includes: a coordinate conversion module, which is used to respond to an underwater noise processing request received in real time, and convert the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area contained in the underwater noise processing request into simulated geographic grid coordinates, wherein the simulated geographic grid coordinates are determined based on the position of a pre-constructed simulated geographic grid, and the simulated geographic grid is obtained by discretizing the target sea area; a distance calculation module, which is used to calculate the grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates; and a noise value determination module, which is used to determine the underwater noise value corresponding to the grid standard distance according to the grid standard distance.
[0007] In a third aspect, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the embodiment of the present invention when executing the program.
[0008] Optionally, the device further comprises a data storage device for storing the grid standard distance and the underwater noise value corresponding to the grid standard distance according to a key-value pair data structure.
[0009] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described in the embodiment of the present invention is implemented.
[0010] The beneficial effects brought by the technical solution provided by the present invention are:
[0011] The present invention provides an underwater noise processing method, device, equipment and medium. The method includes: responding to an underwater noise processing request received in real time, converting the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area contained in the underwater noise processing request into simulated geographic grid coordinates respectively, and then calculating the grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates; finally, determining the underwater noise value corresponding to the grid standard distance according to the grid standard distance. The method simplifies the calculation of the grid standard distance between the target entities by mapping the target entity to the simulated geographic grid, and then determines the underwater noise value corresponding to it according to the grid standard distance. The method is applicable to hot spots facing frequent requests to calculate underwater noise values, which can effectively avoid multiple repeated calculations, save a lot of calculation time, and thus improve the response speed of the system.
[0012] Optionally, the embodiment provided by the present invention utilizes a key-value pair data structure to store the grid standard distance and the underwater noise value corresponding to the grid standard distance, which can further save query time and improve query speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 A schematic diagram showing an application scenario of the underwater noise processing method provided by an embodiment of the present invention is shown;
[0015] Figure 2A schematic diagram showing a flow chart of an underwater noise processing method provided by an embodiment of the present invention;
[0016] Figure 3 A schematic diagram showing the division result of the simulated geographic grid provided by an embodiment of the present invention is shown;
[0017] Figure 4 A schematic diagram of a process flow of an underwater noise processing method provided by an embodiment of the present invention is shown;
[0018] Figure 5 A schematic flow chart of an underwater noise processing method provided by another embodiment of the present invention is shown;
[0019] Figure 6 A schematic diagram of a key-value pair data structure provided by an embodiment of the present invention is shown;
[0020] Figure 7 A schematic flow chart of an underwater noise processing method provided by another embodiment of the present invention is shown;
[0021] Figure 8 A schematic diagram showing a flow chart of an underwater noise processing method provided by another embodiment of the present invention;
[0022] Fig. 9 A schematic diagram showing the structure of an underwater noise processing device provided by an embodiment of the present invention is shown;
[0023] Fig.10 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the relevant inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the invention are shown in the accompanying drawings.
[0025] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0026] The calculation of underwater noise values can be applied to marine ecological research: studying the response of marine organisms to noise to understand the impact of noise on organisms. It can also be applied to submarine stealth technology: analyzing submarine noise to improve concealment and reduce the possibility of being detected by the enemy. It can also be applied to marine engineering and exploration: calculating noise during seabed exploration or offshore construction to assess the impact on the environment. It can also be applied to underwater acoustic communications: establishing accurate noise models for designing efficient underwater communication systems. It can also be applied to underwater archaeology and detection: when using sonar technology for detection, noise calculation helps improve detection accuracy.
[0027] At present, there are some problems and challenges in calculating underwater noise values. For example, computational complexity: the calculation of underwater noise involves complex physical processes, such as hydrodynamic noise, mechanical noise, and propeller noise, which require high-precision mathematical models and a large amount of computing resources to simulate.
[0028] To solve the above problems, the following measures can be taken: Improve computing power: Use higher-performance computers and optimized algorithms to process complex mathematical models to reduce computing time and improve computing accuracy. Figure 1 As shown in the figure, there are a large number of target entities in the target space, and the calculation of underwater noise values between two target entities requires a lot of computing resources. Especially when the scene is simulated in real time, the underwater noise of the target entity needs to be calculated in real time. Since the underwater noise calculation needs to process a large amount of data, if we only expect to improve the computing power to meet the needs of large-scale near-real-time simulation, even high-performance computers and optimized algorithms will find it difficult to process the extremely complex data in this scene. In this scene, the existing calculation method makes the calculation speed of the underwater noise value corresponding to the target entity extremely slow, which further leads to the extremely poor response effect of the simulation system, and ultimately it is difficult to respond quickly to environmental changes, resulting in irreparable losses in this scene.
[0029] Therefore, the present invention proposes an underwater noise processing method that can efficiently process complex underwater noise for large-scale real-time simulation systems and meet the noise calculation requirements of large-scale near real-time simulations.
[0030] The large-scale real-time simulation system is a system that performs real-time simulation on hundreds of thousands of target entities in a target area. The target area may be, for example, a target sea area. The target entity may be, for example, a surface or underwater vehicle.
[0031] In order to more clearly understand the inventive concept provided by the present invention, Figure 2-8 The underwater noise processing method proposed in the present invention is described.
[0032] Please refer to Figure 2 , Figure 2The flowchart of the underwater noise processing method provided by the embodiment of the present invention is shown. The method can be implemented by an underwater noise processing device configured in an electronic device. The method includes the following steps:
[0033] Step 201, in response to an underwater noise processing request received in real time, converting the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area contained in the underwater noise processing request into simulated geographic grid coordinates, respectively. The simulated geographic grid coordinates are determined based on the position of a pre-constructed simulated geographic grid, and the simulated geographic grid is obtained by discretizing the target sea area.
[0034] Step 202, calculating the grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates.
[0035] Step 203: determining the underwater noise value corresponding to the grid standard distance according to the grid standard distance.
[0036] In the above steps, the noise source entity and the detection entity in the target sea area may be surface and underwater navigation objects appearing in the target sea area, for example, the noise source entity and the detection entity may be ships, vessels, submarines, torpedoes, etc.
[0037] The longitude and latitude coordinates refer to the position coordinates based on the geographic coordinate system. For example, the position coordinates of the noise source entity in the target sea area can be expressed as (xx°xx′xx″N, xx°xx′xx″E).
[0038] The simulated geographic grid coordinates refer to the location coordinates based on the simulated geographic grid. The simulated geographic grid is obtained by discretizing the target sea area. The simulated geographic grid is a unified and simple geographic space division and positioning reference system. According to unified rules, the target sea area is continuously divided according to a certain latitude and longitude or ground distance, and the spatial uncertainty is controlled within a certain range to form regular polygons. Each polygon is called a grid unit, which realizes the discretization of the target sea area and assigns a unified code to each grid unit. The simulated geographic grid can include grid units, grid edges and grid points. The grid unit represents the surface features of the region. The grid points determine the basic position and point features of the grid unit, and the grid edges measure the relationship between the grid units. The polygon can be two-dimensional, for example, a regular hexagon, a square, an equilateral triangle, etc., and can also be called a hexagonal grid, a quadrangular grid, or a triangular grid. The division method can also divide the target sea area into multiple continuous three-dimensional areas, for example, a regular hexagon, a cube, etc., which can be called a honeycomb or a cube.
[0039] The simulated geographic grid is obtained by discretizing the target sea area. Optionally, constructing the simulated geographic grid may include: obtaining map data of the target sea area based on the geographic coordinate system; determining the origin of the simulated geographic grid and the extension direction of the simulated geographic grid for the map data; using the origin as the center point of the starting grid unit, and the side length of the corresponding figure of the grid unit as the grid edge, and continuously dividing the target sea area into multiple continuous grid units. For example, the intersection of the equator and the prime meridian is used as the origin of the simulated geographic grid to be created, the east is the positive direction of the X axis of the simulated geographic grid (i.e., the first direction), the north is the positive direction of the Y axis of the grid (i.e., the second direction), the origin is used as the starting grid point, the side length h=5km is the grid edge, and the map data is continuously divided according to the hexagonal grid shape to obtain multiple continuous grid units. Each grid unit includes a grid center and a grid edge. The grid center can determine the position of each grid unit, and the grid edge can determine the size range of each grid unit.
[0040] Optionally, converting the longitude and latitude coordinates of the noise source entity and the detection entity in the target sea area included in the underwater noise processing request into simulated geographic grid coordinates respectively may include: determining in the simulated geographic grid respectively a first grid unit corresponding to the longitude and latitude coordinates of the noise source entity and a second grid unit corresponding to the longitude and latitude coordinates of the detection entity; obtaining a first grid code corresponding to the first grid unit and a second grid code corresponding to the second grid unit; defining the first grid code as a first simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the noise source entity, and defining the second grid code as a second simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the detection entity. Coordinate conversion can be completed by establishing a mapping relationship between longitude and latitude coordinates and simulated geographic grid coordinates.
[0041] like Figure 3 As shown, the intersection of the equator and the prime meridian is taken as the origin of the simulated geographic grid, the east is the positive direction of the simulated geographic grid X axis, the north is the positive direction of the simulated geographic grid Y axis, the origin is taken as the starting grid point, and the hexagonal grid unit is divided with a side length of h = 5km. Then, the target sea area is continuously divided into multiple grid units, and each grid unit is encoded, and the encoding is as follows Figure 3As shown. For example, the position coordinates of point A in the target sea area can be expressed as (xx°xx′xx″N, xx°xx′xx″E), which is in the grid unit with the grid code (1,0) in the simulated geographic grid. Therefore, the longitude and latitude coordinates of point A (xx°xx′xx″N, xx°xx′xx″E) are mapped to the grid code (1,0) of the grid unit where point A is located. Then the grid code (1,0) is defined as the simulated geographic grid coordinates of point A. In order to distinguish it from other simulated geographic grid coordinates, it can be called the first simulated geographic grid coordinates. Similarly, the longitude and latitude coordinates of point B (yy°yy′yy″N, yy°yy′yy″E) are mapped to the grid code (3,2) of the grid unit where point B is located. Then the grid code (3,2) is defined as the simulated geographic grid coordinates of point B. In order to distinguish it from other simulated geographic grid coordinates, it can be called the second simulated geographic grid coordinates.
[0042] Optionally, determining the underwater noise value corresponding to the grid standard distance according to the grid standard distance may include obtaining the grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates corresponding to the noise source entity and the detection entity according to the distance characterization algorithm; and then querying the data storage device according to the grid standard distance to obtain the noise value corresponding to the grid standard distance. The above distance characterization algorithm may be, for example, a Euclidean distance formula, a Manhattan distance formula, a Chebyshev distance formula, etc.
[0043] The technical solution proposed by the present invention is to calculate the grid standard distance between target entities based on the simulated geographic grid coordinates, and then determine the underwater noise value corresponding to the grid standard distance according to the grid standard distance. Compared with other algorithms in the prior art, the technical solution reduces the complexity of data calculation when calculating the grid standard distance after receiving the underwater noise processing request in real time, and saves the time of data calculation. Furthermore, after obtaining the grid standard distance, the underwater noise value corresponding to the grid standard distance is determined by the grid standard distance, which greatly saves the calculation time of noise data.
[0044] Therefore, the underwater noise processing method proposed in the present invention can obtain underwater noise values very quickly when facing a large-scale simulation system. The required calculation time is short and it can respond to noise calculation requirements in real time, thereby quickly responding to environmental changes.
[0045] Please refer to Figure 4 , Figure 4 The flowchart of the underwater noise processing method provided by an embodiment of the present invention is shown. The method can be implemented by an underwater noise processing device configured in an electronic device. The method comprises the following steps:
[0046] Step 401, in response to an underwater noise processing request received in real time, converting the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area contained in the underwater noise processing request into simulated geographic grid coordinates, respectively. The simulated geographic grid coordinates are determined based on the position of a pre-constructed simulated geographic grid, which is obtained by discretizing the target sea area.
[0047] Step 402: determine the scale feature of the simulated geographic grid as a basic unit of measurement, where the scale feature refers to a length feature used to characterize the geographic range corresponding to each grid unit in the simulated geographic grid.
[0048] Step 403, calculating the grid standard distance corresponding to the noise source entity and the detection entity according to the basic measurement unit.
[0049] Step 404: determine the underwater noise value corresponding to the grid standard distance according to the grid standard distance.
[0050] Optionally, the scale characteristics of the simulated geographic grid include the side length of the grid unit, the distance between the opposite sides of the grid unit, the diagonal distance of the grid unit, the distance from the center point of the grid unit to the side, and the distance from the center point of the grid unit to the vertex. The basic measurement unit refers to the unit used to measure the grid standard distance. To meet different accuracy requirements, the size of the grid unit can be adjusted, and the grid standard distance can be rounded or retained as a decimal, where X is a positive integer.
[0051] Optionally, calculating the grid norm distances corresponding to the noise source entity and the detection entity according to the basic measurement unit may include:
[0052] Acquire a first simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the noise source entity and a second simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the detection entity;
[0053] Determine a first coordinate difference between the first simulated geographic grid coordinate and the second simulated geographic grid coordinate in a first direction;
[0054] Determine a second coordinate difference between the first simulated geographic grid coordinate and the second simulated geographic grid coordinate in a second direction, the first direction and the second direction being perpendicular to each other;
[0055] According to the distance characterization algorithm, a grid standard distance corresponding to the noise source entity and the detection entity, which is characterized by the first coordinate difference, the second coordinate difference and the basic measurement unit, is obtained.
[0056] In the embodiment provided by the present invention, the size of the grid unit is related to the simulation granularity, reflecting the resolution of the simulated geographic grid division. The grid standard distance uses the scale characteristics of the grid unit as the basic measurement unit, and the simulation granularity can be adjusted by the scale characteristics of the grid unit, and different simulation spaces can be flexibly migrated, with better adaptability.
[0057] Preferably, hexagons (i.e., regular hexagons) are selected as grid units to divide the target sea area. Regular hexagons are most suitable for proximity analysis, and each of its sides is directly in contact with other regular hexagons. This feature enables regular hexagons to better describe and simulate the spatial relationship between sea areas. In large research sea areas, due to the curvature of the earth, the grid shape of regular hexagons is less distorted, and its approximately circular nature enables regular hexagons to better simulate the radiation range of noise, thereby obtaining the underwater noise value corresponding to the grid specification distance as accurately as possible.
[0058] The underwater noise processing method proposed in the present invention, when facing a large-scale simulation system, simplifies the calculation of the grid standard distance, quickly obtains the grid standard distance, and determines the underwater noise value corresponding to the grid standard distance based on the grid standard distance. It can obtain the underwater noise value very quickly, the required calculation time is short, and it can respond to the noise calculation needs in real time, thereby quickly responding to environmental changes.
[0059] Please refer to Figure 5 , Figure 5 A schematic flow chart of an underwater noise processing method provided by another embodiment of the present invention is shown. The method can be implemented by an underwater noise processing device configured in an electronic device. The method comprises the following steps:
[0060] Step 501, in response to an underwater noise processing request received in real time, converting the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area contained in the underwater noise processing request into simulated geographic grid coordinates, respectively. The simulated geographic grid coordinates are determined based on the position of a pre-constructed simulated geographic grid, and the simulated geographic grid is obtained by discretizing the target sea area.
[0061] Step 502: determine the scale feature of the simulated geographic grid as a basic measurement unit, where the scale feature refers to a length feature used to characterize the geographic range corresponding to each grid unit in the simulated geographic grid.
[0062] Step 503, calculating the grid standard distance corresponding to the noise source entity and the detection entity according to the basic measurement unit.
[0063] Step 504, sending a query request to a data storage device, the query request including a grid standard distance;
[0064] Step 505: when it is found that there is an underwater noise value corresponding to the grid standard distance in the data storage device, a first query result corresponding to the query request is received from the data storage device, and the first query result includes the underwater noise value corresponding to the grid standard distance.
[0065] Step 506, when no underwater noise value corresponding to the grid standard distance is found in the data storage device, receiving a second query result corresponding to the query request from the data storage device, the second query result indicating that no underwater noise value corresponding to the grid standard distance is found;
[0066] Step 507, in response to the second query result, obtaining the grid standard distance and the sound source data of the noise source entity;
[0067] Step 508: Calculate the underwater noise value corresponding to the grid standard distance according to the grid standard distance and the sound source data of the noise source entity.
[0068] Optionally, after initialization, the method is applied to obtain the underwater noise value corresponding to the grid standard distance, which can greatly save the time required for underwater noise calculation. As the target entity moves, its corresponding grid standard distance changes, and the underwater noise value corresponding to the detection entity will also change with the change of the grid standard distance. When calculating a new grid standard distance, it may be necessary to update the underwater noise value corresponding to the grid standard distance in the data storage device.
[0069] Optionally, calculating the underwater noise value corresponding to the grid specification distance based on the grid specification distance and the sound source data of the noise source entity may include: calculating the sound attenuation data corresponding to the grid specification distance; calculating the difference between the sound source data and the sound attenuation data of the noise source entity; and defining the difference as the underwater noise value corresponding to the grid specification distance.
[0070] For example, according to the grid standard distance, the underwater noise value at a position r (km) away from the noise source entity is calculated using the formula. Then, the noise value corresponding to the grid standard distance is stored in the calculation data storage device, and the underwater noise value is returned to other ports, and the underwater noise value is provided to the application system through other ports.
[0071] Preferably, the data storage device may be a historical data repository that stores the grid specification distance and the underwater noise value corresponding to the grid specification distance in a key-value pair data structure. The data storage device may also be an external storage system connected to the electronic device signal. The data storage device may be a distributed storage system. The key-value pair data structure may be as follows: Figure 6 As shown, Key is the grid standard distance between target entities, and Value is the underwater noise value of the corresponding noise source entity at the grid standard distance.
[0072] The underwater noise processing method proposed in the present invention, when facing a large-scale simulation system, queries the underwater noise value corresponding to the grid specification distance through the grid specification distance, which can avoid repeated calculation of the required underwater noise value and quickly query the underwater noise value. The required calculation time is short and the noise calculation demand can be responded to in real time, thereby quickly responding to environmental changes.
[0073] Please refer to Figure 7 , Figure 7 FIG. 1 is a flow chart of an underwater noise processing method provided by another embodiment of the present invention, and the method is executed by an underwater noise processing device configured in an electronic device. The method may include two stages: Figure 7 What is shown is a flow chart of the underwater noise processing method in the initialization phase. The first phase is the initialization phase, and the second phase is the application phase.
[0074] During the initialization phase, the method includes:
[0075] Step 701, in response to the received initialization request, obtaining initial longitude and latitude coordinates corresponding to any two target entities in the target sea area;
[0076] Step 702, converting the initial longitude and latitude coordinates into simulated geographic grid coordinates;
[0077] Step 703, calculating the grid standard distance corresponding to the two target entities according to the simulated geographic grid coordinates;
[0078] Step 704, sending a query request to the data storage device, the query request including the grid standard distance; when it is found that there is an underwater noise value corresponding to the grid standard distance in the data storage device, returning to step 701, re-acquiring the initial longitude and latitude coordinates corresponding to the two new target entities, and then executing each step in sequence until all target entities in the target sea area are traversed.
[0079] Step 705, when no underwater noise value corresponding to the grid standard distance is found in the data storage device, the sound source data corresponding to any one of the two target entities is obtained;
[0080] Step 706, calculating the underwater noise value corresponding to the grid standard distance according to the sound source data and the grid standard distance;
[0081] Step 707, the grid standard distance and the underwater noise value corresponding to the grid standard distance are sent to a data storage device, and the data storage device is used to store the grid standard distance and the underwater noise value corresponding to the grid standard distance according to a key-value pair data structure. Then return to step 701 to re-acquire the initial longitude and latitude coordinates corresponding to the two new target entities, and then execute each step in sequence until all target entities in the target sea area are traversed.
[0082] In the application stage, you can refer to Figure 5 The underwater noise processing method shown includes: in response to an underwater noise processing request received in real time, converting the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area contained in the underwater noise processing request into simulated geographic grid coordinates, the simulated geographic grid coordinates are determined based on the position of a pre-constructed simulated geographic grid, and the simulated geographic grid is obtained by discretizing the target sea area; calculating the grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates; sending a query request to a data storage device, the query request including the grid standard distance; when it is found that there is an underwater noise value corresponding to the grid standard distance in the data storage device, receiving a first query result corresponding to the query request from the data storage device, the first query result including the underwater noise value corresponding to the grid standard distance. When no underwater noise value corresponding to the grid standard distance is found in the data storage device, a second query result corresponding to the query request is received from the data storage device, and the second query result indicates that no underwater noise value corresponding to the grid standard distance is found; in response to the second query result, the grid standard distance and the sound source data of the noise source entity are obtained; the underwater noise value corresponding to the grid standard distance is calculated according to the grid standard distance and the sound source data of the noise source entity. The grid standard distance and the underwater noise value corresponding to the grid standard distance are sent to the data storage device. The data stored in the data storage device is updated.
[0083] The underwater noise processing method proposed in the present invention requires more time in the initialization stage when facing a large-scale simulation system, calculates the grid standard distances between multiple target entities in the target sea area, and calculates the corresponding underwater noise values according to the grid standard distances. Then, in the application stage, the underwater noise value corresponding to the grid standard distance is queried through the grid standard distance, which can avoid repeated calculation of the required underwater noise value, quickly query the underwater noise value, and the required calculation time is short, which can respond to the noise calculation needs in real time, thereby quickly responding to environmental changes.
[0084] The underwater noise processing method proposed in the present invention is to calculate the underwater noise value of the target entity at different positions in the target sea area. Figure 8The underwater noise processing method proposed in the embodiment of the present invention is described. Assuming that the following Figure 3 The target sea area is divided into hexagonal grids as shown, and the side length of the hexagonal grid is h. The data storage device adopts Figure 6 The Key-Value data storage format shown.
[0085] Step 801, discretize the target area using grid units, and convert the longitude and latitude coordinates of the target entity into simulated geographic grid coordinates.
[0086] Optionally, in this step, the target sea area is discretized using a hexagonal grid to obtain a simulated geographic grid, and the noise source entity and the detection entity are mapped in the simulated geographic grid G according to the longitude and latitude position coordinates to obtain a first simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the noise source entity, and a second simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the detection entity. Figure 3 As shown, the longitude and latitude coordinates of point A (xx°xx′xx″N, xx°xx′xx″E) are mapped to the grid code (1,0) of the grid unit where point A is located, and the grid code (1,0) is defined as the simulated geographic grid coordinates of point A. Similarly, the longitude and latitude coordinates of point B (yy°yy′yy″N, yy°yy′yy″E) are mapped to the grid code (3,2) of the grid unit where point B is located, and the grid code (3,2) is defined as the simulated geographic grid coordinates of point B.
[0087] Step 802, obtaining the grid standard distance between the entities according to the simulated geographic grid coordinates corresponding to the two target entities respectively.
[0088] In this step, the side length h of the hexagonal grid cell is obtained as the basic unit of measurement. When calculating the grid standard distance, the target entity position can be uniformly calculated based on the center position of the grid cell. The grid standard distance can be characterized by methods such as Euclidean distance.
[0089] Optionally, starting from the center point of the grid cell, the Euclidean distance between two points in the simulated geographic grid G is calculated, such as Figure 3 As shown. Take the side length of the hexagonal grid as h, and the grid space standard distance between points AB as V AB The calculation formula is as follows:
[0090]
[0091] Δx represents the difference between the coordinates of the starting grid cell and the target grid cell in the first direction.
[0092] Δy represents the difference between the coordinates of the starting grid cell and the target grid cell in the second direction.
[0093] Finally, obtain Round up to 5h, keep one decimal place to get 4.6h, keep two decimal places to get 4.58h.
[0094] Step 803, determine whether the grid standard distance between the two entities is in the calculation history cache. In this step, the calculation history cache can also be called a data storage device. The calculation history cache can be a cache structure that stores Key-Value pairs, such as Figure 6 shown.
[0095] Step 804, if it exists, obtain the underwater noise value corresponding to the grid standard distance in the calculation history cache library, and then enter step 807, directly return the underwater noise value corresponding to the grid standard distance.
[0096] Step 805: If it does not exist, the noise value is calculated using a formula based on the grid standard distance between the target entities.
[0097] Optionally, the calculation method of the above formula in this step is as follows:
[0098] P d =P s -(20lgr+ar×10 -3 )
[0099] Among them, P s (dB) is the sound level of the noise source entity, r (km) is the distance, a (dB / km) is the absorption coefficient of seawater under standard seawater conditions, P d (dB) is the noise level at a distance r (km) from the noise source entity.
[0100] Step 806: Store the underwater noise value corresponding to the grid standard distance into the calculation history cache.
[0101] Step 807, returning the underwater noise value corresponding to the grid standard distance.
[0102] The underwater noise processing method proposed by the present invention can be implemented by the following algorithm pseudo code:
[0103]
[0104]
[0105] The underwater noise processing method proposed in the present invention uses hexagonal grids to divide the target sea area when facing a large-scale simulation system, which can better convert the target sea area into a simulation grid. In the initialization stage, the grid standard distance between multiple target entities in the target sea area is calculated, and the corresponding underwater noise value is calculated according to the grid standard distance, and it is stored in the calculation history cache library in the cache structure of Key-Value pairs. In the application stage, the cache structure of the Key-Value pair is queried through the grid standard distance to obtain the underwater noise value corresponding to the grid standard distance, which can avoid repeated calculation of the required underwater noise value, quickly query the underwater noise value, and the required calculation time is short, which can respond to the noise calculation needs in real time, thereby quickly responding to environmental changes. .
[0106] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a different order from the order marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0107] Please refer to Fig. 9 , Fig. 9 The schematic diagram of the structure of the underwater noise processing device provided by the embodiment of the present invention is shown. The device can be configured in an electronic device, and the device includes:
[0108] A coordinate conversion module 901 is used to respond to the underwater noise processing request received in real time, and convert the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area contained in the underwater noise processing request into simulated geographic grid coordinates, wherein the simulated geographic grid coordinates are determined based on the position of a pre-constructed simulated geographic grid, and the simulated geographic grid is obtained by discretizing the target sea area;
[0109] A distance calculation module 902 is used to calculate the grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates;
[0110] The noise value determination module 903 is used to determine the underwater noise value corresponding to the grid standard distance according to the grid standard distance.
[0111] Optionally, the coordinate conversion module 901 is also used to: determine in the simulated geographic grid, respectively, a first grid unit corresponding to the longitude and latitude coordinates of the noise source entity, and a second grid unit corresponding to the longitude and latitude coordinates of the detection entity; obtain a first grid code corresponding to the first grid unit and a second grid code corresponding to the second grid unit; define the first grid code as a first simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the noise source entity, and define the second grid code as a second simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the detection entity.
[0112] The distance calculation module 902 also includes:
[0113] The measurement unit determination submodule is used to determine the scale feature of the simulated geographic grid as the basic measurement unit, and the scale feature refers to the length feature used to characterize the geographic range corresponding to each grid unit in the simulated geographic grid;
[0114] The canonical distance calculation submodule is used to calculate the grid canonical distance corresponding to the noise source entity and the detection entity according to the basic measurement unit.
[0115] The standard distance calculation submodule is also used to: obtain the first simulated geographic grid coordinates corresponding to the longitude and latitude coordinates of the noise source entity and the second simulated geographic grid coordinates corresponding to the longitude and latitude coordinates of the detection entity; determine the first coordinate difference between the first simulated geographic grid coordinates and the second simulated geographic grid coordinates in a first direction; determine the second coordinate difference between the first simulated geographic grid coordinates and the second simulated geographic grid coordinates in a second direction, the first direction and the second direction being perpendicular to each other; and obtain the grid standard distance corresponding to the noise source entity and the detection entity represented by the first coordinate difference, the second coordinate difference and the basic measurement unit according to the distance characterization algorithm.
[0116] The noise value determination module 903 is also used to: send a query request to a data storage device, the query request including a grid standard distance; when it is found that there is an underwater noise value corresponding to the grid standard distance in the data storage device, receive a first query result corresponding to the query request from the data storage device, the first query result including an underwater noise value corresponding to the grid standard distance.
[0117] The noise value determination module 903 is also used for: when no underwater noise value corresponding to the grid standard distance is found in the data storage device, receiving a second query result corresponding to the query request from the data storage device, the second query result indicating that no underwater noise value corresponding to the grid standard distance is found; in response to the second query result, obtaining the grid standard distance and the sound source data of the noise source entity; and calculating the underwater noise value corresponding to the grid standard distance based on the grid standard distance and the sound source data of the noise source entity.
[0118] The noise value determination module 903 is also used to: calculate the sound attenuation data corresponding to the grid standard distance; calculate the difference between the sound source data and the sound attenuation data of the noise source entity; and define the difference as the underwater noise value corresponding to the grid standard distance.
[0119] The underwater noise processing device proposed in the present invention, when facing a large-scale simulation system, requires more time in the initialization stage to calculate the grid standard distances between multiple target entities in the target sea area, and calculate the corresponding underwater noise values according to the grid standard distances. Then, in the application stage, the underwater noise value corresponding to the grid standard distance is queried through the grid standard distance, which can avoid repeated calculation of the required underwater noise value and quickly query the underwater noise value. The required calculation time is short, and the noise calculation demand can be responded to in real time, thereby quickly responding to environmental changes.
[0120] Reference below Fig.10 , Fig.10 FIG. 1 is a schematic diagram showing the structure of an electronic device provided by an embodiment of the present invention. Fig.10 As shown, the electronic device at least includes a processor 1001 and a memory 1002. For example, the electronic device may also include Fig.10 More or fewer components (eg, network interfaces, display devices, etc.) may be shown.
[0121] The processor 1001 is used to implement the method described in the above reference flow chart when executing the program.
[0122] The memory 1002 is used to store the grid standard distance and the underwater noise value corresponding to the grid standard distance according to the key-value pair data structure. The memory 1002 may be a data storage device.
[0123] In particular, according to the embodiment provided by the present invention, the above reference flow chart Figure 1-8The described process can be implemented as a computer software program. For example, the embodiments provided by the present invention include a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program contains program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), the above-mentioned functions defined in the system of the present invention are executed.
[0124] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0125] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods and computer program products described in various embodiments provided by the present invention. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the aforementioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0126] The units or modules involved in the embodiments described in the present invention may be implemented by software or hardware. The units or modules described may also be arranged in a processor, for example, they may be described as: a processor including a coordinate conversion module, a distance calculation module and a noise value determination module. The names of these units or modules do not constitute limitations on the units or modules themselves in certain circumstances, for example, the coordinate conversion module may also be described as "a module for converting the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area contained in the underwater noise processing request into simulated geographic grid coordinates respectively".
[0127] As another aspect, an embodiment of the present invention further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently and not be assembled into the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the underwater noise processing method described in the present invention.
[0128] The above description is only a preferred embodiment of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present invention is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present invention (but not limited to) to form a technical solution.
Claims
1. A method for underwater noise processing, characterized in that: The method includes: In response to an underwater noise processing request received in real time, the longitude and latitude coordinates of a noise source entity and a detection entity in a target sea area included in the underwater noise processing request are respectively converted into simulated geographic grid coordinates, wherein the simulated geographic grid coordinates are determined based on the position of a pre-constructed simulated geographic grid, and the simulated geographic grid is obtained by discretizing the target sea area; Calculate the grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates; Determining an underwater noise value corresponding to the grid standard distance according to the grid standard distance includes: The grid standard distance is sent to a data storage device, and an underwater noise value corresponding to the grid standard distance is obtained by query; If the underwater noise value corresponding to the grid standard distance is not found, the underwater noise value corresponding to the grid standard distance is calculated according to the grid standard distance and the sound source data of the noise source entity.
2. The method according to claim 1, characterized in that The step of converting the latitude and longitude coordinates of the noise source entity and the detection entity in the target sea area included in the underwater noise processing request into simulated geographic grid coordinates respectively includes: In the simulated geographic grid, respectively determining a first grid unit corresponding to the longitude and latitude coordinates of the noise source entity and a second grid unit corresponding to the longitude and latitude coordinates of the detection entity; Acquire a first grid code corresponding to the first grid unit and a second grid code corresponding to the second grid unit; The first grid code is defined as a first simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the noise source entity, and the second grid code is defined as a second simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the detection entity.
3. The method according to claim 1, characterized in that The calculating the grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates includes: Determining the scale feature of the simulated geographic grid as a basic unit of measurement, wherein the scale feature refers to a length feature used to characterize the geographic range corresponding to each grid unit in the simulated geographic grid; A grid norm distance corresponding to the noise source entity and the detection entity is calculated according to the basic measurement unit.
4. The method according to claim 3, characterized in that The calculating, according to the basic measurement unit, a grid standard distance corresponding to the noise source entity and the detection entity comprises: Acquire a first simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the noise source entity and a second simulated geographic grid coordinate corresponding to the longitude and latitude coordinates of the detection entity; Determine a first coordinate difference between the first simulated geographic grid coordinate and the second simulated geographic grid coordinate in a first direction; Determine a second coordinate difference between the first simulated geographic grid coordinate and the second simulated geographic grid coordinate in a second direction, the first direction and the second direction being perpendicular to each other; A grid standard distance corresponding to the noise source entity and the detection entity represented by the first coordinate difference, the second coordinate difference and the basic measurement unit is obtained according to a distance characterization algorithm.
5. The method according to claim 1, characterized in that The sending of the grid standard distance to a data storage device and querying to obtain an underwater noise value corresponding to the grid standard distance includes: Sending a query request to a data storage device, the query request including the grid specification distance; When it is found that the data storage device contains an underwater noise value corresponding to the grid standard distance, a first query result corresponding to the query request is received from the data storage device, wherein the first query result includes the underwater noise value corresponding to the grid standard distance.
6. The method according to claim 5, characterized in that If the underwater noise value corresponding to the grid standard distance is not found, the underwater noise value corresponding to the grid standard distance is calculated according to the grid standard distance and the sound source data of the noise source entity, including: When no underwater noise value corresponding to the grid standard distance is found in the data storage device, receiving a second query result corresponding to the query request from the data storage device, the second query result indicating that no underwater noise value corresponding to the grid standard distance is found; In response to the second query result, acquiring the grid standard distance and the sound source data of the noise source entity; An underwater noise value corresponding to the grid standard distance is calculated according to the grid standard distance and the sound source data of the noise source entity.
7. The method according to claim 6, characterized in that The calculating, according to the grid standard distance and the sound source data of the noise source entity, an underwater noise value corresponding to the grid standard distance comprises: Calculating sound attenuation data corresponding to the grid specification distance; Calculating the difference between the sound source data of the noise source entity and the sound attenuation data; The difference is defined as the underwater noise value corresponding to the grid standard distance.
8. An underwater noise processing device, characterized in that: The device comprises: A coordinate conversion module, for responding to an underwater noise processing request received in real time, converting the latitude and longitude coordinates of a noise source entity and a detection entity in a target sea area contained in the underwater noise processing request into simulated geographic grid coordinates, wherein the simulated geographic grid coordinates are determined based on the position of a pre-constructed simulated geographic grid, and the simulated geographic grid is obtained by discretizing the target sea area; A distance calculation module, used for calculating the grid standard distance corresponding to the noise source entity and the detection entity according to the simulated geographic grid coordinates; The noise value determination module is used to determine the underwater noise value corresponding to the grid standard distance according to the grid standard distance, including: sending the grid standard distance to a data storage device, querying to obtain the underwater noise value corresponding to the grid standard distance; if the underwater noise value corresponding to the grid standard distance is not queried, then calculating the underwater noise value corresponding to the grid standard distance according to the grid standard distance and the sound source data of the noise source entity.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. The device according to claim 9, characterized in that The device also includes a data storage device, which is used to store the grid standard distance and the underwater noise value corresponding to the grid standard distance according to a key-value pair data structure.
11. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Conversion method of ship underwater radiation noise testing result in different water area environments
CN108917907A
Ship underwater radiation noise assessment method
CN110083988A