Efficient Data Management in Agricultural IoT: Compression, Security, and MQTT Protocol Analysis

Mislav Has,Dora Kreković,Mario Kušek,Ivana Podnar Žarko
DOI: https://doi.org/10.3390/s24113517
IF: 3.9
2024-05-31
Sensors
Abstract:The integration of Internet of Things (IoT) technology into agriculture has revolutionized farming practices by using connected devices and sensors to optimize processes and facilitate sustainable execution. Because most IoT devices have limited resources, the vital requirement to efficiently manage data traffic while ensuring data security in agricultural IoT solutions creates several challenges. Therefore, it is important to study the data amount that IoT protocols generate for resource-constrained devices, as it has a direct impact on the device performance and overall usability of the IoT solution. In this paper, we present a comprehensive study that focuses on optimizing data transmission in agricultural IoT solutions with the use of compression algorithms and secure technologies. Through experimentation and analysis, we evaluate different approaches to minimize data traffic while protecting sensitive agricultural data. Our results highlight the effectiveness of compression algorithms, especially Huffman coding, in reducing data size and optimizing resource usage. In addition, the integration of encryption techniques, such as AES, provides the security of the transmitted data without incurring significant overhead. By assessing different communication scenarios, we identify the most efficient approach, a combination of Huffman encoding and AES encryption, to strike a balance between data security and transmission efficiency.
engineering, electrical & electronic,instruments & instrumentation,chemistry, analytical
What problem does this paper attempt to address?
The problem that this paper attempts to solve is how to efficiently manage data transmission while ensuring data security in the Agricultural Internet of Things (Agricultural IoT) environment. Specifically, the paper focuses on the following key issues: 1. **Data Volume and Bandwidth Optimization**: - Most IoT devices have limited resources, so it is necessary to effectively manage data traffic to ensure device performance and overall availability. - Reduce data size through compression algorithms, thereby optimizing resource usage and saving bandwidth. 2. **Data Security**: - The sensitivity of agricultural data involves personal, proprietary, legal, and social interests, so the security and privacy of data must be protected. - Integrate encryption technologies (such as AES) to ensure the security of data transmission and prevent unauthorized access and data leakage. 3. **MQTT Protocol Analysis**: - The MQTT protocol is a commonly used communication protocol in the Agricultural Internet of Things. Research its performance in different scenarios, especially in resource - constrained environments. - Analyze the impact of different levels of message delivery guarantees (Quality of Service, QoS) on data transmission efficiency. ### Main Contributions of the Paper - **Solution to Dual Challenges**: A method combining Huffman coding and AES encryption is proposed to balance data security and transmission efficiency. - **Experiment and Analysis**: Different compression algorithms and security technologies are evaluated through experiments, verifying the effectiveness of these methods in reducing data traffic and protecting the integrity of sensitive agricultural data. - **Practical Application**: Tests are carried out using real messages sent by agricultural stations implemented with STM32 microcontrollers, proving the feasibility and effectiveness of the proposed method in practical applications. ### Conclusion Through in - depth research on compression algorithms and security technologies, the paper aims to provide an efficient and secure data transmission scheme for the Agricultural Internet of Things. Especially for resource - constrained rural areas, this method can significantly improve the efficiency and reliability of data transmission while ensuring data security.