Methods and systems for identifying maritime routes, electronic equipment and storage media
By filtering AIS data and establishing a shipping channel index table, the problem of high computational load in shipping channel identification was solved, and efficient and accurate identification of shipping channels was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-09
- Publication Date
- 2026-04-03
AI Technical Summary
Due to the large number of ships and routes, the computational workload in identifying maritime channels is enormous, and existing technologies struggle to efficiently identify critical maritime channels.
The first set of ports for ships is determined by AIS data, domestic and foreign ports that meet the criteria are selected, and the second port is extracted by combining the sailing time and preset time. An index table of sea routes between ports is established to determine the sea routes that each ship passes through.
It reduces the amount of data computation and improves the accuracy and convenience of identifying shipping lanes, enabling accurate identification of the shipping lanes through which each vessel passes.
Smart Images

Figure CN121305924B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of waterway transportation technology, and more specifically, to a method and system for identifying maritime channels, electronic equipment, and storage medium. Background Technology
[0002] Benefiting from the gradual advancement of global economic integration and the advantages of safe and convenient shipping, maritime transport is playing an increasingly important role in international trade. Although ocean freight routes are often fixed, the maritime freight transport network, comprised of different liner routes operated by various companies worldwide, remains vast and complex. Therefore, identifying key maritime routes in the foreign trade process within this complex international maritime freight transport network is of significant reference value for route management and liner company operations.
[0003] However, due to the variety of ship types and the different types of ships that can pass through different sea routes, analyzing the routes of all ships individually would result in a large amount of data, which would require a large amount of computing resources.
[0004] Therefore, how to propose a method for identifying maritime channels, which involves a large number of ships and routes, resulting in a high computational burden, has become an urgent problem to be solved. Summary of the Invention
[0005] This invention aims to at least solve the problem in existing or related technologies where the large number of ships and shipping routes result in a high computational load during the identification of sea lanes.
[0006] Therefore, the first aspect of the present invention proposes a method for identifying sea lanes.
[0007] A second aspect of the present invention proposes a system for identifying maritime routes.
[0008] A third aspect of the present invention provides an electronic device.
[0009] A fourth aspect of the present invention provides a storage medium.
[0010] In view of this, according to a first aspect of the present invention, a method for identifying maritime routes is proposed, comprising: determining a first port set for each vessel based on AIS data of multiple vessels, wherein the first port set includes the names of multiple ports, the arrival time of vessels corresponding to each port, and the geographical location of each port; determining whether two adjacent ports satisfy a first condition in the order of the names of the multiple ports in the first port set, wherein the first condition is that the first port among the two adjacent ports is a domestic port and the second port is a foreign port; if two adjacent ports satisfy the first condition, then the first port among the two adjacent ports is designated as the first port; calculating the sailing time between the first port and each subsequent port based on the arrival time of vessels corresponding to each port; extracting a second port from the subsequent multiple ports based on the sailing time and a preset time; obtaining a second port set based on the name of the first port, the vessel information corresponding to the first port, the name of the second port, and the vessel information corresponding to the second port; constructing an inter-port transit maritime route index table based on the names of all ports and the names of pre-acquired maritime routes; and determining the maritime route traversed by each vessel based on the second port set for each vessel and the inter-port transit maritime route index table.
[0011] The maritime channel identification method provided by this invention mainly includes: firstly, acquiring AIS (Automatic Identification System) data of multiple vessels; then, determining a first port set for each vessel from the AIS data, wherein the first port set includes the names of multiple ports, the arrival time of the vessels corresponding to each port, and the geographical location of each port. Subsequently, determining whether two adjacent ports satisfy a first condition according to the order of the port names in the first port set, wherein the first condition is that the first of two adjacent ports is a domestic port and the second is a foreign port. When two adjacent ports in the first port set satisfy the first condition, the first of the two adjacent ports is designated as the first port. Then, calculating the sailing time between the first port and each subsequent port based on the vessel arrival time corresponding to each port, wherein each subsequent port refers to each port in the first port set that is after the first port. After obtaining the sailing time between the first port and each subsequent port, extracting a second port from the subsequent ports based on the sailing time and a preset time, wherein the number of second ports can be one or more. After obtaining the second port, the vessel information corresponding to the first port and the vessel information corresponding to the second port are determined. This vessel information includes: vessel type, deadweight, draft, arrival time, and departure time. Then, the name of the first port, the vessel information corresponding to the first port, the name of the second port, and the vessel information corresponding to the second port are combined to obtain the second port set. Finally, after all the first port sets have been processed in the above way, the second port set for each vessel is obtained.
[0012] After obtaining the second port set for each vessel, the names of all ports and shipping channels worldwide are acquired. An inter-port transit shipping channel index table is then created based on the relationships between ports and shipping channels. This index table contains shipping channels, shipping route data for each channel, and the correspondence between the geographical locations of any two ports. Shipping route data includes at least one of the following: the types of vessels that can navigate the channel, the vessel deadweight tonnage that can be navigated through the channel, and the vessel draft that can be navigated through the channel. In other words, the inter-port transit shipping channel index table allows determination of the corresponding shipping channel based on the geographical locations of any two ports. Therefore, after obtaining the second port set for each vessel, the corresponding shipping channel can be determined from the inter-port transit shipping channel index table based on any two adjacent ports in the second port set. Once all ports in the second port set have been traversed, the multiple shipping channels traversed by each vessel during its operation will be obtained.
[0013] This invention determines the first port of each vessel from a first port set based on a first condition, then selects the second port of each vessel from subsequent ports according to a preset time, and finally combines the first and second ports to obtain the second port set for each vessel. In other words, this invention extracts the second port set from the first port set based on the characteristics of vessels transporting import and export goods, thus eliminating the need to analyze the routes of all vessels individually, thereby reducing the computational load. Furthermore, this invention uses an established inter-port sea route index table to determine the sea routes traversed by each vessel, making it more accurate and convenient compared to related technologies that analyze vessel routes one by one.
[0014] In some technical solutions, optionally, the step of extracting a second port from multiple subsequent ports based on the sailing time and a preset time includes: comparing the sailing time between the first port and each subsequent port with the preset time; and selecting ports whose sailing time is less than or equal to the preset time as the second port.
[0015] In this technical solution, the step of extracting a second port from multiple subsequent ports based on the sailing time and a preset time includes: firstly, comparing the sailing time between the first port and each subsequent port with the preset time; then, designating ports whose sailing time is less than or equal to the preset time as the second port. It can be understood that when the sailing time is less than or equal to the preset time, it indicates that the cargo on the ship is for export from the country; therefore, the ports the ship passes through during this process are designated as the second port. This invention uses the preset time to filter out the ports passed through by exporting ships from a set of first ports.
[0016] In some technical solutions, the vessel information may optionally include one or a combination of the following: vessel type, vessel deadweight, vessel draft, arrival time, and departure time.
[0017] In this technical solution, vessel information may include: vessel type, vessel deadweight, vessel draft, arrival time, and departure time. By adding the vessel information corresponding to the first port and the vessel information corresponding to the second port to the second port set, a basis is provided for subsequently determining the sea route traversed.
[0018] In some technical solutions, optionally, the step of determining the sea route through which each vessel passes, based on the second port set and the inter-port transit sea route index table for each vessel, includes: determining the third and fourth ports based on the second port set, wherein the third and fourth ports are two adjacent ports in the second port set; calculating the change in draft and the change in vessel load between the third and fourth ports based on the vessel information corresponding to the third port and the vessel information corresponding to the fourth port; determining the vessel type based on the vessel information; determining the sea route through which the vessel passes in the inter-port transit sea route index table based on the sailing time, change in draft, change in vessel load, and vessel type between the third and fourth ports; and determining the sea route through which each vessel passes when all ports in the second port set for each vessel have been traversed.
[0019] In this technical solution, the steps for determining the sea route for each vessel based on the second port set and the inter-port transit sea route index table include: First, determining the third and fourth ports in the second port set, where the third and fourth ports are any two adjacent ports in the second port set. Then, calculating the sailing time, draft change, and vessel load change between the third and fourth ports based on the vessel information of the third and fourth ports respectively. Subsequently, determining the vessel type based on the vessel information. Finally, determining the sea route for the vessel in the inter-port transit sea route index table based on the geographical location of the third and fourth ports, sailing time, draft change, vessel load change, and vessel type. Then, determining whether all ports in the second port set have undergone the above processing; if not, continuing to process the ports in the second port set; if all ports in the second port set have completed the above processing, it means that the ports in the second port set have been traversed. Then, determining whether all second port sets have been traversed; if all second port sets have been traversed, the sea route for each vessel has been determined. The accuracy of shipping routes is ensured by determining the shipping routes that ships take based on the inter-port route index table.
[0020] In some technical solutions, optionally, after determining the sea lanes through which each vessel passes based on the second port set and the inter-port transit sea lane index table for each vessel, the process includes: counting the number of passages through each sea lane based on the sea lanes through which each vessel passes; comparing the number of passages through each sea lane with a preset number; and determining the sea lane as a first type of channel based on the number of passages being greater than or equal to the preset number.
[0021] In this technical solution, after the step of counting the number of passages for each shipping channel based on the passages of each vessel, the process includes: first, counting the number of passages for each shipping channel based on the passages of each vessel; then comparing the number of passages for each shipping channel with a preset number; when the number of passages is greater than or equal to the preset number, it indicates that most vessels will pass through that shipping channel, and therefore that shipping channel is identified as a first-type channel. Here, a first-type channel refers to a critical channel among shipping channels. By comparing the number of passages with the preset number, the most critical shipping channel can be identified among multiple shipping channels.
[0022] In some technical solutions, optionally, the step of constructing an inter-port transit sea route index table based on the names of all ports and the names of pre-acquired sea routes includes: constructing a first data table based on the names of all ports, the country to which each port belongs, and the geographical location of each port; and establishing an inter-port transit sea route index table based on any two ports, the first data table, the names of pre-acquired sea routes, and the sea route data of each sea route. The inter-port transit sea route index table contains the correspondence between sea routes, the sea route data of each sea route, and the geographical locations of any two ports. The sea route data includes at least one of the following: the types of vessels that can pass through the route, the deadweight tonnage of vessels that can pass through the route, and the draft of vessels that can pass through the route.
[0023] In this technical solution, the steps of constructing an inter-port transit sea route index table based on the names of all ports and pre-acquired sea route names include: First, constructing a first data table based on all ports, the country to which each port belongs, and the geographical location of each port. That is, the first data table includes the correspondence between ports, their respective countries, and their geographical locations. Then, randomly selecting any two ports, determining the geographical location of each port within the first data table, and subsequently constructing the inter-port transit sea route index table based on the obtained geographical locations, the sea routes between the two geographical locations, and the sea lane data for each sea route. That is, the inter-port transit sea route index table contains sea routes, sea lane data for each sea route, and the correspondence between the geographical locations of any two ports. The sea lane data includes at least one of the following: the types of vessels that can navigate the channel, the vessel deadweight tonnage that can be navigated through the channel, and the vessel draft that can be navigated through the channel. By constructing the inter-port transit sea route index table based on the geographical locations of the ports, the number of records in the inter-port transit sea route index table can be reduced, saving the time spent constructing the inter-port transit sea route index table.
[0024] In some technical solutions, optionally, before the step of determining the first port set for each vessel based on the AIS data of multiple vessels, the method includes: performing data denoising processing on the AIS data of each vessel separately.
[0025] In this technical solution, before determining the first port set for each vessel based on the AIS data of multiple vessels, the following steps are included: performing data denoising processing on the AIS data of each vessel separately, that is, cleaning the AIS data of each vessel separately to remove invalid, duplicate, missing or erroneous data in the AIS data, thereby ensuring the accuracy of subsequent processing.
[0026] According to a second aspect of the present invention, a maritime channel identification system is proposed, mainly comprising: a first processing module, configured to determine a first port set for each vessel based on AIS data of multiple vessels, wherein the first port set includes the names of multiple ports, the arrival time of the vessel corresponding to each port, and the geographical location of each port; a second processing module, configured to determine whether two adjacent ports satisfy a first condition in the order of the names of the multiple ports in the first port set, wherein the first condition is that the first port among the two adjacent ports is a domestic port and the second port is a foreign port; and a third processing module, configured to, if two adjacent ports satisfy the first condition, designate the first port among the two adjacent ports as the first port. The fourth processing module calculates the sailing time between the first port and each subsequent port based on the arrival time of the ships corresponding to each port. The fifth processing module extracts the second port from the subsequent ports based on the sailing time and a preset time. The sixth processing module obtains the set of second ports based on the name of the first port, the ship information corresponding to the first port, the name of the second port, and the ship information corresponding to the second port. The seventh processing module constructs an inter-port transit sea route index table based on the names of all ports and the names of pre-acquired sea routes. The eighth processing module determines the sea route that each ship passes through based on the second port set for each ship and the inter-port transit sea route index table.
[0027] The maritime channel identification system provided by this invention mainly includes: a first processing module, a second processing module, a third processing module, a fourth processing module, a fifth processing module, a sixth processing module, a seventh processing module, and an eighth processing module. First, it acquires AIS (Automatic Identification System) data for multiple vessels. Then, the first processing module determines a first port set for each vessel from the AIS data. This first port set includes the names of multiple ports, the arrival time of the vessels corresponding to each port, and the geographical location of each port. Next, the second processing module sequentially determines whether two adjacent ports meet a first condition according to the order of the port names in the first port set. The first condition is that the first port in the two adjacent ports is a domestic port, and the second port is a foreign port. When two adjacent ports in the first port set meet the first condition, the third processing module designates the first port as the first port. Finally, the fourth processing module calculates the sailing time between the first port and each subsequent port based on the arrival time of the vessels corresponding to each port. Each subsequent port refers to every port in the first port set that is located after the first port. After obtaining the sailing time and initial distance between the first port and each subsequent port, the fifth processing module extracts the second port from the subsequent ports based on the sailing time and a preset time. There can be one or more second ports. After obtaining the second ports, the module determines the vessel information corresponding to the first port and the vessel information corresponding to the second port. This vessel information includes: vessel type, deadweight, draft, arrival time, and departure time. Then, the sixth processing module aggregates the information from the first port, the vessel information corresponding to the first port, the second port, and the vessel information corresponding to the second port to obtain the second port set. Finally, after all the first port sets have been processed in the above manner, the second port set for each vessel is obtained.
[0028] After obtaining the second port set for each vessel, the seventh processing module acquires the names of all ports and shipping channels globally. Based on the relationship between ports and shipping channels, it establishes an inter-port transit shipping channel index table. This table contains shipping channels, shipping route data for each channel, and the correspondence between the geographical locations of any two ports. Shipping route data includes at least one of the following: the types of vessels that can navigate the channel, the vessel deadweight tonnage that can be navigated, and the vessel draft that can be navigated. In other words, the inter-port transit shipping channel index table allows the determination of the corresponding shipping channel based on the geographical locations of any two ports. Therefore, after obtaining the second port set for each vessel, the eighth processing module can determine the corresponding shipping channel in the inter-port transit shipping channel index table based on any two adjacent ports in the second port set. Once all ports in the second port set have been traversed, the multiple shipping channels traversed by each vessel during its operation will be obtained.
[0029] This invention determines the first port of each vessel from a first port set based on a first condition, then selects the second port of each vessel from subsequent ports according to a preset time, and finally combines the first and second ports to obtain the second port set for each vessel. In other words, this invention extracts the second port set from the first port set based on the characteristics of vessels transporting import and export goods, thus eliminating the need to analyze the routes of all vessels individually, thereby reducing the computational load. Furthermore, this invention uses an established inter-port sea route index table to determine the sea routes traversed by each vessel, making it more accurate and convenient compared to related technologies that analyze vessel routes one by one.
[0030] According to a third aspect of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method for identifying sea lanes as described above.
[0031] The electronic device provided by this invention, when its processor executes a computer program, implements the steps of the above-mentioned method for identifying sea lanes, and can achieve the technical effects of any of the above technical solutions, which will not be elaborated here.
[0032] According to a fourth aspect of the invention, a storage medium is provided on which a computer program is stored, which, when executed by a processor, implements the steps of the method for identifying sea lanes as described above.
[0033] The storage medium provided by this invention, when the computer program is executed by a processor, implements the steps of the above-mentioned method for identifying sea lanes, and can achieve the technical effects of any of the above technical solutions, which will not be elaborated here.
[0034] Additional aspects and advantages of the invention will become apparent in the following description or may be learned by practice of the invention. Attached Figure Description
[0035] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0036] Figure 1 One of the flowcharts of a method for identifying sea lanes according to an embodiment of the present invention is shown;
[0037] Figure 2 The diagram illustrates a step in the method for identifying a sea lane according to an embodiment of the present invention: extracting a second port from multiple subsequent ports based on the sailing time and a preset time.
[0038] Figure 3 The diagram illustrates a step in a method for identifying sea lanes according to an embodiment of the present invention, which involves determining the sea lanes through which each vessel passes based on a second port set for each vessel and an index table of inter-port sea lane routes.
[0039] Figure 4 The diagram illustrates a process flow after the step of determining the sea lanes traversed by each vessel based on a second port set for each vessel and an inter-port transit sea lane index table, in a sea lane identification method according to an embodiment of the present invention.
[0040] Figure 5 The diagram illustrates a step in a method for identifying sea lanes according to an embodiment of the present invention: constructing an index table of inter-port transit sea lanes based on the names of all ports and the names of pre-acquired sea lanes.
[0041] Figure 6 A second schematic flowchart of a method for identifying sea lanes according to an embodiment of the present invention is shown;
[0042] Figure 7 The third schematic flowchart illustrates a method for identifying sea lanes according to an embodiment of the present invention;
[0043] Figure 8 A schematic block diagram of a maritime passage identification system according to an embodiment of the present invention is shown;
[0044] Figure 9 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. Detailed Implementation
[0045] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments of the present invention and the features thereof can be combined with each other.
[0046] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.
[0047] Figure 1 A flowchart illustrating one embodiment of a maritime passage identification method according to the present invention is shown. The method includes:
[0048] Step 102: Determine the first port set for each vessel based on AIS data from multiple vessels. The first port set includes the names of multiple ports, the vessel arrival time corresponding to each port, and the geographical location of each port.
[0049] Step 104: Determine whether two adjacent ports satisfy the first condition in the order of the names of the multiple ports in the first port set. The first condition is that the first port in the two adjacent ports is a domestic port and the second port is a foreign port.
[0050] Step 106: If two adjacent ports satisfy the first condition, then the first of the two adjacent ports shall be designated as the first port.
[0051] Step 108: Calculate the sailing time between the first port and each subsequent port based on the ship arrival time corresponding to each port;
[0052] Step 110: Extract the second port from multiple ports based on the sailing time and preset time;
[0053] Step 112: Obtain the set of second ports based on the name of the first port, the ship information corresponding to the first port, the name of the second port, and the ship information corresponding to the second port;
[0054] Step 114: Construct an index table of inter-port transit routes based on the names of all ports and the names of pre-acquired shipping routes;
[0055] Step 116: Determine the sea route through which each vessel passes based on the second port set and the inter-port transit sea route index table for each vessel.
[0056] The maritime channel identification method provided by this invention mainly includes: firstly, acquiring AIS (Automatic Identification System) data of multiple vessels; then, determining a first port set for each vessel from the AIS data of the multiple vessels. The first port set includes the names of multiple ports, the arrival time of the vessel corresponding to each port, and the geographical location of each port. The first port set can be the sum of ports visited by the vessel after multiple voyages; that is, the names of the multiple ports in the first port set correspond to multiple voyage trajectories of the vessel. Subsequently, determining whether two adjacent ports satisfy a first condition according to the order of the names of the multiple ports in the first port set. The first condition is that the first port among two adjacent ports is a domestic port and the second port is a foreign port. When two adjacent ports in the first port set satisfy the first condition, the first port among the two adjacent ports is designated as the first port. Then, calculating the sailing time between the first port and each subsequent port based on the arrival time of the vessel corresponding to each port, where each subsequent port refers to each port in the first port set that is after the first port. After obtaining the sailing time between the first port and each subsequent port, the second port is extracted from the subsequent ports based on the sailing time and a preset time. There can be one or more second ports. After obtaining the second ports, the vessel information corresponding to the first port and the vessel information corresponding to the second port are determined. This vessel information includes: vessel type, deadweight, draft, arrival time, and departure time. Then, the first port, the vessel information corresponding to the first port, the second port, and the vessel information corresponding to the second port are aggregated to obtain the second port set. Finally, after all the first port sets have been processed in the above way, the second port set for each vessel is obtained.
[0057] After obtaining the second port set for each vessel, the names of all ports and shipping channels worldwide are acquired. An inter-port transit shipping channel index table is then created based on the relationships between ports and shipping channels. This index table contains shipping channels, shipping route data for each channel, and the correspondence between the geographical locations of any two ports. Shipping route data includes at least one of the following: the types of vessels that can navigate the channel, the vessel deadweight tonnage that can be navigated through the channel, and the vessel draft that can be navigated through the channel. In other words, the inter-port transit shipping channel index table allows determination of the corresponding shipping channel based on the geographical locations of any two ports. Therefore, after obtaining the second port set for each vessel, the corresponding shipping channel can be determined from the inter-port transit shipping channel index table based on any two adjacent ports in the second port set. Once all ports in the second port set have been traversed, the multiple shipping channels traversed by each vessel during its operation will be obtained.
[0058] This invention determines the first port of each vessel from a first port set based on a first condition, then selects the second port of each vessel from subsequent ports according to a preset time, and finally combines the first and second ports to obtain the second port set for each vessel. In other words, this invention extracts the second port set from the first port set based on the characteristics of vessels transporting import and export goods, thus eliminating the need to analyze the routes of all vessels individually, thereby reducing the computational load. Furthermore, this invention uses an established inter-port sea route index table to determine the sea routes traversed by each vessel, making it more accurate and convenient compared to related technologies that analyze vessel routes one by one.
[0059] Figure 2 The diagram illustrates a step in the method for identifying a maritime channel according to an embodiment of the present invention, which involves extracting a second port from a plurality of subsequent ports based on the sailing time and a preset time. The step of extracting a second port from a plurality of subsequent ports based on the sailing time and the preset time includes:
[0060] Step 202: Compare the sailing time between the first port and each subsequent port with the preset time;
[0061] Step 204: Designate ports with a sailing time less than or equal to a preset time as the second port;
[0062] In this embodiment, the step of extracting a second port from multiple subsequent ports based on the sailing time and a preset time includes: firstly, comparing the sailing time between the first port and each subsequent port with the preset time; then, designating ports whose sailing time is less than or equal to the preset time as second ports. It is understood that when the sailing time is less than or equal to the preset time, it indicates that the cargo on the ship is for export from the country, where the preset time can be 60 to 80 days. Therefore, ports passed by the ship during this process are designated as second ports. This invention uses preset times to filter ports passed by exporting ships from a set of first ports.
[0063] Optionally, the second port can be determined based on a distance threshold and a preset time. For example, the first distance between the first port and each subsequent port can be calculated based on the geographical location of each port. Then, the first distance between the first port and each subsequent port can be compared with the distance threshold to determine the ports whose first distance is greater than or equal to the distance threshold. Then, the ports whose first distance is greater than or equal to the distance threshold can be matched with the ports whose sailing time is less than or equal to the preset time, and the same ports can be selected as the second port. That is to say, the sailing time corresponding to the second port needs to be less than or equal to the preset time, and the distance corresponding to the second port needs to be greater than or equal to the distance threshold.
[0064] In some embodiments, the vessel information may optionally include one or a combination of the following: vessel type, vessel deadweight, vessel draft, arrival time, and departure time.
[0065] In this embodiment, vessel information may include: vessel type, vessel deadweight, vessel draft, arrival time, and departure time. By adding the vessel information corresponding to the first port and the vessel information corresponding to the second port to the second port set, a basis is provided for subsequently determining the sea route traversed.
[0066] Figure 3 The diagram illustrates a step in a method for identifying sea lanes according to an embodiment of the present invention: determining the sea lane through which each vessel passes based on a second port set for each vessel and an inter-port transit sea lane index table. The step of determining the sea lane through which each vessel passes based on the second port set for each vessel and the inter-port transit sea lane index table includes:
[0067] Step 302: Determine the third and fourth ports based on the second port set, where the third and fourth ports are two adjacent ports in the second port set;
[0068] Step 304: Calculate the change in draft and the change in ship load between the third port and the fourth port based on the ship information corresponding to the third port and the fourth port.
[0069] Step 306: Determine the vessel type based on the vessel information;
[0070] Step 308: Based on the sailing time, draft change, ship load change, and ship type between the third port, the fourth port, and the third port and the fourth port, determine the sea route through which the ship passes in the inter-port sea route index table.
[0071] Step 310: Once all ports in the second port set for each vessel have been traversed, determine the sea routes that each vessel passes through.
[0072] In this embodiment, the step of determining the sea route for each vessel based on the second port set and the inter-port transit sea route index table includes: First, determining the third and fourth ports in the second port set, wherein the third and fourth ports are any two adjacent ports in the second port set, and the third port is located before the fourth port in the navigation trajectory information. Then, acquiring the vessel information for the third port and the fourth port respectively, and calculating the sailing time, draft change, and vessel load change between the third and fourth ports based on the vessel information for the third and fourth ports. Subsequently, determining the vessel type based on the vessel information. Then, determining the geographical locations of the third and fourth ports, and finally, determining the sea route for the vessel in the inter-port transit sea route index table based on the geographical locations of the third and fourth ports, the sailing time, draft change, vessel load change, and vessel type. Then, it is determined whether all ports in the second port set have undergone the above processing. If not, the processing continues for the ports in the second port set. If all ports in the second port set have completed the above processing, it means that the ports in the second port set have been traversed. Then, it is determined whether all second port sets have been traversed. If all second port sets have been traversed, the shipping route through which each ship passes has been determined. By determining the shipping route through which ships pass based on the inter-port shipping route index table, the accuracy of the data is ensured.
[0073] In some embodiments, the vessel type may optionally include: container ships, oil tankers, and iron ore carriers.
[0074] In this embodiment, the ship types include container ships, oil tankers, and iron ore carriers. Categorizing ships into container ships, oil tankers, and iron ore carriers facilitates subsequent analysis of specific trade situations.
[0075] Figure 4 The diagram illustrates a process flow after the step of determining the sea route traversed by each vessel based on a second port set and an inter-port transit sea route index table, in a sea route identification method according to an embodiment of the present invention. Following the step of determining the sea route traversed by each vessel based on the second port set and the inter-port transit sea route index table, the method further includes:
[0076] Step 402: Count the number of times each ship passes through each sea lane;
[0077] Step 404: Compare the number of passages for each sea lane with the preset number of passages;
[0078] Step 406: When the number of passages is greater than or equal to the preset number, the sea route is determined to be a first-type route.
[0079] In this embodiment, after the step of counting the number of passages for each shipping channel based on the passages of each ship, the process includes: First, counting the number of passages for each shipping channel based on the passages of each ship. For example, all shipping channels passed by ships are traversed sequentially. If a ship passes through a shipping channel, the passage count for that channel is incremented by one. After all ships have been traversed, the final passage count for each shipping channel is obtained. Then, the passage count for each shipping channel is compared with a preset number. When the passage count is greater than or equal to the preset number, it indicates that most ships will pass through that shipping channel, and therefore that shipping channel is identified as a first-type channel. Here, a first-type channel refers to a critical channel among shipping channels. By comparing the passage count with the preset number, the most critical shipping channel can be identified among multiple shipping channels.
[0080] Figure 5 The diagram illustrates a step in a method for identifying sea lanes according to an embodiment of the present invention: constructing an inter-port transit sea lane index table based on the names of all ports and pre-acquired sea lane names. The step of constructing the inter-port transit sea lane index table using the names of all ports and pre-acquired sea lane names includes:
[0081] Step 502: Construct a first data table based on the names of all ports, the country to which each port belongs, and the geographical location of each port;
[0082] Step 504: Based on any two ports, the first data table, the names of the pre-acquired shipping channels, and the shipping channel data of each shipping channel, establish an inter-port transit shipping channel index table. The inter-port transit shipping channel index table contains the correspondence between shipping channels, the shipping channel data of each shipping channel, and the geographical locations of any two ports. The shipping channel data includes at least one of the following: the types of vessels that can pass through the channel, the vessel deadweight tonnage that can pass through the channel, and the vessel draft that can pass through the channel.
[0083] In this embodiment, the step of constructing an inter-port transit sea route index table based on the names of all ports and pre-acquired sea route names includes: firstly, constructing a first data table based on the names of all ports, the country to which each port belongs, and the geographical location of each port; that is, the first data table includes the correspondence between port names, their respective countries, and their geographical locations. Then, randomly selecting any two ports, determining the geographical location of each port within the first data table based on these two ports, and subsequently constructing an inter-port transit sea route index table based on the obtained geographical locations, the sea routes between these two geographical locations, and the sea lane data for each sea route. In other words, the inter-port transit sea route index table contains the sea routes, the sea lane data for each sea route, and the correspondence between the geographical locations of any two ports. The sea lane data includes at least one of the following: the types of vessels that can navigate the channel, the vessel deadweight tonnage that can be navigated through the channel, and the vessel draft that can be navigated through the channel. By constructing the inter-port transit sea route index table based on the geographical locations of the ports, the number of records in the inter-port transit sea route index table can be reduced, saving the time spent constructing the inter-port transit sea route index table.
[0084] In some embodiments, optionally prior to the step of determining a first port set for each vessel based on the AIS data of multiple vessels, the method includes: performing data denoising processing on the AIS data of each vessel separately.
[0085] In this embodiment, before determining the first port set for each vessel based on the AIS data of multiple vessels, the method includes: performing data denoising processing on the AIS data of each vessel separately, that is, cleaning the AIS data of each vessel separately to remove invalid, duplicate, missing or erroneous data from the AIS data, thereby ensuring the accuracy of subsequent processing.
[0086] For example, the process of extracting the second port set from the first port set can also be as follows: the first port set can be a set of ship navigation trajectory information, which includes multiple navigation trajectory information, each navigation trajectory information includes only two ports, namely the fifth port and the sixth port. The fifth port is the departure port in the navigation trajectory information, and the sixth port is the arrival port in the navigation trajectory information. That is, the fifth port in any navigation trajectory information is the sixth port in the previous navigation trajectory information, and the sixth port in any navigation trajectory information is the fifth port in the next navigation trajectory information.
[0087] After obtaining the set of navigation trajectory information, the fifth and sixth ports in the first navigation trajectory information are first identified. It is then determined whether the fifth and sixth ports in the first navigation trajectory information meet the first condition, which means that the fifth port is a domestic port and the sixth port is a foreign port. That is, the countries of the fifth and sixth ports in the first navigation trajectory information are first determined. If the fifth and sixth ports do not meet the condition of being both domestic and foreign, the next navigation trajectory information is used to determine whether the fifth and sixth ports in that navigation trajectory information meet the first condition, according to their order in the navigation trajectory information set. If they still do not meet the condition, the next navigation trajectory information is used to determine whether the fifth and sixth ports in that navigation trajectory information meet the first condition, and so on, until a navigation trajectory information where the fifth and sixth ports meet the first condition or all navigation trajectory information in the set has been traversed. When all navigation trajectory information in the set has been traversed but no navigation trajectory information meets the first condition, it means that the ship corresponding to that navigation trajectory information set is not the ship we need to count, and therefore it is discarded. Then, the same process is applied to the navigation trajectory information sets corresponding to other ships.
[0088] When the fifth and sixth ports in the voyage trajectory information meet the first condition, the fifth port is designated as the departure port. This fifth port is then added as the first port to the second port subset. Simultaneously, the vessel information corresponding to the fifth port is also added to the second port subset. This vessel information includes: vessel type, deadweight, draft, arrival time, and departure time. After adding the fifth port to the voyage information subset, the time difference between the third and fourth times is determined. The third time corresponds to the departure port (i.e., the time of departure from the fifth port), and the fourth time corresponds to the arrival time at the sixth port.
[0089] Subsequently, the matching result is determined based on the time difference and a preset time. When the matching result meets the preset conditions, the information of the sixth port and the corresponding vessel is added to the voyage information subset. The preset conditions are that the time difference is less than the preset time, the sixth port is a foreign port, and the sixth port is not already present in the voyage information subset. Optionally, the preset time can be 60 to 80 days. It is understood that if a vessel has been out of port for more than 60 days, the cargo it is carrying is no longer domestically exported or imported goods; therefore, the time difference needs to be less than the preset time. In other words, when the time difference between the third time corresponding to the departure port and the fourth time corresponding to the sixth port is less than the preset time, and the sixth port is a foreign port, and the sixth port has not yet been added to the second port subset, the sixth port, along with the corresponding vessel type, deadweight, draft, arrival time, and departure time, are added to the second port subset. Then, the fourth time corresponding to the sixth port in the next voyage track information is determined, and the time difference between the fourth time corresponding to the sixth port in this instance and the third time corresponding to the previous departure port is re-determined. It can be understood that the sixth port in the previous voyage track information is the fifth port in the next voyage track information; therefore, only the sixth port in the voyage track information needs to be determined here. When the time difference is less than the preset time, and the sixth port in this instance is also a foreign port, and the sixth port in this instance does not appear in the second port subset, the sixth port in this instance and the corresponding vessel information are added to the voyage information subset. Then, the fourth time corresponding to the sixth port in the next voyage track information is determined, and the time difference is re-determined. This process is repeated until all voyage track information in the voyage track information set has been traversed, or until a time difference does not match the preset time, in which case the previously obtained second port subset is added to the second port set.
[0090] When a matching result does not meet the preset conditions, in addition to adding the previously obtained second port subset to the second port set, it is also necessary to determine whether the fifth and sixth ports in the navigation trajectory information corresponding to the matching result meet the first condition. If the first condition is met, the fifth port in the navigation trajectory information is taken as the departure port, and the above process is repeated until all navigation trajectory information in the navigation trajectory information set has been traversed, or until a matching result between a certain time difference and the preset time does not meet the preset conditions. If the third condition is not met, it is determined whether the fifth and sixth ports in the next navigation trajectory information meet the third condition. This process is repeated until all navigation trajectory information in the navigation trajectory information set has been traversed, thus obtaining a second port set corresponding to a ship.
[0091] For example, the method for identifying maritime channels provided by the present invention mainly includes: firstly, denoising the ship AIS data. Specifically, for the original AIS data, the data needs to be cleaned, standardized and denoised for different ship types. The ship types include container ships, oil tankers and iron ore carriers.
[0092] Then, the port's geographical location is matched to the continent and region. Specifically, this application mainly targets foreign trade vessels, so during implementation, the vessels need to leave their home country's waters, and the shipping channels are located in non-home country waters. Each foreign trade vessel has an IMO number (issued by the International Maritime Organization), which corresponds to only one international vessel. Since AIS data retains vessel types, different vessels can be classified based on their AIS data. Different types of vessels may choose different routes due to differences in purpose, draft, and deadweight, even with the same starting and ending points. Therefore, when establishing the port shipping channel lookup table, different shipping channels will be assigned based on different vessel types. It should be noted that these shipping channels often save significant time and mileage and offer higher safety; therefore, when navigable, alternative routes are not chosen, making the port shipping channel lookup table valuable for reference.
[0093] Optionally, the port-to-port sea route index table will be based on the port's location, dividing port information into a first region, a second region under the first region, a third region under the second region, a fourth region under the third region, and the port's name. The first-level region represents the continent where the sea route is located, the second-level region represents the area where the sea route is located, the third-level region represents the country to which the port belongs, and the fourth-level region represents the city to which the port belongs. Optionally, the port sea route search table in this application determines sea routes based on geographical location, i.e., the first region. The first region is represented by first-level and second-level regions, meaning that geographical location includes both continent and area. In other words, the first region (geographical location) of a port is determined based on its name, and the shipping route that a vessel needs to pass through is determined based on the first regions corresponding to two adjacent ports, as specifically shown in Tables 1 and 2.
[0094] Table 1. Port and Location Correspondence Table in the Port and Seaway Search Table
[0095]
[0096] The first-level region represents the continent where the shipping route is located, the second-level region represents the area where the shipping route is located, the third-level region represents the country to which the port belongs, and the fourth-level region represents the city to which the port belongs.
[0097] Table 2. Port and Shipping Channel Matching Table (Port and Shipping Channel Lookup Table)
[0098]
[0099] Then, foreign trade voyages under feature constraints are identified. Specifically, such as... Figure 6 As shown, the method is as follows:
[0100] Step 602: Based on the AIS ship database;
[0101] Step 604: Extract the unique IMO set for ships I={I1,I2,...,I...} n};
[0102] Step 606: Extract each ship identifier I i The set of ship trajectories Q = {Q I1 Q I2 ,...,Q In};
[0103] Step 608: Initialize the voyage set P = ;
[0104] Step 610: Traverse set I and obtain the current ship identifier I. n ;
[0105] Step 612: Traverse the set of ship trajectories Q when the current ship identifier In is reached;
[0106] Step 614: Initialize the voyage set P i = ;
[0107] Step 616: Determine q j The port is a domestic port and q j+1 The port is a foreign port; if the result is yes, proceed to step 620; if the result is no, proceed to step 618 and then re-execute step 616.
[0108] Step 618: Read the next ship trajectory information;
[0109] Step 620: q j As the first point of the voyage, it is placed into set P. i Meanwhile, calculate subsequent points q. k and the starting point q j The time difference t between k ;
[0110] Step 622: Determine t k <T and q k The port information is for foreign ports and is not in the voyage set P. iIf the result is yes, proceed to step 626; if the result is no, proceed to step 624.
[0111] Step 624: Set the current voyage set P i Add it to set P, and let q j =q k Proceed to step 616;
[0112] Step 626: q k Put into set P i middle;
[0113] Step 628: Determine whether the current set of ship trajectories Q has been completely traversed; if the result is yes, proceed to step 632; if the result is no, proceed to step 630 and then re-execute step 622.
[0114] Step 630: Let q k =q k+1 ;
[0115] Step 632: The set of ship trajectories Q of ship In has been traversed;
[0116] Step 634: Determine whether the ship identifiers have been traversed; if the result is yes, proceed to step 638; if the result is no, proceed to step 636 and then re-execute step 610.
[0117] Step 636: Let I n =I n+1 ;
[0118] Step 638: Obtain the voyage set P of all identified ships.
[0119] In this embodiment, the method includes: firstly, extracting a unique set of IMOs for each ship from the AIS ship database, I = {I1, I2, ..., I...} n}, where I1, I2 and I n This represents the IMO identifier of a single vessel. Then, the IMO identifier for each vessel is extracted. i The set of ship trajectories Q = {Q I1 Q I2 ,...,Q In}, where Q refers to the set of ship trajectories, Q I Q I2 And Q In This refers to the ship tracks in the set of ship tracks, where each track includes the departure port and the arrival port. Then, an empty initial voyage set P is created, and the current ship I is selected from this set. n Then, it begins traversing the corresponding set of ship trajectories Q. Specifically, it first creates an empty initial voyage set P. i,Then determine if the first ship trajectory is from its port of departure q. j For a domestic port and its next port q j+1 If it is a port in another country, or if not, repeat the check on the next ship trajectory information to determine if it is its port of departure. j For a domestic port and its next port q j+1 For ports in other countries. If so, then the port of departure q. j As the first point of the voyage, it is placed in the voyage information subset P. i In the middle, and record the ship's departure port q j Arrival time, departure time, and draft. Also calculate subsequent port q. k With departure port q j The time difference t between k If the time difference t k Less than the set time threshold T and subsequent port q k The information is about foreign ports and q k Not equal to the voyage information subset P i If any port is selected, the current voyage is identified as an export voyage, and the subsequent ports q are assigned accordingly. k Add to the voyage information subset P i In the middle, and record the ship's subsequent port q k Arrival time, departure time, and draft. If not, the current voyage information subset P... i Add it to the voyage information set P and let q j =q k Determine the subsequent port q k Does the corresponding ship trajectory include its port of departure q? j For a domestic port and its next port q j+1 For ports in other countries, repeat the above steps until the set of ship trajectories Q has been traversed. Then, for the current subsequent ports q... k Add to the voyage information subset P i Next, determine whether the current set of ship trajectories Q has been completely traversed. If not, then let q... k =q k+1 Then determine the subsequent port q k+1 With departure port q j The time difference t between k If the current set of ship trajectories Q has been completely traversed, it means that the set of ship trajectories Q for ship In has been traversed. Then, it is determined whether the ship identifiers have been traversed. If not, then I... n =I n+1 Then, follow the steps described above to traverse ship I. n+1The set of ship trajectories. If so, then the set of voyages P of all identified ships is obtained. Through the above judgment, ship data can be quickly filtered, thereby reducing the amount of computation.
[0120] Finally, shipping routes are identified based on the inter-port transit route index table, specifically as follows: Figure 7 As shown, the method includes:
[0121] Step 702: Traverse every subset P of voyage information in the set P of all voyage information for the ship. i ;
[0122] Step 704: Traverse the voyage information subset P i Each port q in j ;
[0123] Step 706: Extract the current port q j Its next port q j+1 sailing time between drinking water and ship deadweight tonnage Changes;
[0124] Step 708: Determine and count the number of ports in q based on the inter-port sea route index table. j to q j+1 The sea lanes through which ships pass within the area;
[0125] Step 710: Determine the subset P of voyage information i If all ports in the list have been traversed, proceed to step 714 if the result is yes; otherwise, proceed to step 712 and then to step 706.
[0126] Step 712: Let q j= q j+1 ;
[0127] Step 714: Determine all subsets P of voyage information in the voyage information set P. i If the traversal is complete, proceed to step 718; if the result is not complete, proceed to step 716 and then to step 704.
[0128] Step 716: Let P i= P j+1 ;
[0129] Step 718: Complete the statistics and identification of sea routes.
[0130] In the method, firstly, each subset P of voyage information in the set P of all voyage information of the ship is traversed. i Then iterate through the voyage information subset P iEach port q in j Extract the current port q j Its next port q j+1 sailing time between drinking water and ship deadweight tonnage Changes; subsequently, based on the inter-port sea route index table and the current port q j Its next port q j+1 sailing time between drinking water and ship deadweight tonnage Determine and statistically analyze the changes in the current port q j Its next port q j+1 The maritime routes through which ships pass. Then determine the voyage information subset P. i Has all ports in the list been visited? If not, let q... j= q j+1 The next port before that is q j+1 As the current port q j Redetermine the current port q j Its next port q j+1 The maritime routes through which ships pass are repeated until the voyage information subset P is reached. i All ports in the list have been visited. When the voyage information subset P... i When all ports in the voyage information set P have been traversed, then determine all subsets P of the voyage information set P. i Has the traversal been completed? If not, then let P... i= P j+1, That is, the same method described above is used for the next voyage information subset P. j+1 The process continues until all subsets of voyage information in the voyage information set P have been traversed, thus completing the statistics and identification of the maritime routes.
[0131] Optionally, vessels engaged in foreign trade can be identified, and the specific steps are as follows:
[0132] (1) Container ships: Delete container data with the same departure port and arrival port based on AIS data; iterate through the processed data in sequence. For each IMO number, filter out the records that match the IMO number from the current data and reset the index of the filtered data; determine whether the number of filtered ship data records is greater than 1. If the number of ship data records corresponding to the current IMO number is greater than 1, proceed to the next step; calculate the number of times the departure port and arrival port are in the same country. If the sum of these two counts is not equal to twice the number of data entries, the vessel is determined not to be a domestic trade vessel, and proceeds to the next step. If at least one record in the vessel data is not within the same country, it is determined to be an international vessel. The data obtained at this time represents container ships engaged in foreign trade. The vessel data is stored in the corresponding data frame, and the IMO number is stored in the corresponding list. Finally, container ships suspected of using counterfeit IMO numbers are identified and removed. The steps are as follows: Import the IMO data and container ship detailed information data stored in the above steps. Iterate through each IMO data, filter out records that match the IMO from the container ship detailed information data, and reset the index of the filtered data. For each filtered dataset, check whether the "port of arrival" of each record is consistent with the "port of departure" of the next record. If they are inconsistent, it indicates that the data has a counterfeit issue. Record the vessel's IMO number and the current index. Calculate the number of times each IMO number appears in the above output data frame, and the IMO number and corresponding record index of the problematic vessel. Save both separately, and delete the counterfeit vessel data by comparing the IMO number and the index.
[0133] (2) For oil tankers: The oil tanker data needs to be classified into oil products. Based on the tonnage and the departure and arrival port information in the voyage record, the oil tanker is initially classified as "crude oil" or "refined oil". The specific steps are as follows: First, determine the type of oil tanker based on the tonnage: IMO corresponding data for data above 160,000 tons are all crude oil tanker data; IMO corresponding data for data below 55,000 tons are all refined oil tanker data; for oil tankers with tonnage between the two, analyze their voyage record and determine the type of oil tanker based on the voyage record. The determination of tanker type based on voyage records primarily relies on the "country of departure port." Specifically, for the "country of departure port" that appears most frequently within the same IMO number: if that country is a major crude oil exporter, then all data for that IMO number consists of crude oil tanker data; if that country is a major refined oil importer, then all data for that IMO number consists of refined oil tanker data; if that country is country A, then the number of crude oil exporters and refined oil importers among the "countries of arrival ports" for that IMO number is obtained, the relationship between these two numbers is determined, and the tanker type is determined based on this relationship. The process for determining tanker type based on the relationship is as follows: if the number of crude oil exporters is greater than the number of refined oil importers, then all data for that IMO number consists of crude oil tanker data; if the number of crude oil exporters is less than the number of refined oil importers, then all data for that IMO number consists of refined oil tanker data.
[0134] (3) For iron ore carriers: The original dataset contains data on all bulk carriers. All iron ore carrier information must be extracted from it according to tonnage. Data with a tonnage of 200,000 tons or more are all identified as iron ore carriers, and the original data is filtered and extracted based on this condition.
[0135] Figure 8 A schematic block diagram of a maritime channel identification system according to an embodiment of the present invention is shown; wherein, the maritime channel identification system 80 includes:
[0136] The first processing module 802 is used to determine the first port set for each ship based on the AIS data of multiple ships. The first port set includes the names of multiple ports, the arrival time of the ship corresponding to each port, and the geographical location of each port.
[0137] The second processing module 804 is used to determine whether two adjacent ports meet the first condition according to the order of the names of multiple ports in the first port set. The first condition is that the first port in the two adjacent ports is a domestic port and the second port is a foreign port.
[0138] The third processing module 806 is used to select the first port among two adjacent ports as the first port if the first condition is met.
[0139] The fourth processing module 808 is used to calculate the sailing time between the first port and each subsequent port based on the arrival time of the ships corresponding to each port.
[0140] The fifth processing module 810 is used to extract the second port from multiple subsequent ports based on the sailing time and preset time.
[0141] The sixth processing module 812 is used to obtain the second port set based on the name of the first port, the ship information corresponding to the first port, the name of the second port, and the ship information corresponding to the second port.
[0142] The seventh processing module 814 is used to construct an inter-port transit sea route index table based on the names of all ports and the names of pre-acquired sea routes;
[0143] The eighth processing module 816 is used to determine the sea route through which each vessel passes based on the second port set and the inter-port transit sea route index table for each vessel.
[0144] The maritime channel identification system 80 provided by this invention mainly includes: a first processing module 802, a second processing module 804, a third processing module 806, a fourth processing module 808, a fifth processing module 810, a sixth processing module 812, a seventh processing module 814, and an eighth processing module 816. Firstly, it acquires AIS (Automatic Identification System) data for multiple vessels. Then, the first processing module 802 determines a first port set for each vessel from the AIS data. The first port set includes the names of multiple ports, the vessel's arrival time at each port, and the geographical location of each port. The first port set can be the sum of ports visited by a vessel after multiple voyages; that is, the names of multiple ports in the first port set correspond to multiple voyage routes of the vessel. Subsequently, the second processing module 804 determines whether two adjacent ports meet the first condition according to the order of the names of the multiple ports in the first port set. The first condition is that the first port in the two adjacent ports is a domestic port and the second port is a foreign port. When there are two adjacent ports in the first port set that meet the first condition, the third processing module 806 takes the first port in the two adjacent ports as the first port. Then, the fourth processing module 808 calculates the sailing time between the first port and each subsequent port based on the arrival time of the ships corresponding to each port. Each subsequent port refers to each port in the first port set that is after the first port. After obtaining the sailing time between the first port and each subsequent port, the fifth processing module 810 extracts the second port from the subsequent ports based on the sailing time and a preset time. The number of second ports can be one or more. After obtaining the second port, the vessel information corresponding to the first port and the vessel information corresponding to the second port are determined. This vessel information includes: vessel type, deadweight, draft, arrival time, and departure time. Then, the sixth processing module 812 aggregates the information from the first port, the vessel information corresponding to the first port, the second port, and the vessel information corresponding to the second port to obtain the second port set. Finally, after all the first port sets have been processed in the above manner, the second port set for each vessel is obtained.
[0145] After obtaining the second port set for each vessel, the names of all ports and shipping channels worldwide are acquired. The seventh processing module 814 establishes an inter-port transit shipping channel index table based on the relationship between ports and shipping channels. This index table contains shipping channels, shipping route data for each channel, and the correspondence between the geographical locations of any two ports. Shipping route data includes at least one of the following: the types of vessels that can navigate the channel, the vessel deadweight tonnage that can be navigated by the channel, and the vessel draft that can be navigated by the channel. In other words, the inter-port transit shipping channel index table can determine the corresponding shipping channel based on the geographical locations of any two ports. Therefore, after obtaining the second port set for each vessel, the eighth processing module 816 can determine the corresponding shipping channel in the inter-port transit shipping channel index table based on any two adjacent ports in the second port set. After all ports in the second port set have been traversed, the multiple shipping channels traversed by each vessel during its operation are obtained. This invention determines the first port of each vessel from a first port set based on a first condition, then selects the second port of each vessel from subsequent ports according to a preset time, and finally combines the first and second ports to obtain the second port set for each vessel. In other words, this invention extracts the second port set from the first port set based on the characteristics of vessels transporting import and export goods, thus eliminating the need to analyze the routes of all vessels individually, thereby reducing the computational load. Furthermore, this invention uses an established inter-port sea route index table to determine the sea routes traversed by each vessel, making it more accurate and convenient compared to related technologies that analyze vessel routes one by one.
[0146] In some embodiments, the fifth processing module 810 is optionally used to compare the sailing time between the first port and each subsequent port with a preset time; and to designate the port whose sailing time is less than or equal to the preset time as the second port.
[0147] In this embodiment, the fifth processing module 810 is specifically used to first compare the sailing time between the first port and each subsequent port with a preset time, and then designate ports whose sailing time is less than or equal to the preset time as second ports. It can be understood that when the sailing time is less than or equal to the preset time, it indicates that the cargo on the ship is for export from the country; therefore, the ports the ship passes through during this process are designated as second ports. This invention uses preset times to filter out the ports passed through by exporting ships from the first set of ports.
[0148] In some embodiments, the vessel information may optionally include one or a combination of the following: vessel type, vessel deadweight, vessel draft, arrival time, and departure time.
[0149] In this embodiment, vessel information may include: vessel type, vessel deadweight, vessel draft, arrival time, and departure time. By adding the vessel information corresponding to the first port and the vessel information corresponding to the second port to the second port set, a basis is provided for subsequently determining the sea route traversed.
[0150] In some embodiments, optionally, the eighth processing module 816 is specifically configured to: determine the third port and the fourth port based on the second port set, wherein the third port and the fourth port are two adjacent ports in the second port set; calculate the change in draft and the change in load between the third port and the fourth port based on the ship information corresponding to the third port and the ship information corresponding to the fourth port; determine the ship type based on the ship information; determine the sea route through which the ship passes in the inter-port sea route index table based on the sailing time, change in draft, change in load, and ship type between the third port, the fourth port, and the third port and the fourth port; and determine the sea route through which each ship passes when all ports in the second port set for each ship have been traversed.
[0151] In this embodiment, the eighth processing module 816 is specifically used to first determine the third and fourth ports in the second port set, where the third and fourth ports are any two adjacent ports in the second port set. Then, based on the ship information of the third and fourth ports, the sailing time, draft change, and ship load change between the third and fourth ports are calculated. Subsequently, the ship type is determined based on the ship information. Finally, based on the geographical location of the third and fourth ports, the sailing time, draft change, ship load change, and ship type, the sea route the ship will take is determined in the inter-port transit sea route index table. Then, it is determined whether all ports in the second port set have undergone the above processing. If not, the processing continues for the ports in the second port set. If all ports in the second port set have completed the above processing, it means that the ports in the second port set have been traversed. Then, it is determined whether all second port sets have been traversed. If all second port sets have been traversed, the sea route taken by each ship is determined. By determining the sea route taken by the ship based on the inter-port transit sea route index table, the accuracy of the data is ensured.
[0152] In some embodiments, the vessel type may optionally include: container ships, oil tankers, and iron ore carriers.
[0153] In this embodiment, the ship types include container ships, oil tankers, and iron ore carriers. Categorizing ships into container ships, oil tankers, and iron ore carriers facilitates subsequent analysis of specific trade situations.
[0154] In some embodiments, the sea lane identification system 80 may optionally include: a ninth processing module, which counts the number of passages of each sea lane based on the sea lanes through which each ship passes; a tenth processing module, which compares the number of passages of each sea lane with a preset number; and an eleventh processing module, which determines the sea lane as a first type of channel based on the number of passages being greater than or equal to the preset number.
[0155] In this embodiment, the maritime channel identification system 80 further includes a ninth processing module, a tenth processing module, and an eleventh processing module. The ninth processing module first counts the number of passages through each maritime channel based on the number of times each vessel passes through it. Then, the tenth module compares the number of passages for each maritime channel with a preset number. When the number of passages is greater than or equal to the preset number, it indicates that most vessels will pass through that maritime channel. Therefore, the eleventh processing module identifies that maritime channel as a first-type channel, where the first-type channel refers to a critical channel among the maritime channels. By comparing the number of passages with the preset number, the most critical maritime channel can be identified among multiple maritime channels.
[0156] In some embodiments, optionally, the seventh processing module 814 is specifically configured to construct a first data table based on the names of all ports, the country to which each port belongs, and the geographical location of each port; and to establish an inter-port transit seaway index table based on any two ports, the first data table, pre-acquired sea lanes, and seaway data for each sea lane, wherein the inter-port transit seaway index table contains the correspondence between sea lanes, seaway data for each sea lane, and the geographical locations of any two ports, and the seaway data includes at least one of the following: the types of vessels that can pass through the channel, the deadweight tonnage of vessels that can pass through the channel, and the draft of vessels that can pass through the channel.
[0157] In this embodiment, the seventh processing module 814 is specifically used to first construct a first data table based on all ports, the country to which each port belongs, and the geographical location of each port. That is, the first data table includes the correspondence between ports, their respective countries, and their geographical locations. Then, it randomly selects any two ports and determines the geographical location of each port within the first data table based on these two ports. Furthermore, it establishes an inter-port transit seaway index table based on the obtained geographical locations, the sea routes between the two geographical locations, and the sea lane data for each sea route. That is, the inter-port transit seaway index table contains sea routes, sea lane data for each sea route, and the correspondence between the geographical locations of any two ports. The sea lane data includes at least one of the following: the types of vessels that can navigate the channel, the vessel deadweight tonnage that can be navigated through the channel, and the vessel draft that can be navigated through the channel. By establishing the inter-port transit seaway index table based on the geographical locations of the ports, the number of records in the inter-port transit seaway index table can be reduced, saving the time spent establishing the inter-port transit seaway index table.
[0158] In some embodiments, the sea lane identification system 80 may optionally include a preprocessing module for performing data denoising processing on the AIS data of each vessel separately.
[0159] In this embodiment, the maritime passage identification system 80 further includes a preprocessing module. The preprocessing module performs data denoising processing on the AIS data of each vessel, that is, it cleans the AIS data of each vessel to remove invalid, duplicate, missing, or erroneous data, thereby ensuring the accuracy of subsequent processing.
[0160] Figure 9 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown; wherein, the electronic device 90 includes a memory 902, a processor 904, and a computer program stored in the memory 902 and executable on the processor 904, wherein the processor 904 executes the computer program to implement the steps of the sea route identification method as described above.
[0161] The electronic device 90 provided by the present invention, when the processor 904 executes the computer program, implements the steps of the above-described method for identifying sea lanes, and can achieve the technical effects of any of the above embodiments, which will not be repeated here.
[0162] One embodiment of the present invention provides a storage medium on which a computer program is stored, which, when executed by a processor, implements the steps of the maritime route identification method as described above.
[0163] The storage medium provided by this invention, when the computer program is executed by a processor, implements the steps of the above-described method for identifying sea lanes, and can achieve the technical effects of any of the above embodiments, which will not be repeated here.
[0164] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance, unless otherwise expressly specified and limited. The terms "connection," "installation," and "fixing," etc., should be interpreted broadly. For example, "connection" can mean a fixed connection, a detachable connection, or an integral connection; it can mean a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0165] In the description of this specification, the terms "one embodiment," "some embodiments," "specific embodiment," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0166] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for identifying maritime routes, characterized in that, include: A first port set for each vessel is determined based on AIS data from multiple vessels, wherein the first port set includes the names of multiple ports, the arrival time of the vessel corresponding to each port, and the geographical location of each port; The first condition is determined sequentially according to the order of the names of the ports in the first port set, which determines whether two adjacent ports meet the first condition, wherein the first condition is that the first of the two adjacent ports is a domestic port and the second port is a foreign port. If two adjacent ports satisfy the first condition, then the first of the two adjacent ports is designated as the first port. Calculate the sailing time between the first port and each subsequent port based on the arrival time of the vessel corresponding to each port; Based on the sailing time and preset time, a second port is extracted from a plurality of subsequent ports; The second port set is obtained based on the name of the first port, the ship information corresponding to the first port, the name of the second port, and the ship information corresponding to the second port; An inter-port transit sea route index table is constructed based on the names of all the ports and the names of the pre-acquired sea routes. The inter-port transit sea route index table contains sea routes, sea channel data for each sea route, and the correspondence between the geographical locations of any two ports. The sea channel data includes at least one of the following: the types of vessels that can pass through the channel, the deadweight tonnage of vessels that can pass through the channel, and the draft of vessels that can pass through the channel. The sea route traversed by each of the vessels is determined based on the second port set for each vessel and the inter-port transit sea route index table.
2. The method for identifying sea lanes according to claim 1, characterized in that, The step of extracting the second port from the subsequent plurality of ports based on the sailing time and a preset time includes: The sailing time between the first port and each subsequent port is compared with the preset time. The port whose sailing time is less than or equal to the preset time is designated as the second port.
3. The method for identifying sea lanes according to claim 1, characterized in that, The vessel information includes one or more of the following: vessel type, vessel deadweight, vessel draft, arrival time, and departure time.
4. The method for identifying sea lanes according to claim 3, characterized in that, The step of determining the sea route traversed by each vessel based on the second port set for each vessel and the inter-port transit sea route index table includes: The third and fourth ports are determined based on the second port set, wherein the third and fourth ports are two adjacent ports in the second port set; The changes in draft and ship load between the third port and the fourth port are calculated based on the ship information corresponding to the third port and the ship information corresponding to the fourth port. The ship type is determined based on the ship information; Based on the sailing time, draft change, load change, and vessel type between the third port, the fourth port, and the third port and the fourth port, the sea route through which the vessel passes is determined in the inter-port transit sea route index table; When all the ports in the second port set for each of the vessels have been traversed, the sea route traversed by each of the vessels is determined.
5. The method for identifying sea lanes according to any one of claims 1 to 4, characterized in that, After the step of determining the sea route traversed by each of the vessels based on the second port set for each vessel and the inter-port transit sea route index table, the method includes: The number of passages through each sea route is counted based on the number of passages through which each vessel passes. The number of passages for each of the aforementioned sea lanes is compared with the preset number of passages; When the number of passages is greater than or equal to the preset number, the sea route is determined to be a first type of route.
6. The method for identifying sea lanes according to any one of claims 1 to 4, characterized in that, The step of constructing an inter-port transit route index table based on the names of all the ports and the names of pre-acquired shipping routes includes: A first data table is constructed based on the names of all the ports, the country to which each port belongs, and the geographical location of each port; Based on any two of the ports, the first data table, the names of the pre-acquired shipping channels, and the shipping channel data for each of the shipping channels, establish an index table of shipping channels between the ports.
7. The method for identifying sea lanes according to any one of claims 1 to 4, characterized in that, Prior to the step of determining the first port set for each of the multiple vessels based on their AIS data, the following steps are included: The AIS data of each of the aforementioned ships is subjected to data denoising processing.
8. A system for identifying maritime routes, characterized in that, include: The first processing module is used to determine a first port set for each of the multiple vessels based on AIS data of the multiple vessels. The first port set includes the names of multiple ports, the arrival time of the vessels corresponding to each port, and the geographical location of each port. The second processing module is used to determine whether two adjacent ports meet a first condition according to the order of the ports in the first port set. The first condition is that the first port in the two adjacent ports is a domestic port and the second port is a foreign port. The third processing module is used to designate the first of the two adjacent ports as the first port if the first condition is met. The fourth processing module is used to calculate the sailing time between the first port and each subsequent port based on the arrival time of the ship corresponding to each port. The fifth processing module is used to extract the second port from a plurality of subsequent ports based on the sailing time and a preset time. The sixth processing module is used to obtain a second port set based on the name of the first port, the ship information corresponding to the first port, the name of the second port, and the ship information corresponding to the second port. The seventh processing module is used to construct an inter-port transit sea route index table based on the names of all the ports and the names of the pre-acquired sea routes. The inter-port transit sea route index table contains sea routes, sea channel data for each sea route, and the correspondence between the geographical locations of any two ports. The sea channel data includes at least one of the following: the types of vessels that can pass through the channel, the deadweight tonnage of vessels that can pass through the channel, and the draft of vessels that can pass through the channel. The eighth processing module is used to determine the sea route through which each of the vessels passes based on the second port set for each vessel and the inter-port transit sea route index table.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method for identifying sea lanes as described in any one of claims 1 to 7.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method for identifying sea lanes as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Word2vec model-based liner transportation key route identification method
CN114565060A
Global ship cargo quantity statistical analysis method and system
CN116596435A