Client Message Pool for Microblog Memory Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current Instant Messaging (IM) tools are inadequate for managing numerous messages, particularly in micro-blog applications where a large number of users generate extensive message traffic, leading to memory occupation and storage challenges.

Innovation Solution

A method and apparatus that involve a client terminal pulling a message index list from a server, pulling message bodies in batches, managing them using a message pool mode, and storing them locally on the disk after receiving a user's finish indication.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If conventional IM tools are used to manage messages, then usability and stability are maintained, but the system cannot handle the large number of messages generated by micro-blog applications

Engineering Contradiction:
Improvenumber of messagesVSAvoidmessage management capability
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The patent segments message management into multiple components: a message pool for centralized storage, an index list for organized retrieval, and batch processing mechanisms. This segmentation allows the system to handle large volumes of messages by dividing them into manageable units rather than attempting to process all messages simultaneously in a single structure.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a message pool as an intermediary component between the server and the client terminal. This intermediary structure serves as a buffer that receives messages from the server, stores them temporarily, and provides organized access to the client, thereby enabling the client to handle large message volumes without directly managing all messages from the server.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If numerous messages are pulled and stored in memory, then message handling is enabled, but memory occupation increases excessively

Engineering Contradiction:
Improvemessage handling efficiencyVSAvoidmemory occupation
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent implements preliminary actions by first pulling and storing only the message index list in memory, rather than loading all message bodies immediately. The index list serves as a preliminary structure that organizes message information, allowing the system to retrieve only necessary message bodies on demand, thereby reducing initial memory occupation while maintaining efficient message handling capability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts the message index information from the full message data and stores it separately in the message pool. By separating the index list from the complete message bodies, the system can maintain a compact index structure in memory while storing only essential message data, thereby reducing memory occupation while preserving productivity.

Inventive Principle:
Principle #2Taking out (Extraction)

3Loss of information

If all message bodies are loaded at once, then complete message data is available, but memory resources are exhausted

Engineering Contradiction:
Improvemessage data completenessVSAvoidmemory consumption
Core Design Contradiction:
Loss of informationVSQuantity of substance

Solution Approach 1:

The patent applies partial action by loading only the message index list initially and then selectively loading message bodies only when needed. Instead of loading all message bodies at once (excessive action), the system loads a partial set (index list) and retrieves additional message bodies on demand, thereby maintaining message data completeness while avoiding memory exhaustion.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent implements dynamic message loading where the system can adaptively retrieve message bodies based on user interactions and current needs. The message retrieval process is dynamic rather than static, allowing the system to adjust which message bodies are loaded into memory based on actual usage patterns, thereby maintaining data completeness while optimizing memory consumption.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8566388B2Method and apparatus for managing numerous messages
Publication Date: 2013.10.22 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US8566388B2 patent drawing
  • US8566388B2 patent drawing
  • US8566388B2 patent drawing

AI summary

A method and apparatus for managing numerous messages are provided. The method includes: A. pulling, by a client terminal, a message index list from a server; B. pulling, by the client terminal, message bodies corresponding to message indexes in the message index list in batches; C. managing, by the client terminal, the pulled message bodies and message indexes by using a message pool mode; D. after receiving a finish indication triggered by a user, storing, by the client terminal, the message indexes and the message bodies in the message pool to a local disk. By using the present invention, numerous messages are managed.