A PRM route planning method based on AIS data

Through the PRM route planning method based on AIS data, combined with the high-frequency historical trajectory point set and the A* algorithm, the problem of route safety and coverage in the existing technology is solved, and a safer and more economical route is generated, which is suitable for Autonomous navigation of smart ships.

CN115060264BActive Publication Date: 2024-09-03JIUJIANG BRANCH OF THE 707 RESEARCH INSTITUTE OF CHINA STATE SHIPBUILDING CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210564267.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-23
Publication Date
2024-09-03
Estimated Expiration
2042-05-23

AI Technical Summary

Technical Problem

Existing automatic route planning technology cannot take into account the safety of the route and the comprehensive coverage of the area, and may cause the route to be close to obstructions and shores, or not within the waterway.

Method used

The PRM route planning method based on AIS data is used to extract the navigation-obstructed area and the navigable area, randomly select sampling points, and combine the high-frequency historical trajectory point set and the A* algorithm to generate the shortest path to ensure the safety and coverage of the route.

Benefits of technology

It improves the safety and economy of automatic navigation of smart ships, and the planned routes are more in line with ship navigation rules and habits, ensuring navigation safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115060264B
    Figure CN115060264B
Patent Text Reader

Abstract

The present invention discloses a PRM route planning method based on AIS data, including: gridding an electronic chart; extracting a high-frequency historical track point set based on the AIS data of a ship; extracting the channel information in the electronic chart, randomly selecting sampling points in a non-channel area in a navigable area to form a sampling point set; converting the high-frequency historical track point set into a grid coordinate system coordinate, fusing it with the sampling point set, and connecting the points in the point set within a certain distance range, performing collision detection on the connected edges, adding the edges that will not intersect with the obstruction area to the edge set, and obtaining a path network; and using the A* algorithm to search for the shortest path in the path network as the optimal route. The present invention uses the PRM algorithm to randomly select sampling points in a navigable area based on AIS data, which can take into account both the safety of the planned course and the comprehensiveness of the coverage area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ship route planning, and more particularly to a PRM route planning method based on AIS data. Background Art

[0002] Automatic ship route planning technology is a key technology in intelligent ship technology, and planned routes play a vital role in the safe navigation of ships. Before setting sail, a ship should plan a reasonable planned route based on the specific navigation mission, ship performance and weather conditions. Before sailing, commercial ships generally design routes according to the recommended routes given in the "World Ocean Routes", but with the increasing development of intelligent ship technology, automatic route planning technology has become a research hotspot technology in recent years. The current mainstream automatic route planning technology mainly constructs an ocean environment model through electronic charts to extract navigable areas and automatically search and generate the shortest navigable route, but this planning method may result in the route being close to obstacles and the shore and not within the waterway. Therefore, how to provide a route planning method that can take into account the safety of the planned route and the comprehensiveness of the coverage area is a problem that technicians in this field urgently need to solve. Summary of the invention

[0003] In view of this, the present invention provides a PRM route planning method based on AIS data, which uses a PRM algorithm to randomly select sampling points in a navigable area based on AIS data, and can take into account both the safety of the planned course and the comprehensiveness of the coverage area.

[0004] In order to achieve the above object, the present invention adopts the following technical solution:

[0005] A PRM route planning method based on AIS data, comprising:

[0006] According to the safe water depth of the ship and the attributes of the landmarks in the electronic nautical chart of the target area, the obstruction area and the navigable area are extracted, and the electronic nautical chart is gridded;

[0007] Extract high-frequency historical trajectory point sets based on ship AIS data;

[0008] Extracting the channel information in the electronic nautical chart, and randomly selecting a certain number of sampling points in the non-channel area of ​​the navigable area to form a sampling point set;

[0009] After converting the high-frequency historical trajectory point set into grid coordinate system coordinates, the point set is merged with the sampling point set, and the points in the point set are connected within a certain distance range, and collision detection is performed on the connected edges. The edges that will not intersect the obstruction area are added to the edge set to obtain a path network;

