Canal monitoring method and system

By processing ship AIS data and basic canal data and identifying and counting key canal indicators, the problem of insufficient canal information monitoring in the existing technology is solved, effective monitoring and in-depth analysis of canal ships passing through, and important support for the shipping industry is provided.

CN120071675APending Publication Date: 2025-05-30COSCO SHIPPING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510222509.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing technology lacks effective monitoring of canal information and cannot achieve effective monitoring of ships' traffic in the canal, resulting in in-depth research and analysis of the canal's ship flow, anchorage trend, anchorage duration waiting to pass and pass.

Method used

A method and system for canal monitoring is proposed. By processing ship AIS data and basic canal data, it identifies and counts key canal indicators, including the average number of anchored ships in the canal anchorage, the average anchoring time, the average passing time, and the flow rate, so as to achieve effective monitoring of canal ships passing through.

Benefits of technology

It can conduct in-depth research and analysis on the canal's ship flow, anchorage trend, anchorage duration and pass time to provide important support for the overall trend of the shipping industry and ship operation and maintenance analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120071675A_ABST
    Figure CN120071675A_ABST
Patent Text Reader

Abstract

The invention relates to the field of shipping informatization, and provides a canal monitoring method and system for monitoring key areas of a canal. Ship key events and canal key indexes are provided, wherein the ship key events include that a ship enters a canal area, the ship enters a canal anchor ground, the ship is anchored in the canal anchor ground, the ship leaves the anchor ground and passes through a first key node, and the ship passes through a second key node. The canal key indexes include the average number of canal anchored ships, the average anchoring duration of the canal anchored ships, the average equal mooring duration of the canal anchored ships, the average passing duration of the canal ships and the south (north) / east (west) flow of the canal ships. According to the system and the method, the vessel flow based on the canal, the trend of anchoring the vessel on the canal anchor ground, the anchoring duration waiting for passing through the canal and the canal passing duration can be deeply researched and analyzed, and important support is provided for the overall trend of the shipping industry and vessel operation and maintenance analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of shipping informatization, and specifically to a method and system for canal monitoring. Background Art

[0002] The Panama Canal and the Suez Canal are the two most important canals in the international shipping waterways. The traffic flow through the Panama Canal is a barometer of world trade. When the world economy is prosperous, the traffic volume increases, and when the economy is sluggish, it decreases. The Suez Canal connects the Red Sea and the Mediterranean Sea, linking the Atlantic Ocean with the Indian Ocean and the Pacific Ocean via the Mediterranean Sea and the Suez Canal. It is an international shipping waterway of great economic and strategic significance.

[0003] Ship managers usually monitor the real-time dynamics of ships through the Automatic Identification System (AIS) of ships, but there is insufficient attention to key nodes such as the Panama Canal and the Suez Canal. Taking the Panama Canal as an example, compared with bypassing Cape Horn in South America, the opening of the Panama Canal has provided a new shipping lane for ships from all over the world, shortening the voyage by 15,000 kilometers. This change has greatly shortened the sailing time between the Atlantic Ocean and the Pacific Ocean. The ship management in the industry has ignored its importance.

[0004] Secondly, without the monitoring of the Panama Canal and the Suez Canal, it is impossible to conduct in-depth research and analysis on the ship flow in the canal, the trend of ships anchored in the canal anchorage, the anchorage duration of ships waiting to pass through the canal, and the canal passage duration, lacking an important support for the overall trend of the shipping industry and the analysis of ship operation and maintenance. Summary of the Invention

[0005] In order to solve the technical problems that the prior art lacks effective monitoring of canal information and cannot effectively monitor the passage process of ships in the canal, the present invention proposes a method and system for canal monitoring, proposes a method for processing canal basic data, and identifies key canal indicators through ship AIS data and canal basic data with the assistance of PostgreSQL, and effectively monitors the ships passing through the canal based on the key canal indicators.

[0006] The specific solutions are as follows:

[0007] A method for canal monitoring,

[0008] S1: Process ship AIS data and canal basic data: The ship AIS data includes: ship MMSI, time, longitude and latitude, current ship status, speed, course, and the longitude and latitude of the previous AIS point of the ship; the canal basic data includes: canal area, canal anchorage, and canal key nodes.

[0009] S2: Statistic of key ship events: When it is detected that a ship enters the canal area, start monitoring the key ship events, which include: the ship enters the canal area, the ship enters the canal anchorage, the ship anchors in the canal anchorage, the ship leaves the anchorage and crosses the first key node, the ship crosses the second key node, the ship passes through the key node and enters the canal anchorage, the ship leaves the canal anchorage, and the ship leaves the canal area;

[0010] S3: Statistic of key canal indicators: Based on the time of the key ship events in S2, divide different stages of the ship's passage, and statistic the key canal indicators in different stages; the key canal indicators include: the average number of ships anchored in the canal anchorage, the average anchorage duration of ships in the canal anchorage, the average waiting duration for berthing of ships in the canal anchorage, the average passage duration of canal ships, the southward, northward, eastward or westward flow of canal ships;

[0011] S4: Generate monitoring and analysis data; Store the key ship events in S2 and the key canal indicators in S3 in the database, statistic the real-time data of the ship's passage in the canal and display the changing trends of various indicators in the interface system.

