Ship navigation early warning method and system based on electronic fence

Through the ship navigation early warning method based on electronic fences, combined with image segmentation model and dynamic/static electronic fence mode, the problems of ship navigation safety and low efficiency in the existing technology are solved, and efficient monitoring and early warning of ship navigation are achieved, improving the efficiency of ship navigation. The level of navigation safety and intelligence.

CN119068639AActive Publication Date: 2024-12-03WUHAN MINGFEI WEIYE SCIENCE & TECHNOLOGY INNOVATION IND DEVELOPMENT CO LTD

Patent Information

Application Number
CN202411278391.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-03
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

The existing ship navigation technology has shortcomings in information integration, human-computer interaction, degree of automation, remote monitoring and emergency response, resulting in low navigation safety, efficiency and intelligence levels, especially in complex environments, with limited independent decision-making capabilities, and Existing systems lack efficient information integration and intelligent analysis capabilities.

Method used

Using the ship navigation warning method based on electronic fences, the target ship and obstacles are identified through image segmentation models, combined with the current speed, heading change speed and distance of electronic fences, multi-dimensional analysis and prediction are carried out, risk assessment results are generated, and heading warning strategies are formulated, and the Dynamic and static electronic fence modes adapt to water level changes, improving the accuracy and real-timeness of early warnings.

Benefits of technology

It has achieved comprehensive monitoring and early warning of ship navigation, improved navigation safety and efficiency, and can promptly notify ship drivers or relevant departments to take measures to effectively prevent the occurrence of navigation accidents. It has high practical value and wide application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119068639A_ABST
    Figure CN119068639A_ABST
Patent Text Reader

Abstract

The invention provides a ship navigation early warning method and system based on an electronic fence, and relates to the field of ship navigation early warning, and the method comprises the steps: inputting an image to a preset image segmentation model, and obtaining a target ship, an obstacle and a current water level height; inputting the current water level height to a preset water area model to obtain a dynamic electronic fence; determining the current speed according to the position information of the target ship, and determining the current course change speed according to the motion track of the target ship; and inputting the current speed, the current course change speed, the first distance and the second distance to a preset ship navigation early warning model to obtain a risk assessment result, and determining a course early warning strategy of the target ship according to the risk assessment result. According to the method, the current speed, the course and the distance between the barrier and the electronic fence are comprehensively considered, the early warning accuracy is improved, the dynamic or static electronic fence mode is intelligently selected according to the change amplitude of the water level height, the early warning real-time performance is considered, and the calculated amount can be reduced as much as possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of ship navigation warning, and in particular to a ship navigation warning method and system based on electronic fence. Background Art

[0002] Existing ships generally use marine radar for obstacle avoidance and manual observation navigation. The radar display is not intuitive enough, and manual observation has large errors and strong limitations. Although shipboard equipment such as radar and automatic identification system (Automatic Identification System, AIS) can collect a large amount of navigation information, the existing systems often lack efficient information integration and intelligent analysis capabilities, and cannot comprehensively and real-timely evaluate the navigation environment, thus failing to provide the crew with the best decision support.

[0003] The interface of traditional ship navigation system is complex, the operation is cumbersome, and the information display method is single and not intuitive and easy to understand, which increases the workload of crew members and the risk of misoperation. Although ship automation technology has developed to a certain extent, it is still in its early stages as a whole. In particular, the autonomous decision-making and response capabilities for complex navigation environments are limited, and still rely heavily on manual judgment and operation. When a ship is far away from the port or coastline, once an emergency occurs, the existing remote monitoring and emergency response mechanisms often have time delays and cannot provide support and assistance quickly and effectively. Traditional ship navigation mainly relies on radar and manual observation for obstacle avoidance and navigation, but this method is often not accurate and intuitive enough for the definition of navigation safety areas.

[0004] Existing ship navigation technology has deficiencies to varying degrees in information integration, human-computer interaction, degree of automation, remote monitoring and emergency response, and electronic fence technology. It is urgent to improve the safety, efficiency and intelligence level of ship navigation. However, there is currently no technical solution that can solve the above technical problems, and there is no ship navigation warning method and system based on electronic fences. Summary of the invention

[0005] The present invention provides a ship navigation warning method and system based on electronic fence, which integrates the electronic fence technology, takes the current speed, the current heading change speed, the distance to the obstacle and the distance to the electronic fence as warning reference factors, and uses a preset ship navigation warning model to perform multi-dimensional analysis and prediction, thereby enhancing the safety and efficiency of water transportation.

[0006] In a first aspect, the present invention provides a ship navigation warning method based on an electronic fence, comprising:

[0007] For any frame image in the continuous frame images, the image is input into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model;

[0008] Determine the target mode of the electronic fence according to the current waters where the target ship is located. When it is determined that the target mode is a dynamic mode, input the current water level height into a preset waters model to obtain a dynamic electronic fence corresponding to the current water level height output by the preset waters model. The target mode includes a dynamic mode and a static mode.

[0009] Determine the current speed of the target ship according to the position information of the target ship in each frame image at different timestamps, determine the current course change speed of the target ship according to the motion trajectory of the target ship in each frame image at different timestamps, determine the first distance between the target ship and the obstacle, and determine the second distance between the target ship and the dynamic electronic fence;

[0010] The current speed, the current heading change speed, the first distance and the second distance are input into a preset ship navigation warning model to obtain a risk assessment result output by the preset ship navigation warning model, and the heading warning strategy of the target ship is determined according to the risk assessment result.

[0011] According to the ship navigation warning method based on electronic fence provided by the present invention, before inputting the image into the preset image segmentation model, the method further includes:

[0012] When the current brightness is greater than or equal to the preset brightness, using a visible light camera to collect the continuous frame images;

[0013] When the current brightness is less than the preset brightness, continuous initial images are collected using an infrared camera, the continuous initial images are processed using super-resolution to obtain continuous processed images, and noise suppression and image enhancement are performed on the continuous processed images to obtain the continuous frame images.

[0014] According to the ship navigation warning method based on electronic fence provided by the present invention, the inputting of the image into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model includes:

