Next Article in Journal
GL-STGCNN: Enhancing Multi-Ship Trajectory Prediction with MPC Correction
Next Article in Special Issue
Analysis of Carbon Emission Reduction Paths for Ships in the Yangtze River: The Perspective of Alternative Fuels
Previous Article in Journal
Numerical Investigation on Mooring Line Configurations of a Semisubmersible Fish Farm for Global Performance
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Ontology-Based Method for Identifying Abnormal Ship Behavior: A Navigation Rule Perspective

1
School of Navigation, Wuhan University of Technology, Wuhan 430063, China
2
Hubei Key Laboratory of Inland Shipping Technology, Wuhan 430063, China
3
Zhejiang Scientific Research Institute of Transport, Hangzhou 310039, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2024, 12(6), 881; https://doi.org/10.3390/jmse12060881
Submission received: 5 May 2024 / Revised: 24 May 2024 / Accepted: 24 May 2024 / Published: 26 May 2024

Abstract

:
Navigation rules are critical for regulating ship behavior, and effective water traffic management requires accurate identification of ships exhibiting abnormal behavior that violates these rules. To address this need, this paper presents an ontology-based method for identifying abnormal ship behavior. First, we analyzed navigation rules (local regulations) to extract key elements. Next, based on this extraction, we built a navigation rule ontology that categorized ship behavior into state behavior (ship behavior at a specific time point) and process behavior (ship behavior in a time interval). We then constructed an abnormal ship behavior ontology, defined using topological relationships and navigation rules. Finally, we constructed inference rules to detect abnormal ship behaviors by using SWRL (Semantic Web Rule Language) and validated the effectiveness of the method with ship instances. The experimental results demonstrate that this method can accurately infer ships’ behaviors that deviate from established navigation rules. This research has significant implications for reducing waterborne traffic accidents, improving navigational safety, and safeguarding maritime traffic.

1. Introduction

Maritime safety is crucial for the growth of the shipping economy. With the increasing number of vessels, traffic dynamics are becoming increasingly complex, and individual ship behavior is more variable, leading to frequent occurrences of abnormal behavior. Ship anomalies can cause severe consequences, including loss of life, environmental pollution, and property damage, posing significant challenges to maritime traffic regulation and navigational safety. Consequently, conducting research on ship behavior anomaly detection is both necessary and urgent.
With the advancement of maritime monitoring technology, spatial-temporal data on maritime traffic is growing rapidly. A behavior pattern matching model can be constructed to identify abnormal ship behavior by extracting statistical features from historical ship data [1] and analyzing ship behavior patterns [2]. To regulate ship behavior, some waterways have designated fairways and traffic channels, as well as establishing navigation rules such as Traffic Separation Schemes and routing systems. These local navigational rules are particularizations of the International Regulations for Preventing Collisions at Sea (COLREGs), with the goal of adapting to the navigational environments of the local water area while being generally bound by COLREG Rule 10. However, there is currently a lack of effective monitoring methods for detecting ship anomalies that violate navigation rules. Relying solely on manual monitoring (observation and evaluation of vessel behavior by human operators) is insufficient to meet the demands of modern regulatory requirements. Utilizing computational methods to semantically represent navigational rules facilitates the comprehension, interpretation, and effective identification of vessel anomalous behaviors in violation of regulations, thereby significantly enhancing the level of intelligent regulatory oversight.
Ontology, as a computationally recognizable tool [3], compensates for manual monitoring’s inadequacies. As a method of knowledge representation, ontology provides a unified semantic framework [4], facilitating systematic modeling and expression of complex navigational rules knowledge, thereby enhancing the understanding of navigational regulations. In maritime regulation, the use of ontology to construct semantic models of navigational rules and vessel behavior enables information sharing and reuse, thereby enhancing the intelligence level of regulatory systems. Ontology enables the effective monitoring and identification of vessel anomalous behaviors by integrating navigational rules and vessel behavior data.
This paper proposes an ontology-based inference method for identifying abnormal ship behavior. The goal is to gain a fundamental understanding and explanation of ship behavior patterns through the analysis and modeling of navigation rules and ship behavior. It allows us to identify abnormal ship behavior that deviates from the rules. This research contributes to a better understanding of abnormal ship behavior and better identification of risk factors, ultimately improving maritime traffic regulation and navigational safety.
The other chapters of this paper are organized as follows: Section 2 reviews some related works; Section 3 introduces the methods for parsing navigation rules and extracting key elements, ontology construction, and ship behavior inference; Section 4 presents the experiments and analysis; Section 5 discusses the method; and Section 6 concludes.

2. Literature Review

2.1. Related Research on the Application of Ontology Technology

Ontology technology, as a formal method of knowledge representation, has been widely applied across diverse domains, including transportation, agriculture, finance, and others.
In the domain of transportation, Yang et al. [5] utilized urban traffic ontology to achieve a unified representation of urban traffic information, as well as to define rules and algebraic operations for semantic fusion at the ontology level, aiming to achieve semantic integrity and consistency in city traffic information. David [6] proposed a transport disruption ontology for modeling events related to travel and transportation that have disruptive impacts on travelers’ journeys. It described how to capture traffic accidents and their impacts, as well as outlining the use of ontology rules in an interconnected travel information repository to support intelligent transportation systems. Agarwal et al. [7] utilized knowledge graph-assisted means to ontologize airworthiness rules. Once users created an original design ontology for aircrafts, they could compare it with the airworthiness rule ontology to identify any design vulnerabilities. Bagschik et al. [8] used ontology-based knowledge and modeling and production rule-based knowledge inference to understand the evolutionary dynamics of autonomous transportation systems, focusing on the transition from sparse to dense networks and the gradual increase in network efficiency. Additionally, they designed and implemented a flight safety information ontology that included key components of flight operation information. Mahdi et al. [9] employed the aviation network and methodology based on the Internet Protocol Suite (IPS) to construct a flight information ontology. They used Protege software to conduct the implementation process and reasoning, and they analyzed the system using actual data from Mashhad Airport in Iran.
In other domains, Malik [10] addressed the current lack of agricultural ontology development by proposing a generic method for representing entities and their relationships in an agricultural ontology, achieving the development of domain-specific ontologies in agriculture. Altinok [11] introduced an ontology-driven dialogue manager (OntoDM) to maintain dialogue state and coherence through domain ontologies. This method leverages domain knowledge to track entities of interest, such as products and services, thereby introducing dialogue memory and attention mechanisms, which are particularly applied in the banking and finance domain. Edison [12] constructed ontologies for renal tissue mapping and precision medicine research, facilitating comprehensive mapping of renal molecular, cellular, and anatomical profiles, improving renal data annotation, and redefining renal diseases, thus advancing precision medicine. Ayesha [13] developed an educational ontology detailing various university courses, serving as a guide for students to select future courses according to their needs.

2.2. Related Research on the Application of Ontology Technology in the Maritime Field

Ontology has also been extensively applied in the maritime domain. Song et al. [14], from the perspective of interpretable knowledge modeling, provided a computer-understandable method for behavior modeling. They provided a semantic model (Cognition Modeling and Semantic Reasoning of Ship) for defining ship behavior by combining multi-scale features in cognitive space. Zhong et al. [15] developed an ontological model of ship behavior based on COLREGs, with the goal of assisting machines in comprehending COLREG regulations using knowledge graph technology. The research considers ships as spatiotemporal objects, with behaviors described as variations in object elements at spatiotemporal scales, implemented using the resource description framework (RDF), function mapping, and set expression methods. Wen et al. [16] proposed a semantic model of ship behavior (SMSB), establishing a semantic network grounded in maritime traffic rules and good seamanship. They identified basic ship behavior in various aquatic scenes by constructing ontologies. A semantic model of in-harbor ship behavior based on ontology and the Dynamic Bayesian Network (DBN) was utilized to infer potential ship behavior. Georgios [17] proposed an Ontology-Based Data Access (OBDA) framework for effective maritime surveillance and event management through data access. This framework integrates real-time and historical vessel data to detect complex events and support decision-making. Roy [18] introduced an automatic reasoning concept verification model based on description logics to assist maritime personnel in detecting vessel anomalies and identifying maritime risks. Mirna [19] presented an Ontology-Based International Maritime Law Liability Decision Support System. The system analyzes carrier and shipper liability in cases of cargo loss or damage, utilizing a legal domain ontology called CargO-S to support the design and implementation of chained rules describing liability legal rules. Yu [20] addressed the semantic heterogeneity of heterogeneous data in maritime search and rescue operations through ontology, facilitating knowledge acquisition, sharing, and reuse.