[0010] The A* algorithm is used to search for the shortest path in the path network as the optimal route.

[0011] Furthermore, in the above-mentioned PRM route planning method based on AIS data, the obstruction area includes water obstacles and underwater obstacles; the water obstacles include: various lights, various buoys, bridges, overhead cables, daylight marks, overhead pipelines, conveyor belts, mooring equipment, fishing equipment, ice areas, light ships, timber floating areas, offshore platforms, oil booms, object piles and tower bridge supports; the underwater obstacles are determined according to the safe water depth of the ship itself, which at least include: underwater reefs, shipwrecks and other obstacles.

[0012] Furthermore, in the above-mentioned PRM route planning method based on AIS data, the step of extracting the obstruction area from the electronic nautical chart includes:

[0013] Read an electronic chart logical record and identify the header area, table of contents area, control field area and description field area;

[0014] Parse the information of the four areas in sequence, parse the directory area from the parsed header area parameters, parse the control field area to obtain the object category and attribute information, and parse the description field area to obtain the field control structure;

[0015] Traverse each boundary node of the coastline and isobath and the obstruction node. If the boundary of the coastline and isobath is divided or blocked by the obstruction node, the obtained obstruction information is stored in the custom obstacle database.

[0016] Furthermore, in the above-mentioned PRM route planning method based on AIS data, the step of extracting a high-frequency historical trajectory point set based on the ship's AIS data includes:

[0017] Obtain dynamic and static information of the ship;

[0018] Match the dynamic information and static information of the ship according to the MMSI number to form the original AIS data of the ship;

[0019] The original AIS data of the ship is preprocessed, track compressed and clustered in sequence to obtain a high-frequency historical trajectory point set.

[0020] Furthermore, in the above-mentioned PRM route planning method based on AIS data, the dynamic information of the ship includes at least the MMSI number, position, speed, heading and navigation status; the static information of the ship includes at least the MMSI number, ship name, ship type and ship parameters.

[0021] Furthermore, in the above-mentioned PRM route planning method based on AIS data, the AIS data of the ship is preprocessed, track compressed and clustered in sequence to obtain a high-frequency historical track point set, including:

[0022] Delete the erroneous data in the original AIS data, determine the ship's navigation status, delete the data of the ship being anchored or out of control, and only keep the data of the ship being underway;

[0023] Delete the duplicate and redundant data in the original AIS data, retain the data that can reflect the ship's motion characteristics, compress the track, and obtain typical waypoints;

[0024] Cluster analysis is performed on the obtained typical waypoints to obtain a high-frequency historical trajectory point set.

[0025] Furthermore, in the above-mentioned PRM route planning method based on AIS data, the Douglas-Peucker algorithm is used to compress the original AIS data; and the DBSCAN clustering algorithm is used to perform cluster analysis on typical waypoints.

[0026] Furthermore, in the above-mentioned PRM route planning method based on AIS data, the expression of the A* algorithm is:

[0027] F n =g n +h n

[0028] Among them, F n represents the cost value of the current point, g n Indicates the cost from the current point to the starting point, h n Indicates the cost from the current point to the end point.

[0029] Furthermore, in the above-mentioned PRM route planning method based on AIS data, the step of searching the shortest path in the path network as the optimal route by using the A* algorithm includes:

[0030] Determine the starting point s, start from the starting point s, and put the starting point s into the list of points to be checked as a point to be checked;

[0031] Find the points that can be reached around the starting point s, put these surrounding points into the list of points to be checked, and set the parent node to the starting point s;

[0032] Delete the starting point s from the list of points to be checked, and put the starting point s into the list of closed points as a point that no longer needs to be checked;

[0033] Calculate F for each surrounding point n value

[0034] Select F from the list of points to be checked n The point a with the smallest value is deleted from the list of points to be checked and put into the list of closed points;

[0035] Check all adjacent and reachable points of point a;

[0036] Continue to find F from the list of points to be checked n The point with the smallest value is deleted from the list of points to be checked and added to the list of closed points; the loop is iterated until the target end point appears in the list of points to be checked, indicating that the path has been found.