[0012] Preferably, the canal area is the area where the ship begins to be monitored; the canal anchorage is the anchorage area where the ship may need to anchor and wait first when passing through the canal, and the key canal nodes are the nodes that are focused on at the entrances and exits or the gates at both ends of the canal.

[0013] Preferably, the key canal indicators are statistic in different stages; the stages include: the stage when the ship enters the canal area and anchors in a designated area waiting for the arrangement of the canal authority, the stage when the ship ends anchoring and reaches the key node at the estuary gate after receiving the passage order from the canal authority, and the stage from the key node at the estuary gate to the key node where the ship passes through the canal and reaches the canal exit.

[0014] Preferably, in the stage when the ship enters the canal area and anchors in a designated area waiting for the arrangement of the canal authority, statistic the average number of ships anchored in the canal anchorage and the average anchorage duration of ships in the canal anchorage; the average number of ships anchored in the canal anchorage represents the real-time number of ships anchored in the canal anchorage, and the average anchorage duration of ships in the canal anchorage represents the average anchorage duration of the ships in the canal anchorage from the time they enter the anchorage to the current time.

[0015] Preferably, in the stage when the ship ends anchoring and reaches the key node at the estuary gate after receiving the passage order from the canal authority, statistic the average waiting duration for berthing of ships in the canal anchorage, and the average waiting duration for berthing of ships in the canal anchorage represents the average duration that the ship needs to anchor and wait first in order to cross the canal.

[0016] Preferably, during the stage from the key node at the estuary sluice to the key node where the ship reaches the canal exit through the canal, the average passing duration of canal ships and the flow rates of canal ships in the southward, northward, eastward, or westward directions are statistically counted. The average passing duration index of canal ships represents the average duration for ships to cross the canal, and the flow rates of canal ships in the southward, northward, eastward, and westward directions represent the number of ships crossing the canal per unit time.

[0017] Preferably, the events of the above ships during the canal passage are stored in a database, and the real-time data of the canal is statistically counted in a daily statistical manner.

[0018] The average number of ships anchored in the canal anchorage and the average anchoring duration of ships in the canal anchorage are statistically sampled every five hours, and the average value is statistically counted daily.

[0019] The average waiting duration of ships in the canal anchorage and the average passing duration of canal ships are statistically averaged daily; the flow rates of canal ships in the southward, northward, eastward, or westward directions are summarized and statistically counted for the total value daily.

[0020] A canal monitoring system includes:

[0021] Ship AIS data processing module: used to obtain AIS signals and store them as ship AIS data. The ship AIS data includes: ship MMSI, time, longitude and latitude, current ship status, speed, heading, and the longitude and latitude of the previous AIS point of the ship.

[0022] Ship canal basic data acquisition module, used to set and store the canal basic data. The canal basic data includes: canal area, canal anchorage, and canal key nodes.

[0023] Ship key event statistics module: used to start monitoring ship key events when it is detected that the ship enters the canal area.

[0024] Canal key index statistics module: used to statistically count canal key indexes at different stages of ship passage; the different stages are divided by the time of ship key events.

[0025] Data analysis and display module: used to store the ship key events and the canal key indexes, and statistically count the real-time data of ship passage in the canal and display the change trends of various indexes in the interface system.

[0026] Preferably, the ship key events include: the ship enters the canal area, the ship enters the canal anchorage, the ship anchors in the canal anchorage, the ship leaves the anchorage and crosses the first key node, the ship crosses the second key node, the ship enters the canal anchorage through the key node, the ship leaves the canal anchorage, and the ship leaves the canal area.

[0027] Preferably, the key canal indicators include: the average number of anchored vessels in the canal anchorage, the average anchorage duration of vessels in the canal anchorage, the average waiting duration of vessels in the canal anchorage, the average passage duration of canal vessels, and the southward, northward, eastward, or westward flow of canal vessels.

[0028] Beneficial effects

[0029] The present invention proposes a method and system for canal monitoring. Based on traditional vessel monitoring and management, the concept of monitoring key areas of the canal is proposed. Eight key vessel events based on canal monitoring are proposed: a vessel enters the canal area, a vessel enters the canal anchorage, a vessel anchors in the canal anchorage, a vessel leaves the anchorage and crosses the first key node, a vessel crosses the second key node, a vessel enters the canal anchorage after passing through the key node, a vessel leaves the canal anchorage, and a vessel leaves the canal area. At the same time, five key canal indicators are proposed based on the key events: the average number of anchored vessels in the canal anchorage, the average anchorage duration of vessels in the canal anchorage, the average waiting duration of vessels in the canal anchorage (waiting passage time), the average passage duration of canal vessels, and the southward (northward) / eastward (westward) flow of canal vessels. The present invention can conduct in-depth research and analysis on the vessel flow based on the canal, the trend of anchored vessels in the canal anchorage, the anchorage duration waiting to pass through the canal, and the canal passage duration, providing important support for the overall trend of the shipping industry and vessel operation and maintenance analysis. Description of the drawings

[0030] Figure 1 A flowchart of a method for canal monitoring.

[0031] Figure 2 It is a diagram of the AIS storage format in the embodiment.

[0032] Figure 3 It is a diagram of the storage form of the basic data of the Panama Canal area in the embodiment.

[0033] Figure 4 It is a diagram of the storage form of the basic data of the Panama Canal anchorage in the embodiment.

