An AI identification method for ship destination port based on AIS information

By constructing a dataset and utilizing vector training and neural network models, the problem of diverse data formats for ship destination port reporting was solved, enabling intelligent identification and improving the accuracy and security of maritime logistics tracking.

CN117787845BActive Publication Date: 2024-09-24CHINA TRANSPORT INFOCOM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311841985.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-09-24
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

In existing technologies, the data formats for ship destination ports are diverse, which cannot meet the timeliness and accuracy requirements of maritime safety management and logistics tracking.

Method used

By constructing a destination port dataset, using a vector training model to train port vectors, and employing a neural network model to identify the destination port of a vessel, the destination port of a vessel can be identified.

Benefits of technology

It enables intelligent identification of the destination port of a vessel, improving real-time tracking of maritime logistics and port and maritime safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117787845B
    Figure CN117787845B
Patent Text Reader

Abstract

The present invention discloses an AI identification method for a ship's port of destination based on AIS information, including constructing a port of destination data set based on the port of destination information reported by the crew and the port of destination information in the port archives; obtaining a set of continuous port of destination contexts for each port of destination by sorting out the arrival and departure information of each ship, training port vectors based on the arrival and departure contexts of each port of destination using a vector training model, and obtaining port vectors for each port; dividing the port vectors into a training set, a test set, and a validation set in proportion to train, test, and validate a neural network model for identifying the port of destination reported by the ship, and using the trained neural network model for identifying the port of destination reported by the ship to identify the port of destination reported by the ship. The advantages are: it can intelligently identify the port of destination of the ship, can be applied to the field of real-time tracking of shipping logistics, realize dynamic monitoring of ship behavior, and help improve port and maritime safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ship destination port information identification, and in particular to an AI identification method for a ship destination port based on AIS information. Background Art

[0002] The ship's port of destination is one of the static information of the ship's AIS. This data is usually filled in manually by the crew, so the ship's port of destination field has various styles. These irregular port of destination fields cannot meet the requirements of maritime safety management and logistics tracking for data timeliness and accuracy. Summary of the invention

[0003] The object of the present invention is to provide an AI identification method for a ship's destination port based on AIS information, thereby solving the aforementioned problems existing in the prior art.

[0004] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0005] An AI identification method for a ship's destination port based on AIS information comprises the following steps:

[0006] S1. Dataset construction: Based on the destination port information reported by the crew and the destination port information in the port archives, a destination port dataset is constructed;

[0007] S2. Port vector training: By sorting out the arrival and departure information of each ship, a set of continuous arrival and departure contexts is obtained for each destination port. Based on the arrival and departure contexts of each destination port, the port vector training model is used to train the port vector to obtain the port vector of each port.

[0008] S3. Identification of the ship's reported port of destination: Divide the port vector into training set, test set and validation set in proportion to train, test and validate the neural network model for identifying the ship's reported port of destination, and use the trained neural network model for identifying the ship's reported port of destination to identify the ship's reported port of destination.

[0009] Preferably, the destination port data set includes standard AIS reported destination port information, AIS reported destination port information containing full names, and AIS reported destination port information containing special characters;

[0010] The destination port information includes the destination port name, destination port UNLOCODE and port ID.

[0011] Preferably, the arrival and departure context information includes ship ID, arrival and departure time UTC, port longitude, port latitude, ship draft, and port ID.

[0012] Preferably, the vector training model is a CBOW model, a skip-gram model, or a LSTM model.

[0013] Preferably, the neural network model for identifying the ship's reported destination port is BERT-base-uncased.

[0014] The beneficial effects of the present invention are as follows: the method of the present invention can intelligently identify the destination port of a ship, can be applied to the field of real-time tracking of shipping logistics, and realize dynamic monitoring of ship behavior, which is helpful to improve port and maritime safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 is a flow chart of a method for identifying a ship's destination port in an embodiment of the present invention;

[0016] Figure 2 is a schematic diagram of port vector training in an embodiment of the present invention;

[0017] Figure 3 It is a schematic diagram of the neural network structure for identifying the port of destination reported by a ship in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation methods described herein are only used to explain the present invention and are not used to limit the present invention.

[0019] like Figure 1 As shown, in this embodiment, a method for AI identification of a ship's destination port based on AIS information is provided, which specifically includes the following three parts:

[0020] 1. Data Collection

[0021] A destination port dataset is constructed based on the destination port information reported by the crew and the destination port information in the port archives.

[0022] The ship's port of destination is a data item reported in the static information of the ship's AIS. This data is generally filled in manually by the crew, so the ship's port of destination field has various styles. The most commonly used way to report the port of destination is the port's UNLOCODE code, which usually consists of 5 letters, such as RUVYS, which represents the Russian port of Vysotsk, where RU is the abbreviation of Russia and VYS is the abbreviation of Vysotsk. According to statistics from Baochuan.com, about 50% of the ports of destination reported by LNG ships AIS use this format. In addition, about 20% of the data uses the form of partial full writing plus partial abbreviations or the port and country are replaced before and after, such as VYSRU, Russia VYS. The remaining 30% contains special characters, such as KRTYG>AUGLT, >JP HKP OFF, THMAT------>AUBWB, RAS LAFFAN ANCHORAGE, etc. ">" means "to", while OFF and ANCHORAGE are professional terms. Therefore, the purpose of AI training in the present invention is to identify the most likely destination port from the information reported by the crew. In this embodiment, some LNG ships’ reported destination ports were selected. LNG ships are dangerous goods transport ships, and the reported destination ports are relatively good. In order to enhance the reasoning of AI, in addition to selecting some destination port data from AIS, some samples are also constructed through port archives, such as random combinations of the full name of the country, the full name of the port, the country abbreviation, etc. These data are combined to form a data set. Examples of data sets are shown in Tables 1, 2, and 3.

