Session keeping method and device

A technology of location information and preset algorithms, which is applied in the field of network communication, can solve problems affecting the running speed of the system, achieve the effects of reducing page configuration operations, avoiding hidden safety hazards, and improving user experience

Active Publication Date: 2019-03-15
杭州迪普信息技术有限公司
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the session retention method of storing sessions will affect the running speed of the system, and the session retention method based on cookies will have security risks

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 device
  • Session keeping method and device
  • Session keeping method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0029] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 session keeping method and device used for load balancing equipment. The method comprises the following steps: acquiring a common characteristic of a first message of a clientand a second message of a server; recording position information of the common characteristic in the first message; and when a third message is received, if the third message is judged to be matchedwith the common characteristic according to the position information, then representing that the third message and the first message belong to a same session, and sending the third message to the server, so as to realize session keeping. According to the scheme of the invention, messages belonging to the same session can be identified through simple message characteristic comparison, the session is not needed to be saved, the operating speed of a system is not affected, and cookie is not needed, thus potential safety hazards are avoided. At the same time, automatic and active comparison and characteristic extraction of the messages are achieved, and there is no need to indicate where the characteristics are by manual configuration in advance, so that a page configuration operation is reduced, a user can still realize session keeping under load balancing even if the user cannot check the messages, and the user experience is improved.

Description

technical field [0001] The present application relates to the technical field of network communication, in particular to a method and device for maintaining a session. Background technique [0002] Today, with the rapid development of network technology, server cluster technology is also developing rapidly. In order to improve the performance and load capacity of servers, server load balancing equipment is widely used in major server clusters, and access traffic is evenly distributed to back-end servers through built-in scheduling algorithms. Session (session) retention means that there is a mechanism on the load balancing device. While doing load balancing, it is also necessary to identify the relevance of the interaction process between the client and the server to ensure that the access requests associated with the same user will be allocated to On the same server, the continuity of the session is realized to avoid problems such as users needing to log in repeatedly. ...

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): H04L29/08
CPCH04L67/14H04L67/1001
Inventor 王铭圣孙艳杰
Owner 杭州迪普信息技术有限公司
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