Method, device and electronic equipment for generating environmental map in water navigation scene

By acquiring and constructing static and dynamic information in water navigation scenarios, accurate environmental maps are generated, which solves the problem of inaccurate map generation in water navigation scenarios in the existing technology and improves the autonomous navigation capabilities of smart ships.

CN113989410BActive Publication Date: 2024-10-15WUHAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111225742.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-21
Publication Date
2024-10-15
Estimated Expiration
2041-10-21

AI Technical Summary

Technical Problem

The existing technology lacks a more accurate solution for generating environmental maps in water navigation scenarios, which affects the accuracy of autonomous navigation of smart ships.

Method used

By obtaining static and dynamic information of the water surface, determining point semantic information, and constructing a two-dimensional array to generate an environmental map, combined with tracking of corner point features and line segment features, image segmentation and Gaussian distribution modeling, the accuracy of the environmental map is optimized.

Benefits of technology

It achieves more accurate environmental map generation in water navigation scenarios and improves the autonomous navigation capabilities of smart ships in dynamic and complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113989410B_ABST
    Figure CN113989410B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for generating an environmental map in a water navigation scene, the method comprising: obtaining static information and dynamic information of a water surface; determining point semantic information corresponding to the static information and point semantic information corresponding to the dynamic information respectively according to the static information and the dynamic information; constructing a two-dimensional array according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and constructing an environmental map with the two-dimensional array. The method for generating an environmental map in a water navigation scene provided by the present invention realizes the generation of a relatively accurate environmental map in a water navigation scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of map generation technology, and in particular to a method, device, electronic device and computer-readable storage medium for generating an environment map in a water navigation scene. Background Art

[0002] In the field of autonomous driving technology, autonomous driving can be divided into different levels according to whether manual control is required and the degree of manual control required. Among them, high-intelligence level autonomous driving does not require human attention and can achieve complete unmanned driving. By applying autonomous driving technology to ships, autonomous navigation of intelligent ships can be achieved. The key to autonomous navigation of intelligent ships is to make accurate behavioral decisions in a timely manner in the face of dynamic and complex environments, and the premise and basis of behavioral decisions is that intelligent ships can generate accurate environmental maps in water navigation scenarios. For water navigation scenarios, the existing technology lacks a more accurate environmental map generation solution. Summary of the invention

[0003] In view of this, it is necessary to provide a method, device, electronic device and computer-readable storage medium for generating an environmental map in a water navigation scenario, so as to solve the problem in the prior art of lacking a solution for generating a more accurate environmental map in a water navigation scenario.

[0004] In order to solve the above problems, the present invention provides a method for generating an environment map in a water navigation scenario, comprising:

[0005] Obtain static and dynamic information of the water surface;

[0006] According to the static information and the dynamic information, respectively determine the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information;

[0007] A two-dimensional array is constructed according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and an environment map is constructed with the two-dimensional array.

[0008] Further, determining point semantic information corresponding to the static information according to the static information includes:

[0009] According to the map entity and the static obstacle entity, the object labels and label probabilities of the map entity and the static obstacle entity are obtained respectively, and the object labels of the map entity and the label probabilities of the map entity are used as the point semantic information of the map entity, and the object labels of the static obstacle entity and the label probabilities of the static obstacle entity are used as the point semantic information of the static obstacle entity.

[0010] Further, determining point semantic information corresponding to the dynamic information according to the dynamic information includes:

[0011] According to the dynamic obstacle entity and the dynamic environment information, the object labels and label probabilities of the dynamic obstacle entity and the dynamic environment information are obtained respectively, and the object labels of the dynamic obstacle entity and the label probabilities of the map entity are used as the point semantic information of the map entity, and the object labels of the dynamic environment information and the label probabilities of the dynamic environment information are used as the point semantic information of the dynamic environment information.

[0012] Further, constructing a two-dimensional array according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information includes: constructing a two-dimensional array MAP according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information,

[0013]

[0014] Among them, m uv =(o′ uv ,c uv ,S uv ,r uv ), S uv ={(I i ,p′ ij ): p′ ij >0},m uv is the value of the two-dimensional array corresponding to the uth row and vth column, o′ uv Occupancy rate, c uv is the point cluster label, S uv is the point semantic information corresponding to static information or the point semantic information corresponding to dynamic information, r uv The state type of the two-dimensional data point.

