CN101155079A - Method, device and system for monitoring instant communication server - Google Patents

Method, device and system for monitoring instant communication server Download PDF

Info

Publication number
CN101155079A
CN101155079A CNA2006101270836A CN200610127083A CN101155079A CN 101155079 A CN101155079 A CN 101155079A CN A2006101270836 A CNA2006101270836 A CN A2006101270836A CN 200610127083 A CN200610127083 A CN 200610127083A CN 101155079 A CN101155079 A CN 101155079A
Authority
CN
China
Prior art keywords
server
instant communication
monitor data
communication server
instant
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.)
Granted
Application number
CNA2006101270836A
Other languages
Chinese (zh)
Other versions
CN101155079B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN2006101270836A priority Critical patent/CN101155079B/en
Publication of CN101155079A publication Critical patent/CN101155079A/en
Priority to HK08107727.7A priority patent/HK1114973A1/en
Application granted granted Critical
Publication of CN101155079B publication Critical patent/CN101155079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method, device and system of monitoring an instant communication server. A logging request is sent to the instant communication server using an user identify. The said user identify is used for instant communication in the instant communication system. The monitoring data of the said instant communication server is generated based on the result of the logging request. Thus, even though the instant communication server does not run by virtue of fault, the invention can obtain the monitoring data of the said instant communication server based on the logging result, in order to prevent the problem that the monitoring data of the server can not be obtained because the server does not run, and the fault of server can not be instantly and effectively responded and treated.

Description

