To shield the differences of hardware and software platforms for wireless sensor network node in the process of application and provide a unified interface for wireless sensor network’s upper application, a middleware platform architecture for sensor network node is proposed in this paper,This middleware platform consists of hardware abstraction layer, network pro-tocol stack layer, middleware manager and application domain middleware,The idea of modular, abstract interface and hierarchi-cal design is adopted,The interaction among layers is conducted with service primitive mode,The middleware platform was suc-cessfully transplanted to STM32, MSP430 and CC2530 hardware platforms, and μCOS-Ⅱ, FreeRTOS and OSAL software plat-forms,Experiment shows that the middleware platform has good portability and scalability.%为屏蔽无线传感网节点在应用过程中底层软硬件平台的差异性,给上层应用程序提供统一的接口,提出一种针对传感网节点的中间件平台架构。该中间件平台由软硬件抽象层、网络协议栈层、中间件管理器和应用域中间件组成,采用模块化、接口抽象和分层设计的思想,各层之间以服务原语的方式进行交互。中间件平台成功移植到STM32,MSP430,CC2530三种硬件平台和μCOS-Ⅱ,FreeRTOS,OSAL三种软件平台上。实验证明该中间件平台具有良好的移植性和可扩展性。
展开▼