A fishing vessel docking prediction method and navigation management system based on route history information

By analyzing the historical route information of fishing vessels, the correlation between the fishing time and the time of unloading the catch in different fishing grounds is obtained, which solves the problems of poor planning and waste of resources in traditional fishing vessel management and realizes efficient management of fishing ports.

CN120387653BActive Publication Date: 2025-09-23FISHERY ENG RES INST CHINESE ACAD OF FISHERY SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510857007.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-25
Publication Date
2025-09-23
Estimated Expiration
2045-06-25

AI Technical Summary

Technical Problem

Traditional fishing vessel management relies on manual experience and simple GPS positioning, and lacks in-depth analysis of historical data, resulting in poor planning, waste of resources and inefficient management when fishing vessels dock.

Method used

By analyzing the historical route information of fishing vessels, the correlation between fishing time, return port docking time and catch unloading time is obtained, the return port docking and unloading time of fishing vessels are estimated, and a fishing vessel docking estimation method and navigation management system based on route history information are provided.

Benefits of technology

It improves the management efficiency of fishing ports, can more accurately estimate the port docking operation time of fishing vessels, and facilitates the arrangement and management of multiple fishing vessels by fishing ports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120387653B_ABST
    Figure CN120387653B_ABST
Patent Text Reader

Abstract

The present invention discloses a fishing vessel docking estimation method and navigation management system based on route history information, relating to the technical field of port management. The present invention includes obtaining a correlation between the fishing time of a fishing vessel in different fishing grounds and the estimated return docking time and the estimated unloading time of different types of catch based on the fishing time of the fishing vessel in different fishing grounds, the return docking time, and the unloading time of different types of catch; continuously acquiring the position information of the fishing vessel reported for berthing to obtain route history information to obtain the fishing time of the fishing vessel reported for berthing in different fishing grounds; and obtaining the estimated return docking time of the fishing vessel reported for berthing and the estimated unloading time of different types of catch based on the fishing time of the fishing vessel reported for berthing in different fishing grounds and the correlation between the fishing time of the fishing vessel in different fishing grounds and the estimated return docking time and the estimated unloading time of different types of catch. The present invention improves the management efficiency of fishing ports.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of port management, and in particular relates to a fishing vessel docking estimation method based on route history information and a navigation management system. Background Art

[0002] With the growing prosperity of global marine fisheries, effective management of fishing vessel berthing is becoming increasingly difficult. Traditional fishing vessel management relies on manual experience and simple GPS positioning, lacking in-depth analysis and utilization of historical data. This often leads to problems such as poor planning, wasted resources, and inefficient management during docking. Summary of the Invention

[0003] The purpose of the present invention is to provide a fishing vessel docking prediction method and navigation management system based on route history information. By analyzing the route history information of fishing vessels moored at fishing ports, the port docking operation time of fishing vessels can be accurately estimated, thereby improving the management efficiency of fishing ports.

[0004] To solve the above technical problems, the present invention is achieved through the following technical solutions:

[0005] The present invention provides a method for estimating the docking of fishing vessels based on route history information, comprising:

[0006] Obtain the route history information of the fishing vessels entering the port and obtain the fishing time of the fishing vessels in different fishing grounds;

[0007] Obtain the return time of fishing vessels entering the port and the unloading time of different types of catches;

[0008] According to the fishing time of fishing vessels in different fishing grounds, the time they return to the port and the time they unload different types of fish, the correlation between the fishing time of fishing vessels in different fishing grounds and the estimated time they return to the port and the estimated time they unload different types of fish is obtained;

[0009] Continuously obtain the position information of fishing vessels reported to be waiting for berthing, obtain route history information, and obtain the fishing time of fishing vessels reported to be waiting for berthing in different fishing grounds;

[0010] According to the fishing time of the reported fishing vessels waiting to anchor in different fishing grounds and the correlation between the fishing time of the fishing vessels in different fishing grounds and the estimated return port docking time and the estimated unloading time of different types of catches, the estimated return port docking time of the reported fishing vessels waiting to anchor and the estimated unloading time of different types of catches are obtained.

[0011] The present invention also discloses a method for estimating the docking of fishing vessels based on route history information, comprising:

[0012] Receive the estimated return time of fishing vessels reported to be waiting to berth and the estimated unloading time of different types of fish;

[0013] Preparations for berthing and unloading of catches shall be made according to the estimated return time of fishing vessels to berth and the estimated unloading time of different types of catches.

[0014] The present invention also discloses a navigation management system based on route history information, comprising:

[0015] The port management end is used to obtain the route history information of the fishing vessels entering the port and the fishing time of the fishing vessels in different fishing grounds;

[0016] Obtain the return time of fishing vessels entering the port and the unloading time of different types of catches;

[0017] According to the fishing time of fishing vessels in different fishing grounds, the time they return to the port and the time they unload different types of fish, the correlation between the fishing time of fishing vessels in different fishing grounds and the estimated time they return to the port and the estimated time they unload different types of fish is obtained;

[0018] Continuously obtain the position information of fishing vessels reported to be waiting for berthing, obtain route history information, and obtain the fishing time of fishing vessels reported to be waiting for berthing in different fishing grounds;

[0019] The estimated return port berthing time of the reported fishing vessels waiting to be moored and the estimated unloading time of different types of catches are obtained based on the fishing time of the reported fishing vessels waiting to be moored in different fishing grounds and the correlation between the fishing time of the fishing vessels in different fishing grounds and the estimated return port berthing time and the estimated unloading time of different types of catches;

