This application claims priority to Chinese Patent Application No. 202210634375.8, filed on Jun. 7, 2022, the contents of which are hereby incorporated by reference.
The application belongs to the field of big data analysis of port and shipping logistics, and in particular relates to a ship arrival prediction system and a ship arrival prediction method.
Ship arrivals are not only affected by economic and other factors, but also has a volatility, and generally shows an increasing trend. Therefore, in 2018, scholars of Zhejiang Ocean University proposed to combine cubic exponential smoothing with a grey Markov chain prediction model to establish a grey Markov chain optimization prediction model for the ship arrival. An accuracy of the prediction model is secured for random events with an increasing relationship. However, as long as there are decreasing abnormal points, the accuracy is greatly impaired.
In addition, the grey Markov chain prediction model lacks a joint modelling of a time dimension and a spatial dimension, so a prediction accuracy is not satisfactory. Ship travel data generated based on a shipping trade network has an obvious non-Euclidean structure, and its data features an irregular arrangement and a complex spatial topological structure. A conventional deep learning model may not deal with this kind of data structure effectively, and an appearance of a graph neural network fills a gap in this part and realizes an effective combination of graph data and the deep learning model. Scholars have modelled and predicted a road traffic flow for a road traffic network and achieved good results by using a graph convolution network. A waterway network and a road network have certain similarities, so the graph neural network is considered to model the waterway network and its shipping traffic.
In order to solve a problem that it is difficult to predict the ship arrivals with a high efficiency and the high accuracy in the prior art, a ship arrival prediction system, a ship arrival prediction method and a ship arrival prediction device are urgently needed.
Aiming at a deficiency of the prior art that it is difficult to fully extract spatial temporal features of a ship driving, and then it is difficult to predict a ship arrival with a high efficiency and a high accuracy, the application provides a ship arrival prediction system and a ship arrival prediction method with advantages of few parameters, the high efficiency and the high prediction accuracy.
In order to achieve the above objective, the application provides following schemes. The ship arrival prediction system includes:
Optionally, the data processing module includes a data cleaning unit and a data conversion unit;
Optionally, the spatial temporal graph convolution layer module includes a first spatial temporal convolution layer unit and a second spatial temporal convolution layer unit;
Optionally, the first spatial temporal convolution layer unit and the second spatial temporal convolution layer unit each includes a first gated causal convolution layer and a second gated causal convolution layer;
Optionally, the full connection module includes a dimension reconstruction unit, a feature conversion unit and a prediction unit;
A ship arrival prediction method includes:
Optionally, a process of processing the historical sample data and converting the processed data into the two-dimensional matrix includes:
Optionally, the process of removing the noise and the inconsistent sample data from the historical sample data, completing the default values, and converting the cleaned data into the two-dimensional matrix includes:
Optionally, the two-dimensional matrix is expressed as:
of m time scales and n ports.
The application discloses following technical effects.
In order to more clearly explain embodiments of the application or technical solutions in the prior art, the following briefly introduces drawings that need to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the application. For those of ordinary skill in the art, other drawings may be obtained according to these drawings without any creative effort.
Technical solutions in embodiments of the application are clearly and completely described below with reference to drawings in the embodiments of the application. Obviously, the described embodiments are only part of the embodiments of the application, but not all of them. Based on the embodiment of the application, all other embodiments obtained by ordinary technicians in the field without creative labor are within the scope of the application.
In order to make the above objects, features and advantages of the application more obvious and understandable, the application is explained in further detail below with reference to the drawings and detailed description.
As shown in
In an embodiment, the data cleaning and conversion unit in the ship arrival prediction system includes two subunits: a data cleaning subunit for removing incomplete, noisy and inconsistent sample data and completing the default values by a linear interpolation method; a data conversion subunit for converting the cleaned data into the two-dimensional matrix in combination with the port ship arrival information.
In an embodiment, the ship arrival prediction system includes two spatial temporal graph convolution layer units: a first spatial temporal graph convolution layer unit for performing a first spatial temporal graph convolution operation on the input two-dimensional matrix; a second spatial temporal graph convolution layer unit for performing a second spatial temporal graph convolution operation on the result of the first spatial temporal graph convolution layer unit, and outputting the result to the full connection unit.
In an embodiment, structures of the first spatial temporal graph convolution layer unit and the second spatial temporal graph convolution layer unit in the ship arrival prediction system are the same, as shown in
Existing forecasting methods lack a joint modelling of a time dimension and a spatial dimension. Moreover, the existing methods require many parameters and a long training time of the model, so a training efficiency of the model is affected. Therefore, in order to simultaneously capture features of the time dimension and the spatial dimension of the ship arrival and realize a high-efficiency prediction, the application provides a ship arrival prediction method based on a spatial temporal graph convolution neural network model.
As shown in
S1.3 following the step S1.2, calculating a relative distance of the ships corresponding to adjacent timestamp records by using latitude and longitude information existing in the AIS data, and screening and eliminating mutation points;
S1.6 following the step S1.5, calculating the relative distance to judge whether the record marked with the time scale in the step S1.5 is located in the port based on the longitude and the latitude of a main port; after marking the specific port, only keeping the first record of the continuously marked port records;
To evaluate an effect of the embodiment of the application, the prediction accuracy of the method provided by the application is verified by using the public AIS data provided by MarineCadastre.gov. Methods: conventional recurrent neural network (method 1), long-term and short-term memory neural network (method 2) and gated recurrent unit network (method 3) are used as benchmarks. Verification indexes are symmetrical mean absolute percentage error (SMAPE), root mean square error (RMSE) and mean absolute error (MAE) respectively. Calculation formulas are:
This embodiment also provides a ship arrival prediction device, including a non-temporary computer storage medium for storing programs. The program includes: a data cleaning and conversion unit, which is used to remove noisy and inconsistent sample data, complete default values, and convert the cleaned data into a two-dimensional matrix in combination with port information; a spatial temporal graph convolution layer unit, which models the converted data and seeks a set of optimal model parameters through training operations; and a full connection unit, which is used to reconstruct a dimension of an output result of the spatial temporal graph convolution layer unit, and output a predictive value of a port ship arrival.
In view of a fact that the ship arrival is on the increase for a long time, it is very important to predict the ship arrival based on a predicting theory for a rational planning of a port anchorage and an efficient management of a waterway traffic. The application provides a ship arrival prediction system and a ship arrival prediction system scheme, so as to bring remarkable effects from social benefits and economic benefits.
A level of port intelligence is improved. The prediction of the ship arrival effectively improves the level of information processing and related technical capabilities.
Carbon emissions are reduced. The prediction of the ship arrival manages the waterway traffic more efficiently, thus reducing unnecessary time for the ships to stop at the ports, and thus reducing the carbon emissions of the ships.
A labor burden of workers is reduced. Congestion of docks has led to an increase in the labor burden of the workers in many countries, and even strikes. The prediction of the ship arrival in the port is greatly helpful to weaken an occurrence of those situations.
A soaring freight rate is effectively alleviated. The rational planning of the port anchorage and the efficient management of waterway transportation effectively improves the port congestion, thus alleviating the soaring freight rate.
Labor costs are reduced. Ship arrival prediction technology improves a port intelligence level, reduces a number of the port workers, and then reduce the labor costs.
The above-mentioned embodiments only describe a preferred mode of the application, but do not limit a scope of the application. On a premise of not departing from a design spirit of the application, all kinds of modifications and improvements made by ordinary technicians in the field to the technical scheme of the application shall fall within the scope of protection determined by the claims of the application.
Number | Date | Country | Kind |
---|---|---|---|
202210634375.8 | Jun 2022 | CN | national |