CN106922008B - IPv6 wireless sensor network multi-path transmission method based on RPL routing protocol - Google Patents
IPv6 wireless sensor network multi-path transmission method based on RPL routing protocol Download PDFInfo
- Publication number
- CN106922008B CN106922008B CN201710129767.8A CN201710129767A CN106922008B CN 106922008 B CN106922008 B CN 106922008B CN 201710129767 A CN201710129767 A CN 201710129767A CN 106922008 B CN106922008 B CN 106922008B
- Authority
- CN
- China
- Prior art keywords
- message
- path
- node
- multipath
- header
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 56
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000006978 adaptation Effects 0.000 claims abstract description 17
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000013598 vector Substances 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/04—Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
- H04W40/10—Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources based on available power or energy
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明属于无线传感器网络技术领域,涉及一种基于RPL路由协议的IPv6无线传感网多路径传输方法。The invention belongs to the technical field of wireless sensor networks, and relates to an IPv6 wireless sensor network multi-path transmission method based on the RPL routing protocol.
背景技术Background technique
无线传感器网络一直被视为当前国际研究热点,是物联网技术的核心研究内容之一,能实现物理信息的感知、采集、处理和传输,广泛应用于工业、环境监测、医疗和军事等多个方面。Wireless sensor network has always been regarded as the current international research hotspot, and it is one of the core research contents of Internet of Things technology. aspect.
引入IPv6技术到无线传感器网络,可使每个传感器节点都有一个唯一的IPv6地址,实现了节点端与主机端的IP通信,成功将互联网上的应用延伸到了无线传感器网络。并且,将无线传感器网络与IPv6技术相结合的6LoWPAN网络具有较高的普及性与适用性,更多的地址空间满足了部署大规模、高密度低速无线个域网设备的需要。但由于6LoWPAN网络中传感器节点有着处理能力低、能量有限、通信环境恶劣的缺陷,使得在报文传输中易发生丢包现象,从而导致传输失败。为了增加报文通信可靠性、提高报文传输性能,在6LoWPAN网络中引入多路径报文传输技术就显得尤为重要。The introduction of IPv6 technology into wireless sensor network enables each sensor node to have a unique IPv6 address, realizes the IP communication between the node and the host, and successfully extends the application on the Internet to the wireless sensor network. In addition, the 6LoWPAN network that combines wireless sensor network and IPv6 technology has high popularity and applicability, and more address space meets the needs of deploying large-scale, high-density and low-speed wireless personal area network equipment. However, due to the defects of low processing capability, limited energy and poor communication environment of sensor nodes in 6LoWPAN network, packet loss is prone to occur in packet transmission, resulting in transmission failure. In order to increase the reliability of message communication and improve the performance of message transmission, it is particularly important to introduce a multi-path message transmission technology into the 6LoWPAN network.
目前在无线传感器网络领域中已经提出了多种多路径路由技术,虽都能建立多条传输路径供报文传输,但不能直接改进并应用于6LoWPAN网络。为提出一种适用于6LoWPAN网络的多路径传输方法,采用已有的路由协议进行实现。RPL作为被IETF标准化了的路由协议,在6LoWPAN网络中广泛应用。RPL路由协议设计了一系列的新机制,是一个针对无线传感网络的、高效的距离向量协议,节点通过交换距离矢量构造一个有向无环图,用其传输可以避免多路径形成环路。但在报文传输过程中仅使用一条传输路径,易发生报文传输失败的情况,降低了网络的传输可靠性。At present, a variety of multi-path routing technologies have been proposed in the field of wireless sensor networks. Although multiple transmission paths can be established for packet transmission, they cannot be directly improved and applied to 6LoWPAN networks. In order to propose a multi-path transmission method suitable for 6LoWPAN network, the existing routing protocol is used to realize it. As a routing protocol standardized by IETF, RPL is widely used in 6LoWPAN networks. The RPL routing protocol has designed a series of new mechanisms. It is an efficient distance vector protocol for wireless sensor networks. Nodes construct a directed acyclic graph by exchanging distance vectors, which can be used to avoid multi-path forming loops. However, only one transmission path is used in the packet transmission process, which is prone to failure of packet transmission, which reduces the transmission reliability of the network.
为了确保无线传感器网络对报文传输可靠性的要求,针对6LoWPAN网络中可能出现的报文传输失败的情况,基于RPL路由协议,本发明提出一种基于RPL路由协议的IPv6无线传感网多路径传输方法,旨在提高6LoWPAN网络报文传输的可靠性。In order to ensure the reliability of the message transmission in the wireless sensor network, in view of the possible failure of the message transmission in the 6LoWPAN network, based on the RPL routing protocol, the present invention proposes an IPv6 wireless sensor network multipath based on the RPL routing protocol. The transmission method aims to improve the reliability of 6LoWPAN network packet transmission.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的目的在于提供一种基于RPL路由协议的IPv6无线传感网多路径传输方法,该方法利用RPL协议根据节点到汇聚节点的跳数值和节点剩余能量构建路由时生成的父节点集合,建立到多个父节点的多条报文传输路径。该方法能够解决报文传输失败的问题,有效提高报文端到端的传输成功率,提高网络的传输可靠性。In view of this, the purpose of the present invention is to provide a kind of IPv6 wireless sensor network multi-path transmission method based on RPL routing protocol, the method utilizes RPL protocol according to the hop value of node to the convergence node and the residual energy of the node generated when the route is constructed. A set of nodes that establishes multiple message transmission paths to multiple parent nodes. The method can solve the problem of message transmission failure, effectively improve the end-to-end transmission success rate of the message, and improve the transmission reliability of the network.
为达到上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:
一种基于RPL路由协议的IPv6无线传感网多路径传输方法,在该方法中,源节点发送报文时,先确定传输报文所需的路径条数,然后通过Rank值之间的大小关系为每个父节点分配该Rank值对应的路径条数,Rank值由RPL根据节点剩余能量值和到汇聚节点的跳数值计算得到,并在适配层将路径条数封装在报文的多路径头部中,发送到该Rank对应的父节点,每个中间路由节点依据上述方法进行报文转发,直至发送到汇聚节点为止。A multi-path transmission method for IPv6 wireless sensor network based on RPL routing protocol. In this method, when the source node sends a message, it first determines the number of paths required to transmit the message, and then uses the size relationship between the Rank values. The number of paths corresponding to the Rank value is allocated to each parent node. The Rank value is calculated by the RPL according to the remaining energy value of the node and the hop value to the sink node, and the number of paths is encapsulated in the multipath of the packet at the adaptation layer. In the header, it is sent to the parent node corresponding to the Rank, and each intermediate routing node forwards the message according to the above method until it is sent to the sink node.
进一步的,该方法具体包括以下步骤:Further, the method specifically includes the following steps:
S1:适配层多路径传输实体收到协议栈上层传来的报文后,根据报文的可靠性要求,确定传输该报文所需的总路径条数P;当P小于等于1时,表明该报文不需使用多路径传输,则将该报文直接转发出去;S1: After receiving the message from the upper layer of the protocol stack, the multipath transmission entity of the adaptation layer determines the total number of paths P required to transmit the message according to the reliability requirements of the message; when P is less than or equal to 1, Indicates that the message does not need to use multi-path transmission, then the message is directly forwarded;
S2:当传输该报文所需的总路径条数P大于1时,利用多路径报文分配方法为RPL父节点集合中每个父节点分配需要转发该报文的份数C;S2: when the total number of paths P required to transmit the message is greater than 1, use the multi-path message allocation method to allocate the number of copies C that need to forward the message to each parent node in the RPL parent node set;
S3:多路径传输实体对于转发份数C大于等于1的父节点,复制报文并在其适配层头部中添加多路径头部后,然后将报文发向该父节点;所述多路径头部包含头类型说明域、多路径包序列号域(SequenceNumber)和路径条数域(PathCount);其中,所有复制报文中多路径头部的多路径包序列号域必须保持一致,并在发送下一个新的报文时累加,路径条数域填充对应的转发份数C;对转发份数C小于1的父节点,不发送复制的报文;S3: For the parent node whose forwarding number C is greater than or equal to 1, the multipath transmission entity copies the message and adds the multipath header to the header of its adaptation layer, and then sends the message to the parent node; the multipath transmission entity sends the message to the parent node; The path header includes the header type description field, the multipath packet sequence number field (SequenceNumber), and the path count field (PathCount); among them, the multipath packet sequence number field of the multipath header in all replicated packets must be consistent, and When the next new message is sent, it is accumulated, and the path number field is filled with the corresponding forwarding number C; for the parent node whose forwarding number C is less than 1, the duplicated message is not sent;
S4:中间路由节点收到包含多路径头部的报文后,判断多路径头部中路径条数域的值PathCount是否等于1,若PathCount等于1则保持多路径头部各域的值不变直接转发该报文;若PathCount大于1则该报文需要在此节点继续复制PathCount份并分发到多条路径上,重复步骤S2和S3,在步骤S2中P等于PathCount,在步骤S3中,不重新添加新的多路径头部并保持多路径包序列号域不变,改变路径条数域填充对应的转发份数C即可;S4: After receiving the packet containing the multipath header, the intermediate routing node judges whether the value of PathCount in the path number field in the multipath header is equal to 1. If PathCount is equal to 1, the value of each field in the multipath header remains unchanged. Directly forward the message; if PathCount is greater than 1, the message needs to continue to copy PathCount at this node and distribute it to multiple paths, repeat steps S2 and S3, in step S2 P is equal to PathCount, in step S3, do not Re-add a new multi-path header and keep the serial number field of the multi-path packet unchanged, and change the path number field to fill the corresponding forwarding number C;
S5:当目的节点收到包含多路径头部的报文后,通过多路径头部中的多路径包序列号域和源地址可以判断之前是否收到过该报文,若没有则传递给上层协议,若有则丢弃该报文。S5: When the destination node receives the packet containing the multipath header, it can determine whether the packet has been received before through the multipath packet sequence number field and source address in the multipath header, and if not, it will be passed to the upper layer protocol, if any, discard the packet.
进一步的,在步骤S2中,所述多路径报文分配方法为:若发送节点所要求的路径数P大于RPL父节点集合中父节点总数,则根据每个父节点的Rank值之间的大小关系为每个父节点分配多条路径,采用如下公式:Further, in step S2, the described multi-path message distribution method is: if the number of paths P required by the sending node is greater than the total number of parent nodes in the RPL parent node set, then according to the size between the Rank values of each parent node. The relationship assigns multiple paths to each parent node, using the following formula:
其中,round()为四舍五入函数,为后面的计算结果作四舍五入处理;P为总的路径条数,Pm是为父节点m分配的路径条数;Rm是父节点m对应的Rank值(m=1,2,…,n)。Among them, round() is the rounding function, which is used for rounding the subsequent calculation results; P is the total number of paths, P m is the number of paths allocated to the parent node m; R m is the Rank value corresponding to the parent node m ( m=1, 2, ..., n).
若路径数P小于或者等于父节点数,则按照Rank值从小到大的顺序依次选择P个Rank值,并为每个Rank值对应的父节点分配一条路径。If the number of paths P is less than or equal to the number of parent nodes, then select P Rank values in order from small to large, and assign a path to the parent node corresponding to each Rank value.
进一步的,在步骤S3中,多路径头部包含头类型说明域、多路径包序列号域(SequenceNumber)和路径条数域(PathCount);其中,适配层不同类型的报文头前面都必须有一个头类型说明域,长度为8位;SequenceNumber域包含报文的唯一序列号,长度为16位;PathCount域包含节点发送或转发报文需要填充的路径条数,长度为8位。Further, in step S3, the multipath header includes a header type description field, a multipath packet sequence number field (SequenceNumber) and a path number field (PathCount); wherein, the message headers of different types of the adaptation layer must be in front of the header. There is a header type description field with a length of 8 bits; the SequenceNumber field contains the unique sequence number of the message, with a length of 16 bits; the PathCount field contains the number of paths that the node needs to fill to send or forward the message, with a length of 8 bits.
本发明的有益效果在于:The beneficial effects of the present invention are:
1)本方法能够有效提高IPv6无线传感网中报文端到端的传输成功率,提高网络的传输可靠性。可靠性要求较高的多路径报文,通过提前分配好的路径条数,发给对应的多个父节点,以此建立多条传输路径,从而有效地解决6LoWPAN网络单路径报文传输易失败的问题。1) The method can effectively improve the end-to-end transmission success rate of packets in the IPv6 wireless sensor network, and improve the transmission reliability of the network. Multi-path packets with high reliability requirements are sent to corresponding multiple parent nodes by pre-allocating the number of paths, so as to establish multiple transmission paths, thus effectively solving the problem of easy failure of single-path packet transmission in 6LoWPAN networks The problem.
2)本方法能够有效地均衡能耗、缓解网络拥塞。发送节点通过父节点Rank值为其分配所需要转发的报文份数即路径条数时,父节点Rank值的计算需考虑两个参数,该节点到汇聚节点的跳数值和剩余能量值。对能量的考虑有利于能量均衡,避免过多的报文由能量较低的中间路由节点转发。2) The method can effectively balance energy consumption and relieve network congestion. When the sending node allocates the number of packets that need to be forwarded, that is, the number of paths, through the Rank value of the parent node, the calculation of the Rank value of the parent node needs to consider two parameters, the hop value from the node to the sink node and the remaining energy value. The consideration of energy is conducive to energy balance and avoids too many packets being forwarded by intermediate routing nodes with lower energy.
附图说明Description of drawings
为了使本发明的目的、技术方案和有益效果更加清楚,本发明提供如下附图进行说明:In order to make the purpose, technical solutions and beneficial effects of the present invention clearer, the present invention provides the following drawings for description:
图1为本发明所述6LoWPAN网络多路径传输方法流程图;Fig. 1 is the flow chart of the 6LoWPAN network multi-path transmission method according to the present invention;
图2为本发明所述6LoWPAN协议栈架构图;Fig. 2 is the 6LoWPAN protocol stack architecture diagram of the present invention;
图3为本发明所述适配层多路径头部帧格式图;Fig. 3 is the multi-path header frame format diagram of the adaptation layer according to the present invention;
图4为本发明所述单个父节点报文传输示意图;4 is a schematic diagram of a single parent node message transmission according to the present invention;
图5为本发明所述多个父节点(路径条数P大于父节点数)报文传输示意图;5 is a schematic diagram of message transmission of multiple parent nodes (the number of paths P is greater than the number of parent nodes) according to the present invention;
图6为本发明所述多个父节点(路径条数P小于或者等于父节点数)报文传输示意图。FIG. 6 is a schematic diagram of packet transmission of multiple parent nodes (the number of paths P is less than or equal to the number of parent nodes) according to the present invention.
具体实施方式Detailed ways
下面将结合附图,对本发明的优选实施例进行详细的描述。The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1为6LoWPAN网络多路径传输方法流程图,在6LoWPAN网络中,源节点发送报文时,先确定传输报文所需的路径条数,然后通过Rank值为每个父节点分配一条或多条路径,Rank值由其父节点根据自身剩余能量值和到汇聚节点的跳数值计算得到,并在适配层将路径条数封装在报文的多路径头部中,发送到该Rank值对应的父节点,每个中间路由节点依据上述方法进行报文转发,直至发送到汇聚节点为止。Figure 1 is a flow chart of the multi-path transmission method in the 6LoWPAN network. In the 6LoWPAN network, when the source node sends a message, it first determines the number of paths required to transmit the message, and then assigns one or more paths to each parent node through the Rank value. Path, Rank value is calculated by its parent node according to its own residual energy value and hop value to the sink node, and the number of paths is encapsulated in the multi-path header of the packet at the adaptation layer, and sent to the corresponding Rank value. The parent node, each intermediate routing node forwards the message according to the above method until it is sent to the sink node.
该方法具体包括以下步骤:The method specifically includes the following steps:
S1、适配层多路径传输实体收到协议栈上层传来的报文后,根据报文的可靠性要求,确定传输该报文所需的总路径条数P。当P小于等于1时,表明该报文不需使用多路径传输,则将该报文直接转发出去;S1. After receiving the message from the upper layer of the protocol stack, the multipath transmission entity of the adaptation layer determines the total number of paths P required to transmit the message according to the reliability requirements of the message. When P is less than or equal to 1, it indicates that the packet does not need to use multi-path transmission, and the packet is forwarded directly;
S2、当传输该报文所需的总路径条数P大于1时,利用多路径报文分配方法为RPL父节点集合中每个父节点分配需要转发该报文的份数C;S2. When the total number of paths P required to transmit the message is greater than 1, use the multi-path message allocation method to allocate the number of copies C that need to forward the message to each parent node in the RPL parent node set;
S3、多路径传输实体对于转发份数C大于等于1的父节点,复制报文并在其适配层头部中添加多路径头部后,然后将报文发向该父节点,多路径头部包含头类型说明域、多路径包序列号域(SequenceNumber)和路径条数域(PathCount)。其中,所有复制报文中多路径头部的多路径包序列号域必须保持一致,并在发送下一个新的报文时累加,路径条数域填充对应的转发份数C。对转发份数C小于1的父节点,不发送复制的报文;S3. For the parent node whose forwarding number C is greater than or equal to 1, the multipath transmission entity copies the message and adds the multipath header to its adaptation layer header, and then sends the message to the parent node, and the multipath header This part contains the header type description field, the multipath packet sequence number field (SequenceNumber) and the path number field (PathCount). Among them, the multi-path packet sequence number field in the multi-path header of all duplicated packets must be consistent, and is accumulated when sending the next new packet, and the path number field is filled with the corresponding forwarding copy number C. For the parent node whose forwarding number C is less than 1, the duplicated message will not be sent;
S4、中间路由节点收到包含多路径头部的报文后,判断多路径头部中路径条数域的值PathCount是否等于1,若PathCount等于1则保持多路径头部各域的值不变直接转发该报文;若PathCount大于1则该报文需要在此节点继续复制PathCount份并分发到多条路径上,重复步骤102和103,在步骤102中P等于PathCount,在步骤103中,不重新添加新的多路径头部并保持多路径包序列号域不变,改变路径条数域填充对应的转发份数C即可;S4. After receiving the packet containing the multipath header, the intermediate routing node determines whether the value of the path number field in the multipath header is equal to 1. If PathCount is equal to 1, the value of each field in the multipath header remains unchanged. Directly forward the packet; if PathCount is greater than 1, the packet needs to continue to copy PathCount at this node and distribute it to multiple paths, repeat steps 102 and 103, in step 102 P is equal to PathCount, in step 103, do not Re-add a new multi-path header and keep the serial number field of the multi-path packet unchanged, and change the path number field to fill the corresponding forwarding number C;
S5、当目的节点收到包含多路径头部的报文后,通过多路径头部中的多路径包序列号域和源地址可以判断之前是否收到过该报文,若没有则传递给上层协议,若有则丢弃该报文。S5. When the destination node receives the packet containing the multipath header, it can determine whether the packet has been received before through the multipath packet sequence number field and source address in the multipath header, and if not, it is passed to the upper layer protocol, if any, discard the packet.
图2所示为6LoWPAN协议栈架构图,在本发明中通过网络层采用的RPL路由和适配层设计的多路径头部,实现多路径报文传输。FIG. 2 shows the architecture diagram of the 6LoWPAN protocol stack. In the present invention, the multi-path message transmission is realized through the RPL routing and the multi-path header designed by the adaptation layer adopted by the network layer.
图3所示为适配层多路径头部帧格式图,适配层设计的多路径头部包含头类型说明域、多路径包序列号域(SequenceNumber)和路径条数域(PathCount)。其中,适配层不同类型的报文头前面都必须有一个头类型说明域,长度为8位;SequenceNumber域包含报文的唯一序列号,定义为长度为16位;PathCount域包含节点发送或转发报文需要的路径条数,定义为长度为8位。Figure 3 shows the frame format diagram of the multipath header of the adaptation layer. The multipath header designed by the adaptation layer includes the header type description field, the multipath packet sequence number field (SequenceNumber) and the path count field (PathCount). Among them, different types of message headers at the adaptation layer must be preceded by a header type description field with a length of 8 bits; the SequenceNumber field contains the unique sequence number of the message, defined as a length of 16 bits; the PathCount field contains the node sending or forwarding The number of paths required for the message, defined as 8 bits in length.
图4所示为源节点只有一个父节点情况下的报文传输示意图,下面将以图为例来说明报文传输过程。如图所示,源节点根据可靠性要求确定所需路径条数P=8,由于其只有一个父节点,则将P=8直接赋值给PathCount,即PathCount=8,然后将多路径头部封装在报文中并直接发给唯一的父节点,父节点收到报文后再将报文转发出去。FIG. 4 shows a schematic diagram of packet transmission in the case where the source node has only one parent node. The following will take the figure as an example to describe the packet transmission process. As shown in the figure, the source node determines the required number of paths P=8 according to the reliability requirements. Since it has only one parent node, P=8 is directly assigned to PathCount, that is, PathCount=8, and then the multi-path header is encapsulated In the message, it is directly sent to the only parent node, and the parent node forwards the message after receiving the message.
图5所示为源节点有多个父节点情况下(路径条数P>父节点数)的报文传输示意图,同样下面将以图为例来说明报文传输过程。如图所示,源节点根据可靠性要求确定所需路径条数P=8,且源节点有3个父节点,则需根据父节点的Rank值之间的大小关系,给父节点分配路径条数,利用如下分配公式:FIG. 5 is a schematic diagram of message transmission in the case where the source node has multiple parent nodes (the number of paths P> the number of parent nodes), and the message transmission process will also be described below by taking the figure as an example. As shown in the figure, the source node determines the required number of paths P=8 according to the reliability requirements, and the source node has 3 parent nodes, then it is necessary to allocate path bars to the parent node according to the size relationship between the Rank values of the parent nodes number, using the following distribution formula:
得到以下计算结果: The following calculation results are obtained:
然后将P1、P2、P3的值分别赋给PathCount,即PathCount1=5,PathCount2=1,PathCount3=2,在将多路径头部封装在报文中后发给分别对应的父节点A、B、C,它们收到报文后得到新的P值,即P=PathCount。接着再采取同样的报文分配方法并将报文转发出去。当目的节点收到包含多路径头部的第一个报文后,将其传递给上层协议,剩余的包含相同包序列号的7个报文则丢弃,不传递给上层协议。Then, assign the values of P 1 , P 2 , and P 3 to PathCount respectively, that is, PathCount 1 =5, PathCount 2 =1, and PathCount 3 =2. After encapsulating the multi-path header in the message, send it to the corresponding The parent nodes A, B, and C obtain a new P value after receiving the message, that is, P=PathCount. Then, the same packet distribution method is adopted and the packets are forwarded. When the destination node receives the first packet containing the multipath header, it passes it to the upper-layer protocol, and the remaining 7 packets containing the same packet sequence number are discarded and not passed to the upper-layer protocol.
图6所示为源节点有多个父节点情况下(路径条数P<=父节点数)的报文传输示意图,同样下面将以图为例来说明报文传输过程。如图所示,源节点根据可靠性要求确定所需路径条数P=3,且源节点有4个父节点,则按照Rank值从小到大的顺序选择,这里选择Rank值分别为100,200,500的三条路径,后面报文将分别沿一条路径发至汇聚节点。同理,当目的节点收到包含多路径头部的第一个报文后,将其传递给上层协议,剩余的包含相同包序列号的2个报文则丢弃,不传递到上层。FIG. 6 shows a schematic diagram of message transmission in the case where the source node has multiple parent nodes (the number of paths P<=the number of parent nodes), and the message transmission process will also be described below by taking the figure as an example. As shown in the figure, the source node determines the required number of paths P=3 according to the reliability requirements, and the source node has 4 parent nodes, then the Rank value is selected in ascending order. Here, the Rank values are selected as 100 and 200 respectively. , 500 three paths, the subsequent packets will be sent to the sink node along one path respectively. Similarly, when the destination node receives the first packet containing the multipath header, it passes it to the upper-layer protocol, and the remaining two packets containing the same packet sequence number are discarded and not passed to the upper-layer.
最后说明的是,以上优选实施例仅用以说明本发明的技术方案而非限制,尽管通过上述优选实施例已经对本发明进行了详细的描述,但本领域技术人员应当理解,可以在形式上和细节上对其作出各种各样的改变,而不偏离本发明权利要求书所限定的范围。Finally, it should be noted that the above preferred embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail through the above preferred embodiments, those skilled in the art should Various changes may be made in details without departing from the scope of the invention as defined by the claims.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710129767.8A CN106922008B (en) | 2017-03-06 | 2017-03-06 | IPv6 wireless sensor network multi-path transmission method based on RPL routing protocol |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710129767.8A CN106922008B (en) | 2017-03-06 | 2017-03-06 | IPv6 wireless sensor network multi-path transmission method based on RPL routing protocol |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106922008A CN106922008A (en) | 2017-07-04 |
| CN106922008B true CN106922008B (en) | 2020-02-11 |
Family
ID=59462043
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710129767.8A Active CN106922008B (en) | 2017-03-06 | 2017-03-06 | IPv6 wireless sensor network multi-path transmission method based on RPL routing protocol |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106922008B (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| BR112021001528A2 (en) | 2018-08-17 | 2021-04-20 | Telefonaktiebolaget Lm Ericsson (Publ) | method for establishing redundant paths, node on a wireless mesh network, non-transitory computer-readable media, and, wireless mesh network |
| CN110019986B (en) * | 2018-09-27 | 2020-12-29 | 福建福链科技有限公司 | Method and terminal for sequencing messages in directed acyclic graph |
| CN109257790B (en) * | 2018-10-30 | 2021-08-31 | 东南大学—无锡集成电路技术研究所 | A High Stability Routing Method for Spacecraft Data Acquisition Wireless Network |
| US11362837B2 (en) | 2018-12-10 | 2022-06-14 | Cisco Technology, Inc. | Generating trustable RPL messages having root-signed rank values |
| CN109788522B (en) * | 2019-02-14 | 2020-09-15 | 中国联合网络通信集团有限公司 | A route discovery method and device |
| CN110932969B (en) * | 2019-12-10 | 2021-10-22 | 南方电网科学研究院有限责任公司 | A smart grid advanced measurement system AMI network anti-jamming attack routing algorithm |
| CN115695340A (en) * | 2022-09-13 | 2023-02-03 | 山东浪潮科学研究院有限公司 | Message forwarding method, device and electronic equipment |
| CN115865845A (en) * | 2022-11-25 | 2023-03-28 | 江苏省未来网络创新研究院 | Method for realizing cross-Region virtual network communication based on SegmentRouting |
| CN116074242B (en) * | 2023-02-09 | 2024-06-14 | 重庆邮电大学 | Multipath joint scheduling method for TSCH network |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101047633A (en) * | 2006-05-17 | 2007-10-03 | 华为技术有限公司 | Method, device and system for implementing multi-route transmission |
| CN102572717A (en) * | 2012-02-20 | 2012-07-11 | 南京中通电气有限公司 | Multipath routing reliable transmission method based on network coding |
| CN102821434A (en) * | 2012-07-24 | 2012-12-12 | 南京邮电大学 | Multipath routing method based on wireless multi-media sensor network |
| CN103118413A (en) * | 2013-02-04 | 2013-05-22 | 重庆邮电大学 | IPv6 (Internet protocol version 6) industrial wireless sensor network routing method based on definiteness scheduling |
| CN104202268A (en) * | 2014-09-16 | 2014-12-10 | 桂林电子科技大学 | IPv6 (internet protocol version 6) routing protocol message fragment reassembly method for wireless sensor network |
| CN104796333A (en) * | 2015-03-31 | 2015-07-22 | 桂林电子科技大学 | IPv6-based wireless sensor network and Internet multi-gateway interconnection scheme |
| CN105684356A (en) * | 2013-06-25 | 2016-06-15 | 谷歌公司 | Efficient communication of devices for home network |
| CN105991555A (en) * | 2015-02-04 | 2016-10-05 | 成都世纪华宁科技有限公司 | 6LoWPAN-based network connection method and system |
-
2017
- 2017-03-06 CN CN201710129767.8A patent/CN106922008B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101047633A (en) * | 2006-05-17 | 2007-10-03 | 华为技术有限公司 | Method, device and system for implementing multi-route transmission |
| CN102572717A (en) * | 2012-02-20 | 2012-07-11 | 南京中通电气有限公司 | Multipath routing reliable transmission method based on network coding |
| CN102821434A (en) * | 2012-07-24 | 2012-12-12 | 南京邮电大学 | Multipath routing method based on wireless multi-media sensor network |
| CN103118413A (en) * | 2013-02-04 | 2013-05-22 | 重庆邮电大学 | IPv6 (Internet protocol version 6) industrial wireless sensor network routing method based on definiteness scheduling |
| CN105684356A (en) * | 2013-06-25 | 2016-06-15 | 谷歌公司 | Efficient communication of devices for home network |
| CN104202268A (en) * | 2014-09-16 | 2014-12-10 | 桂林电子科技大学 | IPv6 (internet protocol version 6) routing protocol message fragment reassembly method for wireless sensor network |
| CN105991555A (en) * | 2015-02-04 | 2016-10-05 | 成都世纪华宁科技有限公司 | 6LoWPAN-based network connection method and system |
| CN104796333A (en) * | 2015-03-31 | 2015-07-22 | 桂林电子科技大学 | IPv6-based wireless sensor network and Internet multi-gateway interconnection scheme |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106922008A (en) | 2017-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106922008B (en) | IPv6 wireless sensor network multi-path transmission method based on RPL routing protocol | |
| US9877260B2 (en) | Data forwarding in hybrid mesh networks | |
| US11362941B2 (en) | Stateless multicast in label switched packet networks | |
| KR101317969B1 (en) | Inter-node link aggregation system and method | |
| EP3208977B1 (en) | Data forwarding method, device and system in software-defined networking | |
| US9137201B2 (en) | Apparatus and methods of routing with control vectors in a synchronized adaptive infrastructure (SAIN) network | |
| CN104023006B (en) | Multi-path transmission system and method based on application layer relaying | |
| CN114128228B (en) | Transmitting MTNC-ID through SRv head to realize 5G transmission | |
| WO2017128945A1 (en) | Method and device for allocating service traffic | |
| KR20030085016A (en) | Method and aparatus for priority-based load balancing for use in an extended local area network | |
| WO2021185043A1 (en) | Forwarding path establishment method and apparatus, and computer-readable storage medium | |
| US20230096063A1 (en) | Communication method and apparatus | |
| CN101656986A (en) | Wireless communication device, communication system, communication control method, and program | |
| CN106209669A (en) | Towards SDN data center network maximum of probability path stream scheduling method and device | |
| CN114710975A (en) | Multi-domain transport multi-transport network context identification | |
| CN116232990A (en) | Transmission of MTNC-ID on the data plane supporting SRv6 for 5G transmission | |
| CN107623630A (en) | A kind of explicit Copy Info transmission method of position index and device | |
| CN114401228A (en) | End-to-end wide area crossing deterministic transmission network architecture and method | |
| CN114024856A (en) | Route optimization method, physical network device and computer readable storage medium | |
| CN109257282B (en) | Data transmission method and device | |
| Chiang et al. | A multipath transmission scheme for the improvement of throughput over SDN | |
| CN103298057A (en) | Concurrent multi-path routing method based on ZigBee technology | |
| CN102480692B (en) | An On-Demand Multicast Routing Method with Distributed Bandwidth Constraints in Wireless Ad Hoc Networks | |
| CN118368230A (en) | Method for forwarding computing messages in a network, forwarding node and computer storage medium | |
| JP2000092131A (en) | Maximum data route setting |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |