发明名称 一种用于智能交通系统的非均匀分簇路由的方法
摘要 本发明公开了一种用于智能交通系统的非均匀分簇路由协议的方法,采用混合蛙跳算法,包括以下步骤:建立网络模型与分簇策略,簇间路由参数初始化,簇间路由局部和全局优化,簇半径的动态调整。本发明可提高感知网络的生存周期、减短网络的收敛时间并且改善网络的负载均衡。
申请公布号 CN104640154A 申请公布日期 2015.05.20
申请号 CN201510084264.4 申请日期 2015.02.16
申请人 贵州师范大学 发明人 游子毅
分类号 H04W28/08(2009.01)I;H04W40/02(2009.01)I 主分类号 H04W28/08(2009.01)I
代理机构 贵阳东圣专利商标事务有限公司 52002 代理人 袁庆云
主权项 一种用于智能交通系统的非均匀分簇路由协议的方法,包括以下步骤:(1)建立网络模型与分簇策略:在二维平面区域:<img file="595335dest_path_image001.GIF" wi="186" he="27" />,所有传感器节点随机分布,将区域网格化,其格状网每个正方形区域为<img file="492097dest_path_image002.GIF" wi="43" he="18" />,边长<img file="681770dest_path_image003.GIF" wi="17" he="18" />根据应用任务的求解精度而定;两个节点的位置分别为<img file="50435dest_path_image004.GIF" wi="70" he="26" />和<img file="616545dest_path_image005.GIF" wi="69" he="25" />,则两个位置之间的距离为:<img file="387055dest_path_image006.GIF" wi="227" he="29" />将该区域划分成<img file="747629dest_path_image007.GIF" wi="14" he="13" />个区,<img file="603590dest_path_image007.GIF" wi="14" he="13" />的数量由该区域的长度和分区节点的通信半径确定,汇聚节点( Sink )节点部署在区域外的一个固定位置;为了实现能耗均衡,距离汇聚节点( Sink )近的分区内的簇数目应多于远的分区;由于交通环境下车辆节点的高移动性,每个簇的簇头由Sink节点指定为该簇区内的一个固定设施;其它节点与簇头之间单跳通信,簇头可通过调整通信半径控制成员数以减小通信负载;对于相邻的两个簇簇头<img file="691500dest_path_image008.GIF" wi="30" he="22" />和<img file="582096dest_path_image009.GIF" wi="26" he="21" />,则<img file="847992dest_path_image010.GIF" wi="190" he="30" />,其中<img file="456828dest_path_image011.GIF" wi="98" he="30" />表示<img file="99162dest_path_image008.GIF" wi="30" he="22" />与<img file="109843dest_path_image009.GIF" wi="26" he="21" />之间的距离,<img file="546641dest_path_image012.GIF" wi="51" he="31" />和<img file="642773dest_path_image013.GIF" wi="46" he="35" />表示相应的半径;此外,不在任何一个簇通信半径覆盖下的传感器节点可采用链式结构的多跳通信,基于贪婪算法选择信号强度最好的中继节点传送感知数据,以此方式将数据传递至距离最近的簇内的成员节点;该节点作为链首进行一次数据融合后,将数据包发送至簇头;网络中的每一个传感器节点,都有一个唯一的标志(ID),由可信中心(Trusted  Authority)负责对节点认证、注册并授权,节点通过标志(ID)和可信中心(Trusted  Authority)签发的数字证书相互验证身份;若节点发射<img file="72486dest_path_image014.GIF" wi="14" he="17" />比特数据到距离为<img file="937674dest_path_image015.GIF" wi="21" he="16" />的位置,则发送端的能量为:<img file="545373dest_path_image016.GIF" wi="282" he="80" />接收端的能量为:<img file="597642dest_path_image017.GIF" wi="228" he="33" />(2)簇间路由参数初始化:簇区内簇头<img file="847358dest_path_image008.GIF" wi="30" he="22" />周期性地向其他成员节点发送询问报文<img file="301473dest_path_image018.GIF" wi="35" he="17" />以同步时间;每一轮采样<img file="611232dest_path_image019.GIF" wi="80" he="22" />,簇头<img file="400065dest_path_image008.GIF" wi="30" he="22" />将接收到的感知数据进行融合,生成新的数据包传送至汇聚节点(Sink);传送时,<img file="453472dest_path_image008.GIF" wi="30" he="22" />会选择相邻簇头作为中继节点转发数据包;因此,从源点<img file="762093dest_path_image008.GIF" wi="30" he="22" />到汇聚节点(Sink)之间可生成一条或多条不同的路径;除与汇聚节点(Sink)一跳距离的簇外,簇头<img file="242753dest_path_image008.GIF" wi="30" he="22" />随机生成<img file="4036dest_path_image020.GIF" wi="18" he="15" />只青蛙,每只青蛙个体表示一条从<img file="861134dest_path_image008.GIF" wi="30" he="22" />到汇聚节点(Sink)的可行路径,即<img file="24262dest_path_image021.GIF" wi="131" he="23" />,其中<img file="675823dest_path_image015.GIF" wi="21" he="16" />表示解空间的维数,<img file="442178dest_path_image022.GIF" wi="160" he="27" />,<img file="837387dest_path_image023.GIF" wi="19" he="19" />即为生成的初始群体;青蛙个体适应度函数为:<img file="855022dest_path_image024.GIF" wi="208" he="42" /><img file="943064dest_path_image025.GIF" wi="359" he="156" />式(5)中,<img file="678938dest_path_image026.GIF" wi="131" he="25" />,<img file="877839dest_path_image027.GIF" wi="54" he="23" />表示<img file="281138dest_path_image008.GIF" wi="30" he="22" />是路径<img file="8923dest_path_image028.GIF" wi="20" he="28" />上的一个节点,<img file="763252dest_path_image029.GIF" wi="54" he="20" />表示<img file="218373dest_path_image030.GIF" wi="19" he="18" />是簇<img file="741758dest_path_image031.GIF" wi="17" he="20" />内成员节点,<img file="171603dest_path_image032.GIF" wi="197" he="23" />表示簇头<img file="616490dest_path_image008.GIF" wi="30" he="22" />对成员节点<img file="157193dest_path_image030.GIF" wi="19" he="18" />接收/发送数据所消耗的能量,<img file="800664dest_path_image033.GIF" wi="121" he="29" />表示<img file="604672dest_path_image009.GIF" wi="26" he="21" />是<img file="333594dest_path_image008.GIF" wi="30" he="22" />的相邻簇头,<img file="881250dest_path_image034.GIF" wi="235" he="34" />表示<img file="379227dest_path_image008.GIF" wi="30" he="22" />对<img file="885295dest_path_image009.GIF" wi="26" he="21" />接收/发送数据所消耗的能量,<img file="819622dest_path_image035.GIF" wi="78" he="25" />表示<img file="702127dest_path_image008.GIF" wi="30" he="22" />融合数据所消耗的能量,<img file="523452dest_path_image036.GIF" wi="97" he="33" />表示<img file="466001dest_path_image008.GIF" wi="30" he="22" />进行相应计算所消耗的能量;函数<img file="903935dest_path_image037.GIF" wi="24" he="25" />描述路径<img file="793394dest_path_image028.GIF" wi="20" he="28" />的总体能量消耗,包括该路径上各节点的计算代价和通信负荷,每一轮数据采样,簇头<img file="265963dest_path_image008.GIF" wi="30" he="22" />接收簇内成员节点和来自相邻簇头的消息,计算出各能耗参数并更新从该簇头到汇聚节点(Sink)的每条路径的代价,其中,系数<img file="582675dest_path_image038.GIF" wi="82" he="23" />为各种参数在节点总体能耗中的比重;簇间最优路径问题等于青蛙最优解问题;最优解是目标函数<img file="507906dest_path_image039.GIF" wi="57" he="28" />取最小值,即<img file="732214dest_path_image037.GIF" wi="24" he="25" />取最大值;<img file="777399dest_path_image008.GIF" wi="30" he="22" />将生成的青蛙适应度按降序排列成<img file="61750dest_path_image040.GIF" wi="86" he="26" />,并划分成<img file="474277dest_path_image041.GIF" wi="22" he="20" />个种群<img file="705538dest_path_image042.GIF" wi="72" he="26" />,构造子种群,<img file="887121dest_path_image041.GIF" wi="22" he="20" />的数值由<img file="811214dest_path_image023.GIF" wi="19" he="19" />中源点的下一跳节点的个数来决定;每个子种群包含<img file="711037dest_path_image043.GIF" wi="13" he="14" />只青蛙,满足下列关系:<img file="277148dest_path_image044.GIF" wi="332" he="83" />    (3)簇间路由优化:簇间路由优化步骤包括簇间路由局部优化步骤以及簇间路由全局优化步骤;(3.1)簇间路由局部优化:簇间路由局部优化是对青蛙种群划分的子种群分别进行局部搜索;簇间路由局部优化步骤1:在第<img file="782078dest_path_image014.GIF" wi="14" he="17" />轮,<img file="408232dest_path_image045.GIF" wi="80" he="22" />,计算子种群<img file="522249dest_path_image046.GIF" wi="18" he="26" />的适应度<img file="626471dest_path_image047.GIF" wi="43" he="29" />,以概率<img file="782646dest_path_image023.GIF" wi="19" he="19" />一一进行更新,并找出最优解<img file="48542dest_path_image048.GIF" wi="22" he="24" />和最差解<img file="657378dest_path_image049.GIF" wi="21" he="24" />;簇间路由局部优化步骤2:<img file="299712dest_path_image048.GIF" wi="22" he="24" />与<img file="310394dest_path_image049.GIF" wi="21" he="24" />进行交叉替换操作,即查找两条径中的相同节点,从选中的一个公共节点开始到下一个公共节点对<img file="465300dest_path_image049.GIF" wi="21" he="24" />进行链路替换,如果两条路径仅有一个相同节点,则取汇聚节点(Sink)为下一个公共点;簇间路由局部优化步骤3:计算交叉后最差解<img file="561432dest_path_image049.GIF" wi="21" he="24" />的适应度<img file="7457dest_path_image050.GIF" wi="67" he="33" />,如果<img file="607066dest_path_image050.GIF" wi="67" he="33" />大于替换前最差解适应度<img file="745923dest_path_image051.GIF" wi="45" he="32" />,则替换成功,否则,交叉失败,如果交叉失败,则再选用全局最优解<img file="798193dest_path_image052.GIF" wi="17" he="23" />对<img file="47908dest_path_image049.GIF" wi="21" he="24" />进行交叉替换,如果<img file="33182dest_path_image050.GIF" wi="67" he="33" />仍没有得到改进,则随机产生一个新的青蛙来代替原<img file="811782dest_path_image049.GIF" wi="21" he="24" />;(3.2)簇间路由全局优化:簇间路由全局优化步骤1:本轮搜索结束后,进行新一轮局部搜索;簇间路由全局优化步骤2:重复簇间路由全局优化步骤1,经过<img file="600615dest_path_image053.GIF" wi="25" he="25" />轮局部优化后,将所有子种群的解重新混合在一起,按适应度<img file="654022dest_path_image054.GIF" wi="34" he="27" />降序排列,重新划分簇群;簇间路由全局优化步骤3:重复簇间路由全局优化步骤2,直到满足目标函数<img file="962644dest_path_image039.GIF" wi="57" he="28" />值最小为止;(4)簇半径的动态调整:每一轮采样<img file="443303dest_path_image055.GIF" wi="117" he="25" />,簇头<img file="204586dest_path_image008.GIF" wi="30" he="22" />可计算其竞争半径如下:<img file="61684dest_path_image056.GIF" wi="408" he="81" />式(6)中,<img file="224812dest_path_image057.GIF" wi="238" he="35" />为簇区<img file="876373dest_path_image031.GIF" wi="17" he="20" />内成员节点到汇聚节点(Sink)的最大距离和最小距离,<img file="639798dest_path_image058.GIF" wi="34" he="33" />为簇头<img file="35008dest_path_image008.GIF" wi="30" he="22" />竞争半径的最大取值,<img file="52642dest_path_image059.GIF" wi="15" he="16" />为0‑1之间的参数,用来控制取值范围;簇内成员节点与簇头采用单跳通信方式通信,成员节点除了发送自身采集的数据,还需转发来自簇外其它节点的通过链式结构传送的数据;为避免簇头节点承担过重负担,消耗更多的能量,使得簇头过早失效或丢弃数据包,从而造成感知空洞,为此,非均匀分簇路由协议(UCSNP)采取一种动态的簇半径优化策略以调整节点间负载均衡,设置权值<img file="140684dest_path_image060.GIF" wi="27" he="25" />计算公式如下:<img file="407717dest_path_image061.GIF" wi="378" he="66" />式(7)中,<img file="809880dest_path_image003.GIF" wi="17" he="18" />为0‑1之间的参数,<img file="947600dest_path_image062.GIF" wi="43" he="30" />为簇<img file="206543dest_path_image031.GIF" wi="17" he="20" />内成员节点<img file="695293dest_path_image030.GIF" wi="19" he="18" />在本轮采样中所消耗的能量,<img file="418923dest_path_image063.GIF" wi="65" he="22" />为簇头<img file="942308dest_path_image008.GIF" wi="30" he="22" />在本轮采样中所消耗的能量,<img file="106573dest_path_image064.GIF" wi="25" he="25" />为簇头<img file="817041dest_path_image008.GIF" wi="30" he="22" />在本轮的通信半径,从式(7)可得出,权值<img file="357743dest_path_image060.GIF" wi="27" he="25" />由成员节点总能耗与簇头能耗之比和成员节点到簇头距离总和与到簇头通信半径之比来决定。
地址 550001 贵州省贵阳市云岩区宝山北路116号