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

A session maintenance method and device

A technology for configuring parameters and clients, applied in the field of communication, can solve problems such as poor scalability, high requirements for configuration personnel, inability to support HTTP protocol client attributes, etc., and achieve good flexibility

Active Publication Date: 2017-11-28
北京太一星晨信息技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The main differences of the existing three types of session retention methods are as follows: The first type of session retention method mainly determines the client based on the information of the 4th layer of the network, such as source ip session retention and destination ip session retention, there must be a dynamic session retention table; this method does not parse the HTTP protocol, so it cannot support the client attributes carried by the HTTP protocol itself
The second type of session retention method needs to define matching rules; it can only handle several scenarios where the client information domain is relatively fixed, and has poor scalability and flexibility, and strong limitations; at the same time, because there is no dynamic session retention table, it is impossible to implement one-to-one One session is maintained, that is, it is impossible to record a back-end server for each client's information
[0009] The three types of session persistence methods provided in the existing application delivery technology support coarse granularity and poor scalability. At the same time, some session persistence methods need to modify the original message, which can no longer meet similar requirements, or can only be interpreted through scripts. language, which has high requirements for configuration personnel, and the impact of the script parsing process on efficiency cannot be ignored

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
  • A session maintenance method and device
  • A session maintenance method and device
  • A session maintenance method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] In order to illustrate the usage method of the present invention more vividly, an application example of the present invention is attached.

[0054] Application scenario requirements: The user browses through WAP, and in the HTTP Session passing through the WAP gateway, the Header has a custom header field of Calling-ID. When each different Calling-ID is accessed for the first time, it is allocated to the background server according to the polling method, and subsequent requests are kept according to the Calling-ID. At the same time, there are special requirements: the mobile phone number starting with 114 should be sent to the fixed server ip1 for processing, and the mobile phone number 13576543210 used by the administrator should be sent to the fixed server ip2 for processing.

[0055] To achieve the aforementioned session retention requirements, three points need to be met:

[0056] (1) Correctly identify the HTTP non-default header field Calling-ID, and parse out t...

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 present invention provides a session maintaining method and device, which relate to the communication field, improve the processing ability of the session maintaining method for the HTTP protocol, improve flexibility, expansibility and ease of use, including: a network data message header sent from a client Domain extracts the calling identification Calling-ID, and parses out the header field content; According to the configuration parameters of the calling calling identification Calling-ID, judge the matching type that the client session keeps; if it is a general match, then query the session keeping table, Determine the target server corresponding to the client; the session maintenance table is a dynamic list that stores the correspondence between the header field content and the target server corresponding to the calling ID Calling-ID of the client; if it is a special match, then according to the special match The matching rule determines the target server corresponding to the client.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for maintaining a session. Background technique [0002] HTTP (Hypertext transfer protocol, Hypertext Transfer Protocol) is the most widely used protocol on the Internet, because of the stateless nature of the protocol itself, in many application scenarios that require continuous communication (such as e-commerce, user management, etc.), on the Internet In an environment equipped with a load balancing device, it is often necessary for the application delivery device to forward a series of related requests to the same server for processing, and the session maintenance method must be used to ensure the integrity and security of the communication. [0003] At present, the commonly used session maintenance methods can be summarized into three categories: [0004] (1) The first type of session maintenance method is that in the process of network interaction, the device e...

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/06H04L29/08
Inventor 周建斌
Owner 北京太一星晨信息技术有限公司