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

Method, apparatus and system for on-line user amount statistic

A technology for the number of users and users, applied in the field of communication, can solve the problems of restricting system expansion, inability to apply multiple web servers, and restricting the development of network instant messaging services, etc.

Active Publication Date: 2011-06-15
浙江莲荷科技有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the latest access time is recorded in the memory, this method is only applicable to a single web server, but cannot be applied to multiple web servers, thus limiting the expansion of the system, and further limiting the further development of network instant messaging services

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, apparatus and system for on-line user amount statistic
  • Method, apparatus and system for on-line user amount statistic
  • Method, apparatus and system for on-line user amount statistic

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to reduce the performance consumption of the web server when it counts the number of online users and enhance the scalability of the system, in the embodiment of the present invention, during the user access process, the user terminal periodically sends a notification carrying the user identity to the web server message, when the Web server receives the notification message each time, the user's latest access time in the user online record stored in the database is updated to the current system time; For the corresponding latest access time, users whose latest access time belongs to the set time range are determined as online users, and the number of online users is counted. Obviously, by regularly notifying the Web server of the user's online status from the user terminal, the Web server can avoid the performance consumption caused by maintaining long connections. Enhanced system scalability.

[0023] Preferred embodiments of the present invention will be des...

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 counting the number of online users, which comprises the following steps: a user terminal regularly sends a notification message to a Web server, so as to notify the Web server user of the current online state of the user; and the Web server updates a recent visit time of the user in a user online record saved in a database to a current system time every time the Web server receives the notification message, and regularly confirms the corresponding recent visit time of each user according to the user online record thereof, determines the user whose recent visit time belongs to the preset time range as an online user, and counts the number of the online users. Therefore, the performance consumption of the Web server caused by maintaining long connectionis avoided to a certain extent, thereby guaranteeing good user experience, enhancing the expansibility of the system, and promoting further development of the instantaneous network communications service. The invention further discloses the Web server and a communications system.

Description

technical field [0001] The invention relates to the communication field, in particular to a method, device and system for counting the number of online users. Background technique [0002] With the development of network technology, various network instant messaging services are constantly emerging, for example, online chat rooms, online live broadcast rooms and so on. In order to facilitate the maintenance and upgrading of the system, it is necessary to carry out regular real-time statistics on the number of online users. In the prior art, the following two methods are usually used: [0003] The first method is: each user terminal maintains a persistent connection with the Web server on the network side by using the active control, and the Web server determines the number of real-time online users through the statistics of the number of persistent connections. At present, most network instant messaging services use This method counts the number of online users. However, th...

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): H04L12/24H04L12/26H04L12/14
Inventor 陈波
Owner 浙江莲荷科技有限公司
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