[0034] Figure 5 It is the storage form of the basic data of the key nodes of the Panama Canal in the embodiment.

[0035] Figure 6 It is a schematic diagram of the Panama area in the embodiment.

[0036] Figure 7 It is a schematic diagram of the Suez area in the embodiment.

[0037] Figure 8 It is a schematic diagram of the Panama anchorage in the embodiment.

[0038] Figure 9 It is a schematic diagram of the Suez anchorage in the embodiment.

[0039] Figure 10 It is a schematic diagram of key nodes in Panama in the embodiment.

[0040] Figure 11 It is a schematic diagram of key nodes in Suez in the embodiment.

[0041] Figure 12 It is a storage format diagram of ship events in the canal in the embodiment.

[0042] Figure 13 It is a storage format diagram of canal statistical indicators in the embodiment.

[0043] Figure 14 It is a system structure diagram of a canal monitoring in the embodiment.

[0044] Figure 15 It is a dynamic display diagram of the average number of moored ships in the south anchorage of Panama in the embodiment.

[0045] Figure 16 It is a dynamic display diagram of the average mooring duration in the south anchorage of Panama in the embodiment.

[0046] Figure 17 It is a dynamic display diagram of the average waiting berth duration in the south anchorage of Panama in the embodiment.

[0047] Figure 18 It is a dynamic display diagram of the northbound flow data of the Panama Canal in the embodiment. Specific implementation manner

[0048] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0049] As Figure 1 shown, a method for canal monitoring

[0050] S1: Process ship AIS data and canal basic data: The ship AIS data includes: ship MMSI, time, longitude and latitude, current ship status, speed, heading, longitude and latitude of the previous AIS point of the ship; The canal basic data includes: canal area, canal anchorage, canal key nodes.

[0051] S2: Statistically analyze key ship events: When it is detected that a ship enters the canal area, start monitoring key ship events, and the key ship events include: a ship enters the canal area, a ship enters the canal anchorage, a ship anchors in the canal anchorage, a ship leaves the anchorage and crosses the first key node, a ship crosses the second key node, a ship enters the canal anchorage after passing through the key node, a ship leaves the canal anchorage, and a ship leaves the canal area.

[0052] S3: Statistic key canal indicators: Based on the time of the key ship events in S2, divide different stages of ship passage, and statistic key canal indicators in different stages; the key canal indicators include: the average number of anchored ships in the canal anchorage, the average anchorage duration of ships in the canal anchorage, the average waiting-berth duration of ships in the canal anchorage, the average passage duration of canal ships, the southward, northward, eastward or westward flow of canal ships;

[0053] S4: Generate monitoring and analysis data; Store the key ship events in S2 and the key canal indicators in S3 into the database, statistic the real-time data of ship passage in the canal and display the change trends of various indicators in the interface system.

[0054] In the embodiment, first collect ship AIS data, specifically obtain the ship AIS signal and parse the ship AIS signal to obtain the initial ship AIS information, further process the AIS data, associate the previous point trajectory of the ship, and use this as the ship AIS basic data, mainly including ship MMSI, time, longitude and latitude, current ship status (anchored, berthed, sailing, etc.), speed, ship heading, the longitude and latitude of the previous point AIS of the ship, etc. Store the processed data into the Postgresql database to provide support for subsequent calculations.

[0055] As Figure 2 shown, the AIS data storage format includes: ship MMSI, time, current longitude and latitude, speed, ship heading, longitude and latitude of the previous point.

[0056] Secondly, construct the canal basic data, mainly including canal area, canal anchorage, and key canal nodes.

[0057] According to the above technical solution, the canal data is stored in the Figures 3 - 5 form. Among them, the canal area is a relatively large range. When a ship enters this area, it starts to be monitored and stored as, [Canal (A Canal), Canal Area (POLYGON(((xx xx,xx xx))))].

[0058] The canal anchorage is the anchorage area where ships may need to anchor and wait when passing through the canal, and is stored as, [Canal (A Canal), Anchorage Name, Canal Anchorage (POLYGON(((xx xx,xx xx))))].

[0059] The key canal nodes are the nodes that are focused on when entering and leaving (or gates) at both ends of the canal. Stored as, [Canal (A Canal), Node Name, Canal Key Node (LINESTRING(((xx xx,xx xx))))].

[0060] Preferably, the canal area is the area where the ship starts to be monitored; the canal anchorage is the anchorage area where the ship may need to anchor and wait when passing through the canal, and the canal key nodes are the nodes that are focused on when entering or leaving at both ends of the canal or at the lock gates.

[0061] Preferably, the key canal indicators are statistically calculated at different stages; the stages include: the stage when the ship enters the canal area and anchors in the designated area waiting for the arrangement of the canal authority, the stage when the ship ends anchoring and arrives at the key node at the estuary lock gate after receiving the passage order from the canal authority, and the stage from the key node at the estuary lock gate to the key node when the ship passes through the canal and reaches the canal exit.

[0062] Preferably, at the stage when the ship enters the canal area and anchors in the designated area waiting for the arrangement of the canal authority, the average number of anchored ships in the canal anchorage and the average anchoring duration of the ships in the canal anchorage are statistically calculated; the average number of anchored ships in the canal anchorage represents the real-time number of anchored ships in the canal anchorage, and the average anchoring duration of the ships in the canal anchorage represents the average anchoring duration of the ships in the canal anchorage from the time they enter the anchorage to the current time.

