Abstract
Owe to the establishment of modern navigation and communication networks, maritime vessel trajectory data becomes increasingly available. These data sets are always huge and usually heavily skewed; finding hot spots area among maritime traffic data is critical for real-time applications ranging from military surveillance to transportation management. In this paper, we proposed a grid-based hotspot detection algorithm on maritime traffic data. By gridding the spatial area into small buckets, it takes the vessels density on each bucket into further calculation instead of the location of each single moving vessel. In order to handle the big data set, the computation applies the SpatialHadoop framework which can establish the R-tree spatial index to enhance location data handling performance on MapReduce programming. Experiments on real AIS data show that the method proposed is effective and fast.
Introduction
The proliferation of the Automatic Identification System (AIS) has provided researchers with unprecedented access to maritime vessel trajectory data. This information is crucial for maritime safety, traffic management, and surveillance. However, processing this data presents significant challenges. AIS datasets are typically massive, often exceeding hundreds of gigabytes, and exhibit extreme spatial skewness, with high concentrations in ports and sparse activity in open waters.
Furthermore, traditional big data frameworks like standard Hadoop or Spark are "spatially blind." They treat geographic coordinates as generic numerical data, failing to leverage the inherent spatial relationships. This lack of spatial awareness necessitates full dataset scans for even simple proximity queries, leading to extreme inefficiencies. This paper addresses these hurdles by integrating a grid-based density algorithm with the SpatialHadoop framework.
Methodology
The proposed approach shifts from point-based detection to an area-based (grid-based) method to maintain computational feasibility at scale. The workflow centers on two primary components: SpatialHadoop integration and a specialized cropping algorithm.
SpatialHadoop Integration
SpatialHadoop extends standard Hadoop by adding a spatial layer that supports R-tree indexing. The system partitions data into "slices" based on geographic proximity. A two-level indexing strategy—comprising a global index for identifying relevant data nodes and local R-tree indexes for fast intra-node retrieval—allows the system to bypass irrelevant data slices entirely during processing.
The Cropping Algorithm
The target maritime area is partitioned into an $n \times m$ grid. Instead of processing individual points, the algorithm calculates the vessel density within each grid bucket. An iterative "cropping" process is then applied: the algorithm evaluates the density of the current candidate region and systematically removes rows or columns with lower densities. This process continues until the remaining area satisfies a predefined "hotness" threshold $h$.
Experimental Setup
The algorithm was evaluated using a 102 GB subset of real-world AIS data from January 2012, covering a region of the South China Sea (Longitude 110°E~118°E, Latitude 4°N~12°N). After cleaning the data to remove noise, the region was divided into a 100x100 grid for analysis.
Results and Discussion
The experimental results highlight the critical role of spatial indexing. While standard Hadoop improved processing times compared to a single machine, the addition of R-tree indexing in SpatialHadoop provided the most dramatic gains. For a 100x100 grid, SpatialHadoop completed the task in approximately 2.7 hours (10,001 seconds), nearly 8 times faster than standard Hadoop (21.7 hours) and orders of magnitude faster than a non-distributed system (estimated at 89 days).
A key insight from the study is that hotspot thresholds are context-dependent. The "hotness" of an area is relative to its surroundings; coastal regions required a higher threshold ($h=100$) compared to the open sea ($h=39$) to identify stable hotspots. This suggests that effective maritime surveillance systems must be tuned to specific geographic contexts.
Conclusion
This research demonstrates that combining grid-based density analysis with spatial indexing frameworks like SpatialHadoop enables efficient hotspot detection in massive maritime datasets. By trading fine-grained point precision for grid-based efficiency, the system achieves the performance necessary for real-time applications. Future work will aim to incorporate temporal dimensions and behavioral semantics to transition from simple density detection to "smart" maritime surveillance that understands the intent behind vessel movements.
Summary updated