The present invention discloses a method and device for obtaining the latitude and longitude of a violation location by using a driving trajectory. The method comprises the steps of: requesting, by a server, an authorization from a user to obtain the user location information, and obtaining, by the server, the data of a driving recording device, wherein the data at least includes time and latitude and longitude data; performing an aggregation calculation on the multiple pieces of latitude and longitude data at the same traffic management bureau and at the same violation location, removing abnormal values, calculating a central point of the valid data, recording the central point in a data table as the final output latitude and longitude data at the violation location, and forming character field data in the form of a matrix unit; retrieving, by the server, matching character field data for notification for the newly entered violation information. In the embodiment of the present application, the method realizes a technical effect of accurately locating the violation point by obtaining the data of the positioning device, thereby solving the technical problem that a user does not know the violation location.