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

Network user status monitoring and searching method

A network user and query method technology, which is applied in the field of user status monitoring and query for network management, can solve the problems of insufficient speed and efficiency, and achieve the effect of ensuring uniqueness, high compatibility, and easy operation and understanding

Active Publication Date: 2017-06-13
厦门天锐科技股份有限公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (2) This method is not fast enough. When the server needs to determine whether the current user has logged in, because the key value is token, this value is the only symbol generated after successful login, and the value may have the same user name. Find out whether a user is When you are already logged in, you cannot quickly search through the key, you can only traverse all the values ​​​​of the Map collection for judgment
[0009] Secondly, judging whether the current user or client is online requires higher efficiency. The previous method of judging by traversal is obviously not efficient when the number of users is extremely large.

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
  • Network user status monitoring and searching method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The technical solutions and beneficial effects of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0031] Such as figure 1 As shown, the present invention provides a kind of monitoring method of network user state, comprises the following steps:

[0032] Step a1, define a two-dimensional flag array status[][] with a length of L in the server memory, where L is set to be greater than the expected number of network users to meet the needs of all users when logging into the server; mark the array The unit value of status[][] is initialized to 0 (unit bit), and the smallest unit bit of the computer is used to minimize the memory usage;

[0033] Step a2, in the database table, assign a unique integer user number uid to each user, which can be increased sequentially from 1 in actual operation, and define the integer type access attribute sid at the same time, sid has a total of n from 0 to n-1 An attribute state, for e...

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 network user status monitoring method. The method comprises the steps of defining two-dimensional marking array statuses [][] in a memory of a server and initializing a unit value as 0; allocating a unique user serial number uid to each user, defining n attribute statuses of an access attribute sid and setting whether the user is online or not as a user master status; when the user logs in, setting the unit value corresponding to the master status as 1, and setting the unit values of the marking arrays corresponding to the other n-1 attribute statuses according to actual condition of the user; and when the user logs out, restoring all unit values of the marking arrays to 0. The invention also discloses a network user status searching method. The method comprises the steps of searching the uid of the u ser in a database table; calling the corresponding marking array status [uid][sid]; and judging all attribute statuses of the user according to the unit values of the n marking arrays. According to the methods, the speed of searching the statuses by the user can be improved, and the occupied space of the memory of the server is reduced.

Description

technical field [0001] The invention belongs to the technical field of Internet communication, and in particular relates to a user status monitoring and query method for realizing network management. Background technique [0002] At present, with the rapid development of network technology, more and more offices rely on the Internet. For the convenience of file carrying, various network file management systems emerge in an endless stream. People are no longer limited to storing files in their own terminal computers. In order to improve the work efficiency and information security of employees in enterprises (units), most enterprises (units) control the office files of employees to a certain extent. It is inevitable that the employees of the enterprise will need to be mapped to an account in the network management system. [0003] Most of the document management systems we commonly use are composed of three parts: client, server, and console, and they often communicate in pai...

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): H04L12/26H04L29/06
CPCH04L43/00H04L63/08
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