[0020] The shipping side is used to receive reports of fishing vessels waiting to berth, including the estimated return time to port and the estimated unloading time for different types of fish;

[0021] Preparations for berthing and unloading of catches shall be made according to the estimated return time of fishing vessels to berth and the estimated unloading time of different types of catches.

[0022] The present invention uses a port management terminal to analyze the route history information of fishing vessels entering the port, the duration of their return to port, and the unloading time of different types of catch, thereby deriving an empirical correlation between the fishing time of fishing vessels in different fishing grounds and the estimated duration of their return to port and the estimated unloading time of different types of catch. By substituting each registered fishing vessel for analysis, the present invention can more accurately estimate the port berthing operation time of the registered fishing vessel, making it easier for the fishing port to arrange and manage the numerous registered fishing vessels, effectively improving the management efficiency of the fishing port.

[0023] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 A schematic diagram of the functional terminals and information flow of a navigation management system based on route history information according to an embodiment of the present invention;

[0026] Figure 2 This is a schematic diagram of the steps of the port management terminal according to an embodiment of the present invention;

[0027] Figure 3 This is a schematic diagram of the steps of the shipping terminal in one embodiment of the present invention;

[0028] Figure 4 This is a schematic diagram of the process flow of step S3 in one embodiment of the present invention;

[0029] Figure 5 This is a schematic diagram of the process flow of step S31 in one embodiment of the present invention;

[0030] Figure 6 This is a schematic diagram of the process flow of step S32 in one embodiment of the present invention;

[0031] Figure 7 This is a schematic diagram of the process flow of step S323 in one embodiment of the present invention;

[0032] Figure 8 This is a schematic diagram of the process flow of step S33 in one embodiment of the present invention;

[0033] Figure 9 This is a schematic diagram of the process flow of step S5 in one embodiment of the present invention;

[0034] Figure 10 This is a schematic diagram of the steps of another embodiment of the port management terminal of the present invention;

[0035] In the accompanying drawings, the components represented by the reference numerals are as follows:

[0036] 1-Port management side, 2-Shipping side. DETAILED DESCRIPTION

[0037] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0038] It should be noted that the terms "first," "second," and the like in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with certain aspects of the present application as detailed in the appended claims.

[0039] See also Figures 1 to 3 As shown, the present invention provides a navigation management system based on route history information. Functionally, it includes a port management terminal 1 and a shipping terminal 2, which interact with each other. Port management terminal 1 collects route history information sent by shipping terminal 2, analyzes and summarizes the estimated durations for fishing vessels to be reported for berthing, and sends this information to port management terminal 1 for preparation.

[0040] During operation, the port management terminal 1 in this system can first execute step S1 to obtain the route history information of the fishing vessels entering the port and obtain the fishing time of the fishing vessels entering the port in different fishing grounds. These data can be collected by the shipping system and the port entry and exit management system. Next, step S2 can be executed to obtain the return port docking time of the fishing vessels entering the port and the unloading time of different types of catches. Next, step S3 can be executed to obtain the correlation between the fishing time of the fishing vessels in different fishing grounds and the estimated return port docking time and the estimated unloading time of different types of catches based on the fishing time of the fishing vessels entering the port in different fishing grounds, the return port docking time and the unloading time of different types of catches. Next, step S4 can be executed to continuously obtain the position information of the fishing vessels reported to be moored to obtain the route history information and the fishing time of the fishing vessels reported to be moored in different fishing grounds. Finally, step S5 can be executed to obtain the estimated return port berthing time of the reported fishing boats to be moored and the estimated unloading time of different types of catches based on the fishing time of the reported fishing boats to be moored in different fishing grounds and the correlation between the fishing time of the fishing boats in different fishing grounds and the estimated return port berthing time and the estimated unloading time of different types of catches.

[0041] In order to allow the fishing vessels that have registered for berthing to make preparations in advance, the estimated return time to the port and the estimated unloading time for different types of fish of the fishing vessels that have registered for berthing can be sent to the shipping terminal 2 of the corresponding fishing vessel. The shipping terminal 2 can then trigger the execution of step S021 to receive the estimated return time to the port and the estimated unloading time for different types of fish. Finally, step S022 can be executed to prepare for berthing and unloading of the fish according to the estimated return time to the port and the estimated unloading time for different types of fish.

[0042] See also Figure 10As shown, since the fishing ground's berthing processing capacity is limited, in order to avoid chaos caused by berthing overload within the fishing port, the port management terminal 1 can execute step S6 to obtain the fishing port's remaining processing capacity within the current time period. Next, step S7 can be executed to determine whether the estimated return port berthing time and the estimated unloading time of different types of catches for all reported fishing vessels waiting to be berthed within the current time period exceed the remaining processing capacity. If so, step S8 can be executed to require some of the reported fishing vessels to wait in the anchorage outside the port. If not, step S9 can be executed without any operation, allowing the fishing port to process the berthed fishing vessels normally.

