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

Session management method and server

A session management and server technology, which is applied in the field of communication, can solve problems such as unfavorable normal processing of other businesses, increase of server processing load, large storage space, etc., and achieve the effect of improving management quality, reducing processing load, and improving processing efficiency

Inactive Publication Date: 2017-07-21
NUBIA TECHNOLOGY CO LTD
View PDF5 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is: the existing session management scheme can only manage the session based on the device identifier or the IP address of the client login. When the same user account logs in on different devices, this management method will The user account establishes multiple valid sessions, which increases the processing load of the server and occupies a larger storage space, which is not conducive to the normal processing of other services by the server

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

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0040] refer to figure 1 , figure 1 It is a schematic flowchart of the session management method provided in the first embodiment of the present invention, including the following steps:

[0041] S11: The server receives the login request sent by the client, and the login request includes a user ID.

[0042]In this embodiment, the server may specifically be an application server of a shopping mall, an application server of a bank, an application server of an airline, and the like. The server can accept the login request sent by the client. It should be noted that the login request includes the user ID, such as the account ID registered by the user on the website, and the login request also includes the user password of the user ID. Whether this login is legal can be verified according to the user ID and the corresponding user password, that is, whether the account number and password of the login are correct, so as to ensure that the login is initiated by the relevant user. ...

no. 2 example

[0077] This embodiment provides a session management method on the basis of the first embodiment, please refer to figure 2 , figure 2 It is a schematic flowchart of a session management method provided in the second embodiment of the present invention, including:

[0078] S21: The server receives the login request sent by the client.

[0079] Here, at least the user ID is included in the login request.

[0080] S22: The server judges whether the identity of the client logging in this time is legal, if yes, go to step S23, if not, end.

[0081]The login request also includes the user password of the user ID. The server can verify whether the login is legal according to the user ID and the corresponding user password, that is, verify whether the account number and password of the login are correct, so as to ensure that the login is done by associated user-initiated. The verification method is not limited here, and may be any existing verification method.

[0082] S23: The...

no. 3 example

[0092] This embodiment provides a server, please refer to image 3 , image 3 It is a schematic structural diagram of a server provided by the third embodiment of the present invention, the server 30 includes an acquisition module 31, a processing module 32, and a sending module 33:

[0093] Wherein, the acquiring module 31 is configured to acquire the user ID included in the login request sent by the client.

[0094] The processing module 32 is configured to search for a session ID corresponding to the user ID from a pre-stored correspondence table. The processing module 32 is used to search the session ID corresponding to the user ID from the correspondence table according to the user ID obtained by the obtaining module 31 . The correspondence table can be stored in the memory of the server itself, or can be stored through other storage devices, including but not limited to storage in the session server, database, etc., regardless of whether the correspondence table is sto...

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 and a server. The session management method comprises the steps that: the server receives a login request sent by a client side; the login request includes the user ID; the server searches the session ID corresponding to the user ID from a pre-stored corresponding relationship table; and, the server sends the session ID of an effective session to the client side while determining that the session associated with the session ID is effective. The problem that the server creates a new session for the user ID again when the session corresponding to the user ID is effective can be effectively avoided; therefore, the processing load of the application server can be reduced easily; the processing efficiency of the server is increased; furthermore, request and operation of the corresponding user ID also can be tracked by the server conveniently; and simultaneously, space occupation for storing the corresponding session and the session ID also can be reduced.

Description

technical field [0001] The present invention relates to the technical field of communications, and more specifically, to a session management method and a server. Background technique [0002] In the field of network technology, the "session" is also "session". Usually, a session in the web refers to the period of time from entering the website to closing the browser when the user browses a certain website. It is the time spent by users browsing the website. It can be seen from the above meaning that session can actually be understood as a specific concept of time. In terms of function, session is mainly used to save some useful information during the session between the client and the server in web applications, such as storing the user's login status and login time. [0003] When the user enters the application, the server will create a session for the client used by the user, and send the corresponding unique session ID (session ID) to the client. Whenever the user init...

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
Inventor 杨爱武
Owner NUBIA TECHNOLOGY 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