A kind of methods, devices and systems of monitoring instant communication server
Technical field
The present invention relates to the management of instant communication server, particularly relate to a kind of methods, devices and systems of monitoring instant communication server.
Background technology
Instant messaging (IM, Instant Messaging) be a kind of people of making can discern on the net the online user and with the technology of their real-time exchange information, because many advantages such as the real-time that it had, low cost, high efficiency make it to become one of favorite network communication mode of netizens.Typical IM is work like this: reach the standard grade and when attempting to get in touch you by your computer when in good friend's tabulation (buddy list) someone at any time logins, the IM system can send out a prompting message you, you can set up a chat sessions with him and key in message text or exchange by voice, video etc. then.
Though the IM that is employed at present is various, the communication protocol of employing also is not quite similar, and as TCP, UDP etc., no matter how IM product and function are enriched, is but all following same basic structure and principle.
The know-why of IM is described below with reference to Fig. 1:
At first, the user ID of user A input oneself and password login IM server, the IM server comes identifying user identity by reading customer data base, if user ID, password are all correct, with regard to the IP address of registered user A, the version number of IM client software and the TCP/UDP port numbers of use, return the successful sign of user A login then, the state of user A this moment in the IM system is online (OnlinePresence).
Secondly, be stored in buddy list on the IM server according to user A, the server relevant information that user A is online sends to also simultaneously online IM good friend's PC, these information comprise tcp port (Port) that presence, IP address, IM client use number etc., and the IM client on the IM good friend PC receives that will eject a wicket on the PC desktop after this information is pointed out.
The 3rd step, to be the IM server be stored in the PC that buddy list on the server and relevant information are transmitted back to him to user A, these information comprise information such as tcp port (Port) that presence, IP address, IM client use number, will show these buddy lists and presence thereof after the IM client on the PC of user A is received.
Next, if user A wants to send information to his online good friend user B, information such as the IP address of the user B that he will be directly sends over by server, tcp port number, directly the PC to user B sends information, after receiving, the IM client of user B is presented on the screen, user B directly is returned to the PC of user A more then, both sides' instant character message is not just by the IM transit server like this, but carrying out point-to-point direct communication by network, this is called reciprocity communication modes (Peer To Peer).
In addition, when if the point-to-point communication of user A and user B is difficult to set up owing to side's off-line or owing to reasons such as fire compartment wall, network speeds, the IM server also provides information transfer service, and promptly the instant message of user A and user B all sends to the IM server earlier, gives the other side by server forwards again.
From said process as can be seen, no matter which kind of connected mode communication two party adopts, all must be based on the IM server.Can the IM server normally move can directly determining the successful Application instant messaging.Therefore, the operation of monitoring IM server just becomes a kind of effective and requisite means that guarantee that entire I M system runs well.
In actual applications, the server cluster that the IM server normally is made up of one or more server, the operation conditions of monitoring IM server is the operation conditions of each station server in the monitoring server cluster just, its general way is, by each server record in the server cluster and preserve monitor data in this server running, the time of breaking down as server processes, the time of resuming operation etc., meanwhile, by wherein a station server and other each servers connect, collect monitor data on each server for the system maintenance personnel inquiry, the system maintenance personnel make response in view of the above and handle corresponding fault.
But, thisly but exist great potential safety hazard by server oneself monitoring oneself and the mode that writes down monitor data.For example; when this server causes moving because of outage, system crash or other accidents; the program that operates in the responsible record monitor data on this server also can stop, so IM system maintenance personnel also just can't be known the operation conditions that this server is current.In time handle if the server that breaks down in the server cluster increases and fails, will have a strong impact on the performance of IM system even can't move.
Summary of the invention
The methods, devices and systems that the purpose of this invention is to provide a kind of monitoring instant communication server produce monitor data to solve in the prior art by instant communication server, can't move the problem that just can't know these server monitoring data when this server.
For addressing the above problem, the invention provides a kind of method of monitoring instant communication server, comprising:
Use user ID to send logging request to instant communication server, described user ID is used for carrying out instant messaging at instant communicating system;
Produce the monitor data of described instant communication server according to the result of logging request.
Preferably, the server cluster formed by one or more instant communication servers of described instant communication server.
Preferably, described use user ID sends logging request to instant communication server: the configuration information of each server in according to the server cluster that sets in advance, use one or more user ID one or more instant communication servers transmission logging request in described server cluster respectively, and according to request process generation and the corresponding monitor data of described instant communication server, the configuration information of described server comprises the IP address or the title of described instant communication server.
Preferably, also comprise: if login successfully, login again after being connected of interruption and described instant communication server; If login failure is stored in failure information in the described monitor data, login again then;
This step is carried out in circulation.
Preferably, also comprise: after logining successfully, transfer immediate news by the time interval of setting, if send failure, failure information is stored in the monitor data, otherwise, this step is carried out in circulation, up to the transmission number of times of finishing setting or publish the server new login of laying equal stress on after the residence time.
Preferably, also comprise: the check monitor data, if monitor data is unusual, described abnormal information is sent to corresponding instant communication client as instant message, described abnormal information comprises IP address or the title with the corresponding instant communication server of described monitor data.
Preferably, also comprise: obtain corresponding monitor data according to query requests, and described monitor data is sent to corresponding instant communication client as instant message.
For addressing the above problem, the invention also discloses a kind of device of monitoring instant communication server, comprising:
Collector unit is used to use user ID to send logging request and produce monitor data according to the result of logging request to instant communication server, and described user ID is used for carrying out instant messaging at instant communicating system; Memory cell is used to store the monitor data that collector unit produces.
Preferably, described collector unit uses user ID to instant communication server transmission logging request to be:
Configuration information according to each instant communication server in the server cluster of cell stores, use the one or more instant communication servers of one or more user ID in server cluster to send logging request, and according to request process generation and the corresponding monitor data of described instant communication server, described supervising data storage is in described memory cell.
Preferably, described collector unit uses user ID log-in instant communication server, if login successfully, logins again after being connected of interruption and described instant communication server; If login failure is stored in failure information in the memory cell, login again then;
This step is carried out in circulation.
Preferably, after described collector unit uses the success of user ID log-in instant communication server, transfer immediate news by the time interval of setting, if send failure, failure information is stored in the monitor data, otherwise this step is carried out in circulation, up to the transmission number of times of finishing setting or publish after the residence time.
Preferably, also comprise: monitoring unit, be used for checking the monitor data of memory cell, if monitor data is unusual, obtain this abnormal information, described abnormal information comprises IP address or the title with the corresponding instant communication server of described monitor data.
Preferably, also comprise: query unit is used for obtaining corresponding monitor data according to query requests from described memory cell.
Preferably, also comprise: transmitting element, be used for the request according to described monitoring unit or query unit, corresponding abnormal information or monitor data are sent to instant communication client as instant message, described instant communication client is used to present the monitor data of instant communication server; Updating block is used for the monitor data of updated stored unit.
For solving the problems of the technologies described above the system that the invention also discloses a kind of monitoring instant communication server, comprise instant communication server, watch-dog and instant communication client,
Described watch-dog comprises: collector unit, and be used to use user ID to send logging request and produce monitor data according to the result of logging request to instant communication server, described user ID is used for carrying out instant messaging at instant communicating system; Memory cell is used to store the monitor data that collector unit produces; Monitoring unit is used for checking the monitor data of memory cell, if monitor data is unusual, obtains this abnormal information, and described abnormal information comprises IP address or the title with the corresponding instant communication server of described monitor data; Query unit is used for obtaining corresponding monitor data according to query requests from described memory cell; Transmitting element is used for the request according to monitoring unit or query unit, and corresponding abnormal information or monitor data are sent to instant communication client as instant message; Updating block is used for the monitor data of updated stored unit;
Described instant communication server comprises:
Server storage unit is used to store user ID and login password information; Authentication unit, whether legal according to the logging request that canned data checking watch-dog in the server storage unit sends;
Described instant communication client comprises: transmission/receiving element, be used for sending the monitor data query requests to watch-dog, and the reception server monitor data.
Compared with prior art, the present invention has the following advantages:
At first, the present invention is used for the user ID log-in instant communication server of instant messaging by use, judge successfully according to whether logining whether this server moves normally, avoided monitoring voluntarily and writing down that the mode of monitor data causes: when this server can't move because of accident by server, the program that operates in the responsible record monitor data on this server also can stop, and finally cause IM system maintenance personnel can't in time know the situation of the current operation of this server, also just can't make response and processing to this server.Whether successfully utilization of the present invention login verifies instant communication server, and the monitor data of Chan Shenging is not subjected to the influence of instant communication server operation conditions in view of the above, and is therefore very reliable.
Secondly,,, use method of the present invention to send logging request, verify the operation conditions of each server according to request results to each server according to the configuration information of each server in the server cluster when instant communication server is the server set group time.Because, what send the logging request utilization is the communication modes of IM system self, therefore, each server does not need to make any change and can realize monitoring in the server cluster, and, even server cluster increases new server, also only need the change configuration information to get final product, without any need for extra cost, this has greatly reduced its daily monitoring and maintenance cost concerning huge day by day IM system.
Use the present invention,, further, can accurately write down this server by using unavailable or by being not applicable to the available duration if the logon server failure by the mode of repeat logon, can accurately write down this server failure duration.Simultaneously, after logining successfully, transfer immediate news at interval,, failure information is stored in the monitor data, up to finishing predefined transmission number of times or publishing after the residence time if send failure by certain hour.Therefore, the present invention not only can monitoring instant communication server operation whether normal, whether the applied logic that also can further monitor the instant messaging service routine that operates on this server correct.Consequent monitor data, the fault for IM system maintenance personnel get rid of this server timely and accurately guarantees that the normal operation of IM system provides reliable basis.
At last, the abnormal information of the server that the present invention obtains with the monitor data in the overscanning internal memory, then it is sent to the IM client that the system maintenance personnel use as instant message, because the time of internal memory response has only several nanoseconds usually, therefore, whole process is almost finished in moment, and the system maintenance personnel just can be known the operation conditions of server in the very first time, thereby can handle corresponding fault timely and effectively to ensure the normal operation of IM system.
Description of drawings
Fig. 1 is an instant messaging principle schematic of the present invention;
Fig. 2 is the data flowchart that is used to obtain the server monitoring data in the method for monitoring instant communication server of the present invention;
Fig. 3 is the data flowchart that is used for the Distributor monitor data in the method for monitoring instant communication server of the present invention;
Fig. 4 is the structured flowchart of the device of monitoring instant communication server of the present invention.
Embodiment
The present invention initiates logging request by using user ID to monitored server, if login failure, is the unavailable new login of laying equal stress on this server-tag in monitor data; If login successfully, sending test post by the time interval of setting, if send failure, is to publish login again after unavailable with this server-tag in monitor data, otherwise this step is carried out in circulation, up to finishing predefined transmission number of times and publishing the new login of laying equal stress on after the residence time.
Preferably, the present invention operates in monitoring program on the server according to IP address, the serve port of each server in the pre-configured server cluster by one, use different thread (being the supervisor) to set up and being connected of every monitored server to call this thread in the following text, each supervisor uses different user ID to initiate logging request to each server simultaneously, and produces monitor data according to the result of logging request.
Meanwhile, the present invention is by the another one separate threads in the monitoring program (is Leader to call this thread in the following text) check monitor data, when finding that monitor data occurs when unusual, this abnormal information is sent to the IM client as instant message, and the system maintenance personnel are by the monitor data of this IM client reception server.Certainly, using the monitor data of IM client reception server is preferable methods of the present invention, those skilled in the art need not be confined to this, mode that for example can be by SMS sends to the employed portable terminal of system maintenance personnel with the monitor data of server, also can outwards provide a http to serve the monitor data that this server is provided by the IM server, the present invention does not limit this, and those skilled in the art can select to use as required.
Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail.
Fig. 2 shows the data flowchart of method that is used to monitor the IM server in accordance with a preferred embodiment of the present invention.Below with reference to Fig. 2 this method is described in detail.
Step 201: monitoring program is according to the configuration information of each server in the IM server cluster that sets in advance, and uses different supervisors to set up and being connected of every monitored server, and uses different user ID to each server initiation logging request simultaneously.
Initiating logging request by different supervisors and user ID to each server is preferable methods of the present invention, in addition, also can use a user ID to initiate logging request one by one to all servers, and the present invention does not limit this.
Described configuration information generally is provided with by the server that the system maintenance personnel monitor as required, as the IP of each server in the IM server cluster, serve port etc.The present invention is preferably with the described configuration information of text formatting file storage, and with this configuration file stores on the server of operation monitoring program, because this server and server cluster belong to together in the local area network (LAN) trusty, therefore, do not have any safety problem.Adopt text formatting file storage configuration information, not only maintenance cost is low, and more helps operation.Below, be example there to be 2 station servers to monitor in the server cluster, the content of configuration file is described further:
[TEST_SERVER]
The quantity of SERVER_NO=2 // monitored server.
The IP of SERVER_IP_0=192.168.0.1 // first monitored server (writes and becomes famous
Word also can, name finally can resolved one-tenth IP)
The port of SERVER_PORT_0=13000 // first monitored server
The IP of SERVER_IP_1=192.168.0.2 // second monitored server
The port of SERVER_PORT_1=13000 // second monitored server
[USER_IDS]
USER_ID_0=user1 // supervisor 1 user ID
MD_5_PASSWD_0=YTkx // supervisor 1 login password
CONTACT_ID_0=helinqiang // login is back test post recipient's ID successfully
USER_ID_1=user2 // supervisor 2 user ID
MD_5_PASSWD_1=Uik6 // supervisor 2 login password
CONTACT_ID_1=helinqiang // login is back test post recipient's ID successfully
[BASIC]
Behind ONLINE_INTERVAL=6000 // supervisor's logon server, superincumbent stagnating
Stay the time
SEND_IM_INTERVAL=3000 // login successfully the back send between the test post the time
Interbody spacer
When monitoring program was moved, at first, supervisor 1 read IP address SERVER_IP_0 and the serve port SERVER_PORT_0 that wants monitoring server and connects from described configuration file; Then, from configuration file, obtain corresponding user ID USER_ID_0 and password MD_5_PASSWD_0 sends logging request to monitored server.Simultaneously, supervisor 2 sends logging request according to same step to monitored server.
Step 202: if login failure, login again behind the renewal monitor data; Otherwise the step below carrying out.
For each station server in the server cluster, all there is the supervisor to be responsible for safeguarding correspondingly monitor data.In the preferred embodiment of the invention, mainly comprise following content in this monitor data:
The user ID of uid // login monitored server
Passwd // login password
ActionTime // monitor the altogether duration
The time of loginTime // this login
LogoffTime // this time that should publish
Contacted // login is the reception ID of back test post successfully
ServerName // server name
ServerIP // server ip
ServerPort // Service-Port
Err_count // server is made mistakes the duration altogether
Whether Health // server is current healthy
The time of makeing mistakes last_err_time // last time
Reported // the last time is out of order and reports to the attendant whether
LastFailDura // last time trouble duration
The number of stoppages of failedCount // altogether
DailyFailedCount // the same day number of stoppages
The storage format of monitor data has more than been described, certainly, as persons skilled in the art understand, adopt other forms or content stores monitor data also to be fine, as file, database etc., the present invention does not limit this, and those skilled in the art can select to use as required.
If the logging request failure, the supervisor is changed to 0 with the value of Health, represents that this server is unavailable, and last_err_time is changed to the current time, then login again.
Step 203: the current state of this server of check marks whether availablely in the monitor data of this server, if unavailable, upgrades the step below carrying out behind the monitor data; Otherwise, the step below directly carrying out.
The current state of server is labeled as unavailable, the meaning is successfully to login before this server, the current state of this server sign or down state in the monitor data, this means preceding when once logining this server unavailable, and this is successfully logined, then the card mean this server by unavailable become available, therefore, after logining successfully, the value of the Health of this server in the monitor data need be changed to 1.
Step 204: according to the time interval transmission test post of setting, if send successfully execution in step 205; Otherwise execution in step 206.
Step 205: execution in step 207 after the residence time of finishing setting, otherwise execution in step 204.
Behind supervisor's logon server, send test post according to the test post time interval SEND_IM_INTERVAL in the configuration file to the recipient contacted of test post, in the present embodiment, this time interval is 3000 (ms).If sends successfully, resend behind the wait 3000ms, up to finishing set residence time ONLINE_INTERVAL, promptly publish the server new login of laying equal stress on behind the 6000ms.
Step 206: upgrading monitor data, is unavailable with the status indication of this server.
If test post sends failure, though illustrate can successful logon server, the IM program that operates on this server but can't operate as normal.Therefore, the supervisor upgrades monitor data, is unavailable with this server-tag.
Step 207: publish server, and initiate logging request to server again.
More than to the present invention's monitoring server and how to produce monitor data and be described how, meanwhile, the present invention periodically checks each supervisor's monitor data by Leader, in case note abnormalities, just this abnormal information is sent to the IM client that the system maintenance personnel use as instant messages.Below with reference to Fig. 3, this process is described in further detail.
Step 301:Leader connects according to configuration information and server and logins this server.
Leader connects according to the server ip of previously described configuration file setting and port and this server, and uses corresponding user ID and password to login this server.Like this, login successfully after, Leader and general instant communication user can be added as a friend by other user on the form of expression and indistinction.Preferably, only allow the system maintenance personnel Leader to be added as the good friend of oneself according to the ID of Leader, especially, the system maintenance personnel need provide identifying code to system when Leader being added to the good friend of oneself, to guarantee the legitimacy of user identity, avoid incoherent user and Leader to communicate.
Step 302:Leader checks the monitor data in the internal memory, if find that the state of server in the monitor data is unavailable, and the step below carrying out, otherwise; Otherwise execution in step 304.
Step 303: take out the time of the unavailable generation of this server and the IP of this server from described monitor data, the user in the Leader buddy list sends an alert message: server certain beginning at quarter at a time is unavailable; Execution in step 305.
Leader checks monitor data, if the value of the state Health of server is changed to 0 in the discovery monitor data, promptly this server is unavailable, and the value of Reported is 0, the meaning is the good friend who that it(?) as yet will this unavailable message send to Leader, then from described monitor data, take out the time of the unavailable generation of this server and the IP of this server, simultaneously, according to the user ID in the Leader buddy list, check its corresponding IM client whether online, as if online, obtain the address information of this IM client, send an alert message to this IM client simultaneously: server certain beginning at quarter at a time is unavailable.The system maintenance personnel receive the alert message that sends from Leader by this IM client.Obtain the monitor data of IM server in this way, client is not only without any need for extra cost, and is not subjected to the restriction of room and time.The system maintenance personnel can be at any time and the place, use terminal equipment that any operation has an IM client by the internet logon server to obtain the monitor data of server.
The present invention preferably with supervising data storage in internal memory, Leader obtains the monitor data that changes by the scanning internal memory, because generally, the time of scanning internal memory response only needs several nanoseconds, therefore, if monitor data takes place unusual, Leader can obtain this abnormal information in the very first time, then described abnormal information is sent to the IM client of system maintenance personnel use by the good friend of Leader.Above-mentioned whole process is all finished in moment, therefore, the system maintenance personnel can respond in time with the fault of processing server to ensure safe, the stable operation of IM server.
Step 304: if the state of server is available in the monitor data, and when checking last time, the state of server is unavailable, then from described monitor data, take out the time of the unavailable generation of this server and the IP of this server, user in the Leader buddy list sends an alert message: server has reverted to available at a time certain quarter, and this time disabled duration is X second; Otherwise, direct execution in step 305.
Step 305: if check out all monitor datas, the step below carrying out; Otherwise, execution in step 302.
Step 306: wait for that next proof cycle begins, execution in step 302.
More than described the present invention and sent the process of monitor data by leader to the system maintenance personnel, in addition, used the present invention, the mode that system maintenance personnel can also active inquiry is obtained monitor data from server.
The system maintenance personnel are according to the order of making an appointment, send query requests by the IM client to Leader, as get last error, the meaning is that request obtains the time that all IM servers were made mistakes last time, and Leader obtains corresponding monitor data and returns to the IM client according to above-mentioned request scanning internal memory.
More than, the method for a kind of monitoring instant communication server of the present invention has been described in conjunction with specific embodiments.With reference to above relevant introduction of the present invention, as shown in Figure 4, be the device block diagram that is used for monitoring instant communication server in accordance with a preferred embodiment of the present invention, described device comprises:
Collector unit 401 is used to use user ID to send logging request and produce monitor data according to the result of logging request to instant communication server, and described user ID is used for carrying out instant messaging at instant communicating system;
Memory cell 402 is used for storing the configuration information of monitor data that collector unit produces and each server of IM server cluster that sets in advance;
Monitoring unit 403, be used for periodically checking the monitor data of memory cell 402 according to the time interval of setting, if monitor data is unusual, obtain this abnormal information, described abnormal information comprises IP address or the title with the corresponding instant communication server of described monitor data;
Query unit 404 is used for obtaining monitor data according to query requests from memory cell 402;
Transmitting element 405, be used for request according to query unit 404 or monitoring unit 403, corresponding abnormal information or monitor data are sent to instant communication client as instant message, and described instant communication client is used to present the monitor data of instant communication server;
Updating block 406 is used for the monitor data of updated stored unit 402.
Collector unit 401 is obtained the configuration information of each server in the instant communication server cluster from memory cell 402, the IP and the PORT COM that comprise server, connect with each server respectively then, and use different user ID and password to login this server, if login failure, updating block 406 will be unavailable with this server-tag in the memory cell 402 corresponding monitor datas, logins this server again after writing down time of unavailable generation and other information simultaneously; If login successfully, according to the time interval of setting, send test post, if send successfully, after finishing the transmission number of times of setting, publish this server of new login of laying equal stress on, otherwise updating block 406 is to publish the new login of laying equal stress on after unavailable with this server of mark in the memory cell 402 corresponding monitor datas.In said process, any variation takes place in the state of server, and as becoming unavailablely by available, unavailable becoming availablely all can be noted in monitor data.
Meanwhile, monitoring unit 403 is according to the time interval of setting, the corresponding monitor data of each server in the check memory cell 402, if find data exception, just obtain this abnormal information, and abnormal information is sent to the instant communication client that is used for the presence server monitor data by transmitting element 405.
In addition, after query unit 404 receives query requests, from memory cell 402, obtain corresponding monitor data, and send it to corresponding instant communication client by transmitting element 405.
The invention also discloses a kind of system of monitoring instant communication server, comprise instant communication server, watch-dog and instant communication client,
Described watch-dog comprises: collector unit, and be used to use user ID to send logging request and produce monitor data according to the result of logging request to instant communication server, described user ID is used for carrying out instant messaging at instant communicating system; Memory cell is used to store the monitor data that collector unit produces; Monitoring unit, be used for periodically checking the monitor data of memory cell according to the time interval of setting, if monitor data is unusual, obtain this abnormal information, described abnormal information comprises IP address or the title with the corresponding instant communication server of described monitor data; Query unit is used for obtaining corresponding monitor data according to query requests from described memory cell; Transmitting element is used for the request according to monitoring unit or query unit, and corresponding abnormal information or monitor data are sent to instant communication client as instant message, and described instant communication client is used to present the monitor data of instant communication server.
Described instant communication server comprises server storage unit, is used to store user ID and login password information; Authentication unit, whether legal according to the logging request that canned data checking watch-dog in the server storage unit sends.
Described instant communication client comprises transmission/receiving element, is used for sending the monitor data query requests to watch-dog, and the reception server monitor data.
Not detailed part can be referring to the description of front about method in device and the system in this specification.
More than the methods, devices and systems of a kind of monitoring instant communication server provided by the present invention are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (15)