[0015] Inputting the image into a preset image segmentation model to obtain target ships and obstacles output by the preset image segmentation model;

[0016] Using a preset edge detection algorithm to identify the image, obtain a water surface segmentation line, and determine the current water level height according to the water surface segmentation line and a preset reference line;

[0017] The preset image segmentation model is determined after training based on all image samples and the annotation information on each image sample, wherein the annotation information includes ship information and obstacle information.

[0018] According to the ship navigation warning method based on electronic fence provided by the present invention, the target mode of the electronic fence is determined according to the current waters where the target ship is located, including:

[0019] When the change amplitude of the water level height corresponding to the current water area is less than a preset amplitude, determining that the target mode is a static mode;

[0020] When the change amplitude of the water level height corresponding to the current water area is greater than or equal to the preset amplitude, the target mode is determined to be a dynamic mode.

[0021] According to the ship navigation warning method based on electronic fence provided by the present invention, after determining the target mode of the electronic fence, the method further includes:

[0022] When it is determined that the target mode is a static mode, a static electronic fence corresponding to the current water level is determined according to the current water level from the correspondence between the preset water level and the preset electronic fence. The static electronic fence is in use within a preset time period after the determination, and is used to determine the second distance based on the target ship and the static electronic fence in each frame image at different timestamps.

[0023] According to the ship navigation warning method based on electronic fence provided by the present invention, before inputting the current water level to the preset water area model to obtain the dynamic electronic fence corresponding to the current water level output by the preset water area model, the method further includes:

[0024] Get all sample images at different water level heights;

[0025] For each sample image at each water level, gridding is performed on the waterway waters in the sample image, and for each grid in the sample image, a depth value of the grid is determined according to the water level depth corresponding to the grid, all grids are traversed to form a grid array, and an electronic fence is marked at the boundary of the grid array using a preset value, wherein the depth value is a value greater than zero, and the preset value is a value less than or equal to zero, and all sample images are traversed to obtain all sample images after gridding;

[0026] The preset initial model is trained according to all sample images after gridding processing and the water level height corresponding to each sample image to obtain the preset water area model.

[0027] According to the ship navigation warning method based on electronic fence provided by the present invention, the current speed of the target ship is determined according to the position information of the target ship in each frame image at different time stamps, including:

[0028] The position information of the target ship in each frame of the image is converted into actual position coordinates using longitude and latitude;

[0029] Determining the displacement and time stamp difference of the target ship in at least two frames of images;

[0030] The current speed of the target ship is determined according to the displacement and the timestamp difference.

[0031] According to the ship navigation warning method based on electronic fence provided by the present invention, the current course change speed of the target ship is determined according to the motion trajectory of the target ship in each frame image at different time stamps, including:

[0032] Constructing a position sequence according to the position information of the target ship under a preset continuous time length;

[0033] Fitting the position sequence using the least squares method to obtain the motion trajectory of the target ship;

[0034] Determine, according to the motion trajectory, a first direction vector of the target ship at a previous position and a second direction vector of the target ship at a current position;

[0035] The current course change speed of the target ship is determined according to the first direction vector and the second direction vector.

[0036] According to the ship navigation warning method based on electronic fence provided by the present invention, the heading warning strategy of the target ship is determined according to the risk assessment result, including:

[0037] When the risk assessment result is greater than a first threshold value and less than a second threshold value, generating a reminder instruction, wherein the reminder instruction is used to instruct the ship to return to the route;

[0038] When the risk assessment result is greater than or equal to the second threshold, an alarm instruction is generated, the alarm instruction is used to issue an emergency alarm, and the alarm instruction is sent to a preset department for processing.

[0039] In a second aspect, a ship navigation warning system based on an electronic fence is provided, comprising:

[0040] A first input unit, the first input unit is used to input any frame image in the continuous frame image into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model;

[0041] A first determining unit, the first determining unit is used to determine a target mode of the electronic fence according to the current waters where the target ship is located, and when it is determined that the target mode is a dynamic mode, input the current water level height into a preset waters model to obtain a dynamic electronic fence corresponding to the current water level height output by the preset waters model, wherein the target mode includes a dynamic mode and a static mode;

[0042] a second determination unit, the second determination unit being used to determine a current speed of the target ship according to the position information of the target ship in each frame image at different timestamps, determine a current course change speed of the target ship according to the motion trajectory of the target ship in each frame image at different timestamps, determine a first distance between the target ship and the obstacle, and determine a second distance between the target ship and the dynamic electronic fence;

[0043] A second input unit, the second input unit is used to input the current speed, the current heading change speed, the first distance and the second distance into a preset ship navigation warning model to obtain a risk assessment result output by the preset ship navigation warning model, and determine the heading warning strategy of the target ship according to the risk assessment result.

[0044] The present invention can accurately segment target ships, obstacles and current water levels from continuous frame images by using a preset image segmentation model, thus providing an accurate data basis for subsequent analysis and early warning. According to the change amplitude of the water level in the current water area, the present invention can intelligently select a dynamic or static electronic fence mode. The dynamic mode can adapt to water level changes and improve the accuracy and real-time performance of early warnings. The static mode is suitable for situations where the water level changes slightly, thus reducing the amount of calculation. Taking into account multi-dimensional factors, the present invention inputs the current speed, heading, and distance from obstacles and dynamic / static electronic fences into a preset ship navigation early warning model to obtain a risk assessment result. According to the assessment result, a corresponding reminder or alarm instruction is generated to promptly notify the ship driver or relevant departments to take corresponding measures, thus effectively preventing the occurrence of navigation accidents.

[0045] The present invention formulates early warning strategies of different levels according to different ranges of risk assessment results. For lower risks, reminder instructions are generated; for high risks, alarm instructions are generated and sent to the preset department for processing. The use of this multi-level early warning strategy can more effectively deal with different levels of navigation risks. By comprehensively utilizing multiple technical means such as image processing, water area models, dynamic analysis and risk assessment, comprehensive monitoring and early warning of ship navigation safety are achieved, which has high practical value and broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0047] Figure 1 It is a flow chart of the ship navigation warning method based on electronic fence provided by the present invention;