[0015] Furthermore, constructing an environment map using the two-dimensional array includes:

[0016] When S in the two-dimensional array MAP uv When the point semantic information corresponds to the static information, the static environment map is constructed with the two-dimensional array. uv When the point semantic information corresponds to dynamic information, the dynamic environment map is constructed using the two-dimensional array.

[0017] Furthermore, the method for generating an environmental map in a water navigation scenario also includes, after constructing the environmental map with the two-dimensional array, performing feature extraction and tracking on corner point features and line segment features in the image to obtain feature points, and forming a feature space with the feature points, obtaining the stable tracking time of the feature points, adding the life cycle as a feature dimension in the feature space, and performing image segmentation using feature space clustering to optimize the environmental map.

[0018] Furthermore, the method for generating an environmental map in the water navigation scenario also includes, after image segmentation, using Gaussian distribution modeling to obtain characteristic time statistics of feature points, using the observation model of each pixel in the image as a likelihood function, using the CNN-based segmentation confidence as a priori probability, and according to the Bayesian rule, calculating the classification probability of all pixels in the image, and using the classification probability to complete image semantic segmentation.

[0019] The present invention also provides an environment map generation device in a water navigation scene, comprising a scene information acquisition module, a point semantic information acquisition module and a map construction module;

[0020] The scene information acquisition module is used to acquire static information and dynamic information of the water surface;

[0021] The point semantic information acquisition module is used to determine the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information according to the static information and the dynamic information;

[0022] The map construction module is used to construct a two-dimensional array according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and to construct an environment map with the two-dimensional array.

[0023] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method for generating an environmental map in a water navigation scenario as described in any of the above technical solutions is implemented.

[0024] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for generating an environmental map in a water navigation scenario as described in any of the above technical solutions is implemented.

[0025] The beneficial effect of adopting the above embodiment is: by acquiring static information and dynamic information of the water surface, using the object label of the static obstacle entity and the label probability of the static obstacle entity as the point semantic information of the static obstacle entity, using the object label of the dynamic environment information and the label probability of the dynamic environment information as the point semantic information of the dynamic environment information, constructing a two-dimensional array through the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and constructing an environment map with the two-dimensional array; achieving the generation of a more accurate environment map in the water navigation scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of an application scenario of the device for generating an environment map in a water navigation scenario provided by an embodiment of the present invention;

[0027] Figure 2A schematic flow chart of a method for generating an environment map in a water navigation scenario provided by an embodiment of the present invention;

[0028] Figure 3 A structural block diagram of an environment map generating device for a water navigation scenario provided by an embodiment of the present invention;

[0029] Figure 4 This is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0031] The present invention provides a method, device, electronic device and computer-readable storage medium for generating an environmental map in a water navigation scenario, which are described in detail below.

[0032] Figure 1 Schematic diagram of an application scenario of the device for generating an environment map in a water navigation scenario provided by the present invention. The device for generating an environment map in a water navigation scenario may include a server 100, in which the device for generating an environment map in a water navigation scenario is integrated. Figure 1 Servers in .

[0033] In the embodiment of the present invention, the server 100 is mainly used for:

[0034] Obtain static and dynamic information of the water surface;

[0035] According to the static information and the dynamic information, respectively determine the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information;

[0036] A two-dimensional array is constructed according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and an environment map is constructed with the two-dimensional array.

[0037] In the embodiment of the present invention, the server 100 may be an independent server, or a server network or server cluster composed of servers. For example, the server 100 described in the embodiment of the present invention includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of a plurality of servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.

[0038] It is to be understood that the terminal 200 used in the embodiment of the present invention may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such a device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific terminal 200 may be a desktop computer, a portable computer, a network server, a PDA (Personal Digital Assistant), a mobile phone, a tablet computer, a wireless terminal device, a communication device, an embedded device, etc. The present embodiment does not limit the type of the terminal 200.

[0039] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the solution of the present invention and does not constitute a limitation on the application scenario of the solution of the present invention. Other application environments may also include Figure 1 More or fewer terminals as shown in Figure 1 Only two terminals are shown. It can be understood that the environment map generating device in the water navigation scene can also include one or more other terminals, which are not specifically limited here.

