Instant Message Session Continuity via Automatic Server Switching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Instant Messaging (IM) systems face service interruptions and excessive load pressure when a login server becomes unavailable, requiring users to re-login and re-establish sessions, leading to data loss and simultaneous high load on new servers.

Innovation Solution

Implementing a process where clients automatically switch to a new login server by using a login allocation server to identify available servers, storing and verifying client property information, and maintaining IM sessions through caching and reconnection requests, ensuring seamless session continuity without data loss.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If users manually re-login to a new login server when the current server becomes unavailable, then service continuity is maintained, but user time is lost and operation complexity increases

Engineering Contradiction:
Improveservice continuityVSAvoiduser re-login time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by storing session information in advance on multiple login servers. When a server becomes unavailable, the client can immediately switch to a pre-configured alternative server without requiring user re-login, thus resolving the contradiction between service continuity and time loss

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements self-service by automatically detecting login server availability and performing seamless server switching without user intervention. The client automatically reconnects to an available login server using stored session information, eliminating the need for manual re-login operations

Inventive Principle:
Principle #25Self-service

2Reliability

If all disconnected clients simultaneously retry to log in to another login server, then service recovery is achieved, but excessive load pressure is imposed on the login server

Engineering Contradiction:
Improveservice recoveryVSAvoidlogin server load
Core Design Contradiction:
ReliabilityVSStress or pressure

Solution Approach 1:

Session information is prepared in advance and distributed across multiple login servers. When disconnection occurs, clients can immediately connect to alternative servers that already have their session data ready, avoiding simultaneous login requests and reducing server load while ensuring service recovery

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses an intermediary mechanism where session information is cached on alternative login servers before actual connection switching occurs. This intermediary layer allows clients to switch servers without creating simultaneous login traffic, thus protecting the target server from excessive load while enabling service recovery

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If users are redirected to the login interface when the login server becomes unavailable, then authentication security is maintained, but service interruption occurs and user experience deteriorates

Engineering Contradiction:
Improveauthentication securityVSAvoiduser experience
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

Authentication credentials and session information are verified and stored in advance on multiple login servers. When a server fails, the client can immediately use pre-verified credentials to connect to an alternative server without returning to the login interface, maintaining both security and user experience

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically switches between multiple login servers based on availability while maintaining consistent authentication security. The client can adaptively connect to different servers using pre-established session information, ensuring both security requirements and ease of operation are satisfied

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8826402B2Management of an instant message session
Publication Date: 2014.09.02 ALIBABA GROUP HOLDING LTD
  • US8826402B2 patent drawing
  • US8826402B2 patent drawing
  • US8826402B2 patent drawing

AI summary

Maintaining an Instant Message (IM) session includes sending a login request to a first login server from a client; establishing the IM session and transferring Instant Messages between the client and the first login server; detecting an interruption in the transfer of the Instant Messages; obtaining an address of a second login server from a login allocation server; sending a reconnection request from the client to the second login server; and in the event that the reconnection request is accepted by the second login server, exchanging Instant Messages between the client and the second login server.