计算机技术与发展
計算機技術與髮展
계산궤기술여발전
COMPUTER TECHNOLOGY AND DEVELOPMENT
2015年
2期
108-112
,共5页
无线传感器网络%事务提交协议%一致性%原子性
無線傳感器網絡%事務提交協議%一緻性%原子性
무선전감기망락%사무제교협의%일치성%원자성
wireless sensor networks%transaction commit protocol%consistency%atomicity
随着无线传感器网络的发展,其应用越来越广泛。为了提供可靠的服务质量并保证数据的一致性、有效性,这就需要无线传感器网络事务处理技术的研究。文中提出了一种适用于无线传感器网络的事务原子提交协议。此协议是对传统的2PC(Two Phase Commit,两阶段提交)协议的改进,为参与者提供了缓存机制,有效利用协调者的广播信息,降低能量消耗,在协调者和参与者中加入了定时器,定时器触发后会提供事务处理统一的出口(提交或撤销)。此外,还为协调者增加了心跳算法,提高了协议的可靠性。最后使用TOSSIM( TinyOS Simulator,TinyOS仿真器)进行实验,证明了其可行性。
隨著無線傳感器網絡的髮展,其應用越來越廣汎。為瞭提供可靠的服務質量併保證數據的一緻性、有效性,這就需要無線傳感器網絡事務處理技術的研究。文中提齣瞭一種適用于無線傳感器網絡的事務原子提交協議。此協議是對傳統的2PC(Two Phase Commit,兩階段提交)協議的改進,為參與者提供瞭緩存機製,有效利用協調者的廣播信息,降低能量消耗,在協調者和參與者中加入瞭定時器,定時器觸髮後會提供事務處理統一的齣口(提交或撤銷)。此外,還為協調者增加瞭心跳算法,提高瞭協議的可靠性。最後使用TOSSIM( TinyOS Simulator,TinyOS倣真器)進行實驗,證明瞭其可行性。
수착무선전감기망락적발전,기응용월래월엄범。위료제공가고적복무질량병보증수거적일치성、유효성,저취수요무선전감기망락사무처리기술적연구。문중제출료일충괄용우무선전감기망락적사무원자제교협의。차협의시대전통적2PC(Two Phase Commit,량계단제교)협의적개진,위삼여자제공료완존궤제,유효이용협조자적엄파신식,강저능량소모,재협조자화삼여자중가입료정시기,정시기촉발후회제공사무처리통일적출구(제교혹철소)。차외,환위협조자증가료심도산법,제고료협의적가고성。최후사용TOSSIM( TinyOS Simulator,TinyOS방진기)진행실험,증명료기가행성。
With the development of wireless sensor networks,it is applied more widely. In order to provide reliable quality of service and ensure data consistency and validity,require study of wireless sensor network transaction processing technology. In this paper,present an atomic transaction commit protocol is suitable for wireless sensor networks. This protocol is the improvement of traditional 2PC ( Two Phase Commit) ,to provide participants with a caching mechanism for efficient use of radio coordinator information,reducing energy con-sumption,the coordinator and the participants joined the timer will provide a unified export transaction after the timer trigger ( committed or revoked) . Furthermore,increase the heart rate algorithms for coordinator to improve the reliability of the protocol. Finally,use TOSSIM ( TinyOS Simulator) to conduct experiments to prove its feasibility.