2.3. Related Research on Abnormal Ship Behavior

A large number of scholars have conducted research on the detection of abnormal behavior in ships. According to the type of technology used, this study can be divided into traditional methods and deep learning-based methods. Most traditional methods are designed to detect or recognize specific scenes. Murray [21] utilized the DBSCAN clustering algorithm to cluster ships’ trajectories, established a historical trajectory atlas based on the clustering results, and employed the trajectories of normal ships as the standard for judging abnormal behavior. Li [22] proposed a ship behavior anomaly detection method based on trajectory analysis and Dynamic Time Warping (DTW). Abnormal trajectories that deviate from normal behavior are identified by calculating the similarity between trajectories and employing the DTW algorithm for trajectory matching and comparison. Gözde [23] introduced a maritime anomaly behavior detection method based on trajectory pattern analysis. Abnormal trajectories that deviate from normal behavior are identified by extracting features from ship trajectories and applying pattern recognition techniques to predict ship trajectories.
In addition to the traditional methods mentioned above, deep learning-based methods are the mainstream abnormal ship behavior detection methods at present. Singh [24] proposed a framework for anomaly detection based on a multi-class artificial neural network (ANN) to classify intentional and unintentional AIS switch anomalies. Vespe [25] utilized historical AIS data and employed unsupervised learning algorithms, without the need for any specific prior-context descriptions, to identify vessel motion patterns. This facilitated vessel trajectory anomaly detection and enhanced maritime situational awareness by providing vessel traffic characteristics. Yang [26] proposed an abnormal ship behavior recognition method based on LSTM. By manually labeling abnormal ship behavior states and learning from a large amount of ship AIS data, they established an abnormal ship behavior recognition model and trained it on the TensorFlow platform. Liu [27] introduced the attention mechanism into GRU, obtained optimal GRU structural parameters through intelligent algorithms, and utilized the optimized GRU neural network for deeper feature extraction and training of abnormal ship behavior. Zhang [28] utilized trajectory clustering results as a reference model to train the Bidirectional Gated Recurrent Unit (BiGRU) recurrent neural network for real-time ship anomaly detection. The trajectory prediction results of the BiGRU model exhibited minimal error compared to the actual ship trajectories, indicating superior trajectory prediction performance.
Several studies on semantic analysis of abnormal ship behavior have been conducted, but research on detecting and inferring ship anomalies in relation to navigation rules remains relatively limited. This paper proposes an ontology-based inference method for detecting abnormal ship behavior in accordance with navigation rules. First, the key elements of navigation rules are extracted through rule analysis. Next, the navigation rules ontology is constructed, with ship behavior categorized and expressed accordingly. Then, based on the Semantic Web Rule Language (SWRL), inference rules for ship anomalies are developed to enable automated inference of abnormal ship behavior. Finally, experiments are conducted to validate the effectiveness of this anomaly detection approach.

3. Methodology

The framework for inferring abnormal ship behaviors predicated on the ontology of navigational rules is delineated in Figure 1. The methodology for this inference is structured in a four-step process that involves navigation rule analysis and element extraction, as well as the construction of both the navigational rule ontology and the abnormal ship behavior ontology, followed by the formulation of Semantic Web Rule Language (SWRL) inference rules to facilitate the reasoning of abnormal ship behaviors. The process commences with the dissection of textual content pertaining to navigational rules, employing a Latent Dirichlet Allocation (LDA) model to distill key elements from these rules. Subsequently, leveraging these extracted key elements, an ontology of navigational rules is established. Then, the ship behaviors are classified and expressed based on the navigation rules ontology. Ultimately, an ontology for abnormal ship behaviors is constructed, and the SWRL is utilized to devise conditional-action production rule reasoning, enabling the inference of abnormal behaviors in ships.

3.1. Navigation Rule Analysis and Element Extraction

Navigation rules are important guidelines to regulate the behavior of ships, and by parsing the textual content of navigation rules, we can more comprehensively mine the information related to the behavior of ships, so as to extract the elements in the navigation rules.

3.1.1. Analysis of Navigation Rules

In this paper, the regulation of a routing system of the Yangtze River was taken as the research object, and the text content was analyzed to realize the extraction of navigation rules. The regulations consisted of 6 chapters, 33 articles, and 10 annexes covering traffic channel rules, maneuvering rules, berthing rules, and avoidance rules to ensure the safe navigation of ships.
(1)
Traffic channel rules
Traffic channel rules were categorized into traffic separation rules and recommended channel rules. Deepwater channels were constructed with upstream and downstream traffic lanes and a separation zone. The traffic separation rules are mainly applicable to large vessels to avoid grounding and other obstacles. The recommended channel rules are largely intended to ensure that smaller vessels can navigate effectively on the recommended routes while also limiting the types of vessels and the speed restrictions.
(2)
Maneuvering rules
The maneuvering rules were divided into speed rules, position rules, reporting rules, overtaking rules, large ship navigation rules, small ship navigation rules, high-speed ship navigation rules, special rules, and bridge water area navigation rules.
Speed rules limit the minimum and maximum speeds during maneuvering in the channel. The reporting rules stipulate ships to make position reports at specified positions. Position rules specify the navigational areas for different types of ships. The overtaking rules stipulate the behaviors of the overtaking vessel and the overtaken vessel during the overtaking process. Large ship rules, small ship rules, and high-speed ship rules limit the speed and position of large vessels, small vessels, and high-speed vessels, respectively. The special rules stipulate the navigation requirements for ships in special areas such as precaution areas. The bridge water area rules stipulate the mandatory behavioral norms of ships while passing through this area.
(3)
Berthing rules
Berthing rules are categorized into berthing rules for large ships, berthing rules for small ships, and berthing rules for special cases. The berthing rules for large ships require large ships to berth within the limited area declared by a competent authority. Berthing rules for small ships stipulate that small ships should be moored in a specific area. The berthing rules for special cases stipulate for ships to be moored under special conditions.
(4)
Avoidance rules
Avoidance rules are divided into general area avoidance rules and special area avoidance rules. The general area avoidance rules stipulate the avoidance requirements for ships navigating on the waterway and recommended channels. Special area avoidance rules provide for the avoidance of ships in special areas such as estuaries, tributaries, and specialized waterways.
According to the text of the navigation rules, a total of 22 rules ( R u l e i = { r u l e 1 , r u l e 2 , r u l e 22 } ) were extracted to establish the different types of rules, as in Table 1; the specific content of each rule is shown in Appendix A.

3.1.2. Element Extraction from Navigation Rules

In the study of navigation rules, revealing the underlying themes behind the text helps us to extract the key elements in the rules for a more comprehensive understanding. The LDA (Latent Dirichlet Allocation) model, which treats a document as a combination of multiple themes and describes each theme as a probability distribution of a particular vocabulary word, provides technical support for the extraction of the relevant elements of the navigation rules.
The LDA model treats documents as a combination of multiple topics, representing each topic as a probability distribution over a specific vocabulary. This approach facilitates the understanding and classification of complex navigation rule documents. By employing statistical methods, LDA identifies word patterns within documents and clusters these patterns into distinct topics, effectively revealing the main focus and structure of navigation rules. Additionally, LDA’s capability to handle unlabeled data makes it particularly suitable for processing large-scale navigation rule texts, which typically lack predefined labels. This enables the discovery of hidden themes and relationships, thereby supporting the element extraction of navigation rules.
The following are the basic steps of LDA modeling:
(a)
Initialize the parameters. Determine the number of topics to be modeled K; determine the number of words in the vocabulary V. The hyperparameters α and β are used to control the sparsity of the topic distribution and the word distribution.
(b)
Random assignment of topics. For each vocabulary word in each document, a topic is randomly selected as the initial assignment.
(c)
Iterative inference. For each vocabulary word w in each document d, reassign topics; for each topic k, calculate P(topic k|document d) × P(vocabulary word w|topic k). Reassign topics based on the calculated probabilities.
(d)
Statistics on topic and vocabulary distribution. Count the number of occurrences of each topic k in a document and compute the topic distribution P(topic k|document d). Count the number of occurrences of each vocabulary word w in topic k and calculate the vocabulary distribution P(vocabulary word w|topic k).
(e)
Repeat steps (c) and (d) until the model converges or reaches a predetermined number of iterations.
(f)
Theme analysis and element extraction. After the model has converged, extract the theme distribution of each document, analyze the vocabulary composition of each theme, and find the elements related to them in the navigation rules. At the same time, according to the needs of ontology construction, manually delete and change the elements in a targeted manner, so as to establish the actual elements.
Based on the elements in the navigation rules in the LDA model, the relevant elements in the navigation rules are mainly the navigation rules (Rules), the (Ships), the (Area), the (Time), the (Trajectory), and the (Behavior), as shown in Table 2.

