DESIGN AND IMPLEMENTATION OF A LOW-LATENCY EDGE GATEWAY MIDDLEWARE FOR SPARKLINK-BASED V2I SYSTEMS

Authors

  • YiTao Li (Corresponding Author) School of Electronic and Information Engineering, Liaoning Technical University, Huludao 125105, Liaoning, China.

Keywords:

SparkLink, V2I communication, Edge gateway, Middleware, Multi-threading

Abstract

Vehicle-to-Infrastructure (V2I) communication systems demand ultra-low latency, high throughput, and reliable data delivery for safety-critical traffic applications, such as dynamic water level assessment and vehicle clearance evaluation at entryway barriers. Traditional wireless communication technologies, including Wi-Fi and Bluetooth Low Energy (BLE), frequently suffer from substantial channel congestion, connection setup delays, and elevated packet loss under dense traffic or severe environmental conditions. To overcome these limitations, this paper proposes a lightweight, high-throughput edge gateway middleware specifically designed for SparkLink Low Energy (SLE) short-range communication systems. The proposed middleware features a custom ten-byte data frame structure incorporating Modbus CRC16 error checking, alongside a decoupled multi-threaded processing pipeline using thread-safe queues. The middleware successfully processed all 70,000+ frames without any frame loss. It further integrates asynchronous local caching via an SQLite database in Write-Ahead Logging (WAL) mode with real-time forwarding over Message Queuing Telemetry Transport (MQTT). Experimental evaluations under stress-testing conditions exceeding 70,000 frames demonstrate that the proposed edge gateway achieves an average frame parsing latency of 70.5 microseconds. These findings confirm the system's ability to support deterministic, real-time edge processing and safety warnings in dynamic V2I application environments.

References

[1] Abbas N, Zhang Y, Taherkordi A, et al. Mobile edge computing: A survey. IEEE Internet of Things Journal, 2018, 5(1): 450-465.

[2] Dey K C, Rayamajhi A, Chowdhury M, et al. Vehicle-to-vehicle (V2V) and vehicle-to-infrastructure (V2I) communication in a heterogeneous wireless network — Performance evaluation. Transportation Research Part C: Emerging Technologies, 2016, 68: 168-184.

[3] SparkLink Alliance. SparkLink wireless short-range communication technology (SparkLink 1.0) industrialization promotion white paper. SparkLink Alliance, 2022.

[4] Koopman P, Chakravarty T. Cyclic redundancy code (CRC) polynomial selection for embedded networks. Proceedings of the 2004 International Conference on Dependable Systems and Networks (DSN), 2004: 145-154.

[5] Wang H, Liu T, Kim B, et al. Architectural design alternatives based on cloud/edge/fog computing for connected vehicles. IEEE Communications Surveys & Tutorials, 2020, 22(4): 2349-2377.

[6] Peng X F, Liu A H. A survey of vehicular edge computing research. Telecommunications Science, 2023, 39(12): 19-28.

[7] Wang L, Yan R B, Xu J. Research on multi-task partial offloading scheme in vehicular edge computing. Journal of Electronics & Information Technology, 2023, 45(3): 1094-1101.

[8] Mishra B, Kertesz A. The use of MQTT in M2M and IoT systems: A survey. IEEE Access, 2020, 8: 201071-201086.

[9] Wang J J, Wu G C, Liang B M, et al. Research on IoT of electrical appliances based on data transparent transmission. Electrical & Energy Management Technology, 2023(6): 33-38.

[10] Premsankar G, Di Francesco M, Taleb T. Edge computing for the Internet of Things: A case study. IEEE Internet of Things Journal, 2018, 5(2): 1275-1284.

Downloads

Published

2026-08-20

How to Cite

YiTao Li. Design And Implementation Of A Low-Latency Edge Gateway Middleware For Sparklink-Based V2I Systems. Journal of Computer Science and Electrical Engineering. 2026, 8(6): 35-40. DOI: https://doi.org/10.61784/jcsee3150.