主权项 |
1. A method comprising:
retrieving, at a computer device, multiple messages from a social networking service, the messages containing multiple trending topics; for each respective trending topic of the trending topics, determining by the computer device interarrival times of k messages of the messages, based on time stamps of the k messages, wherein the k messages are last k messages by the time point that contain the respective trending topic, and k is a predetermined number; for each respective trending topic of the trending topics, determining by the computer device a trending speed and a trending acceleration of the respective trending topic at a time point, wherein the trending speed of the respective trending topic at the time point is determined based on the interarrival times of the k messages byvn=k∑i=n-k+1nbn·(24·60) wherein vn is the trending speed at nth time point among the time stamps of the messages bn is the interarrival time of the message at nth time point among the time stamps of the messages; and presenting, by the computer device, a treemap including multiple shapes; wherein each respective shape of the shapes is associated with a corresponding trending topic of the trending topics, an area of the respective shape indicates a trending speed of the corresponding trending topic at the time point, and a property of the respective shape indicates a trending acceleration of the corresponding trending topic at the time point. |