[0037] Furthermore, in the above-mentioned PRM route planning method based on AIS data, the checking rules for all neighboring and reachable points of point a are as follows: a) points in the list of obstacles and closed points are not included; b) if all neighboring points of point a are not in the list of points to be checked, then these neighboring points are added to the list of points to be checked, and the F of these neighboring points is calculated. n , set the parent node to point a; c) If an adjacent point c is already in the list of points to be checked, calculate the new path from point s to point c g n Value, determine whether the parent node needs to be updated. If point s reaches point c's g n If the value is smaller, change the parent node to point c and recalculate F n Value, h n The value does not need to be changed; if the new g n If the value is larger, it means that the new path has higher cost, and F is not updated. n value.

[0038] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a PRM route planning method based on AIS data. Based on the massive AIS data of ships, the habitual routes of ships are mined and routes are planned accordingly, so that the planned routes are more in line with the navigation rules and habits of ships, and the navigation safety is more guaranteed; on this basis, combined with the PRM path planning algorithm, sampling points are randomly selected in the navigable area, so that routes that take into account safety and comprehensive coverage of the area can be planned efficiently and quickly, thereby improving the safety and economy of automatic navigation of intelligent ships. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0040] Figure 1A flowchart of the PRM route planning method based on AIS data provided by the present invention;

[0041] Figure 2 The obstruction database of the electronic nautical chart provided by the present invention;

[0042] Figure 3 The rasterized nautical chart provided by the present invention;

[0043] Figure 4 The original AIS data of the ship provided by the present invention;

[0044] Figure 5 The processed AIS data provided by the present invention;

[0045] Figure 6 This is the route planning result provided by the present invention. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0047] like Figure 1 As shown, the embodiment of the present invention discloses a PRM route planning method based on AIS data, comprising the following steps:

[0048] S1. Extract the obstruction area and navigable area according to the safe water depth of the ship and the attributes of the landmarks in the electronic nautical chart of the target area, and perform grid processing on the electronic nautical chart;

[0049] S2, extracting high-frequency historical trajectory point sets based on ship AIS data;

[0050] S3, extracting the channel information from the electronic nautical chart, and randomly selecting a certain number of sampling points in the non-channel area of ​​the navigable area to form a sampling point set;

[0051] S4, after converting the high-frequency historical trajectory point set into the grid coordinate system, merge it with the sampling point set, connect the points in the point set within a certain distance range, perform collision detection on the connected edges, add the edges that will not intersect with the obstruction area to the edge set, and obtain the path network;

[0052] S5. Use the A* algorithm to search for the shortest path in the path network as the optimal route.

[0053] The above steps are further explained below.

[0054] In S1, the obstacles in the electronic nautical chart are first extracted. Figure 2 As shown, an embodiment of the present invention extracts obstacles based on S-57 format electronic nautical chart data. The object data model in S-57 describes objects in reality through feature records and spatial records. Spatial objects are used to describe the spatial location information of entities, which are represented by vector records, namely "points", "lines", "surfaces" in space and their geographical locations. Feature objects are used to describe attribute information such as the type, nature and characteristics of entities, and their location is expressed based on spatial objects. The two constitute the element basis of electronic nautical chart object data through coding.

[0055] During the navigation process, attention should be paid to the surface obstacles and underwater obstacles in the obstruction area that affect the navigation safety. In a specific embodiment, the surface obstacles include: various beacons (BCNXXX), various buoys (BOYXXX), bridges (BRIDGE), overhead cables (CBLOHD), daylight marks (DAYMAR), overhead pipelines (PIPOHD), conveyor belts (CONVYR), mooring equipment (MORFAC), fishing equipment (FSHFAC), ice areas (ICEARE), light beacon ships (LITFLT), wood floating areas (LOGPON), offshore platforms (OFSPLF), oil booms (OILBAR), object piles (PILPNT) and tower bridge supports (PYLONS); underwater obstacles are determined according to the safe water depth of the ship itself, which at least include: underwater reefs (UWTROC), sunken ships (WRECKS), water depth (SOUNDG) and other obstacles (OBSTRN).

