CN107249203B - A Relay Agent Method for Long-distance Data Communication of Internet of Vehicles Based on Fountain Code - Google Patents

A Relay Agent Method for Long-distance Data Communication of Internet of Vehicles Based on Fountain Code Download PDF

Info

Publication number
CN107249203B
CN107249203B CN201710364598.6A CN201710364598A CN107249203B CN 107249203 B CN107249203 B CN 107249203B CN 201710364598 A CN201710364598 A CN 201710364598A CN 107249203 B CN107249203 B CN 107249203B
Authority
CN
China
Prior art keywords
node
fountain
fountain code
vehicle
rsu
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
Application number
CN201710364598.6A
Other languages
Chinese (zh)
Other versions
CN107249203A (en
Inventor
唐余亮
曾文婷
徐伟鸿
林艺明
庄卫华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen University
Original Assignee
Xiamen University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xiamen University filed Critical Xiamen University
Priority to CN201710364598.6A priority Critical patent/CN107249203B/en
Publication of CN107249203A publication Critical patent/CN107249203A/en
Application granted granted Critical
Publication of CN107249203B publication Critical patent/CN107249203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • H04L1/0058Block-coded modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a fountain code-based Internet of vehicles remote data communication relay agent method which comprises the steps of S1, coding data to be sent by a vehicle node at a sending end by using a fountain code, S2, forwarding a fountain code message by a relay node, decoding the fountain by using a roadside unit RSU as an agent, S3, re-coding the message after decoding is successful by the agent node, and S4, receiving end vehicle nodes receive the fountain code message and decode the fountain.

Description

一种基于喷泉码的车联网远距离数据通信中继代理方法A Relay Agent Method for Long-distance Data Communication of Internet of Vehicles Based on Fountain Code

技术领域technical field

本发明涉及无线通信领域,具体涉及一种基于喷泉码的车联网远距离数据通信中继代理方法。The invention relates to the field of wireless communication, in particular to a method for relaying and proxying a long-distance data communication of the Internet of Vehicles based on a fountain code.

背景技术Background technique

现今车辆自组织网络(Vehicular ad-hoc networks,VANETs)也称为车联网,是一种以车辆和路边设施为节点而形成的自组织无线通信网络,主要包括车与车(V2V)和车与基础设施(V2I)通信,是智能交通系统的重要组成部分。在车联网中,车辆的运动造成网络拓扑的不稳定,通信节点间频繁发生连接建立和断开,使得车联网的网络可靠性较差。在这样的环境下,现有的基于自动重传请求(Automatic Repeat-reQuest,ARQ)的可靠传输协议(如TCP等)会因超时和丢包的频繁发生而不断触发重传,导致期望转发次数高,产生较大的时延和消耗大量的通信资源,造成传输效率低下。Vehicle ad-hoc networks (VANETs), also known as the Internet of Vehicles, is an ad-hoc wireless communication network formed with vehicles and roadside facilities as nodes, mainly including vehicle-to-vehicle (V2V) and vehicle-to-vehicle (V2V). Communication with infrastructure (V2I) is an important part of intelligent transportation system. In the Internet of Vehicles, the movement of vehicles causes the instability of the network topology, and the connection establishment and disconnection between communication nodes frequently occur, making the network reliability of the Internet of Vehicles poor. In such an environment, existing reliable transmission protocols (such as TCP, etc.) based on Automatic Repeat-reQuest (ARQ) will constantly trigger retransmissions due to frequent timeouts and packet loss, resulting in the expected number of forwardings. high, resulting in a large delay and consumption of a large amount of communication resources, resulting in low transmission efficiency.

喷泉码是一种在删除信道下进行数据恢复的编码方法,其发送方式类似喷泉,可以将原始业务数据编码成无限多的编码报文进行发送,接收方只需接收到足够多的编码报文即可译码还原出原始数据,而与具体接收到哪些编码报文无关。只有当译码完成时,才向发送端发送一个反馈,在车联网的远距离数据传输中,其可靠性和效率仍然有待提高。Fountain code is an encoding method for data recovery under deleted channel. Its sending method is similar to fountain. Original business data can be encoded into infinite encoded packets for transmission. The receiver only needs to receive enough encoded packets. The original data can be decoded and restored, regardless of which encoded messages are received. Only when the decoding is completed, a feedback is sent to the sender. In the long-distance data transmission of the Internet of Vehicles, its reliability and efficiency still need to be improved.

LT码(Luby Transform Codes)是一种典型的喷泉码,虽然它采用合理的度分布函数能达到较高的译码效率,但其译码复杂度成非线性增长。要获取最后几个原始数据,必须要从具有高度数的编码报文进行译码,其编译码复杂度高,在相同译码开销下译码成功率较低。LT code (Luby Transform Codes) is a typical fountain code. Although it adopts a reasonable degree distribution function to achieve higher decoding efficiency, its decoding complexity increases nonlinearly. To obtain the last few pieces of original data, it is necessary to decode from the encoded message with the high number, and the encoding and decoding complexity is high, and the decoding success rate is low under the same decoding overhead.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于克服上述现有技术的不足,提供一种基于喷泉码的车联网远距离数据中继通信代理方法。The purpose of the present invention is to overcome the above-mentioned deficiencies of the prior art, and to provide a method for a long-distance data relay communication proxy for the Internet of Vehicles based on a fountain code.

为实现上述目的,本发明采用以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:

一种基于喷泉码的车联网远距离数据通信中继代理方法,包括以下步骤:A method of relaying proxy method for long-distance data communication of Internet of Vehicles based on fountain code, comprising the following steps:

S1、发送端车辆节点用喷泉码将需要发送的数据进行编码;S1. The sending end vehicle node encodes the data to be sent with the fountain code;

S2、中继节点转发喷泉码报文,路边单元RSU作为代理进行喷泉译码;S2. The relay node forwards the fountain code message, and the roadside unit RSU acts as an agent to decode the fountain;

S3、代理节点将译码成功后的报文重新进行喷泉编码;S3. The proxy node performs fountain encoding on the successfully decoded message again;

S4、接收端车辆节点接收喷泉编码报文并进行喷泉译码。S4. The receiving end vehicle node receives the fountain encoded message and performs fountain decoding.

进一步地,所述步骤S1具体为:发送端车辆节点将需要发送的原始数据等分成m组,每组包含K个最小数据单元,依次对每组的K个数据进行Raptor喷泉编码,产生喷泉编码报文。Further, the step S1 is specifically as follows: the sending end vehicle node divides the original data to be sent into m groups, each group contains K minimum data units, and sequentially performs Raptor fountain coding on the K data in each group to generate the fountain code. message.

进一步地,所述喷泉码采用Raptor码。Further, the fountain code adopts Raptor code.

进一步地,所述步骤S2包括以下具体步骤:Further, the step S2 includes the following specific steps:

S21、发送端车辆节点依据基于地理位置的路由算法进行路径规划,中继节点向接收端车辆转发喷泉码分组;S21. The sending-end vehicle node performs path planning according to a geographical location-based routing algorithm, and the relay node forwards the fountain code packet to the receiving-end vehicle;

S22、选取距离发送端最近的RSU作为中继入口,记为RSUin,以及距离接收端车辆最近的RSU作为中继出口,记为RSUout,在RSU通信范围内,车辆节点与它进行V2I通信,车辆中继节点间进行V2V通信;S22. Select the RSU closest to the transmitting end as the relay entrance, denoted as RSU in , and the RSU closest to the vehicle at the receiving end as the relay exit, denoted as RSU out , within the communication range of the RSU, the vehicle node conducts V2I communication with it , V2V communication between vehicle relay nodes;

S23、选取RSUout成为中继代理,转发喷泉码报文的同时缓存喷泉码报文,当代理节点接收到略大于K个喷泉码报文后,尝试喷泉译码,如果中继节点中只包含一个RSU,则该RSU就被选作代理;S23. Select RSU out to be the relay agent, and cache the fountain code message while forwarding the fountain code message. When the proxy node receives slightly more than K fountain code messages, it attempts to decode the fountain code. If the relay node only contains an RSU, the RSU is selected as the agent;

S24、当代理节点译码成功时,向发送端车辆节点发送译码成功的确认信号,表明已成功译码该组数据,发送端车辆节点收到该信号后停止发送该组喷泉码报文并开始下一组报文的发送;若译码不成功,则继续接收编码报文并尝试译码;S24. When the decoding is successful by the proxy node, it sends a confirmation signal of successful decoding to the vehicle node at the sending end, indicating that the group of data has been successfully decoded. After receiving the signal, the vehicle node at the sending end stops sending the group of fountain code messages and sends the message. Start sending the next group of messages; if the decoding is unsuccessful, continue to receive the encoded message and try to decode it;

S25、当代理节点向发送端发出确认信号后仍然收到该组数据的编码报文,则每收到一个多余的报文就向发送端再发送一个确认信号,直到不再收到该组数据的编码报文。S25. When the proxy node still receives the encoded message of the group of data after sending the confirmation signal to the sender, it will send another confirmation signal to the sender every time it receives an extra message until the group of data is no longer received. coded message.

进一步地,所述步骤S21所述路径规划优先选择用RSU作为中继节点进行转发,路径中包含有至少一个RSU。Further, in step S21, the path planning preferentially selects an RSU as a relay node for forwarding, and the path includes at least one RSU.

进一步地,所述步骤S3具体为:代理节点根据喷泉译码获得的一组原始数据,重新进行喷泉编码,并按照路由算法规划的路径发送给邻居车辆节点。Further, the step S3 is specifically as follows: the proxy node re-encodes the fountain according to a set of original data obtained by the fountain decoding, and sends it to the neighbor vehicle node according to the path planned by the routing algorithm.

进一步地,所述步骤S4具体包括以下步骤:Further, the step S4 specifically includes the following steps:

S41、中继节点继续转发喷泉码报文,当接收端车辆节点收集到略大于K个喷泉码报文后,进行喷泉译码以恢复原始数据;S41. The relay node continues to forward the fountain code message, and after the receiving end vehicle node collects slightly more than K fountain code messages, it performs fountain decoding to restore the original data;

S42、当接收端节点译码成功时,向代理节点发送译码成功的确认信号,代理节点停止发送该组喷泉码报文;若不成功则继续接收喷泉码分组并尝试译码;S42, when the decoding of the receiving end node succeeds, a confirmation signal of successful decoding is sent to the proxy node, and the proxy node stops sending the group of fountain code messages; if unsuccessful, continues to receive fountain code packets and try to decode;

S43、若接收端在发送了确认信号后仍然收到该组的编码报文,则每收到一个多余的报文就向代理节点再发送一个确认信号,直到不再收到来自代理节点的该组编码报文;S43. If the receiving end still receives the encoded message of the group after sending the confirmation signal, it will send another confirmation signal to the proxy node every time it receives an extra message, until it no longer receives the coded message from the proxy node. group coded message;

S44、当接收端车辆节点成功译码m组喷泉码报文得到所有的原始数据后,该车辆自组织网络便成功地完成了一次完整的车联网远距离数据的传输。S44. After the receiving end vehicle node successfully decodes the m groups of fountain code messages to obtain all the original data, the vehicle self-organizing network successfully completes a complete telematics long-distance data transmission.

采用上述技术方案后,本发明与背景技术相比,具有如下优点:After adopting the above-mentioned technical scheme, compared with the background technology, the present invention has the following advantages:

1、简化编码过程并提高译码成功率。本发明将Raptor喷泉编码应用于车联网发送数据的编码过程,编解码复杂度较基于LT码的传输方案更低,对传输编码报文的数量要求更低,译码成功率更高。1. Simplify the encoding process and improve the decoding success rate. The present invention applies Raptor fountain coding to the coding process of data sent by the Internet of Vehicles, the coding and decoding complexity is lower than that of the transmission scheme based on LT code, the requirement for the quantity of transmitted coded messages is lower, and the decoding success rate is higher.

2、改善数据传输的期望转发次数。本发明通过选定RSU作为中继代理节点的方式,克服了车联网中各节点之间的不可靠连接问题,减少了数据报文的期望转发次数,节省了通信资源开销。2. Improve the expected forwarding times of data transmission. By selecting the RSU as the relay agent node, the invention overcomes the problem of unreliable connection between nodes in the Internet of Vehicles, reduces the expected forwarding times of the data message, and saves the overhead of communication resources.

3、提高了数据传输效率。本发明的中继代理可根据实时情况进行转移,适应车辆节点的快速移动和网络拓扑变化,满足了车联网中各节点进行远距离高效的可靠数据传输的要求,提高了车联网中数据传输的时延以及吞吐量等关键性能指标,从而提高了数据传输效率。3. Improve the efficiency of data transmission. The relay agent of the present invention can transfer according to real-time conditions, adapt to the rapid movement of vehicle nodes and network topology changes, meet the requirements of long-distance, efficient and reliable data transmission for each node in the Internet of Vehicles, and improve the data transmission efficiency in the Internet of Vehicles. Delay and throughput and other key performance indicators, thereby improving the efficiency of data transmission.

附图说明Description of drawings

图1为本发明的实现流程图Fig. 1 is the realization flow chart of the present invention

图2为具体实施方式中车联网数据传输应用场景Fig. 2 is the application scenario of Internet of Vehicles data transmission in the specific embodiment

图3为具体实施方式中车辆目的节点发生移动导致数据路由变化的场景Fig. 3 is a scenario in which the destination node of the vehicle moves and causes the data routing to change in the specific embodiment

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

实施例Example

本实施例采用喷泉码RaptorQ编码(Raptor编码的最新版本)在车辆自组织网络中传输数据,通过在多条传输中选取合理的RSU中继节点作为代理,进一步提高数据传输效率,并且改善数据传输的期望转发次数。In this embodiment, the fountain code RaptorQ encoding (the latest version of Raptor encoding) is used to transmit data in the vehicle ad hoc network, and by selecting a reasonable RSU relay node as an agent in multiple transmissions, the data transmission efficiency is further improved, and the data transmission is improved. The expected number of forwardings.

一种基于喷泉码的车联网远距离数据通信中继代理方法,包括以下步骤:A method of relaying proxy method for long-distance data communication of Internet of Vehicles based on fountain code, comprising the following steps:

S1、发送端车辆节点用喷泉码将需要发送的数据进行编码;S1. The sending end vehicle node encodes the data to be sent with the fountain code;

发送端车辆节点将需要发送的原始数据等分成m组,每组包含K个最小数据单元,依次对每组的K个数据进行Raptor喷泉编码,产生喷泉编码报文。The sender vehicle node divides the raw data to be sent into m groups, each group contains K minimum data units, and sequentially performs Raptor fountain encoding on the K data in each group to generate a fountain encoded message.

S2、中继节点转发喷泉码报文,路边单元RSU作为代理进行喷泉译码;S2. The relay node forwards the fountain code message, and the roadside unit RSU acts as an agent to decode the fountain;

S21、发送端车辆节点依据基于地理位置的路由算法进行路径规划,中继节点向接收端车辆转发喷泉码分组;S21. The sending-end vehicle node performs path planning according to a geographical location-based routing algorithm, and the relay node forwards the fountain code packet to the receiving-end vehicle;

S22、选取距离发送端最近的RSU作为RSU中继入口,记为RSUin,以及距离接收端车辆最近的RSU作为RSU中继出口,记为RSUout,在这两个RSU通信范围内,其他中继车辆节点与它们进行车与网通信;S22. Select the RSU closest to the transmitting end as the RSU relay entrance, denoted as RSU in , and the RSU closest to the receiving end vehicle as the RSU relay exit, denoted as RSU out , within the communication range of the two RSUs, the other following vehicle nodes to communicate with them from vehicle to network;

S23、选取RSUout成为中继代理,转发喷泉码报文的同时缓存喷泉码报文,当代理节点接收到略大于K个喷泉码报文后,尝试喷泉译码,如果中继节点中只包含一个RSU,则该RSU就被选作代理;S23. Select RSU out to be the relay agent, and cache the fountain code message while forwarding the fountain code message. When the proxy node receives slightly more than K fountain code messages, it attempts to decode the fountain code. If the relay node only contains an RSU, the RSU is selected as the agent;

S24、当代理节点译码成功时,向发送端车辆节点发送译码成功的确认信号,表明已成功译码该组数据,发送端车辆节点收到该信号后停止发送该组喷泉码报文并开始下一组报文的发送;若译码不成功,则继续接收编码报文并尝试译码;S24. When the decoding is successful by the proxy node, it sends a confirmation signal of successful decoding to the vehicle node at the sending end, indicating that the group of data has been successfully decoded. After receiving the signal, the vehicle node at the sending end stops sending the group of fountain code messages and sends the message. Start sending the next group of messages; if the decoding is unsuccessful, continue to receive the encoded message and try to decode it;

S25、当代理节点向发送端发出确认信号后仍然收到该组数据的编码报文,则每收到一个多余的报文就向发送端再发送一个确认信号,直到不再收到来自该组数据的编码报文。S25. When the proxy node still receives the encoded message of the group of data after sending the confirmation signal to the sender, it will send another confirmation signal to the sender every time it receives an extra message, until it no longer receives any data from the group. The encoded message of the data.

其中,步骤S21所述路径规划优先选择用RSU作为中继节点进行转发,路径中包含有至少一个RSU。Wherein, the path planning in step S21 preferentially selects an RSU as a relay node for forwarding, and the path includes at least one RSU.

S3、代理节点将译码成功后的报文重新进行喷泉编码;S3. The proxy node performs fountain encoding on the successfully decoded message again;

代理节点根据喷泉译码获得的一组原始数据,重新进行喷泉编码,并按照路由算法规划的路径发送给邻居车辆节点。The proxy node re-encodes the fountain according to a set of original data obtained by the fountain decoding, and sends it to the neighbor vehicle node according to the path planned by the routing algorithm.

S4、接收端车辆节点接收喷泉编码报文并进行喷泉译码;S4. The receiving-end vehicle node receives the fountain encoding message and performs fountain decoding;

S41、中继节点继续转发喷泉码报文,当接收端车辆节点收集到略大于K个喷泉码报文后,进行喷泉译码以恢复原始数据;S41. The relay node continues to forward the fountain code message, and after the receiving end vehicle node collects slightly more than K fountain code messages, it performs fountain decoding to restore the original data;

S42、当接收端节点译码成功时,向代理节点发送译码成功的确认信号,代理节点停止发送该组喷泉码报文;若不成功则继续接收喷泉码分组并尝试译码;S42, when the decoding of the receiving end node succeeds, a confirmation signal of successful decoding is sent to the proxy node, and the proxy node stops sending the group of fountain code messages; if unsuccessful, continues to receive fountain code packets and try to decode;

S43、若接收端在发送了确认信号后仍然收到该组的编码报文,则每收到一个多余的报文就向代理节点再发送一个确认信号,直到不再收到来自代理节点的该组编码报文;S43. If the receiving end still receives the encoded message of the group after sending the confirmation signal, it will send another confirmation signal to the proxy node every time it receives an extra message, until it no longer receives the coded message from the proxy node. group coded message;

S44、当接收端车辆节点成功译码m组喷泉码报文得到所有的原始数据后,该车辆自组织网络便成功地完成了一次完整的车联网远距离数据的传输。S44. After the receiving end vehicle node successfully decodes the m groups of fountain code messages to obtain all the original data, the vehicle self-organizing network successfully completes a complete telematics long-distance data transmission.

图1所示为本发明的实现流程图,其具体的编译码过程如下:首先将要发送的数据内容等分割成m个源区块(Source Block),不同的源区块编码相互独立;每个源区块再进一步被分割成K个最小数据单位符号。Fig. 1 shows the realization flow chart of the present invention, and its concrete coding and decoding process is as follows: at first the data content etc. to be sent are divided into m source blocks (Source Block), and different source block codes are independent of each other; The source block is further divided into K minimum data unit symbols.

同一源区块的所有符号送入喷泉码编码器后即可得到用于发送的编码符号。在编码报文中,报头字段添加源区块编号(Source Block Number,SBN)区别来自不同源区块的符号。同时,为避免收到相同的编码符号,不同的编码符号间也用不同的编码报文编号(Encoding Symbol ID)加以区别。After all symbols of the same source block are sent to the fountain code encoder, the encoded symbols for transmission can be obtained. In the encoded message, a source block number (SBN) is added to the header field to distinguish symbols from different source blocks. At the same time, in order to avoid receiving the same encoding symbols, different encoding symbols are also distinguished by different encoding message numbers (Encoding Symbol IDs).

接下来使用RaptorQ码对K个原始符号先进行预编码。假设信道的删除率为

Figure BDA0001301258160000061
预编码过程将原始输入符号通过LDPC码(即低密度奇偶校验码)将K个原始符号转换为
Figure BDA0001301258160000062
个中间编码校验单元,再将
Figure BDA0001301258160000063
个中间编码校验单元输入到弱化的LT编码器进行喷泉码编码。Next, use the RaptorQ code to pre-encode the K original symbols. Suppose the deletion rate of the channel is
Figure BDA0001301258160000061
The precoding process converts the K original symbols into
Figure BDA0001301258160000062
an intermediate coding check unit, and then
Figure BDA0001301258160000063
The intermediate code check unit is input to the weakened LT encoder for fountain code encoding.

接收端收到编码报文后,首先用LT码技术进行解码,恢复固定比例的中间编码校验单元,再利用LDPC纠错码的解码性质恢复所有的原始输入符号。预编码让RaptorQ码的译码复杂度降为O(K),接收端在收到K+2个编码报文后解码失败的概率低于10-6After the receiving end receives the encoded message, it first uses the LT code technology to decode it, restores the fixed proportion of the intermediate code check unit, and then uses the decoding properties of the LDPC error correction code to restore all the original input symbols. Precoding reduces the decoding complexity of the RaptorQ code to O(K), and the probability of the receiver failing to decode after receiving K+2 encoded messages is lower than 10 -6 .

图2表示本实施例中车联网数据传输应用场景。其车联网由路边单元(RSU1、RSU2和RSU3),数据发送端车辆源节点S,数据接收端车辆目的节点D,以及7个中继车辆节点(V1,V2,...,V7)组成。FIG. 2 shows an application scenario of Internet of Vehicles data transmission in this embodiment. Its vehicle networking consists of roadside units (RSU 1 , RSU 2 and RSU 3 ), vehicle source node S at the data sending end, vehicle destination node D at the data receiving end, and 7 relay vehicle nodes (V 1 , V 2 , .. ., V 7 ) composition.

源节点S根据基于地理位置信息的路由协议规划至目的节点D的路径:The source node S plans the path to the destination node D according to the routing protocol based on geographic location information:

S,V1,V2,RSU1,RSU2,V6,V7,DS, V 1 , V 2 , RSU 1 , RSU 2 , V 6 , V 7 , D

我们先考虑一个源区块的数据发送情况,即S节点将需要发送的K个原始符号进行喷泉编码,其形成的RaptorQ编码报文的报头字段包含如下信息:源节点ID,目的节点ID,源区块编号,编码符号编号,代理节点地址(具体说明见如下表1)。其后,S节点向其邻居中继车辆节点发送RaptorQ编码报文,中继节点接收到RaptorQ编码报文后依照路由算法规划的路径进行转发。Let's first consider the data transmission situation of a source block, that is, the S node performs fountain coding on the K original symbols that need to be sent, and the header field of the RaptorQ coded message formed by it contains the following information: source node ID, destination node ID, source Block number, code symbol number, proxy node address (see Table 1 below for specific descriptions). After that, the S node sends the RaptorQ encoded message to its neighbor relay vehicle node, and the relay node forwards the RaptorQ encoded message according to the path planned by the routing algorithm after receiving the RaptorQ encoded message.

表1 RaptorQ编码报文的报头字段说明Table 1 Description of header fields of RaptorQ encoded packets

Figure BDA0001301258160000064
Figure BDA0001301258160000064

当RaptorQ编码报文到达路边单元RSU1时,RSU1通过有线网络将其转发至RSU2,此时RSU2成为代理节点。RSU2首先根据报文的报头字段(源节点ID,目的节点ID,源区块编号,编码符号编号,代理节点地址)建立一个缓存,由该五元组唯一确定一次可靠传输。RSU2在收到喷泉编码报文后,依据路由协议规划的路径将其转发至邻居中继车辆节点,同时将该报文保存至对应的缓存中。When the RaptorQ encoded message reaches the roadside unit RSU 1 , the RSU 1 forwards it to the RSU 2 through the wired network, and the RSU 2 becomes a proxy node at this time. RSU 2 first establishes a cache according to the header fields (source node ID, destination node ID, source block number, code symbol number, proxy node address) of the message, and the quintuple uniquely determines a reliable transmission. After receiving the fountain-coded message, RSU 2 forwards it to the neighbor relay vehicle node according to the path planned by the routing protocol, and stores the message in the corresponding cache at the same time.

一旦RSU2接收到K+2的RaptorQ编码报文后,开始尝试喷泉译码。当其译码成功后,它向源节点S发送一个停止发送该源区块报文的信号。此时由RSU2重新对该源区块生成新的喷泉编码报文,并依照路由算法规划的路径转发至目的节点D。源节点S则开始进行下一个源区块的报文编码和发送。Once RSU 2 receives the RaptorQ encoded message of K+2, it starts to try fountain decoding. When its decoding is successful, it sends a signal to the source node S to stop sending the source block message. At this time, the RSU 2 regenerates a new fountain coded message for the source block, and forwards it to the destination node D according to the path planned by the routing algorithm. The source node S starts to encode and send the message of the next source block.

当D节点接收到K+2个RaptorQ编码报文后开始尝试喷泉译码,一边继续接收喷泉编码报文,直到译码成功,向代理节点RSU2发送停止发送该源区块的报文。此时完成节点S向节点D的一个源区块的传输。然后,节点D开始接收下一个源区块的编码报文。When node D receives K+2 RaptorQ coded messages, it starts to try fountain decoding, and continues to receive fountain coded messages until the decoding is successful, and sends a message to the proxy node RSU 2 to stop sending the source block. At this time, the transmission of one source block from node S to node D is completed. Then, node D starts to receive the encoded message of the next source block.

由于车联网中的节点通常处于不断的运动中,导致从目的节点D到源节点S的路由在一次数据传输过程中可能会发生变化。假设由于车辆节点的移动或路由断裂导致数据传输路径发生了改变,在新的路径中中继节点RSU2变成了RSU3,如图3所示。此时,在当前源区块未完全译码成功的情况下,由S节点发送的RaptorQ编码报文中的代理节点地址仍保持原先的RSU2地址不变。当编码报文依据路由路径转发至RSU3时,RSU3首先根据路由算法规划的路径向其邻居中继节点转发喷泉编码报文,同时复制一份编码报文转发给报头字段指定的代理节点RSU2。其原因是为了确保一个代理节点RSU能接到足够多的编码报文进行成功译码,避免编码报文分散在两个不同的RSU上而都无法进行成功译码的情况,从而保证代理的成功率和总体的传输效率。RSU2译码成功即将该源区块数据有线传输给RSU3。在源节点S收到来自RSU3的当前源区块译码成功的确认信号后,便将代理节点的地址更换为RSU3,开始下一个源区块报文的发送。Since the nodes in the Internet of Vehicles are usually in constant motion, the route from the destination node D to the source node S may change during a data transmission process. Assuming that the data transmission path is changed due to the movement of the vehicle node or the route breakage, the relay node RSU 2 becomes RSU 3 in the new path, as shown in FIG. 3 . At this time, in the case that the current source block is not completely decoded successfully, the proxy node address in the RaptorQ encoded message sent by the S node still keeps the original RSU 2 address unchanged. When the encoded packet is forwarded to RSU 3 according to the routing path, RSU 3 first forwards the fountain encoded packet to its neighbor relay node according to the path planned by the routing algorithm, and at the same time copies a copy of the encoded packet and forwards it to the proxy node RSU specified in the header field 2 . The reason is to ensure that a proxy node RSU can receive enough encoded packets for successful decoding, and avoid the situation where the encoded packets are scattered on two different RSUs and cannot be successfully decoded, so as to ensure the success of the proxy. rate and overall transmission efficiency. RSU 2 successfully decodes and transmits the source block data to RSU 3 by wire. After the source node S receives the confirmation signal from RSU 3 that the decoding of the current source block is successful, it changes the address of the proxy node to RSU 3 and starts sending the next source block message.

一旦代理节点接收到足够多的喷泉编码报文并且译码成功后,代理节将向节点S发送译码成功的确认信号,让节点S停止发送报文,直到不再接收到来自节点S的报文。同时,代理节点将重新生成新的喷泉编码报文,由其继续发挥代理节点的性质,向目的节点D发送喷泉编码报文。当目的节点D接收到足够多的喷泉编码报文并译码成功后,它将向代理节点发送源区块译码成功的确认信号,让其停止发送该源区块的报文,直到不再接收到该源区块的报文。此时完成节点S向节点D的一个源区块的传输。Once the proxy node receives enough fountain coded messages and the decoding is successful, the proxy node will send a confirmation signal of successful decoding to node S, so that node S stops sending messages until it no longer receives messages from node S. arts. At the same time, the proxy node will regenerate a new fountain coded message, which will continue to play the role of the proxy node and send the fountain coded message to the destination node D. When the destination node D receives enough fountain-encoded messages and decodes them successfully, it will send a confirmation signal to the proxy node that the decoding of the source block is successful, so that it stops sending the message of the source block until no more The message of the source block is received. At this time, the transmission of one source block from node S to node D is completed.

当源节点或代理节点收到m个源区块的译码成功确认信号后,便停止所有报文的发送,此时完成该车辆自组织网络中远距离数据通信。When the source node or the proxy node receives the successful decoding confirmation signal of m source blocks, it stops the sending of all messages, and the long-distance data communication in the vehicle self-organizing network is completed at this time.

上述实施过程中的喷泉码编码方式采用RaptorQ码实现,车辆自组织网络中节点路由算法可使用Greedy Perimeter Stateless Routing(GPSR)等基于地理位置信息的车联网路由协议。The fountain code encoding method in the above implementation process is implemented by RaptorQ code, and the node routing algorithm in the vehicle self-organizing network can use the vehicle networking routing protocol based on geographic location information such as Greedy Perimeter Stateless Routing (GPSR).

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above description is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited to this. Substitutions should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (5)

1.一种基于喷泉码的车联网远距离数据通信中继代理方法,其特征在于:包括以下步骤:1. a kind of vehicle networking long-distance data communication relay agent method based on fountain code, is characterized in that: comprise the following steps: S1、发送端车辆节点用喷泉码将需要发送的原始数据进行编码;S1. The sending end vehicle node encodes the original data to be sent with the fountain code; 其中,步骤S1包括:Wherein, step S1 includes: 发送端车辆节点将需要发送的原始数据等分成m组,每组原始数据包含K个数据单元,依次对每组的K个数据单元进行喷泉编码,产生喷泉码报文;The sending end vehicle node divides the original data to be sent into m groups, each group of original data contains K data units, and sequentially performs fountain coding on the K data units in each group to generate a fountain code message; S2、中继节点转发喷泉码报文,路边单元RSU作为代理进行喷泉译码;S2. The relay node forwards the fountain code message, and the roadside unit RSU acts as an agent to decode the fountain; 其中,所述步骤S2包括以下具体步骤:Wherein, the step S2 includes the following specific steps: S21、发送端车辆节点依据基于地理位置的路由算法进行路径规划,中继节点向接收端车辆节点转发喷泉码分组;S21. The sending-end vehicle node performs path planning according to a routing algorithm based on geographic location, and the relay node forwards the fountain code packet to the receiving-end vehicle node; S22、选取距离发送端最近的RSU作为中继入口,记为RSUin,以及距离接收端车辆节点最近的RSU作为中继出口,记为RSUout,在RSU通信范围内,车辆节点与它进行V2I(车与基础设施)通信,车辆中继节点间进行V2V(车与车)通信;S22. Select the RSU closest to the sender as the relay entrance, denoted as RSU in , and the RSU closest to the vehicle node at the receiver as the relay outlet, denoted as RSU out , within the RSU communication range, the vehicle node performs V2I with it (Vehicle and infrastructure) communication, V2V (vehicle-to-vehicle) communication between vehicle relay nodes; S23、选取RSUout成为中继代理,转发喷泉码报文的同时缓存喷泉码报文,当代理节点接收到大于K个的喷泉码报文后,尝试喷泉译码,如果中继节点中只包含一个RSU,则该RSU就被选作代理;S23. Select RSU out to be the relay agent, and cache the fountain code message while forwarding the fountain code message. When the proxy node receives more than K fountain code messages, it attempts to decode the fountain code. If the relay node only contains an RSU, the RSU is selected as the agent; S24、当代理节点译码成功时,向发送端车辆节点发送译码成功的确认信号,表明已成功译码该组原始数据,发送端车辆节点收到该信号后停止发送该组原始数据的喷泉码报文并开始下一组报文的发送;若译码不成功,则继续接收喷泉码报文并尝试译码;S24. When the decoding is successful by the proxy node, a confirmation signal of successful decoding is sent to the vehicle node at the sending end, indicating that the group of original data has been successfully decoded, and the vehicle node at the sending end stops sending the fountain of the original data after receiving the signal. code message and start sending the next group of messages; if the decoding is unsuccessful, continue to receive the fountain code message and try to decode it; S25、当代理节点向发送端发出确认信号后仍然收到该组原始数据的喷泉码报文,则每收到一个多余的喷泉码报文就向发送端再发送一个确认信号,直到不再收到来自该组原始数据的喷泉码报文;S25. When the proxy node still receives the fountain code message of the group of original data after sending the confirmation signal to the sending end, it will send another confirmation signal to the sending end every time it receives a redundant fountain code message until it no longer receives any more. to the fountain code message from the set of raw data; S3、代理节点将译码成功后的报文重新进行喷泉编码;S3. The proxy node performs fountain encoding on the successfully decoded message again; S4、接收端车辆节点接收喷泉码报文并进行喷泉译码。S4. The receiving end vehicle node receives the fountain code message and performs fountain decoding. 2.根据权利要求1所述的一种基于喷泉码的车联网远距离数据通信中继代理方法,其特征在于:所述喷泉码采用Raptor码。2 . The method for relaying proxy data for Internet of Vehicles long-distance data communication based on a fountain code according to claim 1 , wherein the fountain code adopts a Raptor code. 3 . 3.根据权利要求1所述的一种基于喷泉码的车联网远距离数据通信中继代理方法,其特征在于:所述步骤S21所述路径规划优先选择用RSU作为中继节点进行转发,路径中包含有至少一个RSU。3. a kind of vehicle networking long-distance data communication relay agent method based on fountain code according to claim 1, is characterized in that: described in step S21, the path planning preferentially selects to use RSU as a relay node to forward, and the path contains at least one RSU. 4.根据权利要求1所述的一种基于喷泉码的车联网远距离数据通信中继代理方法,其特征在于:所述步骤S3具体为:代理节点根据喷泉译码获得的一组原始数据,重新进行喷泉编码,并按照路由算法规划的路径发送给邻居车辆节点。4. a kind of vehicle networking long-distance data communication relay proxy method based on fountain code according to claim 1, is characterized in that: described step S3 is specifically: a group of original data obtained by proxy node according to fountain decoding, Re-encode the fountain and send it to the neighbor vehicle node according to the path planned by the routing algorithm. 5.根据权利要求1所述的一种基于喷泉码的车联网远距离数据通信中继代理方法,其特征在于:所述步骤S4具体包括以下步骤:5. a kind of vehicle networking long-distance data communication relay agent method based on fountain code according to claim 1, is characterized in that: described step S4 specifically comprises the following steps: S41、中继节点继续转发喷泉码报文,当接收端车辆节点收集到大于K个喷泉码报文后,进行喷泉译码以恢复原始数据;S41. The relay node continues to forward the fountain code message, and after the receiving end vehicle node collects more than K fountain code messages, it performs fountain decoding to restore the original data; S42、当接收端节点译码成功时,向代理节点发送译码成功的确认信号,代理节点停止发送该组原始数据的喷泉码报文;若不成功则继续接收喷泉码分组并尝试译码;S42, when the decoding of the receiving end node is successful, send a confirmation signal of successful decoding to the proxy node, and the proxy node stops sending the fountain code message of the group of original data; if unsuccessful, continue to receive the fountain code packet and try to decode; S43、若接收端在发送了确认信号后仍然收到该组原始数据的喷泉码报文,则每收到一个多余的喷泉码报文就向代理节点再发送一个确认信号,直到不再收到来自代理节点的该组原始数据的喷泉码报文;S43. If the receiving end still receives the fountain code message of the group of original data after sending the confirmation signal, it will send another confirmation signal to the proxy node every time it receives a redundant fountain code message until it no longer receives it. The fountain code message of the set of raw data from the proxy node; S44、当接收端车辆节点成功译码m组原始数据的喷泉码报文得到所有的原始数据后,该车辆自组织网络便成功地完成了一次完整的车联网远距离数据的传输。S44. After the receiving end vehicle node successfully decodes the fountain code messages of m groups of original data to obtain all the original data, the vehicle self-organizing network successfully completes a complete long-distance data transmission of the Internet of Vehicles.
CN201710364598.6A 2017-05-22 2017-05-22 A Relay Agent Method for Long-distance Data Communication of Internet of Vehicles Based on Fountain Code Active CN107249203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710364598.6A CN107249203B (en) 2017-05-22 2017-05-22 A Relay Agent Method for Long-distance Data Communication of Internet of Vehicles Based on Fountain Code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710364598.6A CN107249203B (en) 2017-05-22 2017-05-22 A Relay Agent Method for Long-distance Data Communication of Internet of Vehicles Based on Fountain Code

Publications (2)

Publication Number Publication Date
CN107249203A CN107249203A (en) 2017-10-13
CN107249203B true CN107249203B (en) 2020-01-31

Family

ID=60017441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710364598.6A Active CN107249203B (en) 2017-05-22 2017-05-22 A Relay Agent Method for Long-distance Data Communication of Internet of Vehicles Based on Fountain Code

Country Status (1)

Country Link
CN (1) CN107249203B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290558B (en) * 2019-06-24 2021-01-19 西安交通大学 A delay-based secure transmission method in a cache-assisted multi-relay transmission system
EP4183076A4 (en) * 2020-07-14 2024-04-03 QUALCOMM Incorporated Vehicle-to-everything communications using network coding assisted by a relay
CN112887056B (en) * 2021-01-12 2021-11-23 西安电子科技大学 Fountain code transmission method based on probability feedback and stage in self-organizing network
CN113905059B (en) * 2021-06-03 2022-07-01 电子科技大学 Block storage method and model of lightweight block chain of Internet of vehicles
CN115333673A (en) * 2022-07-29 2022-11-11 南京信息工程大学 An ILT-based block coding transmission method in a blockchain network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567755A (en) * 2009-05-25 2009-10-28 北京理工大学 Network coding method based on fountain codes
CN102123471A (en) * 2010-12-15 2011-07-13 北京理工大学 Stub network of Internet of things and seepage data transmission method thereof
CN103227978A (en) * 2013-04-27 2013-07-31 陈彬 Broadcasting method and broadcasting system of in-vehicle network
CN105847349A (en) * 2016-03-22 2016-08-10 中国石油大学(华东) Distributed fountain code-based Internet of Vehicles-assisted download method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9277533B2 (en) * 2012-05-17 2016-03-01 Vid Scale, Inc. Scalable video coding over simultaneous unicast/multicast LTE DL shared channel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567755A (en) * 2009-05-25 2009-10-28 北京理工大学 Network coding method based on fountain codes
CN102123471A (en) * 2010-12-15 2011-07-13 北京理工大学 Stub network of Internet of things and seepage data transmission method thereof
CN103227978A (en) * 2013-04-27 2013-07-31 陈彬 Broadcasting method and broadcasting system of in-vehicle network
CN105847349A (en) * 2016-03-22 2016-08-10 中国石油大学(华东) Distributed fountain code-based Internet of Vehicles-assisted download method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"喷泉码在无线中继网络中的应用";袁磊等;《信息通信技术》;20091215;61-65 *

Also Published As

Publication number Publication date
CN107249203A (en) 2017-10-13

Similar Documents

Publication Publication Date Title
CN107249203B (en) A Relay Agent Method for Long-distance Data Communication of Internet of Vehicles Based on Fountain Code
EP2486697B1 (en) A method and apparatus for hop-by hop reliable multicast in wireless networks
CN109714130B (en) A File Transmission Method Based on Fountain Code
JP4357535B2 (en) Identify and retransmit missing parts
US9025607B2 (en) Method and apparatus for efficient transmission of information to multiple nodes
CN102123471B (en) Stub network of Internet of things and seepage data transmission method thereof
CN102694636B (en) Adopt sending, receiving method and the system of the HARQ technology of fountain codes
CN101938334B (en) Adaptive error control method combining random network coding and automatic repeat request
US20120188934A1 (en) Method and apparatus for hop-by-hop reliable multicast in wireless networks
CN108449161A (en) A retransmission method based on network coding in relay cooperative wireless network
CN107147471A (en) A data transmission optimization method based on linear network coding
CN113055285A (en) Self-adaptive data transmission method based on MPTCP and network coding
US8397120B2 (en) Method of error correction for a multicast message
CN101222302A (en) A Method of Implementing Error Recovery in Multicast Service
JP6487562B2 (en) Method and system for on-demand file repair
JP5220340B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
CN104539402B (en) A kind of broadcast transmission method in wireless network
CN114301513B (en) File transmission method based on feedback fountain codes
CN114900273B (en) A continuous reliable transmission method based on covering window and non-uniform sampling fountain code
JP2006025325A (en) Packet transfer method in mobile communication system and communication system thereof
JP2010068191A (en) Dtn data transfer method using network coding, fixed station performing the method, and system including fixed station and mobile terminal
Langari et al. File transfer in Vehicular Delay Tolerant Networks using fountain coding
CN106506120A (en) Method and system for data transmission in delay-tolerant network based on LT code
Shiraishi et al. Estimating and Forwarding Unreceived Symbols for Random Network Coded Communication
CN117155518A (en) Hop-by-hop data reliable transmission system and method based on fountain codes

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