[0048] Figure 2 It is a structural schematic diagram of a ship navigation warning system based on electronic fence provided by the present invention;

[0049] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

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

[0051] Figure 1 The present invention provides a schematic flow chart of a method for early warning of ship navigation based on an electronic fence, wherein the method for early warning of ship navigation based on an electronic fence comprises:

[0052] Step 101: for any frame image in the continuous frame images, input the image into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model;

[0053] Step 102: determining a target mode of the electronic fence according to the current waters where the target ship is located; when the target mode is determined to be a dynamic mode, inputting the current water level into a preset waters model to obtain a dynamic electronic fence corresponding to the current water level output by the preset waters model; the target mode includes a dynamic mode and a static mode;

[0054] Step 103: determining the current speed of the target ship according to the position information of the target ship in each frame image at different timestamps, determining the current course change speed of the target ship according to the motion trajectory of the target ship in each frame image at different timestamps, determining the first distance between the target ship and the obstacle, and determining the second distance between the target ship and the dynamic electronic fence;

[0055] Step 104: input the current speed, the current heading change speed, the first distance, and the second distance into a preset ship navigation warning model to obtain a risk assessment result output by the preset ship navigation warning model, and determine a heading warning strategy for the target ship based on the risk assessment result.

[0056] In step 101, the present invention obtains continuous frame images from a ship navigation monitoring system, selects each frame as a processing object, and inputs the selected image into a pre-trained image segmentation model. The preset image segmentation model is based on deep learning technology, such as convolutional neural network (CNN), which can automatically identify and segment target ships, obstacles (such as reefs, other ships, etc.) and water surface areas in the image, and calculates the current water level using the water surface area in the image in combination with a preset edge detection algorithm and baseline.

[0057] Optionally, before inputting the image into a preset image segmentation model, the method further includes:

[0058] When the current brightness is greater than or equal to the preset brightness, using a visible light camera to collect the continuous frame images;

[0059] When the current brightness is less than the preset brightness, continuous initial images are collected using an infrared camera, the continuous initial images are processed using super-resolution to obtain continuous processed images, and noise suppression and image enhancement are performed on the continuous processed images to obtain the continuous frame images.

[0060] Optionally, the present invention adds adaptive processing of the image acquisition environment in the electronic fence-based ship navigation warning method to ensure that high-quality image data can be obtained under different lighting conditions, thereby improving the accuracy of subsequent image segmentation and target recognition. Before starting to acquire continuous frame images, the light brightness of the current environment is first detected. This can be achieved through a photosensor or a brightness analysis module in an image processing algorithm, and the detected current brightness is compared with the preset brightness.

[0061] If the current brightness is greater than or equal to the preset brightness, the visible light camera is used to collect continuous frame images. The visible light camera can capture rich colors and detail information when the light is sufficient; if the current brightness is less than the preset brightness, the infrared camera is used to collect continuous initial images. The infrared camera can form images by capturing infrared radiation emitted by objects in low-light environments, and has good night vision and penetration capabilities. More specifically, for the continuous initial images collected by the infrared camera, super-resolution processing is first performed. Super-resolution processing is a technology that improves image resolution through algorithms, which can improve image quality and make the image clearer. Then, the image after super-resolution processing is subjected to noise suppression processing. Since there may be more noise in the infrared image, noise suppression processing can reduce the impact of these noises on the image quality. Finally, image enhancement processing is performed. Image enhancement processing aims to improve the visual effect of the image, enhance the image's contrast, brightness and other characteristics, and make the image more suitable for subsequent processing and analysis.

[0062] The present invention can significantly improve the quality of collected images by selecting appropriate image acquisition methods under different lighting conditions and combining image preprocessing technology, which is helpful for the accuracy of subsequent image segmentation and target recognition. At the same time, it enables the ship navigation warning system to work normally under various lighting conditions, including daytime, night, and foggy days, thereby enhancing the environmental adaptability of the system and improving its reliability and stability in practical applications.

[0063] Optionally, inputting the image into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model includes:

[0064] Inputting the image into a preset image segmentation model to obtain target ships and obstacles output by the preset image segmentation model;

[0065] Using a preset edge detection algorithm to identify the image, obtain a water surface segmentation line, and determine the current water level height according to the water surface segmentation line and a preset reference line;

[0066] The preset image segmentation model is determined after training based on all image samples and the annotation information on each image sample, wherein the annotation information includes ship information and obstacle information.

[0067] Optionally, the preset image segmentation model is trained through machine learning or deep learning algorithms. During the training process, a large number of image samples are used. These samples contain features such as ships, obstacles, and water surfaces in various scenarios. For each image sample, detailed annotation work is performed, that is, the ship information and obstacle information in the image are annotated. Through continuous iteration and optimization of the training process, a preset image segmentation model that can accurately identify and segment target ships and obstacles in the image is finally obtained.

[0068] After determining the preset image segmentation model, the image is input into the preset image segmentation model to obtain the target ship and obstacle output by the preset image segmentation model. After obtaining the image segmentation result, the entire image is further processed using a preset edge detection algorithm. The edge detection algorithm can identify the boundaries of different areas in the image, especially the dividing line between the water surface and the surrounding environment. According to the detected water surface dividing line, combined with the preset baseline, the current water level is calculated. The preset baseline can be a fixed or adjustable reference line for determining the zero point or reference point of the water level. The above calculation process may involve the conversion of pixels to actual distances, and can also be corrected according to parameters such as the position, angle, and focal length of the camera.

[0069] The present invention can more accurately identify and segment target ships and obstacles in images, and calculate the water level by combining an edge detection algorithm with a preset baseline, which can effectively reduce the impact of factors such as lighting and shadows on the calculation results. By optimizing key steps such as image segmentation, target recognition and water level calculation, the performance of the entire ship navigation warning system is improved.

[0070] In step 102, determining the target mode of the electronic fence according to the current waters where the target ship is located includes:

[0071] When the change amplitude of the water level height corresponding to the current water area is less than a preset amplitude, determining that the target mode is a static mode;

[0072] When the change amplitude of the water level height corresponding to the current water area is greater than or equal to the preset amplitude, the target mode is determined to be a dynamic mode.

[0073] The present invention designs two target modes, including a dynamic mode and a static mode. According to the current waters where the target ship is located, the water level change amplitude of the waters is analyzed. If the water level change amplitude is less than a preset threshold, the static mode is selected; if the water level change amplitude is greater than or equal to the preset threshold, the dynamic mode is selected. In the dynamic mode, the current water level is input into a preset waters model. The preset waters model is based on historical data and algorithms and can output a dynamic electronic fence boundary that matches the current water level.

[0074] Optionally, after determining the target mode of the electronic fence, the method further includes:

[0075] When it is determined that the target mode is a static mode, a static electronic fence corresponding to the current water level is determined according to the current water level from the correspondence between the preset water level and the preset electronic fence. The static electronic fence is in use within a preset time period after the determination, and is used to determine the second distance based on the target ship and the static electronic fence in each frame image at different timestamps.

[0076] Optionally, the present invention adopts different usage methods for different target modes, and determines the target mode of the electronic fence according to the characteristics of the water area where the target ship is located and the current water level. If the water level of the water area changes slightly and meets the conditions of the static mode, the static mode is selected. After the static mode is determined, the system will search for the corresponding static electronic fence from the corresponding relationship between the preset water level and the electronic fence according to the current water level. The corresponding relationship between the preset water level and the preset electronic fence may be a database, a lookup table or any form of data structure, which stores the preset static electronic fence information under different water levels. Further, after the static electronic fence corresponding to the current water level is determined, the static electronic fence will be in use during the next preset period of time, that is, the new static electronic fence will not be re-determined, but the target ship position in each frame image at different timestamps will be continuously monitored during the preset period of time, and the second distance between the target ship and the static electronic fence will be calculated. In the static mode, since the electronic fence is preset and remains unchanged for a certain period of time, the system does not need to frequently recalculate the position and shape of the electronic fence, which helps to reduce the consumption of computing resources and improve the operating efficiency of the system.

[0077] Optionally, before inputting the current water level to a preset water area model to obtain a dynamic electronic fence corresponding to the current water level output by the preset water area model, the method further includes:

[0078] Get all sample images at different water level heights;

[0079] For each sample image at each water level, gridding is performed on the waterway waters in the sample image, and for each grid in the sample image, a depth value of the grid is determined according to the water level depth corresponding to the grid, all grids are traversed to form a grid array, and an electronic fence is marked at the boundary of the grid array using a preset value, wherein the depth value is a value greater than zero, and the preset value is a value less than or equal to zero, and all sample images are traversed to obtain all sample images after gridding;

[0080] The preset initial model is trained according to all sample images after gridding processing and the water level height corresponding to each sample image to obtain the preset water area model.

[0081] Optionally, the present embodiment discloses in detail the specific process of training the preset water area model so that when the current water level is given, the corresponding dynamic electronic fence can be output. Specifically, first, a sufficient number of data samples are collected to cover different water level conditions to ensure the generalization ability of the model, and each sample image is divided into grids. The size of the grid can usually be set according to the resolution of the image and the required accuracy. For each grid, a depth value is determined according to its position in the water area and the corresponding water level depth. The depth value is a value greater than zero, indicating the water level depth within the grid. All grids in the image are traversed to form a grid array.

[0082] Furthermore, a preset value is determined to represent a non-water area or a dangerous area, and the preset value is less than or equal to zero. On the boundary of the grid array, the position of the electronic fence is marked according to actual needs, and the grid depth values ​​corresponding to these positions will be set to the preset value. The preset value can also be used to mark the electronic fence at the boundary of the grid array, and all sample images are traversed. The above-mentioned gridding processing and electronic fence marking are performed on each image. The sample image after gridding processing and the corresponding water level height are used as input, and the marked electronic fence is used as the output target. These data are used to train the initial model, and the parameters of the model are continuously adjusted. After multiple iterations of training, the preset water area model is obtained.

[0083] The present invention sets an electronic fence in the system according to the actual situation of the navigation area. The electronic fence can be static, such as a waterway boundary, a restricted navigation area, etc., or dynamic, such as a safe area dynamically adjusted according to tidal and weather changes. For example, a static electronic fence can be used in an area where the waterway and riverbed often change but the water level does not change much; and a dynamic electronic fence can be used in an area where the waterway and riverbed do not change much but the water level often changes due to tides or rainfall; and the dynamic electronic fence is also divided into an intelligent dynamic electronic fence and a pattern matching dynamic electronic fence, both of which are inputs of horizontal plane cutting data. The intelligent dynamic electronic fence generates a dynamic electronic fence according to the horizontal plane data through a trained water area model; the pattern matching dynamic electronic fence matches the preset electronic fences under different horizontal planes according to the horizontal plane data.

[0084] Optionally, for areas with relatively simple river conditions, prior knowledge can be used to obtain electronic fence setting solutions under different water levels, and the solutions can be put into a deep learning model for training. Finally, the input water level line can be reached to obtain the effect of the intelligent dynamic electronic fence range. The principle is similar to the automatic generation of frames in the middle of video key frames. The present invention can use an algorithm model (Region-based Convolutional Neural Networks, R-CNN). As an optional embodiment, the detailed algorithm of the intelligent dynamic electronic fence adopted by the present invention also includes: first, collecting the same channel top view at different water level heights into a set, sorting the order of the pictures according to the water level height, and identifying and segmenting the water area in the image through image recognition; then, starting from the image with the lowest water level, the waterway water area in each image can be gridded to form an array such as the following:

[0085] [5,10,15,20],

[0086] [4,8,12,16],

[0087] [3,7,11,15],

[0088] [2,6,10,14].

[0089] The larger the number in the above array, the deeper the water and the easier it is to navigate. The numbers at the obstacles and electronic fences can be coded as 0 or negative numbers. The horizontal plane corresponding to each image and the above water grid array are input as paired data into the R-CNN algorithm model for training. After the model training is completed, the horizontal plane height is input, and the algorithm model can output the trained passable area of ​​the waterway area and the range of the intelligent dynamic electronic fence, monitor the ship's position in real time, and compare it with the electronic fence. Once the ship approaches or enters the preset prohibited or restricted area, the system immediately triggers the early warning mechanism.