[0056] In one embodiment, in S1, the step of extracting the obstruction area from the electronic nautical chart includes:

[0057] Read an electronic chart logical record and identify the header area, table of contents area, control field area and description field area;

[0058] Parse the information of the four areas in sequence, parse the directory area from the parsed header area parameters, parse the control field area to obtain the object category and attribute information, and parse the description field area to obtain the field control structure;

[0059] Traverse each boundary node of the coastline and isobath and the obstruction node. If the boundary of the coastline and isobath is divided or blocked by the obstruction node, the obtained obstruction information is stored in the custom obstacle database.

[0060] After the obstacles are extracted, the electronic chart is gridded. The specific gridding process is as follows:

[0061] First, the coordinates of the electronic nautical chart WGS84 coordinate system are converted into Mercator projection rectangular coordinates; a vertex is used as the origin, and the grid is divided with a fixed length, and finally the entire chart area is rasterized.

[0062] like Figure 3 As shown in the figure, taking the Tianjin Port area chart as an example, the area is divided into a 2500*3200 grid map. The grid containing obstacles is represented by black, and the navigable area is represented by white.

[0063] In a specific embodiment, S2 includes:

[0064] S21. Obtain dynamic information and static information of the ship; the dynamic information of the ship includes at least the MMSI number, position, speed, heading and navigation status; the static information of the ship includes at least the MMSI number, ship name, ship type and ship parameters.

[0065] S22. Match the dynamic information and static information of the ship according to the MMSI number to form the original AIS data of the ship. Figure 4 The following figure shows the original AIS data of the ship.

[0066] S23, processing the original AIS data: including preprocessing, track compression and clustering of the original AIS data of the ship to obtain a high-frequency historical track point set. Specifically, S23 includes:

[0067] S231. Delete the erroneous data in the original AIS data, determine the navigation status of the ship, delete the data of the ship being at anchor or out of control, and only retain the data of the ship being underway; erroneous data include: data of MMSI number that is not 9 digits, data of longitude and latitude that are out of range, and data of ship speed and heading that are out of reasonable range.

[0068] S232, deleting repeated and redundant data in the original AIS data, retaining data that can reflect the motion characteristics of the ship, performing track compression, and obtaining typical waypoints.

[0069] Since the reporting interval of the ship's AIS dynamic information is between 2 and 180 seconds, especially during the navigation phase when the AIS transmission frequency is high, there is a large amount of redundant data in the AIS original trajectory data. In order to reduce the amount of data while ensuring processing accuracy, the original trajectory data needs to be appropriately compressed, the repeated and redundant data therein need to be eliminated, and the data that can reflect the ship's motion characteristics need to be retained. This embodiment adopts the Douglas-Peucker algorithm, the principle of which is to virtually connect a line between the two points at the head and the tail, calculate the distance from the remaining points to the straight line, select the largest one and compare it with the threshold, if it is greater than the threshold, then retain the point with the largest distance from the straight line, otherwise do not retain the point. Then use the retained point as the split point, and repeatedly calculate the original curve in segments, and finally obtain the path after data compression to obtain typical waypoints.

[0070] S233, cluster analysis is performed on the obtained typical waypoints to obtain a high-frequency historical trajectory point set. This embodiment uses the DBSCAN clustering algorithm to cluster analysis on the typical waypoints. Figure 5 The figure shows the AIS data after being processed by S211-S213.

[0071] In one embodiment, in S3, random sampling points are selected in the navigable area in the chart area where AIS data is not dense.

[0072] This step is the learning phase of the PRM algorithm. The purpose of the PRM algorithm's learning phase is to create a path grid G ​​= (V, E) of an undirected graph, where V represents a set of random points and E represents all possible paths between two points. The main work of this phase is to create a data structure, the purpose of which is to randomly select points in the map to obtain connectivity in the map. The path grid G ​​is used for path search in the subsequent query phase.

