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

Method, system and device for sharing session data

A technology of data and data storage unit, applied in the Internet field, can solve the problems of low efficiency of session data sharing, low efficiency of sharing session data, complex configuration of Web server cluster, etc., and achieve the effect of improving efficiency

Inactive Publication Date: 2014-01-01
ZICT TECH CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the above-mentioned method for sharing session data, since the data in the session sent by each web server in the web server cluster needs to be copied to other web servers, the session data is easily transmitted interactively in a network in the web server cluster. This will make the session data sharing less efficient; in addition, each web server in the web server cluster needs to know the location of other web servers, so that the configuration of the web server cluster is more complicated
[0005] It can be seen that the existing method for sharing session data requires all the web servers in the web server cluster to participate in session data sharing, resulting in low efficiency of sharing session data by the web server cluster, and the configuration of the web server cluster is relatively complicated

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
  • Method, system and device for sharing session data
  • Method, system and device for sharing session data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The basic idea of ​​the present invention is: when any Web server in the Web server cluster detects that it has received a request message, it determines whether the request content in the request message is a write operation request or a read operation request, and if it is For a write operation request, the Session field is updated according to the request message, and the updated Session field is sent to the Session storage server; if it is a read operation request, the corresponding Session field is extracted from the Session data according to the request message and sent to the corresponding client.

[0050] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0051] The present invention proposes a method for sharing session data, such as figure 1 shown, including the following steps:

[0052] Step 101: Any web server in the web server cluster detects whether it has received the r...

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 method for sharing session data. The method includes the first step of judging whether request content in a request message is a write operation request or a read operation request when any Web server in a Web server cluster detects that the Web server itself receives the request message, the second step of updating session fields according to the request message if the request content is the write operation request, and then sending the updated session fields to a session storage server, and the third step of extracting the corresponding session fields from the session data according to the request message if the request content is the read operation request, and then sending the corresponding session fields to corresponding clients. Meanwhile, the invention further discloses a system and device for sharing the session data. By the adoption of the method, system and device for sharing the session data, the sharing efficiency for the session data of the Web server cluster is improved, and moreover configuration of the Web server cluster is not increased.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a method, system and device for sharing session (Session) data. Background technique [0002] When a user uses a client to access any website, the client establishes a connection with any Web server in the network (Web) server cluster of the website, and the information saved in the Web server is from establishing a connection to disconnecting the client. All information generated during the period of opening the connection is a session (Session). The Session includes two parts, a Session variable and a Session identification number (ID, Identity), wherein the Session variable is stored in the Web server, and the Session ID is stored in the client. Described Web server preserves the Session with client and comprises: after Web server receives the request that client sends to start session, generates the Session ID corresponding to this session, and Session ID is sen...

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/06H04L29/08
Inventor 潘俊付章华祝明远
Owner ZICT 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