[0043] See also Figures 4 to 5 As shown, after fishing for similar periods of time in the same fishing grounds, the types and amounts of fish caught by fishing boats are usually similar. The docking time and operating time after docking at the fishing port are also close, which makes it possible to estimate the docking operation time based on the historical route information. Of course, this also requires considering the type of fishing boat, such as trawlers, purse seine fishing boats, gillnet fishing boats, longline fishing boats, trolling fishing boats, etc., so the fishing boats entering the port are classified. Different types of fishing boats entering the port need to be classified. Specifically, step S31 can be executed first to obtain the fishing route characteristics of the fishing boats entering the port based on the fishing time of the fishing boats in different fishing grounds. During the implementation of this solution, step S311 can be executed to sort the fishing grounds in the set order to obtain the fishing ground sequence. For each fishing vessel entering the port, step S312 can be executed to sort the values ​​of the fishing time of the fishing vessel in different fishing grounds according to the order of the fishing grounds and matrix-vectorize them to obtain the fishing route characteristics of the fishing vessel entering the port, and summarize the fishing route characteristics of each fishing vessel entering the port.

[0044] Next, step S32 can be executed to classify the port-entering fishing vessels with common fishing route characteristics into the same port-entering fishing vessel group. Next, step S33 can be executed to obtain the comprehensive port-entering docking time and comprehensive unloading time of different types of catches for all the port-entering fishing vessels belonging to the same port-entering fishing vessel group based on their return port docking time and unloading time of different types of catches. Next, step S34 can be executed to use the comprehensive return port docking time and comprehensive unloading time of different types of catches corresponding to each port-entering fishing vessel group as the estimated return port docking time and estimated unloading time of different types of catches of fishing vessels with common fishing route characteristics with the port-entering fishing vessel group, and obtain the correlation between the fishing time of this type of fishing vessel in different fishing grounds and the estimated return port docking time and estimated unloading time of different types of catches. Finally, step S35 may be executed to summarize and obtain the correlation between the fishing time of each type of fishing vessel in different fishing grounds and the estimated return port docking time and the estimated unloading time of different types of catches.

[0045] See also Figures 6 to 7As shown, in order to classify the port-entering fishing vessels with common characteristics into the same port-entering fishing vessel group, step S321 can be first executed to classify the port-entering fishing vessels that have fished in the same fishing grounds into the same port-entering fishing vessel group according to the fishing time of the port-entering fishing vessels in different fishing grounds. Next, step S322 can be executed to rank the cumulative fishing time of each port-entering fishing vessel in each port-entering fishing vessel group according to the cumulative fishing time of the port-entering fishing vessels in different fishing grounds. Within each port-entering fishing vessel group, step S323 can be executed to select the port-entering fishing vessel with the highest cumulative fishing time as the reference port-entering fishing vessel. Finally, step S324 can be executed to calculate the difference between the fishing route characteristics of each reference port-entering fishing vessel and other port-entering fishing vessels to classify the port-entering fishing vessels with common fishing route characteristics into the same port-entering fishing vessel group, thereby obtaining multiple port-entering fishing vessel groups.

[0046] In the specific process of classifying the port-entering fishing vessel groups, step S3241 can be first executed to calculate the matrix difference norm between the fishing route characteristics of each reference port-entering fishing vessel and the fishing route characteristics of other port-entering fishing vessels. Next, step S3242 can be executed to classify each other port-entering fishing vessel other than the reference port-entering fishing vessel with the smallest matrix difference norm between the fishing route characteristics and the reference port-entering fishing vessel into the same port-entering fishing vessel group.

[0047] To determine whether the fishing route characteristics of the classified inbound fishing vessels within a group have sufficient commonality, step S3243 can be executed to calculate the mean matrix of the fishing route characteristics of all inbound fishing vessels within each inbound fishing vessel group. Next, step S3244 can be executed to determine the inbound fishing vessel with the smallest matrix difference norm between the mean matrix of the fishing route characteristics of each inbound fishing vessel group and that of all inbound fishing vessels as the updated reference inbound fishing vessel. Next, step S3245 can be executed to determine, within each inbound fishing vessel group, the mean of the differences in cumulative fishing time between each inbound fishing vessel and its adjacent inbound fishing vessels, ranked by cumulative fishing time, as the accidental variation duration. Next, step S3246 can be executed to determine whether the difference in cumulative fishing time between the reference inbound fishing vessels before and after the update exceeds the accidental variation duration. If so, it means that there is insufficient commonality within the group of fishing vessels entering the port. Therefore, steps S3241 to S3246 can be executed next to continuously classify and generate groups of fishing vessels entering the port and determine whether the difference in the cumulative fishing time of the reference fishing vessels entering the port before and after the update exceeds the accidental change time, until the difference in the cumulative fishing time between the reference fishing vessels entering the port before and after the update does not exceed the said accidental change time.

[0048] The above method continuously generates new groups of port-entering fishing vessels through iterative updating until the difference in cumulative fishing time between the reference port-entering fishing vessels before and after the update does not exceed the random variation time. If this is not the case, it indicates that each port-entering fishing vessel group has sufficient commonality. Therefore, step S3247 can be executed to obtain multiple port-entering fishing vessel groups that have commonality.

[0049] To supplement the implementation of steps S321 to S324, we provide the source code for some functional modules, with cross-references and explanations provided in the comments. To prevent the leakage of data involving commercial secrets, data that does not affect the implementation of the solution is desensitized. The same applies below.

[0050] using namespace std;

[0051] / / Define the fishing boat structure

