CN106027289B - User Status statistical system and method - Google Patents

User Status statistical system and method Download PDF

Info

Publication number
CN106027289B
CN106027289B CN201610304635.XA CN201610304635A CN106027289B CN 106027289 B CN106027289 B CN 106027289B CN 201610304635 A CN201610304635 A CN 201610304635A CN 106027289 B CN106027289 B CN 106027289B
Authority
CN
China
Prior art keywords
user
message
request
ready
user terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610304635.XA
Other languages
Chinese (zh)
Other versions
CN106027289A (en
Inventor
段兵营
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610304635.XA priority Critical patent/CN106027289B/en
Publication of CN106027289A publication Critical patent/CN106027289A/en
Application granted granted Critical
Publication of CN106027289B publication Critical patent/CN106027289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/142Network analysis or design using statistical or mathematical methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0695Management of faults, events, alarms or notifications the faulty arrangement being the maintenance, administration or management system

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Algebra (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of User Status statistical system and methods, it is at least able to solve traditional single machine statistical and is unable to satisfy the extensive increased requirement of Internet user because being limited to the processing speed and memory size of individual server, and do not support extension, calamity for ineffective technical problem.The User Status statistical system includes: server cluster, and the SSDB database being connected with server cluster, wherein, server cluster includes multiple server nodes, each server node is respectively used to handle that each user terminal sends gets request ready, and User Status message is generated according to request is got ready, User Status message is supplied to SSDB database;The User Status message that SSDB database is used to provide each server node counts, and is generated according to statistical result and stores user state information.

Description

User Status statistical system and method
Technical field
The present invention relates to network communication technology fields, and in particular to a kind of User Status statistical system and method.
Background technique
With reaching its maturity for Internet technology, the type and quantity of network application are also more and more, occur a variety of more Network application of sample, such as online game, network direct broadcasting etc..In order to preferably provide service for user, these network applications Provider generally requires to count User Status.
Currently, being to be received by an individual server node from online user's terminal in counting user state Get request ready, acquisition is wherein included to get data ready, and gets basis ready user state information that data obtain and be saved in memory In.When needing to inquire the state of certain user, user state information and feedback query are read from memory by the server node As a result.
Since current user state information uses memory storage mode, it can only realize that user is online by single machine The statistics of state.However, the mode of single machine statistics is only applicable in the lesser application scenarios of user's magnitude, with Internet user Increase, online user's quantity of a network application reaches millions even hundreds of millions grades of magnitude easily, is individually serviced The restriction of the processing speed and memory size of device, traditional single machine statistical can not support so huge user volume.And And this single machine statistical stored based on memory can not also be supported to extend: if the service that will be used for counting user state Device expand to it is two or more, since each server stores user state information by respective memory respectively, so, when When needing to inquire the state of certain user, it can not determine that this is inquired from which server.It can be seen that traditional single machine is united Meter mode is unable to satisfy the demand that Internet user increases on a large scale.Moreover, in the mode of single machine statistics, if the clothes Business device failure, will result directly in the interruption of statistic processes.
It can be seen that in traditional implementation, the restriction of the memory size by individual server leads to not unite The user number of big magnitude is counted, and does not support extension, calamity for ineffective.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the user online status statistical system and method for problem.
According to one aspect of the present invention, a kind of User Status statistical system is provided, comprising: server cluster, and The SSDB database being connected with server cluster, wherein server cluster includes multiple server nodes, each server node It is respectively used to handle the request of getting ready of each user terminal transmission, and generates User Status message according to request is got ready, by user Status message is supplied to SSDB database;The User Status message that SSDB database is used to provide each server node into Row statistics, generates according to statistical result and stores user state information.
Optionally, User Status message includes user's on-line message and user offline message, and each user terminal is at it During online, once request is got ready every prefixed time interval transmission, then each server node is specifically used for: whenever receiving After what user terminal was sent gets request ready, judge whether to be stored with the timer corresponding to the user terminal, if it is judged that Be it is yes, then according to this get ready request to correspond to the user terminal timer send continue instruction;If it is judged that being No, then creation corresponds to the timer of the user terminal, and generates user's on-line message for the user terminal;Wherein, each clothes Business device node is constantly monitored each timer being locally stored, whenever monitoring in preset time-out time threshold value When not receiving the timer for continuing instruction, which is destroyed, and generates and uses for user terminal corresponding to the timer The offline message in family.
Optionally, getting ready in request includes application message field, and application message field further comprises multiple respectively refers to Show the subfield of the application message of different dimensions, then further comprises multiple son timings corresponding to the timer of a user terminal Device, each sub- timer correspond respectively to the status information of different dimensions;Also, user's on-line message further comprises each dimension The corresponding user's on-line message of degree, and user offline message further comprises user offline message corresponding to each dimension.
Optionally, system further comprises: public message Queue module and back end processing module, wherein each service The User Status message that device node is used to generate is stored into public message Queue module, and back end processing module is for reading public affairs User Status message in message queue module altogether, and stored according in the User Status message modification SSDB database read User state information.
Optionally, server cluster further comprises: at least one reverse proxy module, whole for receiving each user What end was sent gets request ready, obtain get ready request in include user identifier, by preset hash algorithm to user identifier into Row calculates, and each get ready is requested assignment to each server node processing according to calculated result.
Optionally, reverse proxy module is further used for: the working condition of each server node is detected, when detecting out When the server node of existing failure, the server node to break down is deactivated;And when detecting fault recovery, reactivate out The server node of existing failure.
Optionally, system further comprises: the query service device being connected with SSDB database, for being looked into according to what is received Request is ask, inquires the user state information stored in SSDB database, and return to query result corresponding with the inquiry request; Also, query service device is further used for: the online number of user of each dimension of each application of monitoring and/or application works as prison When the change rate of the online number of the user measured is greater than preset threshold, prompt messages are issued.
Optionally, getting ready in request includes application type field, then server node is further used for: according to application type User Status message is pushed to the application of corresponding types by field.
Optionally, getting request ready is Asynchronous Request message.
Another aspect according to the present invention provides a kind of User Status statistical method, comprising: by server cluster Multiple server nodes handle that each user terminal sends get request ready;User Status message is generated according to request is got ready, User Status message is sent to SSDB database;The User Status that each server node is provided by SSDB database Message is counted, and is generated according to statistical result and is stored user state information.
Optionally, User Status message includes user's on-line message and user offline message, and each user terminal is at it During online, once request is got ready every prefixed time interval transmission, then basis gets the step that request generates User Status message ready Suddenly specifically include: whenever receive user terminal transmission get request ready after, judge whether to be stored with corresponding to the user terminal Timer, if it is judged that be it is yes, then according to this get ready request to correspond to the user terminal timer transmission prolong Continuous instruction;If it is judged that be it is no, then creation correspond to the user terminal timer, and for the user terminal generate user On-line message;Wherein, each server node is constantly monitored each timer being locally stored, whenever monitoring When not receiving the timer for continuing instruction in preset time-out time threshold value, which is destroyed, and be the timer institute Corresponding user terminal generates user offline message.
Optionally, getting ready in request includes application message field, and application message field further comprises multiple respectively refers to Show the subfield of the application message of different dimensions, then further comprises multiple son timings corresponding to the timer of a user terminal Device, each sub- timer correspond respectively to the status information of different dimensions;Also, user's on-line message further comprises each dimension The corresponding user's on-line message of degree, and user offline message further comprises user offline message corresponding to each dimension.
Optionally, the step of User Status message being sent to SSDB database specifically includes: each server node will The User Status message of generation is stored into preset public message Queue module, is disappeared by preset back end processing module by public User Status message in breath Queue module is supplied to SSDB database.
Optionally, request is got ready by what multiple server nodes in server cluster handled that each user terminal sends The step of specifically include: get request ready by what at least one reverse proxy module received that each user terminal sends, obtain and beat The user identifier for including in point request, calculates user identifier by preset hash algorithm, will be each according to calculated result A get ready requests assignment to each server node processing.
Optionally, method further comprises step: the work shape of each server node is detected by reverse proxy module State deactivates the server node to break down when detecting the server node of failure;And detecting fault recovery When, reactivate the server node of failure.
Optionally, method includes: to inquire the User Status letter stored in SSDB database according to the inquiry request received Breath, and return to query result corresponding with the inquiry request;Also, method further comprises: monitoring is each to apply and/or answers The online number of the user of each dimension is issued when the change rate of the online number of the user monitored is greater than preset threshold Prompt messages.
Optionally, getting ready in request includes application type field, then method further comprises step: according to application type word User Status message is pushed to the application of corresponding types by section.
Optionally, getting request ready is Asynchronous Request message.
In User Status statistical system provided by the invention and method, by the inclusion of the server of multiple server nodes Cluster receives the request of getting ready from each user terminal, and generates User Status message according to request is got ready, by user's shape State message is supplied to SSDB database, so that SSDB database root safeguards user state information according to User Status message.Thus may be used See, in the present invention, server node is realized by cluster form, and quantity is multiple, it is thus possible to each use of parallel processing What family terminal was sent gets request ready, and the processing speed of server node greatly improved, shorten the response time, can take simultaneously It is engaged in more user terminals.In addition, since user state information is stored in SSDB database, rather than it is stored in server section In the memory of point, therefore, the quantity of server node included in above-mentioned server cluster can be adjusted flexibly: work as number of users When measuring more, more users can be served by one server node of mounting;When number of users is few, one can be extractd A server node is with save the cost.It can be seen that mode provided by the present application have stronger scalability, system design compared with It is flexible.In addition to this, when some server node fault, other server nodes can still ensure whole system Operate normally, therefore, mode provided by the present application have the function of stronger calamity for.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the structure chart of User Status statistical system provided by one embodiment of the present invention;
Fig. 2 shows the structure charts for the User Status statistical system that another specific embodiment of the present invention provides;
Fig. 3 shows the flow chart of User Status statistical method provided by one embodiment of the present invention;
Fig. 4 shows the flow chart for the User Status statistical method that a specific embodiment of the invention provides.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of User Status statistical system and methods, are at least able to solve traditional single machine system Meter mode is unable to satisfy Internet user because being limited to the processing speed and memory size of individual server and increases on a large scale Demand, and do not support extension, calamity for ineffective technical problem.
Fig. 1 shows the functional block diagram of User Status statistical system provided by one embodiment of the present invention.As shown in Figure 1, The User Status statistical system includes: server cluster 11, and the SSDB database 12 being connected with server cluster 11.Its In, server cluster 11 includes multiple server nodes 10, and each server node 10 is respectively used to handle each user terminal What is sent gets request ready, and generates User Status message according to request is got ready, and User Status message is supplied to SSDB database 12;The User Status message that SSDB database 12 is used to provide each server node 10 counts, according to statistical result It generates and stores user state information.
It can be seen that in the present invention, server node is realized by cluster form, and quantity is multiple, it is thus possible to What each user terminal of parallel processing was sent gets request ready, and the processing speed of server node greatly improved, and shortens response Time can serve more user terminals simultaneously.In addition, since user state information is stored in SSDB database, and Non-memory is in the memory of server node, and therefore, the quantity of server node included in above-mentioned server cluster can be with It is adjusted flexibly: when number of users is more, more users can be served by one server node of mounting;Work as number of users When amount is few, a server node can be extractd with save the cost.It can be seen that mode provided by the present application have it is stronger can Scalability, system design are more flexible.In addition to this, when some server node fault, other server nodes are still Can ensure the normal operation of whole system, therefore, mode provided by the present application have the function of stronger calamity for.
Fig. 2 shows the structural schematic diagrams for the User Status statistical system that a specific embodiment of the invention provides.Such as Fig. 2 It is shown, the system include: server cluster 20, public message Queue module 21, back end processing module 22, SSDB database 23 with And query service device 24.Wherein, server cluster 20 further includes: the first reverse proxy module 201, the second reverse proxy Module 202, first server node 203, second server node 204 and third server node 205.Below with reference to Fig. 2 All parts/module the specific structure and function of the system is discussed in detail:
Server cluster 20 can get request ready by what multiple server node parallel processing a large number of users terminals were sent, And User Status message is generated according to request is got ready.Specifically, in the present embodiment, by the first reverse proxy module 201 and Two reverse proxy modules 202 come receive a large number of users terminal transmission get request ready.Wherein, each user terminal is in its online phase Between, once request is got ready every prefixed time interval transmission, to show that it is currently at presence.First reverse proxy module 201 and second reverse proxy module 202 can be realized by two individual Nginx Reverse Proxies.Reverse proxy The function of module mainly user terminal of the reception from front end gets request ready, and will get request ready and be sent to server cluster In each server node.In addition, those skilled in the art can also quantity to reverse proxy module and concrete form into Row flexibly change, for example, one or more reverse proxy modules can be set, in addition, reverse proxy module can also use The network servers of other forms is realized.Moreover, reverse proxy module is in addition to realizing it using individual network server Outside, it can also be directly integrated on each server node, for example, the first reverse proxy module 201 is directly integrated in first On server node 203, the second reverse proxy module 202 is directly integrated on second server node 204.In addition, at this It invents in other embodiments, those skilled in the art also can be omitted the first reverse proxy module 201 and the second reverse proxy Module 202, user terminal is directly received by each server node gets request ready.
The function of reverse proxy module is including at least following two o'clock: first, reverse proxy module can be whole by multiple users The request of getting ready sent is held to distribute to each server node according to certain rules, so that each server node is mutually parallel Work improves throughput of system so as to handle the request of mass users terminal simultaneously, reduces processing delay, and approximate real The effect of existing load balancing.For this purpose, each reverse proxy module receive user terminal transmission get request ready after, obtain this It gets the user identifier for including in request ready, the user identifier is calculated by preset hash algorithm, and tied according to calculating Each get ready is requested assignment to each server node processing by fruit.Other than using hash algorithm, it can also be calculated using random Method gets request ready to distribute, alternatively, each server node processing can also be successively issued in the request of getting ready that each time receives. In addition, since each server node needs to carry out persistence maintenance to the state of user terminal, it is therefore preferred that same user Request is got in each time of terminal transmission, which ready, should distribute to same server node processing, for example, it is assumed that user terminal A was sent for the first time Get ready request handled by first server node 203, then the subsequent transmission of the user terminal A get ready request all should be by first service The processing of device node 203, if leading to the subsequent transmission of user terminal A due to distribution mistake or network transmission mistake etc. are all kinds of Certain once get ready and requested assignment to second server node 204, then second server node 204 passes through preset Hash After algorithm calculates the user identifier, confirm that this is got request ready and should be handled by first server node 203, then second service Device node 204 gets this ready request and is transmitted to first server node 203.It can be seen that in the present embodiment, each service Device node itself is also equipped with the ability calculated the user identifier got ready in request, therefore can ensure same user terminal What is sent gets request for each time ready by the processing of same server node, consequently facilitating server node to the state of user terminal into Row persistence maintenance.
Second, reverse proxy module can also detect the working condition of each server node, break down when detecting Server node when, deactivate break down server node;And when detecting the fault recovery, go out before reactivating The server node of existing failure.Thereby, it is possible to improve the robustness of system, shadow due to a certain server node breaks down is prevented The normal operation for ringing whole system, makes system have preferable calamity for effect.For example, reverse proxy module 201 is to server section Point is sent get request ready after, it is desirable that server node returns to confirmation data packet, if a certain server node is at the appointed time not Confirmation data packet is returned to, then reverse proxy module determines that corresponding server node breaks down, to temporarily deactivate the service Script is switched to other server nodes processing by the request of getting ready that the server node is handled by device node.In addition, can also Detect whether each server node goes out in a manner of periodically sending heartbeat packet to reverse proxy module by server node Existing failure.
Each server node receives get request ready after, the state of corresponding user terminal is carried out according to request is got ready Maintenance, and User Status message is generated according to the state of user terminal.Specifically, server node can be according to User Status text Part safeguards the state of each user terminal.Wherein, profile file can be realized by diversified forms such as dictionary, logs, Wherein have recorded state recording corresponding to all user terminals being online.When server node receives user's end After what end was sent gets request ready, the user identifier got ready and include in request is obtained, and inquire in preset profile file Whether state recording corresponding to the user identifier is included.If having inquired user mark in preset profile file Know corresponding state recording, illustrates that the user terminal is online and is online;If in preset User Status State recording corresponding to the user identifier is not inquired in file, illustrates that the user terminal is just online, correspondingly, for the use The User Status message that family terminal generates is user's on-line message.
It is each in order to more efficiently monitor except state of the profile file to safeguard each user terminal It is whole can also to record each user in the present embodiment by timer for the online movement and offline movement of a user terminal The state at end.Correspondingly, whenever server node receive user terminal transmission get request ready after, judge whether to be stored with pair Should in the timer of the user terminal, if it is judged that be it is yes, illustrate that the user terminal has been online, then basis This, which is got request ready and sends to the timer for corresponding to the user terminal, continues instruction;If it is judged that be it is no, illustrate the use Family terminal is just online, then creation corresponds to the timer of the user terminal, and generates user's on-line message for the user terminal; Wherein, each server node is constantly monitored each timer being locally stored, whenever monitoring preset super When time threshold in when not receiving the timer for continuing instruction, which is destroyed, and be use corresponding to the timer Family terminal generates user offline message.It can be seen that by timer can monitor each user terminal online movement and Offline movement, and on the subscriber terminal line when generate user's on-line message, when user terminal is offline generate user offline message. User Status message can also be further included and be used to indicate in addition to comprising above-mentioned user's on-line message and user offline message User terminal is currently in user's online message of presence etc..
In the present embodiment, each server node stores the User Status message of generation to public message Queue module In 21.Wherein, public message Queue module is used to orderly store User Status message by public message queue, can To be realized by an individual server, also can integrate on SSDB database.Public message queue is a kind of advanced elder generation Distributed Message Queue out, can be in message transmitting procedure as the container for saving message, to mention for program or component For asynchronous communication mechanism, makes sender and recipient need not be online simultaneously, need not also understand other side, so that it may which mutually transmission disappears Breath.In the present embodiment, the User Status message that each server node generates is carried out by public message Queue module 21 Unified storage.The User Status message being stored in public message Queue module 21 is responsible for processing by back end processing module 22.Tool Body, back end processing module 22 can be realized by a process on server.Back end processing module 22 and public message It can be communicated by various ways such as subscribing mode or ad hoc modes between Queue module 21.Whenever public message queue When storing new User Status message in module 21, the responsible reading User Status message of back end processing module 22, and according to The user state information stored in the User Status message modification SSDB database.For example, read when back end processing module When User Status message is user's on-line message, then increase the online status information of relative users terminal in SSDB database; When the User Status message that back end processing module is read is user offline message, then deletes in SSDB database and mutually apply The online status information of family terminal.
The instruction that SSDB database 23 is responsible for being sent according to back end processing module is stored and is tieed up to user state information Shield.The specifying informations such as on-line time, downtime, the online hours of each user terminal are had recorded in SSDB database.By It is high-performance data library server in SSDB server, is capable of providing memory type storage service, and support dilatation, can deposit Dilatation storage scheme is realized by one SSDB server of mounting when storing up off-capacity, to realize the freedom of memory capacity Extension.Therefore, the user state information of magnanimity can be stored by SSDB database.
Query service device 24 can inquire the User Status stored in SSDB database 23 according to the inquiry request received Information, and return to query result corresponding with the inquiry request.Wherein, it is whole can not only to inquire each user for query service device The information such as current state, the online hours at end, additionally it is possible to carry out the inquiry of various dimensions, polymorphic type.
The inquiry of so-called various dimensions is the information for referring to inquire each dimension of a certain concrete application.For example, with game For for, which includes at least the application message that platform, game and area take these three different dimensions;For another example, with bear Cat live streaming application for for, this application include at least terminal type (such as PC web terminal and Android end), room number the two not With the application message of dimension.In order to provide the inquiry of multiple dimensions, firstly, it is necessary to be sent in user terminal mentioned above Get ready request in include multiple dimensions information, for example, get ready request for "/Hit/Proc? uid=&loc=&prj=& Sec=&other=", wherein " loc " field is application message field, which further comprises multiple indicating respectively difference The subfield of the application message of dimension.
Assuming that certain user terminal A is loc=youxi in the application message field got ready in request that morning 10:00 is sent | dzz | s1, the interior field includes three subfields, is separated between each subfield with vertical line, and first subfield " youxi " is used In indicating that sending this user terminal A for getting request ready is currently in gaming platform presence, second subfield " dzz " is used Sending current online game name of user terminal that this gets request ready in expression is " big dominant force ", third subfield " s1 " For indicating that sending the current online area's clothes of user terminal that this gets request ready is " area s1 clothes ".Server node receives this It is secondary get request ready after, need to create corresponding timer A for user terminal A, be online with indicating user terminal A, be User terminal A is clearly shown in the online situation of each dimension of application, the timer A that server node is created is also It needs to further comprise three sub- timers, wherein sub- timer A1 is in for recording user terminal A in morning 10:00 Gaming platform presence, it is " big in gaming platform in morning 10:00 that sub- timer A2 is used to record user terminal A Dominate " game presence, it is " big main in gaming platform in morning 10:00 that sub- timer A3 is used to record user terminal A Area " s1 " in government official " game takes presence.
Assuming that the user terminal A is loc=youxi in the application message field got ready in request that morning 10:10 is sent | dzz | s2, it can thus be seen that the area s2 for the big dominant force game that user terminal A is in gaming platform takes presence.Service Device node receives after this gets request ready, is that the corresponding timer A of user terminal A sends and continues instruction, to continue timer A Life cycle, so that indicating user terminal A is still within presence.In addition, since user terminal A is still in game Therefore platform presence sends for sub- timer A1 and continues instruction, so that indicating user terminal A is still within gaming platform Presence.Since user terminal A is still in game " big to dominate " presence, it sends and continues for sub- timer A2 Instruction, so that indicating user terminal A is still within the presence of " big to dominate " game in gaming platform.But due to Family terminal A has changed to the area s2 from the area s1 clothes and has taken, and therefore, sub- timer A3 is destroyed, to show the user terminal A area Bu s1 Clothes, and sub- timer A3 ' is re-created, sub- timer A3 ' is flat in game in morning 10:10 for recording user terminal A Area " s2 " in " big to dominate " game of platform takes presence.
Assume that the user terminal A gets the application message field in request ready what morning 10:20 was sent as loc=again Youxi | hazg | s1, it can thus be seen that the area the s1 clothes that user terminal A is in " light of dark " game in gaming platform exist Linear state.Server node receives after this gets request ready, is that the corresponding timer A of user terminal A sends and continues instruction, To continue the life cycle of timer A, so that indicating user terminal A is still within presence.In addition, due to user terminal A It is still in gaming platform presence, therefore, continues to send continuity instruction for sub- timer A1, thus indicating user terminal A It is still within gaming platform presence.Since user terminal A has dropped out game " big to dominate ", sub- timer A2 is sold Ruin, and re-create sub- timer A2 ', sub- timer A2 ' be used for record user terminal A be in gaming platform " dark The presence of light " game.Similarly, since user terminal A has dropped out the big area the s2 clothes for dominating game, by sub- timer A3 ' is destroyed, and re-creates sub- timer A3 ", and sub- timer A3 " is for recording user terminal A in morning 10:20 in trip Area " s2 " in " light of dark " game of play platform takes presence.
Correspondingly, in above process, the User Status message that server node generates also further comprises multiple dimensions Status message.For example, when receive user terminal A morning 10:00 send after getting request ready, server node generate use In the online user's on-line message of indicating user terminal A, meanwhile, it further comprise multiple dimensions in user's on-line message Sub- message, for example, the first sub- message is used to indicate, user terminal A is online in gaming platform, and the second sub- message is used to indicate user Terminal A is online in the big dominant force game of gaming platform, and the sub- message of third is used to indicate user terminal A in the big dominant force of gaming platform The area s1 of game takes online.When receive user terminal A morning 10:10 send after getting request ready, server node is into one Step generation is used to indicate user terminal A and takes the sub- message of line in the area s1 of the big dominant force game of gaming platform, and for referring to Show that the area s2 of big dominant force game of the user terminal A in gaming platform takes online sub- message.Similarly, when receiving user terminal A Morning 10:20 send get request ready after, server node further generates and is used to indicate user terminal A in gaming platform It is big to dominate the offline sub- message of game and take the sub- message of line in the area s2 of the big dominant force game of gaming platform, and be used for Indicating user terminal A the dark of gaming platform the online sub- message of light game and be used to indicate user terminal A in game The area s1 of the light game of the dark of platform takes online sub- message.It can be seen that storing each of application in SSDB database The upper down status information of dimension, therefore, query service device can inquire user state information corresponding to a certain specific dimension, For example, can inquire certain user terminal gaming platform line duration, greatly dominate game (or light of dark etc. other swim Play) line duration and the line duration etc. that is taken in the area Fu Huo s2, the area s1 of a certain game.
The inquiry of so-called polymorphic type refers to that this system support counts User Status corresponding to a variety of application types And inquiry, for this reason, it may be necessary to further include application type field in getting request ready.For example, this system supports game application, bear Application, a variety of application types such as chat application is broadcast live in cat, when get ready request be "/Hit/Proc? uid=&loc=&prj=& When sec=&other=", the type of concrete application is indicated by " prj " field therein.Server node can pass through “http://hulk.corp.qihoo.net:8360/console/service/qconf" " qconf " field in address comes Configuration information corresponding to application type is set, for example, indicating to need to corresponding types when the value of " qconf " field is 1 Using pushing customer status message;When the value of " qconf " field is 0, indicate that the application push not needed to corresponding types is used Family status message.Specifically, the value of " qconf " field can be configured according to the specific requirements of application provider, for example, it is assumed that Game application provider wants to know about the real-time status of user, then can push use in real time to game application by server node Family up/down line message.
In addition, the query service device in this system is other than supporting the inquiry of various dimensions, polymorphic type, it is acceptable further The working condition of other modules in monitoring system, for example, query service device continues to monitor each dimension of each application and/or application The online number of the user of degree, when the change rate of the online number of user for certain dimension for monitoring a certain application or a certain application is big When preset threshold, then prompt messages are issued.For example, ought dominate greatly the online number of user of game the conventional period (such as Daytime) in when biggish fluctuation occurring suddenly, for example, it is online to fall to 100 people suddenly online from 10,000 people, then can speculate that this is There is failure in a certain module in system, such as a certain server node, therefore, by the real-time change for monitoring online number Rate can also play the role of warning note.
In conclusion in User Status statistical system provided in this embodiment, it being capable of real-time statistics a large number of users terminal Presence, further, it is possible to carry out various dimensions, the statistic of polymorphic type and inquiry.In addition, in the present system, Yong Huzhuan State information is not stored in the memory of server node, and is stored in the SSDB database of rear end, therefore, power system capacity It is not necessarily limited by the content of single server node, and the quantity of server node can neatly be increased according to actual needs Add or delete, keeps system design more flexible.In addition, in the present system, realizing front end by public message Queue module Asynchronous process between user terminal and server node and the SSDB database of rear end, user terminal can pass through asynchronous system Request is got in transmission ready, and rear end SSDB database is handled by asynchronous system, to enable user terminal and server node It is enough more efficiently to run.
Fig. 3 show another embodiment of the present invention provides User Status statistical method flow chart.It, should as shown in Fig. 3 Method specifically comprises the following steps:
Step S310: each getting ready for user terminal transmission is handled by multiple server nodes in server cluster and is asked It asks.
When specific implementation, each user terminal can be directly received and processed by each server node gets request ready. Each user terminal transmission can also be received by least one reverse proxy module gets request ready, and reverse proxy module obtains It gets the user identifier for including in request ready, user identifier is calculated by preset hash algorithm, it will according to calculated result Each get ready requests assignment to each server node processing.In short, by multiple server nodes can be realized parallel processing, The multiple effects such as redundancy backup.
Step S320: User Status message is generated according to request is got ready, User Status message is sent to SSDB data Library.
Wherein, User Status message includes user's on-line message and user offline message, and each user terminal its During line, is sent every prefixed time interval and once get request ready.Specifically, which can be accomplished in that often When receiving after getting request ready of user terminal transmission, judge whether to be stored with the timer corresponding to the user terminal, if Judging result be it is yes, then according to this get ready request to correspond to the user terminal timer send continue instruction;If sentenced Disconnected result be it is no, then creation corresponds to the timer of the user terminal, and is user terminal generation user's on-line message;Its In, each server node is constantly monitored each timer being locally stored, whenever monitoring in preset time-out When not receiving the timer for continuing instruction in time threshold, which is destroyed, and is user corresponding to the timer Terminal generates user offline message.In addition to using the implementation of timer, a variety of sides such as log, dictionary can also be flexibly used Formula safeguards user state information.
Step S330: the User Status message that each server node provides is counted by SSDB database, root Result generates and stores user state information according to statistics.
Specifically, the User Status message that each server node is sent can be directly received by SSDB database, it can also To be stored the User Status message of generation into preset public message Queue module by each server node, then by pre- If back end processing module the User Status message in public message Queue module is supplied to the SSDB database.In short, Those skilled in the art flexibly can realize this step using various ways.
The specific implementation details of above-mentioned steps can refer to the description of corresponding portion in an embodiment, and details are not described herein again.
Fig. 4 shows the flow chart for the User Status statistical method that another specific embodiment of the present invention provides.Such as Fig. 4 institute Show, this method specifically comprises the following steps:
Step S410: reverse proxy module receive user terminal transmission get request ready after, requested assignment to getting ready Framework interface module in one server node.
Wherein, the quantity of user terminal is multiple, and each user terminal can be by way of asynchronous communication to reversed generation Request is got in reason module transmission ready.Wherein, the form for getting request ready that user terminal is sent can be " online:80 (rid) ".
Specifically, system block diagram shown in Fig. 2 is referred to understand the method in the present embodiment.Reverse proxy module root Each get ready is requested assignment into each server node according to the user identifier for including in request is got ready.For example, it is assumed that this dozen Point requests assignment to first server node, then reverse proxy module is got this ready request and is sent in first server node Framework interface module (such as hero framework interface interface), the framework interface module is by preset port, such as " 9010 " Port gets request ready receive that reverse proxy module sends, for example, the form for getting request ready that reverse proxy module is sent is " 9010 (rid) ", indicating that this gets the destination address of request ready is 9010 ports.In addition, framework interface module can also be to reversed Proxy module returning response message or heartbeat packet, to show that the server node where it is in normal operating conditions.
Step S420: framework interface module will get the server node where request is sent to the framework interface module ready.
Specifically, the framework interface module on first server node is received by 9010 ports from reverse proxy mould Block get request " 9010 (rid) " ready after, send it at the first server node where the framework interface module Reason, the form for getting request ready that framework interface module is sent can be hit (rid).Wherein, the main function of framework interface module It is to provide unified communication interface to reverse proxy module, therefore, each server node is connect by framework interface module Receive the development cost got ready and request can significantly to save developer.
Step S430: server node handles the request of getting ready received, to generate User Status message, and will User Status message is sent to public message Queue module.
Specifically, server node receives get request ready after, the various ways such as dictionary, log, timer can be passed through To safeguard User Status.For example, whenever server node receive user terminal transmission get request ready after, judge whether to store Have the timer corresponding to the user terminal, if it is judged that be it is yes, illustrate that the user terminal has been online, then It gets request ready according to this and is sent to the timer for corresponding to the user terminal and continue instruction;If it is judged that being no, explanation The user terminal is just online, then creation corresponds to the timer of the user terminal, and online for user terminal generation user Message;Wherein, each server node is constantly monitored each timer being locally stored, whenever monitoring default Time-out time threshold value in when not receiving the timer for continuing instruction, which is destroyed, and for corresponding to the timer User terminal generate user offline message.It can be seen that can monitor the online dynamic of each user terminal by timer Make and offline movement, and on the subscriber terminal line when generate user's on-line message, user offline is generated when user terminal is offline Message.User Status message can also further include use in addition to comprising above-mentioned user's on-line message and user offline message User's online message etc. of presence is currently in indicating user terminal.
Step S440: the User Status message of storage is supplied to back end processing module by public message Queue module.
Wherein, public message Queue module is for orderly storing User Status message.Public message queue is one The Distributed Message Queue of kind first in first out, can be in message transmitting procedure as the container for saving message, to be program Or component provides asynchronous communication mechanism, makes sender and recipient need not be online simultaneously, need not also understand other side, so that it may phase Mutually transmission message.It can be more by subscribing mode or ad hoc mode etc. between back end processing module and public message Queue module Kind mode is communicated.Specifically, the content in public message queue can be subscribed to by back end processing module, correspondingly, whenever After public message queue is updated, back end processing module gets update message automatically, and reads public affairs according to update message Content in message queue altogether.
Step S450: back end processing module is according to the use stored in the User Status information updating SSDB database read Family status information.
Specifically, when the User Status message that back end processing module is read is user's on-line message, then in SSDB number According to the online status information for increasing relative users terminal in library;When the User Status message that back end processing module is read is user When offline message, then the online status information of relative users terminal is deleted in SSDB database.
Step S460: query service device inquires the user's shape stored in SSDB database according to the inquiry request received State information, and return to query result corresponding with the inquiry request.
Wherein, query service device can not only inquire the information such as the current state of each user terminal, online hours, moreover it is possible to Enough carry out the inquiry of various dimensions, polymorphic type.Specific query process is referred to the description of corresponding portion in an embodiment, this Place repeats no more.
In User Status statistical system provided by the invention and method, by the inclusion of the server of multiple server nodes Cluster receives the request of getting ready from each user terminal, and generates User Status message according to request is got ready, by user's shape State message is supplied to SSDB database, so that SSDB database root safeguards user state information according to User Status message.Thus may be used See, in the present invention, server node is realized by cluster form, and quantity is multiple, it is thus possible to each use of parallel processing What family terminal was sent gets request ready, and the processing speed of server node greatly improved, shorten the response time, can take simultaneously It is engaged in more user terminals.In addition, since user state information is stored in SSDB database, rather than it is stored in server section In the memory of point, therefore, the quantity of server node included in above-mentioned server cluster can be adjusted flexibly: work as number of users When measuring more, more users can be served by one server node of mounting;When number of users is few, one can be extractd A server node is with save the cost.It can be seen that mode provided by the present application have stronger scalability, system design compared with It is flexible.In addition to this, when some server node fault, other server nodes can still ensure whole system Operate normally, therefore, mode provided by the present application have the function of stronger calamity for.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize some or all portions in device according to an embodiment of the present invention The some or all functions of part.The present invention is also implemented as a part or complete for executing method as described herein The device or device program (for example, computer program and computer program product) in portion.It is such to realize program of the invention It can store on a computer-readable medium, or may be in the form of one or more signals.Such signal can be with It downloads from internet website, is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (16)

1. a kind of User Status statistical system, comprising: server cluster, and the SSDB data being connected with the server cluster Library, wherein
The server cluster includes multiple server nodes, and each server node is respectively used to whenever receiving user terminal After what is sent gets request ready, judge whether to be stored with the timer corresponding to the user terminal, if it is judged that being yes, then root It gets request ready according to this and is sent to the timer for corresponding to the user terminal and continue instruction;If it is judged that be it is no, then create User's on-line message is generated corresponding to the timer of the user terminal, and for the user terminal;Wherein, each server node is held Continuous ground is monitored each timer being locally stored, and prolongs whenever monitoring not receive in preset time-out time threshold value When the timer of continuous instruction, which is destroyed, and generates user offline message for user terminal corresponding to the timer, The SSDB database will be given comprising the User Status message of user's on-line message and user offline message;
Wherein, each user terminal sends every prefixed time interval during it is online and once gets request ready;
The User Status message that the SSDB database is used to provide each server node counts, according to statistical result It generates and stores user state information.
2. system according to claim 1, wherein described get ready includes application message field, and the application in request Information field further comprises the subfield of multiple application messages for indicating respectively different dimensions, then corresponds to a user terminal Timer further comprise multiple sub- timers, each sub- timer corresponds respectively to the status information of different dimensions;Also, User's on-line message further comprises user's on-line message corresponding to each dimension, and the user offline message is into one Step includes user offline message corresponding to each dimension.
3. system according to claim 1, wherein the system further comprises: public message Queue module and after Hold processing module, wherein the User Status message storage that each server node is used to generate to the public message queue In module, the back end processing module is used to read the User Status message in the public message Queue module, and according to reading The user state information stored in SSDB database described in the User Status message modification got.
4. system according to claim 1, wherein the server cluster further comprises: at least one reversed generation Module is managed, request is got ready for receive that each user terminal sends, gets the user identifier for including in request described in acquisition ready, it is logical It crosses preset hash algorithm to calculate the user identifier, each get ready is requested assignment to by each clothes according to calculated result Business device node processing.
5. system according to claim 4, wherein the reverse proxy module is further used for: detecting each server The working condition of node deactivates the server node of the failure when detecting the server node of failure;And When detecting the fault recovery, the server node of the failure is reactivated.
6. system according to any one of claims 1-5, wherein the system further comprises: with the SSDB number According to the query service device that library is connected, for inquiring the user stored in the SSDB database according to the inquiry request received Status information, and return to query result corresponding with the inquiry request;
Also, the query service device is further used for: the user of each dimension of each application of monitoring and/or application is in informant Number issues prompt messages when the change rate of the online number of the user monitored is greater than preset threshold.
7. system according to claim 1, wherein described get ready includes application type field, the then service in request Device node is further used for: User Status message is pushed to the application of corresponding types according to the application type field.
8. system according to claim 1, wherein described to get request ready as Asynchronous Request message.
9. a kind of User Status statistical method, comprising:
Request is got ready by what multiple server nodes in server cluster handled that each user terminal sends;
Whenever receive user terminal transmission get request ready after, judge whether to be stored with the timing corresponding to the user terminal Device, if it is judged that be it is yes, then according to this get ready request to correspond to the user terminal timer send continue instruction; If it is judged that be it is no, then creation corresponds to the timer of the user terminal, and generates for the user terminal that user is online disappears Breath;Wherein, each server node is constantly monitored each timer being locally stored, whenever monitoring preset When not receiving the timer for continuing instruction in time-out time threshold value, which is destroyed, and for corresponding to the timer User terminal generates user offline message, and the User Status message comprising the online information of user and user offline information is sent to SSDB database;
Wherein, each user terminal sends every prefixed time interval during it is online and once gets request ready;
The User Status message that each server node provides is counted by SSDB database, is generated according to statistical result And store user state information.
10. according to the method described in claim 9, wherein, described get ready includes application message field in request, and the application Information field further comprises the subfield of multiple application messages for indicating respectively different dimensions, then corresponds to a user terminal Timer further comprise multiple sub- timers, each sub- timer corresponds respectively to the status information of different dimensions;Also, User's on-line message further comprises user's on-line message corresponding to each dimension, and the user offline message is into one Step includes user offline message corresponding to each dimension.
11. described that the User Status message is sent to SSDB database according to the method described in claim 9, wherein Step specifically includes:
Each server node stores the User Status message of generation into preset public message Queue module, by preset User Status message in the public message Queue module is supplied to the SSDB database by back end processing module.
12. according to the method described in claim 9, wherein, multiple server nodes by server cluster are handled What each user terminal was sent specifically includes the step of getting request ready:
Request is got ready by what at least one reverse proxy module received that each user terminal sends, is got ready in request described in acquisition The user identifier for including, calculates the user identifier by preset hash algorithm, is beaten according to calculated result by each Point requests assignment to each server node processing.
13. according to the method for claim 12, wherein the method further includes steps: passing through reverse proxy module The working condition for detecting each server node deactivates the failure when detecting the server node of failure Server node;And when detecting the fault recovery, the server node of the failure is reactivated.
14. according to any method of claim 9-13, wherein the described method includes: according to the inquiry request received, The user state information stored in the SSDB database is inquired, and returns to query result corresponding with the inquiry request;
Also, the method further includes: the online number of user of each dimension of each application of monitoring and/or application, when When the change rate of the online number of the user monitored is greater than preset threshold, prompt messages are issued.
15. according to the method described in claim 9, wherein, described get ready includes application type field in request, then the method Further comprise step: User Status message is pushed to the application of corresponding types according to the application type field.
16. according to the method described in claim 9, wherein, described get ready requests to be Asynchronous Request message.
CN201610304635.XA 2016-05-09 2016-05-09 User Status statistical system and method Active CN106027289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610304635.XA CN106027289B (en) 2016-05-09 2016-05-09 User Status statistical system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610304635.XA CN106027289B (en) 2016-05-09 2016-05-09 User Status statistical system and method

Publications (2)

Publication Number Publication Date
CN106027289A CN106027289A (en) 2016-10-12
CN106027289B true CN106027289B (en) 2019-05-28

Family

ID=57099281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610304635.XA Active CN106027289B (en) 2016-05-09 2016-05-09 User Status statistical system and method

Country Status (1)

Country Link
CN (1) CN106027289B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108320168B (en) * 2017-01-16 2021-05-07 北京金山云网络技术有限公司 Data analysis method and device
CN106919701B (en) * 2017-03-09 2020-06-19 腾讯科技(深圳)有限公司 Distributed data processing method and device
CN109218126B (en) * 2017-06-30 2023-10-17 中兴通讯股份有限公司 Method, device and system for monitoring node survival state
CN109388655A (en) * 2017-08-07 2019-02-26 北京京东尚科信息技术有限公司 A kind of method and apparatus of dynamic control of data access
CN107995169B (en) * 2017-11-21 2020-06-16 厦门点触科技股份有限公司 Mobile game server framework system based on micro-service architecture
CN109729062B (en) * 2018-05-14 2022-01-25 网联清算有限公司 Online method of encryption server and proxy server
CN108769235A (en) * 2018-06-08 2018-11-06 河南嘟嘟计算机科技有限公司 A kind of statistical method obtaining user's browsing pages time
CN109756511B (en) * 2019-02-02 2021-08-31 珠海金山网络游戏科技有限公司 Data processing method and device, computing equipment and storage medium
CN110138721B (en) * 2019-03-22 2021-06-29 福建省天奕网络科技有限公司 Method of decoupling gaming and combat services, storage medium
CN110086592B (en) * 2019-05-17 2021-05-28 智慧足迹数据科技有限公司 Data processing method and device based on virtual time axis and electronic equipment
CN111182464B (en) * 2019-11-28 2024-01-26 贵阳朗玛信息技术股份有限公司 Online sampling method and device
CN111931569B (en) * 2020-07-01 2021-03-19 江苏柏勋科技发展有限公司 Security monitoring thermodynamic diagram statistical system
CN114567622A (en) * 2020-11-27 2022-05-31 永中软件股份有限公司 Method for counting user online time based on Java

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534514A (en) * 2008-03-11 2009-09-16 中兴通讯股份有限公司 User state distribution statistical system and method thereof
CN102916846A (en) * 2011-08-03 2013-02-06 中兴通讯股份有限公司 Monitoring method and system
CN105407013A (en) * 2015-10-28 2016-03-16 北京奇虎科技有限公司 User online state statistical system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534514A (en) * 2008-03-11 2009-09-16 中兴通讯股份有限公司 User state distribution statistical system and method thereof
CN102916846A (en) * 2011-08-03 2013-02-06 中兴通讯股份有限公司 Monitoring method and system
CN105407013A (en) * 2015-10-28 2016-03-16 北京奇虎科技有限公司 User online state statistical system and method

Also Published As

Publication number Publication date
CN106027289A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106027289B (en) User Status statistical system and method
CN104993953B (en) The method and apparatus for detecting network service state
CN101645928B (en) Content resource caching method, device and system
CN110888783A (en) Monitoring method and device of micro-service system and electronic equipment
CN109510878B (en) Long connection session keeping method and device
CN104579765B (en) A kind of disaster recovery method and device of group system
CN107888452A (en) A kind of distributed website performance monitorings in 24 hours and Real-time Alarm method
CN103034541B (en) A kind of distributed information system and equipment therein and method
CN112636979B (en) Cluster alarm method and related device
CN110166800B (en) Video source returning method, system, device and computer readable storage medium
CN106656682A (en) Method, system and device for detecting cluster heartbeat
CN110659109A (en) Openstack cluster virtual machine monitoring system and method
CN102752146B (en) Cluster topological graph generation method and server
CN101222395B (en) Method, system and device for implementing selection of network guiding configuration information
CN105407013A (en) User online state statistical system and method
CN110932933A (en) Network condition monitoring method, computing device and computer storage medium
CN103166980A (en) Internet data pulling method and system
CN109657005A (en) A kind of data cache method of distributed cluster system, device and equipment
JP2010092395A (en) Server management system, server management method and program for server management
CN115883330B (en) Alarm event processing method, system, equipment and storage medium
CN101610289A (en) The methods, devices and systems of data download and node
CN104796294A (en) Cloud acceleration network monitoring system and method
CN113055493A (en) Data packet processing method, device, system, scheduling device and storage medium
CN109756351B (en) Automatic notification and response system for system unit state change
CN101997704A (en) Method, device and network management server for realizing element location link state polling

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220727

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.