Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for determining whether client is on-line or not in B/S architecture

A client and S-architecture technology, applied in the network field, can solve the problems of users displaying online, inaccurate user statistics, browser crashes, etc., and achieve the effect of avoiding statistical defects

Inactive Publication Date: 2012-10-10
YONYOU NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This location-by-location scheme depends on the browser interface settings used by the user, and the operation mode is different (for example, some end users are accustomed to double-clicking the upper left icon to close the browser), and there are still great defects.
At the same time, special cases such as browser crashes and users killing processes by mistake cannot be solved
[0009] Based on the above existing solutions, there will be inaccurate statistics on the number of users, and users will be displayed online for a long time even though they log out. This is a big problem that cannot be ignored in commercial authorization applications.

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 system for determining whether client is on-line or not in B/S architecture
  • Method and system for determining whether client is on-line or not in B/S architecture
  • Method and system for determining whether client is on-line or not in B/S architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Hereinafter, the invention according to the present invention will be described in detail with reference to the accompanying drawings.

[0027] figure 1 A flowchart showing a method for determining whether a client is online in a B / S architecture according to the present invention.

[0028] The method includes: step 102, when the client sends a pre-logout request to the server, the server puts the pre-logout request in the pre-logout session queue; and step 104, the server periodically polls the Pre-logout session queues and normal session queues to determine if the client is online.

[0029] In the above technical solution, preferably, the server regularly polls the pre-logout session queue and the normal session queue to determine whether the client is online includes: the server side determining the pre-logout session queue and the Whether the session in the normal session queue is expired; if there is an expired session, delete the expired session.

[0030] In th...

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 method for determining whether a client is on-line or not in a B / S architecture, which comprises the following steps: when a client sends a pre-logout request to a server, the server puts the pre-logout request into a pre-logout session queue; and the server periodically polls the pre-logout session queue and a normal session queue to determine whether the client is on-line or not. By adopting the scheme, no matter what the type of a browser used by a user and in which mode the user exits, an authorized control component can acquire the accurate number of on-line users by calling interfaces based on the scheme, thereby realizing commercial authorization.

Description

technical field [0001] The present invention relates to network technology, and more specifically relates to a method and a system for determining whether a client is online in a B / S structure. Background technique [0002] Commercial B / S application software often needs to be authorized for the number of online users, which requires real-time and accurate statistics of the current number of online users. However, the traditional solution cannot make accurate statistics on the user's operating habits and terminal emergencies. Can only be a rough estimate based on the number of user sessions on the server side. [0003] With the rapid development of web2.0 technology, browser-based applications are becoming larger and more complex. Most of the commercial software is faced with the problem of end-user authorization control. Since traditional web applications identify the user's login status by maintaining a "session" on the server side, it is necessary for the terminal brow...

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): H04L29/08
Inventor 邓君涛
Owner YONYOU NETWORK TECH CO LTD