3.2. Ontology Construction

In this section, the navigation rule ontology is constructed to convert the navigation rule elements into a structured knowledge base, so as to realize the knowledge sharing of navigation rules. Based on the rule knowledge base, the classification and expression of ship behavior is realized, and then the ontology of abnormal ship behavior is constructed.

3.2.1. Navigation Rule Ontology Construction

This section establishes a navigation rule ontology from the perspective of navigation rule cognition, encompassing the construction of classes and property relationships. Based on the previous analysis of navigation rules and the extraction of relevant elements, three elements—Ships, Rules, and Area—are identified as classes within the navigation rule ontology. Additionally, different navigational rules apply to vessels within various spatial domains. To determine the applicable navigational rules for each Area element, the rules are matched with the Area elements, and the results are stored in the Space_rules class. These four classes are the key to the cognition of navigation rules, as shown in Figure 2; the ontology model of navigation rule cognition, which contains the four elements of navigation rule cognition, can provide a framework to support the cognition of navigation rules.
(1)
Class
The Ships class represents ships. A ship is mainly for water transportation and is the basic concept in navigation rules, and the individual ship is represented by MMSI.
The Rules class represents the rules. Rules refer to the navigation regulations that ships navigating in the water should comply with, including traffic channel rules, maneuvering rules, berthing rules, and avoidance rules.
The Area class represents the spatial elements of the waterway. According to the extraction of spatial elements and different navigable waters delineated by the maritime authorities, the fairway is divided into the deepwater channel, recommended channel, anchorage, special area, bridge water area, and other Area elements, each of which contains different subclasses of elements.
The Space_rules class represents the matching of different Area elements with rules.
(2)
Object property
According to the relationship between classes, the corresponding relationship properties are established to further improve the expression ability of the navigation rule ontology knowledge, as shown in Table 3.
(3)
Data property
Based on the object property between classes alone, it is difficult to accurately express the knowledge of navigation rules, and it is also necessary to define the data property of the concepts. The specific data property settings are shown in Table 4.
Course, Lat, Length, Lon, MMSI, Speed, Type, and Width all represent the data properties of the Ships, which correspond to heading, latitude, longitude, longitude, mobile service identification, speed, ship type, ship width, and other information, respectively.
hasLine, hasPoint, hasPolygon, hasNumber, and hasName represent the data properties of the Area elements. hasPoint represents the Area element as a point, hasLine represents the Area element as a line, hasPolygon represents the Area element as a surface, and hasNumber is the number of the Area element. hasName is the name of the Area element.
hasString and hasImportance are the data properties of the Rules. hasString indicates that the rule is expressed as a string, and hasImportance indicates the importance level of the set rule.

3.2.2. Abnormal Ship Behavior Ontology Construction

The classification and expression of ship behavior is the basis for establishing an ontology of abnormal ship behavior. By classifying and expressing ship behaviors, the scope and characteristics of various ship behaviors can be more clearly understood, so as to effectively determine which behaviors may be abnormal. Accurate behavior classification and expression provide reliable training data and benchmarks for the abnormal ship behavior ontology, which improves its accuracy and efficiency. Therefore, standardized ship behavior classification and expression are essential before the construction of abnormal behavior ontology.
(1)
Ship behavior classification
Through the analysis of navigation rules, ship behavior is divided into 2 categories: state behavior and process behavior.
(a)
Ship state behavior
Ship state behavior is the state of the ship at any moment. Ship state behavior can be described by the ship’s position state, speed state, and heading state. According to whether the ship is moving, the ship state behavior is divided into navigation state behavior and stopping state behavior.
Ship navigation state behavior is the behavior of the ship while navigating in the waters. According to the properties of position, speed, and heading of the ship, the ship navigation state behavior can be divided into different types, as shown in Figure 3.
Ship stopping state behavior is the behavior of a ship that remains stationary in the water. Based on the ship’s position and speed property, it can be determined whether the ship is anchoring or mooring.
(b)
Ship process behavior
Ship process behavior is a series of state behavior combinations of the ship in the process of sailing, maneuvering, and berthing. It is a complex behavioral process demonstrated by a trajectory segment connected with the ship’s trajectory points. According to the understanding of the navigation rules in the previous article, the process behavior is divided into four categories: channel area behavior (deepwater channel, recommended channel, special area, bridge water area), wharf area behavior, anchorage behavior, and other general area behavior. Different process behaviors exist in different waters, as shown in Table 5.
(2)
Ship topology relationships
Ship behavior is related to space and time, and in this study, the DE-9IM model was used to calculate the topological relationship between ship behavior and space. The DE-9IM model [29] was used to describe the topological relationship between entity a and entity b’s interior (Interior, I), boundary (Boundary, B), and exterior (Exterior, E), which constitutes an intersection of a 3 × 3 matrix, as in Equation (1):
D E 9 I M ( a , b ) = d i m ( I a I b ) d i m ( I a B b ) d i m ( I a E b ) d i m ( B a I b ) d i m ( B a B b ) d i m ( B a E b ) d i m ( E a I b ) d i m ( E a B b ) d i m ( E a E b )
dim refers to the dimension, and DE-9IM computes the intersection between 3 regions of two geometric objects separately to derive the value of dim, which is 0 for points, 1 for lines, 2 for faces, and F for the multipoint null set (no intersection).
The topological relationship between ship trajectory elements and spatial elements is mainly manifested as the relationship between point and line, line and line, point and plane, and line and plane, and the set T set = { T set 1 , T set 2 , T set 12 } of the topological relationship is obtained. The topological relationship of ships in the water space can be represented by one of Tset, as shown in Figure 4. The blue point is the ship trajectory point, the blue line is the ship trajectory segment, the black lines are linear Area elements, and the closed planes are planar Area elements.
(3)
Ship behavior expression
Based on the classification of ship behaviors and the calculation of topological relations in the previous section, ship state behaviors and process behaviors are expressed.
(a)
Ship state behavior expression
The ship state consists of different parameters which can be expressed by Equation (2):
Q i = p i , t i , c i , v i , a , φ
p i is the ship’s position, t i is the corresponding time point, c i is the ship’s heading, v i is the ship’s speed, a is the ship’s acceleration, and φ is the ship’s steering rate.
Combining the states of ship trajectory points and the spatial topological relations, the ship state behavior can be expressed as:
s t a t e i = Q i , T s e t j , R u l e k
Q i is the ship state, T s e t j is the topological relationship between ship trajectory points and spatial elements, and R u l e k is the rule for matching ship trajectory points.
(b)
Ship process behavior expression
On the basis of the expression of ship state behavior, the ship process behavior is expressed by combining the topological relationship between the ship trajectory segment and the spatial elements in the water. The ship process behavior can be expressed as:
P = ( Q i Q i + n ) , T s e t j , R u l e k
P is a process behavior, ( Q i Q i + n ) is a ship trajectory segment, T s e t j is a topological relationship between ship trajectory segments and spatial elements, and R u l e k is a rule for matching ship trajectory segments.
(4)
Abnormal ship behavior ontology construction
Abnormal ship behavior usually refers to ship behavior that violates the navigation rules, is inconsistent with normal ship behavior, or has potential risks. Possible abnormalities in ship behavior are divided into 2 categories: state behavior abnormality and process behavior abnormality, as shown in Table 6.
Based on the 22 navigation rules extracted in the previous section, the existing abnormal ship behaviors were analyzed. Any abnormal ship behavior may violate multiple navigation rules. Additionally, some navigation rules corresponded to ship behaviors that were difficult to quantify, such as maintaining a safe speed. Consequently, after further analysis of each navigation rule, 13 types of abnormal ship behavior were identified, including 6 types of state abnormal behavior and 7 types of process abnormal behavior, as detailed in Table 6.
Among them, the process behavioral abnormality schematic is shown in Figure 5: trajectory 1 is the ship crossing in the bridge area waters, trajectory 2 is the ship deviating from the navigation channel, trajectory 3 is the ship turning around in the bridge area waters, trajectory 4 is the ship going against the flow, trajectory 5 is the ship occupying the separation zone for a long period of time, trajectory 6 is the ship sailing into the anchorage, which is an anchorage abnormality if it accelerates into the anchorage in the process, and trajectory 7 is crossing at a small angle.
According to the previous classification and expression of abnormal ship behavior, the core classes and the property relationships between the classes in the abnormal ship behavior ontology are shown in Figure 6.
(a)
Classes in the abnormal ship behavior ontology
The Ships, Space_rules, and Area classes involved in the abnormal behavior ontology of ships in this section come from the navigation rules ontology. This section explains the Topology, Time, Trajectory and abnormal behavior (Ab_behavior) classes that are not involved in the navigation rules ontology
Ab_behavior refers to abnormal ship behavior, which is the core class in the abnormal ship behavior ontology. Based on the classification and cognitive results of abnormal ship behavior in the previous section, abnormal ship behavior is divided into two subclasses, which embody the behaviors of the ship trajectory points and ship trajectory segments, respectively, including the class of state behavior abnormality (S_ab_behavior) and the class of process behavior abnormality (P_ab_ behavior). State behavior abnormality can be divided into large ships with high speed in the recommended channel (ab1), non-high speed of ships with dangerous goods in the deepwater channel (ab2), the speed in the channel being too high (ab3), the speed in the channel being too low (ab4), the speed in the bridge water area being too high (ab5), and the speed in the bridge water area being too low (ab6). Process behavior abnormality is divided into crossing the bridge water area (ab7), deviation from the course (ab8), turnaround in the bridge water area (ab9), the ship going the opposite way from the right direction (ab10), spending a long time navigating within the separation zone (ab11), abnormal entering to the anchorage area (ab12), and crossing the channel with a small angle (ab13).
Topology refers to the class of topological relationships, which is a description of the relationship between ship trajectory classes and spatial elements, involving 12 different topological relationships such as Tset1, Tset2…Tset12. Ship trajectory points and ship trajectory segments have different topological relationships with spatial elements.
Time class refers to the time when abnormal ship behavior occurs and is a key element in the ontology of abnormal ship behavior. According to the characteristics of abnormal ship behavior, time is divided into time points and time intervals.
Trajectory class refers to the trajectory of a ship, which is divided into two subcategories: trajectory points (Traj_p) and trajectory segments (Traj_s).
(b)
Object properties
In order to describe the relationship between classes in the abnormal ship behavior ontology and further improve the expressive ability of the ontology knowledge, the object properties of the ontology were established as shown in Table 7.
Among them, hastimepoint contains three sub-properties, hasOccurtime, hasStartime, and hasEndtime, which represent the specific time when the state behavior occurs and the start time and end time of the process behavior, respectively.
(c)
Data properties
In order to describe the characteristics of each class of the abnormal ship behavior ontology, the data properties in the abnormal ship behavior ontology were established. The data properties of Ships class, Area class, and Space_rules class in this ontology are consistent with those in the navigation rule ontology. The data property of Time was established for the Time class on this basis, representing the UTC time of Timepoint in the time class, and was stored in the form of a timestamp.
(d)
Abnormal ship behavior ontology visualization
After completing the construction of classes and properties of the abnormal ship behavior ontology, it was implemented by using Protégé software. The concepts in the ontology of abnormal ship behavior exist in the form of classes. Based on the interclass relationships in the ontology of abnormal ship behavior, the hierarchical relationships of classes were added to the Protégé software, and visualization was achieved by using the OntoGraf plugin in the software. Figure 7 shows the visualized results of the abnormal ship behavior ontology and its relationships.

