Unlock instant, AI-driven research and patent intelligence for your innovation.

Load balancing method of instant messaging server and load balancing server

A communication server and load balancing technology, applied in the field of communication, can solve the problems of limited number of connections, large user session time delay, message congestion, etc., and achieve the effect of reducing session delay time

Active Publication Date: 2017-11-03
CHINA CONSTRUCTION BANK
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When there are a large number of sessions between servers, there will be a large number of message forwarding between servers. Due to the limited number of connections between servers, this will lead to message congestion in the message queue, which will cause a very large user session time delay.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Load balancing method of instant messaging server and load balancing server
  • Load balancing method of instant messaging server and load balancing server
  • Load balancing method of instant messaging server and load balancing server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0027] figure 1 is a schematic flowchart of a load balancing method for an instant messaging server according to an embodiment of the present invention, refer to figure 1 , the method includes:

[0028] 100: The load balancing server receives the login information of a common user.

[0029] Optionally, in 100, it can be implemented in the following manner: the load balancing server receives the user's login information, and judges whether the user is an ordinary user or a merchant user according to the user attribute (for example: user_attr field) in the login information. If it is an ordinary user ( For example: the value of the user_attr field is 1), then proceed to the next steps; if it is a merchant user (for example: the value of the user_attr field is 0), obtain the target access server of the merchan...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a load balancing method of an instant messaging server and a load balancing server. The method comprises the steps that the load balancing server receives the login information of a common user; the interaction frequency and the latest access time of the common user and commercial tenants in first commercial tenants are determined according to the stored historical session record data of the common user and the commercial tenants, and the first commercial tenants are the set of the commercial tenants having session history with the common user; the commercial tenants in the first commercial tenants are ordered to obtain the first ordered commercial tenants according to the interaction frequency and the latest access time of the common user and the commercial tenants in the first commercial tenants; a target commercial tenant is selected from the first commercial tenants according to the ordering result of the first ordered commercial tenants, or the first ordered commercial tenants are optimized according to the historical access records of the common user, and the target commercial tenant is selected from the optimization result; the common user has the access to the server of the target commercial tenant. Through the load balancing method of the instant messaging server and the load balancing server, session delay can be reduced, and the load balancing method of the instant messaging server and the load balancing server are especially suitable for a scene with a large number of sessions.

Description

technical field [0001] The invention relates to the communication field, in particular to a load balancing method for an instant messaging server and a load balancing server. Background technique [0002] In the prior art, instant messaging tools generally support large-scale users through clustering, and clustering schemes of instant messaging tool servers can be roughly divided into two categories: asymmetric clustering schemes and symmetric clustering schemes. The asymmetric cluster scheme means that the instant messaging server is composed of different types of servers, and each type of server completes corresponding functions, including login, system message delivery, and user search. The symmetric cluster scheme means that the user client only needs to connect to one type of server to complete all communication processes. [0003] The symmetric cluster scheme is the most common cluster scheme used by existing instant messaging tools. In the symmetric cluster scheme, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L12/58
Inventor 郭友德周振王伟赵金鑫李建华胡立强包辰明何小锋林挺廖继逢
Owner CHINA CONSTRUCTION BANK