[0052] struct FishingBoat {

[0053] int id; / / Fishing boat ID

[0054] vector <double>fishingDuration; / / Fishing duration in different fishing grounds

[0055] vector <vector <double>>fishingRoute; / / Fishing route characteristics (matrix form)

[0056] };

[0057] / / Calculate the Frobenius norm of the matrix (used to measure the difference in route characteristics)

[0058] double calculateFrobeniusNorm(const vector <vector <double>>&matrix) {

[0059] double norm = 0.0;

[0060] for (const auto&row : matrix) {

[0061] for (double val : row) {

[0062] norm += val * val;

[0063] }

[0064] }

[0065] return sqrt(norm);

[0066] }

[0067] / / Calculate the Frobenius norm of the difference matrix of two matrices

[0068] double calculateMatrixDifferenceNorm(const vector <vector <double>>&matrix1, const vector<vector <double>>&matrix2) {

[0069] vector<vector <double>>diff(matrix1.size(), vector <double>(matrix1[0].size(), 0.0));

[0070] for (size_t i = 0; i <matrix1.size(); ++i) {

[0071] for (size_t j = 0; j <matrix1[0].size(); ++j) {

[0072] diff[i][j]= matrix1[i][j]- matrix2[i][j];

[0073] }

[0074] }

[0075] return calculateFrobeniusNorm(diff);

[0076] }

[0077] / / Calculate the mean matrix of the matrix

[0078] vector <vector <double>>calculateMeanMatrix(const vector<vector<vector <double>>>&matrices) {

[0079] if (matrices.empty()) return {};

[0080] size_t rows = matrices[0].size();

[0081] size_t cols = matrices[0][0].size();

[0082] vector<vector <double>>mean(rows, vector <double>(cols, 0.0));

[0083] for (const auto&matrix : matrices) {

[0084] for (size_t i = 0; i<rows; ++i) {

[0085] for (size_t j = 0; j<cols; ++j) {

[0086] mean[i][j]+= matrix[i][j];

[0087] }

[0088] }

[0089] }

[0090] for (size_t i = 0; i<rows; ++i) {

[0091] for (size_t j = 0; j<cols; ++j) {

[0092] mean[i][j] / = matrices.size();

[0093] }

[0094] }

[0095] return mean;

[0096] }

[0097] / / Main classification function

[0098] vector<vector <fishingboat>>classifyFishingBoats(vector <fishingboat>&boats) {

[0099] / / Classification based on fishing time

[0100] map <vector <double>, vector <fishingboat>>groupsByDuration;

[0101] for (const auto&boat : boats) {

[0102] groupsByDuration[boat.fishingDuration].push_back(boat);

[0103] }

[0104] vector<vector <fishingboat>>initialGroups;

[0105] for (const auto&pair : groupsByDuration) {

[0106] initialGroups.push_back(pair.second);

[0107] }

[0108] / / Sort by cumulative fishing time in each group

[0109] for (auto&group : initialGroups) {

[0110] sort(group.begin(), group.end(), [](const FishingBoat&a, constFishingBoat&b) {

[0111] double sumA = accumulate(a.fishingDuration.begin(),a.fishingDuration.end(), 0.0);

[0112] double sumB = accumulate(b.fishingDuration.begin(),b.fishingDuration.end(), 0.0);

[0113] return sumA>sumB;

[0114] });

[0115] }

[0116] / Select the reference fishing vessel for each group (ranked first in cumulative time)

[0117] vector <fishingboat>referenceBoats;

[0118] for (const auto&group : initialGroups) {

[0119] if (!group.empty()) {

[0120] referenceBoats.push_back(group[0]);

[0121] }

[0122] }

[0123] / / Group based on route characteristics

[0124] vector <vector <fishingboat>>finalGroups;

[0125] for (const auto&refBoat : referenceBoats) {

[0126] vector <fishingboat>newGroup;

[0127] newGroup.push_back(refBoat);

[0128] finalGroups.push_back(newGroup);

[0129] }

[0130] bool changed;

[0131] do {

[0132] changed = false;

[0133] / / Steps S32431-S32432: Assign the fishing boat to the nearest reference fishing boat group

[0134] for (auto&boat : boats) {

[0135] double minNorm = numeric_limits <double>::max();

[0136] int bestGroupIdx = -1;

[0137] for (size_t i = 0; i <finalGroups.size(); ++i) {

[0138] const auto&refBoat = finalGroups[i][0]; / / Current reference fishing boat

[0139] double norm = calculateMatrixDifferenceNorm(boat.fishingRoute, refBoat.fishingRoute);

[0140] if (norm <minNorm) {

[0141] minNorm = norm;

[0142] bestGroupIdx = i;

[0143] }

[0144] }

[0145] / / Check if the fishing boat needs to be moved to the new group

[0146] bool found = false;

[0147] for (auto&group : finalGroups) {

[0148] if (find_if(group.begin(), group.end(), [&boat](constFishingBoat&b) { return b.id == boat.id;}) != group.end()) {

[0149] found = true;

[0150] break;

[0151] }

[0152] }

[0153] if (!found&&bestGroupIdx != -1) {

[0154] finalGroups[bestGroupIdx].push_back(boat);

[0155] changed = true;

[0156] }

[0157] }

[0158] / / Update reference fishing boat

[0159] for (auto&group : finalGroups) {

[0160] if (group.empty()) continue;

[0161] / / Calculate the mean matrix of all fishing boat route characteristics in the group

[0162] vector <vector<vector <double>>>allRoutes;

[0163] for (const auto&boat : group) {

[0164] allRoutes.push_back(boat.fishingRoute);

[0165] }

[0166] auto meanMatrix = calculateMeanMatrix(allRoutes);

[0167] / / Find the fishing boat closest to the mean matrix as the new reference

[0168] double minNorm = numeric_limits <double>::max();

[0169] FishingBoat* newRefBoat = nullptr;

[0170] for (auto&boat : group) {

[0171] double norm = calculateMatrixDifferenceNorm(boat.fishingRoute, meanMatrix);

[0172] if (norm <minNorm) {

[0173] minNorm = norm;

[0174] newRefBoat = &boat;

[0175] }

[0176] }

[0177] / / If the reference fishing vessel changes, check the difference in cumulative fishing time

[0178] if (newRefBoat&&newRefBoat->id != group[0].id) {

[0179] / / Step S3245: Calculate the duration of accidental changes

[0180] vector <double>durations;

[0181] for (const auto&boat : group) {

[0182] durations.push_back(accumulate(boat.fishingDuration.begin(), boat.fishingDuration.end(), 0.0));

[0183] }

[0184] sort(durations.begin(), durations.end(), greater <double>());

[0185] double totalDiff = 0.0;

[0186] for (size_t i = 1; i < durations.size(); ++i) {

[0187] totalDiff += durations[i - 1] - durations[i];

[0188] }

[0189] double avgDiff = totalDiff / (durations.size() - 1);

[0190] / / Determine if the change is significant

[0191] double oldDuration = accumulate(group[0].fishingDuration.begin(), group[0].fishingDuration.end(), 0.0);

[0192] double newDuration = accumulate(newRefBoat->fishingDuration.begin(), newRefBoat->fishingDuration.end(), 0.0);

[0193] if (abs(oldDuration - newDuration)>avgDiff) {

[0194] / / Swap the reference fishing boat

[0195] iter_swap(group.begin(), find_if(group.begin(), group.end(),

[0196] [newRefBoat](const FishingBoat&b) { return b.id == newRefBoat->id;}));

[0197] changed = true;

[0198] }

[0199] }

[0200] }

[0201] } while (changed); / / until there are no significant changes

[0202] return finalGroups;

[0203] }

