Next Article in Journal
Distributed Event-Triggered Fixed-Time Leader–Follower Formation Tracking Control of Multiple Underwater Vehicles Based on an Adaptive Fixed-Time Observer
Previous Article in Journal
Effects of Laying Depth and Pipe Arc Length on the Mechanical Performance of Large-Diameter Cold-Water Pipes during Float-and-Sink Installation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Efficient Dual-Stage Compression Model for Maritime Safety Information Based on BeiDou Short-Message Communication

School of Information Engineering, Wuhan University of Technology, Wuhan 430070, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(8), 1521; https://doi.org/10.3390/jmse11081521
Submission received: 10 July 2023 / Revised: 26 July 2023 / Accepted: 28 July 2023 / Published: 30 July 2023
(This article belongs to the Section Ocean Engineering)

Abstract

:
In the context of utilizing BeiDou short-message communication (SMC) for transmitting maritime safety information, challenges arise regarding information redundancy and limited message length. To address these issues, compressing the data content of SMC becomes essential. This paper proposes a dual-stage compression model based on Beidou SMC for compressing maritime safety information, aiming to achieve efficient compression and reduce information redundancy. In the first stage, a binary encoding method (MBE) specifically designed for maritime safety information is proposed to optimize the byte space of the short messages, ensuring the accuracy, integrity, and reliability of the information. In the second stage, we propose a data compression algorithm called XH based on a hash dictionary, which efficiently compresses maritime safety information and reduces information redundancy. Different maritime data have corresponding structures and compositions, which can have a significant impact on the evaluation of compression algorithms. We create a database considering six categories of objects: waves, sea ice, tsunamis, storms, weather, and navigation warnings. Experimental results demonstrate that the proposed model achieves significant compression efficiency and performance on the maritime safety data set, outperforming other benchmark algorithms.

1. Introduction

Since the opening of the BeiDou short-message communication (SMC) [1] service in 2013, SMC has played a significant role in life-saving assistance and maritime vessel position reporting. SMC is a communication [2] method that utilizes the BeiDou Navigation Satellite System [3] to send short messages, enabling the widespread application of various safety information in the maritime domain [4]. BeiDou SMC provides a fast and efficient communication method, allowing vessels to send and receive short messages through BeiDou terminals [5], facilitating real-time information exchange. This instant communication capability ensures that maritime safety information can be transmitted to relevant vessels and management agencies at the fastest speed.
BeiDou SMC can be used for location sharing and monitoring [6]. Vessels can send their position information or receive position information from other vessels through short messages. This enables vessels to be aware of each other’s positions, reducing the risk of collisions [7]. Management agencies can also monitor vessel positions and navigation conditions in real-time, enabling timely measures to ensure maritime traffic safety. BeiDou SMC can also be used to send warnings and alerts [8]. For example, when severe weather, marine disasters, or pirate activities occur at sea, relevant agencies can send warning messages to vessels via short messages, reminding them to take appropriate measures for safety. This rapid alert mechanism [9] helps vessels avoid potential dangers and risks.
However, the BeiDou satellite warning information dissemination faces challenges such as low transmission rate, high redundancy, and low success rate in transmitting [10] long warning message. Therefore, efficient compression algorithms are needed to reduce the transmission size of BeiDou SMC. Binary encoding [11] is an encoding scheme that can efficiently compress various types of data, including text, images, audio, and video. Therefore, applying the binary encoding algorithm to compress BeiDou short messages is a viable research direction. This article proposes a binary coding scheme (MBE) tailored to the metadata characteristics of maritime safety information to optimize byte space. It takes into account metadata such as timestamps and message types in maritime safety information and utilizes dictionary-based compression techniques to optimize compression efficiency.
Data compression [12] is a significant research field in computer science. Its fundamental idea is to reduce the storage and transmission space required for data while preserving the integrity of the data content, thereby improving data utilization efficiency. Currently, the field of data compression has developed various compression algorithms and techniques, including lossless and lossy compression [13]. Commonly used data compression algorithms include Huffman coding [14], LZ compression algorithm, LZW compression algorithm [15], arithmetic coding, greedy algorithms, and so on. Data compression has found wide applications in deep learning as well. For instance, Mohit Goyal et al. [16] introduced an algorithm based on neural networks for learning causal distributions of sequence data and achieving efficient compression. Jingwei Sun et al. [17] proposed a lossy compression and replay framework called LCR for compressing and replaying MPI communication trace data.
In 2022, the x3 algorithm [18] developed by David represents the latest technological advancement in dictionary compression algorithms. This algorithm incorporates highly advanced arithmetic coding mechanisms and combines them with context modeling [19] and the moving window matching mechanism found in the LZ series. From a data compression perspective, particularly in the context of compressing maritime safety information based on short messages, the x3 algorithm has demonstrated superiority over other entropy coding algorithms. The x3 algorithm offers significant advantages by achieving superior compression efficiency. It enables the reduction of data size, which subsequently leads to benefits such as reduced transmission time and improved resource utilization. The x3 algorithm is a promising solution for compressing maritime safety information based on short messages. Therefore, the x3 technology has become a research hotspot in dictionary-based compression algorithms in recent years. This article proposes an optimization for the x3 algorithm called XH, which utilizes a hash table-based dictionary structure [20]. The goal is to improve compression efficiency and performance.
The contributions of this paper can be summarized as follows:
(i)
We have been granted authorization to obtain relevant maritime safety information data from the China Maritime Safety Administration. With this authority, we can gather, sort, and classify the data, ultimately creating six distinct datasets that serve as benchmark data sets for compressing and transmitting maritime safety information.
(ii)
We propose and evaluate a dual-stage compression model for maritime safety information, aiming to address the issues of low transmission rate, large redundant information, and low success rate in transmitting long warning messages using BeiDou SMC. In the first stage of the model, we introduce a binary encoding specifically designed for maritime safety information to optimize the space storage of the short messages. In the second stage, we propose a data compression algorithm called XH based on a hash dictionary to compress the data flow and reduce information redundancy.
(iii)
The experimental results demonstrate that the model we propose achieves efficient compression efficiency and performance, particularly suitable for compressing maritime safety information. It plays a crucial role in the compression and transmission of maritime safety information.

2. Related Work

The remaining part of this section is organized as follows: Section 2.1 provides a brief overview of the challenges encountered during the evaluation of algorithms for compressing maritime security information. In Section 2.2, we explore the extensive potential applications of binary coding utilizing Beidou SMC. Furthermore, Section 2.3 presents an introduction to the research background and recent advancements in various mainstream lossless compression algorithms.

2.1. Maritime Safety Information Database