1. the method for a monitoring instant communication server is characterized in that, comprising:
Use user ID to send logging request to instant communication server, described user ID is used for carrying out instant messaging at instant communicating system;
Produce the monitor data of described instant communication server according to the result of logging request.
2. method according to claim 1 is characterized in that, the server cluster that described instant communication server is made up of one or more instant communication servers.
3. method according to claim 2, it is characterized in that, described use user ID sends logging request to instant communication server: the configuration information of each server in according to the server cluster that sets in advance, use one or more user ID one or more instant communication servers transmission logging request in described server cluster respectively, and according to request process generation and the corresponding monitor data of described instant communication server, the configuration information of described server comprises the IP address or the title of described instant communication server.
4. method according to claim 3 is characterized in that, also comprises:
If login successfully, login again after being connected of interruption and described instant communication server; If login failure is stored in failure information in the described monitor data, login again then;
This step is carried out in circulation.
5. method according to claim 4 is characterized in that, also comprises:
After logining successfully, transfer immediate news,, failure information is stored in the monitor data, otherwise this step is carried out in circulation, up to the transmission number of times of finishing setting or publish the server new login of laying equal stress on after the residence time if send failure by the time interval of setting.
6. method according to claim 5 is characterized in that, also comprises:
The check monitor data if monitor data is unusual, sends to corresponding instant communication client with described abnormal information as instant message, and described abnormal information comprises IP address or the title with the corresponding instant communication server of described monitor data.
7. according to claim 1 or 6 described methods, it is characterized in that, also comprise:
Obtain corresponding monitor data according to query requests, and described monitor data is sent to corresponding instant communication client as instant message.
8. the device of a monitoring instant communication server is characterized in that, comprising:
Collector unit is used to use user ID to send logging request and produce monitor data according to the result of logging request to instant communication server, and described user ID is used for carrying out instant messaging at instant communicating system;
Memory cell is used to store the monitor data that collector unit produces.
9. device according to claim 8 is characterized in that, described collector unit uses user ID to instant communication server transmission logging request to be:
Configuration information according to each instant communication server in the server cluster of cell stores, use the one or more instant communication servers of one or more user ID in server cluster to send logging request, and according to request process generation and the corresponding monitor data of described instant communication server, described supervising data storage is in described memory cell.
10. device according to claim 9 is characterized in that, described collector unit uses user ID log-in instant communication server, if login successfully, logins again after being connected of interruption and described instant communication server; If login failure is stored in failure information in the memory cell, login again then;
This step is carried out in circulation.
11. device according to claim 10, it is characterized in that, after described collector unit uses the success of user ID log-in instant communication server, transfer immediate news by the time interval of setting, if send failure, failure information is stored in the monitor data, otherwise, this step is carried out in circulation, up to the transmission number of times of finishing setting or publish after the residence time.
12. device according to claim 11 is characterized in that, also comprises:
Monitoring unit is used for checking the monitor data of memory cell, if monitor data is unusual, obtains this abnormal information, and described abnormal information comprises IP address or the title with the corresponding instant communication server of described monitor data.
13. according to claim 1 or 12 described devices, it is characterized in that, also comprise:
Query unit is used for obtaining corresponding monitor data according to query requests from described memory cell.
14. device according to claim 13 is characterized in that, also comprises:
Transmitting element is used for the request according to described monitoring unit or query unit, and corresponding abnormal information or monitor data are sent to instant communication client as instant message, and described instant communication client is used to present the monitor data of instant communication server;
Updating block is used for the monitor data of updated stored unit.
15. the system of a monitoring instant communication server is characterized in that, comprises instant communication server, watch-dog and instant communication client,
Described watch-dog comprises:
Collector unit is used to use user ID to send logging request and produce monitor data according to the result of logging request to instant communication server, and described user ID is used for carrying out instant messaging at instant communicating system;
Memory cell is used to store the monitor data that collector unit produces;
Monitoring unit is used for checking the monitor data of memory cell, if monitor data is unusual, obtains this abnormal information, and described abnormal information comprises IP address or the title with the corresponding instant communication server of described monitor data;
Query unit is used for obtaining corresponding monitor data according to query requests from described memory cell;
Transmitting element is used for the request according to monitoring unit or query unit, and corresponding abnormal information or monitor data are sent to instant communication client as instant message;
Updating block is used for the monitor data of updated stored unit;
Described instant communication server comprises:
Server storage unit is used to store user ID and login password information;
Authentication unit, whether legal according to the logging request that canned data checking watch-dog in the server storage unit sends;
Described instant communication client comprises:
Transmission/receiving element is used for sending the monitor data query requests to watch-dog, and the reception server monitor data.
CN2006101270836A 2006-09-26 2006-09-26 Method, device and system for monitoring instant communication server Active CN101155079B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2006101270836A CN101155079B (en) 2006-09-26 2006-09-26 Method, device and system for monitoring instant communication server
HK08107727.7A HK1114973A1 (en) 2006-09-26 2008-07-14 A method, apparatus and system for monitoring instant messaging server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101270836A CN101155079B (en) 2006-09-26 2006-09-26 Method, device and system for monitoring instant communication server

