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

Method, device and system for storing and searching session information

A storage device and time information technology, applied in the Internet field, can solve problems such as failure of users to search for session information, inability to search for session information A, and inability to accurately search for session information.

Active Publication Date: 2016-08-24
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Assume that the user establishes another session through Web Server B for the second time. In the process of establishing another Session through Web Server B, the user wants to access the session information stored in the first session through Web Server A. A, can only be searched in the cache device B corresponding to Web Serve server B, and cannot directly find Session information A in Web Serve server A across Web Server servers, but Session information A is not stored in cache device B , which will cause users to fail to find Session information
[0006] To sum up, in the distributed session system proposed in the prior art, in a distributed network environment with clustered multi-web server servers, when a user initiates a session across multiple web server servers, there is a problem that the session information cannot be accurately found

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, device and system for storing and searching session information
  • Method, device and system for storing and searching session information
  • Method, device and system for storing and searching session information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Embodiment 1 of the present application proposes a Session system, including at least one service device and multiple first storage devices, wherein:

[0027] The service device is configured to receive a request from the user terminal for writing session information once, record the time information of receiving the request, and determine the time information at the time of recording according to the time information when each first storage device joins the system. The quantity of the first storage device that has been added to the system before the information, generate a numerical value for modulus and remainder, divide the generated numerical value for modulus and remainder with the determined quantity and take the remainder, and use the remainder as The identifier of the first storage device determines the corresponding first storage device based on the obtained identifier of the first storage device, writes the session information sent by the user terminal into the...

Embodiment 2

[0065] Implementation II of the present application Here, on the basis of the first embodiment above, a method for storing Session information is proposed, such as image 3 As shown, the specific process is as follows:

[0066] Step 31, receiving a request for writing session information sent by the user terminal through the Web Server.

[0067] Step 32: Record the time information of receiving the request, and then determine the number of first storage devices that have joined the system before the recorded time information according to the time information when each first storage device joined the Session system.

[0068] For example, assuming that the time information of receiving the request is 2010-01-03-10:45, in the time information recording table recording when each first storage device joins the Session system, it is determined at 2010-01-03-10: 45 The number of first storage devices that have been added to the Session system before.

[0069] Step 33, generating a nu...

Embodiment 3

[0084] On the basis of the first embodiment above, the third embodiment of the present application proposes a method for searching Session information, such as Figure 5 As shown, the specific process is as follows:

[0085] Step 51, receiving a request for searching Session information routed by a user terminal through a Web Server.

[0086] Step 52, when the request sent by the user terminal carries the time information corresponding to the Session information and the numerical value used for modulo calculation, determine the time information in the carried session according to the time information when each first storage device joins the system respectively. The number of first storage devices that have been added to the system before the time information.

[0087] Among them, in the request from the user terminal routed through the Web Server, the time information corresponding to the session information and the value used for modulus and remainder are extracted, and acco...

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, a device and a system for storing and searching Session information. The storing method comprises the following steps of receiving a request which is sent by a user terminal and is used for writing one Session information, recording the time information for receiving the request, determining the number of first storage devices which are already added in the system before the recorded time information according to the time information when each first storage device is added in the system, generating a numerical value which is used for calculating a modulus and extracting a remainder, extracting the remainder by dividing the generated numerical value by the determined number, taking the obtained remainder as a label of one first storage device, determining a corresponding first storage device, writing the Session information sent by the user terminal in the first storage device, and feeding back the recorded time information corresponding to the Session information and the numerical value which is used for calculating the modulus and extracting the remainder to the user terminal. The accuracy of visiting the Session information by a user is increased.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a method and device for storing and searching session information and a session system. Background technique [0002] A session in the Internet specifically refers to the time spent by a user browsing a certain website through a browser, and during this period, the user can write and read information to the server cache, and the information is only available in the preset session. It exists within the set valid time and will be deleted when it becomes invalid. That is, a Session needs to include a specific client, a specific server, and uninterrupted operation time. For example, the Session in which user A establishes a connection with server C is different from the session in which user B establishes a connection with server C. [0003] In order to improve the user's access speed, the data frequently operated by a certain user in a certain session is generally s...

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): G06F17/30H04L29/08
Inventor 彭渊
Owner ALIBABA GRP HLDG 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