When evaluating the compression efficiency and performance of a compression algorithm using domain-specific data, it is necessary to conduct tests on a large dataset to obtain a relatively reliable evaluation metric. However, obtaining publicly available datasets can be extremely challenging for certain domains [21]. Additionally, issues of security and ownership often prevent owners from opening or sharing their datasets. Maritime safety information can generally be categorized into navigational warnings, weather forecasts, marine disaster warnings, and other emergency and safety-related information. To evaluate compression algorithms for maritime safety information, three types of datasets can be considered: navigational warnings, weather forecasts, and marine disaster warnings. The navigational warnings dataset provides critical information for navigational safety in Chinese waters, such as water depths, obstacles, buoys, and other navigational aids. This dataset helps ships and aircraft avoid potential collisions, grounding, or other hazardous situations. The weather forecasts dataset provides information on temperature, humidity, wind speed, and direction, precipitation, atmospheric pressure, duration, weather conditions, and auxiliary factors such as visibility in Chinese waters. This dataset assists maritime operations by providing meteorological information as a basis for decision-making. The marine disaster warnings dataset consists of various data related to marine disasters in Chinese waters. It typically includes information about marine environments, weather conditions, affected areas, marine geology, disaster levels, and other relevant factors. In fields such as marine engineering and shipping, marine disaster warning data can guide decisions related to safe navigation and port operations. Due to the sensitive and proprietary nature of these datasets, acquiring them can be challenging. However, using these domain-specific datasets for evaluating compression algorithms in the context of maritime safety information is crucial to ensure accurate assessment and optimization of compression techniques in real-world scenarios.

2.2. Binary Encoding Based on BeiDou SMC

BeiDou SMC system utilizes the BeiDou satellite navigation system for global communication. It is used to transmit maritime safety information and can be broadcasted to shipborne terminal [22] users through both unicast and broadcast [23] methods. The sender of maritime safety information, such as maritime administration agencies, port management agencies, or rescue organizations, creates the corresponding maritime safety information using a BeiDou command-type user terminal [24]. This information includes notifications, warnings, navigation assistance, and more. The sender then converts the maritime safety information into the format of BeiDou SMC using BD-SM [25] encoding software. The format of BeiDou short message includes information content, recipient address, sender address, sending time, message type, and more. The information transmission mechanism of BeiDou SMC is shown in Figure 1.
Since its launch in 2013, the BeiDou SMC has played a significant role in ensuring safety and providing assistance and assistance as well as reporting the positions of fishing vessels at sea. However, there are challenges in the transmission of BeiDou satellite warning information, such as low transmission rates and high redundancy. To address these challenges, byte-level space encoding can be applied to certain domain-specific information to reduce redundancy. Studies [26] have been conducted on byte-level binary encoding [27] for status information of special vehicles, which developed a dynamic index code table encoding method suitable for BeiDou SMC transmission. This method achieved better compression and transmission efficiency compared to common compression algorithms. Furthermore, in the context of real-time communication of fishing catch information, research [28] has proposed a byte-level space allocation strategy for fishing catch information message, optimizing the byte space of the information and providing a coding foundation for subsequent compression and transmission methods.
However, currently, there is no byte-level space encoding scheme specifically designed for maritime safety information. This article proposes a binary encoding scheme (MBE) for maritime safety information, which enables encoding of various maritime operations and optimizes the byte space of maritime safety information, thereby enhancing the reliability, integrity, and accuracy of information transmission.

2.3. Lossless Compression Algorithm

After binary spatial encoding, combined with efficient compression algorithms, the compression rate of BeiDou SMC can be further improved, reducing information redundancy. The LZ series algorithms, such as LZ77, LZ78, and LZW [29], are widely used and provide good compression rates. They have broad applications in image compression [30], file compression, and network transmission. Essentially, they are dictionary compression algorithms.
An arithmetic encoder [31] is a lossless data compression algorithm based on probability models. It is particularly suitable for processing data with statistical characteristics. An arithmetic encoder requires estimating the probability distribution of the input data. Therefore, it is often combined with other compression techniques to achieve better compression efficiency. Common arithmetic encoding methods include arithmetic coding, adaptive arithmetic coding, and adaptive context coding [32]. All three methods use probability models to encode symbols. The encoding process involves mapping symbols to arithmetic coding intervals using the probability formula and updating the interval for encoding the next symbol. For a given symbol and probability p, the encoder multiplies the length of the current interval by p and uses the result as the length of the next interval. Assuming the current interval has a lower bound P l o w , an upper bound P h i g h , an upper cumulative probability P t , and a lower cumulative probability P s , the encoding probability formula is as follows:
P n e w - l o w = P l o w + P h i g h P l o w × P s
P n e w - h i g h = P l o w + P h i g h P l o w × P t
In this context, P n e w - l o w represents the starting value of the interval for the next symbol, while P n e w - h i g h represents the ending value of the interval for the next symbol. The decoding process of an arithmetic encoder uses the same probability Formulas (1) and (2) as the encoding process. Based on the encoded bitstream and the probability distribution, the original data can be accurately reconstructed.
In the field of text compression, it is widely known that the PPM [33] series of compression algorithms excels in data compression capability. The PPM compression scheme utilizes a symbol model to dynamically generate statistical information about the text during the compression process. Given the current symbol s and its mth-order context C = c m c m 1 c 2 c 1 , the key challenge in symbol compression schemes is to generate predictions for the current symbol based on the context C. These predictions are used to calculate the conditional probability P s | C for each input symbol, which is then utilized by an entropy encoder. Unlike using a single fixed-order context, the PPM scheme employs a set of finite-order contexts. By employing a blending scheme, it carefully transitions from higher-order contexts to lower-order contexts based on the characteristics of the input data. The blending of contexts is performed by using escape symbols. Let m m a x be the maximum-order context used. In each encoding step, PPM attempts to predict the next symbol using the maximum-order context. If the symbol has appeared previously in this context, it is encoded using P s | c m m a x c m m a x 1 c 1 . If the symbol has never appeared in this context, an escape symbol is sent, and the context order is reduced to m m a x 1 . This process is repeated with the reduced-order context. There are various variants of the PPM model, such as PPMA, PPMB, PPMC, PPMD, etc. [34,35,36]. These models primarily differ in the way they determine the escape probability and handle zero-frequency issues.
In recent years, there has been a significant focus on the application of deep learning algorithms in compression techniques. These algorithms leverage the ability to learn data features and statistical patterns, resulting in higher compression rates and improved reconstruction quality. For instance, the DeepZip [37] algorithm has shown promising results in compressing general-purpose files, although its compression efficiency may be lower, and the generated model may lack generality. Additionally, algorithms like LSTM-compress [38] and cmix [39] utilize LSTM neural networks to learn data features and statistical patterns for general file compression, offering higher data compression capabilities.
BeiDou SMC face limitations in text length and low transmission efficiency. To address this issue, we propose an XH algorithm for compressing maritime safety data.

3. Methodology

During the process of transmitting maritime safety information using BeiDou SMC, there are issues such as low transmission rate, large redundant information, and low success rate in transmitting long warning messages. To improve the efficiency of transmitting maritime safety information via BeiDou SMC, we propose a dual-stage compression model specifically designed for maritime safety information as follows:
In the first stage of the model, we introduce a binary encoding method tailored for maritime safety information. Each message field undergoes corresponding dictionary retrieval, and the resulting encoding is stored in the corresponding position, optimizing the space storage of the short messages.
In the second stage of the model, we propose a data compression algorithm called XH based on a hash dictionary. This algorithm enhances the compression efficiency and performance, serving to compress the data flow and reduce information redundancy.
In this section, we first describe the design process of the first stage of this model, the binary encoding MBE. Then, we introduce the second stage of the model, where we propose the XH algorithm. The proposed dual-stage compression model is depicted in Figure 2.