Publications (2)

Publication Number Publication Date
CN101155079A true CN101155079A (en) 2008-04-02
CN101155079B CN101155079B (en) 2012-03-07

Family

ID=39256531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101270836A Active CN101155079B (en) 2006-09-26 2006-09-26 Method, device and system for monitoring instant communication server

Country Status (2)

Country Link
CN (1) CN101155079B (en)
HK (1) HK1114973A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902439A (en) * 2009-05-26 2010-12-01 北京金山软件有限公司 Method, system and device for updating business server information on client
CN101635653B (en) * 2009-08-31 2012-04-18 杭州华三通信技术有限公司 Method and device for real-time performance management
CN101365121B (en) * 2008-09-25 2012-04-18 北京中星微电子有限公司 System configuring information modifying and storing method used by network video monitoring system
CN102769582A (en) * 2012-08-02 2012-11-07 深圳中兴网信科技有限公司 Logical server, instant messaging system and instant messaging method
CN103905222A (en) * 2012-12-25 2014-07-02 北京神州泰岳软件股份有限公司 Instant messaging login failure detection method and system
CN108449207A (en) * 2018-03-16 2018-08-24 北京邦邦共赢网络科技有限公司 A kind of method and apparatus of monitoring server operating status
CN109361570A (en) * 2018-11-27 2019-02-19 深圳市关运通科技有限公司 A kind of declaration channel monitoring method for early warning and device
CN109408324A (en) * 2018-09-29 2019-03-01 阿里巴巴集团控股有限公司 The method, apparatus and system of monitoring system software operation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1254047C (en) * 2002-11-02 2006-04-26 华为技术有限公司 Method of carrying out test against join up service instrument
ATE540361T1 (en) * 2004-10-20 2012-01-15 Telecom Italia Spa METHOD AND SYSTEM FOR MONITORING THE PERFORMANCE OF A CLIENT SERVER ARCHITECTURE

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365121B (en) * 2008-09-25 2012-04-18 北京中星微电子有限公司 System configuring information modifying and storing method used by network video monitoring system
CN101902439A (en) * 2009-05-26 2010-12-01 北京金山软件有限公司 Method, system and device for updating business server information on client
CN101902439B (en) * 2009-05-26 2016-04-06 北京金山软件有限公司 Upgrade the mthods, systems and devices of business server information on client
CN101635653B (en) * 2009-08-31 2012-04-18 杭州华三通信技术有限公司 Method and device for real-time performance management
CN102769582A (en) * 2012-08-02 2012-11-07 深圳中兴网信科技有限公司 Logical server, instant messaging system and instant messaging method
CN102769582B (en) * 2012-08-02 2015-06-03 深圳中兴网信科技有限公司 Logical server, instant messaging system and instant messaging method
CN103905222A (en) * 2012-12-25 2014-07-02 北京神州泰岳软件股份有限公司 Instant messaging login failure detection method and system
CN108449207A (en) * 2018-03-16 2018-08-24 北京邦邦共赢网络科技有限公司 A kind of method and apparatus of monitoring server operating status
CN109408324A (en) * 2018-09-29 2019-03-01 阿里巴巴集团控股有限公司 The method, apparatus and system of monitoring system software operation
CN109408324B (en) * 2018-09-29 2022-04-29 创新先进技术有限公司 Method, device and system for monitoring system software operation
CN109361570A (en) * 2018-11-27 2019-02-19 深圳市关运通科技有限公司 A kind of declaration channel monitoring method for early warning and device

