-
公开(公告)号:US07460532B2
公开(公告)日:2008-12-02
申请号:US10951987
申请日:2004-09-27
申请人: Changmin Shin , Seung Min Park , Jae Hyuk Ryu , Yong Jin Lim , Dae Young Kim
发明人: Changmin Shin , Seung Min Park , Jae Hyuk Ryu , Yong Jin Lim , Dae Young Kim
IPC分类号: H04L12/28
CPC分类号: H04W40/08 , H04L45/00 , H04L45/26 , Y02D70/142 , Y02D70/22 , Y02D70/324
摘要: A method of providing a routing protocol in a sensor network includes the steps of: initializing a routing table and searching a network device of a node to initialize a host; opening a socket when there is a request for forwarding of an IP (Internet Protocol) packet from an upper layer or when there is a request through the network device; determining whether there is the IP packet forwarding request of the upper layer node or whether the packet is received from the network device; if there is the IP packet forwarding request of the upper layer, searching the routing table, and determining whether or not there is a destination node which intends to transmit the packet, and returning to a main loop if there is the destination node; and if the packet is received through the network device, determining types of the received packets and performing RREQ (route request) process, IDLE process, RREP (route reply) process, RERR (route error) process, and RREP_ACK (route reply acknowledgement) process.
摘要翻译: 在传感器网络中提供路由协议的方法包括以下步骤:初始化路由表并搜索节点的网络设备来初始化主机; 当存在从上层转发IP(因特网协议)分组的请求或者当通过网络设备存在请求时,打开套接字; 确定是否存在上层节点的IP分组转发请求或者是否从网络设备接收分组; 如果存在上层的IP分组转发请求,则搜索路由表,并确定是否存在要发送分组的目的地节点,并且如果存在目的地节点则返回到主循环; 如果通过网络设备接收到分组,则确定接收到的分组的类型并执行RREQ(路由请求)过程,IDLE进程,RREP(路由回复)进程,RERR(路由错误)进程和RREP_ACK(路由应答确认) 处理。