3.3. Inference Methods for Abnormal Ship Behavior

Abnormal ship behavior inference involves deducing conclusions from established conditions, as illustrated in Figure 8. Once the ship trajectory data are integrated into the ontology, reasoning is applied to the abnormal ship behavior ontology. In this study, we leverage AIS data as a valuable asset for acquiring ship-related information. They furnish vital data, including Maritime Mobile Service Identity (MMSI), timestamp, longitude, latitude, sailing speed, and course of ground (COG), enabling us to utilize inference methods for detecting abnormal ship behavior using pre-processed AIS data.
The inference process comprises ontology reasoning and rule-based reasoning. Ontology reasoning checks the consistency of the abnormal ship behavior ontology to ensure its validity, while rule reasoning applies the formulated SWRL reasoning rules to derive conclusions regarding abnormal ship behavior.
(1)
Ontological reasoning
Ontological reasoning refers to the process of acquiring new knowledge by using the definitions of concepts, entities, relationships, and attributes of the ontology, and specific reasoning is divided into satisfiability checking, classification reasoning, and instance reasoning.
Satisfiability checking is a crucial task in ontology reasoning, aimed at ensuring the consistency and validity of the ontology. It involves two aspects: ontology satisfiability checking and concept satisfiability checking. The former checks for contradictions or inconsistencies within the entire ontology, while the latter verifies whether concepts have valid interpretations. As shown in Figure 9a, the intersection of the concepts “Deepwater channel” and “Recommended channel” is Ø, indicating that there is no spatial entity F that can simultaneously belong to both the Deepwater channel and the Recommended channel. If a concept E is an empty set, then the concept is unsatisfiable.
Classification reasoning refers to the process of assigning entities or concepts to their appropriate categories. As shown in Figure 9b, if Deepwater channel is a subset of channel, and channel is a subset of Area, then it can be inferred that “ Deepwater channel is a subset of Area”.
Instance reasoning involves deriving new instances based on known concepts and their relationships. As illustrated in Figure 9c, if it is known that F is a Deepwater channel and it is a subset of Area, then it can be inferred that F is an Area, and a new instance for the Area category is inferred. Additionally, if the relationship between F and Deepwater channel is defined as ‘has_C’, and ‘has_C’ is a subclass of ‘has_B’, it can be inferred that there is a new binary relationship ‘has_B’ between F and Deepwater channel.
(2)
Rule-based reasoning
Rule-based reasoning is primarily implemented through two methods: predicate logic and production rules. However, for many formulas, predicate logic may result in the loss of crucial information during the process of generating clauses, thereby reducing the expressiveness efficiency of those clauses. Hence, the adoption of condition–action production rules, which are easier to articulate, is preferred for reasoning. These rules are formally expressed as “If P Then Q” or “P→Q” [30], wherein if condition P is satisfied, conclusion Q can be inferred. Unlike implication formulas in predicate logic, where P and Q are strictly predicate formulas, in these rules, P and Q can also be symbols outside predicate formulas. In practical applications, P denotes phenomena or facts, while Q represents corresponding conclusions or actions, which facilitates the expression of causal relationships between any two concepts. Rule-based reasoning methods possess a clear logical structure, making them easy to understand and debug. The formalized representation of rules enables intuitive knowledge expression, enhancing system flexibility and adaptability to diverse application scenarios. The independence among rules ensures that adding, deleting, or modifying a specific rule does not directly impact other rules.
The inference rules established in this paper take the form “if condition_1 ^ condition_2 ^ … ^ condition_n, then conclusion”. The formal representation is as shown in Equation (5), which indicates that there exist three classes, A, B, and C, with a non-empty intersection. If there is a property relationship P1 between an instance “?a” from class A and an instance “?b” from class B, as well as a property relationship P2 between an instance “?b” from class B and an instance “?c” from class C, then it can be inferred that there is a property relationship Q between the instances “?a” and “?c.”
  A , B , C , A B C =   i f   A ? a B ? b   P 1 ( ? a ,   ? b )     C ? c     P 2 ( ? b ,   ? c ) t h e n   Q ( ? a ,   ? c )
