分散式邊緣感測串流資料交換機制設計
Data Exchange Framework for Cooperative Edge Sensing
摘要
光學攝影感測為智慧空間應用的核心技術,而實現其在分散式邊緣系統中的整合與應用,則需仰賴高效且可模組化、彈性部署的資料交換機制。本研究基於MQTT協定為分散式邊緣光學攝影感測設計一套簡潔且輕量的交換架構,支援時序資料的串流處理與模組控制,並結合MQTT的發布/訂閱機制與標準化的主題命名規則,實現單播、多播及廣播等彈性網路拓樸。本研究採用具語意的主題結構設計,區分控制與資料訊息的處理邏輯,並針對其可靠性與即時性需求配置不同的QoS等級與處理策略。同時整合TLS加密、憑證驗證與ACL權限控管,以保障資料交換過程的安全性與節點存取的正確性。基於此設計,我們實作一套應用於智慧羽球場的分散式3D攝影感測系統,透過高幀率的羽球3D定位擷取球員擊球表現。為驗證系統效能,本研究針對三種典型架構:集中式、Sensing as a Service(SaaS),以及完全分散式架構進行通訊延遲測試。實驗結果顯示,單傳輸環節延遲穩定約為1毫秒,於整體應用中端對端延遲中佔比極小,展現其於分散式智慧感測應用中的實用性與擴展潛力。
Photographic sensing is a core technology for smart space applications. Its integration in distributed edge systems requires an efficient, modular, and flexible data exchange mechanism. This research proposes a lightweight MQTT-based framework that supports time-sequenced data streaming and modular control. By combining MQTT's publish/subscribe model with a standardized, semantically structured topic design, the framework supports unicast, multicast, and broadcast topologies. It distinguishes control and data flows and applies appropriate QoS levels to meet reliability and latency requirements.To ensure secure communication and access control, the system integrates TLS encryption, certificate authentication, and ACL management. We implement the framework in a distributed 3D sensing system for a smart badminton court, enabling high-frame-rate shuttlecock tracking. Communication latency was evaluated under three architectural setups: centralized, Sensing as a Service (SaaS), and fully distributed. Results show that single-hop latency remains around 1 ms and accounts for only a small fraction of end-to-end delay, demonstrating the framework’s effectiveness and scalability for distributed sensing applications.