US 11,681,728 B2
Event display method and device
Jing Wang, Beijing (CN); Haiyan Mo, Beijing (CN); and Youwen Yu, Beijing (CN)
Assigned to Beijing Baidu Netcom Science and Technology Co., Ltd., Beijing (CN)
Filed by Beijing Baidu Netcom Science and Technology Co., Ltd., Beijing (CN)
Filed on Aug. 25, 2021, as Appl. No. 17/445,887.
Application 17/445,887 is a continuation of application No. 16/255,359, filed on Jan. 23, 2019, granted, now 11,132,387.
Claims priority of application No. 201810688337.4 (CN), filed on Jun. 28, 2018.
Prior Publication US 2021/0390123 A1, Dec. 16, 2021
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 16/28 (2019.01); G06F 16/2457 (2019.01)
CPC G06F 16/287 (2019.01) [G06F 16/24578 (2019.01)] 12 Claims
OG exemplary drawing
 
1. An event display method, comprising:
acquiring data representing a plurality of events, each event having a type, a starting time and an ending time;
setting colors for the events based on the types of the events;
grouping the events based on the starting times and the ending times of the respective events; and
displaying the events based on the grouping and colors of the events;
wherein the grouping the events based on starting times and ending times of the respective events comprises:
adding events of the same type into a group; and
further grouping the events of each group based on starting times and the ending times of the respective events of the group;
wherein the further grouping the events of each the group based on starting times and ending times of the respective events of the group comprises:
ranking the events of the group in a chronological order based on starting time of each of the events of the group, to obtain a ranked order of events;
reserving the first event of the ranked order in the group;
for each additional event of the ranked order, sequentially comparing the starting time of the additional event with an ending time of the group, wherein the ending time of the group is an ending time of the last event reserved in the group, and
when the starting time of one of other events is later than the ending time of the group, reserving the additional in the group; and
when the starting time of one of other events is earlier than the ending time of the first group, assigning the additional event into a next group.