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

Method and apparatus for managing web application program conversation

A session management and web application technology, applied in the field of network transmission, can solve the problem of not guaranteeing the timely clearing of sessions, and achieve the effect of good scalability and high availability

Active Publication Date: 2007-04-18
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF0 Cites 46 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to solve the problem that the existing technology is implemented on the user end, and the user cannot ensure that the session is cleared in time if the user disables it, and provides an effective session management device and method

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 and apparatus for managing web application program conversation
  • Method and apparatus for managing web application program conversation
  • Method and apparatus for managing web application program conversation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Please refer to the first embodiment of the session management method of the present invention shown in FIG. 2. The specific implementation includes the following steps:

[0040] Step 201: Obtain the request sent by the client to the Web application;

[0041] Step 202: Judge whether the request is a real-time refresh request, if it is a real-time refresh request, go to step 211, if not, judge that the request is a user active access request, and go to step 203;

[0042] Step 203: Determine whether the user's active access request is the initial request of a session according to whether the session information is saved, if yes, go to step 204, otherwise go to step 205;

[0043] Step 204: Save the session information, and jump to step 210;

[0044] Step 205: Obtain the time of the previous user's active access request in the session, and use the current access time to subtract the difference between the time interval between the two requests obtained at the last access time;

...

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 provides a session management method of Web application program, obtaining the request that user end sends to Web application, determining real-time refresh request and user actively sent access request in the obtained request, at any time after the user active access request or at the time of the next user active access request, calculating the interval between the adjacent user active access requests, or calculating the interval between the time of the user active access request and the current time, determining wheter the calculated time interval exceeds the preset overtime interval: if yes, determining the session overtime and ending the session, and eliminating session information. And the invention also provides a session management device of Web application program. The invention makes session management with respect to the user request, having high availability, reliability and maintainability.

Description

Technical field [0001] The present invention relates to the field of network transmission technology, and specifically refers to a method and device for web application session management. Background technique [0002] Web applications are currently the mainstream type of network applications, which are deployed in a Web application server to control user browser access to the network. A series of requests sent by the user's browser to the Web application server is called a session. A session refers to all the requests during the entire period from when the user logs in to the Web application to log out of the Web application. [0003] Because the browser and the web application server communicate based on the connectionless HTTP protocol, the web application server cannot save the information requested by the user last time to the user's next request, while the session provides a way to save user information Function: When a user requests to start a session each time, the sessio...

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/06
Inventor 刘焱
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More