提出了机会无线传感器网络中一种基于查询优先级的查询分发和处理(PBQ)算法。算法根据用户定义的查询优先级合理选取消息转发的中间节点,并控制查询消息的转发和拷贝量;同时,动态地调整查询消息的优先级,使得查询结果能快速回传到查询发起者并清理网络中查询的残留消息,避免了不必要的消息传输并提高查询处理的整体效用。模拟实验表明 PBQ 算法能有效提高机会网络中查询处理的成功率,降低查询的开销和时间延迟。
A priority-based algorithm called PBQ was proposed for the query forwarding and processing in opportunistic wireless sensor network. Through the user-defined query priorities, the proposed algorithm properly selects the relay nodes and controlls the forwarding and the amount of messages. Meanwhile, the query priorities were adjusted dynami-cally so that the query results could be forwarded back to the source node of the query quickly and the residual query re-quest messages could be cleaned up from the network, saving lots of unnecessary transmissions and improving the overall utility of query processing. Simulating results show that PBQ could effectively improve the success rate of queries, and reduce the cost and delay of query processing in opportunistic wireless sensor network.