AIS-based ship abnormal state monitoring method, device, equipment and medium
Through the AIS-based ship abnormal status monitoring method, the ship's operating information and historical information are monitored in real time, and the problem of insufficient monitoring timeliness and accuracy in the existing technology is solved, achieving more efficient abnormal status monitoring and more reliable navigation safety.
Patent Information
- Application Number
- CN202411718614.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2044-11-28
AI Technical Summary
The prior art is difficult to ensure timeliness and accuracy in monitoring ship abnormal status, resulting in the impact of navigation safety and shore-based management.
The ship abnormal status monitoring method based on AIS is adopted. By obtaining ship operation information, historical operation information and meteorological information, the abnormal speed and number of abnormal points are determined, the abnormal status of the ship to be monitored is monitored in real time, and the alarm is made.
It improves the timeliness and accuracy of abnormal status monitoring, narrows the monitoring scope, reduces misjudgment, and enhances the reliability of navigation safety and shore-based management.
Smart Images

Figure CN119229688B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of ship abnormality monitoring, and in particular to a method, device, equipment and medium for monitoring ship abnormal status based on AIS. Background Art
[0002] In recent years, the marine environment has become increasingly complex. During the operation of ships, abnormalities often occur due to the natural environment and various sudden man-made events, making companies pay more and more attention to dynamic monitoring of ships, especially abnormal status monitoring.
[0003] At present, the abnormal status of the ship is reported to the shore management by the crew on board. However, due to the complex environment at sea and other internal and external reasons, it is difficult to ensure the timeliness and accuracy of the message sending. The messages are often sent late, missed or wrongly, which is very detrimental to the navigation safety of the ship and the shore-based management.
[0004] Therefore, how to improve the timeliness and accuracy of abnormal state monitoring is an urgent problem to be solved. Summary of the invention
[0005] In order to improve the timeliness and accuracy of abnormal state monitoring, the present application provides a method, device, equipment and medium for monitoring abnormal state of a ship based on AIS.
[0006] In the first aspect, the present application provides a method for monitoring abnormal status of a ship based on AIS, which adopts the following technical solution:
[0007] A method for monitoring abnormal state of a ship based on AIS, comprising:
[0008] Obtain ship operation information;
[0009] Determine the ship to be monitored based on the ship operation information and preset rules;
[0010] Obtaining historical operation information of all ships within a preset time period, data points of the ships to be monitored, and meteorological information, wherein the data points include speed and position;
[0011] Determine an abnormal judgment speed based on the historical operation information and the meteorological information, wherein the abnormal judgment speed includes a drifting speed and a slow speed;
[0012] Determine the number of abnormal points based on the abnormal judgment distance and the abnormal judgment speed, the number of abnormal points includes the number of drifting abnormal points and the number of slow-speed abnormal points, and the number of drifting abnormal points is greater than the number of slow-speed abnormal points;
[0013] Determining abnormal information of the ship to be monitored based on the data points, the abnormal judgment speed and the number of abnormal points;
[0014] An alarm is issued based on the abnormal information.
[0015] By adopting the above technical solution, the ship to be monitored is determined through the ship operation information and preset rules, and only the ship to be monitored is monitored instead of all ships, which narrows the monitoring scope and improves the monitoring efficiency and accuracy; by obtaining the data points of the ship to be monitored, the ship to be monitored can be monitored in real time. Compared with the message monitoring method, the timeliness of abnormal state monitoring is improved, the abnormal judgment speed is determined through historical operation information and meteorological information, the number of abnormal points is determined through the abnormal judgment distance and the abnormal judgment speed, different abnormalities are determined by different abnormal judgment speeds and abnormal point numbers, and the accuracy of abnormal judgment is improved.
[0016] Optionally, the determining a ship to be monitored based on the ship operation information and a preset rule includes:
[0017] Determine the departure time and the expected arrival time based on the ship operation information;
[0018] Get ship information;
[0019] Determine the preset departure time and the preset arrival time corresponding to the monitored ship based on the preset rules and the ship information;
[0020] Calculate the departure time based on the current time and the departure time;
[0021] Calculate the arrival time based on the current time and the estimated arrival time;
[0022] The ship whose departure time is longer than the preset departure time and whose arrival time is longer than the preset arrival time is determined as a ship to be monitored.
[0023] By adopting the above technical solution, the range of ships to be monitored is narrowed by setting a preset departure time and a preset arrival time, thereby reducing misjudgment caused by the slow speed of ships just leaving the port or about to arrive at the port, and improving the accuracy of abnormal state monitoring.
[0024] Optionally, the determining the abnormal judgment speed based on the historical operation information and the meteorological information includes:
[0025] Acquire a meteorological influencing factor based on the meteorological information;
[0026] Determine the drifting speed based on a preset benchmark and the meteorological influencing factors;
[0027] Based on the corresponding ship, the historical operation information is divided into first historical operation information and second historical operation information, the first historical operation information is the operation information of each historical voyage of the monitored ship, and the second historical operation information is the historical operation information other than the first historical operation information;
[0028] Determine the target cargo state, target ship type and target ship age of the ship to be monitored based on the ship operation information, wherein the target cargo state includes empty, half-loaded and fully-loaded;
[0029] Determine a ship whose ship type is the target ship type and whose ship age is the target ship age as a reference ship;
[0030] determining the second historical operation information corresponding to the reference ship and having a cargo state of the target cargo state as the third historical operation information;
[0031] determining a first reference speed based on the first historical operation information;
[0032] Determining a second reference speed based on the third historical operation information;
[0033] Calculate a target reference speed based on the first reference speed, the second reference speed and a preset weight;
[0034] The slow speed is determined based on the target reference speed and the meteorological influencing factor.
[0035] By adopting the above technical scheme, when determining the abnormal judgment speed, the influence of meteorological information is taken into account, thereby improving the accuracy of the abnormal judgment speed. When determining the slow speed, not only the first historical operation information of the monitored ship itself is taken into account, but also the third historical operation information of the reference ship under the target cargo state is taken into account, thereby further improving the accuracy of the slow speed.
[0036] Optionally, determining the second reference speed based on the third historical operation information includes:
[0037] Determine the preset departure time and the preset arrival time corresponding to each of the third historical operation information based on the preset rule;
[0038] Determine the normal sailing mileage and the normal sailing duration in each of the third historical operation information based on the preset departure duration and the preset arrival duration;
[0039] Calculate the voyage speed of each voyage based on the normal voyage mileage and the normal voyage duration;
[0040] The average voyage speed of all voyages corresponding to the third historical operation information is calculated, and the average voyage speed is determined as the second reference speed.
[0041] By adopting the above technical solution, when calculating the voyage speed of each voyage, only the normal sailing mileage and the normal sailing time are considered, which improves the accuracy of the voyage speed, thereby improving the accuracy of the average voyage speed, that is, improving the accuracy of the second reference speed.
[0042] Optionally, the determining the abnormal information of the ship to be monitored based on the data point, the abnormal judgment speed and the number of abnormal points includes:
[0043] If the speeds corresponding to the data points of the number of consecutive drift abnormality points are all less than the drift speed, the abnormality type is drift;
[0044] If the abnormality type is not drifting, determining whether the speeds corresponding to the data points of the number of consecutive slow abnormality points are all less than the slow speed;
[0045] If the speeds corresponding to the data points of the number of consecutive slow abnormal points are all less than the slow speed, the abnormality type is slow speed;
[0046] Abnormal information of the ship to be monitored is determined based on the abnormal type and the data point.
[0047] By adopting the above technical solution, when determining the abnormal information of the ship to be monitored, it is first determined whether it is drifting, then whether it is slow, and the abnormality is determined by the number of different abnormal points, thereby improving the accuracy of abnormal judgment.
[0048] Optionally, the abnormal information includes an abnormal location, and before issuing an alarm based on the abnormal information, the method further includes:
[0049] Acquire message data, where the message data is message data sent by the ship;
[0050] Determining the message data corresponding to the ship to be monitored as monitoring message data;
[0051] Determine the port distance based on the ship operation information and the abnormal position, where the port distance is the distance between the ship and the port;
[0052] Determine a ship to be monitored that is shifted based on the monitoring message data and the port distance, wherein the ship to be monitored that is shifted is a ship to be monitored that is in a mobile berth in the port;
[0053] The abnormal information is screened based on the shifting ship to be monitored.
[0054] By adopting the above technical solution, the ships to be monitored are determined by monitoring message data and the distance to the port, and abnormal information is screened by the ships to be monitored. This reduces the misjudgment caused by the slow speed of the ships to be monitored when they are at the mobile berths of the port, and improves the accuracy of abnormal status monitoring.
[0055] Optionally, the abnormal information includes an abnormal type, and the alarming based on the abnormal information includes:
[0056] Acquiring historical abnormal information, where the historical abnormal information is abnormal information of the previous voyage of the ship to be monitored;
[0057] If the historical abnormal information and the abnormal information have the same abnormal type, determining an intermediate data point based on the historical abnormal information and the abnormal information, the intermediate data point being a data point between the historical abnormal information and the abnormal information;
[0058] determining an abnormal speed based on the abnormal type;
[0059] Determine the intermediate data point whose speed is greater than or equal to the abnormal speed as a normal data point;
[0060] If the number of normal data points is greater than a preset normal number, an alarm tag is added to the abnormal information;
[0061] An alarm is issued based on the alarm tag and the abnormal information.
[0062] By adopting the above technical solution, the number of normal data points is used to determine whether the current anomaly is the same as the previous anomaly, and by adding an alarm tag to the abnormal information, the possibility of multiple alarms for the same anomaly is reduced, thereby improving the reliability of the alarm.
[0063] In the second aspect, the present application provides a ship abnormal state monitoring device based on AIS, which adopts the following technical solution:
[0064] A ship abnormal state monitoring device based on AIS, comprising:
[0065] The first acquisition module is used to acquire ship operation information;
[0066] A ship determination module, used to determine the ship to be monitored based on the ship operation information and preset rules;
[0067] A second acquisition module is used to acquire historical operation information of all ships within a preset time period, data points of the ships to be monitored, and meteorological information, wherein the data points include speed and position;
[0068] A speed determination module, used to determine an abnormal judgment speed based on the historical operation information and the meteorological information, wherein the abnormal judgment speed includes a drifting speed and a slow speed;
[0069] A quantity determination module, used to determine the number of abnormal points based on the abnormal judgment distance and the abnormal judgment speed, wherein the number of abnormal points includes the number of drifting abnormal points and the number of slow-speed abnormal points, and the number of drifting abnormal points is greater than the number of slow-speed abnormal points;
[0070] An abnormality determination module, used to determine the abnormal information of the ship to be monitored based on the data point, the abnormal judgment speed and the number of abnormal points;
[0071] The abnormality alarm module is used to generate an alarm based on the abnormality information.
[0072] By adopting the above technical solution, the ship to be monitored is determined through the ship operation information and preset rules, and only the ship to be monitored is monitored instead of all ships, which narrows the monitoring scope and improves the monitoring efficiency and accuracy; by obtaining the data points of the ship to be monitored, the ship to be monitored can be monitored in real time. Compared with the message monitoring method, the timeliness of abnormal state monitoring is improved, the abnormal judgment speed is determined through historical operation information and meteorological information, the number of abnormal points is determined through the abnormal judgment distance and the abnormal judgment speed, different abnormalities are determined by different abnormal judgment speeds and abnormal point numbers, and the accuracy of abnormal judgment is improved.
[0073] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:
[0074] An electronic device comprises a processor, wherein the processor is coupled to a memory;
[0075] The memory stores a computer program that can be loaded by the processor and executes the AIS-based ship abnormal state monitoring method described in any one of the first aspects.
[0076] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0077] A computer-readable storage medium stores a computer program that can be loaded by a processor and executes the ship abnormal state monitoring method based on AIS as described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 It is a flow chart of a method for monitoring abnormal status of a ship based on AIS provided in an embodiment of the present application.
[0079] Figure 2It is a structural block diagram of a ship abnormal state monitoring device based on AIS provided in an embodiment of the present application.
[0080] Figure 3 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0081] The present application is further described in detail below in conjunction with the accompanying drawings.
[0082] The embodiment of the present application provides a ship abnormal state monitoring method based on AIS, and the ship abnormal state monitoring method based on AIS can be executed by an electronic device, and the electronic device can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.
[0083] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0084] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0085] like Figure 1 As shown, a method for monitoring abnormal state of a ship based on AIS is described as follows (steps S101 to S107):
[0086] Step S101, obtaining ship operation information.
[0087] The ship operation information includes but is not limited to the ship's departure port, arrival port, departure time, estimated arrival time and sailing direction. The ship operation information is obtained from the staff or the database.
[0088] Step S102: Determine the ship to be monitored based on the ship operation information and preset rules.
[0089] Not all ships need to be monitored for abnormalities. Ships that need to be monitored, i.e. ships to be monitored, are screened according to preset rules and ship operation information. The preset rules are the correspondence between the ship and the length of time allowed to slow down after leaving the port (or before arriving at the port).
[0090] Specifically, determining the ships to be monitored based on the ship operation information and preset rules includes: determining the departure time and the expected arrival time based on the ship operation information; obtaining the ship information; determining the preset departure time and the preset arrival time corresponding to the ships to be monitored based on the preset rules and the ship information; calculating the departure time based on the current time and the departure time; calculating the arrival time based on the current time and the expected arrival time; determining the ships whose departure time is longer than the preset departure time and whose arrival time is longer than the preset arrival time as the ships to be monitored.
[0091] In this embodiment, the departure time and expected arrival time of each ship are searched from all the ship operation information, and the ship information is obtained from the database. The ship information includes but is not limited to the ship type, the ship operation sea area and the ship cargo information. According to the ship type, the ship operation sea area and the ship cargo information, the preset departure time and the preset arrival time corresponding to each ship are searched from the preset rules, and the departure time is subtracted from the current time to obtain the departure time, and the expected arrival time is subtracted from the current time to obtain the arrival time. If the departure time corresponding to the ship is greater than the preset departure time, and the arrival time is greater than the preset arrival time, the ship is a ship to be monitored, that is, a ship with a short departure time or about to arrive does not need to be monitored.
[0092] Step S103: Obtain historical operation information of all ships within a preset time period, data points of the ships to be monitored, and meteorological information.
[0093] The preset time period can be one year, and the historical operation information of all ships within the preset time period is obtained from the database. The historical operation information includes but is not limited to the departure port, arrival port, departure time, arrival time and position of the ship at each time, total mileage and total duration of voyage. The data points include time, speed and position. For example, the data point is (latitude and longitude, speed, time). The data point is obtained by monitoring the AIS equipment on the ship. The data points of the monitored ship are obtained from the AIS equipment. The data points are sorted in chronological order. The frequency of obtaining the data points is the same as the frequency of obtaining the data points monitored by the AIS equipment. The current meteorological information is obtained from the meteorological department. The meteorological information includes but is not limited to wind speed, wind direction, water flow speed and water flow direction.
[0094] Step S104: determining an abnormal speed based on historical operation information and meteorological information.
[0095] The abnormal judgment speed includes a drifting speed and a slow speed. The drifting speed is used to judge whether there is a drifting abnormality. If there is no drifting abnormality, the slow speed is used to judge whether there is a slow speed abnormality, wherein the drifting speed is less than the slow speed.
[0096] Specifically, determining the abnormal judgment speed based on historical operation information and meteorological information includes: obtaining a meteorological influencing factor based on the meteorological information; determining a drifting speed based on a preset benchmark and the meteorological influencing factor; dividing the historical operation information into first historical operation information and second historical operation information based on the corresponding ship, the first historical operation information being the operation information of each historical voyage of the ship to be monitored, and the second historical operation information being the historical operation information other than the first historical operation information; determining a target cargo state, a target ship type and a target ship age of the ship to be monitored based on the ship operation information, the target cargo state including empty, half-loaded and fully loaded; determining a ship whose ship type is the target ship type and whose ship age is the target ship age as a reference ship; determining the second historical operation information corresponding to the reference ship and whose cargo state is the target cargo state as the third historical operation information; determining a first benchmark speed based on the first historical operation information; determining a second benchmark speed based on the third historical operation information; calculating a target benchmark speed based on the first benchmark speed, the second benchmark speed and a preset weight; determining a slow speed based on the target benchmark speed and the meteorological influencing factor.
[0097] In this embodiment, the database stores the correspondence between meteorological information, navigation direction and meteorological influencing factors. The meteorological influencing factor can be a positive number (for example, when the wind direction and the water flow direction are consistent with the navigation direction) or a negative number. The meteorological influencing factor and the preset benchmark are obtained from the database according to the meteorological information and the navigation direction. The drifting speed = the preset benchmark + the meteorological influencing factor. The preset benchmark is pre-set and is not specifically limited here. For example, the preset benchmark is 2 knots.
[0098] Each historical operation information corresponds to a voyage of a ship. According to whether the corresponding ship is a ship to be monitored, the historical operation information is divided into first historical operation information (historical operation information of each voyage of the ship to be monitored) and second historical operation information (historical operation information other than the first historical operation information, that is, historical operation information of each voyage of other ships except the ship to be monitored). The target cargo state, target ship type and target ship age of the ship to be monitored are found from the ship operation information, and a ship with the target ship type and the target ship age is determined as a reference ship; the second historical operation information corresponding to the reference ship with the cargo state as the target cargo state is determined as the third historical operation information, the first historical operation information is analyzed to obtain a first reference speed, the third historical operation information is analyzed to obtain a second reference speed, and preset weights are obtained from a database. The preset weights include a first preset weight and a second preset weight, the target reference speed=the first reference speed×the first preset weight+the second reference speed×the second preset weight, and the slow speed=the target reference speed+the meteorological impact factor.
[0099] Specifically, determining the second reference speed based on the third historical operating information includes: determining the preset departure time and the preset arrival time corresponding to each third historical operating information based on preset rules; determining the normal sailing mileage and the normal sailing time in each third historical operating information based on the preset departure time and the preset arrival time; calculating the voyage speed of each voyage based on the normal sailing mileage and the normal sailing time; calculating the average voyage speed of all voyages corresponding to the third historical operating information, and determining the average voyage speed as the second reference speed.
[0100] In this embodiment, the ship types, ship operating sea areas and ship cargo information of all ships are obtained from the database, and the preset departure time and preset arrival time corresponding to each third historical operation information are found from the preset rules according to the ship types, ship operating sea areas and ship cargo information corresponding to the third historical operation information; the initial normal time = the departure time in the third historical operation information + the preset departure time, the end normal time = the arrival time in the third historical operation information - the preset arrival time, the navigation mileage between the initial normal time and the end normal time is determined as the normal navigation mileage, the normal navigation time = the end normal time - the initial normal time, the voyage speed of each voyage = the normal navigation mileage / the normal navigation time, the average voyage speed of all voyages corresponding to the third historical operation information = sum (the voyage speed of each voyage) / the number of the third historical operation information, when calculating the average voyage speed, it can also be calculated by the average voyage speed = sum (normal navigation mileage) / sum (normal navigation time), and the average voyage speed is determined as the second reference speed.
[0101] The first historical operating information in which the cargo state is the target cargo state is determined as the fourth historical operating information, and the fourth historical operating information is analyzed to obtain the first reference speed. It is worth noting that the method of obtaining the first reference speed by analyzing the fourth historical operating information is the same as above, which will not be repeated here.
[0102] Step S105: determining the number of abnormal points based on the abnormal judgment distance and the abnormal judgment speed.
[0103] In this embodiment, the number of abnormal points is a threshold value of the number of data points for judging whether an abnormality exists, that is, only when the number of abnormal data points is not less than the number of abnormal points, can it be judged that an abnormality exists, thereby reducing the misjudgment of abnormalities caused by accidental abnormal data points. The number of abnormal points includes the number of drift abnormal points and the number of slow abnormal points. The abnormal judgment distance (that is, the distance for judging whether an abnormality exists) is obtained from the database. The number of drift abnormal points = (abnormal judgment distance / drift speed) / acquisition frequency of AIS data points, and the number of slow abnormal points = (abnormal judgment distance / slow speed) / acquisition frequency of AIS data points. Since the drift speed is less than the slow speed, the number of drift abnormal points is greater than the number of slow abnormal points.
[0104] Step S106: Determine the abnormal information of the ship to be monitored based on the data points, the abnormal judgment speed and the number of abnormal points.
[0105] The abnormal information includes the abnormal location and the abnormal type.
[0106] Specifically, the abnormal information of the ship to be monitored is determined based on the data points, the abnormal judgment speed and the number of abnormal points, including: if the speeds corresponding to the number of consecutive drifting abnormal points data points are all less than the drifting speed, the abnormal type is drifting; if the abnormal type is not drifting, it is judged whether the speeds corresponding to the number of consecutive slow abnormal points data points are all less than the slow speed; if the speeds corresponding to the number of consecutive slow abnormal points data points are all less than the slow speed, the abnormal type is slow; the abnormal information of the ship to be monitored is determined based on the abnormal type and the data points.
[0107] In this embodiment, the speed in the data point is compared with the drifting speed. If the speeds corresponding to the continuous number of abnormal drifting points are all less than the drifting speed, the abnormal type is drifting, otherwise the abnormal type is not drifting; if the abnormal type is not drifting, it is determined whether the speeds corresponding to the continuous number of abnormal slow speed points are all less than the slow speed. If the speeds corresponding to the continuous number of abnormal slow speed points are all less than the slow speed, the abnormal type is slow; otherwise, there is no abnormality. When there is an abnormality, the abnormal type and the continuous number of abnormal points (including position and speed) are determined as abnormal information of the ship to be monitored, and the abnormal position in the abnormal information is the position corresponding to the first abnormal data point in the abnormal information.
[0108] Specifically, not all AIS data points are accurate. Before determining the abnormal information of the ship to be monitored based on the data points, the abnormal judgment speed and the number of abnormal points, the method also includes: obtaining a preset speed range from a database. If the speed corresponding to the data point is within the preset speed range, then there is no error in the data point. The data point whose corresponding speed is not within the preset speed range is determined as an error point. When determining the abnormal information of the ship to be monitored, the error point is not considered.
[0109] Specifically, before issuing an alarm based on abnormal information, the method also includes: obtaining message data, which is the message data sent by the ship; determining the message data corresponding to the ship to be monitored as the monitoring message data; determining the berthing distance based on the ship operation information and the abnormal position, which is the distance between the ship and the port; determining a shifted ship to be monitored based on the monitoring message data and the berthing distance, which is the distance between the ship and the port; determining a shifted ship to be monitored based on the monitoring message data and the berthing distance, which is a ship to be monitored that is located at a mobile berth in the port; and screening the abnormal information based on the shifted ship to be monitored.
[0110] When the departure time corresponding to the ship is longer than the preset departure time, and the arrival time is longer than the preset arrival time, there may be a situation where the ship moves the berth in the port for a long time (that is, the ship moves slowly to the berth or slowly sails out of the berth). At this time, there will also be a relatively slow speed, but this situation is not abnormal, so the abnormal information may be misjudged. In this embodiment, after obtaining the abnormal information, the message data is obtained from the database, the message data corresponding to the monitored ship is searched from all the message data, and the message data is determined as the monitoring message data; the departure port and the arrival port are searched from the ship operation information. The port distance includes the first port distance and the second port distance. The distance between the departure port and the abnormal position is calculated to obtain the first port distance. The distance between the arrival port and the abnormal position is calculated to obtain the second port distance. If there is a preset keyword in the monitoring message data of the ship to be monitored, or the first port distance is less than the preset distance, or the second port distance is less than the preset distance, then the ship to be monitored is a shifting ship to be monitored, that is, there is no abnormal ship. The abnormal information corresponding to the shifting ship to be monitored in the abnormal information, that is, the misjudged abnormal information, is deleted. The preset keywords are, for example, "berthing" or "waiting".
[0111] Step S107: issuing an alarm based on the abnormal information.
[0112] Specifically, the alarm is made based on the abnormal information, including: obtaining historical abnormal information, the historical abnormal information is the abnormal information of the previous voyage of the current voyage of the monitored ship; if the abnormal type of the historical abnormal information is the same as that of the abnormal information, then determining the intermediate data point based on the historical abnormal information and the abnormal information, the intermediate data point is the data point between the historical abnormal information and the abnormal information; determining the abnormal speed based on the abnormal type; determining the intermediate data point whose speed is greater than or equal to the abnormal speed as a normal data point; if the number of normal data points is greater than the preset normal number, adding an alarm tag to the abnormal information; and making an alarm based on the alarm tag and the abnormal information.
[0113] In this embodiment, the abnormal information of the last voyage of the monitored ship, that is, the historical abnormal information, is obtained from the database. If the abnormal type of the historical abnormal information is the same as that of the current abnormal information, it is necessary to determine whether this is the same abnormality as the previous one, that is, whether the ship resumes normal navigation between the two abnormalities, and whether there are other data points between the data points corresponding to the historical abnormal information and the data points corresponding to the current abnormal information. If there are other data points, the data points between them are determined as intermediate data points. If the abnormal type is drifting, the abnormal speed is the drifting speed. If the abnormal type is slow, the abnormal speed is the slow speed. speed, determine the middle data points whose speed is greater than or equal to the abnormal speed as normal data points. If the number of normal data points is greater than the preset normal number, there is a normal navigation state between this abnormality and the last abnormality, and this abnormality and the last abnormality are not the same abnormality. Add an alarm tag to the abnormal information, and alarm based on the alarm tag and abnormal information; if the number of normal data points is less than or equal to the preset normal number, there is no normal navigation state between this abnormality and the last abnormality, and this abnormality and the last abnormality are the same abnormality. There is no need to add an alarm tag to the abnormal information, that is, there is no need to alarm for this abnormal information.
[0114] If there are no other data points between the data points corresponding to the historical abnormal information and the data points corresponding to the current abnormal information, there is no normal navigation status between this abnormality and the previous abnormality. This abnormality and the previous abnormality are the same abnormality, and there is no need to add an alarm tag to the abnormal information, that is, no alarm is required for this abnormal information.
[0115] If the abnormal type of the historical abnormal information is different from that of the current abnormal information, an alarm tag is added to the abnormal information, and an alarm is issued based on the alarm tag and the abnormal information.
[0116] Furthermore, an alarm is performed based on the alarm tag and the abnormal information, including: determining the abnormal ship based on the alarm tag and the abnormal information; obtaining the manager of the abnormal ship; obtaining the historical reading time of the manager, the historical reading time is the average time for the manager to view the abnormal information through each alarm method; determining the alarm method based on the historical reading time; and performing an alarm based on the alarm method, the abnormal information and the manager.
[0117] In this embodiment, only abnormal information with an alarm tag added needs to be alarmed, that is, the same abnormality does not need to be repeatedly alarmed. The monitored ship in the abnormal information with an alarm tag is determined as an abnormal ship, the manager of the abnormal ship is obtained from the database, and the historical reading time of the manager is obtained from the database. The historical reading time reflects the manager's message reading speed when an alarm is issued to the manager through multiple alarm methods. The one or two alarm methods with the shortest historical reading time are determined as the alarm method for this time, and the abnormal information is sent to the manager through the alarm method for this time, thereby issuing an alarm.
[0118] Figure 2 A structural block diagram of an AIS-based ship abnormal state monitoring device 200 provided in an embodiment of the present application.
[0119] like Figure 2 As shown, the AIS-based ship abnormal state monitoring device 200 mainly includes:
[0120] The first acquisition module 201 is used to acquire ship operation information;
[0121] The ship determination module 202 is used to determine the ship to be monitored based on the ship operation information and preset rules;
[0122] The second acquisition module 203 is used to acquire historical operation information of all ships within a preset time period, data points of ships to be monitored, and meteorological information, where the data points include speed and position;
[0123] The speed determination module 204 is used to determine the abnormal judgment speed based on the historical operation information and the meteorological information, and the abnormal judgment speed includes the drifting speed and the slow speed;
[0124] The number determination module 205 is used to determine the number of abnormal points based on the abnormal judgment distance and the abnormal judgment speed. The number of abnormal points includes the number of drifting abnormal points and the number of slow-speed abnormal points. The number of drifting abnormal points is greater than the number of slow-speed abnormal points.
[0125] The abnormality determination module 206 is used to determine the abnormal information of the ship to be monitored based on the data points, the abnormal judgment speed and the number of abnormal points;
[0126] The abnormality alarm module 207 is used to generate an alarm based on the abnormality information.
[0127] As an optional implementation of this embodiment, the ship determination module 202 is also specifically used to determine the ship to be monitored based on the ship operation information and preset rules, including: determining the departure time and the expected arrival time based on the ship operation information; obtaining the ship information; determining the preset departure time and the preset arrival time corresponding to the ship to be monitored based on the preset rules and the ship information; calculating the departure time based on the current time and the departure time; calculating the arrival time based on the current time and the expected arrival time; determining the ship whose departure time is greater than the preset departure time and whose arrival time is greater than the preset arrival time as the ship to be monitored.
[0128] As an optional implementation of this embodiment, the speed determination module 204 is also specifically used to determine the abnormal judgment speed based on historical operation information and meteorological information, including: obtaining a meteorological impact factor based on the meteorological information; determining the drifting speed based on a preset benchmark and the meteorological impact factor; dividing the historical operation information into first historical operation information and second historical operation information based on the corresponding ship, the first historical operation information is the operation information of each historical voyage of the ship to be monitored, and the second historical operation information is the historical operation information other than the first historical operation information; determining the target cargo state, target ship type and target ship age of the ship to be monitored based on the ship operation information, and the target cargo state includes empty, half-loaded and fully loaded; determining a ship with a ship type of the target ship type and a ship age of the target ship age as a reference ship; determining the second historical operation information corresponding to the reference ship and with a cargo state of the target cargo state as the third historical operation information; determining a first benchmark speed based on the first historical operation information; determining a second benchmark speed based on the third historical operation information; calculating the target benchmark speed based on the first benchmark speed, the second benchmark speed and the preset weight; determining a slow speed based on the target benchmark speed and the meteorological impact factor.
[0129] As an optional implementation of this embodiment, the speed determination module 204 is also specifically used to determine the second reference speed based on the third historical operation information, including: determining the preset departure time and the preset arrival time corresponding to each third historical operation information based on preset rules; determining the normal sailing mileage and the normal sailing time in each third historical operation information based on the preset departure time and the preset arrival time; calculating the voyage speed of each voyage based on the normal sailing mileage and the normal sailing time; calculating the average voyage speed of all voyages corresponding to the third historical operation information, and determining the average voyage speed as the second reference speed.
[0130] As an optional implementation manner of this embodiment, the abnormality determination module 206 is also specifically used to determine the abnormal information of the ship to be monitored based on the data points, the abnormal judgment speed and the number of abnormal points, including: if the speeds corresponding to the number of consecutive drifting abnormal points data points are all less than the drifting speed, then the abnormality type is drifting; if the abnormality type is not drifting, then it is determined whether the speeds corresponding to the number of consecutive slow abnormal points data points are all less than the slow speed; if the speeds corresponding to the number of consecutive slow abnormal points data points are all less than the slow speed, then the abnormality type is slow; determine the abnormal information of the ship to be monitored based on the abnormality type and the data points.
[0131] As an optional implementation of this embodiment, the abnormal information includes the abnormal position, and the abnormal alarm module 207 is also specifically used to, before issuing an alarm based on the abnormal information, also include: obtaining message data, the message data is the message data sent by the ship; determining the message data corresponding to the ship to be monitored as the monitoring message data; determining the berthing distance based on the ship operation information and the abnormal position, the berthing distance is the distance between the ship and the port; determining the shifted ship to be monitored based on the monitoring message data and the berthing distance, the shifted ship to be monitored is the ship to be monitored in the mobile berth of the port; screening the abnormal information based on the shifted ship to be monitored.
[0132] As an optional implementation of this embodiment, the abnormal information includes the abnormal type, and the abnormal alarm module 207 is also specifically used to alarm based on the abnormal information, including: obtaining historical abnormal information, the historical abnormal information is the abnormal information of the previous voyage of the current voyage of the monitored ship; if the historical abnormal information and the abnormal information have the same abnormal type, then determine the intermediate data point based on the historical abnormal information and the abnormal information, the intermediate data point is the data point between the historical abnormal information and the abnormal information; determine the abnormal speed based on the abnormal type; determine the intermediate data point whose speed is greater than or equal to the abnormal speed as a normal data point; if the number of normal data points is greater than the preset normal number, add an alarm tag to the abnormal information; and alarm based on the alarm tag and the abnormal information.
[0133] In one example, the module in any of the above devices can be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0134] For another example, when the modules in the device can be implemented in the form of a processing element scheduling program, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0135] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0136] Figure 3 A structural block diagram of an electronic device 300 provided in an embodiment of the present application.
[0137] like Figure 3 As shown, the electronic device 300 includes a processor 301 and a memory 302 , and may further include an information input / information output (I / O) interface 303 , one or more of a communication component 304 , and a communication bus 305 .
[0138] The processor 301 is used to control the overall operation of the electronic device 300 to complete all or part of the steps of the above-mentioned ship abnormal state monitoring method based on AIS; the memory 302 is used to store various types of data to support the operation of the electronic device 300, and these data may include, for example, instructions for any application or method used to operate on the electronic device 300, and data related to the application. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), programmable read-only memory (Programmable Read-Only Memory, PROM), read-only memory (Read-Only Memory, ROM), magnetic memory, flash memory, magnetic disk or optical disk. One or more.
[0139] The I / O interface 303 provides an interface between the processor 301 and other interface modules, and the above-mentioned other interface modules can be keyboards, mice, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 304 is used for wired or wireless communication between the electronic device 300 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 304 can include: Wi-Fi components, Bluetooth components, NFC components.
[0140] The electronic device 300 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the AIS-based ship abnormal state monitoring method given in the above embodiment.
[0141] The communication bus 305 may include a path to transmit information between the above components. The communication bus 305 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 305 may be divided into an address bus, a data bus, a control bus, etc.
[0142] The electronic device 300 may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc., and may also be servers, etc.
[0143] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned AIS-based ship abnormal state monitoring method are implemented.
[0144] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0145] The terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article, or apparatus.
[0146] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.
Claims
1. A method for monitoring abnormal status of a ship based on AIS, characterized in that: include: Obtain ship operation information; Determine the ship to be monitored based on the ship operation information and preset rules; Obtaining historical operation information of all ships within a preset time period, data points of the ships to be monitored, and meteorological information, wherein the data points include speed and position; Determine an abnormal judgment speed based on the historical operation information and the meteorological information, wherein the abnormal judgment speed includes a drifting speed and a slow speed; Determine the number of abnormal points based on the abnormal judgment distance and the abnormal judgment speed, the number of abnormal points includes the number of drifting abnormal points and the number of slow-speed abnormal points, and the number of drifting abnormal points is greater than the number of slow-speed abnormal points; Determine abnormal information of the ship to be monitored based on the data point, the abnormal judgment speed and the number of abnormal points, wherein the abnormal information includes an abnormal position; Producing an alarm based on the abnormal information; The determining of the abnormal judgment speed based on the historical operation information and the meteorological information includes: Acquire a meteorological influencing factor based on the meteorological information; Determine the drifting speed based on a preset benchmark and the meteorological influencing factors; Based on the corresponding ship, the historical operation information is divided into first historical operation information and second historical operation information, the first historical operation information is the operation information of each historical voyage of the monitored ship, and the second historical operation information is the historical operation information other than the first historical operation information; Determine the target cargo state, target ship type and target ship age of the ship to be monitored based on the ship operation information, wherein the target cargo state includes empty, half-loaded and fully-loaded; Determine a ship whose ship type is the target ship type and whose ship age is the target ship age as a reference ship; determining the second historical operation information corresponding to the reference ship and having a cargo state equal to the target cargo state as the third historical operation information; determining a first reference speed based on the first historical operation information; Determining a second reference speed based on the third historical operation information; Calculate a target reference speed based on the first reference speed, the second reference speed and a preset weight; Determine the slow speed based on the target reference speed and the meteorological influencing factor; The determining the second reference speed based on the third historical operation information comprises: Determine the preset departure time and the preset arrival time corresponding to each of the third historical operation information based on the preset rule; Determine the normal sailing mileage and the normal sailing duration in each of the third historical operation information based on the preset departure duration and the preset arrival duration; Calculate the voyage speed of each voyage based on the normal voyage mileage and the normal voyage duration; Calculating an average voyage speed of all voyages corresponding to the third historical operation information, and determining the average voyage speed as the second reference speed; Before the alarm is issued based on the abnormal information, the method further includes: Acquire message data, where the message data is message data sent by the ship; Determining the message data corresponding to the ship to be monitored as monitoring message data; Determine the port distance based on the ship operation information and the abnormal position, where the port distance is the distance between the ship and the port; Determine a ship to be monitored that is shifted based on the monitoring message data and the port distance, wherein the ship to be monitored that is shifted is a ship to be monitored that is in a mobile berth in the port; The abnormal information is screened based on the shifting ship to be monitored.
2. The method according to claim 1, characterized in that The determining of the ship to be monitored based on the ship operation information and preset rules includes: Determine the departure time and the expected arrival time based on the ship operation information; Get ship information; Determine the preset departure time and the preset arrival time corresponding to the monitored ship based on the preset rules and the ship information; Calculate the departure time based on the current time and the departure time; Calculate the arrival time based on the current time and the estimated arrival time; The ship whose departure time is longer than the preset departure time and whose arrival time is longer than the preset arrival time is determined as a ship to be monitored.
3. The method according to claim 1, characterized in that: The determining the abnormal information of the ship to be monitored based on the data point, the abnormal judgment speed and the number of abnormal points includes: If the speeds corresponding to the data points of the number of consecutive drift abnormality points are all less than the drift speed, the abnormality type is drift; If the abnormality type is not drifting, determining whether the speeds corresponding to the data points of the number of consecutive slow abnormality points are all less than the slow speed; If the speeds corresponding to the data points of the number of consecutive slow abnormal points are all less than the slow speed, the abnormality type is slow speed; Abnormal information of the ship to be monitored is determined based on the abnormal type and the data point.
4. The method according to claim 1, characterized in that: The abnormal information includes an abnormal type, and the alarming based on the abnormal information includes: Acquiring historical abnormal information, where the historical abnormal information is abnormal information of the previous voyage of the ship to be monitored; If the historical abnormal information and the abnormal information have the same abnormal type, determining an intermediate data point based on the historical abnormal information and the abnormal information, the intermediate data point being a data point between the historical abnormal information and the abnormal information; determining an abnormal speed based on the abnormal type; Determine the intermediate data point whose speed is greater than or equal to the abnormal speed as a normal data point; If the number of normal data points is greater than a preset normal number, an alarm tag is added to the abnormal information; An alarm is issued based on the alarm tag and the abnormal information.
5. A ship abnormal state monitoring device based on AIS, characterized in that: include: The first acquisition module is used to acquire ship operation information; A ship determination module, used to determine the ship to be monitored based on the ship operation information and preset rules; A second acquisition module is used to acquire historical operation information of all ships within a preset time period, data points of the ships to be monitored, and meteorological information, wherein the data points include speed and position; A speed determination module, used to determine an abnormal judgment speed based on the historical operation information and the meteorological information, wherein the abnormal judgment speed includes a drifting speed and a slow speed; A quantity determination module, used to determine the number of abnormal points based on the abnormal judgment distance and the abnormal judgment speed, wherein the number of abnormal points includes the number of drifting abnormal points and the number of slow-speed abnormal points, and the number of drifting abnormal points is greater than the number of slow-speed abnormal points; An abnormality determination module, used to determine the abnormal information of the ship to be monitored based on the data point, the abnormal judgment speed and the number of abnormal points, wherein the abnormal information includes the abnormal position; An abnormality alarm module, used for generating an alarm based on the abnormality information; The speed determination module is specifically used to determine the abnormal judgment speed based on the historical operation information and the meteorological information, including: Acquire a meteorological influencing factor based on the meteorological information; Determine the drifting speed based on a preset benchmark and the meteorological influencing factors; Based on the corresponding ship, the historical operation information is divided into first historical operation information and second historical operation information, the first historical operation information is the operation information of each historical voyage of the monitored ship, and the second historical operation information is the historical operation information other than the first historical operation information; Determine the target cargo state, target ship type and target ship age of the ship to be monitored based on the ship operation information, wherein the target cargo state includes empty, half-loaded and fully-loaded; Determine a ship whose ship type is the target ship type and whose ship age is the target ship age as a reference ship; determining the second historical operation information corresponding to the reference ship and having a cargo state equal to the target cargo state as the third historical operation information; determining a first reference speed based on the first historical operation information; Determining a second reference speed based on the third historical operation information; Calculate a target reference speed based on the first reference speed, the second reference speed and a preset weight; Determine the slow speed based on the target reference speed and the meteorological influencing factor; The speed determination module is specifically used to determine the second reference speed based on the third historical operation information, including: Determine the preset departure time and the preset arrival time corresponding to each of the third historical operation information based on the preset rule; Determine the normal sailing mileage and the normal sailing duration in each of the third historical operation information based on the preset departure duration and the preset arrival duration; Calculate the voyage speed of each voyage based on the normal voyage mileage and the normal voyage duration; Calculating an average voyage speed of all voyages corresponding to the third historical operation information, and determining the average voyage speed as the second reference speed; The abnormal alarm module is also specifically used for, before the alarm is issued based on the abnormal information, further comprising: Acquire message data, where the message data is message data sent by the ship; Determining the message data corresponding to the ship to be monitored as monitoring message data; Determine the port distance based on the ship operation information and the abnormal position, where the port distance is the distance between the ship and the port; Determine a ship to be monitored that is shifted based on the monitoring message data and the port distance, wherein the ship to be monitored that is shifted is a ship to be monitored that is in a mobile berth in the port; The abnormal information is screened based on the shifting ship to be monitored.
6. An electronic device, characterized in that: comprising a processor coupled to a memory; The processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The method comprises a computer program or an instruction, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Ship safety navigational speed control method and system, computer equipment and storage medium
CN112162558A
Motion state acquisition method and device of water moving target, equipment and medium
CN112800349A
Intelligent ship navigation state identification method and system based on AIS data
CN115294802A
Ship end safety risk identification method and system based on edge calculation
CN117854324A