[0073] In this embodiment, sampling points are randomly selected only in areas where AIS data is not densely distributed, and the sampling area is limited by using the coordinates of the upper left corner and the lower right corner of the grid map. The criterion for determining a densely distributed area is: an area where the AIS data of different ships does not exceed 20 groups per square nautical mile.

[0074] Then, step S4 is executed to convert the longitude and latitude coordinates of the high-frequency historical trajectory point set obtained in S2 into Mercator rectangular coordinates, and then into grid map coordinates, and draw them in the grid.

[0075] The grid map coordinates of the high-frequency historical trajectory point set are merged with the above sampling point set, and the points in the point set are connected within a certain distance range. The connected edges are collided and the edges that do not intersect with the obstruction area are added to the edge set. The learning phase of the PRM algorithm is completed.

[0076] In a specific embodiment, S5 uses the A* algorithm to search for the shortest path in the path network as the optimal route, specifically including:

[0077] This step is the query phase of the PRM algorithm. The A* algorithm is a heuristic search algorithm in global path planning. Its core is to comprehensively consider the actual cost from the starting point to the current node and the estimated cost from the current node to the end point, expressed as:

[0078] F n =g n +h n

[0079] where F n Represents the cost value of the current point, which consists of two parts, g n Indicates the cost from the current point to the starting point, h n It represents the cost from the current point to the end point. Generally, Euclidean distance and Manhattan distance are used to calculate the distance, i.e. the cost.

[0080] The detailed steps of the A* algorithm are as follows:

[0081] 1. Determine the starting point s, start from the starting point s, and put the starting point s into the list of points to be checked as a point to be checked;

[0082] 2. Find the points that can be reached around the starting point s, put these surrounding points into the list of points to be checked, and set the parent node to the starting point s;

[0083] 3. Delete the starting point s from the list of points to be checked, and put the starting point s into the list of closed points as a point that no longer needs to be checked;

[0084] 4. Calculate F for each surrounding point n value

[0085] 5. Select F from the list of points to be checked n The point a with the smallest value is deleted from the list of points to be checked and put into the list of closed points;

[0086] 6. Check all neighboring and reachable points of point a; the checking rules for all neighboring and reachable points of point a are: a) do not include points in the list of obstacles and closed points; b) if all neighboring points of point a are not in the list of points to be checked, add these neighboring points to the list of points to be checked and calculate the F of these neighboring points n , set the parent node to point a; c) If an adjacent point c is already in the list of points to be checked, calculate the new path from point s to point c g n Value, determine whether the parent node needs to be updated. If point s reaches point c's g n If the value is smaller, change the parent node to point c and recalculate F n Value, hn The value does not need to be changed; if the new g n If the value is larger, it means that the new path has higher cost, and F is not updated. n value.

[0087] 7. Continue to find F from the list of points to be checked n The point with the smallest value is deleted from the list of points to be checked and added to the list of closed points; the loop is repeated until the target end point appears in the list of points to be checked, indicating that the path has been found. Figure 6 The following is the final planning result of the route.

