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

Distributed session management method and system

A session management and distributed technology, which is applied in the field of computer networks, can solve the problems of inability to guarantee data consistency and server performance degradation, and achieve the effect of ensuring session data consistency and improving session data availability

Active Publication Date: 2015-07-01
BEIJING TONGTECH CO LTD
View PDF8 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the past, some technologies used the memory replication mechanism. After the number of users and the number of clusters reached a certain scale, the performance of the server would drop significantly, which is not advisable.
Another way is to use the session sharing mechanism, that is, to synchronously back up the session data to the cache server to improve the availability of the session, but the existing technology, whether it is open source or non-open source, cannot guarantee the consistency of data in non-affinity mode sex

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
  • Distributed session management method and system
  • Distributed session management method and system
  • Distributed session management method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0055]In the present invention, when the user terminal initiates an access request, the session memory management program in the application server reads the preset configuration item, and the content of the configuration item is a single option to use the pessimistic lock session management method or the optimistic lock session management method.

[0056] Embodiment 1 of the present invention proposes a distributed session management method, such as figure 1 show...

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 distributed session management method and a system. The method comprises steps: whether current session data requested to access by a terminal need backup is judged; if backup is needed, a distributed lock is requested by a session backup server corresponding to the terminal in a session backup server cluster; after the distributed lock is acquired, the current session data are used to update the terminal session data stored by the session backup server; and the session data after being updated are subjected to backup to other session backup servers in the session backup server cluster. Through carrying out back on the session data and adding the application of the distributed lock, the application server can ensure consistency of the session data in a non-affinity mode, and usability of the session data is enhanced.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a distributed session management method and system. Background technique [0002] In computer terminology, a session refers to the state information during the communication between an end user and an interactive system, and usually refers to the state information from logging into the system to logging out of the system. At the same time, because the web page is a stateless connection program, the application server needs to know the user's browsing status through the session, so some user-related information is also saved in the session. [0003] With the rapid development of the information industry in today's society, many enterprise-level applications are faced with a large number of concurrent accesses, and also need stronger stability. One application server can no longer meet the needs of applications, and more servers need to be added. At this time, it is nece...

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/1095H04L67/1097H04L67/14
Inventor 王洪吉于洋
Owner BEIJING TONGTECH CO LTD