Patent 10951500 was granted and assigned to Baidu on March, 2021 by the United States Patent and Trademark Office.
Embodiments of the present disclosure relate to a method and apparatus for warning. A method may include: importing a real-time collected traffic data sequence into a pre-trained traffic prediction model, to obtain predicted traffic data, the traffic prediction model being used to calculate and obtain the predicted traffic data according to the real-time collected traffic data sequence; and sending, in response to a difference between the predicted traffic data and actual traffic data corresponding to time being greater than a set threshold, a warning signal.