Session management method and system

A session management and session request technology, applied in the field of communication, can solve the problem of session management risks and other issues

Active Publication Date: 2020-09-22
SHENZHEN TCL NEW-TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a session management method and system, aiming to solve the technical problem of risk in session management when the WEB application has multiple servers

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0059] refer to figure 1 , the first embodiment of the session management method of the present invention provides a session management method, the session management method includes:

[0060] Step S10, when receiving the session request sent by the client, obtain the session token and cache version number carried in the session request.

[0061] This embodiment provides a session model based on cached versions and distributed caches, which realizes session management for multiple servers of WEB applications, and effectively avoids various risks of session management.

[0062] Specifically, as an implementation, when the client accesses the WEB application for the first time, the server that provides business support for it creates a session of the client, and configures a corresponding session token for the client, ...

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 session management method. The method includes: when receiving a session request sent by a client, obtaining a session token and a cached version number carried by the session request; If the server cache corresponding to the session token is successfully found, judge whether the server cache is the latest version according to the cache version number; if the server cache corresponding to the session token is not found , or the server cache is not the latest version, then obtain the server cache corresponding to the session token from the distributed cache cluster, and perform session operations according to the session request. The invention also discloses a session management system. The invention realizes the session management when the WEB uses multiple servers.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a session management method and system. Background technique [0002] With the vigorous development of the Internet, more and more enterprises and government agencies have built WEB (World Wide Web, World Wide Web) applications to provide services for users. Since the user can access the WEB application through a browser, the operation is convenient and fast, and no corresponding APP (Application, application software) needs to be specially installed. Therefore, more and more users also choose to use the WEB application. [0003] With the increasing number of WEB application visits, a single server is no longer competent for a WEB application system with a large amount of concurrency and strong reliability. Therefore, distributed WEB application server clusters are generally used to provide support for WEB application services and improve business processing. effic...

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/08H04L29/06
CPCH04L63/0428H04L67/02H04L67/14H04L67/568
Inventor 付跃雄
Owner SHENZHEN TCL NEW-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