Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Websocket-transmission-based load balancing method and device

A load balancing and balancing technology, applied in the field of communications, can solve problems such as the performance degradation of load balancing devices, and achieve the effects of not affecting its own performance, saving network resources, and improving distribution capabilities.

Active Publication Date: 2013-04-24
HUAWEI TECH CO LTD
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, with the increase of WebSocket connections, the performance of the load balancing device itself will continue to decline

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
  • Websocket-transmission-based load balancing method and device
  • Websocket-transmission-based load balancing method and device
  • Websocket-transmission-based load balancing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art fall within the protection scope of the present invention.

[0021] See attached figure 1 , Is a schematic flow diagram of a load balancing method based on WebSocket transmission provided by an embodiment of the present invention. The execution body may be a load balancing device between a client and a server cluster, and mainly includes steps S101 and S102:

[0022] S101: Receive a first WebSocket request initiated by a client via a short link.

[0023] For the convenience of description, the WebSocket request initiated by the client thr...

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 WebSocket-transmission-based load balancing method and a device, and aims at saving network resource and improving distribution efficiency. The WebSocket-transmission-based load balancing method comprises receiving a first WebSocket request which is launched by the client-side via a short link; enabling the client-side to redirect to a server in server cluster according to load balancing strategy, and enabling the client-side to launch a second WebSocket request to establish a link with the redirected server. Due to the fact that the WebSocket-transmission-based load balancing method does not always occupy the bandwidth between the load balancer, on one hand, network resources are saved. On the other hand, due to the fact that the data interaction between the client-side and the server is conducted through the link established between the client-side and the server after the client-side and the server are established a link, therefore, compared with the prior art, the WebSocket-transmission-based load balancing method is capable of guaranteeing own performance of the load balancing device free from impact, so that distribution ability of load balancing is improved.

Description

Technical field [0001] The present invention relates to the field of communication, in particular to a load balancing method and device based on WebSocket transmission. Background technique [0002] With the popularization of Hypertext Markup Language (Hypertext Markup Language v5, HTML5), WebSocket technology is widely used. WebSocket includes the advantages of having a small header (only 2 bytes), the client and the server only need a handshake to establish a link and send data to each other, as well as real-time, full-duplex and other advantages. In network communication systems that have large and high requirements for scale, distribution capability, and availability, WebSocket is gradually used as its transmission bearer. As one of the important components of the system, the load balance device, its distribution efficiency also largely determines the performance of the entire system. The so-called load balancing provides a cheap, effective and transparent method to expand ...

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 Applications(China)
IPC IPC(8): H04L12/803
Inventor 朱绍铿唐冠军王云鹏
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products