3.1. MBE of Maritime Safety Information

When compressing and transmitting maritime safety information, it is necessary to encode the information based on the technical requirements of the BeiDou satellite regional short message interface control file [40] and the data format of coastal radio stations [41]. Each frame of the B2b navigation message [42] is 436 bits long and is used to carry business information. His frame structure is described in Table 1. The safety information data from coastal radio stations, which can be up to 404 bits in length, is split and sequentially connected to form frames of the global short message broadcast message. The telegram structure of maritime safety information is described in Table 2. By following this approach, maritime safety information can be efficiently encoded and transmitted using the available space within the frames of the BeiDou navigation message, avoiding wastage of space caused by direct transmission. This allows for the effective dissemination of safety information through the BeiDou SMC broadcast message frames.
The allocation of BeiDou SMC space is shown in Table 2, providing a more detailed breakdown of the data content in Table 1. The specific implementation of binary encoding for BeiDou SMC is depicted in Figure 3.
The specific byte space allocation strategy is as follows:
(1)
Information Source. The information source field occupies 5 bits and is used to indicate the source of maritime safety information, including maritime, oceanic, and meteorological institutions.
(2)
Broadcast Station. The broadcast station field occupies 4 bits and specifies the institution responsible for broadcasting the maritime safety information.
(3)
Message ID. The message ID field is encoded using 21 bits in the format of “serial number + year”. The sequence number consists of 4 digits and is sequentially assigned starting from 0001 each year based on the publishing institution. The “year” represents the last two digits of the current year.
(4)
Information Type. The information type data item occupies 4 bits and indicates the category of the transmitted information.
(5)
Information Subtype. The information subtype data item occupies 3 bits and indicates the subcategory to which the transmitted information belongs.
(6)
Validity Date. The validity date encoding occupies 21 bits and is encoded as shown in Table. For coast station safety information messages that do not specify a cancellation time, the cancellation time is typically set to 1 h after the subject has disappeared or been completed. For the message that only indicates a date, the cancellation time is typically set to 2400 h on the same day. For messages with no specific validity date, all encodings are set to 0. The encoding format for the validity date is as shown in Table 3.
(7) Warning Level. The information level occupies 4 bits and indicates the degree of danger and the warning level of the transmitted message.
(8) Number and Type of Areas. The number of areas encoding occupies 4 bits and represents the quantity of included areas in this message. The area type encoding occupies 3 bits. The area data includes the type of area and the number of the area. As shown in Table 4.
(9) Data Content. The text content is encoded as a variable length. The metadata related to maritime safety information messages is replaced with corresponding dictionary codes to further reduce the space required for the text content. Chinese characters are encoded using the GBK encoding scheme, while English characters are encoded using the ASCII encoding scheme, and the final result is saved as a byte stream.

3.2. XH Lossless Data Compressor

After binary encoding, maritime safety information can be further compressed using the x3 lossless compressor to reduce information redundancy. The x3 encoder maps a binary label, consisting of an offset and length, to uncompressed data fragments in a dictionary, aiming for high compression performance. The encoder provides two main options that impact compression ratio and speed. The first parameter is the window size, which determines the range in the look-ahead buffer to find the most suitable fragment to insert into the dictionary. The second parameter is the maximum match count within this window, limiting the number of matches when searching for the longest and most frequent repeated strings from the current position to avoid interfering with longer matches or matches with stored dictionary fragments. Selecting the appropriate fragments to insert into the dictionary is a challenging task. Indeed, both of the aforementioned parameters are chosen at the expense of compression speed to achieve higher compression ratios.
Therefore, to achieve both high compression ratios and fast compression speeds, this paper proposes a XH algorithm to address this issue. In the input parsing stage of the algorithm, we create a hash table to store dictionary elements. A hash table is an efficient data structure that allows for constant-time complexity (O(1)) for insertion, retrieval, and deletion operations. The structure ‘ele-t’ defines the elements in the hash table, which includes a pointer ‘dict’ to the corresponding dictionary element and ‘dict-elems’ representing the index of the dictionary element. In this way, each element in the hash table is associated with its corresponding element in the dictionary through the ‘dict’ pointer.
The hash table [43] plays a crucial role in the insertion operation of the dictionary. When a new element needs to be inserted into the dictionary, it is first added to the hash table, and then the element itself is added to the dictionary array ‘dict’. This allows for quick lookups of dictionary elements by first searching in the hash table to find the corresponding element pointer and then accessing the element directly in the dictionary, thus improving the efficiency of lookups.
Figure 4 depicts the flow of the algorithm. The compression algorithm can be primarily divided into two stages: input parsing and entropy coding. The goal of the input parsing stage is to find the most suitable fragment in the window starting from the current position in the uncompressed stream (all content after this position has already been compressed). This allows for shorter bit lengths in the subsequent entropy coding stage. Generally, longer and more frequent fragments in the input stream tend to result in better compression ratios. The encoder plays a decisive role in the just-found fragment and can choose to either use that fragment or utilize previously stored fragments in the dictionary, provided that the initial string in the window matches a stored fragment in the dictionary. In the algorithm described in this paper, the window contains the yet-to-be-compressed data. The pseudocode in Algorithm 1 provides the specific constructing a hash dictionary process.
Algorithm 1 Hash Dictionary
Input: p: The position of the input stream
Output: r: The index of the hash dictionary
1:
p 0
2:
while   P E O F   do
3:
     l d Q u e r y H a s h D i c t i o n a r y ( p )
4:
     l w S e a r c h I n W i n d o w ( p )
5:
    if  l d > l w  then
6:
         r E n c o d e H a s h D i c t i o n a r y I n d e x ( p , l d )
7:
         p p + l d
8:
    else
9:
         A d d F r a g m e n t T o H a s h D i c t i o n a r y ( p , l w )
10:
        r E n c o d e R a w F r a g m e n t I n d e x ( p , l w )
11:
        p p + l w
12:
    end if
13:
end while
On one hand, the QueryHashDictionary function is used to search the hash dictionary and return the length of the longest found fragment. It takes a string as a parameter and searches for the longest matching fragment in the hash dictionary. If no matching fragment is found, it returns infinity. Then, the EncodeHashDictionaryIndex function triggers an event and encodes the event using an adaptive arithmetic coder. This event indicates the index of the fragment in the hash dictionary. The purpose of encoding the hash dictionary index is to compress the index information of the fragment so that it can be restored during decoding. On the other hand, the SearchInWindow function searches for the longest and most frequent recurring string starting from position p in the given window. The pseudocode in Algorithm 2 provides the specific process of SearchInWindow function. It controls the accuracy and efficiency of the search results by adjusting the maximum match count limit parameter. The maximum match count limit represents the maximum length of a matching string allowed in the search. The setting of this parameter affects the accuracy and speed of the search results and requires a trade-off. The CountOccurrences function is used to count the number of occurrences of a fragment with length l located at position p in the window. It is used to avoid selecting matching items that could potentially disrupt the matching of stored fragments in the hash dictionary. By counting the occurrences of the fragment in the window, it can be determined whether to choose that fragment as the best match. There are multiple options available to control the behavior of the encoder. These options can enable or disable future match detection to avoid selecting matching items that would disrupt future matches. Such options can help find the optimal settings for each compressed file. However, considering multiple options can make the entire process complex and time-consuming. To simplify the process, a setting that is suitable for the majority of files can be chosen to avoid searching for parameters that fit each file individually.
Now, events generated by EncodeHashDictionaryIndex and EncodeRawFragmentIndex are passed to the adaptive context arithmetic coder in the second stage for encoding. The encoder uses one of the following contexts: the last two indices in the dictionary, the last index in the dictionary, or no context (directly encoding the index into the dictionary). The choice of a context is based on the frequency estimates of previous occurrences for compression ratio estimation. Specifically, the choice of context for encoding is determined by estimating the compression ratio based on the frequencies of previous occurrences. Prior to encoding, frequency initialization is performed for the first two contexts, which improves the accuracy of the context model.
Algorithm 2 SearchInWindow Function
Input: M: maximum number of matches; L: maximum match length
Output: returns length of the best match
1:
function   S e a r c h I n W i n d o w (p)
2:
    for  l = 1 to L do
