A method for assessing navigation safety risk of a warning area based on AIS data
By delineating a polygonal region A with an area 1.5-2 times that of the warning zone outside the warning zone, extracting and processing AIS data, and calculating risk factors such as ship density, encounter situation, and length, the problem of low accuracy in navigation safety risk assessment within the warning zone was solved, and a highly accurate risk assessment was achieved.
Patent Information
- Application Number
- CN202311597601.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-11-28
AI Technical Summary
Existing methods for assessing ship navigation safety risks are not very accurate when applied to restricted areas and cannot effectively reflect the complex navigation environment of restricted areas.
Based on AIS data, a polygonal region A with an area 1.5-2 times larger than the polygonal warning zone is delineated outside the polygonal warning zone. Ship AIS data from the past month is extracted, preprocessed, and resampled by interpolation. Ship trajectories are recorded, and risk factors per minute are calculated by combining ship density, encounter situation, and length. Navigation safety risks are assessed by linear combination.
It enables accurate identification and assessment of the navigation risk in the restricted area every minute, providing highly accurate navigation safety risk assessment results and identifying the most dangerous moments of the day.
Smart Images

Figure CN117829582B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a method for assessing general aviation safety risks, and more particularly to a method for assessing general aviation safety risks in restricted areas based on AIS data. Background Technology
[0002] Maritime safety has always been a critical issue in maritime traffic. In recent years, with the rapid development of the shipping industry, water transport has become increasingly busy, the number of ships has increased, and the ship density in waterways has gradually increased, leading to frequent ship accidents. The establishment of a vessel routing system aims to plan important sections and key waterways along coastal routes with high traffic density and complex navigation environments, reduce encounters and collisions between ships, and improve maritime navigation safety. The establishment of a warning zone is one measure of the vessel routing system. A warning zone is a polygonal area encompassing a waterway boundary line where ships from all directions converge, resulting in complex traffic flows. To reduce and avoid maritime accidents, ships must navigate with extra caution within the warning zone.
[0003] Currently, many methods for assessing navigation safety risks have emerged to reduce maritime traffic accidents. These methods are based on general sea areas and have good assessment results in assessing navigation safety risks in general sea areas. The navigation environment in the warning zone has the following characteristics compared to general sea areas: (1) complex ship traffic situation; (2) dense ship traffic; (3) small space for ship avoidance; (4) frequent ship intersections and difficulties in ship coordination and avoidance. Due to the above obvious differences between the navigation environment in the warning zone and general sea areas, the navigation environment in the warning zone is more complex and the navigation safety risk is higher than that in general sea areas. Since the existing methods for assessing navigation safety risks only consider the navigation environment in general sea areas, the accuracy of the assessment results obtained when applied to assess the navigation safety risks in the warning zone is generally not high due to the significant differences in the navigation environment between the warning zone and general sea areas. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a method for assessing navigation safety risks in restricted areas based on AIS data with high accuracy.
[0005] The technical solution adopted by this invention to solve the above-mentioned technical problems is as follows: a method for assessing navigation safety risks in restricted areas based on AIS data, comprising the following steps:
[0006] Step 1: Denote the number of vertices in the polygonal warning zone that needs to be risk assessed as n, i.e., the polygonal warning zone is an n-sided polygon with n sides. Select any vertex of the polygonal warning zone as its starting point. Starting from this vertex, number the n vertices of the polygonal warning zone from 1 to n in a clockwise or counterclockwise direction. The vertex numbered i is called its i-th vertex. Obtain the position information of each vertex of the polygonal warning zone to determine the location of the polygonal warning zone. Denote the position information of the i-th vertex of the polygonal warning zone as Pi(Lati, Longi), i = 1, 2, ..., n, where Lati is the latitude of the i-th vertex of the polygonal warning zone and Longi is the longitude of the i-th vertex of the polygonal warning zone.
[0007] Step 2: Delineate a polygonal region A outside the polygonal warning zone, encompassing the polygonal warning zone. The polygonal region is also an n-sided polygon with n sides and n vertices. The n sides of the polygonal region A correspond one-to-one with the n sides of the polygonal warning zone. The area of the polygonal region A is 1.5-2 times the area of the polygonal warning zone. Select any vertex of the polygonal region A as its starting point. Starting from this vertex, number the n vertices of the polygonal region A from 1 to n in a clockwise or counterclockwise direction. The vertex numbered j is called its j-th vertex. Obtain the position information of each vertex of the polygonal region A to determine the location of the polygonal region A. Record the position information of the j-th vertex of the polygonal region A as Qj (Qatj, Qongj), j = 1, 2, ..., n, where Qatj is the latitude of the j-th vertex of the polygonal region A, and Qongj is the longitude of the j-th vertex of the polygonal region A.
[0008] Step 3: Extract AIS data from the ShipTraffic website for all vessels navigating in polygon area A within any complete day from 0:00 to 24:00 within the past month from the assessment date. This complete day is called the reference day, and the number of vessels navigating in polygon area A on the reference day is denoted as m. Each vessel's AIS data includes the Maritime Mobile Service Identifier (MMSI), multiple AIS times, and the vessel's latitude, longitude, ground speed, and ground heading at each AIS time. The vessel's latitude and longitude at a given AIS time constitute its position at that AIS time. Preprocess the extracted AIS data for each of the m vessels as follows: First, determine if each vessel falls into one of the following three categories: the vessel's position is the same at different AIS times, the vessel's ground speed is less than 2 knots at at least one AIS time, or the Maritime Mobile Service Identifier (MMSI) is not 9 digits. Then, delete the AIS data of vessels that fall into at least one of these three categories.
[0009] The number of remaining AIS data points for each vessel after preprocessing is recorded as l, meaning there are l vessels with AIS data remaining after preprocessing. These l vessels' AIS data are then interpolated and resampled according to a one-minute timestamp to obtain l vessels' interpolated AIS data. Each vessel's interpolated AIS data includes the Maritime Mobile Service Identifier (MMSI), multiple AIS times, and the vessel's latitude, longitude, ground speed, and ground heading at each AIS time. Each AIS time is an integer, corresponding to one of the 1440 minutes in the reference time: minute 1, minute 2, minute 3, ..., minute 1440. The interpolated AIS data for each vessel represents its trajectory data.
[0010] Step 4: Number the l ships sequentially from 1 to l according to the order in which they enter polygon area A. The ship numbered k is called the kth ship, k = 1, 2, ..., l. If two or more ships enter polygon area A at the same time, the order in which these ships are numbered is randomly determined.
[0011] An AIS data storage table is established. The AIS data storage table has 1 data unit, with the data unit number from 1 to 1. Each data unit has a data unit number field for filling in the data unit number, multiple AIS time fields for filling in the AIS time, a maritime mobile service identification code field for filling in the maritime mobile service identification code, and a vessel length field for filling in the vessel length. Each AIS time field has a vessel position latitude field for filling in the vessel position latitude, a vessel position longitude field for filling in the vessel position longitude, a vessel ground speed field for filling in the vessel ground speed, and a vessel ground heading field for filling in the vessel ground heading.
[0012] Fill in the data unit serial numbers 1 to l one by one into the data unit serial number column of the l data units. The data unit with k in the data unit serial number column is called the kth data unit. Fill in the trajectory data of the kth ship in the l ships into the kth data unit.
[0013] Step 5: Based on the longitude and latitude of the ship's position at each AIS time in the interpolated AIS data of each ship, obtain the ship's position at each AIS time. Connect the ship's positions at all AIS times in the interpolated AIS data of the ship in chronological order according to the AIS time to form the ship's trajectory.
[0014] Step 6: Assign a 1440-bit code to each of the l ships. Based on the trajectory of the k-th ship, determine whether the k-th ship is within the polygonal warning zone at the g-minute mark of the reference day. The polygonal warning zone refers to the location of the k-th ship's n edges and the area enclosed by those n edges. If it is, assign the g-th bit of the k-th ship's 1440-bit code to 1; otherwise, assign it to 0. Here, g = 1, 2, ..., 1440. This yields the 1440-bit codes for each of the l ships, resulting in a total of l 1440-bit codes.
[0015] Step 7: Take the number of ships located within the polygonal warning zone at the g-minute of the reference day as the ship density of the polygonal warning zone at the g-minute of the reference day, denoted as D. g The ship density risk factor of the polygonal warning zone at the g-th minute of the reference day is denoted as RiskD. g Count the number of times the g-th bit is 1 in l 1440-bit codes; this number is D. g The value of RiskD is determined according to the following rules. g Assign a value:
[0016] If D g =0, RiskD g The value is 0;
[0017] If D g =1, RiskD g The value is 1;
[0018] If D g =2, RiskD g The value is 2;
[0019] If D g =3, RiskD g The value is 3;
[0020] If D g ≥4, RiskD g The value is 4;
[0021] Step 8: Set the number of overtaking and encounter situations of ships within the polygonal warning zone at the g-minute of the reference day to t. g The number of encounter situations is e g The number of cross-encounter situations is c. g ;
[0022] Judge D g Is it less than or equal to 1, if D g If less than or equal to 1, let t be directly set. g c g e g All values are 0;
[0023] If D g is not less than or equal to 1, the following steps are performed:
[0024] S8.1. For each arbitrary pair of vessels among the D g vessels, determine according to the following rules:
[0025] among the arbitrary pair of vessels, the vessel with the larger course over ground is denoted as vessel t, the vessel with the smaller course over ground is denoted as vessel s, the course over ground of vessel t is denoted as COGt, and the course over ground of vessel s is denoted as COGs, wherein the course over ground is expressed in degrees;
[0026] if 0° ≤ COGt - COGs ≤ 67.5° or 292.5° < COGt - COGs ≤ 360°, the state of the arbitrary pair of vessels is considered to be an overtaking encounter situation, that is, the current judgment result is an overtaking encounter situation;
[0027] if 67.5° < COGt - COGs ≤ 174° or 186° < COGt - COGs ≤ 292.5°, the state of the arbitrary pair of vessels is considered to be a crossing encounter situation, that is, the current judgment result is a crossing encounter situation;
[0028] if 174° < COGt - COGs ≤ 186°, the state of the arbitrary pair of vessels is considered to be a head-on encounter situation, that is, the current judgment result is a head-on encounter situation;
[0029] S8.2. After each arbitrary pair of vessels among the D g vessels completes the determination according to step S8.1, C D 2 g judgment results are obtained, and the number of overtaking encounter situations, the number of head-on encounter situations, and the number of crossing encounter situations among all judgment results are counted respectively to obtain the number of overtaking encounter situations t g , the number of head-on encounter situations e g , and the number of crossing encounter situations c g ;
[0030] Step 9: The overtaking risk factor of vessels in the polygon warning area in the g-th minute of the reference day is denoted as RiskT g , the head-on risk factor is denoted as RiskE g , the crossing risk factor is denoted as RiskC g , and the total encounter situation risk value is denoted as RISK g ; According to the following rules, RiskT g , RiskE g , RiskC gThe values are assigned, and RISK is calculated using equation (1). g :
[0031] If D g =0 or D g =1, then let RiskT g RiskE g RiskC g All values are 0;
[0032] If D g If ≥2, then let RiskT g The value is 1, RiskE g The value is 2, RiskC g The value is 3;
[0033] RISK g =t g *RiskT g +e g *RiskE g +c g *RiskC g (1)
[0034] Step 10: Denote the length of the k-th ship among the l ships as L. k Let L be the sum of the lengths of the l ships, and let L be the average length of the l ships. Let L be the sum of the lengths of the ships located within the polygonal warning zone at the g-minute mark of the reference day. g The ship length risk factor is denoted as RiskL. g First, L and L are calculated using equations (2) and (3) respectively. Then, obtain the 1440-bit codes where the g-th bit is 1 from the l 1440-bit codes, obtain the ship lengths corresponding to these g-th bit 1 1440-bit codes, and calculate the sum L of the ship lengths of these ships. g Then, RiskL is processed according to the following rules. g Assign a value:
[0035]
[0036]
[0037] If L g =0, let RiskL g The value is 0;
[0038] if Let RiskL g The value is 1;
[0039] if Let RiskL g The value is 2;
[0040] if Let RiskL g The value is 3;
[0041] if Let RiskL g The value is 4;
[0042] if Let RiskL g The value is 5;
[0043] if Let RiskL g The value is 6;
[0044] Step 11: Record the navigation safety risk value at minute g of the reference day as RiskPA. g ;
[0045] Step 12: Apply equation (4) to RiskD g RISK g RiskL g By performing a linear combination, RiskPA is calculated. g :
[0046] RiskPA g =0.5*RiskD g +0.3*RISK g +0.2*RiskL g (4)
[0047] Step 13: Denote the navigation safety risk value of the polygonal warning area as RiskPA, and calculate RiskPA using Equation (5).
[0048]
[0049] Step 14: Assess the navigation safety risk in the restricted area according to the following criteria:
[0050] If 0 ≤ RiskPA ≤ 3096, then the risk of navigation in the warning area is determined to be low.
[0051] If 3096 < RiskPA ≤ 6192, then the risk of navigation in the restricted area is determined to be medium risk.
[0052] If 6192 < RiskPA ≤ 9288, then the risk of navigation in the warning area is determined to be medium to high risk.
[0053] If 9288 < RiskPA ≤ 12384, then the risk of navigation in the warning area is determined to be medium to high risk.
[0054] If RiskPA > 12384, the risk of navigation in the restricted area is determined to be extremely high.
[0055] Compared with existing technologies, the advantages of this invention lie in considering the differences between polygonal warning zones and general sea areas, and combining the shape uncertainty of polygonal warning zones. Based on the vertices and edges of the polygonal warning zone, a polygonal region A is delineated outside the polygonal warning zone, parallel to its edges and with an area 1.5-2 times that of the polygonal warning zone. Based on the vertex position information of polygonal region A, AIS data of all vessels navigating in polygonal region A for any complete day (i.e., reference day) from 0:00 to 24:00 within the past month from the assessment date is extracted. This achieves consistency of vessels in the spatial dimension. The AIS data of vessels extracted from polygonal region A based on the reference day are... According to the method, ship AIS data is preprocessed and interpolated and resampled at one-minute intervals to obtain ship interpolated AIS data, thereby obtaining the ship's trajectory. This ensures that all AIS times in the ship's interpolated AIS data directly correspond to the integer minutes in the reference day, guaranteeing the accuracy of the time dimension. Then, based on the position information of each vertex of the polygonal warning zone and the ship's position, it is determined whether a ship is navigating within the polygonal warning zone within minutes 1-1440 of the reference day. A coding method is proposed to record the judgment results: the corresponding position of the code for a ship navigating within the polygonal warning zone is marked as 1, otherwise it is marked as 1. The value is 0, which obtains the ship navigation situation for each minute of the reference day. This process can accurately and completely record which minute of the reference day a ship is navigating in the polygonal warning zone, and how many ships are navigating in the warning zone at that corresponding minute. This allows for an accurate assessment of the navigation risk level within the polygonal warning zone at that minute. Considering the differences between polygonal warning zones and general sea areas, ship density, ship encounter situation, and ship length are introduced as navigation safety risk assessment indicators for polygonal warning zones. Different weights are assigned according to the degree of impact. Based on the corresponding ship AIS data in the coding results, the risk indicator impact factor for each minute is calculated, and various risk factors are considered. The risk index corresponds to a linear combination of risk factors to obtain the navigation safety risk value per minute. Based on the navigation safety risk value at each minute, the most dangerous moment of the day can be determined. Finally, the risk values from 1 to 1440 minutes of the day are statistically analyzed to obtain the navigation safety risk value of the polygonal warning zone and output the risk level. Thus, this invention comprehensively considers the ship navigation situation within the polygonal warning zone every minute, and can accurately identify and judge the risk level of the polygonal warning zone at each minute of the day. Finally, combined with the calculation results of risk assessment indicators, the navigation risk of the warning zone at all times can be comprehensively assessed, and the assessment results have high accuracy. Attached Figure Description
[0056] Figure 1 This is a flowchart of the navigation safety risk assessment method for restricted areas based on AIS data according to the present invention;
[0057] Figure 2 This is a diagram showing the actual situation of ships within the warning zone in the warning zone navigation safety risk assessment method based on AIS data of the present invention;
[0058] Figure 3 This is a diagram of a two-ship encounter scenario in the navigation safety risk assessment method for warning zones based on AIS data, as presented in this invention.
[0059] Figure 4 This invention relates to a ship encounter situation diagram based on the AIS data-based warning zone navigation safety risk assessment method.
[0060] Figure 5 This is a diagram showing the ship coding results in the AIS data-based navigation safety risk assessment method for restricted areas according to the present invention.
[0061] Figure 6 This is a visualization of the risk value per minute within a reference day in an embodiment of the AIS data-based navigation safety risk assessment method for restricted areas of the present invention;
[0062] Figure 7 This is a visualization of the risk value corresponding to every 15 minutes within a reference day in an embodiment of the AIS data-based warning zone navigation safety risk assessment method of the present invention. Detailed Implementation
[0063] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0064] Example: Figure 1 As shown, a method for assessing navigation safety risks in a restricted area based on AIS data includes the following steps:
[0065] Step 1: Denote the number of vertices in the polygonal warning zone that needs to be risk assessed as n, i.e., the polygonal warning zone is an n-sided polygon with n sides. Select any vertex of the polygonal warning zone as its starting point. Starting from this vertex, number the n vertices of the polygonal warning zone from 1 to n in a clockwise or counterclockwise direction. The vertex numbered i is called its i-th vertex. Obtain the position information of each vertex of the polygonal warning zone to determine the location of the polygonal warning zone. Denote the position information of the i-th vertex of the polygonal warning zone as Pi(Lati, Longi), i = 1, 2, ..., n, where Lati is the latitude of the i-th vertex of the polygonal warning zone and Longi is the longitude of the i-th vertex of the polygonal warning zone.
[0066] Step 2: Delineate a polygonal region A, encompassing the polygonal warning zone, outside the polygonal warning zone. This polygonal region is also an n-sided polygon with n sides and n vertices. The n sides of polygonal region A correspond one-to-one with the n sides of the polygonal warning zone. The area of polygonal region A is 1.5-2 times the area of the polygonal warning zone. Select any vertex of polygonal region A as its starting point. Starting from this vertex, number the n vertices of polygonal region A sequentially from 1 to n in a clockwise or counterclockwise direction. The vertex numbered j is called its j-th vertex. Obtain the position information of each vertex of polygonal region A to determine its location. Record the position information of the j-th vertex of polygonal region A as Qj (Qatj, Qongj), j = 1, 2, ..., n, where Qatj is the latitude of the j-th vertex of polygonal region A, and Qongj is the longitude of the j-th vertex of polygonal region A. Figure 2 As shown;
[0067] Step 3: Extract AIS data from the ShipTraffic website for all vessels navigating in polygon area A within any complete day from 0:00 to 24:00 within the past month from the assessment date. This complete day is called the reference day, and the number of vessels navigating in polygon area A on the reference day is denoted as m. Each vessel's AIS data includes the Maritime Mobile Service Identifier (MMSI), multiple AIS times, and the vessel's latitude, longitude, ground speed, and ground heading at each AIS time. The vessel's latitude and longitude at a given AIS time constitute its position at that AIS time. Preprocess the extracted AIS data for each of the m vessels as follows: First, determine if each vessel falls into one of the following three categories: the vessel's position is the same at different AIS times, the vessel's ground speed is less than 2 knots at at least one AIS time, or the Maritime Mobile Service Identifier (MMSI) is not 9 digits. Then, delete the AIS data of vessels that fall into at least one of these three categories.
[0068] The number of remaining AIS data points for each vessel after preprocessing is recorded as l, meaning there are l vessels with AIS data remaining after preprocessing. These l vessels' AIS data are then interpolated and resampled according to a one-minute timestamp to obtain l vessels' interpolated AIS data. Each vessel's interpolated AIS data includes the Maritime Mobile Service Identifier (MMSI), multiple AIS times, and the vessel's latitude, longitude, ground speed, and ground heading at each AIS time. Each AIS time is an integer, corresponding to one of the 1440 minutes in the reference time: minute 1, minute 2, minute 3, ..., minute 1440. The interpolated AIS data for each vessel represents its trajectory data.
[0069] Step 4: Number the l ships sequentially from 1 to l according to the order in which they enter polygon area A. The ship numbered k is called the kth ship, k = 1, 2, ..., l. If two or more ships enter polygon area A at the same time, the order in which these ships are numbered is randomly determined.
[0070] An AIS data storage table is established. The AIS data storage table has 1 data unit, with the data unit number from 1 to 1. Each data unit has a data unit number field for filling in the data unit number, multiple AIS time fields for filling in the AIS time, a maritime mobile service identification code field for filling in the maritime mobile service identification code, and a vessel length field for filling in the vessel length. Each AIS time field has a vessel position latitude field for filling in the vessel position latitude, a vessel position longitude field for filling in the vessel position longitude, a vessel ground speed field for filling in the vessel ground speed, and a vessel ground heading field for filling in the vessel ground heading.
[0071] Fill in the data unit serial numbers 1 to l one by one into the data unit serial number column of the l data units. The data unit with k in the data unit serial number column is called the kth data unit. Fill in the trajectory data of the kth ship in the l ships into the kth data unit.
[0072] Step 5: Based on the longitude and latitude of the ship's position at each AIS time in the interpolated AIS data of each ship, obtain the ship's position at each AIS time. Connect the ship's positions at all AIS times in the interpolated AIS data of the ship in chronological order according to the AIS time to form the ship's trajectory.
[0073] Step 6: Assign a 1440-bit code to each of the l ships. Based on the trajectory of the k-th ship, determine whether the k-th ship is within the polygonal warning zone at the g-minute mark of the reference day. The polygonal warning zone refers to the location of the k-th ship's n edges and the area enclosed by those n edges. If it is, assign the g-th bit of the k-th ship's 1440-bit code to 1; otherwise, assign it to 0. Here, g = 1, 2, ..., 1440. This yields the 1440-bit codes for each of the l ships, resulting in a total of l 1440-bit codes.
[0074] Step 7: Take the number of ships located within the polygonal warning zone at the g-minute of the reference day as the ship density of the polygonal warning zone at the g-minute of the reference day, denoted as D. g The ship density risk factor of the polygonal warning zone at the g-th minute of the reference day is denoted as RiskD. g Count the number of times the g-th bit is 1 in l 1440-bit codes; this number is D. g The value of RiskD is determined according to the following rules. g Assign a value:
[0075] If D g =0, RiskD g The value is 0;
[0076] If D g =1, RiskD g The value is 1;
[0077] If D g =2, RiskD g The value is 2;
[0078] If D g =3, RiskD g The value is 3;
[0079] If D g ≥4, RiskD g The value is 4;
[0080] Step 8: Set the number of overtaking and encounter situations of ships within the polygonal warning zone at the g-minute of the reference day to t. g The number of encounter situations is e g The number of cross-encounter situations is c. g ;
[0081] Judge D g Is it less than or equal to 1, if D g If less than or equal to 1, let t be directly set. g c g e g All values are 0;
[0082] If D g is not less than or equal to 1, perform processing according to the following steps:
[0083] S8.1. For each arbitrary pair of vessels among D g vessels, perform judgment according to the following rules:
[0084] Among the arbitrary pair of vessels, the vessel with a larger course over ground is denoted as vessel t, and the vessel with a smaller course over ground is denoted as vessel s. The course over ground of vessel t is denoted as COGt, and the course over ground of vessel s is denoted as COGs, wherein the course over ground is expressed in degrees;
[0085] If 0°≤COGt-COGs≤67.5° or 292.5°<COGt-COGs≤360°, the state of the arbitrary pair of vessels is considered to be an overtaking encounter situation, that is, the current judgment result is an overtaking encounter situation;
[0086] If 67.5°<COGt-COGs≤174° or 186°<COGt-COGs≤292.5°, the state of the arbitrary pair of vessels is considered to be a crossing encounter situation, that is, the current judgment result is a crossing encounter situation;
[0087] If 174°<COGt-COGs≤186°, the state of the arbitrary pair of vessels is considered to be an head-on encounter situation, that is, the current judgment result is an head-on encounter situation;
[0088] S8.2. After each arbitrary pair of vessels among D g vessels completes judgment according to step S8.1, judgment results are obtained. Count the number of overtaking encounter situations, the number of head-on encounter situations, and the number of crossing encounter situations among all judgment results respectively, to obtain the number of overtaking encounter situations t g , the number of head-on encounter situations e g , and the number of crossing encounter situations c g ;
[0089] wherein, the encounter scene diagram of two vessels is as shown in Figure 3 , and the encounter situation diagram of two vessels is as shown in Figure 4 ;
[0090] Step 9: The overtaking risk factor of vessels in the polygon warning area of the g-th minute of the reference day is denoted as RiskT g , the head-on risk factor is denoted as RiskE g , the crossing risk factor is denoted as RiskC g , and the total encounter situation risk value is denoted as RISK g ; Perform calculation on RiskT according to the following rules respectivelyg RiskE g RiskC g The values are assigned, and RISK is calculated using equation (1). g :
[0091] If D g =0 or D g =1, then let RiskT g RiskE g RiskC g All values are 0;
[0092] If D g If ≥2, then let RiskT g The value is 1, RiskE g The value is 2, RiskC g The value is 3;
[0093] RISK g =t g *RiskT g +e g *RiskE g +c g *RiskC g (1)
[0094] Step 10: Denote the length of the k-th ship among the l ships as L. k Let L be the sum of the lengths of the l ships, and let L be the average length of the l ships. Let L be the sum of the lengths of the ships located within the polygonal warning zone at the g-minute mark of the reference day. g The ship length risk factor is denoted as RiskL. g First, L and L are calculated using equations (2) and (3) respectively. Then, obtain the 1440-bit codes where the g-th bit is 1 from the l 1440-bit codes, obtain the ship lengths corresponding to these g-th bit 1 1440-bit codes, and calculate the sum L of the ship lengths of these ships. g Then, RiskL is processed according to the following rules. g Assign a value:
[0095]
[0096]
[0097] If L g =0, let RiskL g The value is 0;
[0098] if Let RiskLg The value is 1;
[0099] if Let RiskL g The value is 2;
[0100] if Let RiskL g The value is 3;
[0101] if Let RiskL g The value is 4;
[0102] if Let RiskL g The value is 5;
[0103] if Let RiskL g The value is 6;
[0104] Step 11: Record the navigation safety risk value at minute g of the reference day as RiskPA. g ;
[0105] Step 12: Apply equation (4) to RiskD g RISK g RiskL g By performing a linear combination, RiskPA is calculated. g :
[0106] RiskPA g =0.5*RiskD g +0.3*RISK g +0.2*RiskL g (4)
[0107] Step 13: Denote the navigation safety risk value of the polygonal warning area as RiskPA, and calculate RiskPA using Equation (5).
[0108]
[0109] Step 14: Assess the navigation safety risk in the restricted area according to the following criteria:
[0110] If 0 ≤ RiskPA ≤ 3096, then the risk of navigation in the warning area is determined to be low.
[0111] If 3096 < RiskPA ≤ 6192, then the risk of navigation in the restricted area is determined to be medium risk.
[0112] If 6192 < RiskPA ≤ 9288, then the risk of navigation in the warning area is determined to be medium to high risk.
[0113] If 9288 < RiskPA ≤ 12384, then the risk of navigation in the warning area is determined to be medium to high risk.
[0114] If RiskPA > 12384, the navigation risk in the warning area is determined to be extremely high. In this embodiment, the polygonal warning area is a hexagonal warning area, and the coordinates of its six vertices are as follows: P1 (29.917452°N, 122.120075°E), P2 (29.928367°N, 122.120075°E), P3 (29.928367°N, 122.165051°E), P4 (29.90803°N, 122.176723°E), P5 (29.903244°N, 122.164879°E), P6 (29.917452°N, 122.138443°E). The coordinates of the six vertices of polygon region A are: Q1 (29.913339°N, 122.116127°E), Q2 (29.929339°N, 122.116814°E), Q3 (29.929339°N, 122.168913°E), Q4 (29.907731°N, 122.181616°E), Q5 (29.900029°N, 122.162218°E), and Q6 (29.912666°N, 122.136126°E). The reference date is January 5, 2020. AIS data for 670 ships was extracted from this reference date. After preprocessing, AIS data for 650 ships remained. Based on the trajectories of these 650 ships, they were coded, as follows... Figure 5 As shown, based on the encoding, a total of 274 vessels were identified as navigating within the polygonal warning zone. The visualization result of the risk value per minute within a day, as referenced in the AIS data-based warning zone navigation safety risk assessment method of this embodiment, is shown in the figure below. Figure 6 As shown in the figure, the visualization result of the risk value corresponding to every 15 minutes within the reference day in the AIS data-based warning zone navigation safety risk assessment method of this embodiment is as follows: Figure 7 As shown in the figure. Finally, the calculated RiskPA for navigation safety in the polygonal warning area was 4921.7, classifying the navigation risk in the warning area as medium risk.
Claims
1. A method for assessing navigation safety risks in restricted areas based on AIS data, characterized in that... Includes the following steps: Step 1: Denote the number of vertices in the polygonal warning zone that needs to be risk assessed as n, i.e., the polygonal warning zone is an n-sided polygon with n sides. Select any vertex of the polygonal warning zone as its starting point. Starting from this vertex, number the n vertices of the polygonal warning zone from 1 to n in a clockwise or counterclockwise direction. The vertex numbered i is called its i-th vertex. Obtain the position information of each vertex of the polygonal warning zone to determine the location of the polygonal warning zone. Denote the position information of the i-th vertex of the polygonal warning zone as Pi(Lati, Longi), i = 1, 2, ..., n, where Lati is the latitude of the i-th vertex of the polygonal warning zone and Longi is the longitude of the i-th vertex of the polygonal warning zone. Step 2: Delineate a polygonal region A outside the polygonal warning zone, encompassing the polygonal warning zone. The polygonal region is also an n-sided polygon with n sides and n vertices. The n sides of the polygonal region A correspond one-to-one with the n sides of the polygonal warning zone. The area of the polygonal region A is 1.5-2 times the area of the polygonal warning zone. Select any vertex of the polygonal region A as its starting point. Starting from this vertex, number the n vertices of the polygonal region A from 1 to n in a clockwise or counterclockwise direction. The vertex numbered j is called its j-th vertex. Obtain the position information of each vertex of the polygonal region A to determine the location of the polygonal region A. Record the position information of the j-th vertex of the polygonal region A as Qj (Qatj, Qongj), j = 1, 2, ..., n, where Qatj is the latitude of the j-th vertex of the polygonal region A, and Qongj is the longitude of the j-th vertex of the polygonal region A. Step 3: Extract AIS data from the ShipTraffic website for all vessels navigating in polygon area A within any complete day from 0:00 to 24:00 within the past month from the assessment date. This complete day is called the reference day, and the number of vessels navigating in polygon area A on the reference day is denoted as m. Each vessel's AIS data includes the Maritime Mobile Service Identifier (MMSI), multiple AIS times, and the vessel's latitude, longitude, ground speed, and ground heading at each AIS time. The vessel's latitude and longitude at a given AIS time constitute its position at that AIS time. Preprocess the extracted AIS data for each of the m vessels as follows: First, determine if each vessel falls into one of the following three categories: the vessel's position is the same at different AIS times, the vessel's ground speed is less than 2 knots at at least one AIS time, or the Maritime Mobile Service Identifier (MMSI) is not 9 digits. Then, delete the AIS data of vessels that fall into at least one of these three categories. The number of remaining AIS data points for each vessel after preprocessing is recorded as l, meaning there are l vessels with AIS data remaining after preprocessing. These l vessels' AIS data are then interpolated and resampled according to a one-minute timestamp to obtain l vessels' interpolated AIS data. Each vessel's interpolated AIS data includes the Maritime Mobile Service Identifier (MMSI), multiple AIS times, and the vessel's latitude, longitude, ground speed, and ground heading at each AIS time. Each AIS time is an integer, corresponding to one of the 1440 minutes in the reference time: minute 1, minute 2, minute 3, ..., minute 1440. The interpolated AIS data for each vessel represents its trajectory data. Step 4: Number the l ships sequentially from 1 to l according to the order in which they enter polygon area A. The ship numbered k is called the kth ship, k = 1, 2, ..., l. If two or more ships enter polygon area A at the same time, the order in which these ships are numbered is randomly determined. An AIS data storage table is established. The AIS data storage table has 1 data unit, with the data unit number from 1 to 1. Each data unit has a data unit number field for filling in the data unit number, multiple AIS time fields for filling in the AIS time, a maritime mobile service identification code field for filling in the maritime mobile service identification code, and a vessel length field for filling in the vessel length. Each AIS time field has a vessel position latitude field for filling in the vessel position latitude, a vessel position longitude field for filling in the vessel position longitude, a vessel ground speed field for filling in the vessel ground speed, and a vessel ground heading field for filling in the vessel ground heading. Fill in the data unit serial numbers 1 to l one by one into the data unit serial number column of the l data units. The data unit with k in the data unit serial number column is called the kth data unit. Fill in the trajectory data of the kth ship in the l ships into the kth data unit. Step 5: Based on the longitude and latitude of the ship's position at each AIS time in the interpolated AIS data of each ship, obtain the ship's position at each AIS time. Connect the ship's positions at all AIS times in the interpolated AIS data of the ship in chronological order according to the AIS time to form the ship's trajectory. Step 6: Assign a 1440-bit code to each of the l ships. Based on the trajectory of the k-th ship, determine whether the k-th ship is within the polygonal warning zone at the g-minute mark of the reference day. The polygonal warning zone refers to the location of the k-th ship's n edges and the area enclosed by those n edges. If it is, assign the g-th bit of the k-th ship's 1440-bit code to 1; otherwise, assign it to 0. Here, g = 1, 2, ..., 1440. This yields the 1440-bit codes for each of the l ships, resulting in a total of l 1440-bit codes. Step 7: Take the number of ships located within the polygonal warning zone at the g-minute of the reference day as the ship density of the polygonal warning zone at the g-minute of the reference day, denoted as D. g The ship density risk factor of the polygonal warning zone at the g-th minute of the reference day is denoted as RiskD. g Count the number of times the g-th bit is 1 in l 1440-bit codes; this number is D. g The value of RiskD is determined according to the following rules. g Assign a value: If D g =0, RiskD g The value is 0; If D g =1, RiskD g The value is 1; If D g =2, RiskD g The value is 2; If D g =3, RiskD g The value is 3; If D g ≥4, RiskD g The value is 4; Step 8: Set the number of overtaking and encounter situations of ships within the polygonal warning zone at the g-minute of the reference day to t. g The number of encounter situations is e g The number of cross-encounter situations is c. g ; Judge D g Is it less than or equal to 1, if D g If t is less than or equal to 1, simply let t g c g e g All values are 0; If D g If the value is not less than or equal to 1, then proceed with the following steps: S8.1, Regarding D g Each pair of vessels shall be judged according to the following rules: For any two vessels, the vessel with a larger course over ground is denoted as vessel t, the vessel with a smaller course over ground is denoted as vessel s, the course over ground of vessel t is denoted as COGt, and the course over ground of vessel s is denoted as COGs, where the course over ground is expressed in degrees; If 0°≤COGt-COGs≤67.5° or 292.5°<COGt-COGs≤360°, the state of any two vessels is considered as an overtaking encounter situation, that is, the current judgment result is an overtaking encounter situation; If 67.5°<COGt-COGs≤174° or 186°<COGt-COGs≤292.5°, the state of any two vessels is considered as a crossing encounter situation, that is, the current judgment result is a crossing encounter situation; If 174°<COGt-COGs≤186°, the state of any two vessels is considered as an head-on encounter situation, that is, the current judgment result is a head-on encounter situation; S8.2, in D g After each pair of ships in the vessel group completes the judgment according to step S8.1, the result is obtained. For each judgment result, the number of overtaking encounter situations, the number of face-to-face encounter situations, and the number of cross-encounter encounter situations are statistically analyzed to obtain the number t of overtaking encounter situations. g , number of situations encountered g The number of encounter situations and cross-shaped situations, c g ; Step 9: Denote the overtaking risk factor of vessels within the polygonal warning zone at the g-minute mark of the reference day as RiskT. g The risk factor is denoted as RiskE. g Cross-risk factor denoted as RiskC g The risk value of the situation is always denoted as RISK. g ; Apply the following rules to RiskT respectively g RiskE g RiskC g The values are assigned, and RISK is calculated using equation (1). g : If D g =0 or D g =1, then let RiskT g RiskE g RiskC g All values are 0; If D g If ≥2, then let RiskT g The value is 1, RiskE g The value is 2, RiskC g The value is 3; RISK g =t g *RiskT g +e g *RiskE g +c g *RiskC g (1) Step 10: Denote the length of the k-th ship among the l ships as L. k Let L be the sum of the lengths of the l ships, and let L be the average length of the l ships. Let L be the sum of the lengths of the ships located within the polygonal warning zone at the g-minute mark of the reference day. g The ship length risk factor is denoted as RiskL. g First, L and L are calculated using equations (2) and (3) respectively. Then, obtain the 1440-bit codes where the g-th bit is 1 from the l 1440-bit codes, obtain the ship lengths corresponding to these g-th bit 1 1440-bit codes, and calculate the sum L of the ship lengths of these ships. g Then, RiskL is processed according to the following rules. g Assign a value: If L g =0, let RiskL g The value is 0; if Let RiskL g The value is 1; if Let RiskL g The value is 2; if Let RiskL g The value is 3; if Let RiskL g The value is 4; if Let RiskL g The value is 5; if Let RiskL g The value is 6; Step 11: Record the navigation safety risk value at minute g of the reference day as RiskPA. g ; Step 12: Apply equation (4) to RiskD g RISK g RiskL g By performing a linear combination, RiskPA is calculated. g : RiskPA g =0.5*RiskD g +0.3*RISK g +0.2*RiskL g (4) Step 13: Record the navigational safety risk value of the polygon caution area as RiskPA, and calculate RiskPA using Equation (5) Step 14: Determine the navigational safety risk of the caution area according to the following criteria, specifically: If 0≤RiskPA≤3096, it is determined that the navigational risk of the caution area is low; If 3096<RiskPA≤6192, it is determined that the navigational risk of the caution area is medium; If 6192<RiskPA≤9288, it is determined that the navigational risk of the caution area is medium-high; If 9288<RiskPA≤12384, it is determined that the navigational risk of the caution area is high; If RiskPA>12384, it is determined that the navigational risk of the caution area is extremely high.