[0040] In addition, refer to Figure 1 As shown, the generation of the environment map in the water navigation scene may also include a memory 200 for storing data, such as static information and dynamic information of the water surface.

[0041] It should be noted that Figure 1 The scene diagram of the environmental map generating device in the water navigation scenario shown is only an example. The environmental map generating device and the scene in the water navigation scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention. Ordinary technicians in this field can know that with the evolution of the environmental map generating device in the water navigation scenario and the emergence of new business scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems.

[0042] The embodiment of the present invention provides a method for generating an environment map in a water navigation scenario, and a flow chart of the method is as follows: Figure 2 As shown, the method for generating an environment map in the water navigation scenario includes:

[0043] Step S1, obtaining static information and dynamic information of the water surface;

[0044] Step S2, determining point semantic information corresponding to the static information and point semantic information corresponding to the dynamic information respectively according to the static information and the dynamic information;

[0045] Step S3: construct a two-dimensional array according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and construct an environment map with the two-dimensional array.

[0046] In a specific embodiment, the water scene is divided into three levels: scene level, state level and situation level. At the scene level, the multi-source heterogeneous information is divided into static information, dynamic information and navigation process guidance information according to the dynamic attributes of the driving scene information. The state level is mainly an extension of the scene level information. It not only considers the existence state of the entity but also focuses on the interaction relationship between entities, mainly including the topological connection relationship between map entities, the interactive behavior relationship between obstacle entities and the constraint relationship between static and dynamic information. The state level information contains the state information of the smart ship itself, and the situation level scene information focuses on the prediction of the possible state of the navigation scene in the future.

[0047] As a preferred embodiment, determining the point semantic information corresponding to the static information according to the static information includes:

[0048] According to the map entity and the static obstacle entity, the object labels and label probabilities of the map entity and the static obstacle entity are obtained respectively, and the object labels of the map entity and the label probabilities of the map entity are used as the point semantic information of the map entity, and the object labels of the static obstacle entity and the label probabilities of the static obstacle entity are used as the point semantic information of the static obstacle entity.

[0049] In a specific embodiment, static information includes map entities and static obstacle entities. Map entities include water facilities and water buoys with relatively fixed positions; static obstacle entities refer to stationary non-map entities in water navigation scenes, mainly including other stationary water participants and temporary obstacles.

[0050] As a preferred embodiment, determining point semantic information corresponding to the dynamic information according to the dynamic information includes:

[0051] According to the dynamic obstacle entity and the dynamic environment information, the object labels and label probabilities of the dynamic obstacle entity and the dynamic environment information are obtained respectively, and the object labels of the dynamic obstacle entity and the label probabilities of the map entity are used as the point semantic information of the map entity, and the object labels of the dynamic environment information and the label probabilities of the dynamic environment information are used as the point semantic information of the dynamic environment information.

[0052] In a specific embodiment, dynamic information includes the state of dynamic obstacle entities and dynamic environment information. Dynamic obstacle entities refer to other water participants whose motion state changes at any time during the operation of the smart ship. Dynamic environment information mainly refers to dynamic scene information other than dynamic obstacles, including light intensity, weather conditions, and water surface conditions. The state and dynamic information of static obstacle entities cannot be obtained through prior knowledge and require real-time detection by the environmental perception system.

[0053] As a preferred embodiment, constructing a two-dimensional array according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information includes: constructing a two-dimensional array MAP according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information,

[0054]

[0055] Among them, m uv =(o′ uv ,c uv ,S uv ,r uv ), S uv ={(I i ,p′ ij ): p′ ij >0},m uv is the value of the two-dimensional array corresponding to the uth row and vth column, o′ uv Occupancy rate, c uv is the point cluster label, S uv is the point semantic information corresponding to static information or the point semantic information corresponding to dynamic information, r uv The state type of the two-dimensional data point.

[0056] In a specific embodiment, the environment map is represented by an extended occupancy grid map method. The grid map can be represented by a two-dimensional array, and each data in the array represents the occupancy rate of the point, that is, the probability that the point is an obstacle point. The occupancy rate is calculated through multiple observations. When the same grid point on the map is observed to have an obstacle multiple times, its occupancy rate will increase. However, if the same grid point is only observed to have an obstacle a few times, and there is no obstacle at the grid point in subsequent observations, the occupancy rate will decrease. The occupancy grid map expresses the occupancy rate corresponding to each point, that is, whether there is an obstacle at the corresponding point, but cannot express more spatial information, such as object labels, label probabilities, etc.