[0204] int main() {

[0205] / / Sample data

[0206] vector <fishingboat>boats = {

[0207] {1, {10, 20}, {{1, 2}, {3, 4}}},

[0208] {2, {10, 20}, {{1.1, 2.1}, {3.1, 4.1}}},

[0209] {3, {15, 25}, {{5, 6}, {7, 8}}},

[0210] {4, {15, 25}, {{5.1, 6.1}, {7.1, 8.1}}},

[0211] {5, {10, 20}, {{1.2, 2.2}, {3.2, 4.2}}}

[0212] };

[0213] auto groups = classifyFishingBoats(boats);

[0214] / / Output grouping results

[0215] for (size_t i = 0; i <groups.size(); ++i) {

[0216] cout<<"Group "< <i+1<<" (Reference Boat: "<<groups[i][0].id<<"):";

[0217] for (const auto&boat : groups[i]) {

[0218] cout< <boat.id<<" ";

[0219] }

[0220] cout< <endl;

[0221] }

[0222] return 0;

[0223] }

[0224] This code implements the process of classifying incoming fishing vessels with common fishing route characteristics. By comparing the differences in the fishing route characteristic matrices between fishing vessels and using the matrix difference norm for classification and iterative updates, multiple groups of fishing vessels with common characteristics are ultimately generated. This method can effectively organize and manage fishing vessel data, providing a foundation for further analysis and decision-making.

[0225] See also Figure 8 As shown, since the berthing and operating times of fishing vessels cannot be strictly controlled, the data scale needs to be appropriately relaxed when calculating the comprehensive return-to-port berthing time and the comprehensive unloading time for different types of catch. Specifically, for each type of return-to-port berthing time and the comprehensive unloading time for different types of catch, step S331 can be performed to first calculate the maximum, minimum, and mean of the corresponding time for all fishing vessels in the same group of inbound fishing vessels. Next, step S332 can be performed to calculate the difference between the maximum and minimum values ​​of the obtained time as the variation range of the time. Next, step S333 can be performed to calculate the ratio of the variation range of the time to the total number of fishing vessels in the group as the adjustment range of the time. Next, step S334 can be performed to add the mean of the time to the adjustment range of the time to obtain the comprehensive time for all fishing vessels in the group. Finally, step S335 can be performed to summarize the comprehensive return-to-port berthing time and the comprehensive unloading time for different types of catch for the group of inbound fishing vessels.

[0226] In order to supplement the implementation process of the above-mentioned steps S331 to S335, the source code of some functional modules is provided, and a comparative explanation is given in the comment part.

[0227] #include <iostream>

[0228] #include <matrix>

[0229] #include <map>

[0230] #include <string>

[0231] #include <algorithm>

[0232] #include <numeric>

[0233] / / Define the fishing boat class

[0234] class FishingBoat {

[0235] public:

[0236] std::string boatID;

[0237] double dockingDuration; / / Docking duration at return port

[0238] std::map<std::string, double> unloadingDurations; / / Unloading duration for each catch

[0239] FishingBoat(std::string id, double docking, std::map<std::string,double> unloading)

[0240] : boatID(id), dockingDuration(docking), unloadingDurations(unloading) {}

[0241] };