In this paper, SWRL is used to establish corresponding condition–action production rules for anomalous behaviors ab1 to ab13. As an example, the process of formalizing ship behavior rules is illustrated with the anomalous behavior ab1, as follows:
(1)
Ships(?s)^Traj_s(?seg)^Traj_p(?p)^ab1(?Ab1)^haspoint(?s,?p)^Recommended_fairway(?r)^hasTopo(?p,?r)^swrlb:equal(?t,”Tset5”)^Speed(?p,?a)^Length(?p,?l)^swrlb:greaterThan(?a,”19”^^xsd:float)^swrlb:greaterThan(?l,”80”^^xsd:float)->hasS_ab(?s,?Ab1)
(2)
Ships(?s)^Traj_s(?seg)^Traj_p(?p)^rule10(?r10)^Space_rules(?R)^ab1(?Ab1)^hasS_ab(?s,?Ab1)->disobey(?s,?r10)
In the inference rule (1) described above, a vessel has a trajectory segment, and the segment contains trajectory points. Each trajectory point in the vessel’s segment has a topological relationship of type Tset5 with a recommended channel. If the vessel has a length greater than 80 m and a speed exceeding 19 knots, this indicates that a large high-speed vessel is navigating on the recommended channel, suggesting an abnormal state behavior. This leads to the inference that the anomalous behavior is categorized as ab1.
In inference rule (2), the inferred anomalous behavior ab1 is matched with the navigational rules, leading to the deduction that the violated navigational rule is rule10.
Since SWRL rules do not inherently possess inference capabilities, an inference engine is required to infer anomalous vessel behaviors. The Pellet inference engine [31] is used to carry out the inference operations, and the resulting OWL ontology files can be further used for knowledge visualization, analysis, or extraction. The inference algorithm process is outlined in Algorithm 1.
Algorithm 1. Pellet reasoning algorithm process.
Input: Set of Concepts C
Output: Concept Tree T
Step 1: Initialize by creating a root node x with L(x) = ∅
Step 2: For each concept Ci in the set C:
     If Ci has existential constraints, then
       L(x) = L(x)∪{Ci}.
     If D∈L(x) and ¬D∈L(x), then
       mark {DD} as a conflict.
Step 3: For each node x in the tree:
     For each concept Cj with existential constraints in L(x),
     create a new node y,
     set L(y) = {Cj},
     add y as a successor to x with an edge ⟨x,y⟩.
Step 4: Check whether (x) at each node x contains any conflicts.
     If conflicts are found, prune the branch.
Step 5: The algorithm terminates when all nodes have been expanded without conflicts, or when no further existential constraints can be added.
End.
Suppose that the ontology model for anomalous ship behavior contains information indicating that ship A is navigating on recommended channel C, with its trajectory point B showing that the ship has a length of 90 m and a speed of 20 knots. When examining Ship A’s navigational status using the inference rules, an anomalous behavior (ab1) is detected, indicating a violation of rule10. The transformation in the ontological inference is illustrated in Figure 10.

4. Case Study and Results

4.1. Study Area and Dataset

To explore the practicality of the proposed method in this paper, the study area selected was from Red Buoy No. 22 to the mouth of the Yangtze River in the Jiangsu section. Ship AIS trajectories within this area on 6 December 2023 were chosen for conducting experiments on inferring abnormal ship behavior. The original dataset contains seven types of information on ship dynamics and statics, with a total of 877,709 records.
The raw AIS data may present several types of errors, encompassing positional inaccuracies, velocity aberrations, and trajectory deviations. Positional inaccuracies denote instances where vessel data are erroneously marked at incorrect geographical coordinates, potentially including landmasses. Velocity aberrations signify situations where the vessel speed surpasses its maximum allowable navigational limit. Trajectory deviations manifest as discrepancies in ship trajectory points, leading to discernible deviations from neighboring trajectory points. To uphold experimental precision, this research employed a data cleansing strategy to address these irregular data occurrences. Following meticulous data preprocessing, the study retained a dataset comprising 846,675 ship records. AIS data quality dimensions were presented for processing errors of AIS tracks [32]. The ship AIS trajectories in the study area are depicted in Figure 11a.
As shown in Figure 11b, specific Area elements within the study area were delineated, including deepwater channels, recommended channels, separation zones, anchorages, and bridge water areas.

4.2. Results Analysis

Three experiments were designed in this study to validate three types of abnormal behaviors: speed anomalies, turnaround anomalies, and crossing anomalies. For speed anomalies, any speed inconsistent with the prescribed speed in navigation rules within the channel was identified as a speed anomaly. For turnaround anomalies, all turnaround behaviors were first identified, and then turnaround behaviors occurring in bridge areas were inferred as anomalies. For crossing anomalies, all crossing behaviors were initially identified, and then crossing behaviors occurring in bridge areas and those with small crossing angles were inferred as anomalies.

4.2.1. Abnormal Speed Behavior

Navigation rules prescribe speed limits for vessels. Based on the inference results of abnormal ship speed behaviors, the quantities of vessels with excessive and insufficient speeds were counted, respectively. The distribution patterns of these behaviors in bridge areas and channels were analyzed. Furthermore, an analysis of abnormal speed behaviors was conducted for different types of vessels, including cargo ships, tankers, fishing boats, ferries, tugs, law enforcement vessels, and port operation vessels. The specific results are shown in Figure 12, which illustrates (a) the quantity of vessels with excessively low speeds in channels, (b) the quantity of vessels with excessively high speeds in channels, (c) the quantity of vessels with excessively low speeds in bridge water areas, and (d) the quantity of vessels with excessively high speeds in bridge water areas. From the inference results, it can be observed that the number of vessels navigating at excessive speeds in channels was significantly lower than those with low speeds. The majority of vessels with speed abnormalities were cargo ships, and the number of vessels with speed abnormalities in the upstream channel was significantly higher than in the downstream channel. Additionally, the number of vessels traveling at excessive speeds in bridge water areas was higher than in other areas.

4.2.2. Abnormal Turnaround Behavior

A total of 128 turnaround behaviors were inferred from all the ship behaviors in the study waters, and the regional distribution and time statistics of turnaround behaviors are shown in Table 8.
Some of the typical turnaround behaviors are shown in Figure 13. (a) The turnaround trajectory shows that the ship turned around near the waterfront of the pier, with deceleration in the process of approaching the pier, and that the ship might have gone to berth at the pier, which is a normal turnaround behavior. (b) The turnaround trajectory shows that the ship turned around inside the channel near the pier, which is a normal turnaround behavior. (c) The turnaround trajectory shows that the ship navigated from the downward recommended channel and sailed into the upward recommended channel after the turnaround, which is a normal turnaround behavior. (d) The turnaround trajectory in (d) shows that the vessel sailed into the downward recommended channel from the waters outside the channel and sailed into the upward recommended channel after making a U-turn. The vessel was a harbor service vessel, and it may have been a normal turnaround, as it was going to other waters for operation after providing services at other terminals. (e) The turnaround track in (e) shows that the vessel sailed from the inner channel to the outer channel, made a U-turn outside the channel, and sailed into the downward recommended channel. The vessel was a law enforcement vessel, and it may have been an emergency turnaround for the role of law enforcement, which is a normal turnaround behavior. (f) The turnaround trajectory in (f) shows that the vessel was sailing in the bridge water area from the downward recommended channel and sailed into the upward recommended channel after making a turnaround, which is in violation of rule15. This was an abnormal turnaround behavior.

4.2.3. Abnormal Crossing Behavior