3:
         c l C o u n t O c c u r r e n c e s ( p , l )
4:
    end for
5:
    for  m = M d o w n t o 1 do
6:
        for  l = L d o w n t o 1 do
7:
           if  c l = m  then
8:
               return l
9:
           end if
10:
        end for
11:
    end for
12:
end function
Let the symbol frequencies in the dictionary be represented by a sequence S = s i , i = 1 , , | S | , where | S | represents the length of the sequence, considering the frequency sequence of symbol occurrences that forms the dictionary. The symbol dictionary is a collection of symbols with different frequencies. Assuming the symbol set in the dictionary is Σ = σ i , i = 1 , , | Σ | , and the corresponding symbol probabilities in the dictionary are p σ i , i = 1 , , | Σ | , i p σ i = 1 . Then, the average number of bits per symbol required to encode the sequence without context modeling is given by the entropy, as shown in Formula (3).
H S = σ i ϵ Σ p σ i log 2 p σ i
If we consider the context C j , the conditional probability distribution of the symbol set with context will be p s i | C j , i = 1 , | S j | . Then, the average number of bits per symbol required to encode the sequence will be given by the conditional entropy.
H S | C = j = 1 M p C j s i ϵ S j p s i | C j log 2 p s i | C j = j s i p s i , C j log 2 p s i | C j
where M is the total number of contexts. Since the conditional entropy is never greater than the unconstrained entropy, using context modeling can also reduce the number of bits/symbols required to encode the sequence: H S | C H S . The final encoding result for the dictionary is obtained based on the aforementioned entropy encoding formula.

4. Experiment and Result

4.1. Data Sources and Evaluation Metrics

This article describes an experiment that uses data sets from various maritime agencies such as the China Maritime Safety Administration and the China Oceanic Administration. We have been authorized to obtain relevant maritime safety information data from the China Maritime Safety Administration. We have organized and classified the data, resulting in six categories of datasets that serve as benchmark datasets for compressing and transmitting maritime safety information. The data sets can be divided into the navigational warning data set, the ocean disaster warning data sets, and the weather forecast data set. The following Table 5 reflects the data characteristics of the datasets.
The Navigational Warning Data Set provides critical information for maritime safety in China, such as water depth, obstacles, and navigation marks [50]. This information helps ships and aircraft avoid potential collisions, groundings, or other hazardous situations. The information in the data set can be used for route planning and navigation, allowing ships and aircraft to choose the safest and most efficient routes based on the information in the data set. They can avoid dangerous areas or take advantage of favorable tidal and weather conditions. The data set can also be used for risk assessment, identifying potential hazardous areas and risk factors, and taking appropriate measures to reduce risks and ensure the safety of ships and aircraft.
The Ocean Disaster Warning Data Set refers to a collection of various data related to marine disasters in China. It includes four categories of data sets: waves, sea ice, tsunamis, and storms [51]. These data sets typically include information about the marine environment, weather conditions, affected areas, marine geology, disaster levels, and other relevant factors. The data set contains various indicators and parameters related to marine disasters, such as wave height, wind speed, meteorological conditions, and seismic activity. By analyzing this data, it is possible to predict the occurrence of marine disaster events and issue alerts and warnings to remind people to take necessary safety measures.
In the field of meteorology, weather forecast datasets play a crucial role. They contain a vast amount of meteorological observation data, model outputs, and other relevant information used for weather prediction and analysis. Weather forecast datasets provide information about weather conditions and sea states in the ocean, such as wind speed, wave height, tides, and more. This information is vital for maritime and shipping activities. Ships and crew members can plan their routes and avoid adverse weather conditions based on forecast data, thus enhancing maritime safety.
When conducting experiments using these datasets, considering the practical application needs, the proposed algorithm needs to be evaluated from three aspects: compression efficiency, compression performance, and decompression performance [52].
Compression ratio, which refers to the ratio between the size of the uncompressed data and the size of the compressed data, is often considered as the most important metric for evaluating compression effectiveness. The formula for compression ratio and average compression ratio is as follows:
C R = λ η
m C R = j = 1 M C R j M
where λ represents the memory space size of the original data, and η represents the memory space size of the compressed data. M is the number of datasets of a certain class.
m t c = j = 1 M t j c M
m t d = j = 1 M t j d M
Compression performance refers to the amount of time required to convert data into its compressed form. We measure this using compression time t j c , where a shorter time indicates better compression performance. To reflect the compression performance on the entire dataset, we use the average compression time m t c as the evaluation metric.
Decompression performance refers to the amount of time required to convert compressed data back into its original form. We measure this using decompression time t j d , where a shorter time indicates better decompression performance. To reflect the decompression performance on the entire dataset, we use the average decompression time m t d as the evaluation metric.

4.2. Experiment and Analysis