[0063] Preferably, at the stage when the ship ends anchoring and arrives at the key node at the estuary lock gate after receiving the passage order from the canal authority, the average waiting duration of the ships in the canal anchorage is statistically calculated, and the average waiting duration of the ships in the canal anchorage represents the average duration that the ship needs to anchor and wait in the anchorage to cross the canal.

[0064] Preferably, at the stage from the key node at the estuary lock gate to the key node when the ship passes through the canal and reaches the canal exit, the average passage duration of the canal ships and the flow of the canal ships in the south, north, east or west directions are statistically calculated. The average passage duration of the canal ships represents the average duration for the ship to cross the canal, and the flow of the canal ships in the south, north, east and west directions represents the number of ships crossing the canal per unit time.

[0065] In one embodiment, as Figures 6 - 11 shown, take the Panama Canal and the Suez Canal as examples. When it is detected that the ship enters the canal area, the key events of the ship are monitored and the subsequent dynamics of the ship are concerned.

[0066] After the ship enters the canal area, it needs to wait to cross the canal according to the arrangement of the canal authority, and generally needs to anchor in the designated area (such as Figure 8 and 9 ). At this stage, the average number of anchored ships in the canal anchorage and the average anchoring duration of the ships in the canal anchorage can be statistically calculated. The average number of anchored ships in the canal anchorage represents the real-time number of anchored ships in the canal anchorage, and the average anchoring duration of the ships in the canal anchorage represents the average anchoring duration of the ships in the canal anchorage from the time they enter the anchorage to the current time.

[0067] After the ship receives the passage order from the canal authority, it ends anchoring and enters the canal. To accurately identify the time when the ship enters the canal estuary, the present invention designates key nodes ( Figure 10 , 11 ) at the estuary gate. When the ship crosses this node, it enters the estuary. At this stage, the average waiting time of ships at the canal anchorage can be counted. This indicator represents the average time that a ship needs to anchor and wait at the anchorage before crossing the canal.

[0068] Taking the Panama Canal and the Suez Canal as examples, the key nodes usually appear in pairs. And in the actual operation of ships crossing the canal, each node contains two channels, which have direction distinctions similar to road traffic lanes. After the ship passes through the canal and reaches the canal exit, it will cross another key node. At this stage, the average passage time of canal ships and the southward (northward) / eastward (westward) flow of canal ships can be counted. The average passage time indicator of canal ships represents the average time for a ship to cross the canal, and the southward (northward) / eastward (westward) flow of canal ships represents the number of ships crossing the canal per unit time.

[0069] After the ship leaves the estuary after crossing the second key node, it will enter another anchorage in the canal. If no anchoring and trimming are required, it will leave the anchorage and the canal area in sequence. Thus, the complete life cycle of the ship passing through the canal is completed.

[0070] Preferably, the events of the ship during the canal period are stored in a database, and the real-time data of the canal is counted in a daily statistical manner;

[0071] The average number of anchored ships at the canal anchorage and the average anchoring time of ships at the canal anchorage are sampled and counted every five hours, and the average value is counted daily;

[0072] The average waiting time of ships at the canal anchorage and the average passage time of canal ships are counted as daily average values; the total values of the southward, northward, eastward, or westward flow of canal ships are summarized and counted daily.

[0073] In the embodiment, as Figures 12 - 13, store the events of the above ships during the canal period in the database, and use the daily statistics method to count the real-time canal data. Store it as [event type canal / anchorage time ship MMSI ship longitude ship latitude]. Among the five indicators of the average number of anchored ships in the canal anchorage, the average anchorage duration of ships in the canal anchorage, the average waiting duration of ships in the canal anchorage, the average passing duration of canal ships, and the southward (northward) / eastward (westward) flow of canal ships, the average number of anchored ships in the canal anchorage and the average anchorage duration of ships in the canal anchorage are sampled and counted every five hours, and the daily average value is counted; the average waiting duration of ships in the canal anchorage and the average passing duration of canal ships are counted daily average value; the southward (northward) / eastward (westward) flow of canal ships is summarized and counted daily total value, stored as [indicator name canal / anchorage / direction date statistical value].

[0074] As Figure 14 shown, a canal monitoring system includes:

[0075] Ship AIS data processing module: used to obtain AIS signals and store them as ship AIS data, and the ship AIS data includes: ship MMSI, time, longitude and latitude, current ship status, speed, ship heading, longitude and latitude of the previous AIS point of the ship;

[0076] Ship canal basic data acquisition module: used to set and store canal basic data, and the canal basic data includes: canal area, canal anchorage, canal key nodes;

[0077] Ship key event statistics module: used to start monitoring ship key events when it detects that the ship enters the canal area;

[0078] Canal key indicator statistics module: used to count canal key indicators at different stages of ship passage; the different stages are divided by the time of ship key events;

[0079] Data analysis and display module: used to store the ship key events and the canal key indicators, and count the real-time data of the ship passing through the canal and display the change trends of various indicators in the interface system.

