Introduction
The recent proliferation of computing technologies (e.g., sensors, computer vision, machine learning, and hardware acceleration) has promoted connected and autonomous vehicles (CAVs) [1]. The global CAV market is expected to grow to $173.15 billion by 2030, with shared mobility services contributing 65.31 percent [2]. In general, there are three main benefits of CAVs. The first bene-fit is safety. According to the fatality analysis from the National Highway Traffic Safety Administration (NHTSA), 94 percent of serious crashes are caused by human error [3]. Compared to a human driver, the machine does not experience fatigue, or be drunk or speeding. The sensors are better at distance detection, blind space detection, emergency obstacle avoidance, and so on. The second benefit is efficiency for many aspects: less traffic congestion, less fuel consumption, less greenhouse gas emission, less travel time, and so on. The improvement is because CAVs get more comprehensive traffic information, and have better planning and controls than human drivers. The third benefit is that CAVs could support third-party applications, including applications for public safety like AMBER Alerts and criminal face detection. All these applications leverage the on-vehicle computation and communication resources.