To infer abnormal ship crossing behaviors, all ship crossing behaviors were first inferred, resulting in a total of 846 crossing behaviors identified. The spatial distribution and temporal statistics of these crossing behaviors are summarized in Table 9.
Some of the typical crossing behaviors are shown in Figure 14. Namely, (a) is a ferry sailing back and forth between terminals on both sides of the channel, which is a normal crossing behavior; (b) is a cargo ship crossing the channel from one side of the recommended downstream channel into the other side of the downstream channel near the channel bifurcation, which is a normal behavior; (c) is an oil tanker sailing out of the channel into the recommended upstream channel and then crossing the channel into the recommended downstream channel, which is a normal behavior; (d) is a cargo ship crossing the channel into the anchorage from the upstream deepwater channel, which is a normal crossing; (e) is a cargo ship anchoring in an anchorage and then crossing the channel to berth at a pier in a normal crossing; and (f) is a port service vessel entering the channel from outside the channel and crossing the bridge water area in violation of rule15, which is an abnormal crossing.
The experimental results indicate that an abnormal ship behavior inference method based on the ontology of abnormal ship behaviors can accurately infer the existence of abnormal behaviors in ships. This method can accurately identify abnormal ship state behaviors and process behaviors in different scenarios, providing effective technical support for water traffic supervision.

5. Discussion

Accurately identifying abnormal vessel behavior is crucial for enhancing maritime traffic supervision and navigation safety. There are two primary approaches to identifying abnormal ship behaviors: data-driven and knowledge-driven methods [15]. Data-driven abnormal ship behavior identification methods learn the characteristics of traffic data and predict ship trajectories based on predominant features, thereby identifying “abnormal behaviors” that deviate from these mainstream characteristics. However, these methods lack knowledge about rule-compliant behaviors, making it difficult to determine whether a vessel’s behavior adheres to established rules.
Knowledge-driven methods for identifying abnormal ship behaviors leverage behavior inference modeling techniques, including rule-based systems, case-based inference, and ontological inference, to generate identification models. This paper proposes an ontology-based approach for identifying abnormal ship behaviors, achieving accurate identification of vessel behaviors that contravene navigation rules by delving into their intricacies. The advantages of ontology-based inference methods lie primarily in their ability to represent semantic concepts and their relationships in a structured manner, organize and structure knowledge in a clear manner, provide machine-readable representations, and support expressive capabilities for the reasoning process.
Employing the methodology delineated in this study, experiments were carried out within the Jiangsu segment of the Yangtze River, where the abnormal behaviors of ships were systematically identified and analyzed. The results of this study can be applied in the maritime supervision system to achieve accurate identification of abnormal behavior of ships and can automatically match the navigation rules violated by ships. This will effectively reduce the time consumption of manual detection and enhance the intelligence level of maritime supervision.
The semantic expressions of some navigation rules are relatively complex and cover a wide range of abnormal behaviors, which brings challenges to quantitative analysis and inference identification. For example, the safe speed in rule3 is not a fixed value but depends on the specific situation. Such uncertainty makes it difficult for a an inference machine to perform automatic inference and judgement on such rules. Future research endeavors may pivot upon the intricate semantic formulations of navigational rules, employing methodologies such as rule decomposition and knowledge modeling to delve deeper into the analysis of abnormal ship behaviors within complex navigational rules. This pursuit holds promise for extending the applicability of the proposed methodology to maritime domains worldwide, characterized by diverse sets of navigational regulations.

6. Conclusions

Addressing the lack of effective monitoring means for the existing abnormal behaviors of ships violating navigation rules, as it is difficult to meet modern regulatory needs through manual monitoring alone. This paper researched an ontology-based identification method for abnormal behaviors of ships to improve detection efficiency and accuracy. By analyzing the navigation rules, the elements of navigation rules were extracted; according to these, an ontology of navigation rules was established, and the classification and expression of ship behaviors were realized. Then, an ontology of abnormal ship behaviors was established to realize the reasoning of abnormal ship behaviors. The experimental results show that the method can accurately identify the abnormal behavior of ships. The research results of this paper provide a basis for maritime traffic supervision and enhance the level of navigation safety.

Author Contributions

Conceptualization, C.Z.; methodology, K.W., J.Z. and Z.B.; software, Z.B.; validation, C.Z. and K.W.; formal analysis, Z.B., T.L. and M.K.K.L.; investigation, J.Z.; data curation, J.Z.; writing—original draft preparation, K.W. and Z.B.; writing—review and editing, C.Z., K.W., J.Z. and M.K.K.L.; visualization, K.W., J.Z. and T.L.; supervision, C.Z.; project administration, C.Z. and C.W.; funding acquisition, C.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Science Foundation of China (grant number 52171349), the Laboratory of Transport Pollution Control and Monitoring Technology (2022JH-F038), and the Key Research Plan of Zhejiang Provincial Department of Science and Technology, China (2021C01010).

Institutional Review Board Statement

No applicable.

Informed Consent Statement

No applicable.

Data Availability Statement

Data is available upon request from the authors.

Acknowledgments

We sincerely thank the editor and reviewers for their kind and helpful comments on this manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Navigation Rules

(1) Traffic channel rules
rule1: The deepwater channel is mainly for large ships.
rule2: The recommended channel is mainly for small ships.
(2) Maneuvering rules
rule3: Ships should navigate at a safe speed at all times.
rule4: Ships should navigate at speeds between 4kn and 15kn.
rule5: Ships should navigate in specified channel.
rule6: Ships should navigate to the right according to the fairway direction.
rule7: Ships should have a dynamic report when passing a position verification point.
rule8: Ships should report their position when passing a position reporting line.
rule9: Ships should overtake from the port side of the overtaken ship; the overtaken ship should take actions to assist in avoidance.
rule10: A large ship with a low speed should navigate along the right edge of the channel and can enter the recommended channel under the condition of ensuring safety.
rule11: Small ships carrying dangerous goods at high speed can navigate to the right edge of the deepwater channel.
rule12: Ships should obey the special rules in special areas.
rule13: Ships should navigate at safe speeds in the bridge water area.
rule14: Speed should not exceed 11kn in the bridge water area.
rule15: Ships should not stop their engines when bound for navigating, turning, crossing, or passing non-navigable bridge openings in the bridge water area.
rule16: Ships should not overtake or navigate side by side when passing through the restricted bridge water area.
rule17: When ships approach the docks or berth within the bridge water area, they should avoid normally navigating ships.
(3) Berthing rules
rule18: Large ships should be anchored within the anchorage or stopping area.
rule19: Small ships should choose anchorage and berthing areas for stopping, excluding sea vessel anchorage and berthing areas. Stopping out of the channel is allowed when it is safe.
rule20: In special circumstances, stopping can be performed nearby.
(4) Avoidance rules
rule21: Ships that are not navigating in the channel normally should avoid the ships that are navigating in the channel normally.
rule22: Ships entering or exiting estuaries, tributaries, or special areas should give way to vessels that are navigating within designated traffic lanes or recommended channels.

