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

Load balancing method, device and system based on user identification

A technology of load balancing and user identification, applied in the field of communication, can solve problems such as the inability to effectively cope with the increase in the number of network users, the lack of a server load balancing solution, etc., and achieve the effect of load balancing

Inactive Publication Date: 2016-10-05
深圳市云帆世纪科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The main purpose of the embodiments of the present invention is to provide a load balancing method, device and system based on user identification, to solve the problem that the existing technology lacks a simple and effective server load balancing solution, thus unable to effectively cope with the increase in the number of network users

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, device and system based on user identification
  • Load balancing method, device and system based on user identification
  • Load balancing method, device and system based on user identification

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] The embodiment of the present invention provides a load balancing method based on user identification, image 3 is the flowchart of the method, such as image 3 As shown, the method includes:

[0031] Step 301, receiving login data including PeerID from the client, wherein the PeerID is randomly generated by the client;

[0032] Step 302, verifying whether the PeerID matches itself according to the configuration list, the configuration list includes the mapping relationship between server information and PeerID in the system;

[0033] Step 303, if it is judged that the PeerID does not match itself according to the mapping relationship, then search for a server matching the PeerID, and send the server information matching the PeerID to the client;

[0034] Step 304, if the PeerID matches itself, determine whether the PeerID is unique;

[0035] Step 305, if the PeerID is unique, then generate a login success message and send it to the client, otherwise, go to step 306;...

Embodiment 2

[0051] The embodiment of the present invention also provides a load balancing device based on user identification, preferably, the device is used to implement the method in the first embodiment, such as Figure 5 As shown, the device includes:

[0052] The login data receiving unit 1 is used to receive the login data including PeerID from the client, wherein the PeerID is randomly generated by the client;

[0053] Data matching unit 2 is used to verify whether PeerID matches itself according to the configuration list, and the configuration list includes the mapping relationship between server information and PeerID in the system;

[0054] Matching server search unit 3 is used to search for a server matching PeerID when judging that PeerID does not match itself according to the mapping relationship;

[0055] Matching server information sending unit 4, for sending the server information matched with PeerID to the client;

[0056] Data uniqueness judging unit 5, for judging whe...

Embodiment 3

[0068] The embodiment of the present invention also provides a load balancing system based on user identification, such as Figure 7 As shown, the system includes the load balancing device and the client in the second embodiment above. In actual operation, the load balancing device and the server can be set as one.

[0069] Clients are mainly mobile terminal devices, such as Figure 8 As shown, the working principle of the client is: when the client device is started, the PeerID generation function of the client will randomly generate a 32-64-bit PeerID; after that, the client device will send the login packet containing the PeerID information through the network transmission protocol to the server.

[0070] The server side includes a load balancing device, such as Figure 9 As shown, the working principle of the server is: the message processing module of the server receives the login packet containing PeerID information from the client; the message processing module checks...

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 invention provides a load balancing method, a device and a system based on a user ID, wherein the method comprises the following steps: receiving login data containing a PeerID from a client by a server, wherein the PeerID is generated by the client at random; checking whether the PeerID is matched with the server in accordance with a configuration list by the server, wherein the configuration list contains the mapping relationship between the server information in the system and the PeerID ; if the PeerID is judged to be not matched with the server according to the mapping relationship, looking up a server matched with the PeerID and sending the information on the server matched with the PeerID to the client; if the PeerID is matched with the server, judging whether the PeerID is unique; if the PeerID is unique, generating a message and then sending the message to the client to indicate that the login is successful; if the PeerID is not unique, sending a message to the client to indicate that the PeerID is not unique so as to enable the client to re-generate a new PeerID. Through the adoption of the load balancing method, the device and the system, the load balancing of the server can be well realized.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a user identification-based load balancing method, device and system. Background technique [0002] With the rapid growth of China's Internet industry and the sharp increase in the number of users, it poses a severe test to the server's load pressure. The load balancing between servers and the carrying capacity of users are the main problems faced by major technical service providers. [0003] Traditional server allocation schemes mainly include the following two types: [0004] (1) Using instant messaging between several servers in the same server group, such as figure 1 As shown, when a user randomly connects to one of the servers, if the server is idle, it can connect with the user; otherwise, the server looks for an idle server in its server group, and then informs the user to turn to an idle server. This method The disadvantage is to increase the additional communicatio...

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/08
Inventor 张克东
Owner 深圳市云帆世纪科技有限公司