Abstract
Package delivery via ridesharing provides appealing benefits of lower delivery cost and efficient vehicle usage.Most existing ridesharing systems operate the matching of ridesharing in a centralized manner,which may result in the single point of failure once the controller breaks down or is under attack.To tackle such problems,our goal in this paper is to develop a blockchain-based package delivery ridesharing system,where decentralization is adopted to remove intermediaries and direct transactions between the providers and the requestors are allowed.To complete the matching process under decentralized structure,an Event-Triggered Distributed Deep Rein-forcement Learning(ETDDRL)algorithm is proposed to generate/update the real-time ridesharing orders for the new coming ridesharing requests from a local view.Simulation results reveal the vast potential of the ETDDRL matching algorithm under the blockchain framework for the promotion of the ridesharing profits.Finally,we develop an application for Android-based terminals to verify the ETDDRL matching algorithm.