根据无线传感器网络路由协议研究现状,提出一套基于J2ME嵌入式程序设计及XML技术的适用于无线传感器网络路由协议自主切换的管理模型。并给出了该模型的具体设计方案及实现细节。该模型置于传感器网络体系结构应用层,通过引擎类对XML规范的导航功能进行解析,以实现基于用户自定义的路由协议自主切换功能。从而实现了应用层对网络层的跨层管理。仿真结果表明,该模型有效的减少了事件源到汇聚节点的时间,提高了系统总的运行效率。
A management model suitable for automatic switching of routing protocol of wireless sensor network is proposed according to present research situation. A concrete design scheme and implementation details of this model based on J2ME embedded programming and XML technology are addressed. This model is placed on the application layer of WSN architecture. Using engine classes programmed by JAVA to analyze XML-defined navigation function, the model implements automatic switching of routing protocol by user-defined method. That makes crosslayer management of application layer toward network layer possible. Simulation results indicate the benefits of the proposed model in terms of increasing efficiency and reducing delay from event source to sink.