Local Interest Message Storage for Server Load Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The increasing number of users in message services leads to an exponential increase in load on message servers, causing inefficiencies in search functions for interest messages, including the potential omission of pre-login messages in search results.
Innovation Solution
Storing interest messages locally on user terminals, where they can be searched and retrieved without relying on the message server, and synchronizing with the server only when no local storage is available or upon initial login to prevent omissions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the message server classifies and stores mention messages for each user to provide search function, then the search function for interest messages is provided, but the load of the message server increases exponentially as the number of users increases
Solution Approach 1:
The patent divides the centralized server-based search function into distributed client-side search operations. Each terminal device maintains local storage for its user's interest messages, enabling independent search operations without server involvement. This segmentation transforms the monolithic server workload into numerous small, independent client-side operations, resolving the exponential load increase problem.
Solution Approach 2:
The terminal devices are empowered to perform search operations autonomously using locally stored interest message data. Each user's terminal independently manages and searches their own interest messages without requiring server resources. This self-service approach eliminates the need for the message server to process search requests, thereby preventing exponential load increases while maintaining reliable search functionality.
2Productivity
If the search function for interest messages is implemented through the terminal, then the load of the message server is reduced, but the problem of omission in the search result may occur when there is no pre-stored interest message in the local storage
Solution Approach 1:
The system performs preliminary actions by storing interest messages in the user's local storage before search operations are needed. During initial login or message reception, the terminal proactively retrieves and caches interest messages locally, ensuring data availability for future search operations. This preliminary caching prevents search result omissions while maintaining the reduced server load benefit.
Solution Approach 2:
The system implements feedback mechanisms where the terminal detects when local storage is empty or incomplete and automatically triggers data retrieval from the server. This feedback loop ensures that search functionality remains reliable by dynamically replenishing local storage based on actual search needs, balancing server load reduction with search result completeness.
Data Source
AI summary
Provided is a method performed in a terminal for processing an interest message. The method includes receiving a message from a message server after a login event for a user of the terminal occurs, wherein the login event is related to a message service provided by the message server; storing, in response to determining that the received message corresponds to an interest message of the user, the received message in a local storage of the terminal; receiving a search request for the interest message of the user; and searching and providing the interest message of the user through the local storage of the terminal in response to the search request.