[0242] / / Calculate the overall duration

[0243] std::pair <double, std::map<std::string, double> >calculateCompositeDurations(

[0244] const std::Matrix <fishingboat>&groupBoats) {

[0245] / / Calculate the comprehensive duration of the return port stop

[0246] double maxDocking = std::numeric_limits <double>::min();

[0247] double minDocking = std::numeric_limits <double>::max();

[0248] double sumDocking = 0.0;

[0249] for (const auto&boat : groupBoats) {

[0250] maxDocking = std::max(maxDocking, boat.dockingDuration);

[0251] minDocking = std::min(minDocking, boat.dockingDuration);

[0252] sumDocking += boat.dockingDuration;

[0253] }

[0254] double meanDocking = sumDocking / groupBoats.size();

[0255] double dockingRange = maxDocking - minDocking;

[0256] double dockingAdjustment = dockingRange / groupBoats.size();

[0257] double compositeDockingDuration = meanDocking + dockingAdjustment;

[0258] / / Calculate the composite unloading duration for each type of catch

[0259] std::map<std::string, double>compositeUnloadingDurations;

[0260] for (const auto&[fishType, _] : groupBoats[0].unloadingDurations) {

[0261] double maxUnload = std::numeric_limits <double>::min();

[0262] double minUnload = std::numeric_limits <double>::max();

[0263] double sumUnload = 0.0;

[0264] for (const auto&boat : groupBoats) {

[0265] double unloadTime = boat.unloadingDurations.at(fishType);

[0266] maxUnload = std::max(maxUnload, unloadTime);

[0267] minUnload = std::min(minUnload, unloadTime);

[0268] sumUnload += unloadTime;

[0269] }

[0270] double meanUnload = sumUnload / groupBoats.size();

[0271] double unloadRange = maxUnload - minUnload;

[0272] double unloadAdjustment = unloadRange / groupBoats.size();

[0273] compositeUnloadingDurations[fishType] = meanUnload +unloadAdjustment;

[0274] }

[0275] return {compositeDockingDuration, compositeUnloadingDurations};

[0276] }

[0277] int main() {

[0278] / / Sample fishing boat data

[0279] std::Matrix <fishingboat>groupBoats = {

[0280] FishingBoat("Boat1", 5.0, {{"FishType1", 2.0}, {"FishType2",3.0}}),

[0281] FishingBoat("Boat2", 6.0, {{"FishType1", 2.5}, {"FishType2",3.5}}),

[0282] FishingBoat("Boat3", 4.5, {{"FishType1", 3.0}, {"FishType2",2.8}})

[0283] };

[0284] / / Calculate the composite duration

[0285] auto [compositeDocking, compositeUnloading] = calculateCompositeDurations(groupBoats);

[0286] / / Output the results

[0287] std::cout << "Composite Docking Duration: " << compositeDocking << " hours\n";

[0288] for (const auto&[fishType, duration] : compositeUnloading) {

[0289] std::cout << "Composite Unloading Duration for " << fishType << ": " << duration << " hours\n";

[0290] }

[0291] return 0;

[0292] }

[0293] This code implements the steps for calculating the combined duration of fishing vessels within the same port-bound fishing group. By calculating the maximum, minimum, mean, and variation range of each duration type, the combined return-to-port duration and combined unloading duration are derived. This method helps standardize the duration data of fishing vessel groups, providing a reliable basis for further management and optimization.

[0294] See also Figure 9 As shown, for each fishing vessel reported for berthing, since its return to port docking time and estimated unloading time are similar to those of fishing vessels with the same or similar route history information, step S51 can be first executed to extract the corresponding fishing route characteristics based on its fishing time in different fishing grounds when estimating its berthing and operating time. Next, step S52 can be executed to calculate the matrix difference norm between the fishing route characteristics of the reported fishing vessel for berthing and each reference inbound fishing vessel. Next, step S53 can be executed to determine the inbound fishing vessel group containing the reference inbound fishing vessel with the smallest matrix difference norm of its fishing route characteristics with the reported fishing vessel for berthing as the inbound fishing vessel group with common characteristics. Next, step S54 can be executed to determine the comprehensive return to port docking time and comprehensive unloading time of different types of catch corresponding to this common inbound fishing vessel group as the estimated return to port docking time and estimated unloading time of different types of catch for the reported fishing vessel for berthing. Finally, step S55 may be executed to summarize and obtain the estimated return port berthing time of each reported fishing vessel to be moored and the estimated unloading time of different types of catches.

[0295] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, systems, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and the part for the module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be performed substantially in parallel, and they can sometimes also be performed in the opposite order, depending on the function involved.

[0296] It should also be noted that each box in the block diagram and / or flowchart, and combinations of boxes in the block diagram and / or flowchart, can be implemented by hardware that performs the corresponding function or action, such as a circuit or ASIC (Application Specific Integrated Circuit), or can be implemented by a combination of hardware and software, such as firmware.

[0297] Although the present invention has been described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by examining the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. The fact that certain measures are recorded in different dependent claims does not mean that these measures cannot be combined to produce good results.