[0088] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0089] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A PRM route planning method based on AIS data, characterized in that: include: According to the safe water depth of the ship and the attributes of the landmarks in the electronic nautical chart of the target area, the obstruction area and the navigable area are extracted, and the electronic nautical chart is gridded; Extract high-frequency historical trajectory point sets based on ship AIS data; Extracting the channel information in the electronic nautical chart, and randomly selecting a certain number of sampling points in the non-channel area of ​​the navigable area to form a sampling point set; After converting the high-frequency historical trajectory point set into grid coordinate system coordinates, the point set is merged with the sampling point set, and the points in the point set are connected within a certain distance range, and collision detection is performed on the connected edges. The edges that will not intersect the obstruction area are added to the edge set to obtain a path network; Using the A* algorithm to search for the shortest path in the path network as the optimal route; The expression of A* algorithm is: F n =g n +h n Among them, F n represents the cost value of the current point, g n Indicates the cost from the current point to the starting point, h n Indicates the cost from the current point to the end point; The method of using the A* algorithm to search for the shortest path in the path network as the optimal route includes: Determine the starting point s, start from the starting point s, and put the starting point s into the list of points to be checked as a point to be checked; Find the points that can be reached around the starting point s, put these surrounding points into the list of points to be checked, and set the parent node to the starting point s; Delete the starting point s from the list of points to be checked, and put the starting point s into the list of closed points as a point that no longer needs to be checked; Calculate F for each surrounding point n value Select F from the list of points to be checked n The point a with the smallest value is deleted from the list of points to be checked and put into the list of closed points; Check all neighboring and reachable points of point a; the checking rules for all neighboring and reachable points of point a are: a) do not include points in the obstacle and closed point lists; b) if all neighboring points of point a are not in the list of points to be checked, add these neighboring points to the list of points to be checked and calculate the F of these neighboring points n , set the parent node to point a; c) If an adjacent point c is already in the list of points to be checked, calculate the new path from point s to point c g n Value, determine whether the parent node needs to be updated. If point s reaches point c's g n If the value is smaller, change the parent node to point c and recalculate F n Value, h n The value does not need to be changed; if the new g n If the value is larger, it means that the new path has higher cost, and F is not updated. n value; Continue to find F from the list of points to be checked n The point with the smallest value is deleted from the list of points to be checked and added to the list of closed points; the loop is iterated until the target end point appears in the list of points to be checked, indicating that the path has been found.

2. A PRM route planning method based on AIS data according to claim 1, characterized in that: The obstruction area includes water obstacles and underwater obstacles; the water obstacles include: various lights, various buoys, bridges, overhead cables, daylight marks, overhead pipelines, conveyor belts, mooring equipment, fishing equipment, ice areas, light ships, timber floating areas, offshore platforms, oil booms, object piles and tower bridge supports; the underwater obstacles are determined according to the safe water depth of the ship itself, and at least include: underwater reefs, shipwrecks and other obstacles.

3. A PRM route planning method based on AIS data according to claim 1, characterized in that: The step of extracting the obstruction area from the electronic nautical chart comprises: Read an electronic chart logical record and identify the header area, table of contents area, control field area and description field area; Parse the information of the four areas in sequence, parse the directory area from the parsed header area parameters, parse the control field area to obtain the object category and attribute information, and parse the description field area to obtain the field control structure; Traverse each boundary node of the coastline and isobath and the obstruction node. If the boundary of the coastline and isobath is divided or blocked by the obstruction node, the obtained obstruction information is stored in the custom obstacle database.

4. The PRM route planning method based on AIS data according to claim 1, characterized in that: The method of extracting a high-frequency historical track point set based on the ship's AIS data includes: Obtain dynamic and static information of the ship; Match the dynamic information and static information of the ship according to the MMSI number to form the original AIS data of the ship; The original AIS data of the ship is preprocessed, track compressed and clustered to obtain a high-frequency historical trajectory point set.

5. A PRM route planning method based on AIS data according to claim 4, characterized in that: The dynamic information of a ship includes at least the MMSI number, position, speed, heading and navigation status; the static information of a ship includes at least the MMSI number, ship name, ship type and ship parameters.

6. A PRM route planning method based on AIS data according to claim 4, characterized in that: The AIS data of the ship is preprocessed, track compressed and clustered in sequence to obtain a high-frequency historical track point set, including: Delete the erroneous data in the original AIS data, determine the ship's navigation status, delete the data of the ship being anchored or out of control, and only keep the data of the ship being underway; Delete the duplicate and redundant data in the original AIS data, retain the data that can reflect the ship's motion characteristics, compress the track, and obtain typical waypoints; Cluster analysis is performed on the obtained typical waypoints to obtain a high-frequency historical trajectory point set.

7. A PRM route planning method based on AIS data according to claim 6, characterized in that: The Douglas-Peucker algorithm is used to compress the original AIS data, and the DBSCAN clustering algorithm is used to perform cluster analysis on typical waypoints.