References

  1. Wang, Y.; Liu, J.; Liu, R.W.; Liu, Y.; Yuan, Z. Data-driven methods for detection of abnormal ship behavior: Progress and trends. Ocean. Eng. 2023, 271, 113673. [Google Scholar] [CrossRef]
  2. Wen, Y.; Tao, W.; Sui, Z.; Piera, M.A.; Song, R. Dynamic model-based method for the analysis of ship behavior in marine traffic situation. Ocean. Eng. 2022, 257, 111578. [Google Scholar] [CrossRef]
  3. Breitman, K.K.; Casanova, M.A.; Truszkowski, W. Ontology in computer science. In Semantic Web: Concepts, Technologies and Applications; Springer: London, UK, 2007; pp. 17–34. [Google Scholar]
  4. Dou, D.; Wang, H.; Liu, H. Semantic data mining: A survey of ontology-based approaches. In Proceedings of the 2015 IEEE 9th international conference on semantic computing (IEEE ICSC 2015), Anaheim, CA, USA, 7–9 February 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 244–251. [Google Scholar]
  5. Yang, W.D.; Wang, T. The fusion model of intelligent transportation systems based on the urban traffic ontology. Phys. Procedia 2012, 25, 917–923. [Google Scholar] [CrossRef]
  6. Corsar, D.; Markovic, M.; Edwards, P.; Nelson, J.D. The transport disruption ontology. In Proceedings of the Semantic Web-ISWC 2015: 14th International Semantic Web Conference, Bethlehem, PA, USA, 11–15 October 2015; Proceedings, Part II 14. Springer International Publishing: Cham, Switzerland, 2015; pp. 329–336. [Google Scholar]
  7. Agarwal, A.; Gite, R.; Laddha, S.; Bhattacharyya, P.; Kar, S.; Ekbal, A.; Thind, P.; Zele, R.; Shankar, R. Knowledge Graph—Deep Learning: A Case Study in Question Answering in Aviation Safety Domain. arXiv 2022, arXiv:2205.15952. [Google Scholar]
  8. Bagschik, G.; Menzel, T.; Maurer, M. Ontology based scene creation for the development of automated vehicles. In Proceedings of the 2018 IEEE Intelligent Vehicles Symposium (IV), Changshu, China, 26–30 June 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1813–1820. [Google Scholar]
  9. Yousefzadeh Aghdam, M.; Kamel Tabbakh, S.R.; Mahdavi Chabok, S.J.; Kheyrabadi, M. Ontology generation for flight safety messages in air traffic management. J. Big Data 2021, 8, 61. [Google Scholar] [CrossRef]
  10. Malik, N.; Sharan, A.; Hijam, D. Ontology development for agriculture domain. In Proceedings of the 2015 2nd International Conference on Computing for Sustainable Global Development (INDIACom), New Delhi, India, 11–13 March 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 738–742. [Google Scholar]
  11. Altinok, D. An ontology-based dialogue management system for banking and finance dialogue systems. arXiv 2018, arXiv:1804.04838. [Google Scholar]
  12. Ong, E.; Wang, L.L.; Schaub, J.; O’Toole, J.F.; Steck, B.; Rosenberg, A.Z.; Dowd, F.; Hansen, J.; Barisoni, L.; Jain, S.; et al. Modelling kidney disease using ontology: Insights from the Kidney Precision Medicine Project. Nat. Rev. Nephrol. 2020, 16, 686–696. [Google Scholar] [CrossRef] [PubMed]
  13. Ameen, A.; Khan, K.U.R.; Rani, B.P. Creation of ontology in education domain. In Proceedings of the 2012 IEEE Fourth International Conference on Technology for Education, Hyderabad, India, 18–20 July 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 237–238. [Google Scholar]
  14. Song, R.; Wen, Y.; Huang, L.; Zhang, F.; Zhou, C. Data-driven cognitive modeling and semantic reasoning of ship behavior. In Maritime Technology and Engineering 5 Volume 1; CRC Press: Boca Raton, FL, USA, 2021; pp. 269–276. [Google Scholar]
  15. Zhong, S.; Wen, Y.; Huang, Y.; Cheng, X.; Huang, L. Ontological ship behavior modeling based on COLREGs for knowledge reasoning. J. Mar. Sci. Eng. 2022, 10, 203. [Google Scholar] [CrossRef]
  16. Wen, Y.; Zhang, Y.; Huang, L.; Zhou, C.; Xiao, C.; Zhang, F.; Peng, X.; Zhan, W.; Sui, Z. Semantic modelling of ship behavior in harbor based on ontology and dynamic bayesian network. ISPRS Int. J. Geo-Inf. 2019, 8, 107. [Google Scholar] [CrossRef]
  17. Santipantakis, G.; Kotis, K.I.; Vouros, G.A. Ontology-based data integration for event recognition in the maritime domain. In Proceedings of the 5th International Conference on Web Intelligence, Mining and Semantics, Larnaca, Cyprus, 13–15 July 2015; pp. 1–11. [Google Scholar]
  18. Roy, J.; Davenport, M. Exploitation of maritime domain ontologies for anomaly detection and threat analysis. In Proceedings of the 2010 International WaterSide Security Conference, Carrara, Italy, 3–5 November 2010; IEEE: Piscataway, NJ, USA, 2010; pp. 1–8. [Google Scholar]
  19. El Ghosh, M.; Abdulrab, H. Ontology-based liability decision support in the international maritime law. In Legal Knowledge and Information Systems; IOS Press: Amsterdam, The Netherlands, 2020; pp. 273–276. [Google Scholar]
  20. Weihong, Y. Research on maritime search and rescue decision-making ontology model. In Proceedings of the 2009 International Conference on Environmental Science and Information Application Technology, Wuhan, China, 4–5 July 2009; IEEE: Piscataway, NJ, USA, 2009; Volume 2, pp. 140–142. [Google Scholar]
  21. Murray, B.; Perera, L.P. An AIS-based deep learning framework for regional ship behavior prediction. Reliab. Eng. Syst. Saf. 2021, 215, 107819. [Google Scholar] [CrossRef]
  22. Li, H.; Liu, J.; Liu, R.W.; Xiong, N.; Wu, K.; Kim, T.H. A dimensionality reduction-based multi-step clustering method for robust vessel trajectory analysis. Sensors 2017, 17, 1792. [Google Scholar] [CrossRef] [PubMed]
  23. Karataş, G.B.; Karagoz, P.; Ayran, O. Trajectory pattern extraction and anomaly detection for maritime vessels. Internet Things 2021, 16, 100436. [Google Scholar] [CrossRef]
  24. Singh, S.K.; Heymann, F. Machine learning-assisted anomaly detection in maritime navigation using AIS data. In Proceedings of the 2020 IEEE/ION Position, Location and Navigation Symposium (PLANS), Portland, OR, USA, 20–23 April 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 832–838. [Google Scholar]
  25. Vespe, M.; Visentini, I.; Bryan, K.; Braca, P. Unsupervised learning of maritime traffic patterns for anomaly detection. In Proceedings of the 9th IET Data Fusion & Target Tracking Conference (DF&TT 2012): Algorithms & Applications, London, UK, 16–17 May 2012. [Google Scholar]
  26. Yang, S.; Xinya, P.; Zexuan, D.; Jiansen, Z. An approach to ship behavior prediction based on AIS and RNN optimization model. Int. J. Transp. Eng. Technol. 2020, 6, 16. [Google Scholar] [CrossRef]
  27. Liu, H.; Liu, Y.; Li, B.; Qi, Z. Ship abnormal behavior detection method based on optimized GRU network. J. Mar. Sci. Eng. 2022, 10, 249. [Google Scholar] [CrossRef]
  28. Zhang, B.; Hirayama, K.; Ren, H.; Wang, D.; Li, H. Ship anomalous behavior detection using clustering and deep recurrent neural network. J. Mar. Sci. Eng. 2023, 11, 763. [Google Scholar] [CrossRef]
  29. Romanschek, E.; Clemen, C.; Huhnt, W. A novel robust approach for computing DE-9IM matrices based on space partition and integer coordinates. ISPRS Int. J. Geo-Inf. 2021, 10, 715. [Google Scholar] [CrossRef]
  30. Wang, Y.; Zhang, Y.; Luo, X. Semantic Query for Engineering Knowledge Graphs Combining Rule Reasoning. Comput. Sci. Appl. 2019, 9, 993–1002. [Google Scholar]
  31. Mishra, R.B.; Kumar, S. Semantic web reasoners and languages. Artif. Intell. Rev. 2011, 35, 339–368. [Google Scholar] [CrossRef]
  32. Zhao, L.; Shi, G.; Yang, J. Ship trajectories pre-processing based on AIS data. J. Navig. 2018, 71, 1210–1230. [Google Scholar] [CrossRef]