[0298] The embodiments of the present application have been described above. The above description is illustrative and not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons skilled in the art to understand the embodiments disclosed herein.< / fishingboat> < / double> < / double> < / double> < / double> < / fishingboat> < / numeric> < / algorithm> < / string> < / map> < / matrix> < / iostream> < / fishingboat> < / double> < / double> < / double> < / double> < / double> < / fishingboat> < / fishingboat> < / fishingboat> < / fishingboat> < / fishingboat> < / double> < / fishingboat> < / fishingboat> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double>

Claims

1. A fishing vessel docking estimation method based on route history information, characterized in that: include, Obtain the route history information of the fishing vessels entering the port and obtain the fishing time of the fishing vessels in different fishing grounds; Obtain the return time of fishing vessels entering the port and the unloading time of different types of catches; Classify the fishing vessels entering the port and perform the following steps for different types of fishing vessels entering the port: The fishing route characteristics of the fishing vessels entering the port are obtained based on the fishing time of the fishing vessels in different fishing grounds. Fishing vessels entering the port with common fishing route characteristics are classified into the same group of fishing vessels entering the port. For all the fishing vessels that belong to the same group of fishing vessels entering the port, the comprehensive return port berthing time and comprehensive unloading time of different types of catches of the group of fishing vessels entering the port are obtained according to their return port berthing time and the unloading time of different types of catches. The comprehensive return-to-port docking time and comprehensive unloading time of different types of catch corresponding to each group of fishing vessels entering the port are used as the estimated return-to-port docking time and estimated unloading time of different types of catch of fishing vessels that have common fishing route characteristics with the group of fishing vessels entering the port. The correlation between the fishing time of this type of fishing vessel in different fishing grounds and the estimated return-to-port docking time and estimated unloading time of different types of catch is obtained; The correlation between the fishing time of each type of fishing vessel in different fishing grounds and the estimated time of returning to port and the estimated time of unloading of different types of catch was summarized; Continuously obtain the position information of fishing vessels reported to be waiting for berthing, obtain route history information, and obtain the fishing time of fishing vessels reported to be waiting for berthing in different fishing grounds; According to the fishing time of the reported fishing vessels waiting to anchor in different fishing grounds and the correlation between the fishing time of the fishing vessels in different fishing grounds and the estimated return port docking time and the estimated unloading time of different types of catches, the estimated return port docking time of the reported fishing vessels waiting to anchor and the estimated unloading time of different types of catches are obtained.

2. The method according to claim 1, characterized in that The step of obtaining the fishing route characteristics of the fishing vessels entering the port according to the fishing time of the fishing vessels entering the port in different fishing grounds includes: Sort the fishing grounds in the set order to obtain the fishing ground order; For each fishing vessel entering the port, the values ​​of the fishing time of the fishing vessel entering the port in different fishing grounds are sorted according to the order of the fishing grounds and matrixed to obtain the fishing route characteristics of the fishing vessel entering the port, and the fishing route characteristics of each fishing vessel entering the port are summarized.

3. The method according to claim 2, characterized in that The step of classifying the port-entering fishing vessels with common fishing route characteristics into the same port-entering fishing vessel group, include, Fishing vessels that have fished in the same fishing grounds will be classified into the same group based on the fishing time they have spent in different fishing grounds. In each group of fishing vessels entering the port, the cumulative fishing time of each fishing vessel in the group will be ranked according to the cumulative fishing time in different fishing grounds; In each group of fishing vessels entering the port, the fishing vessel with the longest cumulative fishing time is selected as the reference fishing vessel; The difference between the fishing route characteristics of each reference port-entering fishing vessel and other port-entering fishing vessels is calculated and the port-entering fishing vessels with common fishing route characteristics are classified into the same port-entering fishing vessel group to obtain multiple port-entering fishing vessel groups.

4. The method according to claim 3, characterized in that The step of calculating and obtaining the difference between the fishing route characteristics of each reference port-entering fishing vessel and other port-entering fishing vessels and classifying the port-entering fishing vessels with common fishing route characteristics into the same port-entering fishing vessel group to obtain multiple port-entering fishing vessel groups includes: Calculate and obtain the matrix difference norm between the fishing route characteristics of each reference fishing vessel entering the port and the fishing route characteristics of other fishing vessels entering the port; For each fishing vessel entering the port other than the reference fishing vessel, the reference fishing vessel with the smallest matrix difference norm between the fishing vessel entering the port and the fishing route characteristics is reclassified into the same group of fishing vessels entering the port; For each group of fishing vessels entering the port, the mean matrix of the fishing route characteristics of all the fishing vessels in the group entering the port is calculated; For each port-entering fishing vessel group, the port-entering fishing vessel with the smallest matrix difference norm between the mean matrix of the fishing route characteristics of the port-entering fishing vessel group and the port-entering fishing vessel group among all the port-entering fishing vessel groups included in the port-entering fishing vessel group is used as the updated reference port-entering fishing vessel; In each group of fishing vessels entering the port, according to the ranking order of the cumulative fishing time of the fishing vessels entering the port, the average of the differences in the cumulative fishing time of each fishing vessel entering the port and its adjacent fishing vessels in the group entering the port is taken as the accidental variation time; Determine whether the difference in the cumulative fishing time between the reference port-bound fishing vessels before and after the update exceeds the accidental variation time; If so, continue to classify and generate port-entering fishing vessel groups and determine whether the reference port-entering fishing vessels before and after the update have changed, until the difference in the cumulative fishing time between the reference port-entering fishing vessels before and after the update does not exceed the accidental change time; If not, multiple groups of fishing vessels entering the port with common characteristics are obtained.

