Mobile Gateway Protocol Translation for Instant Messaging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing instant messaging protocols and network architectures are not optimized for Mobile User Equipment (M-UE), leading to high network traffic consumption and frequent disconnections, especially in areas with weak signals or high congestion, causing a significant impact on the instant messaging system.
Innovation Solution
Implementing a Mobile Gateway (M-GW) that uses a customized simplified private protocol between the M-UE and the M-GW, and the existing communication protocol between the M-GW and the instant messaging system, allowing the M-GW to manage login requests, cache messages during network abnormalities, and maintain session continuity using temporary passwords.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the existing instant messaging protocol is used directly for M-UE, then the instant messaging function can be provided, but the network traffic consumption increases significantly
Solution Approach 1:
The patent introduces a gateway as an intermediary component between the M-UE and the instant messaging system. The gateway translates and optimizes communication protocols, converting the standard instant messaging protocol into a simplified version suitable for mobile networks. This intermediary layer reduces network traffic by compressing data, optimizing message formats, and filtering unnecessary communications before they reach the mobile device.
Solution Approach 2:
The patent modifies key parameters of the instant messaging protocol to suit mobile network conditions. This includes changing message size limits, adjusting heartbeat intervals, modifying authentication mechanisms, and optimizing data compression ratios. These parameter changes reduce the overall network traffic consumption while maintaining the core instant messaging functionality on mobile devices.
2Reliability
If M-UE operates in weak signal areas or crowded places, then mobile communication is maintained, but frequent disconnections occur causing repeated logins
Solution Approach 1:
The patent implements preliminary actions by establishing connection persistence mechanisms before disconnections occur. The system pre-loads messages, pre-authensicates sessions, and sets up fallback communication paths in advance. When signal conditions deteriorate, these preliminary preparations allow the device to maintain session state locally and resume communication quickly without requiring full re-login procedures.
Solution Approach 2:
The patent provides beforehand cushioning by implementing buffer zones and retry mechanisms that cushion against frequent disconnections. The system buffers incoming messages locally, implements exponential backoff retry logic for reconnections, and maintains session state in memory or local storage. This cushioning approach prevents the system from collapsing under frequent connection losses and reduces the need for repeated logins.
3Loss of energy
If a simplified private protocol is used between M-UE and M-GW, then network traffic is reduced, but device complexity increases
Solution Approach 1:
The patent extracts the complex protocol translation and optimization functions from the mobile device and places them in the gateway server. The simplified private protocol implemented on the device contains only essential commands for message transmission and reception, while the gateway handles complex tasks such as protocol conversion, message formatting, authentication, and error handling. This extraction reduces device complexity while maintaining network traffic efficiency.
Data Source
Figure 1
Figure 2~3
Figure 4
AI summary
The present invention provides a method and a device for implementing instant messaging for a Mobile User Equipment (M-UE). The method comprises: a Mobile Gateway (M-GW), after receiving a login request from the M-UE, sends a login authentication request which contains information that a temporary password is required to be allocated to an instant messaging system to acquire an authentication result and the temporary password from the instant messaging system; after acquiring the authentication result and the temporary password, the M-GW allocates a piece of token information to the M-UE and returns the authentication result and the token information to the M-UE; the M-GW replaces the M-UE to complete the subsequent login and live-keeping flow via the temporary password and returns the result to the M-UE, to facilitate the M-UE and the instant messaging system to carry out instant messaging; and when the network between the M-GW and the M-UE is abnormal, the M-GW caches a message which is sent from the instant messaging system to the M-UE so that the M-UE acquires the message cached by the M-GW via the token information after the network between the M-GW and the M-UE goes back to normal.