[0090] In step 103, the present invention compares the position information of the target ship in the continuous images at different timestamps, uses longitude and latitude conversion and displacement calculation to obtain the current speed of the ship, and also obtains its current heading change speed by fitting the motion trajectory of the target ship, and then calculates the first distance between the target ship and the obstacle, and the second distance between the target ship and the dynamic electronic fence, thereby obtaining all the evaluation parameters used to achieve risk assessment.

[0091] Optionally, determining the current speed of the target ship according to the position information of the target ship in each frame of image at different time stamps includes:

[0092] The position information of the target ship in each frame of the image is converted into actual position coordinates using longitude and latitude;

[0093] Determining the displacement and time stamp difference of the target ship in at least two frames of images;

[0094] The current speed of the target ship is determined according to the displacement and the timestamp difference.

[0095] In an optional embodiment, since the target ship position information usually directly given in the image or video frame is based on the image coordinates, and these coordinates cannot directly reflect the position of the target ship in the real world, it is first necessary to convert the position information in the image or the pixel position obtained by image recognition technology into actual geographic coordinates. In order to calculate the speed, it is necessary to know the displacement of the target ship within a period of time. The present invention is achieved by comparing the position of the target ship in at least two frames of images. First, the time interval between the two frames of images is obtained from the timestamp information of the image, that is, the timestamp difference; then, the displacement of the target ship between the two frames of images is calculated using the actual position coordinates obtained in advance, and the displacement can be calculated as a straight-line distance; finally, the current speed of the target ship is calculated by dividing the displacement by time, that is, the obtained displacement is divided by the timestamp difference, and the average speed of the target ship during this period of time can be obtained. If the time interval is very short, this average speed can be approximately regarded as the current speed of the target ship.

[0096] Optionally, determining the current course change speed of the target ship according to the motion trajectory of the target ship in each frame of image at different time stamps includes:

[0097] Constructing a position sequence according to the position information of the target ship under a preset continuous time length;

[0098] Fitting the position sequence using the least squares method to obtain the motion trajectory of the target ship;

[0099] Determine, according to the motion trajectory, a first direction vector of the target ship at a previous position and a second direction vector of the target ship at a current position;

[0100] The current course change speed of the target ship is determined according to the first direction vector and the second direction vector.

[0101] Optionally, the present invention needs to collect the position information of the target ship within a preset continuous time. The position information can be extracted from continuous image frames by a preset image processing technology, such as a target detection algorithm, a tracking algorithm, etc. All the position information is arranged in chronological order to construct a position sequence. Each position information generally includes the coordinates of the ship in the image or the converted geographic coordinates. The constructed position sequence is fitted using the least squares method. In an optional embodiment, a linear or nonlinear model can be used to fit the position data of the ship to obtain its motion trajectory. The fitting result will be a smooth curve describing the moving path of the target ship during this period of time. Once the motion trajectory is obtained, the direction vector can be determined according to the points on the trajectory.

[0102] Usually, two adjacent points on the trajectory are selected to calculate the direction vector. The first direction vector is an angle vector pointing from the previous position to a position before the current position, and the second direction vector is an angle vector pointing from the current position to its subsequent predicted position. Finally, the vector angle corresponding to the first direction vector and the vector angle corresponding to the second direction vector are used to determine the current heading change speed of the target ship. The heading change amount is the difference between the two direction vector angles divided by the difference in time points corresponding to the two direction vectors obtained from the timestamps of the image or data, that is, the angle difference divided by the time difference, to obtain the current heading change speed.

[0103] In step 104, the current speed, the current heading change speed, the first distance and the second distance are input into a preset ship navigation warning model, and a risk assessment result is output. According to the risk assessment result, a corresponding heading warning strategy is formulated. The preset ship navigation warning model is based on different speeds, different heading change speeds, different first distances and different second distances as sample data, and each sample data corresponds to a sample risk assessment result. The initial warning model is trained based on different sample risk assessment results corresponding to different speeds, heading change speeds, first distances and second distances, and finally the preset ship navigation warning model is obtained.

[0104] Optionally, determining the heading warning strategy of the target ship according to the risk assessment result includes:

[0105] When the risk assessment result is greater than a first threshold value and less than a second threshold value, generating a reminder instruction, wherein the reminder instruction is used to instruct the ship to return to the route;

[0106] When the risk assessment result is greater than or equal to the second threshold, an alarm instruction is generated, the alarm instruction is used to issue an emergency alarm, and the alarm instruction is sent to a preset department for processing.

[0107] Optionally, when the risk assessment result is less than the first threshold, it indicates that the target ship is in a safe navigation state and continuous monitoring is provided; when the risk assessment result is greater than the first threshold but less than the second threshold, it indicates that the target ship is in a certain risk state but has not yet reached the emergency level. At this time, the system generates a reminder instruction to instruct the ship operators to pay attention to the current situation and suggest them to take appropriate measures to return the ship to the predetermined route to avoid potential risks; when the risk assessment result is greater than or equal to the second threshold, it indicates that the target ship faces extremely high risks and a dangerous situation may have occurred or is about to occur. At this time, the system generates an alarm instruction to immediately notify the ship operators and relevant parties to take emergency measures, such as maritime departments, port management departments, etc. The alarm content may include the specific location of the ship, risk type, recommended response measures, etc. After generating a reminder or alarm instruction, the system should continuously monitor the navigation status and risk changes of the target ship. As an optional embodiment, if the ship returns to the route or the risk level is reduced according to the reminder instruction, the warning status can be adjusted accordingly.