[0023] Table 1: Example of standard AIS reporting destination port

[0024] AIS fill in the destination port Destination Port UNLOCODE Port ID UAYUZ UAYUZ 22 TTPTF TTPTF 26 TRNEM TRNEM 28 TREGL TREGL 30

[0025] Table 2: Example of AIS reporting destination port with full name

[0026] AIS fill in the destination port Destination Port UNLOCODE Port ID Das Island AEDAS 1 Plaquemines USA USPLQ 10 Ras Laffan Qatar QARLF 50 Bintulu Malaysia MYBTU 82

[0027] Table 3: Example of AIS reporting destination port with special characters

[0028] AIS fill in the destination port Destination Port UNLOCODE Port ID KRPTK->IDLUW IDLUW 169 AE FUJ>IN COK INCOK 163 KRTYG>AUGLT AUGLT 270 AE FJR>JP FTS JPFTS 284

[0029] 2. Port Vector Training

[0030] By sorting out the arrival and departure information of each ship, a set of continuous arrival and departure contexts are obtained for each destination port. Based on the arrival and departure contexts of each destination port, the port vector is trained using a vector training model to obtain the port vector of each port.

[0031] In this embodiment, the simple port ID is just a self-defined rule without a clear meaning. Directly using data with unclear meaning will make the model error uncontrollable. Therefore, it is necessary to find a reasonable digital representation of each port, that is, a port vector. In natural language processing, each word is mapped to a higher dimension based on the relationship between contexts to obtain a vector representation of each word, which is a "word vector". Therefore, to train the vector representation of ports, a set of contexts is needed to link the ports.

[0032] The natural context of a port is the arrival and departure records of ships. By sorting out the arrival and departure information of each ship, a set of continuous arrival and departure contexts can be obtained. In the field of transportation, as long as there is continuous OD, this method can be used to train vector representation. With continuous context, the corresponding model can be used to train port vectors, such as CBOW model, skip-gram model, and LSTM model.

[0033] In this embodiment, the CBOW model is used to train the port vector. The ship's arrival and departure record format is shown in Table 4.

[0034] Table 4: Example of arrival and departure records based on AIS calculation

[0035] index ship_id utc lon lat draught port_id 1 310817000 1644062674 3.21254667 51.352725 11 23 2 310817000 1645365436 -95.306666 28.93833333 11 114 3 310817000 1646809603 2.18773833 51.03821 11 57 4 310817000 1648312354 -93.871226 29.743425 9.6 1 5 310817000 1654667415 -97.266665 27.87988167 9.7 139

[0036] The sequence length currently used for port vector calculation is 5, and the data with indexes 1, 2, 4, and 5 are used to predict the data with index 3. The principle of port vector training is as follows Figure 2 The port vector represents the parameters as follows:

[0037] One-hot the 300 ports, and according to the port ID, each port will get a 1×300 vector with the corresponding position as 1 and the rest as 0. The ports (1,2,4,5) are formed into a 4×300 matrix, multiplied by the W1 (300×10) matrix to get a 4×10 matrix, and the matrix is ​​averaged by column to get a 1×10 matrix, which is multiplied by the W2 (300×10) matrix to get a 1×300 vector.

[0038] III. Identification of the port of destination reported by the ship

[0039] The port vectors are divided into training set, test set and validation set in proportion to train, test and validate the neural network model for identifying the ship's reported port of destination, and the trained neural network model for identifying the ship's reported port of destination is used to identify the ship's reported port of destination.

[0040] After getting the vector representation of the port, we have the arget or label, and we can start AI training. The pre-trained model used in the training process is bert-base-uncased, and the network structure is as follows Figure 3 shown.

[0041] After the training is completed, 65 data are selected for verification, and 55 data are predicted accurately, with an accuracy rate of about 85%. If the accuracy rate is qualified, the trained neural network for identifying the ship's reported destination port can be output, and then the trained neural network for identifying the ship's reported destination port can be used for destination port identification.

[0042] By adopting the above technical solution disclosed in the present invention, the following beneficial effects are obtained:

[0043] The present invention provides an AI identification method for a ship's destination port based on AIS information. The method can intelligently identify the ship's destination port and can be applied to the field of real-time tracking of shipping logistics to achieve dynamic monitoring of ship behavior, which is helpful to improve port and maritime safety.

[0044] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be considered as the scope of protection of the present invention.

Claims

1. A method for AI identification of a ship's destination port based on AIS information, characterized in that: The following steps are included: S1. Dataset construction: Based on the destination port information reported by the crew in the AIS data and the port information in the port archives, a destination port dataset is constructed; the destination port dataset includes standard AIS reported destination port information, AIS reported destination port information containing full names, and AIS reported destination port information containing special characters; Port information includes port name, port UNLOCODE and port ID; S2. Port vector training: by sorting out the arrival and departure information of each ship, a set of continuous arrival and departure contexts is obtained for each destination port, and port vector training is performed based on the arrival and departure contexts of each destination port using a vector training model to obtain the port vector of each port; the arrival and departure context information includes ship ID, arrival and departure time UTC, port longitude, port latitude, ship draft, and port ID; S3. Identification of the ship's reported port of destination: Divide the port vector into training set, test set and validation set in proportion to train, test and validate the neural network model for identifying the ship's reported port of destination, and use the trained neural network model for identifying the ship's reported port of destination to identify the ship's reported port of destination.

2. The AI ​​identification method for a ship's destination port based on AIS information according to claim 1 is characterized in that: The vector training model is a CBOW model, a skip-gram model, and a LSTM model.

3. The AI ​​identification method for a ship's destination port based on AIS information according to claim 1 is characterized in that: The neural network model for identifying the ship's reported destination port is bert-base-uncased.