arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.05817cs.DC
收藏

面向边缘自动驾驶的数据流处理框架

A Data Streaming Process Framework for Autonomous Driving By Edge

Hang Zhao, Jie Tang

摘要:

近年来,随着传感技术和物联网的快速发展,传感器在交通控制、医疗监控、工业生产等领域发挥着越来越重要的作用。传感器以流的方式产生大量的数据,这些数据往往需要实时的处理。因此,流数据计算技术在高吞吐量、低延迟的传感器数据实时处理中发挥着不可或缺的作用。针对上述问题,在Spark Streaming的基础上实现了该框架,该框架包括基于灰色模型的Spark Streaming流量监测层、面向流量预测的Spark Streaming流量预测层和基于模糊控制的Spark Streaming批量间隔动态调整层。该算法能够预测传感器数据到达率的变化,提前调整数据流的批处理间隔,利用边缘实现实时数据流处理。因此,可以实现对自动驾驶车辆传感器数据在边缘计算节点区域地理覆盖范围内的数据流变化的监测和预测,同时最小化端到端延迟,满足应用吞吐量要求。实验结果表明,该方法可以对短时交通量进行预测,全天相对误差不超过4%。通过使批消耗率接近数据产生率,即使在到达数据率急剧变化时,也能很好地保持系统的稳定性。当数据到达率加倍时,批处理间隔可以在两分钟内收敛到合适的值。与普通版本的Spark Streaming相比,Spark Streaming存在严重的任务积累和较大的延迟,当数据到达率较低时,通过压缩Batch Interval,可以减少35%的延迟;当数据到达率较高时,最多只增加25%的Batch Interval,就可以显著提高系统吞吐量。

英文摘要:

In recent years, with the rapid development of sensing technology and the Internet of Things (IoT), sensors play increasingly important roles in traffic control, medical monitoring, industrial production and etc. They generated high volume of data in a streaming way that often need to be processed in real time. Therefore, streaming data computing technology plays an indispensable role in the real-time processing of sensor data in high throughput but low latency. In view of the above problems, the proposed framework is implemented on top of Spark Streaming, which builds up a gray model based traffic flow monitor, a traffic prediction orientated prediction layer and a fuzzy control based Batch Interval dynamic adjustment layer for Spark Streaming. It could forecast the variation of sensors data arrive rate, make streaming Batch Interval adjustment in advance and implement real-time streaming process by edge. Therefore, it can realize the monitor and prediction of the data flow changes of the autonomous driving vehicle sensor data in geographical coverage of edge computing node area, meanwhile minimize the end-to-end latency but satisfy the application throughput requirements. The experiments show that it can predict short-term traffic with no more than 4% relative error in a whole day. By making batch consuming rate close to data generating rate, it can maintain system stability well even when arrival data rate changes rapidly. The Batch Interval can be converged to a suitable value in two minutes when data arrival rate is doubled. Compared with vanilla version Spark Streaming, where there has serious task accumulation and introduces large delay, it can reduce 35% latency by squeezing Batch Interval when data arrival rate is low; it also can significantly improve system throughput by only at most 25% Batch Interval increase when data arrival rate is high.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