Journal of Computer Applications ›› 2024, Vol. 44 ›› Issue (12): 3876-3883.DOI: 10.11772/j.issn.1001-9081.2023121812

• Advanced computing • Previous Articles     Next Articles

Relay control model for concurrent data flow in edge computing

Ming ZHANG, Le FU, Haifeng WANG()   

  1. School of Information Science and Engineering,Linyi University,Linyi Shandong 276002,China
  • Received:2024-01-02 Revised:2024-03-11 Accepted:2024-03-14 Online:2024-03-21 Published:2024-12-10
  • Contact: Haifeng WANG
  • About author:ZHANG Ming, born in 1983, Ph. D., associate professor. His research interests include big data computing.
    FU Le, born in 1999, M. S. candidate. His research interests include big data computing.
  • Supported by:
    Key Research and Development Program of Shandong Province(2019GGX101003);Shandong Province Science and Technology-based Small and Medium-sized Enterprises Innovation Capacity Enhancement Project(2023TSGC0449)

面向边缘计算的并发数据流接转控制模型

张明, 付乐, 王海峰()   

  1. 临沂大学 信息科学与工程学院,山东 临沂 276002
  • 通讯作者: 王海峰
  • 作者简介:张明(1983—),男,山东临沂人,副教授,博士,主要研究方向:大数据计算
    付乐(1999—),男,江西南昌人,硕士研究生,主要研究方向:大数据计算;
  • 基金资助:
    山东省重点研发计划项目(2019GGX101003);山东省科技型中小企业创新能力提升工程项目(2023TSGC0449)

Abstract:

In order to improve the data transmission efficiency in edge computing application scenarios and manage the concurrent data traffic effectively, a relay control model for concurrent data flow in edge computing was designed. Firstly, based on the features of Data Plane Development Kit (DPDK) such as bypassing kernel, multi-core processing, and sending and receiving packets from multiple network ports, the concurrent receiving and forwarding processing of data flow was realized. Secondly, by establishing a system model with Model Predictive Control (MPC) as the core, state prediction was used to optimize control inputs and provide timely feedback and adjustment, so as to achieve the control of data traffic. Finally, a Weighted Round-Robin (WRR) algorithm was proposed to allocate weights according to buffer size and recent usage time in order to achieve load balancing of data flow. Experimental results show that the proposed model is able to control the real-time data flow rate effectively in edge network environment, and has the control error between -1% and 2%. The proposed model improves the data flow sending bit rate of edge nodes in real application scenarios compared with traditional Linux kernel forwarding, and the transmission quality and packet delay are also improved accordingly. It can be seen that the proposed model can meet the demands for low latency and high bandwidth in edge clusters and internet of things data centers, and can optimize critical computing resources while reducing peak loads.

Key words: edge computing, concurrent data flow, Data Plane Development Kit (DPDK), Model Predictive Control (MPC), load balancing

摘要:

为提高边缘计算应用场景中数据的传输效率,有效管理并发数据流量,设计一种面向边缘计算的并发数据流接转控制模型。首先,基于数据平面开发套件(DPDK)的绕过内核、多核处理和多网口收发数据包等特点,实现对数据流的并发接收和转发处理;其次,通过建立以模型预测控制(MPC)为核心的系统模型,利用状态预测优化控制输入并及时反馈调整,从而实现数据流量控制;最后,提出一种加权轮询(WRR)算法,根据缓冲区的大小和最近使用时间等因素分配权重,进而实现数据流负载均衡。实验结果表明,所提模型能够有效控制边缘网络环境中的实时数据流速,控制误差在-1%~2%。所提模型在实际应用场景中边缘节点的数据流发送码率相较于传统Linux内核转发有所提高,传输质量和数据包时延也得到相应改善。可见,所提模型能够满足边缘集群和物联网数据中心对低延迟和高带宽的需求,在消减峰值负载的同时优化关键计算资源。

关键词: 边缘计算, 并发数据流, 数据平面开发套件, 模型预测控制, 负载均衡

CLC Number: