A method for obtaining signal light duration data, comprising: obtaining an intersection phase and a track sequence set corresponding to the intersection phase from running track data of a plurality of positioning terminals, wherein each positioning terminal provides running track data corresponding to a vehicle or a portable mobile terminal on a road network intersection to which the intersection phase belongs and the track sequence set includes multiple track sequences that are obtained from the running track data corresponding to the intersection phase, wherein the running track data corresponding to the intersection phase is running track data from the multiple positioning terminals in which a corresponding running track enters the road network intersection and has a running direction consistent with a running direction allowed in the intersection phase; recognizing, from the track sequence set, multiple track sequences in which a congestion state exists, wherein the existence of the congestion state is recognized if according to a time stamp comprised in the running track data the actual passing duration for passing the road network intersection is multiple times greater than a default passing duration or if a vehicle or portable terminal corresponding to a track sequence performs a process of running and stopping multiple times; obtaining a moving-nonmoving state alternation sequence from the multiple track sequences in which the congestion state exists, wherein the moving-nonmoving state alternation sequence is a track sequence in which the congestion state exists; obtaining a signal light duration sample value of the intersection phase based on the moving-nonmoving state alternation sequence; and generating the signal light duration data according to the signal light duration sample value. obtaining an intersection phase and a track sequence set corresponding to the intersection phase from running track data of a plurality of positioning terminals, wherein each positioning terminal provides running track data corresponding to a vehicle or a portable mobile terminal on a road network intersection to which the intersection phase belongs and the track sequence set includes multiple track sequences that are obtained from the running track data corresponding to the intersection phase, wherein the running track data corresponding to the intersection phase is running track data from the multiple positioning terminals in which a corresponding running track enters the road network intersection and has a running direction consistent with a running direction allowed in the intersection phase; recognizing, from the track sequence set, multiple track sequences in which a congestion state exists, wherein the existence of the congestion state is recognized if according to a time stamp comprised in the running track data the actual passing duration for passing the road network intersection is multiple times greater than a default passing duration or if a vehicle or portable terminal corresponding to a track sequence performs a process of running and stopping multiple times; obtaining a moving-nonmoving state alternation sequence from the multiple track sequences in which the congestion state exists, wherein the moving-nonmoving state alternation sequence is a track sequence in which the congestion state exists; obtaining a signal light duration sample value of the intersection phase based on the moving-nonmoving state alternation sequence; and generating the signal light duration data according to the signal light duration sample value.