Session keeping method and load balance apparatus

A technology of load balancing equipment and equipment, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as session retention failure, cookie information invalidation, etc., to achieve short index information, avoid cookie information invalidation, and avoid length increase. Effect

Inactive Publication Date: 2009-01-07
NEW H3C TECH CO LTD
View PDF0 Cites 46 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] It can be seen that using the active method to achieve session persistence does not depend on the cookie settings of the server, but after the load balancing device inserts its own information into the cookie information set by the server, the length of the cookie information is increased. If the length of the cookie information exceeds the client's If the end browser restricts the length of cookie information, it will cause the cookie information to become invalid, thus making the session fail

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
  • Session keeping method and load balance apparatus
  • Session keeping method and load balance apparatus
  • Session keeping method and load balance apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The present invention will be described in detail below with reference to the accompanying drawings and examples.

[0049] figure 2 It is an exemplary flow chart of the session maintenance method using cookie in the present invention, the method specifically includes the following steps:

[0050] Step 201: After the load balancing device receives the response message from the server, replace the cookie information set by the server in the response message with the cookie information set by the load balancing device, record the cookie information set by the load balancing device, the replaced server The corresponding relationship between the set cookie information and the server, and send the replaced response message to the client.

[0051] Step 202: After the load balancing device receives the request message carrying the cookie information set by the load balancing device from the client, it searches for the cookie set by the server corresponding to the cookie infor...

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 discloses a method for session persistence. The method comprises: a receiving server of load equalizing equipment sends a response message to a client, cookie information in the response message is replaced by the cookie information set by the load equalizing equipment, the corresponding relations among the cookie information set by the load equalizing equipment, the replaced cookie information and the server are recorded, and the response message after replacement is sent to the client; the load equalizing equipment receives the request message sent by the client later, when the request message carries the cookie information set by the load equalizing equipment, according to the corresponding relation, the cookie information which is set by the server and is corresponding to the cookie information in the request message as well as the corresponding server are searched, the cookie information in the request message is reverted to the searched cookie information, and the reverted request message is sent to the server searched. By using the method of the invention, not only is the setting of the cookie information by the server not relied on, but also the length of the cookie information is not increased.

Description

technical field [0001] The invention relates to session keeping technology in communication, in particular to a session keeping method and a load balancing device. Background technique [0002] The server load balancing device refers to the device that is installed at the front end of a group of servers with the same or similar functions, and reasonably distributes the traffic to the server group, so that the load balance among the servers is realized. figure 1 A schematic diagram of a network structure of a typical application of an existing server load balancing device is shown. The network structure includes clients, load balancing devices (server controllers) and server farms, figure 1 A server C in the server farm is shown in . [0003] Session persistence is an important function of load balancing devices. Through session persistence, it is ensured that a series of associated sessions are allocated to one server after load balancing, and will not be allocated to dif...

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/56H04L29/08H04L12/803
Inventor 常向青邹旭东
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products