[0057] As a preferred embodiment, constructing an environment map using the two-dimensional array includes:

[0058] When S in the two-dimensional array MAP uvWhen the point semantic information corresponds to the static information, the static environment map is constructed with the two-dimensional array. uv When the point semantic information corresponds to dynamic information, the dynamic environment map is constructed with this two-dimensional array. It should be noted that Suv may contain multiple object labels.

[0059] As a preferred embodiment, the method for generating an environmental map in a water navigation scenario also includes, after constructing the environmental map with the two-dimensional array, performing feature extraction and tracking on corner point features and line segment features in the image to obtain feature points, and forming a feature space with the feature points, obtaining the stable tracking time of the feature points, adding the life cycle as a feature dimension in the feature space, and performing image segmentation using feature space clustering to optimize the environmental map.

[0060] In a specific embodiment, time correlation is considered in image segmentation, that is, image segmentation based on feature tracking, specifically, feature extraction and tracking (optical flow tracking or feature matching tracking) of corner features (Harris corners or Fast corners) and line features in the image, and the stable tracking time of feature points is counted (the life cycle of the feature, the area with a short life cycle of the feature point is more likely to be the water surface, and the area with a long life cycle is more likely to be an obstacle area); the life cycle is added as a new feature dimension in the feature space, and the feature space clustering segmentation algorithm, such as nearest neighbor clustering, mean shift or graph segmentation, is used to complete the segmentation of the current input image. Through the above image segmentation, the accuracy of the continuous creation of the local environment map is improved.

[0061] It should be noted that the introduction of the information dimension of feature life cycle helps to improve the segmentation effect of small target areas. In image segmentation tasks, it is often the case that the target is ignored by the segmentation algorithm because it is too small. However, the corner detection and tracking algorithm has a relatively high detection accuracy for the corner features of small target image areas. Based on the above observations, the life cycle of the feature points corresponding to the small target is used as a feature weight amplification coefficient of the segmentation area, which reduces the risk of the small target area being swallowed up by the surrounding large area and increases the probability of the small target area being successfully detected by the algorithm.

[0062] As a preferred embodiment, after image segmentation, the method for generating an environmental map in a water navigation scenario uses Gaussian distribution modeling to obtain characteristic time statistics of feature points, uses the observation model of each pixel in the image as the likelihood function, and uses the CNN-based segmentation confidence as the prior probability. According to the Bayesian rule, the classification probability of all pixels in the image is calculated, and the image semantic segmentation is completed using the classification probability.

[0063] It should be noted that in the region growing image segmentation algorithm, the number and position distribution of region growing seeds is a parameter pre-set based on prior knowledge. Different initial seed numbers and distribution parameters lead to very different segmentation results. Similarly, in the image segmentation algorithm based on convolutional neural networks, the segmentation effect depends on the selection and quantity of the data set. Different training data sets will lead to very different segmentation results.

[0064] In a specific embodiment, a Bayesian framework is used to select the appropriate number of regional seeds and seed positions based on the position distribution and clustering characteristics of features of different life cycles in the current input image, so as to reduce the dependence of the segmentation results on prior parameters. Specifically, a semantic feature containing the life cycle information of the feature points of the video sequence is designed to distinguish different scene areas. The characteristic time statistics of the image feature points can be modeled using Gaussian distribution. In the Bayesian framework, the observation model of each pixel is used as the likelihood function, and the segmentation confidence based on CNN is used as the prior probability. According to the Bayesian rule, the classification probability of all pixels in the image is calculated, and finally the classification probability is used to complete the image semantic segmentation.

[0065] The embodiment of the present invention provides a device for generating an environment map in a water navigation scene. The structural block diagram of the device is as follows: Figure 3 As shown, the device includes a scene information acquisition module 1, a point semantic information acquisition module 2 and a map construction module 3;

[0066] The scene information acquisition module 1 is used to acquire static information and dynamic information of the water surface;

[0067] The point semantic information acquisition module 2 is used to determine the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information according to the static information and the dynamic information;

[0068] The map construction module 3 is used to construct a two-dimensional array according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and to construct an environment map with the two-dimensional array.

