CN101155079B - 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
CN101155079B
CN101155079B CN2006101270836A CN200610127083A CN101155079B CN 101155079 B CN101155079 B CN 101155079B CN 2006101270836 A CN2006101270836 A CN 2006101270836A CN 200610127083 A CN200610127083 A CN 200610127083A CN 101155079 B CN101155079 B CN 101155079B
Authority
CN
China
Prior art keywords
instant communication
server
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.)
Expired - Fee Related
Application number
CN2006101270836A
Other languages
Chinese (zh)
Other versions
CN101155079A (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
Expired - Fee Related 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 monitor unit sends a logging request to the instant communication server using a 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: when in good friend's tabulation (buddy list) someone at any time login reach the standard grade and attempt through you the computer contact you the time; 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 through 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 like 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 with reference to figure 1 below:
At first; The ID of user A input oneself and password login IM server; The IM server comes identifying user identity through reading customer data base, if ID, password are all correct, and just IP address, the version number of IM client software and the TCP/UDP port numbers of use of registered user A; Return the successful sign of user A login then, the state of user A this moment in the IM system is online (Online Presence).
Secondly; Be stored in the 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 on the PC desktop, eject a wicket after this information points out.
The 3rd step, to be the IM server be stored in the PC that buddy list and relevant information on the server 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 through server, tcp port number, directly the PC to user B sends information, is presented on the screen after the IM client of user B is received; User B directly is returned to the PC of user A more then; Both sides' instant character message is not just passed through the IM transit server like this, but carries out point-to-point direct communication through network, and 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.
Can find out from said process no matter which kind of connected mode communication two party adopts, and all must be the basis with 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 practical application; The server cluster that the IM server normally is made up of one or more server, the operation conditions of monitoring IM server be the operation conditions of each station server in the monitoring server cluster just, and the way as the one of which is; By each server record in the server cluster and preserve the monitor data in this server running; The time of breaking down like 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.If increasing and fail, in time handles the server that breaks down in the server cluster, with the performance that has a strong impact on the 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:
Watch-dog uses ID to send logging request to instant communication server, and said ID is used for instant communication system and carries out instant messaging;
Produce the monitor data of said instant communication server according to the result of logging request.
Preferably, the server cluster formed by one or more instant communication servers of said instant communication server.
Preferably; Said use ID is sent logging request to instant communication server: the configuration information of each server in according to the server cluster that is provided with in advance; Use one or more ID one or more instant communication servers transmission logging request in said server cluster respectively; And according to request process generation and the corresponding monitor data of said instant communication server, the configuration information of said server comprises the IP address or the title of said instant communication server.
Preferably, also comprise: if login successfully, login again after being connected of interruption and said instant communication server; If login failure is stored in failure information in the said monitor data, login again then;
This step is carried out in circulation.
Preferably; Before logining successfully being connected of back, interruption and said instant communication server, also comprise: the time interval by setting transfers immediate news, and fails if send; Failure information is stored in the monitor data; Otherwise this step is carried out in circulation, up to accomplishing the transmission number of times of setting or publishing 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, said abnormal information is sent to corresponding instant communication client as instant message, said abnormal information comprises IP address or the title with the corresponding instant communication server of said monitor data.
Preferably, also comprise: obtain corresponding monitor data according to query requests, and said 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 ID to send logging request and produce monitor data according to the result of logging request to instant communication server, and said ID is used for instant communication system and carries out instant messaging; Memory cell is used to store the monitor data that collector unit produces.
Preferably, said collector unit uses 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 ID in server cluster to send logging request; And according to request process generation and the corresponding monitor data of said instant communication server, said supervising data storage is in said memory cell.
Preferably, said collector unit uses ID log-in instant communication server, if login successfully, logins again after being connected of interruption and said 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; Said collector unit transferred immediate news by the time interval of setting before using being connected of ID log-in instant communication server success back, interruption and said instant communication server, and failed if send; Failure information is stored in the monitor data; Otherwise this step is carried out in circulation, up to accomplishing the transmission number of times of setting or publishing 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, said abnormal information comprises IP address or the title with the corresponding instant communication server of said monitor data.
Preferably, also comprise: query unit is used for obtaining corresponding monitor data according to query requests from said memory cell.
Preferably; Also comprise: transmitting element; Be used for the request according to said monitoring unit or query unit, corresponding abnormal information or monitor data are sent to instant communication client as instant message, said instant communication client is used to appear 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,
Said watch-dog comprises: collector unit, and be used to use ID to send logging request and produce monitor data according to the result of logging request to instant communication server, said ID is used for instant communication system and carries out instant messaging; 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 said abnormal information comprises IP address or the title with the corresponding instant communication server of said monitor data; Query unit is used for obtaining corresponding monitor data according to query requests from said 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;
Said instant communication server comprises:
Server storage unit is used to store 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;
Said 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 ID log-in instant communication server of instant messaging through 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 causes 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 that produces does not in view of the above receive the influence of instant communication server operation conditions, and is therefore very reliable.
Secondly, when instant communication server is the server set group time, according to the configuration information of each server in the server cluster, use method of the present invention to send logging request, according to the operation conditions of each server of request results checking to each server.Because what send the logging request utilization is the communication modes of IM system self, therefore; Each server need not made 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 through 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 accomplishing 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 through the monitor data of scanning in the internal memory sends to the IM client that the system maintenance personnel use with it as instant message, then because the time of internal memory response has only several nanoseconds usually; Therefore; Whole process is almost accomplished 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 through using ID to monitored server, if login failure, in monitor data, is the unavailable new login of laying equal stress on this server-tag; 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 accomplishing 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 through 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 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 through 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 through 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, and mode that for example can be through 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 concrete embodiment the present invention is done further explain.
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.Describe in detail with reference to 2 pairs of these methods of figure below.
Step 201: monitoring program is according to the configuration information of each server in the IM server cluster that is provided with in advance, uses different supervisors to set up and being connected of every monitored server, and uses different ID to each server initiation logging request simultaneously.
Initiating logging request through different supervisors and ID to each server is preferable methods of the present invention, in addition, also can use an ID to initiate logging request one by one to all servers, and the present invention does not limit this.
Said configuration information generally is provided with by the server that the system maintenance personnel monitor as required, like the IP of each server in the IM server cluster, serve port etc.The present invention is preferably with the said 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 be resolved to 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=userl // supervisor 1 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 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 said configuration file; Then, from configuration file, obtain corresponding 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 corresponding with it monitor data.In the preferred embodiment of the invention, mainly comprise following content in this monitor data:
The 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, like 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, representes that this server is unavailable, and last_err_time is changed to the current time, then login again.
Step 203: whether the current state mark of this server of check is available in the monitor data of this server, if unavailable, the step below carrying out behind the renewal monitor data; Otherwise, the step below directly carrying out.
The current state of server is labeled as unavailable, and 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, need the value of the Health of this server in the monitor data 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 accomplishing the residence time that is provided with, 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 after waiting for 3000ms, up to accomplishing set residence time ONLINE_INTERVAL, promptly publish server behind the 6000ms and lay equal stress on and newly login.
Step 206: upgrading monitor data, is unavailable with the status indication of this server.
If test post sends failure, though explain 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 through Leader; In case note abnormalities, just this abnormal information is sent to the IM client that the system maintenance personnel use as instant messages.With reference to figure 3, this process is described in further detail below.
Step 301:Leader connects according to configuration information and server and logins this server.
Leader connects according to the server ip of the described configuration file setting of preamble and port and this server, and uses corresponding ID and this server of password login.Like this, login successfully after, Leader and general instant communication user can be added by other user and are the good friend on the form of expression and indistinction.Preferably; Only allow the system maintenance personnel Leader to be added the good friend for oneself according to the ID of Leader; Special; 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.
Monitor data in the step 302:Leader inspection internal memory, if find that the state of server in the monitor data is unavailable, the step below carrying out, otherwise; Otherwise execution in step 304.
Step 303: from said monitor data, take out the time of the unavailable generation of this server and the IP of this server, 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, is changed to 0 if find the value of the state Health of server in the monitor data, and promptly this server is unavailable; And the value of Reported is 0, and the meaning is the good friend who that it(?) as yet will this unavailable message send to Leader, then from said monitor data, takes out the time of the unavailable generation of this server and the IP of this server; Simultaneously; According to the ID in the Leader buddy list, check its corresponding IM client whether online, 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 through this IM client.Obtain the monitor data of IM server in this way, client is not only without any need for extra cost, and do not receive 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 through 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 through 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 said abnormal information is sent to the IM client of system maintenance personnel use through the good friend of Leader.Above-mentioned whole process is all accomplished in moment, and therefore, the system maintenance personnel can respond fault with processing server in time 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 said monitor data, take out the time of the unavailable generation of this server and the IP of this server, the 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 process that the present invention sends monitor data through leader to the system maintenance personnel, in addition, used the present invention, the mode that the 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 through the IM client to Leader; Like 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 embodiment.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, said device comprises:
Collector unit 401 is used to use ID to send logging request and produce monitor data according to the result of logging request to instant communication server, and said ID is used for instant communication system and carries out instant messaging;
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 is provided with 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, said abnormal information comprises IP address or the title with the corresponding instant communication server of said 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 said instant communication client is used to appear 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 ID and this server of password login, if login failure; Updating block 406 is being unavailable with this server-tag in the memory cell 402 corresponding monitor datas, logins this server again after writing down time and other information of unavailable generation simultaneously; If login successfully; According to the time interval of setting; Send test post,, after accomplishing the transmission number of times of setting, publish new this server of login of laying equal stress on if send successfully; 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 through 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 through 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,
Said watch-dog comprises: collector unit, and be used to use ID to send logging request and produce monitor data according to the result of logging request to instant communication server, said ID is used for instant communication system and carries out instant messaging; 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, said abnormal information comprises IP address or the title with the corresponding instant communication server of said monitor data; Query unit is used for obtaining corresponding monitor data according to query requests from said 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 said instant communication client is used to appear the monitor data of instant communication server.
Said instant communication server comprises server storage unit, is used to store 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.
Said 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 have been carried out detailed introduction; Used concrete example among this paper 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 on embodiment and range of application, all can change, 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:
Watch-dog uses ID to send logging request to instant communication server, produces the monitor data of said instant communication server according to the result of said logging request; Said ID is used for instant communication system and carries out instant messaging; The generation of said monitor data does not receive the influence of said instant communication server operation conditions;
Check said monitor data,, then abnormal information is sent to the instant communication client that is used for system maintenance if said monitor data is unusual.
2. method according to claim 1 is characterized in that, the server cluster that said instant communication server is made up of one or more instant communication servers.
3. method according to claim 2; It is characterized in that; Said use ID is sent logging request to instant communication server: the configuration information of each server in according to the server cluster that is provided with in advance; Use one or more ID one or more instant communication servers transmission logging request in said server cluster respectively; And according to request process generation and the corresponding monitor data of said instant communication server, the configuration information of said server comprises the IP address or the title of said 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 said instant communication server; If login failure is stored in failure information in the said monitor data, login again then;
This step is carried out in circulation.
5. method according to claim 4 is characterized in that, before logining successfully being connected of back, interruption and said instant communication server, also comprises:
The time interval by setting transfers immediate news, if send failure, failure information is stored in the monitor data, otherwise this step is carried out in circulation, up to accomplishing the transmission number of times of setting or publishing the server new login of laying equal stress on after the residence time.
6. method according to claim 5 is characterized in that, said abnormal information comprises IP address or the title with the corresponding instant communication server of said 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 said 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 ID to send logging request and produce monitor data according to the result of logging request to instant communication server, and said ID is used for instant communication system and carries out instant messaging; The generation of said monitor data does not receive the influence of said instant communication server operation conditions;
Memory cell is used to store the monitor data that collector unit produces;
Whether monitoring unit is used to check the monitor data of said memory cell generation unusual;
Transmitting element is used for when said monitor data is unusual, abnormal information being sent to instant communication client, and the monitor data that said instant communication client is used to present instant communication server is to the terminal that is used for system maintenance;
Updating block is used for the monitor data of updated stored unit.
9. device according to claim 8 is characterized in that, said collector unit uses 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 ID in server cluster to send logging request; And according to request process generation and the corresponding monitor data of said instant communication server, said supervising data storage is in said memory cell.
10. device according to claim 9 is characterized in that, said collector unit uses ID log-in instant communication server, if login successfully, logins again after being connected of interruption and said 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 is characterized in that, said collector unit is before using being connected of ID log-in instant communication server success back, interruption and said instant communication server; The time interval by setting transfers immediate news; If send failure, failure information is stored in the monitor data, otherwise; This step is carried out in circulation, up to accomplishing the transmission number of times of setting or publishing after the residence time.
12. device according to claim 11 is characterized in that, said abnormal information comprises IP address or the title with the corresponding instant communication server of said monitor data.
13. according to Claim 8 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 said memory cell.
14. device according to claim 13 is characterized in that,
Said transmitting element also is used for the request according to said query unit, and corresponding abnormal information or monitor data are sent to instant communication client as instant message, and said instant communication client is used to appear the monitor data of instant communication server.
15. the system of a monitoring instant communication server is characterized in that, comprises instant communication server, watch-dog and instant communication client,
Said watch-dog comprises:
Collector unit is used to use ID to send logging request and produce monitor data according to the result of logging request to instant communication server, and said ID is used for instant communication system and carries out instant messaging;
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 said abnormal information comprises IP address or the title with the corresponding instant communication server of said monitor data;
Query unit is used for obtaining corresponding monitor data according to query requests from said 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;
Said instant communication server comprises:
Server storage unit is used to store 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;
Said 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 Expired - Fee Related 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 CN101155079A (en) 2008-04-02
CN101155079B true CN101155079B (en) 2012-03-07

Family

ID=39256531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101270836A Expired - Fee Related 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)

