Oceangoing freighter track identification supervision system, operation equipment and storage medium
Through modular data collection and feature engineering processing, combined with the XGBoost regression model, the problem of data dynamics and complexity in ocean freighter track identification and supervision has been solved, efficient and accurate track supervision and abnormal status detection have been achieved, and significantly improved Regulatory efficiency and effectiveness.
Patent Information
- Application Number
- CN202410652479.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing ocean freighter track identification and supervision technology is difficult to effectively handle the dynamics and complexity of track data, resulting in low identification efficiency and inaccurate identification results, and failure to detect and handle abnormal situations in a timely manner.
The modular data acquisition system, data processing module, feature engineering module and XGBoost regression model are used to improve the efficiency and accuracy of track supervision through accurate data collection, feature engineering processing and abnormal status detection. Specifically, it includes a combination of data reception, database, feature extraction, vector representation and XGBoost regression model, which is used to monitor abnormal conditions of ships and trigger alarms.
It significantly improves the efficiency of data processing and the accuracy of track identification, can detect and handle abnormal conditions in a timely manner, and improves the effect and efficiency of track supervision.
Smart Images

Figure CN118536005A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cargo ship track identification and supervision, and in particular to an ocean-going cargo ship track identification and supervision system, operating equipment and storage medium. Background Art
[0002] With the development of globalization, maritime transport, as an important part of global trade, is also growing in scale and complexity. As the main carrier of maritime transport, the track information of ocean-going cargo ships is of great value to shipping companies, customs, maritime administration departments and other parties. For example, shipping companies can optimize routes and improve transportation efficiency by analyzing track information; customs can detect and combat smuggling activities by monitoring track information; and maritime administration departments can track track information to promptly detect and handle maritime accidents.
[0003] However, due to the vast ocean, the large number of ships, and the complex track information, it is a very challenging task to effectively collect, identify, and monitor the tracks of ocean-going cargo ships. Traditional track monitoring methods mainly rely on manual work, which is inefficient, error-prone, and difficult to cope with large-scale track data. In addition, since track information contains a variety of information such as the ship's position, speed, and heading, how to extract useful features from this information to facilitate machine learning models to perform efficient track identification and anomaly detection is also a major challenge.
[0004] In the field of ocean-going cargo ship track identification and supervision, some research based on deep learning and data mining has achieved certain results. However, most of the existing technologies have the following problems: they do not fully consider the dynamic and complex characteristics of track data, ignore the timely detection and treatment measures of abnormal tracks, tend to make logical judgments based on the most recent track data, ignore other historical track data, resulting in inaccurate identification results caused by insufficient data, and fail to consider the differences in the degree of impact caused by different types of abnormal situations. Summary of the invention
[0005] The present invention provides an ocean-going cargo ship track identification and supervision system, operating equipment, and storage medium, the purpose of which is to improve the efficiency and accuracy of ship track supervision through precise data collection, feature engineering processing, and abnormal state detection.
[0006] The present invention specifically provides the following technical solutions: A track identification and monitoring system for ocean-going cargo ships, comprising the following modules:
[0007] S1: A modular data acquisition system configured to collect latitude, longitude, heading angle, speed and altitude information of ocean-going cargo ships;
[0008] S2: Data processing module, responsible for cleaning and formatting the collected track information, and then storing it in the distributed database of the supervision system. The database records the historical and real-time tracks of the ship and monitors the abnormal conditions of the ship;
[0009] S3: Feature engineering module, designed to analyze the potential correlation between the cargo volume of a ship and its speed and heading. Through a trajectory sequence encoding method, it describes the dynamic information of the trajectory and the connection between each point passed by the ocean-going freighter.
[0010] S4: vector representation submodule, including DNN encoding based on Word2Vec and Node2Vec, where Word2Vec is used for vector representation and Node2Vec is used to construct vector representations of the locations passed by the ocean freighter as "points" and the relationships between the locations as "edges";
[0011] S5: XGBoost regression model, the heading, location information and feature engineering indicators of the ocean-going freighter are input into the model to obtain the estimated cargo information of the ocean-going freighter, and compared with the normal status and application status, so as to trigger an alarm and perform a visual display when a status difference is found.
[0012] As a preferred technical solution of the present invention, the modular data acquisition system specifically includes:
[0013] Data receiving module: configured to collect ship track data from data sources such as ship-borne GPS system, ship automatic identification system, and radar system; can process various data formats and adapt to different data transmission protocols and network environments; contains data processing functions for outlier detection, data formatting, and data verification; designed as a modular structure, allowing data sources to be dynamically added or removed according to system requirements and load conditions; collaborates with the database module to achieve real-time collection and transmission of new track data and update and correction of old track data;
[0014] Database module: designed as a high-reliability, high-concurrency, distributed database system for storing and managing track data cleaned and formatted by the data processing module; supports data redundancy and backup strategies to ensure data integrity in the event of hardware failure or system crash; supports data query and analysis operations including time series analysis, geospatial query, and pattern recognition; designed as a modular structure to allow database nodes to be dynamically added or removed based on system requirements and load conditions; collaborates with the data receiving module and the data processing module to ensure real-time reception and storage of new track data, as well as updating and correction of old track data.
[0015] As a preferred technical solution of the present invention, the feature engineering module specifically consists of the following parts:
[0016] Feature extraction module: It is configured to extract features from the original track data. The specific operations include statistical analysis of the ship's longitude and latitude sequence and application of a track sequence encoding method based on Geohash encoding, directly using the grid code that the ship's longitude and latitude fall into to replace the original longitude and latitude. It also includes full set and down-sampling feature extraction of the track sequence after Geohash encoding, where the statistical analysis includes mean, variance, quantile, and mode operations;
[0017] Feature encoding module: responsible for encoding the extracted features and converting them into a format suitable for machine learning model processing. The operations involved include encoding the ship's position information into coordinates in the geographic coordinate system, encoding the ship's speed information into numerical form, and using a gradient-based encoding method to capture the relative change of the position. The specific calculation formula is:
[0018]
[0019] Among them, f(x) represents the calculation function of the ship's latitude and longitude, heading angle, and altitude at time x, and h represents the time interval, which is used to adjust the accuracy and computational complexity of the gradient calculation. is the gradient value, O(h 2 ) indicates that when h is selected appropriately, the relevant accuracy can meet the functional requirements, and the h value is 0.5-2s;
[0020] Feature selection module: performs the operation of selecting the most useful features from the extracted and encoded features. The feature selection methods used include feature selection based on information gain, based on correlation coefficient, and based on embedded methods.
[0021] As a preferred technical solution of the present invention, the vector representation submodule specifically uses the following process to complete the vector representation extraction:
[0022] T1: For the word w obtained by Geohash encoding and its context c, maximize the conditional probability P(c|w). The conditional probability is calculated by the word vector through the softmax function. The specific calculation formula is:
[0023]
[0024] Among them, v c and v w are the vector representations of the context word c and word w, respectively. V is the size of the vocabulary, c′ represents the word in the vocabulary, and V c′ is the vector representation of c′, each word is represented by a vector, and the word vector is learned during model training; the parameters in step T1 are learned by maximizing the log-likelihood function of all words. The specific calculation formula is:
[0025]
[0026] Where Z is the length of the sentence and m is the size of the context window;
[0027] T2: For the word frequency of geographic features, a text processing and analysis method based on word frequency-inverse document frequency is used to improve the efficiency of processing large-scale word frequency vectors. The specific calculation process is as follows:
[0028] T2-1: Define the calculation method of term frequency and inverse document frequency, where TF stands for term frequency and IDF stands for inverse document frequency. The specific calculation formula is:
[0029]
[0030]
[0031] Among them, f t,d is the frequency of word t in document d, the denominator is the sum of the frequencies of all words in document d, |D| is the size of the document set, and the denominator is the number of documents containing word t;
[0032] T2-2: TF-IDF value of word t in document d as product:
[0033] TFIDF(t,d,D)=TF(t,d)·IDF(t,D)
[0034] T3: For the obtained word frequency matrix, further use singular value decomposition to reduce the dimension. The specific calculation formula is: For the word frequency matrix A, the calculation formula is: A=UΣV T , where U is an m×n orthogonal matrix, V is an m×n orthogonal matrix, Σ is an m×n diagonal matrix, and the elements on the diagonal are the singular values of A; in dimensionality reduction, only the largest 60 singular values are retained to obtain an approximate low-rank matrix A k , Among them U k and V k are the first 60 columns of U and V, Σ k are the first 60 diagonal elements of Σ.
[0035] As a preferred technical solution of the present invention, the XGBoost regression model processes input data, specifically comprising the following steps:
[0036] U1: Input the time-varying features and the original data of ocean-going cargo ships into the XGBoost regression model;
[0037] U2: Build an XGBoost regression model. The model formula is as follows:
[0038]
[0039]
[0040]
[0041] Among them, O(θ) represents the objective function; θ represents the parameter variable of the regression model; represents the loss function, which represents the difference between the true value and the predicted value; δ represents the threshold; y represents the actual cargo volume; represents the predicted cargo capacity; Ω(G,w) represents the regularization term; G represents the number of weight parameters of the base learner; ||w|| represents the modulus of the output result of the base learner; γ and λ represent the number of weight parameters of the base learner and the regularization parameter of the modulus of the output result of the base learner, respectively.
[0042] An operating device, the operating device includes an abnormal state detection module, an alarm module and a visualization module, wherein the abnormal state detection module is responsible for real-time monitoring of the difference between the cargo volume of a ship and the declared value, and whether there is an abnormality in the navigation status of the ship; the alarm module sends alarm information to relevant personnel through authority grouping settings; the visualization module is responsible for displaying the ship's track information and abnormal state information in the form of a data wall; the abnormal state detection module, the alarm module and the visualization module together constitute the operating environment for executing the ocean-going cargo ship track identification and supervision system.
[0043] A computer-readable and writable storage medium stores corresponding database instructions. When the instructions are executed on a device, an abnormal state detection module, an alarm module and a visualization module perform the functions of an ocean-going cargo ship track identification and supervision system.
[0044] Compared with the prior art, the present invention has the following advantages:
[0045] Improve data processing efficiency: By introducing a modular data acquisition system and an automated data processing process, the present invention significantly improves the efficiency of data acquisition and processing. Compared with the traditional manual data acquisition and processing method, the present invention can process more track data in a shorter time. Experiments have shown that the data processing speed has increased by more than 30%, greatly improving the efficiency of track supervision.
[0046] Improve track recognition accuracy: By introducing advanced feature engineering techniques such as Word2Vec, TF-IDF and SVD, the present invention effectively extracts and encodes the key features of track data. Compared with traditional feature extraction and encoding methods, the present invention can more accurately characterize the dynamic behavior and track pattern of ships. Experiments have shown that the accuracy of track recognition has increased by 15%.
[0047] Improve the efficiency of abnormal state monitoring: The present invention can timely discover and handle the abnormal state of the ship by real-time monitoring the difference between the cargo volume of the ship and the declared value. Compared with the traditional periodic monitoring method, the present invention can discover abnormal states faster. Experiments have shown that the speed of discovering and handling abnormal states has increased by 50%.
[0048] Improve the effect of track supervision: Through accurate data collection, feature engineering processing and abnormal state detection, the present invention can effectively supervise the track of ships, timely discover and deal with abnormal situations, and assist law enforcement agencies in combating smuggling, pirate intrusions and other behaviors in accordance with the law. Experiments have shown that the use of the track supervision system of the present invention can significantly improve the effect of track supervision and effectively maintain the order and safety of maritime traffic. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a flow chart of the present invention;
[0050] Figure 2 This is a schematic diagram of the accuracy of sub-category recognition of the present invention;
[0051] Figure 3 A schematic diagram of identifying an abnormal flight path of the present invention;
[0052] Figure 4 This is a schematic diagram for identifying the ship model of the present invention. DETAILED DESCRIPTION
[0053] The present invention is further described below in conjunction with the accompanying drawings and examples. However, the present invention can be implemented in many different ways and should not be construed as being limited to the embodiments shown; on the contrary, these embodiments provide those skilled in the art with implementation methods that meet applicable legal requirements.
[0054] Example 1: The present invention discloses an ocean-going cargo ship supervision and identification method, system, device and medium, which provides an incrementally trained cargo capacity identification model, and the design integrates track acquisition, data cleaning, data storage, feature extraction, visualization display and abnormal alarm. Figure 1 and Figure 2 As shown, the present invention provides a supervision and identification system for ocean-going cargo ships, comprising the following steps:
[0055] Step 1: Collect ship track data through multiple data sources, including but not limited to shipborne GPS system, ship automatic identification system (AIS), radar system, etc.
[0056] Step 2: Deeply clean the collected data, including outlier detection and processing to prevent erroneous data from polluting the database; data formatting, converting data in various formats into a unified data model for easy storage and query; and data verification, checking the integrity and consistency of the data.
[0057] Step 3: construct features for the data stored in the database, using a coding method for the trajectory sequence based on Geohash coding. Geohash coding is a method of splitting a map into rectangular grids. When the longitude and latitude of a ship fall into a certain grid, the present invention uses the code of the grid instead of the longitude and latitude. The trajectory sequence after Geohash coding is extracted by both full set and downsampling. At the same time, in order to obtain the relative position, the present invention adopts a gradient-based coding method, which is expressed as follows:
[0058]
[0059] Among them, f(x) represents the calculation function of the ship's latitude and longitude, heading angle, and altitude at time x, and h represents the time interval, which is used to adjust the accuracy and computational complexity of the gradient calculation. is the gradient value, O(h 2 ) indicates that when h is selected appropriately, the present invention recommends that the h value be between 0.5s and 2s, and the relevant accuracy can meet the functional requirements;
[0060] Then, Word2Vec, TF-IDF and SVD are used to extract deep features of the track data and construct deep hidden features. For the word w. obtained by Geohash encoding and its context c, the purpose of this model is to maximize the conditional probability P(c|w), which is calculated by the word vector through the softmax function:
[0061]
[0062] Among them, v c and v w are the vector representations of the context word c and word w, respectively. V is the size of the vocabulary. c′ represents the words in the vocabulary. v c′ is the vector representation of c′, each word is represented by a vector, and the word vector is learned during model training. The parameters of this model are learned by maximizing the log-likelihood function of all words:
[0063]
[0064] Where Z is the length of the sentence and m is the size of the context window.
[0065] For the word frequency of geographic features, the present invention adopts a text processing and analysis method based on word frequency-inverse document frequency (TF-IDF) to improve the efficiency of processing large-scale word frequency vectors. First, the calculation method of word frequency (TF) and inverse document frequency (IDF) is defined. Word frequency is the frequency of a word appearing in a document. Its calculation formula is:
[0066]
[0067] Among them, f t,d is the frequency of word t in document d, and the denominator is the sum of the frequencies of all words in document d.
[0068] Inverse Document Frequency (IDF) is a measure of the importance of a word in a document collection. Its calculation formula is:
[0069]
[0070] Where |D| is the size of the document collection and the denominator is the number of documents containing the word t.
[0071] Then, the TF-IDF value of word t in document d is their product:
[0072] TFIDF(t,d,D)=TF(t,d)·IDF(t,D)
[0073] For obtaining the word frequency matrix, the present invention further uses SVD (singular value decomposition) to reduce the dimension so as to improve the real-time performance of reasoning.
[0074] For the word frequency matrix A, the present invention defines:
[0075] A=UΣV T
[0076] Among them, U is an m×n orthogonal matrix, V is an m×n orthogonal matrix, Σ is an m×n diagonal matrix, and the elements on the diagonal are the singular values of A.
[0077] In the dimensionality reduction, the present invention only retains the largest 60 singular values, so that an approximate low-rank matrix A can be obtained. k ,in U k and V k are the first 60 columns of U and V respectively, ∑ k It is the first 60 diagonal elements of ∑. This can effectively reduce the dimension of the data while retaining the main features of the original data. The present invention uses SVD to reduce the high-dimensional word frequency vector generated by TF-IDF to improve processing efficiency and accuracy.
[0078] Step 4: The present invention uses a feature selection method module, feature selection based on information gain, feature selection based on correlation coefficient, feature selection based on embedded method, etc. Through feature selection, the complexity of the model is reduced, the generalization ability of the model is improved, and overfitting is prevented.
[0079] Step 5: Input the selected feature engineering into xgboost to build the XGBoost regression model, as shown below:
[0080]
[0081]
[0082]
[0083] Among them, O(θ) represents the objective function; θ represents the parameter variable of the regression model; represents the loss function, which represents the difference between the true value and the predicted value; δ represents the threshold; y represents the actual cargo volume; represents the predicted cargo capacity; Ω(G,w) represents the regularization term; G represents the number of weight parameters of the base learner; ||w|| represents the modulus of the output result of the base learner; γ and λ represent the number of weight parameters of the base learner and the regularization parameter of the modulus of the output result of the base learner, respectively.
[0084] Step 6: Real-time monitoring of the difference between the cargo volume of the ship and the declared value, such as Figure 3 As shown, category 1 is an abnormal ship. It receives the ship features from the feature engineering module and the ship declaration information from the database module, and determines whether the ship is in an abnormal state by comparing the differences between the two. When an abnormal state is detected, the module will trigger an alarm to remind relevant personnel to handle it. The abnormal state detection module can use various anomaly detection algorithms, including but not limited to statistical anomaly detection algorithms, clustering-based anomaly detection algorithms, classification-based anomaly detection algorithms, etc.
[0085] Step 7: Display the classification and recognition status of the image in the visual interface. When further data analysis is needed, the data in the historical database can be called up to trace back the abnormal status and mark the data to re-influence the establishment of the classification tree and continuously improve the recognition accuracy.
[0086] According to the implementation process, the application steps of the present invention in a practical scenario are as follows:
[0087] 1. First, the ship's speed, heading angle, altitude, longitude and latitude and other information are obtained through the ship's onboard GPS, and the data is cleaned and formatted. The processed data is stored in the distributed database of the supervision system to record the ship's historical and real-time tracks and monitor abnormal conditions of the ship.
[0088] 2. Then, through feature engineering, the potential correlation between the ship's cargo capacity and speed and heading is analyzed, and a composite vector encoding based on trajectory sequence and relative position is designed to further characterize the dynamic information of the track and the connection between each point passed by the ocean-going freighter. DNN encoding based on Word2Vec and Node2Vec is used, and Word2Vec is used for vector representation; the places where the ocean-going freighter passes are constructed as "points", and the relationship between different places is constructed as "edges", and Node2Vec is used for vector representation.
[0089] 3. For the word frequency of geographic features, the present invention adopts a text processing and analysis method based on word frequency-inverse document frequency (TF-IDF) to improve the efficiency of processing large-scale word frequency vectors. Then, the TF-IDF value of word t in document d is their product. For obtaining the word frequency matrix, the present invention further uses SVD (singular value decomposition) to reduce the dimension to improve the real-time performance of reasoning.
[0090] 4. Input the selected feature engineering into XGBoost with the parameters in Table 1, build an XGBoost regression model, obtain the cargo estimation information of ocean-going cargo ships, compare it with the normal status and application status, and issue an alarm after obtaining the status difference and perform a visual display.
[0091] Table 1: Hyperparameters of classification trees
[0092] parameter Numeric Number of leaf nodes 63 Feature sampling ratio 0.8 Data sampling ratio 0.8 Data sampling frequency 5 Minimum data of leaf node 2
[0093] 5. Real-time monitoring of the difference between the cargo volume of the ship and the declared value, such as Figure 3 and Figure 4 As shown, category 1 is an abnormal ship. It receives the ship features from the feature engineering module and the ship declaration information from the database module, and determines whether the ship is in an abnormal state by comparing the differences between the two. When an abnormal state is detected, the module will trigger an alarm to remind relevant personnel to handle it. The abnormal state detection module can use various anomaly detection algorithms, including but not limited to statistical anomaly detection algorithms, clustering-based anomaly detection algorithms, classification-based anomaly detection algorithms, etc.
[0094] The above embodiments only express the implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention.
Claims
1. A track identification and monitoring system for ocean-going cargo ships. It is characterized in that The system includes: S1: Modular data acquisition system, responsible for collecting the longitude and latitude, heading angle, speed and altitude information of ocean-going cargo ships; S2: Data processing module, responsible for cleaning and formatting the collected track information, and then storing it in the distributed database of the supervision system. The database records the historical and real-time tracks of the ship and monitors the abnormal conditions of the ship; S3: Feature engineering module, designed to analyze the potential correlation between ship cargo capacity and speed and heading, and to characterize the dynamic information of the trajectory and the connection between key track points of ocean-going cargo ships through a trajectory sequence encoding method; S4: vector representation submodule, including DNN encoding based on Word2Vec and Node2Vec, where Word2Vec is used for vector representation and Node2Vec is used to construct vector representations of the locations where the ocean freighter passes as "points" and the relationships between the locations as "edges"; S5: XGBoost regression model, the heading, location information and feature engineering indicators of the ocean-going freighter are input into the model to obtain the estimated cargo information of the ocean-going freighter, and compare it with the normal status and application status, so as to trigger an alarm and perform a visual display when a status difference is found.
2. A track identification and monitoring system for ocean-going cargo ships according to claim 1, It is characterized in that The modular data acquisition system specifically includes: Data receiving module: collects ship track data from the data sources of the ship-borne GPS system, ship automatic identification system, and radar system; can process various data formats and adapt to different data transmission protocols and network environments; contains data processing functions for outlier detection, data formatting, and data verification; is designed as a modular structure, allowing data sources to be dynamically added or removed according to system requirements and load conditions; collaborates with the database module to achieve real-time collection and transmission of new track data and update and correction of old track data; Database module: Design a high-reliability, high-concurrency, distributed database system to store and manage the track data cleaned and formatted by the data processing module; support data redundancy and backup strategies to ensure data integrity in the event of hardware failure or system crash; support data query and analysis operations including time series analysis, geospatial query, and pattern recognition; designed as a modular structure to allow database nodes to be dynamically added or removed based on system requirements and load conditions; collaborate with the data receiving module and the data processing module to ensure the real-time reception and storage of new track data, as well as the updating and correction of old track data.
3. The ocean-going cargo ship track identification and monitoring system according to claim 1, It is characterized in that The feature engineering module specifically consists of the following parts: Feature extraction module: It is configured to extract features from the original track data. The specific operations include performing statistical analysis on the ship's longitude and latitude sequence and applying a trajectory sequence encoding method based on Geohash encoding, directly using the grid code where the ship's longitude and latitude fall to replace the original longitude and latitude. In addition, it also includes performing full set and down-sampling feature extraction on the trajectory sequence after Geohash encoding, where the statistical analysis includes mean, variance, quantile, and mode operations; Feature encoding module: responsible for encoding the extracted features and converting them into a format suitable for processing by machine learning models. The operations involved include encoding the ship's position information into coordinates in the geographic coordinate system, encoding the ship's speed information into numerical form, and using a gradient-based encoding method to capture the relative change of the position. The specific calculation formula is: Among them, f(x) represents the calculation function of the ship's latitude and longitude, heading angle, and altitude at time x, and h represents the time interval, which is used to adjust the accuracy and computational complexity of the gradient calculation. is the gradient value, O(h 2 ) indicates that when h is selected appropriately, the relevant accuracy can meet the functional requirements, and the h value is 0.5s-2s; Feature selection module: performs the operation of selecting the most useful features from the extracted and encoded features. The feature selection methods used include feature selection based on information gain, based on correlation coefficient, and based on embedded methods.
4. The ocean-going cargo ship track identification and monitoring system according to claim 1, It is characterized in that The vector representation submodule specifically uses the following process to complete the vector representation extraction: T1: For the word w obtained by Geohash encoding and its context c, maximize the conditional probability P(c|w). The conditional probability is calculated by the word vector through the softmax function. The specific calculation formula is: Among them, v c and v w are the representations of context words c and word w, respectively. V is the size of the vocabulary. c′ represents the words in the vocabulary. V c′ is the vector representation of c′, each word is represented by a vector, and the word vector is learned during model training; the parameters in step T1 are learned by maximizing the log-likelihood function of all words. The specific calculation formula is: Where Z is the length of the sentence and m is the size of the context window; T2: For the word frequency of geographic features, a text processing and analysis method based on word frequency-inverse document frequency is used to improve the efficiency of processing large-scale word frequency vectors. The specific calculation process is as follows: T2-1: Define the calculation method of term frequency and inverse document frequency, where TF stands for term frequency and IDF stands for inverse document frequency. The specific calculation formula is: Among them, f t,d is the frequency of word t in document d, the denominator is the sum of the frequencies of all words in document d, |D| is the size of the document set, and the denominator is the number of documents containing word t; T2-2: TF-IDF value of word t in document d as product: TFIDF(t,d,D)=TF(t,d)·IDF(t,D) T3: For the word frequency matrix, the singular value decomposition is further used to reduce the dimension. The specific calculation formula is: For the word frequency matrix A, the calculation formula is: A = UΣV T , where U is an m×n orthogonal matrix, V is an m×n orthogonal matrix, Σ is an m×n diagonal matrix, and the elements on the diagonal are the singular values of A; In dimensionality reduction, only the largest 60 singular values are retained to obtain an approximate low-rank matrix A k , Among them U k and V k are the first 60 columns of U and V, Σ k are the first 60 diagonal elements of Σ.
5. The ocean-going cargo ship track identification and monitoring system according to claim 1, It is characterized in that The XGBoost regression model processes input data, specifically including the following steps: U1: Input the time-varying features and the original data of ocean-going cargo ships into the XGBoost regression model; U2: Build an XGBoost regression model. The model formula is as follows: Among them, O(θ) represents the objective function; θ represents the parameter variable of the regression model; represents the loss function, which represents the difference between the true value and the predicted value; δ represents the threshold; y represents the actual cargo volume; represents the predicted cargo capacity; Ω(G,w) represents the regularization term; G represents the number of weight parameters of the base learner; ||w|| represents the modulus of the output result of the base learner; γ and λ represent the number of weight parameters of the base learner and the regularization parameter of the modulus of the output result of the base learner, respectively.
6. A running device, It is characterized in that The operating equipment includes an abnormal state detection module, an alarm module and a visualization module, wherein the abnormal state detection module is responsible for real-time monitoring of the difference between the ship's cargo capacity and the declared value, and whether there is any abnormality in the ship's navigation status; the alarm module sends alarm information to relevant personnel through authority group settings; the visualization module is responsible for displaying the ship's track information and abnormal state information in the form of a data wall; the abnormal state detection module, the alarm module and the visualization module together constitute the operating environment of the ocean-going freighter track identification and supervision system as described in any one of claims 1-5.
7. A computer-readable and writable storage medium, It is characterized in that Corresponding database instructions are stored, and when the instructions are executed on the device described in claim 6, the abnormal state detection module, the alarm module and the visualization module perform the functions of the ocean-going freighter track identification and supervision system described in any one of claims 1-5.
Citation Information
Patent Citations
Machine learning model training method and device
CN106548210A
Ship trajectory prediction method based on machine learning and AIS data
CN113283653A
Semantic feature vector-based fishing boat type identification method
CN114155446A
Abnormal navigation vessel identification device and method
JP2021072077A
Cited By
Ship damage management synchronous visualization method and platform
CN119513384A
Large-screen logistics data dynamic display method, system and device and storage medium
CN120705209A
Radar and GPS track data processing and clustering method based on DBSCAN
CN122220913A