The experiment is conducted and tested on the Ubuntu 20.04 system using Python and C as programming languages. The PyCharm and Visual Studio Code are used as IDEs. The data sets are byte-space encoded using Python, and C is used as the compiled language for the algorithm. The experiment is conducted on a system with an Intel I7-9900 processor and an NVIDIA GeForce RTX 2080Ti graphics card with 32 GB of RAM. In the following experiment, we conduct 5 repetitions for each observation to avoid potential random factors in the experimental results. To present the experimental results more objectively, we employ statistical analysis methods to evaluate the data.
The evaluations in Table 6 are conducted based on the well-known Silesian Corpus. We only consider a few important dictionary-based methods for comparison. However, it should be noted that in certain cases, there are other methods (such as cmix) that can provide better compression results and higher efficiency. It is worth mentioning that we set all evaluation programs to extreme compression ratios: lz4 -9, gzip –best, xz -9-e, zstd –ultra -22, and Brotli -q 11. The LZ4 compressor focuses on speed rather than compression ratio, but due to its widespread usage, we include it in the comparison. The xz compressor utilizes the LZMA method, the x3 compressor uses an adaptive context modeling arithmetic coder, and the XH compressor uses guided parameters that were selected through a state-space search and chose an 8 KiB window size. Larger window size can improve the compression ratio, and the use of a hash structure as a dictionary index can enhance both compression rate and efficiency. It should be noted that the decompression time is independent of the compression parameters, as decompression is simply executed based on the events written into the bitstream. The comparison results indicate that XH, x3, and xz demonstrate excellent compression performance. Furthermore, in all cases, XH has better performance than LZ4, gzip, and x3. In some cases, the compression efficiency of XH is lower than that of xz and Brotli.
Table 7 presents the evaluation conducted on our maritime safety information dataset. We use average compression ratio, average compression time, and average decompression time as our evaluation metrics. We select the Adaptive Arithmetic Coder (AAC), LSTM-Compress, and x3 as benchmark algorithms for comparative experiments. AAC is a general-purpose lossless compression algorithm, LSTM-Compress is a lossless compression algorithm that utilizes LSTM networks, and x3 is an efficient dictionary compression algorithm. The results in Table 7 demonstrate that the XH algorithm achieves excellent compression ratios on all five datasets in the experiments. It outperforms x3, AAC, and LSTM-Compress significantly in the wave, sea ice, storm, and meteorological datasets, with only a slightly lower compression ratio compared to AAC on the tsunami dataset. The proposed algorithm demonstrates superior compression performance and decompression performance compared to the benchmark algorithms.
Based on the average compression rate results from Table 6, the XH algorithm outperforms the baseline algorithm in most cases, except for the experiment results on mozilla, nci, ooffice, samba, and sao files, where it falls short of xz. These files possess relatively storage-intensive characteristics, and the XH algorithm’s default dictionary index does not match them completely, resulting in an ineffective extraction of repetitive patterns. From the average compression rate results in Table 7, only in the case of the tsunami dataset does XH perform worse than AAC. Considering Table 5, the tsunami dataset has significantly smaller memory size compared to other datasets and contains very few repetitive fields, which makes XH’s compression performance very poor for this type of data. In some cases, compression might even fail when the memory size for the tsunami data is below 600 bytes. Analyzing the average compression time and decompression time from Table 7, most of XH’s m t c and m t d values are higher than AAC’s, indicating that the algorithm needs further improvement in its compression strategies for different data types. When applying XH to the files from Table 6, the compression time notably increases. Essentially, XH sacrifices compression performance to enhance compression efficiency.
To comprehensively evaluate the experimental data, we conduct a normality test to verify whether the data follows a normal distribution. Taking the XH algorithm as a research case, from the frequency histogram of compression rates shown in Figure 5, it can be observed that the compression rates of XH on the datasets for waves, storms, tsunamis, weather, and navigation warnings can be approximately considered to follow a normal distribution. However, from Figure 5, it is evident that the dataset for sea ice contains very few data points, which means it does not meet the requirements for a normality test. Despite this, the data in the sea ice dataset exhibits little skewness and has no extreme values, allowing the mean value to effectively represent its characteristics.
We conduct significance tests on various algorithms for different datasets, performing three significance tests for each dataset. Table 8 provides the standard deviation and standard error of the compression rates for different algorithms across different datasets. Figure 6 visually depicts the comparison of compression rates and standard errors for different algorithms across the different datasets, where the asterisk (*) represents statistical significance compared to other algorithms.
Table 9 presents the compressed results obtained using our proposed encoding scheme. Figure 7 illustrates the bar chart comparing the average compression ratios of various algorithms with and without encoding on different datasets. The experiments demonstrate that after encoding, all algorithms achieve improved average compression ratios. The XH algorithm achieves the highest average compression ratio across all datasets. Additionally, the XH algorithm exhibits good average compression performance and average decompression performance. In summary, the compression performance of the XH algorithm significantly improves after encoding, surpassing other algorithms. The model we proposed has proven to be highly effective in compressing the maritime safety information dataset. Additionally, it demonstrates high compression efficiency and decompression efficiency.
Figure 8 depicts the compression performance of x3 and XH on different maritime safety data sets, as measured by m t c . A lower m t c value indicates better compression performance, and from the graph, it can be observed that the XH algorithm outperforms x3 in all maritime safety information data sets. Calculations based on the order of the data sets in the graph revealed that the compression performance of XH, relative to x3, has improved by 53.73%, 52.94%, 52.94%, 51.65%, 18.56%, and 28.71% respectively.
Due to the significant impact of window size on compression performance, we conduct experimental evaluations on meteorological data to determine the optimal window size and matching count. Table 10 presents the selected window sizes, corresponding optimal matching counts, and achieve compression rates. The experiments demonstrate that longer window sizes result in larger matching counts and higher compression rates. When the window size parameter exceeds a certain critical value, compression rate degradation occurs, and it may fluctuate around this level afterward. This is likely due to the window size being too long, causing the algorithm to capture longer repetitive patterns while failing to effectively identify and utilize shorter ones, resulting in decreased compression efficiency. Additionally, the XH algorithm requires manual parameter tuning to achieve the best compression efficiency when dealing with different types of data.

5. Conclusions and Discussion

In this paper, we make significant advancements in the field of maritime safety information transmission and compression. Firstly, we have systematically constructed maritime safety datasets, which have served as valuable resources for studying the transmission and compression of maritime safety information. Secondly, we propose and thoroughly evaluate a dual-stage compression model specifically designed for maritime safety information. The primary objective of this model is to address the challenges of low transmission rates, excessive redundant information, and low success rates in transmitting long warning messages using BeiDou SMC. In the first stage, we introduce a tailored binary encoding technique for maritime safety information. In the second stage, we propose a data compression algorithm named XH, which leverages a hash dictionary to efficiently compress the data flow and reduce information redundancy.
Finally, our experimental results demonstrate the remarkable compression efficiency and performance of the proposed model, particularly suitable for compressing maritime safety information. By applying our model to compress maritime safety information for BeiDou SMC transmission, we successfully improve the compression efficiency and significantly reduced information redundancy during the message transmission process, ultimately enhancing the overall transmission efficiency of maritime safety information.
This framework is also applicable to domains with categorical features that require long-distance transmission, such as vehicle status information transmission in autonomous driving and status information transmission in ship navigation processes. In these domains, data may consist of various types of information, including sensor data, images, and text, with both categorical and numerical features. However, there have been limited studies conducted in these areas. Exploring the potential effects and advantages of this method in these application domains will open up new areas and opportunities for further research.
Future research directions can focus on exploring methods that adaptively adjust multiple parameters and utilize multi-way trees as dictionary structures to enhance compression efficiency and performance.

Author Contributions

Conceptualization, Y.H. and J.H.; methodology, Y.H. and G.Z.; validation, H.L. and Q.J.; investigation, Y.H.; resources, H.L. and J.H.; writing—original draft preparation, Y.H.; writing—review and editing, J.H. and Q.J. All authors have read and agreed to the published version of the manuscript.

Funding