Figure 1. The framework of the abnormal ship behaviors detection.
Figure 1. The framework of the abnormal ship behaviors detection.
Jmse 12 00881 g001
Figure 2. The ontology model for navigation rules.
Figure 2. The ontology model for navigation rules.
Jmse 12 00881 g002
Figure 3. Diagram of ship navigation behavior.
Figure 3. Diagram of ship navigation behavior.
Jmse 12 00881 g003
Figure 4. Topological relationship between ship trajectory and Area elements.
Figure 4. Topological relationship between ship trajectory and Area elements.
Jmse 12 00881 g004
Figure 5. Diagram of abnormal process behavior.
Figure 5. Diagram of abnormal process behavior.
Jmse 12 00881 g005
Figure 6. Core classes and interclass relationships in the ontology of abnormal ship behavior.
Figure 6. Core classes and interclass relationships in the ontology of abnormal ship behavior.
Jmse 12 00881 g006
Figure 7. Main classes, attributes, and their relationships in the ontology of abnormal ship behavior.
Figure 7. Main classes, attributes, and their relationships in the ontology of abnormal ship behavior.
Jmse 12 00881 g007
Figure 8. Flowchart of inference method for abnormal behavior of ships.
Figure 8. Flowchart of inference method for abnormal behavior of ships.
Jmse 12 00881 g008
Figure 9. Examples of ontological inference.
Figure 9. Examples of ontological inference.
Jmse 12 00881 g009
Figure 10. Diagram of anomalous behavior inference expression.
Figure 10. Diagram of anomalous behavior inference expression.
Jmse 12 00881 g010
Figure 11. Visualizes the study area and experimental data in the research waters.
Figure 11. Visualizes the study area and experimental data in the research waters.
Jmse 12 00881 g011
Figure 12. Analysis of inference results for ship speed anomalies. (a) Vessels with insufficient speeds in channels; (b) vessels with excessive speeds in channels; (c) vessels with insufficient speeds in bridge water; (d) vessels with excessive speeds in bridge water.
Figure 12. Analysis of inference results for ship speed anomalies. (a) Vessels with insufficient speeds in channels; (b) vessels with excessive speeds in channels; (c) vessels with insufficient speeds in bridge water; (d) vessels with excessive speeds in bridge water.
Jmse 12 00881 g012
Figure 13. Partial inference results for turnaround behavior. (a) Turnaround trajectory 1; (b) turnaround trajectory 2; (c) turnaround trajectory 3; (d) turnaround trajectory 4; (e) turnaround trajectory 5; (f) turnaround trajectory 6.
Figure 13. Partial inference results for turnaround behavior. (a) Turnaround trajectory 1; (b) turnaround trajectory 2; (c) turnaround trajectory 3; (d) turnaround trajectory 4; (e) turnaround trajectory 5; (f) turnaround trajectory 6.
Jmse 12 00881 g013aJmse 12 00881 g013b
Figure 14. Partial inference results for crossing behavior. (a) Crossing trajectory 1; (b) crossing trajectory 2; (c) crossing trajectory 3; (d) crossing trajectory 4; (e) crossing trajectory 5; (f) crossing trajectory 6.
Figure 14. Partial inference results for crossing behavior. (a) Crossing trajectory 1; (b) crossing trajectory 2; (c) crossing trajectory 3; (d) crossing trajectory 4; (e) crossing trajectory 5; (f) crossing trajectory 6.
Jmse 12 00881 g014
Table 1. Extractions of navigation rules.
Table 1. Extractions of navigation rules.
Types of Navigation RulesCategoriesRules
Traffic channel rulestraffic separation rulesrule1
recommended channel rulesrule2
Maneuvering rulesspeed rulesrule3, rule4
position rulesrule5, rule6
reporting rulesrule7, rule8
overtaking rulesrule9
large ship rules rule10
small ship rulesrule11
high-speed ship rules rule11
special rulesrule12
bridge water area rulesrule13, rule14, rule15, rule16, rule17
Berthing rulesberthing rules for large shipsrule18
berthing rules for small ships rule19
berthing rules for special casesrule20
Avoidance rulesgeneral area avoidance rulesrule21
special area avoidance rulesrule22
Table 2. Element extraction.
Table 2. Element extraction.
Types of ElementsCategoriesExplanation
RulesTraffic channel rulesRegulations for traffic routes
Maneuvering rulesRegulations for ship navigation
Berthing rulesRegulations for berthing process of ship
Avoidance rulesRegulations for ship collision avoidance
ShipsLarge shipLength greater than 80 m
Small shipLength less and equal than 80 m
High-speed shipSpeed more than 19 kn
AreaRecommended channelA route for small ships to navigate
Deepwater channelA route for large ships to navigate
Bridge water areaWater area near the bridge
Special areaSpecial precaution area
AnchorageDesignated position to anchor
TimeTimestampAt a certain moment
Time periodA period of time
TrajectoryTrajectory pointSingle trajectory point
Trajectory segmentA line segment connecting multiple trajectory points
BehaviorState behaviorThe ship behavior at a certain moment
Process behaviorThe ship behavior in a period of time
Table 3. The object properties in navigation rules.
Table 3. The object properties in navigation rules.
Object PropertiesExplanation
hasintersectionThe intersection relationship between Area
hasRules, isruleofThe relationship between Area and Rules
(inverse of each other)
hasShips, inAreaThe relationship between Area and Ships
(inverse of each other)
shouldobeyThe relationship between Rules and Ships
isbelongtoThe relationship between Rules and Space_rules
Table 4. The data properties in navigation rules.
Table 4. The data properties in navigation rules.
Data PropertiesExplanation
CourseShip’s heading
LatLatitude
LengthShip’s length
LonLongitude
MMSIMaritime Mobile Service Identify
SpeedShip’s speed
TypeShip’s type
WidthShip’s width
hasPointPoint Area element’s position
hasLineLinear Area element’s range
hasPolygonPlanar Area element’s range
hasNameArea element’s name
hasStringRules’ text
hasImportanceThe importance of rules
Table 5. Classification of ship process behaviors.
Table 5. Classification of ship process behaviors.
Process BehaviorsCategories
channel area behaviornavigation, crossing, entering, leaving
wharf area behaviorberthing, unberthing
anchorage behaviorentering, leaving, anchoring
other general area behaviorturnaround
Table 6. Classification of abnormal behavior of ships.
Table 6. Classification of abnormal behavior of ships.
ClassificationCategories
State abnormallarge ships with high speed in recommended channel
small ships in deepwater channel
the speed in the channel is too high
the speed in the channel is too low
the speed in the bridge water area is too high
the speed in the bridge water area is too low
Process abnormalcrossing the bridge water area
deviation from the course
turnaround in the bridge water area
ship going the opposite way from the right direction
long time navigating within the separation zone
abnormal entering of anchorage area
crossing channel with small angle
Table 7. Object properties of abnormal ship behavior ontology.
Table 7. Object properties of abnormal ship behavior ontology.
Object PropertyExplanation
haspointThe relationship between Ships and Traj_p
hasS_abThe relationship between Ships and S_ab_behavior
hasP_abThe relationship between Ships and P_ab_behavior
hasRuleThe relationship between Ships and Space_rules
hasTraj_sThe relationship between Ships and Traj_s
hasTopoThe topological relationship between Ships and Traj_s
hasTraj_pThe relationship between Traj_s and Traj_p
inAreaThe relationship between Ships and Area
hastimepointThe relationship between Ships and Time point
hastimeintervalThe relationship between Ships and Time interval
Table 8. Statistical results for turnaround behavior.
Table 8. Statistical results for turnaround behavior.
AreaNumberAverage Time
bridge water area15 min
channel298 min
near the wharf4115 min
near the anchorage5110 min
Table 9. Statistical results for crossing behavior.
Table 9. Statistical results for crossing behavior.
AreaNumberAverage Time
crossing in bridge water area17 min
crossing in channel8458 min
crossing channel with small angle0-
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhou, C.; Wen, K.; Zhao, J.; Bian, Z.; Lu, T.; Ko Ko Latt, M.; Wang, C. Ontology-Based Method for Identifying Abnormal Ship Behavior: A Navigation Rule Perspective. J. Mar. Sci. Eng. 2024, 12, 881. https://doi.org/10.3390/jmse12060881

AMA Style

Zhou C, Wen K, Zhao J, Bian Z, Lu T, Ko Ko Latt M, Wang C. Ontology-Based Method for Identifying Abnormal Ship Behavior: A Navigation Rule Perspective. Journal of Marine Science and Engineering. 2024; 12(6):881. https://doi.org/10.3390/jmse12060881

Chicago/Turabian Style

Zhou, Chunhui, Kunlong Wen, Junnan Zhao, Ziyuan Bian, Taotao Lu, Myo Ko Ko Latt, and Chengli Wang. 2024. "Ontology-Based Method for Identifying Abnormal Ship Behavior: A Navigation Rule Perspective" Journal of Marine Science and Engineering 12, no. 6: 881. https://doi.org/10.3390/jmse12060881

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop