Message Box Pushing via Keep-Alive and Identity Verification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing message box pushing technologies face delays and security risks due to passive data deployment and high server pressure from real-time pushing requirements, especially in applications like computer housekeeping software.
Innovation Solution
A method and system that utilize a data unique notification mechanism, where a server sends a data unique notification to a client, which then initiates a message box receiving request with an identity, allowing the server to verify and push message box data securely and in real-time, using a keep-alive communication mechanism controlled by the server.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If real-time pushing is implemented, then message delivery speed is improved, but server pressure increases
Solution Approach 1:
The system pre-establishes long-lived connections between clients and the gateway before message pushing is needed. Clients proactively maintain these connections through periodic keep-alive messages, so when a message needs to be pushed, the communication channel is already ready and no new connection establishment is required at message push time. This preliminary setup enables real-time message delivery without creating server pressure during the actual pushing operation.
2Speed
If communication ports are opened for real-time pushing, then message delivery speed is improved, but security risk increases
Solution Approach 1:
The gateway serves as an intermediary component between the message pushing server and clients. The gateway maintains long-lived connections with clients and handles the complex communication protocols, while the message pushing server only needs to interact with the gateway through simple message push operations. This intermediary architecture allows real-time pushing functionality while isolating the server from direct client connections, thereby reducing security risks associated with opening communication ports on the server.
3Reliability
If passive data deployment is used, then security is improved, but message delivery speed deteriorates
Solution Approach 1:
Instead of the server passively deploying data to clients through periodic heartbeats, the system inverts the approach by having clients proactively maintain persistent connections to the gateway. The gateway then actively pushes messages to clients whenever needed. This inversion transforms the passive data deployment model into an active pushing model, enabling real-time message delivery while maintaining security through the gateway's controlled connection management and identity verification mechanisms.
Data Source
AI summary
Method and system for pushing a message box. The method includes sending, by a server, a data unique notification to a client when the server needs to send a message box; sending a message box receiving request having an identity to the server after receiving the data unique notification; pushing, by the server, data of the message box to the client after verifying the identity. By means of elaborate operations, such as the identity, a keep-alive communication mechanism and an active pushing mechanism as required which is controlled by the server, the present disclosure solves the problem of delay for pushing the message box, controls the risk of being attacked, and lowers the pressure to a pushing server brought by real-time pushing.