This work is fully supported by the National Key Technologies R&D Program of China (Grant No. 2021YFB3901503).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are openly available in Silesia compression corpus at sun.aei.polsl.pl//~sdeor/index.php?page=silesia [18].

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Li, B.; Zhang, Z.; Zang, N.; Wang, S. High-precision GNSS ocean positioning with BeiDou short-message communication. J. Geod. 2019, 93, 125–139. [Google Scholar] [CrossRef]
  2. Li, G.; Guo, S.; Lv, J.; Zhao, K.; He, Z. Introduction to global short message communication service of BeiDou-3 navigation satellite system. Adv. Space Res. 2021, 67, 1701–1708. [Google Scholar] [CrossRef]
  3. Yang, Y.; Gao, W.; Guo, S.; Mao, Y.; Yang, Y. Introduction to BeiDou-3 navigation satellite system. Navigation 2019, 66, 7–18. [Google Scholar] [CrossRef] [Green Version]
  4. Kopacz, Z.; Morgaś, W.; Urbański, J. The maritime safety system, its main components and elements. J. Navig. 2001, 54, 199–211. [Google Scholar] [CrossRef]
  5. Ran, C. Development of the BeiDou navigation satellite system. In Proceedings of the Global Navigation Satellite Systems. Report of the Joint Workshop of the National Academy of Engineering and the Chinese Academy of Engineering, Washington, DC, USA, April 2012. [Google Scholar]
  6. Wei, J.; Chiu, C.H.; Huang, F.; Zhang, J.; Cai, C. A cost-effective decentralized vehicle remote positioning and tracking system using BeiDou Navigation Satellite System and Mobile Network. EURASIP J. Wirel. Commun. Netw. 2019, 2019, 112. [Google Scholar] [CrossRef]
  7. Yang, Z.; Wang, J.; Li, K. Maritime safety analysis in retrospect. Marit. Policy Manag. 2013, 40, 261–277. [Google Scholar] [CrossRef]
  8. Choy, S.; Handmer, J.; Whittaker, J.; Shinohara, Y.; Hatori, T.; Kohtake, N. Application of satellite navigation system for emergency warning and alerting. Comput. Environ. Urban Syst. 2016, 58, 12–18. [Google Scholar] [CrossRef] [Green Version]
  9. Yang, J.; Chen, Y.; Yu, J.; Zhou, Z.; Guo, Y.; Liu, X. Monitoring Technology of Abnormal Displacement of BeiDou Power Line Based on Artificial Neural Network. Comput. Intell. Neurosci. 2022, 2022, 7623215. [Google Scholar] [CrossRef]
  10. Han, Z.; Liang, M.; Wu, Y.; Ma, Y.; Li, X. Research on error correction of state data transmission system of moving carrier based on Beidou short message. In Proceedings of the 2020 5th International Conference on Electromechanical Control Technology and Transportation (ICECTT), Nanchang, China, 5–17 May 2020; pp. 184–187. [Google Scholar]
  11. Bostrom, K.; Durrett, G. Byte pair encoding is suboptimal for language model pretraining. arXiv 2020, arXiv:2004.03720. [Google Scholar]
  12. Sayood, K. Introduction to Data Compression; Morgan Kaufmann: Burlington, MA, USA, 2017. [Google Scholar]
  13. Kavitha, P. A survey on lossless and lossy data compression methods. Int. J. Comput. Sci. Eng. Technol. 2016, 7, 110–114. [Google Scholar]
  14. Moffat, A. Huffman coding. ACM Comput. Surv. (CSUR) 2019, 52, 1–35. [Google Scholar] [CrossRef]
  15. Fowler, J.E.; Yagel, R. Lossless compression of volume data. In Proceedings of the 1994 Symposium on Volume Visualization, Washington, DC, USA, October 1994; pp. 43–50. [Google Scholar]
  16. Goyal, M.; Tatwawadi, K.; Chandak, S.; Ochoa, I. DZip: Improved general-purpose loss less compression based on novel neural network modeling. In Proceedings of the 2021 Data Compression Conference (DCC), Snowbird, UT, USA, 23–26 March 2021; pp. 153–162. [Google Scholar]
  17. Sun, J.; Yan, T.; Sun, H.; Lin, H.; Sun, G. Lossy compression of communication traces using recurrent neural networks. IEEE Trans. Parallel Distrib. Syst. 2021, 33, 3106–3116. [Google Scholar] [CrossRef]
  18. Barina, D.; Klima, O. x3: Lossless Data Compressor. In Proceedings of the 2022 Data Compression Conference (DCC), Snowbird, UT, USA, 22–25 March 2022; p. 441. [Google Scholar] [CrossRef]
  19. Wang, X.H.; Zhang, D.Q.; Gu, T.; Pung, H.K. Ontology based context modeling and reasoning using OWL. In Proceedings of the IEEE Annual Conference on Pervasive Computing and Communications Workshops, Orlando, FL, USA, 14–17 March 2004; pp. 18–22. [Google Scholar]
  20. Grossi, R.; Ottaviano, G. Fast compressed tries through path decompositions. J. Exp. Algorithmics (JEA) 2015, 19, 1.1–1.20. [Google Scholar] [CrossRef] [Green Version]
  21. Kim, J.H.; Kim, N.; Park, Y.W.; Won, C.S. Object detection and classification based on YOLO-V5 with improved maritime dataset. J. Mar. Sci. Eng. 2022, 10, 377. [Google Scholar] [CrossRef]
  22. Yang, C.; Hu, Q.; Tu, X.; Geng, J. An integrated vessel tracking system by using AIS, Inmarsat and China Beidou navigation satellite system. Transnav Int. J. Mar. Navig. Saf. Sea Transp. 2012, 6, 43–46. [Google Scholar]
  23. Jaldehag, K.; Rieck, C.; Jarlemark, P. Evaluation of CGGTTS time transfer software using multiple GNSS constellations. In Proceedings of the 2018 European Frequency and Time Forum (EFTF), Turin, Italy, 10–12 April 2018; pp. 159–166. [Google Scholar]
  24. Deng, D.Q.; Li, W.L.; Chen, Y.; Zhao, F. Study on Equipment Quality Monitoring Information Transmission System Based on BeiDou Navigation Satellite System Short Message Communication. Appl. Mech. Mater. 2014, 602, 3712–3715. [Google Scholar] [CrossRef]
  25. Fu, Y.; Wang, C.X.; Fang, X.; Yan, L.; Mclaughlin, S. BER performance of spatial modulation systems under a non-stationary massive MIMO channel model. IEEE Access 2020, 8, 44547–44558. [Google Scholar] [CrossRef]
  26. Ouyang, Z.; Fan, H.; Chen, Q. Research on Compression Transmission Method of Special Vehicle Status Information Based on Beidou Short Message. J. Ordnance Equip. Eng. 2020, 41, 56–61. [Google Scholar]
  27. Zhou, L.; Fan, Y.; Wang, R.; Li, X.; Fan, L.; Zhang, F. High-capacity upconversion wavelength and lifetime binary encoding for multiplexed biodetection. Angew. Chem. 2018, 130, 13006–13011. [Google Scholar] [CrossRef]
  28. Chen, H.; Guo, X.; Wang, F.; Lu, H. Fishery harvesting information compressing and transmitting method based on Beidou short message. Trans. Chin. Soc. Agric. Eng. 2015, 31, 155–160. [Google Scholar]
  29. Shanmugasundaram, S.; Lourdusamy, R. A comparative study of text compression algorithms. Int. J. Wisdom Based Comput. 2011, 1, 68–76. [Google Scholar]
  30. Lewis, A.S.; Knowles, G. Image compression using the 2-D wavelet transform. IEEE Trans. Image Process. 1992, 1, 244–250. [Google Scholar] [CrossRef] [PubMed]
  31. Brady, N.; Bossen, F.; Murphy, N. Context-based arithmetic encoding of 2D shape sequences. In Proceedings of the International Conference on Image Processing, Santa Barbara, CA, USA, 26–29 October 1997; Volume 1, pp. 29–32. [Google Scholar]
  32. Marpe, D.; Schwarz, H.; Wiegand, T. Context-based adaptive binary arithmetic coding in the H. 264/AVC video compression standard. IEEE Trans. Circuits Syst. Video Technol. 2003, 13, 620–636. [Google Scholar] [CrossRef] [Green Version]
  33. Colella, P.; Woodward, P.R. The piecewise parabolic method (PPM) for gas-dynamical simulations. J. Comput. Phys. 1984, 54, 174–201. [Google Scholar] [CrossRef] [Green Version]
  34. Cleary, J.; Witten, I. Data compression using adaptive coding and partial string matching. IEEE Trans. Commun. 1984, 32, 396–402. [Google Scholar] [CrossRef] [Green Version]
  35. Moffat, A. Implementing the PPM data compression scheme. IEEE Trans. Commun. 1990, 38, 1917–1921. [Google Scholar] [CrossRef] [Green Version]
  36. Cleary, J.G.; Teahan, W.J. Unbounded length contexts for PPM. Comput. J. 1997, 40, 67–75. [Google Scholar] [CrossRef]
  37. Goyal, M.; Tatwawadi, K.; Chandak, S.; Ochoa, I. Deepzip: Lossless data compression using recurrent neural networks. arXiv 2018, arXiv:1811.08162. [Google Scholar]
  38. Nagoor, O.H.; Whittle, J.; Deng, J.; Mora, B.; Jones, M.W. MedZip: 3D medical images lossless compressor using recurrent neural network (LSTM). In Proceedings of the 2020 25th International Conference on Pattern Recognition (ICPR), Milan, Italy, 10–15 January 2021; pp. 2874–2881. [Google Scholar]
  39. Capotondi, A.; Rusci, M.; Fariselli, M.; Benini, L. CMix-NN: Mixed low-precision CNN library for memory-constrained edge devices. IEEE Trans. Circuits Syst. Express Briefs 2020, 67, 871–875. [Google Scholar] [CrossRef]
  40. Liu, L.; Zhang, T.; Zhou, S.; Hu, X.; Liu, X. Improved design of control segment in BDS-3. Navigation 2019, 66, 37–47. [Google Scholar] [CrossRef] [Green Version]
  41. Richardson, R. The vagrant ethic: Need for a sea-lane philosophy. Marit. Policy Manag. 1977, 4, 203–208. [Google Scholar] [CrossRef]
  42. Yang, Y.; Ding, Q.; Gao, W.; Li, J.; Xu, Y.; Sun, B. Principle and performance of BDSBAS and PPP-B2b of BDS-3. Satell. Navig. 2022, 3, 5. [Google Scholar] [CrossRef]
  43. Brindha, M.; Gounden, N.A. A chaos based image encryption and lossless compression algorithm using hash table and Chinese Remainder Theorem. Appl. Soft Comput. 2016, 40, 379–390. [Google Scholar] [CrossRef]
  44. Standardization Administration of China. The Issue of Marine Forecasts and Warnings—Part 2: The Issue of Wave Forecasts and Warnings. 2020. Available online: https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=EE59EBA318CBC45A89C309C20A495D6D (accessed on 1 October 2017).
  45. Standardization Administration of China. The Issue of Marine Forecasts and Warnings—Part 3: The Issue of Sea Ice Forecasts and Warnings. 2017. Available online: https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=58C1DBF73F5289C9F8E42EA31A4B7ECD (accessed on 1 October 2017).
  46. Standardization Administration of China. Grades of Tsunami. 2020. Available online: https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=2F31F2C114C93BB22E337BEBD542A07E (accessed on 1 June 2021).
  47. Standardization Administration of China. The Issue of Marine Forecasts and Warnings—Part 1: The Issue of Storm Surge Warnings. 2020. Available online: https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=7269707020AB3D3BD3020C7DCDBEE34B (accessed on 1 October 2017).
  48. Standardization Administration of China. Short-Range Weather Forecast. 2020. Available online: https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=4741FC6129DC79A7428953C93DF0E7E2 (accessed on 1 April 2018).
  49. Standardization Administration of China. The Standard Format of Navigational Warnings in People’s Republic of China. 2017. Available online: https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=FC518743F822BDA7A17E6D7463CD7DDD (accessed on 1 June 2021).
  50. Zheng, Y.; Lv, X.; Qian, L.; Liu, X. An Optimal BP Neural Network Track Prediction Method Based on a GA–ACO Hybrid Algorithm. J. Mar. Sci. Eng. 2022, 10, 1399. [Google Scholar] [CrossRef]
  51. Bogovac, T.; Carević, D.; Bujak, D.; Miličević, H. Application of the XBeach-Gravel Model for the Case of East Adriatic Sea-Wave Conditions. J. Mar. Sci. Eng. 2023, 11, 680. [Google Scholar] [CrossRef]
  52. Aufderheide, T.P.; Pirrallo, R.G.; Yannopoulos, D.; Klein, J.P.; Von Briesen, C.; Sparks, C.W.; Deja, K.A.; Conrad, C.J.; Kitscha, D.J.; Provo, T.A.; et al. Incomplete chest wall decompression: A clinical evaluation of CPR performance by EMS personnel and assessment of alternative manual chest compression–decompression techniques. Resuscitation 2005, 64, 353–362. [Google Scholar] [CrossRef]
