Reposting Chain Display with Batch Retrieval and Container Pooling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current micro-blog platforms do not effectively present the entire reposting chain of a message, limiting users' ability to view the full sequence of reposts and comments, which is essential for understanding the dissemination of information.
Innovation Solution
A method and system that establish a reposting chain for each original message on a server, allowing users to view the entire chain by pulling and displaying reposted messages in a client terminal device, with a batch retrieval strategy to manage server load and optimize user experience through container and message pooling.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If all reposted messages are loaded at once, then the user can view the complete reposting chain, but the server load increases significantly
Solution Approach 1:
The patent divides the reposting chain display into multiple pages, where each page displays a portion of the reposted messages. The server processes and sends data in batches rather than loading all messages at once, reducing peak server load while maintaining access to the complete reposting chain through pagination.
Solution Approach 2:
The patent implements pre-fetching of reposted messages by loading additional pages before the user actually requests them. This allows the server to process data in advance during off-peak moments, distributing the computational load more evenly over time rather than concentrating it all at once when the user views the reposting chain.
2Adaptability or versatility
If multiple controls are created for displaying reposted messages, then the display flexibility increases, but the memory consumption increases
Solution Approach 1:
The patent implements a container pool that recycles control objects after they have been used. When a page is destroyed or no longer needed, its associated controls are added back to the pool instead of being completely destroyed. This allows the same control instances to be reused for displaying different batches of reposted messages, reducing overall memory consumption while maintaining display flexibility.
Solution Approach 2:
The patent creates universal control templates that can be reused across multiple pages and contexts. Instead of creating unique controls for each display instance, the same control design serves multiple purposes - displaying different portions of the reposting chain, handling various interaction states, and working across different device contexts. This universality reduces the total number of control objects needed in memory.
Data Source
Figure 1~3
AI summary
Embodiments of the present invention provide a method for presenting reposted messages. The method includes: respectively establishing, in a server for each piece of original message X, a reposting chain, which takes the each piece of original message X as a root node, generating a piece of reposted message each time the original message X is reposted, and adding the reposted message to the reposting chain as a sub-node; and pulling needed reposted messages from the server when a client terminal device, at which a user locates receives an instruction instructing viewing the reposted messages corresponding to the original message X in a full amount message aggregation mode, and displaying the reposted messages on a page. Embodiments of the present invention also provide a system for presenting reposted messages. With the scheme of the present invention, a whole reposting chain of the original message may be presented to the user.