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

Session data sharing system and method

A technology of session data and session identification, applied in digital transmission systems, transmission systems, data exchange networks, etc., can solve problems such as poor efficiency and performance, node downtime, application server upgrade or replacement risks, etc.

Active Publication Date: 2015-04-29
SHANGHAI HANDPAL INFORMATION TECH SERVICE
View PDF5 Cites 48 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method needs to use technical means such as memory data synchronization to synchronize the session data in the memory of each node to ensure that the session data in the memory of each server node is consistent, but the synchronization needs to consume certain network resources, which will inevitably lead to data synchronization. Latency, poor efficiency and performance when using
In addition, if there is a lot of session data, it will occupy a large amount of node memory resources. If the amount of session data exceeds the size of the node memory, it will cause the node to go down, or even the entire server cluster to go down
[0008] 3. Use the built-in functions of the web application server to store the session data in a cache server such as Memcached, thereby realizing the sharing of session data. However, this method can only be applied to a certain web application server. For application server upgrades Or there is a certain risk in replacing
[0009] Judging from the above-mentioned ways of processing shared session data, there are deficiencies, so the existing technology needs to be improved and improved

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] In order to make the object, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0064] according to figure 1 As shown, the shared session data system of this embodiment includes:

[0065] At least one web application server;

[0066] A cache server A14.

[0067]The web application server is a server for processing the HTTP request of the client and completing the requested business logic. Web application server in the present embodiment is based on the Servlet container of Java, and in the present invention, wherein has following part to form: Shared session processing request filter A11, session data processing unit A12, session data temporary storage unit A13, and ...

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 belongs to the technical field of computer application and particularly provides a session data sharing system and method. The system comprises at least one Web application server and a cache server; the Web application servers are used for processing HTTP requests of client-sides and completing requested service logic, and each Web application server is a Servlet container based on Java and is composed of a session sharing processing request filter, a session data processing unit, a session data temporary storage unit and a service logic processing unit; the cache server is used for storing session data. According to the session data sharing system and method, the session data are stored into the cache server and can be shared by the Web application servers, so that memory occupation of the Web application servers is reduced; loss of the session data on the Web application servers can be avoided, the problems of loss of network performance and inconsistency of the session data caused by session data replication between cluster nodes can be avoided, the session data access speed is increased, and the session data processing performance is improved.

Description

technical field [0001] The invention belongs to the field of computer application technology, in particular to a system and method for sharing session data. Background technique [0002] Network applications are all stateless. For these applications, the client cannot be identified, so the access status of the client using the application cannot be known. In order to ensure that the application client is identifiable and stateful during access, most network applications currently use sessions. [0003] A session in a network application refers to the period from when a user opens an application through an Internet application client (such as a browser) until closing the client. The network application uses a session identifier to mark the client, while the network application uses Use the session data corresponding to the session ID to record the state data of the client. Through session data, web applications can maintain client state data (common state data includes logi...

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
IPC IPC(8): H04L29/06H04L12/58
CPCH04L67/02
Inventor 高宝文
Owner SHANGHAI HANDPAL INFORMATION TECH SERVICE
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