A novel deep deterministic policy gradient model applied to intelligent transportation system security problems in 5G and 6G network scenarios