[0080] Preferably, the ship key events include: the ship enters the canal area, the ship enters the canal anchorage, the ship anchors in the canal anchorage, the ship leaves the anchorage and crosses the first key node, the ship crosses the second key node, the ship passes through the key node and enters the canal anchorage, the ship leaves the canal anchorage, the ship leaves the canal area.

[0081] Preferably, the canal key indicators include: the average number of anchored ships in the canal anchorage, the average anchorage duration of ships in the canal anchorage, the average waiting duration of ships in the canal anchorage, the average passing duration of canal ships, the southward, northward, eastward or westward flow of canal ships.

[0082] In an embodiment, as Figures 15 - 18 shown, taking the Panama Canal as an example, after statistically analyzing the data of five indicators in a recent period, the recent change trends of each indicator are displayed in the form of bar charts and line charts in the interface system. The following shows the average number of moored ships in the canal anchorage of the south anchorage of the Panama Canal, the average mooring duration of ships in the canal anchorage, the average waiting duration of ships in the canal anchorage, and the northward traffic trend of canal ships.

[0083] Analyzing the above indicators in this system, the average number of moored ships in the anchorage, the average waiting duration, and the average mooring duration all show an upward trend, indicating that the congestion level of the canal may be increasing and the queuing time of ships in the anchorage is increasing. At the same time, the traffic flow of the canal is decreasing, corroborating the above conclusion. Combining the above conclusions, the user is prompted that the canal is congested, and it is recommended that the user reselect the crossing plan or apply for crossing in advance.

[0084] In another embodiment, the specific steps of data analysis are shown.

[0085] 1. Generate basic canal data

[0086] The basic canal data mainly includes the canal area, the canal anchorage, and the key canal nodes. In this solution, the canal area "Cannalarea" constructs a rectangular area covering all canal areas; the canal anchorage "Cannalmoor" constructs two rectangular areas at both ends of the canal to cover the canal anchorage; the key canal nodes "Cannalnode" are line segments constructed at both ends of the canal or at the gates.

[0087] 2. Collect AIS data

[0088] Collect the AIS data of major merchant ships globally and store the processed data in the Postgresql database through ETL tools. The AIS data mainly includes ship AISmmsi, time AISt, longitude / latitude AISlon / lat, speed AISspeed, current ship status (anchored, berthed, sailing, etc.) AISstatus, and ship's heading AIShdg. For each ship, the relevant AIS data (longitude / latitude AISpre_lon / lat, time AISpre_t, etc.) of the previous point of each point is generated based on the time series.

[0089] 3. Monitor events after ships enter the canal area

[0090] This application lists the following eight key ship events: Vessel enter area (when the ship enters the canal area), Vessel enter start moor (when the ship enters the canal anchorage), Vessel canal start moor (when the ship anchors in the canal anchorage), Vessel cross start node (when the ship leaves the anchorage and crosses the first key node), Vessel cross end node (when the ship crosses the second key node), Vessel enter end moor (when the ship passes through the key node and enters the canal anchorage), Vessel exit end moor (when the ship leaves the canal anchorage), Vessel exit area (when the ship leaves the canal area). The content of the key event Event_name(cannal, mmsi, t, lon / lat) includes the event type, canal name, event ship, event time, and longitude / latitude. According to the above scheme:

[0091] Vessel enter area (when the ship enters the canal area)

[0092] When it is detected that the ship enters the canal area, the current longitude / latitude coordinates of the ship should fall within the canal area. At the same time, the previous point of this AIS point of the ship should be outside the area. It can be obtained with the assistance of the Postgresql function ST_INTERSECT:

[0093] P(Vessel enter area(Event_enter_area(cannal, mmsi, t, lon / lat))) = {Vessel|ST_INTERSECT(AIS lon / lat, Cannal area) AND

[0094] !ST_INTERSECT(AIS pre_lon / lat, Cannal area)}

