Deployment method and device of ship navigation model, electronic equipment and storage medium
By training a lightweight navigation model in the cloud and deploying it on the ship, the issues of timely decision-making and data security in autonomous ship navigation were resolved. This enabled end-to-cloud collaboration, improved model adaptability and performance, and ensured data security.
Patent Information
- Application Number
- CN202510888981.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-11-18
AI Technical Summary
Existing technologies are insufficient for timely decision-making and data security and privacy protection during autonomous ship navigation, and existing edge-cloud collaboration models are not suitable for the shipbuilding industry.
By differentiating ship types, sizes, and equipment lists, a basic navigation model is trained in the cloud, and then deployed and transferred to the target ship in a lightweight manner to achieve end-to-cloud collaboration, match the most suitable basic navigation model, and update the model through gradient aggregation.
It improves the model's adaptability and performance, reduces data transmission, alleviates bandwidth pressure, ensures data security and privacy, and supports the safe and efficient navigation of ships.
Smart Images

Figure CN120980098A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of ship navigation, and particularly relates to a ship navigation model deployment method, a ship navigation model deployment device, an electronic device, and a computer readable storage medium. BACKGROUND
[0002] With the continuous progress of shipborne equipment software and hardware technology, the cost of computing power chips has been significantly reduced, and the development of large language models and artificial intelligence (AI) technology has been booming. Ship autonomous navigation has the conditions to be realized in the technical level. However, in actual application, there are still many challenges. On the one hand, in order to ensure the timeliness of autonomous navigation, the decision-making delay needs to be controlled within a few seconds, but the navigation decision depends on a large amount of data, covering multi-dimensional information such as ship state and navigation environment. On the other hand, the original data of the ship contains a large amount of sensitive private information, which is easy to cause the ship owner's concern about safety and privacy. In addition, the communication bandwidth between the ship and the shore is limited. If the ship-side mass data is reported to the shore for driving decision reasoning, it is not only unrealistic, but also seriously affects the timeliness of the decision due to data transmission delay and other problems.
[0003] Although the end-cloud collaboration mode of the Internet mobile terminal has some similarities with ship autonomous navigation, due to the particularity and complexity of ship navigation, it cannot be completely applied to the ship autonomous navigation scene. Therefore, the ship navigation model deployment suitable for the cloud-end and ship-end collaboration in the ship field is a technical problem to be solved. SUMMARY
[0004] The present application aims to at least solve one of the technical problems existing in the prior art. To this end, the present application provides a ship navigation model deployment method, device, electronic device and storage medium.
[0005] In a first aspect, an embodiment of the present application provides a ship navigation model deployment method, comprising:
[0006] determining a plurality of characteristic ship sets, and obtaining ship data of the characteristic ship sets; wherein each characteristic ship set includes a plurality of ships with the same characteristics;
[0007] training an initial navigation model based on the ship data of the plurality of characteristic ship sets to obtain a plurality of basic navigation models;
[0008] in response to receiving a model request of a target ship, determining a basic navigation model matched with the target ship from the plurality of basic navigation models as a target basic navigation model according to ship data of the target ship;
[0009] deploying the target basic navigation model to the target ship, so that the target ship trains the target basic navigation model based on ship-side data to obtain a target collaborative navigation model.
[0010] In some embodiments, the ship data of the feature ship set comprises at least one of ship driving data, ship situation data and operation data.
[0011] In some embodiments, after obtaining the ship data of the feature ship set, the method further comprises:
[0012] Converting the ship data of the feature ship set into a preset format to obtain a ship data sequence; wherein the ship data in the ship data sequence is sorted according to a time sequence.
[0013] In some embodiments, training the initial navigation model based on the ship data of the plurality of feature ship sets to obtain a plurality of basic navigation models comprises:
[0014] For each feature ship set, training the initial navigation model based on the ship data of the feature ship set using a deep learning algorithm to obtain a basic navigation model.
[0015] In some embodiments, determining, according to the ship data of the target ship, a basic navigation model matched with the target ship from the plurality of basic navigation models as a target basic navigation model comprises:
[0016] Determining, according to the ship data of the target ship, ship type data, ship size data and ship equipment data of the target ship;
[0017] Determining, according to the ship type data, the ship size data and the ship equipment data, a basic navigation model matched with the target ship from the plurality of basic navigation models as a target basic navigation model.
[0018] In some embodiments, deploying the target basic navigation model to the target ship comprises:
[0019] Performing lightweight processing on the target basic navigation model, and deploying the lightweight processed target basic navigation model to the target ship.
[0020] In some embodiments, the method further comprises:
[0021] Obtaining a plurality of target cooperative navigation models fed back by the target ships, and determining gradients of the target cooperative navigation models; wherein the target cooperative navigation model is obtained by the target ship through transfer learning on the target basic navigation model based on the ship end data;
[0022] Aggregating the gradients of all target cooperative navigation models to obtain an aggregated gradient;
[0023] Updating parameters of the plurality of basic navigation models according to the aggregated gradient.
[0024] Secondly, embodiments of this application provide a deployment device for a ship navigation model, comprising:
[0025] The determination module is configured to determine multiple sets of characteristic vessels and obtain vessel data for each set of characteristic vessels; wherein each set of characteristic vessels includes multiple vessels with the same characteristics;
[0026] The training module is configured to train an initial navigation model based on ship data from multiple feature ship sets, thereby obtaining multiple basic navigation models;
[0027] The response module is configured to, in response to receiving a model request from the target vessel, determine the basic navigation model that matches the target vessel from multiple basic navigation models as the target basic navigation model based on the target vessel's vessel data;
[0028] The deployment module is configured to deploy the target basic navigation model to the target vessel, so that the target vessel can train the target basic navigation model based on the ship's data to obtain the target cooperative navigation model.
[0029] Thirdly, embodiments of this application provide an electronic device, including: a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the deployment method of the ship navigation model as described in the first aspect.
[0030] Fourthly, embodiments of this application provide a computer-readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the deployment method for the ship navigation model as described in the first aspect.
[0031] The technical solution provided in this application, applied in the cloud, first identifies multiple sets of characteristic vessels and acquires vessel data for each set; each set includes multiple vessels with identical characteristics. Then, an initial navigation model is trained based on the vessel data from these sets, resulting in multiple basic navigation models. Further, in response to a model request from a target vessel, a matching basic navigation model is selected from the multiple basic navigation models based on the target vessel's vessel data, serving as the target basic navigation model. Finally, the target basic navigation model is deployed to the target vessel, enabling it to train its own basic navigation model based on onboard data, resulting in a target collaborative navigation model. This application improves adaptability and accuracy by differentiating vessel type, size, and equipment list and automatically matching basic navigation models. The edge-cloud collaboration mechanism balances shore-based cloud computing power with real-time onboard decision-making, reducing data transmission and alleviating bandwidth pressure. Localized processing ensures data security and privacy, enabling edge-cloud collaboration of autonomous vessel navigation models, improving model performance and adaptability, and providing strong support for safe and efficient vessel navigation.
[0032] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0033] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0034] Figure 1 This is a flowchart illustrating a method for deploying a ship navigation model, as provided in an embodiment of this application.
[0035] Figure 2 This is a schematic diagram of the deployment framework of a ship navigation model provided in an embodiment of this application.
[0036] Figure 3 This is a schematic diagram of a deployment device for a ship navigation model provided in an embodiment of this application.
[0037] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0038] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While some embodiments of this application are shown in the drawings, it should be understood that this application can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this application. It should be understood that the drawings and embodiments of this application are for illustrative purposes only and are not intended to limit the scope of protection of this application.
[0039] It should be understood that the steps described in the method embodiments of this application may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this application is not limited in this respect.
[0040] As described in the background section, edge-cloud collaboration on mobile internet devices typically falls into the following modes:
[0041] The first method is cloud-based training and cloud-based inference: In the offline stage, the mobile device is responsible for collecting and uploading data, while the cloud side uses this massive amount of data to train the model and finally produce a model suitable for a specific task; In the online stage, the mobile device continues to upload real-time data, the cloud side loads the pre-trained model for inference, and returns the results to the mobile device.
[0042] The second approach is cloud-based training and on-device inference: For the offline phase, similar to the first model, data is uploaded to the mobile device, and the model is trained in the cloud. For the online phase, model compression technology is used to miniaturize the trained model and deploy it to the mobile device. The mobile device directly uses the local model for inference, without the need for frequent data interaction with the cloud.
[0043] The third approach is edge-cloud collaborative learning, characterized by a high degree of collaboration between the edge and cloud sides. The cloud side is responsible for training and inference of the large model, while the edge side trains and infers the smaller model. They communicate not only data but also the learning gradients between models to achieve continuous model optimization and updates.
[0044] However, none of the above three models are suitable. Cloud-based training and cloud-based inference are completely unsuitable for the maritime domain because autonomous navigation and navigation decisions are not made in the cloud, and data latency cannot be tolerated. Cloud-based training and on-device inference also cannot completely solve the problems of autonomous navigation training and inference in the maritime domain, because it is difficult to report all the massive amounts of data generated by ships to shore-based systems; without data on land, models cannot be trained. Moreover, ships come in various types and sizes, and the trained models can only be adapted to specific ship types (such as container ships, bulk carriers, tankers, passenger ships, etc.) and ship sizes. As for edge-cloud collaborative learning, it is also unsuitable because ship data is sensitive and highly subjective.
[0045] Therefore, this application proposes a method, apparatus, electronic device, and storage medium for deploying a ship navigation model in the cloud. By differentiating ship type, size, and equipment list and automatically matching the basic navigation model, adaptability and accuracy are improved. The edge-cloud collaboration mechanism takes into account both shore-based cloud computing power and ship-side real-time decision-making, reducing data transmission and alleviating bandwidth pressure. Furthermore, localized processing ensures data security and privacy, realizing edge-cloud collaboration for autonomous ship navigation models, improving model performance and adaptability, and providing strong support for safe and efficient ship navigation.
[0046] The technical solution of this application will be further described in detail below through specific embodiments.
[0047] Step S101: Determine multiple sets of characteristic ships and obtain ship data for each set of characteristic ships; wherein, each set of characteristic ships includes multiple ships with the same characteristics.
[0048] In this step, training data may be collected from multiple ships. The ships need to be classified according to their characteristics to construct a dataset to support model training. Ship characteristics can include ship type (e.g., container ship, tanker), ship size (e.g., deadweight tonnage), equipment configuration (e.g., radar type, propulsion system), and navigation area (e.g., coastal, ocean-going). Ships within the same characteristic set must be completely identical in key characteristics (e.g., all are 100,000-ton container ships equipped with the same type of radar). Differences in secondary characteristics (e.g., ship age, shipowner) are also permissible, but their impact on the navigation model must be negligible.
[0049] As an optional embodiment, the ship data of the feature ship set includes at least one of ship driving data, ship situation data, and captain profile data.
[0050] The types of ship data in a feature ship set can include driving data (such as ship position, speed, rudder angle), situational data (such as wind speed, water depth), and operational data (such as human intervention records).
[0051] Building upon traditional ship data (driving and situational awareness), captain profile data can be incorporated to construct a more comprehensive set of characteristic ships, enhancing the model's personalization and adaptability. Captain profile data describes the captain's operating habits, decision-making style, and historical behavior, reflecting the impact of human factors on navigation. This data can include operating habits such as rudder angle adjustment frequency (e.g., average adjustments per minute) and main engine propulsion power fluctuations (e.g., frequent acceleration and deceleration). It can also include decision-making styles such as collision avoidance strategies (e.g., prioritizing deceleration or turning) and route planning preferences (e.g., prioritizing the shortest or safest path). Furthermore, it can include historical behavior data such as navigation accident records (e.g., number of collisions and groundings) and fuel consumption efficiency (e.g., fuel consumption per unit distance).
[0052] Ship data can be collected through sensors such as radar, AIS (Automatic Identification System), GPS / BeiDou satellite positioning, and inertial navigation systems (INS). Among these, captain profile data can be collected through automatic recording of captain's operational data by the ship's navigation system, periodic collection of the captain's subjective feedback (such as decision-making preferences), or historical accident and efficiency data obtained from ship owners or maritime authorities.
[0053] As an optional embodiment, after obtaining the ship data of the feature ship set, the method further includes: converting the ship data of the feature ship set according to a preset format to obtain a ship data sequence; wherein the ship data in the ship data sequence is sorted according to time series.
[0054] After acquiring the ship data, it is necessary to convert the ship data of the characteristic ship set into a standardized time series format to eliminate data format differences and improve the consistency and interpretability of the model input. Data standardization can include unifying data units, such as standardizing speed to knots or meters per second (m / s) and depth to meters (m) or feet (ft). Data standardization can also include handling missing values, such as using linear interpolation algorithms to perform linear interpolation on continuous data (such as speed and water depth). Forward imputation algorithms can also be used to fill discrete data (such as equipment status) with the previous valid value. Data standardization can also include outlier correction, such as correcting outliers based on statistical thresholds (such as the 3σ principle) or physical constraints (such as the ship speed cannot exceed the maximum design speed).
[0055] Furthermore, all processed data can be sorted by UTC timestamp, with a sampling frequency uniformly set to 1Hz (or adjusted as needed, such as 0.5Hz). Missing time points can be filled in through interpolation or padding. Time series data can be sharded by fixed duration (e.g., 1 hour) or fixed data volume (e.g., 1000 records) to facilitate subsequent parallel processing. Columnar storage formats such as Parquet or ORC can be used to optimize query efficiency, and the data can be stored in a distributed file system (e.g., HDFS) or cloud storage (e.g., AWS S3). For example: UTC time + ship equipment data, in the form of time + ship position + speed + heading + rudder angle command + main engine propulsion + propeller + rudder angle + wind speed and direction + depth sounder + log + AIS, etc.
[0056] It's important to note that standardized time series formats ensure consistent input structure across different feature sets of ships, simplifying the model architecture. Direct input of time series data is suitable for time series models such as LSTM and Transformer. The sharded data allows for parallel training, improving training efficiency on large-scale datasets.
[0057] Step S102: Train an initial navigation model based on ship data from multiple feature ship sets to obtain multiple basic navigation models.
[0058] In this step, for each set of characteristic ships, an independent deep learning model is trained in the cloud using its specific ship data to generate multiple basic navigation models.
[0059] As an optional implementation, an initial navigation model is trained based on ship data from multiple feature ship sets to obtain multiple basic navigation models. This includes: for each feature ship set, using the ship data of that feature ship set, training an initial navigation model based on a deep learning algorithm to obtain a basic navigation model; and for each feature ship set, training an independent deep learning model using its specific ship data to obtain multiple basic navigation models.
[0060] Optionally, the task can be to train an initial autonomous navigation model based on AutoML / NAS to obtain a basic autonomous navigation model. Ship data can be input into the AutoML platform, which automatically performs feature selection, model search (such as random forest, XGBoost, neural networks), and outputs the optimal model structure and hyperparameters. The loss function can be fuel efficiency optimization, corresponding to mean squared error (MSE) regression loss. Alternatively, it can be multi-objective optimization, corresponding to weighted multi-task loss (such as speed prediction + fuel consumption).
[0061] In addition, Transformer or Spatiotemporal Graph Neural Network (ST-GNN) can be used to process the time series and spatial relationships of ship data (such as the relative position of ships and surrounding obstacles). Masked autoencoder (MAE) or contrastive learning can be used to learn navigation features (such as navigation patterns and collision avoidance strategies) from unlabeled ship data, and finally obtain the basic navigation model of each feature ship set.
[0062] Step S103: In response to receiving the model request from the target vessel, determine the basic navigation model that matches the target vessel from multiple basic navigation models based on the target vessel's vessel data as the target basic navigation model.
[0063] In this step, the most suitable model is selected from multiple basic navigation models based on the characteristics of the target vessel. Specifically, the matching method can include exact matching and approximate matching. Exact matching is used when the characteristics of the target vessel are completely consistent with a certain set of characteristic vessels, and the corresponding basic navigation model is directly selected. Approximate matching is used when there is no perfectly matching model, and the feature similarity (such as Euclidean distance or cosine similarity) between the target vessel and each set of characteristic vessels is calculated. The model with the highest similarity is selected as a candidate, and its suitability is evaluated (e.g., through validation with a small amount of end-point data).
[0064] As an optional embodiment, a target basic navigation model is determined from multiple basic navigation models based on the target vessel's vessel data, including: determining the target vessel's ship type data, ship size data, and ship equipment data based on the target vessel's vessel data; and determining the target basic navigation model from multiple basic navigation models based on the ship type data, ship size data, and ship equipment data.
[0065] In this step, based on the real-time data of the target vessel (ship type, size, equipment, etc.), the best-matching model is dynamically selected from multiple pre-trained basic navigation models for navigation decision support.
[0066] Specifically, at the target vessel, onboard equipment (such as AIS systems, gyroscopes, and anemometers) can collect real-time data on the vessel's type (e.g., container ship, bulk carrier), dimensions (length, width, draft), and equipment status (main engine power, propeller type). Furthermore, the captain or operator can manually input special requirements (e.g., temporary obstacle avoidance, energy-saving mode). Further, the vessel data is formatted, such as converting vessel dimensions (e.g., draft) to units consistent with the model training data (e.g., meters) and normalizing them (e.g., draft / maximum draft). Equipment parameters (e.g., main engine power) are mapped to discrete categories (e.g., "low," "medium," "high") to facilitate model matching.
[0067] Furthermore, based on matching rules, a base navigation model matching the target vessel is determined from multiple base navigation models. These matching rules include: the vessel type must be a complete match, meaning the target vessel's type (e.g., a container ship) must belong to the model's compatible vessel type list. Matching rules may also include: the vessel size must be within a certain range, meaning the target vessel's size (e.g., a length of 300 meters) must be within the model's compatible size range (e.g., 250-350 meters). Alternatively, matching rules may include: equipment parameters must meet requirements, meaning the target vessel's equipment parameters (e.g., main engine power "high") must belong to the model's compatible parameter list (e.g., "high" or "medium"). In the matching process, all base navigation models are traversed, the matching degree between the target vessel's features and each model's metadata is calculated, weights are assigned to each matching condition (e.g., vessel type weight 40%, size weight 30%, equipment parameter weight 30%), a total score is calculated, and the model with the highest total score is selected as the target base navigation model. If there is no model that perfectly matches the characteristics of the target ship, select the closest model (e.g., the ship type matches but the length is slightly outside the range), record the log, add the target ship data to the corresponding feature set, and retrain or fine-tune the model.
[0068] Furthermore, the weights of the matching rules can be adjusted based on the actual navigation mission. For example:
[0069] Collision avoidance task: Ship type matching weight is higher (e.g., 50%) to ensure that the model is sensitive to differences in ship type.
[0070] Energy saving task: The host power matching weight is higher (e.g., 50%), and the model that is adapted to high power is selected first.
[0071] Step S104: Deploy the target basic navigation model to the target vessel so that the target vessel can train the target basic navigation model based on the ship's data to obtain the target cooperative navigation model.
[0072] In this step, the matched model is deployed to the target vessel so that the target vessel can train the target basic navigation model based on the ship's data, thereby obtaining the target cooperative navigation model.
[0073] As an optional embodiment, deploying the target basic navigation model to the target vessel includes: lightweighting the target basic navigation model and deploying the lightweighted target basic navigation model to the target vessel.
[0074] Because cloud-trained models are relatively large, to reduce the demand on shipboard hardware, the target basic navigation model trained in the cloud needs to be lightweighted / compressed. This can be achieved through methods such as model pruning, knowledge distillation, weight quantization, quantization-aware training, and training-free quantization. Furthermore, the model can be distributed via satellite communication or edge nodes, supporting breakpoint resumption. The basic navigation model adapted to the target ship is then lightweighted and deployed to the ship's local computing equipment to achieve low-latency, low-power real-time navigation decision support.
[0075] It's important to note that quantization converts model weights from 32-bit floating-point numbers to 8-bit integers (using tools in TensorFlow Lite), reducing storage space and computational complexity. For example, an original model size of 100MB can be reduced to 25MB after quantization, resulting in a 3x speedup inference. Pruning removes neurons or connections that have a minimal impact on the output (e.g., parameters with absolute weight values below a threshold), reducing redundant computation. For example, pruning reduces the number of model parameters by 40%, with an accuracy loss of less than 1%. Knowledge distillation uses a lightweight student model (e.g., MobileNet) to simulate the output of a complex teacher model (e.g., ResNet), preserving core feature extraction capabilities. For example, the student model's size is only 1 / 5 that of the teacher model, reducing inference latency by 60%.
[0076] As an optional embodiment, the method further includes: acquiring target cooperative navigation models fed back by multiple target ships, and determining the gradient of the target cooperative navigation models; wherein the target cooperative navigation models are obtained by the target ships through transfer learning of the target basic navigation models based on shipboard data; aggregating the gradients of all target cooperative navigation models to obtain aggregated gradients; and updating the parameters of multiple basic navigation models according to the aggregated gradients.
[0077] In this step, multiple target ships perform transfer learning on the basic navigation model based on local data, collect gradients, and aggregate and update the global model to achieve distributed model optimization.
[0078] refer to Figure 2 This is a schematic diagram of the deployment framework of a ship navigation model provided in an embodiment of this application.
[0079] Existing scenarios, including task types and proprietary or open-source datasets, provide foundational data and task definitions for model generation. The search strategy defines the priority of model search: accuracy first, latency second, and size last, guiding model selection and optimization. In automatic model generation, a model library is built using AutoML / NAS (Automatic Machine Learning / Neural Network Search) techniques, leveraging various task types and datasets. Existing models can be fed back into the automatic model generation process through latency modeling to optimize model structure. Adaptive model retrieval retrieves suitable models from the model library based on the search strategy and existing scenarios. Model compression involves pruning, distilling, and quantizing the retrieved models to reduce model size and computational cost. Compilation optimization further improves model performance on specific hardware through operator fusion, graph optimization, and hardware acceleration. Gradient aggregation is performed on the ship's end using joint learning, combining computational results from multiple devices. Ship-side device model information is considered to adapt to different hardware environments. Joint learning and transfer learning techniques are used for model fine-tuning and knowledge transfer on the ship's end. Ultimately, the optimized model performs inference on the ship's end-user device, enabling real-time decision-making or prediction. The entire framework starts with data and task definition, and through automatic model generation and optimization techniques, achieves efficient and accurate inference on the ship's end-user device, while also considering model privacy protection (through gradient aggregation rather than data sharing) and hardware adaptation.
[0080] Cloud-based transfer learning and cloud-based joint learning offer several advantages. Transfer learning, in particular, prevents model overfitting when edge-side data is limited (fine-tuning typically uses a small learning rate), significantly saving time and resources required for edge-side training. Transfer learning employs two training methods:
[0081] End-side training: The entire network of the model is trained using end-side data, that is, the target basic navigation model is trained using the "personalized" ship data of the target ship. This ensures the matching degree between the target basic navigation model and the target ship, while protecting the data privacy of the target ship.
[0082] End-side fine-tuning; training is only performed on the last few layers of the model, reducing the computational load on the end-side of the target ship.
[0083] Furthermore, multiple target ships feed back the trained target cooperative navigation model to the cloud. The cloud uses federated averaging (gradient aggregation) to combine multiple target cooperative navigation models, improves the computation-to-communication ratio through gradient compression and other methods, achieves privacy protection through differential privacy, homomorphic encryption, and secure aggregation, maintains the personalization of the edge model by using federated meta-learning and federated incremental training, and avoids malicious attacks and uncontrollable factors through meta-learning, consensus algorithms, and malicious sample detection.
[0084] This application provides a method for deploying a ship navigation model in the cloud. First, multiple sets of characteristic ships are identified, and ship data for each set is acquired. Each set includes multiple ships with identical characteristics. Then, an initial navigation model is trained based on the ship data from these sets, resulting in multiple basic navigation models. Further, in response to a model request from a target ship, a matching basic navigation model is selected from the multiple basic navigation models based on the target ship's data. Finally, the target basic navigation model is deployed to the target ship, enabling it to train its own basic navigation model based on shipboard data, resulting in a target collaborative navigation model. This application improves adaptability and accuracy by differentiating ship type, size, and equipment list and automatically matching basic navigation models. The edge-cloud collaboration mechanism balances shore-based cloud computing power with real-time shipboard decision-making, reducing data transmission and alleviating bandwidth pressure. Localized processing ensures data security and privacy, enabling edge-cloud collaboration of autonomous ship navigation models, improving model performance and adaptability, and providing strong support for safe and efficient ship navigation.
[0085] It should be noted that the method of this embodiment can be executed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method of this embodiment, and the multiple devices will interact with each other to complete the above method.
[0086] It should be noted that the above description describes some embodiments of the present invention. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in a different order than that shown in the above embodiments and still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0087] Corresponding to the above embodiments, the present invention also proposes a deployment device for a ship navigation model.
[0088] like Figure 3 The diagram shown is a schematic diagram of a deployment device for a ship navigation model provided in an embodiment of this application.
[0089] The ship navigation model deployment device 300 of this embodiment includes:
[0090] The determination module 301 is configured to determine multiple sets of characteristic vessels and obtain vessel data for each set of characteristic vessels; wherein each set of characteristic vessels includes multiple vessels with the same characteristics;
[0091] Training module 302 is configured to train an initial navigation model based on ship data from multiple feature ship sets, thereby obtaining multiple basic navigation models;
[0092] The response module 303 is configured to, in response to receiving a model request from the target vessel, determine a basic navigation model that matches the target vessel from multiple basic navigation models as the target basic navigation model based on the target vessel's vessel data;
[0093] Deployment module 304 is configured to deploy the target basic navigation model to the target vessel, so that the target vessel can train the target basic navigation model based on the ship's end data to obtain the target cooperative navigation model.
[0094] Optionally, the ship data of the feature ship set includes at least one of ship driving data, ship situation data, and operational data.
[0095] Optionally, module 301 is also configured as follows:
[0096] The ship data of the feature ship set is converted according to a preset format to obtain a ship data sequence; wherein the ship data in the ship data sequence is sorted according to time series.
[0097] Optionally, training module 302 is also configured as follows:
[0098] For each set of characteristic ships, an initial navigation model is trained using the ship data of the set of characteristic ships based on a deep learning algorithm to obtain a basic navigation model.
[0099] Optionally, response module 303 is also configured as follows:
[0100] Determine the ship type, dimensions, and equipment data of the target vessel based on its ship data;
[0101] Based on ship type data, ship size data, and ship equipment data, a basic navigation model matching the target ship is selected from multiple basic navigation models as the target basic navigation model.
[0102] Optionally, deployment module 304 is also configured as follows:
[0103] The target basic navigation model is lightweighted, and the lightweight target basic navigation model is deployed to the target ship.
[0104] Optionally, deployment module 304 is also configured as follows:
[0105] The gradients of all target cooperative navigation models are aggregated to obtain the aggregated gradient;
[0106] The parameters of multiple base navigation models are updated based on the aggregated gradient.
[0107] This application provides a deployment device for a ship navigation model. First, multiple sets of characteristic ships are identified, and ship data for each set is acquired. Each set of characteristic ships includes multiple ships with identical characteristics. Then, an initial navigation model is trained based on the ship data from the multiple sets of characteristic ships, resulting in multiple basic navigation models. Further, in response to a model request from a target ship, a basic navigation model matching the target ship is determined from the multiple basic navigation models based on the target ship's ship data, serving as the target basic navigation model. Finally, the target basic navigation model is deployed to the target ship, enabling the target ship to train its own basic navigation model based on shipboard data, resulting in a target collaborative navigation model. This application improves adaptability and accuracy by differentiating ship type, size, and equipment list and automatically matching basic navigation models. The edge-cloud collaboration mechanism balances shore-based cloud computing power with real-time shipboard decision-making, reducing data transmission and alleviating bandwidth pressure. Localized processing ensures data security and privacy, enabling edge-cloud collaboration of the ship's autonomous navigation model, improving model performance and adaptability, and providing strong support for safe and efficient ship navigation.
[0108] For ease of description, the above apparatus is described in terms of its functions, divided into various modules. Of course, in implementing this invention, the functions of each module can be implemented in one or more software and / or hardware components.
[0109] The apparatus of the above embodiments is used to implement the corresponding method in any of the foregoing embodiments and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0110] Corresponding to the above embodiments, the present invention also proposes an electronic device.
[0111] refer to Figure 4 The diagram below is a block diagram of an electronic device according to some embodiments of the present invention. It illustrates a more specific hardware structure of the electronic device provided in this embodiment. The device may include: a processor 410, a memory 420, an input / output interface 430, a communication interface 440, and a bus 450. The processor 410, memory 420, input / output interface 430, and communication interface 440 are interconnected internally via the bus 450.
[0112] The processor 410 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0113] The memory 420 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 420 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 420 and is called and executed by the processor 410.
[0114] Input / output interface 430 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices may include displays, speakers, vibrators, indicator lights, etc.
[0115] The communication interface 440 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (e.g., USB, Ethernet cable) or wireless means (e.g., mobile network, Wi-Fi, Bluetooth).
[0116] Bus 450 includes a pathway for transmitting information between various components of the device (e.g., processor 410, memory 420, input / output interface 430, and communication interface 440).
[0117] It should be noted that although the above-described device only shows the processor 410, memory 420, input / output interface 430, communication interface 440, and bus 450, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0118] The electronic devices described above are used to implement the corresponding methods in any of the foregoing embodiments and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0119] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, the present invention also provides a computer-readable storage medium storing computer instructions for causing a computer to perform the methods of any of the above embodiments.
[0120] The aforementioned computer-readable storage medium can be any available medium or data storage device that a computer can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0121] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to perform the methods of any of the above exemplary method sections, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0122] Furthermore, although the operations of the method of the present invention are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all of the operations shown must be performed to achieve the desired result. Rather, the steps depicted in the flowchart may be performed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0123] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0124] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this invention should have the ordinary meaning understood by those skilled in the art. The terms "first," "second," and similar terms used in the embodiments of this invention do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word covers the element or object listed after the word and its equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0125] While the spirit and principles of the invention have been described with reference to several specific embodiments, it should be understood that the invention is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for ease of description. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the appended claims is to be interpreted in the broadest sense, thereby encompassing all such modifications and equivalent structures and functions.
Claims
1. A method for deploying a ship navigation model, characterized in that, Applied to the cloud, the method includes: Multiple sets of characteristic vessels are identified, and vessel data for each set of characteristic vessels is obtained; wherein each set of characteristic vessels includes multiple vessels with the same characteristics; An initial navigation model is trained based on the ship data of the multiple characteristic ship sets to obtain multiple basic navigation models; In response to receiving a model request from a target vessel, a basic navigation model matching the target vessel is determined from the plurality of basic navigation models based on the vessel data of the target vessel as the target basic navigation model; The target basic navigation model is deployed to the target vessel, so that the target vessel can train the target basic navigation model based on the ship's data to obtain the target cooperative navigation model.
2. The method for deploying a ship navigation model according to claim 1, characterized in that, The ship data of the feature ship set includes at least one of ship driving data, ship status data, and operational data.
3. The method for deploying a ship navigation model according to claim 2, characterized in that, After acquiring the ship data of the feature ship set, the method further includes: The ship data of the feature ship set is converted according to a preset format to obtain a ship data sequence; wherein the ship data in the ship data sequence is sorted according to time series.
4. The method for deploying a ship navigation model according to claim 3, characterized in that, The initial navigation model is trained based on the ship data of the multiple feature ship sets, resulting in multiple basic navigation models, including: For each of the aforementioned feature vessel sets, the initial navigation model is trained using the vessel data of the feature vessel set based on a deep learning algorithm to obtain the basic navigation model.
5. The method for deploying a ship navigation model according to claim 4, characterized in that, The step of determining the target basic navigation model as the target basic navigation model from the plurality of basic navigation models based on the target vessel's ship data includes: The ship type data, ship size data, and ship equipment data of the target ship are determined based on the ship data of the target ship; Based on the ship type data, the ship size data, and the ship equipment data, a basic navigation model matching the target ship is determined from the plurality of basic navigation models as the target basic navigation model.
6. The method for deploying a ship navigation model according to claim 5, characterized in that, The step of deploying the target basic navigation model to the target vessel includes: The target basic navigation model is lightweighted, and the lightweight target basic navigation model is deployed to the target ship.
7. The method for deploying a ship navigation model according to claim 6, characterized in that, The method further includes: The target cooperative navigation model is obtained from feedback from multiple target vessels, and the gradient of the target cooperative navigation model is determined; wherein the target cooperative navigation model is obtained by the target vessel through transfer learning of the target basic navigation model based on the shipboard data; The gradients of all the target cooperative navigation models are aggregated to obtain the aggregated gradient; The parameters of the multiple base navigation models are updated based on the aggregated gradient.
8. A deployment device for a ship navigation model, characterized in that, include: The determination module is configured to determine multiple sets of characteristic vessels and obtain vessel data for the sets of characteristic vessels; wherein each set of characteristic vessels includes multiple vessels with the same characteristics; The training module is configured to train an initial navigation model based on the ship data of the multiple feature ship sets, thereby obtaining multiple basic navigation models; The response module is configured to, in response to receiving a model request from a target vessel, determine a basic navigation model that matches the target vessel from the plurality of basic navigation models as the target basic navigation model based on the vessel data of the target vessel; The deployment module is configured to deploy the target basic navigation model to the target vessel, so that the target vessel can train the target basic navigation model based on shipboard data to obtain a target cooperative navigation model.
9. An electronic device, characterized in that, include: A processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the deployment method of the ship navigation model as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the deployment method of the ship navigation model as described in any one of claims 1 to 7.
Citation Information
Cited By
Box ship working condition power forecasting method based on ResNet neural network
CN122286105A
Method for predicting power of container ship under different working conditions based on ResNet neural network
CN122286105B