Method and device for displaying information flows in social network, and server
AssigneeXiaomi Inc.
InventorsRuijun Xu, Zhenwei Wen, Bo Zhang
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method and a device for displaying information flows in a social network. The method includes judging whether pieces of target information with a number of pieces being greater than or equal to a set number exist in information flows posted within a set time period by a user of the social network, aggregating the pieces of target information into one or more target information groups according to a preset rule when the pieces of target information exist, and displaying the target information group.
Claims11
A method for displaying information flows in a social network, comprising:
- judging whether pieces of target information with a number of pieces being greater than or equal to a set number exist in information flows posted within a set time period by a user of the social network;
- aggregating the pieces of target information into one or more target information groups according to a preset rule when the pieces of target information exist by:
- judging whether the pieces of target information are posted by a same user;
- determining that one or more pieces of interval information posted by other users exist between the pieces of target information when the pieces of target information are posted by the same user;
- aggregating a first set of the pieces of target information that exist before the one or more pieces of interval information into a first group of the one or more target information groups;
- aggregating a second set of the pieces of target information that exist after the one or more pieces of interval information into a second group of the one or more target information groups;
- and
- displaying the one or more target information groups including the first group of the pieces of target information, the second group of the pieces of target information, and the one or more pieces of interval information between the first group and the second group,
- wherein displaying the one or more target information groups comprises:
- extracting key information from a latest piece of target information of the pieces of target information posted in the one or more target information groups, wherein the key information comprises an abstract, or a keyword from the latest piece of target information, or an attribute class to which the latest piece of target information belongs;
- using the key information in the latest piece of target information of the pieces of target information as display information for the one or more target information groups, and folding or hiding other pieces of target information of the pieces of target information except the latest piece of target information;
- using post time of the latest piece of target information as post time of the one or more target information groups;
- and
- displaying the one or more target information groups according to the display information in order of the post time of the one or more target information groups.
A device for displaying information flows in a social network, comprising:
- a processor;
- and
- a memory for storing instructions executable by the processor, wherein the processor is configured to:
- judge whether pieces of target information with a number of pieces being greater than or equal to a set number exist in information flows posted within a set time period by a user of the social network;
- aggregate the pieces of target information into one or more target information groups according to a preset rule when the pieces of target information exist by:
- judging whether the pieces of target information are posted by a same user;
- determining that one or more pieces of interval information posted by other users exist between the pieces of target information when the pieces of target information are posted by the same user;
- aggregating a first set of the pieces of target information that exist before the one or more pieces of interval information into a first group of the one or more target information groups;
- aggregating a second set of the pieces of target information that exist after the one or more pieces of interval information into a second group of the one or more target information groups;
- and
- display the one or more target information groups including the first group of the pieces of target information, the second group of the pieces of target information, and the one or more pieces of interval information between the first group and the second group,
- wherein displaying the one or more target information groups comprises:
- extracting key information from a latest piece of target information of the pieces of target information posted in the one or more target information groups, wherein the key information comprises an abstract, or a keyword from the latest piece of target information, or an attribute class to which the latest piece of target information belongs;
- using the key information in the latest piece of target information of the pieces of target information as display information for the one or more target information groups, and folding or hiding other pieces of target information of the pieces of target information except the latest piece of target information;
- using post time of the latest piece of target information as post time of the one or more target information groups;
- and
- displaying the one or more target information groups according to the display information in order of the post time of the one or more target information groups.
A non-transitory computer-readable storage medium comprising instructions, executable by a processor in a device to execute operations for displaying information flows in a social network, the operations comprising:
- judging whether pieces of target information with a number of pieces being greater than or equal to a set number exist in information flows posted within a set time period by a user of the social network;
- aggregating the pieces of target information into one or more target information groups according to a preset rule when the pieces of target information exist by:
- judging whether the pieces of target information are posted by a same user;
- determining that one or more pieces of interval information posted by other users exist between the pieces of target information when the pieces of target information are posted by the same user;
- aggregating a first set of the pieces of target information that exist before the one or more pieces of interval information into a first group of the one or more target information groups;
- aggregating a second set of the pieces of target information that exist after the one or more pieces of interval information into a second group of the one or more target information groups;
- and
- displaying the one or more target information groups including the first group of the pieces of target information, the second group of the pieces of target information, and the one or more pieces of interval information between the first group and the second group,
- wherein displaying the one or more target information groups comprises:
- extracting key information from a latest piece of target information of the pieces of target information posted in the one or more target information groups, wherein the key information comprises an abstract, or a keyword from the latest piece of target information, or an attribute class to which the latest piece of target information belongs;
- using the key information in the latest piece of target information of the pieces of target information as display information for the one or more target information groups, and folding or hiding other pieces of target information of the pieces of target information except the latest piece of target information;
- using post time of the latest piece of target information as post time of the one or more target information groups;
- and
- displaying the one or more target information groups according to the display information in order of the post time of the one or more target information groups.
Dependencies are inferred from the claim text.