Figure 1. Depicts the information transmission mechanism of BeiDou SMC.
Figure 1. Depicts the information transmission mechanism of BeiDou SMC.
Jmse 11 01521 g001
Figure 2. Depicts the structure of the dual-stage compression model.
Figure 2. Depicts the structure of the dual-stage compression model.
Jmse 11 01521 g002
Figure 3. The binary encoding of the Beidou SMC diagram.
Figure 3. The binary encoding of the Beidou SMC diagram.
Jmse 11 01521 g003
Figure 4. The detailed flowchart of the proposed XH algorithms.
Figure 4. The detailed flowchart of the proposed XH algorithms.
Jmse 11 01521 g004
Figure 5. Frequency histogram of the XH algorithm for the maritime safety information dataset.
Figure 5. Frequency histogram of the XH algorithm for the maritime safety information dataset.
Jmse 11 01521 g005
Figure 6. Comparison chart of compression rate standard errors for different algorithms. The asterisk (*) represents statistical significance compared to other algorithms.
Figure 6. Comparison chart of compression rate standard errors for different algorithms. The asterisk (*) represents statistical significance compared to other algorithms.
Jmse 11 01521 g006
Figure 7. The comparison chart of compression ratios with and without encoding for different datasets.
Figure 7. The comparison chart of compression ratios with and without encoding for different datasets.
Jmse 11 01521 g007
Figure 8. Compression performance comparison chart of XH and x3.
Figure 8. Compression performance comparison chart of XH and x3.
Jmse 11 01521 g008
Table 1. BeiDou SMC Space Allocation Table.
Table 1. BeiDou SMC Space Allocation Table.
Packet HeaderCRS-MSI 1
Service
Type
Identifier
Protocol
Version
Number
Chinese
/English
Identifier
Telegram
ID Number
Total
Number
of Packets
Current
Packet
Sequence
Number
Data Content
8 bit3 bit1 bit8 bit6 bit6 bitvariable length
1 CRS-MSI refers to maritime safety messages of the coastal radio station.
Table 2. Maritime Safety Information Telegram Structure.
Table 2. Maritime Safety Information Telegram Structure.
Information
Source
Broadcasting
Station
Message IDInformation
Level
Message Category
5 bit4 bit21 bit4 bit4 bit
Information
Subtypes
Vaild DataNumber of
Regions
Regions
Types
MSI 1
3 bit21 bit4 bit3 bitvariable length
1 MSI (maritime safety information) refers to maritime safety-related information.
Table 3. Table of Encoding Format for Validity Dates.
Table 3. Table of Encoding Format for Validity Dates.
Year (1 bit)Month (4 bit)Day (5 bit)Hour (5 bit)Minute (6 bit)
0/11∼121∼310∼230∼59
Table 4. Encoding Table for Region Data.
Table 4. Encoding Table for Region Data.
Regions TypesMaritime ZonePointPolylineCircular AreaPolygonal AreaReservation
Encoding012345∼7
Table 5. The data characteristics of the datasets.
Table 5. The data characteristics of the datasets.
DatasetAmountData Size/ByteReference Standard
wave860559∼3018GB/T 19721.2-2017 [44]
sea ice101205∼1301GB/T 19721.3-2017 [45]
tsunami181316∼919GB/T 39419-2020 [46]
storm3171048∼3556GB/T 19721.1-2017 [47]
weather4254741∼11,929GB/T 21984-2017 [48]
navigation2797765∼1610GB/T 17577-2020 [49]
Table 6. Compression ratio on Silesia corpus. Best results in bold.
Table 6. Compression ratio on Silesia corpus. Best results in bold.
FileLZ4 1gzip 1xz 1zstd 1Brotli 1x3 1XH
dickens2.29482.64613.60003.57653.60443.71683.7431
mozilla2.31762.69663.82923.37693.69222.74322.8013
mr2.34722.71383.62313.21323.53174.03644.2131
nci9.107111.231123.151920.792522.078019.110319.2232
ooffice1.73491.99072.53462.35872.48182.06682.1745
osdb2.52902.71383.54563.28553.58123.61513.6842
reyment3.13453.63865.03744.90604.97475.10105.2237
samba3.51223.99505.77785.52675.73674.18714.2516
sao1.26391.36131.63861.44791.58121.50421.5874
webster2.95543.43724.95404.89704.91884.96855.0328
xml6.92778.070912.291011.800412.41459.22499.3719
X-ray1.17981.40351.88681.64571.80961.96492.0013
1 The quantitative results are directly from the original paper [18].
Table 7. Results of experiments for maritime safety information dataset. Best results in bold.
Table 7. Results of experiments for maritime safety information dataset. Best results in bold.
XHx3LSTMAAC
w/o MBEmCR mt c mt d mCR mt c mt d mCR mt c mt d mCR mt c mt d
wave1.71850.00310.00111.70230.00670.00121.53030.11510.11511.49210.00100.0010
sea ice2.08040.00640.00212.07960.01360.00281.64440.27110.27001.61120.00200.0020
tsunami1.38790.00240.00061.35790.00510.00081.37310.06410.06471.41980.00100.0010
storm1.75400.00440.00131.74100.00910.00171.53030.13190.13191.50830.00100.0010
weather3.41970.12860.01463.39320.15790.01911.58610.25000.25001.57240.00140.0020
navigation1.73050.00400.00171.71860.00560.00171.39370.08030.08031.35630.00100.0010
Table 8. The standard deviation and standard error of compression rates in the maritime safety information dataset.
Table 8. The standard deviation and standard error of compression rates in the maritime safety information dataset.
XHx3LSTMAAC
mCRssxmCRssxmCRssxmCRssx
wave1.71850.20970.00321.70230.20520.00311.53030.06490.00101.49210.05320.0008
sea ice2.08040.04060.00062.07960.04050.00061.64440.00650.00011.61120.00130.0001
tsunami1.38790.10490.00161.35790.03870.00061.37310.07030.00111.41980.04170.0006
storm1.75400.15630.00241.74100.18110.00281.53030.09200.00141.50830.06740.0010
weather3.41970.22360.00343.39320.22200.00341.58610.05780.00091.57240.06230.0009
navigation1.73050.19020.00291.71860.19010.00291.39370.05130.00091.35630.05570.0008
Table 9. Results of experiments for maritime safety information dataset with MBE. Best results in bold.
Table 9. Results of experiments for maritime safety information dataset with MBE. Best results in bold.
XHx3LSTMAAC
with MBEmCR mt c mt d mCR mt c mt d mCR mt c mt d mCR mt c mt d
wave1.91650.00630.00211.91160.00720.00281.78920.10320.10321.53210.00100.0010
sea ice2.22410.00980.00632.21880.01210.00261.80890.23110.23111.68460.00200.0020
tsunami1.63330.00670.00331.57460.00530.00921.58890.06270.06251.51320.00120.0012
storm1.94600.00710.00161.93080.00830.00391.72520.11340.11321.82860.00200.0020
weather3.56120.11910.01553.55810.14120.01831.77820.21180.21181.75200.00180.0018
navigation2.49290.00450.00132.47550.00470.00121.86320.08320.08321.35630.00100.0010
Table 10. Impact of window size. Window size is given in kilobytes. Matches indicate the optimal number of matches for the given window size.
Table 10. Impact of window size. Window size is given in kilobytes. Matches indicate the optimal number of matches for the given window size.
Window SizeMatchesCompression Ratio
173.3748
2143.4723
3153.5028
8293.6350
16403.6963
32753.7804
64773.7955
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

Hu, J.; Hong, Y.; Jin, Q.; Zhao, G.; Lu, H. An Efficient Dual-Stage Compression Model for Maritime Safety Information Based on BeiDou Short-Message Communication. J. Mar. Sci. Eng. 2023, 11, 1521. https://doi.org/10.3390/jmse11081521

AMA Style

Hu J, Hong Y, Jin Q, Zhao G, Lu H. An Efficient Dual-Stage Compression Model for Maritime Safety Information Based on BeiDou Short-Message Communication. Journal of Marine Science and Engineering. 2023; 11(8):1521. https://doi.org/10.3390/jmse11081521

Chicago/Turabian Style

Hu, Jiwei, Yue Hong, Qiwen Jin, Guangpeng Zhao, and Hongyang Lu. 2023. "An Efficient Dual-Stage Compression Model for Maritime Safety Information Based on BeiDou Short-Message Communication" Journal of Marine Science and Engineering 11, no. 8: 1521. https://doi.org/10.3390/jmse11081521

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