Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Session keeping method and device in distributed system

A technology of distributed system and holding device, which is applied in the field of network communication, can solve problems such as the difficulty of maintaining user login status sessions and the increase in complexity of system design, and achieve the effect of facilitating business operations

Inactive Publication Date: 2020-07-28
SHENZHEN THINKIVE INFORMATION TECH CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to meet different application requirements, service business functions need to be added, which will greatly increase the complexity of system design
In order to cope with high concurrent user request access, the current system generally adopts a distributed service architecture design. Although the above-mentioned distributed system has the advantages of easy expansion and maintenance, it is difficult to maintain the session of the user login state

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, 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 creative efforts fall within the protection scope of the present invention.

[0042] It should be noted that the descriptions involving "first", "second" and so on in the present invention are only for the purpose of description, and should not be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In addition, the technical ...

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 keeping method and device in a distributed system, and the method comprises the steps: building a unique user session ID according to a user login request when any node server receives the user login request; creating an HttpServlet Request and an HttpSession according to the ID of a user session; when any node server receives a user access request again, the HttpServlet Filter interceptor is used for verifying the user session ID of the user access request; and when the user session ID is successfully verified, acquiring user service session data from the HttpSession according to the user session ID. Through the implementation of the invention, each sub-node server in the distributed system can uniformly and synchronously maintain the login session stateof the user, and the application scene that the distributed system executes user login is realized.

Description

technical field [0001] The present invention relates to the technical field of network communication, in particular to a session maintaining method, device and readable storage medium in a distributed system. Background technique [0002] With the rapid development of Internet technology, more and more businesses have achieved online services. In order to meet different application requirements, it is necessary to increase service business functions, which will greatly increase the complexity of system design. In order to cope with highly concurrent user access requests, the current system generally adopts a distributed service architecture design. Although the above-mentioned distributed system has the advantages of easy expansion and maintenance, it is difficult to maintain the session of the user login state. In this way, how to uniformly and synchronously maintain the user's login session state in each sub-node of the distributed system has become a problem that must be...

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/06H04L29/08
CPCH04L63/0876H04L67/10H04L67/142H04L67/568
Inventor 刘宝
Owner SHENZHEN THINKIVE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products