[0108] Optionally, the present invention combines the results of image recognition, target segmentation and electronic fence monitoring to perform intelligent analysis on the navigation status of the ship, evaluate key parameters such as the ship's navigation speed, heading change, distance to obstacles, distance to electronic fences, and determine whether there are potential safety risks, wherein the navigation speed of the ship is calculated by analyzing the changes in the ship's position in consecutive frames in combination with timestamps; the navigation trajectory of the ship is fitted by using historical data on the ship's position through methods such as least squares method or Kalman filtering to determine its heading change; the actual distance between the ship and the obstacle, as well as the actual distance between the ship and the electronic fence, is calculated using the scale in the image or in combination with radar data; the navigation speed, heading change, first distance, and second distance are used as sample parameters to construct a comprehensive evaluation model for the navigation status of the ship, and different risk factors are assigned different safety risk weights, such as the degree of influence of factors such as excessive speed, sudden heading changes, and being too close to obstacles / electronic fences on the safety of the ship.

[0109] Optionally, collect risk behavior videos, manually score the risk of the navigation speed, heading change speed, and distance from obstacles / electronic fences, and pass the manual scoring results into the machine learning model training. Since this correspondence is nonlinear, the risk is predicted by machine learning. You can choose to use the model (Deep Factorization Machines, DeepFM), and finally realize the function of intelligent risk scoring by the trained model through the inputs of navigation speed, heading change speed, and distance from obstacles / electronic fences. Based on the fused safety risk weights, use machine learning to conduct risk assessment to determine whether there is a potential safety risk in the current navigation state. According to the analysis results, the system automatically generates navigation suggestions or issues an alarm. For ships that slightly deviate from the route, the system can issue a reminder; for ships that seriously deviate or are about to enter a dangerous area, an emergency alarm is issued, and the relevant departments are automatically contacted for intervention, and all key data and events during the ship's navigation are recorded, including image recognition results, target segmentation information, electronic fence monitoring records, alarm triggering conditions, etc. A navigation report is generated based on the recorded data to provide data support for subsequent navigation analysis, safety assessment, and management decisions.

[0110] The present invention adopts advanced image super-resolution processing technology, which significantly improves the clarity of image details, makes ship target recognition and segmentation more precise, and thus achieves unprecedented accuracy in ship overloading judgment, providing a solid guarantee for navigation safety; it can capture ship images in real time, and immediately perform high-speed processing and analysis to ensure that ship overloading is discovered and reported in the first place, effectively shortening the response time and improving the efficiency of navigation supervision; it deeply integrates image recognition and artificial intelligence technology to realize a fully automated process for ship overloading judgment, greatly reducing the burden of manual monitoring, while reducing the subjectivity and error rate of manual judgment, and improving the judgment results objectivity and reliability; the technical solution of the present invention is not limited by the type, scale and navigation environment of ships, and can be flexibly applied to various complex and changeable navigation scenarios, showing strong versatility and adaptability; the integrated infrared camera technology allows the system to work stably even at night or in bad weather conditions, realizing all-weather and uninterrupted overload monitoring of passing ships to ensure safe navigation without blind spots; the system architecture is simple, and only infrared and visible light cameras, edge computing modules and remote transmission equipment need to be deployed to quickly build a complete overload determination system, which is not only easy to install, but also has low maintenance costs, and is convenient for wide promotion and use in various ports, waterways and other areas.

[0111] The present invention can accurately segment target ships, obstacles and current water levels from continuous frame images by using a preset image segmentation model, thus providing an accurate data basis for subsequent analysis and early warning. According to the change amplitude of the water level in the current water area, the present invention can intelligently select a dynamic or static electronic fence mode. The dynamic mode can adapt to water level changes and improve the accuracy and real-time performance of early warnings. The static mode is suitable for situations where the water level changes slightly, thus reducing the amount of calculation. Taking into account multi-dimensional factors, the present invention inputs the current speed, heading, and distance from obstacles and dynamic / static electronic fences into a preset ship navigation early warning model to obtain a risk assessment result. According to the assessment result, a corresponding reminder or alarm instruction is generated to promptly notify the ship driver or relevant departments to take corresponding measures, thus effectively preventing the occurrence of navigation accidents.

[0112] The present invention formulates early warning strategies of different levels according to different ranges of risk assessment results. For lower risks, reminder instructions are generated; for high risks, alarm instructions are generated and sent to the preset department for processing. The use of this multi-level early warning strategy can more effectively deal with different levels of navigation risks. By comprehensively utilizing multiple technical means such as image processing, water area models, dynamic analysis and risk assessment, comprehensive monitoring and early warning of ship navigation safety are achieved, which has high practical value and broad application prospects.

[0113] Figure 2 It is a structural schematic diagram of the ship navigation warning system based on electronic fence provided by the present invention. The ship navigation warning system based on electronic fence includes a first input unit 1. The first input unit is used to input any frame image in the continuous frame image into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model. The working principle of the first input unit 1 can refer to the aforementioned step 101 and will not be repeated here.

[0114] The electronic fence-based ship navigation warning system also includes a first determination unit 2, which is used to determine the target mode of the electronic fence according to the current waters where the target ship is located. When it is determined that the target mode is a dynamic mode, the current water level height is input into the preset water area model to obtain a dynamic electronic fence corresponding to the current water level height output by the preset water area model. The target mode includes a dynamic mode and a static mode. The working principle of the first determination unit 2 can refer to the aforementioned step 102 and will not be repeated here.

[0115] The electronic fence-based ship navigation warning system also includes a second determination unit 3, which is used to determine the current speed of the target ship according to the position information of the target ship in each frame image at different timestamps, determine the current heading change speed of the target ship according to the motion trajectory of the target ship in each frame image at different timestamps, determine the first distance between the target ship and the obstacle, and determine the second distance between the target ship and the dynamic electronic fence. The working principle of the second determination unit 3 can refer to the aforementioned step 103 and will not be repeated here.

[0116] The electronic fence-based ship navigation warning system also includes a second input unit 4, which is used to input the current speed, the current heading change speed, the first distance and the second distance into a preset ship navigation warning model to obtain a risk assessment result output by the preset ship navigation warning model, and determine the heading warning strategy of the target ship based on the risk assessment result. The working principle of the second input unit 4 can refer to the aforementioned step 104 and will not be repeated here.

