Ship trajectory prediction method and system, computing device and storage medium
By constructing and training a bidirectional gated recurrent neural network model based on an efficient attention mechanism, the AIS data is preprocessed, which solves the problem of insufficient ship trajectory prediction caused by the AIS data update interval and achieves more accurate and real-time ship trajectory prediction.
Patent Information
- Application Number
- CN202410114367.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2024-10-15
AI Technical Summary
In the existing technology, because the position information of AIS data is not updated in real time, the ship trajectory prediction may cross the land, which is unreasonable. The existing ship trajectory prediction is insufficient and needs to be improved to improve accuracy and real-time performance.
A bidirectional gated recurrent neural network model based on an efficient attention mechanism is used to preprocess AIS data to generate training data sets and prediction data sets, including deleting abnormal data and repairing missing values, and building and training a trajectory prediction model to output more accurate data. Accurate ship trajectory prediction information.
It achieves more accurate ship trajectory prediction results, improves real-time performance, avoids unreasonable situations where the trajectory crosses the land, and enhances the reliability of ship trajectory prediction.
Smart Images

Figure CN118779649A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of ship data processing, and in particular to a ship trajectory prediction method, system, computing device and storage medium. Background Art
[0002] As human activities develop into the deep sea, the number of ships at sea has increased rapidly. Ships sailing at sea are equipped with positioning equipment such as GPS, AIS and Beidou. It is an important measure to effectively serve the development of the marine economy to manage the entire track of ships through positioning equipment and grasp the dynamics of ships' water operations and specific navigation laws. Predicting subsequent tracks and analyzing abnormal behaviors of ships through historical information of ships is an important means to ensure ship safety and deeply explore and analyze the operating laws of marine ships.
[0003] In the prior art, since the ship position information in AIS is not updated in real time, the update interval of some ship positions is relatively long. Therefore, using the ship position lines provided by AIS to draw ship tracks may lead to the unreasonable situation that the ship tracks cross the land. Due to the above shortcomings of the existing ship tracks, there is a large room for improvement and improvement needs. Summary of the invention
[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a ship trajectory prediction method, system, computing device and storage medium, which have more accurate ship trajectory prediction results and higher real-time performance.
[0005] In a first aspect, an embodiment of the present application provides a ship trajectory prediction method, comprising:
[0006] Based on AIS data, ship trajectory information within a preset time is obtained to generate training data sets and verification data sets of ship trajectories;
[0007] Constructing a trajectory prediction model of a bidirectional gated recurrent neural network based on an efficient attention mechanism, and training the trajectory prediction model using the training data set and the validation data set;
[0008] The ship trajectory information is input into a pre-trained trajectory prediction model to obtain ship trajectory prediction information.
[0009] In some embodiments, obtaining the ship trajectory within a preset time based on AIS data to generate a training data set and a prediction data set of the ship trajectory also includes:
[0010] Preprocessing the AIS data, wherein the preprocessing includes deleting abnormal AIS data;
[0011] Repair and supplement the missing values in the preprocessed AIS dataset.
[0012] In some embodiments, obtaining the ship trajectory within a preset time based on AIS data to generate a training data set and a prediction data set of the ship trajectory also includes:
[0013] The training data set and the prediction data set include at least one or more of the following: ship type, longitude, latitude, speed and heading.
[0014] In some embodiments, the trajectory prediction information includes: longitude and latitude after a preset time.
[0015] In a second aspect, an embodiment of the present application provides a ship trajectory prediction system, comprising:
[0016] An acquisition module is used to acquire ship trajectory information within a preset time based on AIS data to generate a training data set and a verification data set of the ship trajectory;
[0017] A construction module is used to construct a trajectory prediction model of a bidirectional gated recurrent neural network based on an efficient attention mechanism, and train the trajectory prediction model through the training data set and the verification data set;
[0018] The prediction module is used to input the ship trajectory information into a pre-trained trajectory prediction model to obtain the ship trajectory prediction information.
[0019] In some embodiments, the acquisition module is further configured to:
[0020] Preprocessing the AIS data, wherein the preprocessing includes deleting abnormal AIS data;
[0021] Repair and supplement the missing values in the preprocessed AIS dataset.
[0022] In some embodiments, the acquisition module further includes: the training data set and the prediction data set include at least one or more of the following: ship type, longitude, latitude, speed and heading.
[0023] In some embodiments, the trajectory prediction information includes: longitude and latitude after a preset time.
[0024] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the instruction, the program, the code set or the instruction set is loaded and executed by the processor to implement the ship trajectory prediction method of the above aspect.
[0025] In a fourth aspect, an embodiment of the present application provides a non-temporary computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of a computing device, enables the computing device to execute the ship trajectory prediction method of the first aspect above.
[0026] In summary, the present application discloses a ship trajectory prediction method, system, computing device and storage medium. Among them, the ship trajectory prediction method includes: obtaining ship trajectory information within a preset time based on AIS data to generate a training data set and a prediction data set for the ship trajectory; constructing a trajectory prediction model based on a bidirectional gated recurrent neural network with an efficient attention mechanism, and training the trajectory prediction model with the training data set; inputting the prediction data set into a pre-trained trajectory prediction model to obtain ship trajectory prediction information. This method can output a more accurate ship trajectory prediction result with higher real-time performance after inputting the ship trajectory information into a trajectory prediction model of a pre-constructed and trained bidirectional gated recurrent neural network. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0028] Figure 1 A flow chart of a ship trajectory prediction method provided in an embodiment of the present application;
[0029] Figure 2 A structural block diagram of a ship trajectory prediction system provided in an embodiment of the present application;
[0030] Figure 3 is a diagram of the internal structure of an electronic device in one embodiment;
[0031] Figure 4 This is a schematic diagram of the bidirectional gated recurrent unit architecture of the present application;
[0032] Figure 5 This is the architecture diagram of the attention mechanism of this application. DETAILED DESCRIPTION
[0033] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant disclosure, rather than to limit the disclosure. It should also be noted that, for ease of description, only the parts related to the disclosure are shown in the accompanying drawings.
[0034] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0035] The following describes a ship trajectory prediction method, system, computing device, and storage medium according to an embodiment of the present application in conjunction with the accompanying drawings.
[0036] Figure 1 is a flow chart of a ship trajectory prediction method according to an embodiment of the present application. Figure 1 As shown, a ship trajectory prediction method according to an embodiment of the present application includes the following steps:
[0037] S101. Obtaining ship trajectory information within a preset time based on AIS data to generate a training data set and a verification data set of the ship trajectory.
[0038] Specifically, AIS (Automatic Identification System) is an automatic tracking system on ships. The relevant driving information of each shipping ship can be obtained through the AIS device. Here, the ship track information within a preset time can be obtained through the ship information in AIS. Here, the ship track information is sorted to obtain a training data set for training the model and a prediction data set for inferring the ship's navigation track.
[0039] In some embodiments, obtaining the ship trajectory within a preset time based on AIS data to generate a training data set and a prediction data set of the ship trajectory also includes:
[0040] The training data set and the prediction data set include at least one or more of the following: ship type, longitude, latitude, speed and heading.
[0041] Specifically, the training data set and prediction data include at least: ship type Ship ID, longitude Long, latitude Lat, speed SOG and heading GOC, which are used to reflect the trajectory information of the ship within the predetermined time.
[0042] In some embodiments, obtaining the ship trajectory within a preset time based on AIS data to generate a training data set and a prediction data set of the ship trajectory also includes:
[0043] Preprocessing the AIS data, wherein the preprocessing includes deleting abnormal AIS data;
[0044] Repair and supplement the missing values in the preprocessed AIS dataset.
[0045] Specifically, the AIS data is preprocessed to delete abnormal AIS data, for example, data showing that the ship's speed is obviously overspeeding or other abnormal conditions, and data showing that the ship's position is on land or other abnormal conditions are deleted.
[0046] After cleaning the abnormal data, the missing value processing method is used to restore and correct the data. The real point position is determined by the time difference between two adjacent track points in the ship's navigation track sequence, so that the data set is as complete and true as possible. This method can avoid directly discarding or ignoring the AIS data of these missing data, resulting in the loss of valuable information. If the time interval of the AIS data of two adjacent track points is greater than 2 minutes, it is considered that there is missing data between the two track points and interpolation is required. The number of missing values that need to be interpolated is related to the time between adjacent track points. The larger the time interval between adjacent track points, the more positions need to be interpolated. Here, taking 10 minutes as an example, the missing values are interpolated for the positions with missing values.
[0047] Assume that the ship's navigation trajectory is:
[0048] Time series T = {t1, t2, t3, …, t i ,…,t n}, using Δt i To represent two adjacent time t i and t i+1 The time interval between i When it is greater than 20 minutes, it indicates a track point and There are missing values in the data, and missing value interpolation is required. The number of missing value interpolations
[0049] In addition, this method uses normalized data to compress the data into the range of [0, 1], eliminate the difference between dimensions, and weaken the impact of extremely large or extremely small data on the training results. The inverse normalization process is placed after the fully connected layer to map the predicted data back to the original dimension. This method can make AIS data better reflect the navigation trajectory of the ship.
[0050] S102: construct a trajectory prediction model of a bidirectional gated recurrent neural network based on an efficient attention mechanism, and train the trajectory prediction model using the training data set and the validation data set.
[0051] Specifically, a ship trajectory prediction model based on a bidirectional gated recurrent neural network with an efficient attention mechanism is constructed. The bidirectional gated recurrent unit BIGRU has two gating units: input gate and update gate, which are used to regulate the information flow inside the unit and control how much information to retain and how much information to keep. Figure 4As shown. The network model consists of two bidirectional gated recurrent unit output states in opposite directions, and both the forward and backward values are used as input when used. For example, the BiGRU recurrent neural network is used to capture the long sequence semantic connection of ship features, and then the features captured by BiGRU are put into the attention mechanism ECA to obtain the weight value of each feature, so that the feature value can be extracted through the multi-layer perceptron MLP to predict the position information of the ship after a preset time. The advantage of this method is that the output is closely related to the information of the previous moment and the next moment.
[0052] First, construct an efficient channel attention mechanism, such as Figure 5 As shown, the ECA module first uses a global average pooling (GAP) for each channel independently, and then uses two nonlinear fully connected layers (FC) to generate channel weights through the Sigmoid function. Two FC layers are used to capture nonlinear cross-channel interactions. Aggregate features are obtained after performing the GAP layer without dimensionality reduction, and channel weights are generated by performing a fast one-dimensional convolution of size k, where k is adaptively determined by the mapping of the channel dimension C, representing the coverage of local cross-channel interactions, that is, how many nearby channels participate in the attention prediction of this channel. The k value is adaptively determined and is proportional to the channel dimension.
[0053] Given the aggregated features without dimensionality reduction, we can express channel attention as follows:
[0054]
[0055] W k Involving K×C parameters, it avoids complete independence between different groups. i The weight calculation only considers y i The interaction between it and its k values.
[0056]
[0057] In order to further improve the performance, all channels can also share weight information, that is:
[0058]
[0059] According to the above formula, ECA realizes information interaction between channels through one-dimensional convolution with a convolution kernel size of K:
[0060] ω=σ(C1D k (y))
[0061] Here, C1D represents one-dimensional convolution. This method is called ECA module, which only involves K parameter information. This method of capturing cross-channel information interaction ensures performance results and model efficiency.
[0062] Then, an efficient channel attention learning mechanism is constructed.
[0063] The ECA module first uses a global average pooling (GAP) for each channel independently, and then uses two non-linear fully connected layers (FC) to generate channel weights through the Sigmoid function. Two FC layers are used to capture non-linear cross-channel interactions. Aggregate features are obtained after performing the GAP layer without dimensionality reduction, and channel weights are generated by performing fast one-dimensional convolutions of size k, where k is adaptively determined by the mapping of the channel dimension C, representing the coverage of local cross-channel interactions, that is, how many nearby channels participate in the attention prediction of this channel. The k value is adaptively determined and is proportional to the channel dimension.
[0064] Given the aggregated features y∈R without dimensionality reduction C , W k represents channel attention, where:
[0065]
[0066] W k Involving K×C parameters, it avoids complete independence between different groups. i The weight calculation only considers y i The interaction between it and its k values.
[0067]
[0068] In order to further improve the performance, all channels can also share weight information, that is:
[0069]
[0070] According to the above formula, ECA realizes information interaction between channels through one-dimensional convolution with a convolution kernel size of K:
[0071] ω=σ(C1D k (y))
[0072] Then, construct the loss function.
[0073] The trajectory characteristics of a ship include ship type, longitude, latitude, speed, and heading. Therefore, the trajectory characteristics of a ship at time t, Y(t), are expressed as:
[0074] Y(t)={Shiptype(t),LONG(t),LAT(t),SOG(t),GOC(t)}
[0075] In order to establish a prediction model for ship trajectory, the ship trajectory feature data Y(t-29), ..., Y(t-2), Y(t-1) and Y(t) at 30 consecutive moments are used as the input of the model, and the longitude and latitude of the trajectory data at time t+1 are used as the output. Then, the expression of the ship track prediction model Pre_Y(t+1) is:
[0076] Pre_Y(t+1)={LONG(t+1),SAT(t+1)}
[0077] Pre_Y(t+1)=f({Y(t-29),....,Y(t-2),Y(t-1),Y(t)})
[0078] The model uses MSE mean square error loss as the measurement standard and loss function, and the formula is:
[0079]
[0080] This completes the construction of the trajectory prediction model.
[0081] The ship trajectory information within the preset time is selected to generate a training set, and the ship trajectory information at the preset time and after the preset time is selected to generate a test set. The number of training sets and test sets is not limited here, and preferably 2,846,548 sets of training sets and 41,340 sets of test sets. The training set is thus input into the trajectory prediction model for training, and the prediction results of the trajectory prediction model are verified using the test set. The number of training times can be adjusted in time according to actual conditions. The preset time can be 30 minutes, that is, all ship trajectory information within 30 minutes generates a training set, and all ship trajectory information within 30 minutes and position information at 31 minutes are used as the test set of the results. The preset time can be adjusted in time according to the situation.
[0082] S103: inputting the ship trajectory information into a pre-trained trajectory prediction model to obtain ship trajectory prediction information.
[0083] Specifically, the ship trajectory information is input into a trained ship trajectory model to output the predicted ship trajectory.
[0084] In some embodiments, the trajectory prediction information includes: longitude and latitude after a preset time.
[0085] Specifically, the longitude and latitude after the preset time, that is, the ship's accuracy and latitude at the 31st minute, are output to determine the track information.
[0086] In summary, the present application discloses a ship trajectory prediction method, including: obtaining ship trajectory information within a preset time based on AIS data to generate a training data set and a prediction data set for the ship trajectory; constructing a trajectory prediction model based on a bidirectional gated recurrent neural network with an efficient attention mechanism, and training the trajectory prediction model with the training data set; inputting the prediction data set into a pre-trained trajectory prediction model to obtain ship trajectory prediction information. This method can output a more accurate ship trajectory prediction result with higher real-time performance after inputting the ship trajectory information into a trajectory prediction model of a pre-constructed and trained bidirectional gated recurrent neural network.
[0087] On the other hand, Figure 2 As shown, the embodiment of the application provides a ship trajectory prediction system 2000, including: an acquisition module 210, a construction module 220, and a prediction module 230.
[0088] An acquisition module 210 is used to acquire ship track information within a preset time based on AIS data to generate a training data set and a verification data set of the ship track;
[0089] A construction module 220 is used to construct a trajectory prediction model of a bidirectional gated recurrent neural network based on an efficient attention mechanism, and train the trajectory prediction model through the training data set and the verification data set;
[0090] The prediction module 230 is used to input the ship trajectory information into a pre-trained trajectory prediction model to obtain ship trajectory prediction information.
[0091] In some embodiments, the acquisition module is further configured to:
[0092] Preprocessing the AIS data, wherein the preprocessing includes deleting abnormal AIS data;
[0093] Repair and supplement the missing values in the preprocessed AIS dataset.
[0094] In some embodiments, the acquisition module further includes: the training data set and the prediction data set include at least one or more of the following: ship type, longitude, latitude, speed and heading.
[0095] In some embodiments, the trajectory prediction information includes: longitude and latitude after a preset time.
[0096] In summary, a ship trajectory prediction system disclosed in the present application uses a trajectory prediction model of a bidirectional gated recurrent neural network that is pre-built and trained. After inputting the ship trajectory information, it can output a more accurate ship trajectory prediction result with higher real-time performance.
[0097] For the several modules or units mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operating instructions of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the aforementioned module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, the boxes represented by two connections can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that executes the specified function or operating instruction, or can be implemented by a combination of dedicated hardware and computer instructions. The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in this application is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in this application.
[0099] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 3As shown. The electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for predicting the vulnerability of assets for security situation awareness is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0100] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0101] In one embodiment, the ship trajectory prediction system provided by the present application can be implemented in the form of a computer program. The computer program can be used in Figure 3 The electronic device shown in the figure is run. The memory of the electronic device can store various program modules constituting the ship trajectory prediction system.
[0102] The memory in the electronic device stores at least one instruction, at least one program, code set or instruction set, and the instruction, the program, the code set or the instruction set are loaded and executed by the processor to implement the underwater image optimization method according to any one of the above embodiments, for example, to implement a ship trajectory prediction method, including: acquiring ship trajectory information within a preset time based on AIS data to generate a training data set and a verification data set of the ship trajectory; constructing a trajectory prediction model of a bidirectional gated recurrent neural network based on an efficient attention mechanism, and training the trajectory prediction model through the training data set and the verification data set; inputting the ship trajectory information into a pre-trained trajectory prediction model to obtain ship trajectory prediction information.
[0103] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining ship trajectory information within a preset time based on AIS data to generate a training data set and a verification data set of the ship trajectory; constructing a trajectory prediction model based on a bidirectional gated recurrent neural network with an efficient attention mechanism, and training the trajectory prediction model with the training data set and the verification data set; inputting the ship trajectory information into a pre-trained trajectory prediction model to obtain ship trajectory prediction information.
[0104] In one embodiment, a computer program product is provided. When the instructions in the computer program product are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform the following steps: acquiring ship trajectory information within a preset time based on AIS data to generate a training data set and a verification data set of the ship trajectory; constructing a trajectory prediction model based on a bidirectional gated recurrent neural network with an efficient attention mechanism, and training the trajectory prediction model with the training data set and the verification data set; inputting the ship trajectory information into a pre-trained trajectory prediction model to obtain ship trajectory prediction information.
[0105] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).
[0106] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0107] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0108] Unless otherwise defined, the technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art in the technical field of the present invention. The terms used herein are only for describing specific implementation purposes and are not intended to limit the present invention. Terms such as "setting" and the like appearing in this article can mean that one component is directly attached to another component, or that one component is attached to another component through an intermediate. Features described in this article in one embodiment may be applied to another embodiment alone or in combination with other features, unless the feature is not applicable in the other embodiment or otherwise specified.
[0109] The present invention has been described through the above-mentioned embodiments, but it should be understood that the above-mentioned embodiments are only for the purpose of example and illustration, and are not intended to limit the present invention to the described embodiments. It can be understood by those skilled in the art that more variations and modifications can be made according to the teachings of the present invention, and these variations and modifications all fall within the scope of the protection claimed by the present invention.
Claims
1. A ship trajectory prediction method, characterized in that: include: Based on AIS data, ship trajectory information within a preset time is obtained to generate training data sets and verification data sets of ship trajectories; Constructing a trajectory prediction model of a bidirectional gated recurrent neural network based on an efficient attention mechanism, and training the trajectory prediction model using the training data set and the validation data set; The ship trajectory information is input into a pre-trained trajectory prediction model to obtain ship trajectory prediction information.
2. The ship trajectory prediction method according to claim 1, characterized in that: Based on AIS data, the ship trajectory within a preset time is obtained to generate a training data set and a prediction data set of the ship trajectory, which also includes: Preprocessing the AIS data, wherein the preprocessing includes deleting abnormal AIS data; Repair and supplement the missing values in the preprocessed AIS dataset.
3. The ship trajectory prediction method according to claim 1, characterized in that: Based on AIS data, the ship trajectory within a preset time is obtained to generate a training data set and a prediction data set of the ship trajectory, which also includes: The training data set and the prediction data set include at least one or more of the following: ship type, longitude, latitude, speed and heading.
4. The ship trajectory prediction method according to claim 1, characterized in that: The trajectory prediction information includes: longitude and latitude after a preset time.
5. A ship trajectory prediction system, characterized in that: include: An acquisition module is used to acquire ship trajectory information within a preset time based on AIS data to generate a training data set and a verification data set of the ship trajectory; A construction module is used to construct a trajectory prediction model of a bidirectional gated recurrent neural network based on an efficient attention mechanism, and train the trajectory prediction model through the training data set and the verification data set; The prediction module is used to input the ship trajectory information into a pre-trained trajectory prediction model to obtain the ship trajectory prediction information.
6. The ship trajectory prediction system according to claim 5, characterized in that: Get module, also used for: Preprocessing the AIS data, wherein the preprocessing includes deleting abnormal AIS data; Repair and supplement the missing values in the preprocessed AIS dataset.
7. The ship trajectory prediction system according to claim 5, characterized in that: The acquisition module also includes: the training data set and the prediction data set include at least one or more of the following: ship type, longitude, latitude, speed and heading.
8. The ship trajectory prediction system according to claim 5, characterized in that: The trajectory prediction information includes: longitude and latitude after a preset time.
9. An electronic device, characterized in that: It includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the instruction, the program, the code set or the instruction set is loaded and executed by the processor to implement a ship trajectory prediction method according to any one of claims 1 to 4.
10. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is enabled to execute the ship trajectory prediction method according to any one of claims 1-4.
Citation Information
Cited By
Track prediction method, system and equipment based on surveying vessel, medium and product
CN120628059A
