Hierarchical sharded computational power network load balancing mechanism for vehicle-road collaboration
摘要
智能交通系统中,车辆通过与附近的路侧单元通信,实时共享车辆ID、位置、速度及状态等信息.这些数据通过开放通道传输,带来信任和隐私问题.为解决此挑战,逐步引入分布式、不可篡改且安全的区块链分片网络,并部署在车路协同场景中.提出了端边云协同架构,包含边缘设备层、路侧单元层和车载终端层.边缘设备构成主链,路侧单元作为分片,车辆接入系统成为账户.尽管分片提升了系统的可扩展性,但分片间工作负载不均衡易导致部分分片拥堵.此外,路侧单元的计算能力有限,若不根据负载动态调配资源,会造成浪费.为此,文中提出了一种基于车路协同的负载均衡机制,优化分片算力资源的分配.文中构建了系统的负载均衡和算力分配指标,利用协同多智能体强化学习优化账户分布与算力配置,达到负载均衡与资源高效利用.实验结果表明,所提方案显著降低了分片间的负载不均,并减少了资源消耗,同时确保了系统的安全性.与传统分片策略相比,系统吞吐量提升了15%以上,表现出更优的性能.
In intelligent transportation systems,vehicles communicate with nearby roadside units to share real-time information such as vehicle ID,location,speed,and status.This data is transmitted through open channels,rai-sing concerns about trust and privacy.To address these challenges,this paper introduces a distributed,immutable,and secure blockchain sharding network,which is deployed in the vehicle-road collaboration scenario.A collabora-tive edge-cloud architecture is proposed,consisting of the edge device layer,the roadside unit layer,and the in-ve-hicle terminal layer.The edge devices form the main chain,roadside units act as shards,and vehicles accessing the system become accounts.Although sharding enhances the scalability of the system,the imbalance of workload between shards can lead to congestion in some shards.Moreover,the limited computational capacity of roadside u-nits may result in resource wastage if resources are not dynamically allocated according to load.This paper proposes a load balancing mechanism based on vehicle-road collaboration to optimize the allocation of computational re-sources in sharding.The load balancing and computational power allocation metrics of the system are established.Cooperative multi-agent reinforcement learning is used to optimize account distribution and computational resource allocation,achieving load balancing and efficient resource utilization.Experimental results show that the proposed approach significantly reduces the imbalance of load between shards and reduces resource consumption,while ensu-ring the security of system.Compared to traditional sharding strategies,the throughput of the system increases by o-ver 15%,demonstrating superior performance.