Patent attributes
Provided are system and method for controlling traffic lights. The system includes a traffic light device and a smart roadside device. The smart roadside device includes a roadside sensing module including: a camera assembly configured to collect information of an image for traffic lights of the traffic light device and a radar configured to acquire first surrounding environment information of a road junction monitored by the smart roadside device, and a roadside processing module configured to determine traffic flow information of a red light lane according to the first surrounding environment information and the information of the image for the traffic lights, determine a duration of a green light according to the traffic flow information, and control a duration displaying the green light in a next cycle of the traffic light device according to the duration of the green light.