PV-TSC: Learning to Control Traffic Signals for Pedestrian and Vehicle Traffic in 6G Era