[0117] The present invention proposes a ship navigation aid identification alarm system, including camera AI recognition, target positioning and electronic fence technology, which enhances the safety and efficiency of water transportation, integrates high-precision cameras for AI intelligent recognition, can capture and analyze images of ships in sailing in real time, and accurately judge the type, size and navigation status of ships through deep learning algorithms. At the same time, the system uses advanced target positioning technologies, such as Beidou positioning and radar data fusion, to achieve accurate tracking of ship positions and ensure the real-time and accuracy of information. On this basis, the system also incorporates electronic fence technology to set virtual boundaries in key waters, channel intersections or prohibited navigation areas in advance. Once a ship enters these preset electronic fence areas, the system immediately triggers an alarm and sends an emergency notice to the ship's bridge, port management center and even relevant maritime departments, effectively preventing the occurrence of safety incidents such as ship collisions and illegal navigation. In addition, the system can also combine historical navigation data with real-time environmental information to provide ships with optimal route planning suggestions, further improving navigation efficiency and safety.

[0118] The present invention can accurately segment target ships, obstacles and current water levels from continuous frame images by using a preset image segmentation model, thus providing an accurate data basis for subsequent analysis and early warning. According to the change amplitude of the water level in the current water area, the present invention can intelligently select a dynamic or static electronic fence mode. The dynamic mode can adapt to water level changes and improve the accuracy and real-time performance of early warnings. The static mode is suitable for situations where the water level changes slightly, thus reducing the amount of calculation. Taking into account multi-dimensional factors, the present invention inputs the current speed, heading, and distance from obstacles and dynamic / static electronic fences into a preset ship navigation early warning model to obtain a risk assessment result. According to the assessment result, a corresponding reminder or alarm instruction is generated to promptly notify the ship driver or relevant departments to take corresponding measures, thus effectively preventing the occurrence of navigation accidents.

[0119] The present invention formulates early warning strategies of different levels according to different ranges of risk assessment results. For lower risks, reminder instructions are generated; for high risks, alarm instructions are generated and sent to the preset department for processing. The use of this multi-level early warning strategy can more effectively deal with different levels of navigation risks. By comprehensively utilizing multiple technical means such as image processing, water area models, dynamic analysis and risk assessment, comprehensive monitoring and early warning of ship navigation safety are achieved, which has high practical value and broad application prospects.

[0120] Figure 3 Schematic diagram of the structure of the electronic device provided by the present invention. Figure 3As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the ship navigation warning method based on the electronic fence, the method comprising: for any frame image in the continuous frame image, input the image into a preset image segmentation model, obtain the target ship, obstacle and current water level output by the preset image segmentation model; determine the target mode of the electronic fence according to the current water area where the target ship is located, and when it is determined that the target mode is a dynamic mode, input the current water level into the preset water area model, obtain the dynamic electronic fence corresponding to the current water level output by the preset water area model, and the target mode includes a dynamic mode and a static mode. Mode; determine the current speed of the target ship according to the position information of the target ship in each frame image at different timestamps, determine the current heading change speed of the target ship according to the motion trajectory of the target ship in each frame image at different timestamps, determine the first distance between the target ship and the obstacle, and determine the second distance between the target ship and the dynamic electronic fence; input the current speed, the current heading change speed, the first distance and the second distance into a preset ship navigation warning model to obtain a risk assessment result output by the preset ship navigation warning model, and determine the heading warning strategy of the target ship according to the risk assessment result.

[0121] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0122] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute a ship navigation warning method based on an electronic fence provided by the above methods. The method includes: for any frame image in the continuous frame image, input the image into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model; determine the target mode of the electronic fence according to the current water area where the target ship is located, and when it is determined that the target mode is a dynamic mode, input the current water level into the preset water area model to obtain the output of the preset water area model. The dynamic electronic fence corresponding to the current water level height, the target mode includes a dynamic mode and a static mode; the current speed of the target ship is determined according to the position information of the target ship in each frame image at different timestamps, the current heading change speed of the target ship is determined according to the motion trajectory of the target ship in each frame image at different timestamps, the first distance between the target ship and the obstacle is determined, and the second distance between the target ship and the dynamic electronic fence is determined; the current speed, the current heading change speed, the first distance and the second distance are input into a preset ship navigation warning model to obtain a risk assessment result output by the preset ship navigation warning model, and the heading warning strategy of the target ship is determined according to the risk assessment result.

[0123] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the ship navigation warning method based on the electronic fence provided by the above-mentioned methods, the method comprising: for any frame image in the continuous frame image, inputting the image into a preset image segmentation model, obtaining the target ship, obstacle and current water level output by the preset image segmentation model; determining the target mode of the electronic fence according to the current water area where the target ship is located, and when it is determined that the target mode is a dynamic mode, inputting the current water level into the preset water area model, obtaining the dynamic electronic fence corresponding to the current water level output by the preset water area model. Fence, the target mode includes a dynamic mode and a static mode; determining the current speed of the target ship according to the position information of the target ship in each frame image at different timestamps, determining the current heading change speed of the target ship according to the motion trajectory of the target ship in each frame image at different timestamps, determining the first distance between the target ship and the obstacle, and determining the second distance between the target ship and the dynamic electronic fence; inputting the current speed, the current heading change speed, the first distance and the second distance into a preset ship navigation warning model to obtain a risk assessment result output by the preset ship navigation warning model, and determining the heading warning strategy of the target ship according to the risk assessment result.

[0124] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0125] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A ship navigation warning method based on electronic fence, It is characterized in that include: For any frame image in the continuous frame images, the image is input into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model; Determine the target mode of the electronic fence according to the current waters where the target ship is located. When it is determined that the target mode is a dynamic mode, input the current water level height into a preset waters model to obtain a dynamic electronic fence corresponding to the current water level height output by the preset waters model. The target mode includes a dynamic mode and a static mode. Determine the current speed of the target ship according to the position information of the target ship in each frame image at different timestamps, determine the current course change speed of the target ship according to the motion trajectory of the target ship in each frame image at different timestamps, determine the first distance between the target ship and the obstacle, and determine the second distance between the target ship and the dynamic electronic fence; The current speed, the current heading change speed, the first distance and the second distance are input into a preset ship navigation warning model to obtain a risk assessment result output by the preset ship navigation warning model, and the heading warning strategy of the target ship is determined according to the risk assessment result.