Families Citing this family (8)

* 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
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
CN102769582B (en) * 2012-08-02 2015-06-03 深圳中兴网信科技有限公司 Logical server, instant messaging system and instant messaging method
CN103905222B (en) * 2012-12-25 2017-05-17 北京神州泰岳软件股份有限公司 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
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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494263A (en) * 2002-11-02 2004-05-05 华为技术有限公司 Method of carrying out test against join up service instrument
WO2006045322A1 (en) * 2004-10-20 2006-05-04 Telecom Italia S.P.A. Method and system for monitoring performance of a client-server architecture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494263A (en) * 2002-11-02 2004-05-05 华为技术有限公司 Method of carrying out test against join up service instrument
WO2006045322A1 (en) * 2004-10-20 2006-05-04 Telecom Italia S.P.A. Method and system for monitoring performance of a client-server architecture

Also Published As

Publication number Publication date
HK1114973A1 (en) 2008-11-14
CN101155079A (en) 2008-04-02

Similar Documents

Publication Publication Date Title
CN101155079B (en) Method, device and system for monitoring instant communication server
CN101155147B (en) Method and apparatus for distributing monitoring data of instant communication server
CN101163113B (en) Disconnection reconnecting system and method of instant communication
CN102027461B (en) Extended messaging platform
CN101753475B (en) Method and device for realizing real-time communication among a plurality of members in real-time communication group
CN101365119B (en) Video recording balance equalizing method used for network video monitoring system
CN108667861A (en) By browser to the method, system and server of device real-time monitoring
US9219660B2 (en) Self-service terminal
CN101360129B (en) Mobile phone short message sending method for network video monitoring system
CN108449207A (en) A kind of method and apparatus of monitoring server operating status
US20080244077A1 (en) Methods for auditing peer-to-peer communications in remote device monitoring system and systems thereof
CN101365118B (en) Video monitoring system based on computer network
CN108600316B (en) Data management method, system and equipment of cloud storage service
CN101365120A (en) Data centralized management method for network video monitoring system
CN106993043A (en) Data communication system and method based on agency
CN105490861A (en) System and method of management of network management device
CN110049134A (en) Customer service chat method, device, customer side, server and storage medium
CN103457802A (en) Information transmission system and method
CN102769582A (en) Logical server, instant messaging system and instant messaging method
JP5353714B2 (en) Server system and its event message transmission method
CN106656584B (en) Distributed system invalid node judgment method
CN103916254A (en) Analysis method and system for dynamic authentication behavior
RU2538321C2 (en) Device, system and method of changing multi-user relationship chain
CN101365121B (en) System configuring information modifying and storing method used by network video monitoring system
CN103188065A (en) Method and system of data synchronism in business service

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

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120307