Also Published As

Publication number Publication date
HK1114973A1 (en) 2008-11-14
CN101155079B (en) 2012-03-07

Similar Documents

Publication Publication Date Title
CN101155079B (en) Method, device and system for monitoring instant communication server
CN101163113B (en) Disconnection reconnecting system and method of instant communication
CN101155147B (en) Method and apparatus for distributing monitoring data of instant communication server
CN101753475B (en) Method and device for realizing real-time communication among a plurality of members in real-time communication group
CN101217504B (en) A method and communication system of communication contactors sharing
CN108449207A (en) A kind of method and apparatus of monitoring server operating status
CN108667861A (en) By browser to the method, system and server of device real-time monitoring
CN101365119B (en) Video recording balance equalizing method used for network video monitoring system
CN101365120B (en) Data centralized management method for network video monitoring system
CN101360129B (en) Mobile phone short message sending method for network video monitoring system
EP2039123A2 (en) Remotely updating a user status on a presence server
CN103873518B (en) Multiple terminals synchronously obtains method, system and the Web server of enhancing address list
CN108600316B (en) Data management method, system and equipment of cloud storage service
CN102647295B (en) A kind of method of equipment control and device
CN101179528A (en) Method and system for implementing online service in enterprise instant communication
CN104079470A (en) Electronic business card exchange method, system and server
CN102143226A (en) Time-out control method, time-out control device and time-out control system
CN105490861A (en) System and method of management of network management device
CN111277483B (en) Multi-terminal message synchronization method, server and storage medium
CN105721389B (en) The processing of multi-terminal equipment communicating data and service response method, device
CN102769582A (en) Logical server, instant messaging system and instant messaging method
CN103457802A (en) Information transmission system and method
CN110049134A (en) Customer service chat method, device, customer side, server and storage medium
CN106993043A (en) Data communication system and method based on agency
CN105721274B (en) The fusion method and device of one kind of multiple instant messagings

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1114973

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1114973

Country of ref document: HK