5. The method according to claim 1, wherein The step of obtaining the comprehensive return port berthing time and comprehensive unloading time of different types of catches of all the fishing vessels in the same group of fishing vessels in the port according to their return port berthing time and unloading time of different types of catches includes: For each type of duration in the port call duration and the duration of unloading of different types of catch, perform the following operations: Calculate the maximum, minimum and average durations of all fishing vessels entering the port in the same group of fishing vessels entering the port. Calculate the difference between the maximum and minimum values ​​of the duration as the duration variation range. The ratio of the duration change interval to the number of all fishing vessels entering the port in the group of fishing vessels entering the port is used as the duration adjustment interval. The average cumulative duration plus the adjusted interval of the duration is taken as the comprehensive duration of all the fishing vessels in the group entering the port; The comprehensive return to port berthing time of the fishing vessel group entering the port and the comprehensive unloading time of different types of catches are summarized and obtained.

6. The method according to claim 1, wherein The step of obtaining the estimated return port docking time of the reported fishing vessel to be moored and the estimated unloading time of different types of catch based on the fishing time of the reported fishing vessel to be moored in different fishing grounds and the correlation between the fishing time of the fishing vessel in different fishing grounds and the estimated return port docking time and the estimated unloading time of different types of catch, include, For each fishing vessel reported to be moored, The corresponding fishing route characteristics are extracted based on the fishing time of the reported fishing vessels in different fishing grounds. Calculate the matrix difference norm of the fishing route characteristics of the reported fishing vessel to be moored and each reference fishing vessel entering the port, The group of fishing vessels entering the port that has the smallest matrix difference norm between the fishing route characteristics of the reported fishing vessel to be moored and belongs to is regarded as the group of fishing vessels entering the port with common characteristics. The comprehensive return-to-port berthing time and comprehensive unloading time of different types of catch corresponding to the group of fishing vessels with common characteristics are used as the estimated return-to-port berthing time and estimated unloading time of different types of catch of the reported fishing vessels waiting to berth; The estimated return time of each fishing vessel reported to be waiting to dock and the estimated unloading time of different types of catches are summarized.

7. The method according to claim 1, characterized in that Also includes, Obtain the remaining processing capacity of the fishing port in the current period; Determine whether the estimated return time of all fishing vessels reported for berthing and the estimated unloading time of different types of fish within the current period exceeds the remaining processing capacity; If so, some fishing vessels that have reported for anchorage are required to wait at the anchorage outside the port; If not, no operation is performed.

8. A fishing vessel docking estimation method based on route history information, characterized in that: include, Receiving the estimated return port berthing time of the fishing vessel reported to be moored and the estimated unloading time of different types of catch in the method for estimating the docking of the fishing vessel based on the route history information according to any one of claims 1 to 7; Preparations for berthing and unloading of catches shall be made according to the estimated return time of fishing vessels to berth and the estimated unloading time of different types of catches.

9. A navigation management system based on route history information, characterized in that: include, The port management end is used to obtain the route history information of the fishing vessels entering the port and the fishing time of the fishing vessels in different fishing grounds; Obtain the return time of fishing vessels entering the port and the unloading time of different types of catches; Classify the fishing vessels entering the port and perform the following steps for different types of fishing vessels entering the port: The fishing route characteristics of the fishing vessels entering the port are obtained based on the fishing time of the fishing vessels in different fishing grounds. Fishing vessels entering the port with common fishing route characteristics are classified into the same group of fishing vessels entering the port. For all the fishing vessels that belong to the same group of fishing vessels entering the port, the comprehensive return port berthing time and comprehensive unloading time of different types of catches of the group of fishing vessels entering the port are obtained according to their return port berthing time and the unloading time of different types of catches. The comprehensive return-to-port docking time and comprehensive unloading time of different types of catch corresponding to each group of fishing vessels entering the port are used as the estimated return-to-port docking time and estimated unloading time of different types of catch of fishing vessels that have common fishing route characteristics with the group of fishing vessels entering the port. The correlation between the fishing time of this type of fishing vessel in different fishing grounds and the estimated return-to-port docking time and estimated unloading time of different types of catch is obtained; The correlation between the fishing time of each type of fishing vessel in different fishing grounds and the estimated time of returning to port and the estimated time of unloading of different types of catch was summarized; Continuously obtain the position information of fishing vessels reported to be waiting for berthing, obtain route history information, and obtain the fishing time of fishing vessels reported to be waiting for berthing in different fishing grounds; The estimated return port berthing time of the reported fishing vessels waiting to be moored and the estimated unloading time of different types of catches are obtained based on the fishing time of the reported fishing vessels waiting to be moored in different fishing grounds and the correlation between the fishing time of the fishing vessels in different fishing grounds and the estimated return port berthing time and the estimated unloading time of different types of catches; The shipping side is used to receive reports of fishing vessels waiting to berth, including the estimated return time to port and the estimated unloading time for different types of fish; Preparations for berthing and unloading of catches shall be made according to the estimated return time of fishing vessels to berth and the estimated unloading time of different types of catches.

Citation Information

Patent Citations

  • Method and device for predicting port residence time of ship

    CN107256438A

  • Fishery resource prediction method and system based on fishing boat operation mode

    CN115330009A