[0095] Among them, Cannal area is the canal area without distinction. Event_enter_area(mmsi is the MMSI of the ship where the event occurs, AIS mmsi, Event_enter_area t is the event occurrence time, taking the ship's AIS time AIS t, and Event_enter_area lon / lat is the event occurrence coordinate, taking the ship's AIS longitude / latitude AIS lon / lat

[0096] Vessel enter start moor (when the ship enters the canal anchorage)

[0097] After the ship enters the canal area, it may need to go to the anchorage. When entering the anchorage, the current longitude and latitude coordinates of the ship should fall within the canal anchorage. At the same time, the previous point of this AIS point of the ship should be outside the anchorage. It can be obtained with the assistance of the Postgresql function ST_INTERSECT:

[0098] P(Vesselenter_start_moor(Event_enter_start_moor(cannal,mmsi,t,lon / lat)))={Vessel|ST_INTERSECT(AISlon / lat,Cannalmoor)AND

[0099] !ST_INTERSECT(AISpre_lon / lat,Cannalmoor)}

[0100] Among them, Cannalmoor needs to be distinguished as the first anchorage entered after the ship enters the canal area. Event_enter_start_moormmsi is the MMSI of the ship where the event occurs, AISmmsi. Event_enter_start_moort is the time when the event occurs, taking the ship's AIS time, AISt. Event_enter_start_moorlon / lat is the coordinate where the event occurs, taking the ship's AIS longitude and latitude, AISlon / lat

[0101] Vesselcannel_start_moor for the ship to anchor in the canal anchorage

[0102] When the ship enters the anchorage and adjusts its status to anchoring, it starts to anchor, that is:

[0103] P(Vesselcannel_start_moor(Event_cannel_start_moor(cannal,mmsi,t,lon / lat))={Vessel|AISstatus=‘anchoring’}

[0104] Among them, Event_cannel_start_moort is the time when the event occurs, taking the ship's AIS time, AISt. Event_cannel_start_moormmsi is the MMSI of the ship where the event occurs, AISmmsi. Event_cannel_start_moorlon / lat is the coordinate where the event occurs, taking the ship's AIS longitude and latitude, AISlon / lat

[0105] Vesselcross_start_node for the ship to leave the anchorage and cross the first key node

[0106] When a ship needs to enter a canal, it needs to pass through the first estuary or lock of the canal. This solution uses the line connecting the two AIS points before and after the ship to determine whether it has entered the estuary. With the assistance of the Postgresql function ST_INTERSECT, we can obtain:

[0107] P(Vesselcross_start_node(Event_cross_start_node(cannal,mmsi,t,lon / lat)))={Vessel|ST_INTERSECT(ST_MAKELINE(AISlon / lat,AISpre_lon / lat),Cannalnode)}

[0108] Among them, Cannalnode is the first node that the ship passes through after entering the canal and needs to be distinguished. Event_cross_start_nodemmsi is the MMSI of the ship where the event occurs (AISmmsi), Event_cross_start_nodet is the time when the event occurs, taking the ship's AIS time (AISt), and Event_cross_start_nodelon / lat is the coordinate where the event occurs, taking the ship's AIS longitude and latitude (AISlon / lat).

[0109] The ship crosses the second key node, Vesselcross_end_node

[0110] After the ship enters the canal and finishes passing through the canal, it will cross the second node. Similar to crossing the first node, with the assistance of the Postgresql function ST_INTERSECT, we can obtain:

[0111] P(Vesselcross_end_node(Event_cross_end_node(cannal,mmsi,t,lon / lat)))={Vessel|ST_INTERSECT(ST_MAKELINE(AISlon / lat,AISpre_lon / lat),Cannalnode)}

[0112] Among them, Cannalnode is the second node that the ship passes through after entering the canal and needs to be distinguished. Event_cross_end_nodemmsi is the MMSI of the ship where the event occurs (AISmmsi), Event_cross_end_nodet is the time when the event occurs, taking the ship's AIS time (AISt), and Event_cross_end_nodelon / lat is the coordinate where the event occurs, taking the ship's AIS longitude and latitude (AISlon / lat).

[0113] The vessel passes through the key node and enters the canal anchorage Vesselenter_end_moor

[0114] After the vessel passes through the canal, it will enter another anchorage in the canal. Similar to entering the first anchorage, with the assistance of the Postgresql function ST_INTERSECT, it can be obtained that:

[0115] P(Vesselenter_end_moor(Event_enter_end_moor(cannal,mmsi,t,lon / lat))) = {Vessel|ST_INTERSECT(AISlon / lat,Cannalmoor) AND

[0116] !ST_INTERSECT(AISpre_lon / lat,Cannalmoor)}

[0117] Among them, Cannalmoor is the second anchorage that the vessel enters after entering the canal area and needs to be distinguished. Event_enter_end_moormmsi is the MMSI of the vessel where the event occurs AISmmsi, Event_enter_end_moort is the time when the event occurs, taking the vessel's AIS time AISt, and Event_enter_end_moorlon / lat is the coordinate where the event occurs, taking the vessel's AIS longitude and latitude AISlon / lat

[0118] The vessel leaves the canal anchorage Vesselexit_end_moor

[0119] After the vessel enters the second anchorage in the canal, if no anchoring correction is required, it will directly leave the anchorage. Taking the opposite logic to entering the anchorage, with the assistance of the Postgresql function ST_INTERSECT, it can be obtained that:

[0120] P(Vesselexit_end_moor(Event_exit_end_moor(cannal,mmsi,t,lon / lat))) = {Vessel|!ST_INTERSECT(AISlon / lat,Cannalmoor) AND

[0121] ST_INTERSECT(AISpre_lon / lat,Cannalmoor)}

[0122] It should be noted that Cannalmoor is the second anchorage that the ship enters after entering the canal area. Event_exit_end_moormmsi is the MMSI of the ship where the event occurs, AISmmsi. Event_exit_end_moort is the time when the event occurs, taking the ship's AIS time AISt. Event_exit_end_moorlon / lat is the coordinate where the event occurs, taking the ship's AIS longitude and latitude AISlon / lat

[0123] Vessel exits the canal area

[0124] After the ship leaves the canal area, the monitoring ends. When the ship leaves the canal area, the current longitude and latitude coordinates of the ship should fall outside the canal area. At the same time, the previous point of the ship's AIS point should be within the canal area. It can be obtained with the assistance of the Postgresql function ST_INTERSECT:

[0125] P(Vesselexit_area(Event_exit_area(cannal,mmsi,t,lon / lat))={Vessel|!ST_INTERSECT(AISlon / lat,Cannalarea) AND

[0126] ST_INTERSECT(AISpre_lon / lat,Cannalarea)}

[0127] Among them, Cannalarea is the ship's canal area and does not need to be distinguished. Event_exit_areammsi is the MMSI of the ship where the event occurs, AISmmsi. Event_exit_areat is the time when the event occurs, taking the ship's AIS time AISt. Event_exit_arealon / lat is the coordinate where the event occurs, taking the ship's AIS longitude and latitude AISlon / lat

[0128] 4. Generate statistical indicators based on the events of the ship in the canal

[0129] Based on the eight key events of the above technical solutions, five key canal indicators are proposed: the average number of moored vessels in the canal anchorage, Cannalstastic_moor_num; the average mooring duration of vessels in the canal anchorage, Cannalstastic_avg_moor; the average waiting duration of vessels in the canal anchorage (waiting passing time), Cannalstastic_avg_wait; the average passing duration of canal vessels, Cannalstastic_avg_through; the southward (northward) / eastward (westward) flow of canal vessels, Cannalstastic_through_num.

[0130] Calculate the daily statistical data of the five indicators based on the eight key events. For the average number of moored vessels in the canal anchorage, Cannalstastic_moor_num, and the average mooring duration of vessels in the canal anchorage, Cannalstastic_avg_moor, the intermediate indicators need to be calculated first, which are the sampled data counted every 8 hours, that is, at 0:00, 8:00, and 16:00 every day, count the average number of moored vessels in the canal anchorage (8 hours), Cannalstastic_moor_num_hourly, and the average mooring duration of vessels in the canal anchorage, Cannalstastic_avg_moor_hourly, and then take the average to generate the daily indicators. The three indicators of the average waiting duration of vessels in the canal anchorage (waiting passing time), Cannalstastic_avg_wait, the average passing duration of canal vessels, Cannalstastic_avg_through, and the southward (northward) / eastward (westward) flow of canal vessels, Cannalstastic_through_num, can directly count the daily indicators according to the corresponding vessel canal events. According to the above scheme:

[0131] The average number of moored vessels in the canal anchorage, Cannalstastic_moor_num

[0132] Cannalstastic_moor_num_hourly is the number of vessels sampled every 8 hours in the anchorage. A simple way to count the number of vessels in the anchorage is to screen out the vessels in the anchorage from the set of all vessels entering the canal anchorage. With the assistance of the Postgresql function ST_INTERSECT, we can get:

[0133] Cannalstastic_moor_num_hourly = COUNT(Varea{Vessel|ST_INTERSECT(AISlon / lat,Cannalarea}))

[0134] Based on the sampled data every 8 hours, count the average number of moored vessels in the canal anchorage on a daily basis:

[0135] Cannalstastic_moor_num = AVG({Cannalstastic_moor_num_hourly0, Cannalstastic_moor_num_hourly8, Cannalstastic_moor_num_hourly16}))

[0136] Cannalstastic_avg_moor, the average mooring duration of vessels in the canal anchorage

[0137] Cannalstastic_avg_moor_hourly is the average mooring time sampled every 8 hours in the anchorage, which calculates the average duration from the start mooring time Event_cannel_start_moort to the current statistical time CURR_TIME for all vessels entering the canal anchorage. That is:

[0138] Cannalstastic_avg_moor_hourly = AVG(CURR_TIME - Event_cannel_start_moort)

[0139] Based on the sampled data every 8 hours, count the average number of moored vessels in the canal anchorage on a daily basis:

[0140] Cannalstastic_avg_moor = AVG({Cannalstastic_avg_moor0, Cannalstastic_avg_moor8, Cannalstastic_avg_moor16}))

[0141] Cannalstastic_avg_wait, the average waiting duration (waiting time for passage) of vessels in the canal anchorage

[0142] Cannalstastic_avg_wait is the average duration from the time of entering the anchorage Event_enter_start_moort to the time of passing through a node Event_cross_start_nodet for vessels after they enter the canal estuary or lock, counted on a daily basis. That is:

[0143] Cannalstastic_avg_wait = AVG(Event_enter_start_moort - Event_cross_start_nodet)

[0144] Average Passage Duration of Canal Vessels, Cannalstastic_avg_through

[0145] Cannalstastic_avg_through is the average duration of all vessels passing through the canal per day, from the time Event_cross_start_nodet when the vessel enters the canal and crosses the first node to the time Event_cross_end_nodet when it finishes crossing the canal and passes through the second node, that is:

[0146] Cannalstastic_avg_through = AVG(Event_cross_end_nodet - Event_cross_start_nodet)

[0147] Southward (Northward) / Eastward (Westward) Flow of Canal Vessels, Cannalstastic_through_num

[0148] Cannalstastic_through_num is the number of all vessels passing through the canal on the day, which is obtained by summing up the number of vessels passing through the second node of the canal in this solution, that is:

[0149] Cannalstastic_through_num = COUNT(Vesselcross_end_node)

[0150] 5. Monitor the canal based on vessel events and analyze the canal trends with statistical indicators

[0151] According to the above technical solution, by tracking various events of vessels in the canal, the canal can be monitored in real time. Such as the status of vessels in the anchorage, the passage status of the canal, and the congestion status of the canal. Based on the analysis of the vessel flow in the canal, the trend of vessels anchored in the canal anchorage, the anchoring duration of vessels waiting to pass through the canal, and the passage duration of the canal, the overall trend of the shipping industry and decision-making support for vessel operation and maintenance can be obtained.

[0152] Those of ordinary skill in the art can realize that the units and method steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present invention.

Claims

1. A method for canal monitoring, characterized in that: S1: Processing ship AIS data and canal basic data: the ship AIS data includes: ship MMSI, time, longitude and latitude, current ship status, speed, bow direction, longitude and latitude of the AIS point in front of the ship; the canal basic data includes: canal area, canal anchorage, canal key nodes; S2: Counting key ship events: When a ship is detected entering the canal area, start monitoring key ship events, which include: ship entering the canal area, ship entering the canal anchorage, ship anchoring at the canal anchorage, ship leaving the anchorage and crossing the first key node, ship crossing the second key node, ship crossing the key node and entering the canal anchorage, ship leaving the canal anchorage, and ship leaving the canal area; S3: Statistics of key canal indicators: Based on the time of key ship events in S2, the different stages of ship passage are divided, and key canal indicators are counted at different stages; the key canal indicators include: the average number of anchored ships in the canal anchorage, the average anchorage time of ships in the canal anchorage, the average waiting time for ships in the canal anchorage, the average transit time of canal ships, and the southbound, northbound, eastbound or westbound flow of canal ships; S4: Generate monitoring and analysis data; store the key events of ships in S2 and the key indicators of the canal in S3 into the database, collect statistics on the real-time data of ships passing through the canal and display the changing trends of various indicators in the interface system.

2. A canal monitoring method according to claim 1, characterized in that: The canal area is the area where ships begin to be monitored; the canal anchorage is the anchorage area where ships may need to anchor and wait when passing through the canal; and the canal key nodes are the nodes that are the focus of attention at the entrances and exits or gates at both ends of the canal.

3. A canal monitoring method according to claim 1, characterized in that: The key indicators of the canal are counted at different stages; the stages include: the stage when the ship enters the canal area and anchors in the designated area waiting for the arrangement of the canal management authority, the stage when the ship ends anchoring and reaches the key node at the estuary gate after receiving the passage order from the canal management authority, and the stage from the key node at the estuary gate to the key node when the ship passes through the canal and reaches the canal exit.

4. A canal monitoring method according to claim 3, characterized in that: When ships enter the canal area and anchor in designated areas waiting for arrangements by the canal management authorities, the average number of ships anchored in the canal anchorage and the average anchorage time of ships in the canal anchorage are counted; the average number of ships anchored in the canal anchorage represents the real-time number of ships anchored in the canal anchorage, and the average anchorage time of ships in the canal anchorage represents the average anchorage time of ships in the canal anchorage from the time they enter the anchorage to the present.

5. A canal monitoring method according to claim 3, characterized in that: After receiving the passage order from the canal management authority, when the ship ends its anchorage and arrives at the key node of the estuary gate, the average waiting time for ships at the canal anchorage is calculated. The average waiting time for ships at the canal anchorage represents the average time that ships need to wait at the anchorage in order to pass through the canal.

6. A canal monitoring method according to claim 3, characterized in that: From the key node at the estuary gate to the key node where ships pass through the canal and reach the canal exit, the average passing time of canal ships and the flow of canal ships heading south, north, east or west are counted. The average passing time indicator of canal ships represents the average time for ships to pass through the canal, and the flow of canal ships heading south, north, east and west represents the number of ships crossing the canal per unit time.

7. A canal monitoring method according to claim 3, characterized in that: The above events of the ships during their stay in the canal are stored in the database, and the real-time data of the canal is counted on a daily basis; The average number of anchored ships and the average anchorage time of ships in the canal anchorage are calculated by sampling every five hours and the average value is calculated daily; The daily statistical average of the average waiting time for ships at the canal anchorages and the average transit time of ships through the canal; the daily statistical total of the traffic volume of canal ships heading south, north, east or west.

8. A canal monitoring system according to any one of claims 1 to 7, characterized in that: include: Ship AIS data processing module: used to obtain AIS signals and store them as ship AIS data, the ship AIS data includes: ship MMSI, time, longitude and latitude, current ship status, speed, bow direction, and longitude and latitude of the AIS point in front of the ship; Ship canal basic data acquisition module: used to set and store canal basic data, the canal basic data includes: canal area, canal anchorage, canal key nodes; Ship key event statistics module: used to start monitoring ship key events when a ship is detected entering the canal area; Canal key indicator statistics module: used to count the canal key indicators at different stages of ship passage; the time division of key events of ships passing through different stages; Data analysis and display module: used to store the key events of the ship and the key indicators of the canal, collect statistics on the real-time data of the ship passing through the canal and display the changing trends of various indicators in the interface system.

9. A canal monitoring system according to claim 8, characterized in that: The key ship events include: the ship enters the canal area, the ship enters the canal anchorage, the ship anchors at the canal anchorage, the ship leaves the anchorage and passes through the first key node, the ship passes through the second key node, the ship passes through the key node and enters the canal anchorage, the ship leaves the canal anchorage, and the ship leaves the canal area.

10. A canal monitoring system according to claim 8, characterized in that: The key indicators of the canal include: the average number of ships anchored in the canal anchorage, the average anchorage time of ships in the canal anchorage, the average waiting time for ships in the canal anchorage, the average transit time of canal ships, and the southbound, northbound, eastbound or westbound flow of canal ships.