2. The ship navigation warning method based on electronic fence according to claim 1, It is characterized in that Before inputting the image into a preset image segmentation model, the method further includes: When the current brightness is greater than or equal to the preset brightness, using a visible light camera to collect the continuous frame images; When the current brightness is less than the preset brightness, continuous initial images are collected using an infrared camera, the continuous initial images are processed using super-resolution to obtain continuous processed images, and noise suppression and image enhancement are performed on the continuous processed images to obtain the continuous frame images.

3. The ship navigation warning method based on electronic fence according to claim 1, It is characterized in that The step of inputting the image into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model includes: Inputting the image into a preset image segmentation model to obtain target ships and obstacles output by the preset image segmentation model; Using a preset edge detection algorithm to identify the image, obtain a water surface segmentation line, and determine the current water level height according to the water surface segmentation line and a preset reference line; The preset image segmentation model is determined after training based on all image samples and the annotation information on each image sample, wherein the annotation information includes ship information and obstacle information.

4. The ship navigation warning method based on electronic fence according to claim 1, It is characterized in that Determining the target mode of the electronic fence according to the current waters where the target ship is located includes: When the change amplitude of the water level height corresponding to the current water area is less than a preset amplitude, determining that the target mode is a static mode; When the change amplitude of the water level height corresponding to the current water area is greater than or equal to the preset amplitude, the target mode is determined to be a dynamic mode.

5. The ship navigation warning method based on electronic fence according to claim 4, It is characterized in that After determining the target mode of the electronic fence, the method further includes: When it is determined that the target mode is a static mode, a static electronic fence corresponding to the current water level is determined according to the current water level from the correspondence between the preset water level and the preset electronic fence. The static electronic fence is in use within a preset time period after the determination, and is used to determine the second distance based on the target ship and the static electronic fence in each frame image at different timestamps.

6. The ship navigation warning method based on electronic fence according to claim 1, It is characterized in that Before inputting the current water level to the preset water area model to obtain the dynamic electronic fence corresponding to the current water level output by the preset water area model, the method further includes: Get all sample images at different water level heights; For each sample image at each water level, gridding is performed on the waterway waters in the sample image, and for each grid in the sample image, a depth value of the grid is determined according to the water level depth corresponding to the grid, all grids are traversed to form a grid array, and an electronic fence is marked at the boundary of the grid array using a preset value, wherein the depth value is a value greater than zero, and the preset value is a value less than or equal to zero, and all sample images are traversed to obtain all sample images after gridding; The preset initial model is trained according to all sample images after gridding processing and the water level height corresponding to each sample image to obtain the preset water area model.

7. The ship navigation warning method based on electronic fence according to claim 1, It is characterized in that The determining the current speed of the target ship according to the position information of the target ship in each frame of image at different time stamps includes: The position information of the target ship in each frame of the image is converted into actual position coordinates using longitude and latitude; Determining the displacement and time stamp difference of the target ship in at least two frames of images; The current speed of the target ship is determined according to the displacement and the timestamp difference.

8. The ship navigation warning method based on electronic fence according to claim 1, It is characterized in that The step of determining the current course change speed of the target ship according to the motion trajectory of the target ship in each frame of the image at different time stamps includes: Constructing a position sequence according to the position information of the target ship under a preset continuous time length; Fitting the position sequence using the least squares method to obtain the motion trajectory of the target ship; Determine, according to the motion trajectory, a first direction vector of the target ship at a previous position and a second direction vector of the target ship at a current position; The current course change speed of the target ship is determined according to the first direction vector and the second direction vector.

9. The ship navigation warning method based on electronic fence according to claim 1, It is characterized in that Determining the heading warning strategy of the target ship according to the risk assessment result includes: When the risk assessment result is greater than a first threshold value and less than a second threshold value, generating a reminder instruction, wherein the reminder instruction is used to instruct the ship to return to the route; When the risk assessment result is greater than or equal to the second threshold, an alarm instruction is generated, the alarm instruction is used to issue an emergency alarm, and the alarm instruction is sent to a preset department for processing.

10. A ship navigation warning system based on electronic fence, It is characterized in that include: A first input unit, the first input unit is used to input any frame image in the continuous frame image into a preset image segmentation model to obtain the target ship, obstacle and current water level output by the preset image segmentation model; A first determining unit, the first determining unit is used to determine a target mode of the electronic fence according to the current waters where the target ship is located, and when it is determined that the target mode is a dynamic mode, input the current water level height into a preset waters model to obtain a dynamic electronic fence corresponding to the current water level height output by the preset waters model, wherein the target mode includes a dynamic mode and a static mode; a second determination unit, the second determination unit being used to determine a current speed of the target ship according to the position information of the target ship in each frame image at different timestamps, determine a current course change speed of the target ship according to the motion trajectory of the target ship in each frame image at different timestamps, determine a first distance between the target ship and the obstacle, and determine a second distance between the target ship and the dynamic electronic fence; A second input unit, the second input unit is used to input the current speed, the current heading change speed, the first distance and the second distance into a preset ship navigation warning model to obtain a risk assessment result output by the preset ship navigation warning model, and determine the heading warning strategy of the target ship according to the risk assessment result.

Citation Information

Patent Citations

  • Dynamic virtual electronic fence system for ship navigation limitation and water area monitoring

    CN108417093A

  • Ship traffic management method and system for smart navigation mark

    CN109360450A

  • Ship target behavior understanding system integrating target detection and target tracking

    CN113705502A

  • Bridge ship collision prevention monitoring and early warning system

    CN114333424A

  • Bridge anti-collision early warning system

    CN115273554A

Cited By

  • Method for automatically generating electronic fence based on risk level of mine marker

    CN120279486A

  • Method and system for identifying abnormal navigational speed behavior of ship entering and leaving port

    CN120894941A

  • Ship navigation early warning method and system based on geo-fences

    CN120932501A

  • A ship navigation pre-warning method and system based on a geo-fence

    CN120932501B

  • Unmanned ship path optimization method based on visual detection

    CN120970665A