Messenger Client State Judging Module for Server Load Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional messenger client updating methods put significant pressure on messenger servers due to frequent and unnecessary message updates, especially in microblog systems where one-to-N message notifications lead to increased server workload.
Innovation Solution
A messenger client with a state judging module determines whether to pull new messages or notifications based on user interest, reducing server load by only pulling necessary data, and utilizing automatic and manual pulling frequency limits to control update frequency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the messenger client pulls new messages frequently from the server, then the user can stay updated with new messages, but the server workload increases significantly
Solution Approach 1:
The patent implements dynamic pulling frequency control where the system adjusts how often it checks for new messages based on user state. When the user is active or the interface is visible, the system pulls messages more frequently. When the user is inactive or the interface is hidden, the system reduces pulling frequency or uses push notifications instead, thereby reducing server workload while maintaining reliable message delivery when needed.
Solution Approach 2:
The system changes the parameter of message pulling frequency based on different operational conditions. By monitoring user state and interface visibility, the system adjusts the pulling interval parameter dynamically - using shorter intervals when updates are critical and longer intervals or push-based updates when user activity is low, thus optimizing the balance between reliability and server resource consumption.
2Loss of information
If the messenger client pulls all new messages from the server, then the user receives complete message information, but unnecessary data transmission increases resource consumption
Solution Approach 1:
The patent extracts only the necessary information from the complete message set and transmits it to the user. Instead of pulling all new messages unconditionally, the system determines what information is actually needed based on user state and interface requirements, extracting only essential message data for notification purposes when the interface is hidden, and complete message data when the interface is visible, thereby reducing unnecessary data transmission.
Solution Approach 2:
The system applies partial action by retrieving only the portion of message data that is currently needed. When the messenger interface is hidden or the user is inactive, the system performs partial pulling to obtain only notification-level information rather than complete message content. When the interface becomes visible, the system can then retrieve complete message data, thus avoiding excessive action and reducing resource consumption during inactive periods.
Data Source
AI summary
Updating messages in a messenger client includes a messenger client judging whether it is necessary to pull a new message or a new message notification from a messenger server according to a state of the messenger client; performing an action of pulling a new message notification from the messenger server in response to a determination that it is necessary to pull a new message notification; and performing an action of pulling new messages from the messenger server in response to a determination that it is necessary to pull a new message. The messenger client includes a state judging module and a pulling module. A new message notification is pulled when it is determined it is only necessary to pull a new message notification.