[0069] An embodiment of the present invention provides an electronic device, a structural block diagram of which is shown in FIG. Figure 4 As shown, the electronic device includes a memory 20 and a processor 10, and the memory 20 stores a computer program 30. When the computer program 30 is executed by the processor 10, the method for generating an environmental map in a water navigation scene as described in any of the above embodiments is implemented.

[0070] The present invention discloses a method, device, electronic device and computer-readable storage medium for generating an environment map in a water navigation scene. By acquiring static information and dynamic information of the water surface, object labels of static obstacle entities and label probabilities of static obstacle entities are used as point semantic information of static obstacle entities, object labels of dynamic environment information and label probabilities of dynamic environment information are used as point semantic information of dynamic environment information, a two-dimensional array is constructed through the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and an environment map is constructed through the two-dimensional array; thus, generation of a relatively accurate environment map in a water navigation scene is achieved.

[0071] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0072] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A method for generating an environmental map in a water navigation scenario, characterized in that: include: Obtain static and dynamic information of the water surface; According to the static information and the dynamic information, respectively determine the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information; Constructing a two-dimensional array according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and constructing an environment map with the two-dimensional array; Determining point semantic information corresponding to the static information according to the static information includes: According to the map entity and the static obstacle entity, the object labels and label probabilities of the map entity and the static obstacle entity are obtained respectively, and the object labels of the map entity and the label probabilities of the map entity are used as the point semantic information of the map entity, and the object labels of the static obstacle entity and the label probabilities of the static obstacle entity are used as the point semantic information of the static obstacle entity; Determining point semantic information corresponding to the dynamic information according to the dynamic information includes: According to the dynamic obstacle entity and the dynamic environment information, the object labels and label probabilities of the dynamic obstacle entity and the dynamic environment information are obtained respectively, and the object labels of the dynamic obstacle entity and the label probabilities of the dynamic obstacle entity are used as the point semantic information of the map entity, and the object labels of the dynamic environment information and the label probabilities of the dynamic environment information are used as the point semantic information of the dynamic environment information; Constructing a two-dimensional array according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, including: Construct a two-dimensional array MAP according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, in, , , m uv is the value of the two-dimensional array corresponding to the uth row and vth column, is the occupancy rate, c uv is the point cluster label, S uv is the point semantic information corresponding to static information or the point semantic information corresponding to dynamic information, r uv is the state type of the two-dimensional data point; Constructing an environment map using the two-dimensional array, including: When S in the two-dimensional array MAP uv When the point semantic information corresponds to the static information, the static environment map is constructed with the two-dimensional array. uv When the point semantic information corresponds to dynamic information, the dynamic environment map is constructed using the two-dimensional array.

2. The method for generating an environmental map in a water navigation scene according to claim 1, characterized in that: Also includes: After constructing the environment map with the two-dimensional array, feature extraction and tracking are performed on the corner point features and line segment features in the image to obtain feature points, and a feature space is formed with the feature points to obtain the stable tracking time of the feature points. The life cycle is added as a feature dimension in the feature space, and image segmentation is performed using feature space clustering to optimize the environment map.

3. The method for generating an environmental map in a water navigation scene according to claim 2, characterized in that: It also includes, after image segmentation, using Gaussian distribution modeling to obtain feature time statistics of feature points, using the observation model of each pixel in the image as the likelihood function, using the CNN-based segmentation confidence as the prior probability, and calculating the classification probability of all pixels in the image according to the Bayesian rule, and using the classification probability to complete image semantic segmentation.

4. A device for generating an environment map in a water navigation scene, used to execute the method for generating an environment map in a water navigation scene as claimed in any one of claims 1 to 3, characterized in that: It includes scene information acquisition module, point semantic information acquisition module and map construction module; The scene information acquisition module is used to acquire static information and dynamic information of the water surface; The point semantic information acquisition module is used to determine the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information according to the static information and the dynamic information; The map construction module is used to construct a two-dimensional array according to the point semantic information corresponding to the static information and the point semantic information corresponding to the dynamic information, and to construct an environment map with the two-dimensional array.

5. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method for generating an environmental map in a water navigation scene as described in any one of claims 1-3 is implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the method for generating an environmental map in a water navigation scenario as described in any one of claims 1 to 3 is implemented.