CN101635653B - Method and device for real-time performance management - Google Patents
Method and device for real-time performance management Download PDFInfo
- Publication number
- CN101635653B CN101635653B CN2009101728693A CN200910172869A CN101635653B CN 101635653 B CN101635653 B CN 101635653B CN 2009101728693 A CN2009101728693 A CN 2009101728693A CN 200910172869 A CN200910172869 A CN 200910172869A CN 101635653 B CN101635653 B CN 101635653B
- Authority
- CN
- China
- Prior art keywords
- client
- response message
- message
- server
- request message
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method for real-time performance management, which is applied to a network management system comprising a client terminal, a server and monitored equipment. The method comprises the following steps: the server receives a request message from the client terminal and transmits a sampling data request to the monitored equipment, and a client terminal label and time stamp information are carried in the request message; the server extracts a response message corresponding to the client terminal from a damping memory according to the client terminal label in the request message and transmits the response message to the client terminal, the client terminal processes the response message according to the time stamp information in the response message, and the client terminal label which is same as the request message is also carried in the response message; and the server deletes the response message from the damping memory. The invention realizes the real-time performance management. The invention also discloses a device applying the method.
Description
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of real-time performance management method and apparatus.
Background technology
Along with the expansion of development of internet technology and web influence, PM (Performance Management performance management) as the important component part of network management, receives increasing concern.PM is the means of managed network being carried out effective monitoring, is to realize that network " gives warning in advance " or the basis of " active alarm ", and purpose is the QOS (Quality Of Service, service quality) and the network operation efficient of maintaining network.
According to the difference of using data type, PM can be divided into historical performance management and real-time performance management.Wherein, History Performance Data is used in the historical performance management; The task scheduling modules that needs the webmaster backstage is according to predefined system configuration parameter log-on data acquisition tasks, and the data acquisition result is stored in the database, for management end show, statistics and analysis; Real-time performance management uses the real-time performance data, is initiatively initiated and is stopped by the user, and system carries out real-time data acquisition according to the current task parameter, and data are presented to management end.Receive HTTP (Hypertext Transfer Protocol; HTTP) restriction of itself, in the network management system based on Web (webpage), client can only be on one's own initiative from server end GET data; And server end can't be given client with data active PUT after getting access to data; Therefore, the PM in the Web network management system generally uses History Performance Data, is generally the historical performance management.
As shown in Figure 1, be a kind of performance management system Organization Chart of the prior art, comprise client (browser), Web server, database, backstage poll process and monitored device.Wherein, consumer premise justice data acquisition parameters, and this data acquisition parameters is saved in the database; Backstage poll process is according to predefined data acquisition parameters log-on data acquisition tasks, to monitored device periodic polling data, and receives the data answering of monitored device, and data are saved in the database; When client-requested was checked performance data, Web server was inquired about available data from database, and available data is showed client.If the user does not initiatively cancel the data acquisition task, backstage poll process can be carried out data acquisition always, even client is closed.
In the such scheme; Because monitor data need be saved in the database, the time of polling interval can not lack very much (generally with minute be unit), otherwise data will be will ten minutes huge; Influence the performance of whole network management system; Therefore, the monitor data in the such scheme is not a real time data, can't realize the real-time performance management to monitored device; Simultaneously, such scheme can't refresh browser interface in real time, and the user must just can see new performance data through the manual refreshing browser interface, otherwise the interface can not upgraded automatically; In addition, after the user closed browser, backstage poll process was still continuing to carry out the data acquisition tasks, and the user is cancellation data acquisition task manually, and backstage poll process just can stop poll, has wasted system resource.
Summary of the invention
The invention provides a kind of real-time performance management method and apparatus, be used for the network equipment is carried out real-time performance management.
The invention provides a kind of real-time performance management method, be applied to comprise in the network management system of client, server and monitored device, said method comprising the steps of:
Said server receives the request message from said client, sends the sampled data request to said monitored device, carries client identification and timestamp information in the described request message;
Said server is according to the client identification in the described request message; From buffer memory, extract and said client corresponding response message; And said response message sent to said client; Make said client handle said response message, also carry the client identification identical in the said response message with the described request message according to the timestamp information in the said response message;
Said server is deleted said response message from said buffer memory.
Preferably, said server also comprises after said monitored device is sent the sampled data request:
Said server receives the data answering message from said monitored device; And according to client identification in the described request message and timestamp information said data answering message is packaged into response message, and the said response message after will encapsulating is saved in the said buffer memory.
Preferably, said server receives before the request message from client, also comprises:
Through said client configuration real-time performance parameter;
Said client is regularly sent request message to said server according to the real-time performance parameter of said configuration.
Preferably, said server sends to response message after the client, also comprises:
Said client is set up incidence relation according to timestamp information with the request message of said response message that receives and said transmission, and according to said incidence relation said response message is showed processing or statistical disposition.
Preferably, when said client was showed processing to said response message, the order of said response message and described request message was consistent.
Preferably, preserve one or more client corresponding response message in the said buffer memory, the corresponding one or more response messages of each client.
Preferably, said server sends the sampled data request to said monitored device, is specially:
Said startup of server background thread triggers said background thread and sends the image data request to said monitored device.
The present invention also provides a kind of device that is applied to said method, and said device comprises:
Transceiver module; Be used to receive request message from said client; And to said client transmission response message; And send the sampled data request and receive the data answering message from said monitored device to said monitored device, carry client identification and timestamp information in the wherein said request message;
Cache module electrically connects with said transceiver module, is used for the data answering message from said monitored device that the said transceiver module of buffer memory receives;
Processing module; Electrically connect with said transceiver module and said cache module, the client identification of the client-requested message that is used for receiving according to said transceiver module extracts and said client corresponding response message from said cache module; And said response message sent to said transceiver module; Said response message is deleted from said cache module, carried client identification and the timestamp information identical in the said response message with the described request message
Said client is handled said response message according to the timestamp information in the said response message.
Preferably, said device also comprises:
Package module; Electrically connect with said transceiver module, said cache module and said processing module; Be used for receiving client identification and the indication of timestamp information and said processing module of the request message of said client according to said transceiver module; Said data answering message is packaged into response message, and will encapsulates
Preferably, said cache module specifically is used to preserve one or more client corresponding response message, the corresponding one or more response messages of each client.
Compared with prior art; The present invention has the following advantages: the present invention is through extraction and transmission to the response message in the buffer memory; Realized real-time performance management based on Web; Can refresh browser interface automatically according to the real-time performance data in the response message, improve the ease for use and the availability of Web network management system; The no longer permanent retention data of server end, the memory capacity of having saved server end has improved the serviceability of server end.
Description of drawings
Fig. 1 is a kind of performance management system Organization Chart of the prior art;
Fig. 2 is a kind of real-time performance management method flow diagram among the present invention;
Fig. 3 is the real-time performance management system configuration sketch map in the application scenarios of the present invention;
Fig. 4 is the real-time performance management flow chart in the application scenarios of the present invention;
Fig. 5 is the data cached structural representation in the application scenarios of the present invention;
Fig. 6 is for obtaining the performance data flow chart in the application scenarios of the present invention;
Fig. 7 is the server architecture sketch map in the application scenarios of the present invention.
Embodiment
In the technical scheme provided by the invention; Its core concept be server behind the request message that receives from client, send the sampled data request to monitored device, but do not wait for monitored device return data response message; But directly from buffer memory, extract storage in advance with the client corresponding response message; And this response message sent to this client, and client is shown this response message handle or statistical disposition, realize real-time performance management to monitored device.In addition, server receives the data answering message that this monitored device is returned after monitored device is sent the sampled data request, this data answering message is packaged into response message, and the response message after will encapsulating stores in the buffer memory into; After server receives the request message next time from client, continue to extract and send in the buffer memory and this client corresponding response message.
To combine the accompanying drawing among the present invention below, technical scheme of the present invention is carried out clear, intactly description, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.
As shown in Figure 2, be a kind of real-time performance management method flow diagram among the present invention, be applied to comprise that this method may further comprise the steps in the network management system of client, server and monitored device:
Wherein, carry client identification and timestamp information in the request message that server receives.
Wherein, also carry the client identification identical in the response message with request message.
As shown in Figure 3, the real-time performance management system configuration sketch map in the application scenarios of the present invention comprises a plurality of clients (browser), Web server and monitored device, and wherein, Web server comprises information interface, buffer memory and background thread.The user can be through the real-time performance data of client to the information interface acquisition request monitored device of Web server; After information interface receives the request message from client; Start background thread to the monitored device polling data, but do not wait for the data that background thread is obtained from monitored device, but directly from buffer memory, extract the response message relevant with client; And this response message returned client, client is shown or the content of statistics response message.
Below in conjunction with above-mentioned application scenarios, the real-time performance management method among the present invention is carried out detailed, concrete description.
As shown in Figure 4, the real-time performance management flow chart in the application scenarios of the present invention specifically may further comprise the steps:
Wherein, the real-time performance parameter comprises the sampling polling interval, and this sampling polling interval can reach a second level.
Wherein, Comprise session id (session identification) and timestamp information in the request message; Session id is used for the client that unique identification sends this request message, and timestamp information is used for this request message of unique identification, the current system time in the time of can sending this request message for client.
Wherein, information interface is judged the client of sending request message according to session id, and from buffer memory, extracts and this client corresponding response message.Response message in the buffer memory comprises timestamp information, and is as shown in Figure 5, preserves one or more clients (with session id sign) corresponding response message of not sending in the buffer memory, and each client can corresponding one or more response messages.
Because the sampling polling interval of Web server is shorter, the data volume of obtaining is huger, and therefore, Web server can permanently not preserved the performance data of acquisition, but performance data is appeared as transient data.
Client is set up incidence relation according to timestamp information with the request message of response message that receives and transmission, and according to this incidence relation above-mentioned response message is showed processing or statistical disposition.The response of response message order not necessarily will with the request sequence consensus of request message, but client requires the order of response message and request message to be consistent showing when handling.
The consistency of request message and response message order when the application of session id and timestamp information has guaranteed showing interface; Therefore, session id in request message and the response message and timestamp information all will remain unchanged in whole real-time performance management process.
In addition; Start background thread at information interface, after monitored device request performance data, when promptly execution in step 404 is to step 406; The background thread of Web server is obtained performance data from monitored device; And performance data encapsulation is saved in the buffer memory, idiographic flow is as shown in Figure 6, may further comprise the steps:
After step 601, information interface receive the request message from browser, trigger background thread and carry out data sampling.
Particularly, information interface sends trigger message to background thread, comprises session id and timestamp information in the request message in this trigger message.
Particularly, when network state and equipment state just often, background thread can in time receive the data answering message; When obstructed or equipment is obstructed when network; Mistakes such as overtime can take place; Background thread can't in time obtain the data answering message, will judge that overtime back is to being sent the sampled data request by surveillance equipment, up to the data answering message that receives from monitored device once more.
Wherein, comprise session id and timestamp information in the response message.After Web server receives the request message from session id clients corresponding next time, can from buffer memory, extract above-mentioned response message, and this response message is sent to clients corresponding.
Next trigger message is closed or waited for to step 605, background thread.
Need to prove that the inventive method can be adjusted each sequence of steps according to actual needs.
The present invention has realized the real-time performance management based on Web through extraction and transmission to the response message in the buffer memory, can refresh browser interface automatically according to the real-time performance data in the response message, has improved the ease for use and the availability of Web network management system; The no longer permanent retention data of server end, the memory capacity of having saved server end has improved the serviceability of server end; The user is after closing client, and server can not send monitoring request to monitored device again, has saved system resource.
The present invention provides real-time performance management methods and applications scene in the above-described embodiment, and correspondingly, the present invention also provides the device of using above-mentioned real-time performance management method.
Should use in the scene, said device is specially server.Said network management system comprises client, server and monitored device, and this server is as shown in Figure 7, comprising:
Further, said client is handled said response message according to the timestamp information in the said response message, carries client identification and timestamp information in the described request message.
Wherein, the client identification in the request message is used for the client that unique identification sends this request message, and the timestamp information in the request message is used for this request message of unique identification, the current system time in the time of can sending this request message for client; Client identification in the response message is used for the client that unique identification receives this request message, and the timestamp information in the response message is used for this response message of unique identification, can be identical with the timestamp information of corresponding request message.
Above-mentioned cache module 720 specifically is used to preserve one or more client corresponding response message, the corresponding one or more response messages of each client.
In addition; Above-mentioned processing module 730 is also sent the sampled data request from client through transceiver module 710 to monitored device, and the data answering message that this monitored device that will receive is returned is through on buffer memory to the cache module 720 after the encapsulation of package module 740.
The present invention has realized the real-time performance management based on Web through extraction and transmission to the response message in the cache module 720, has improved the ease for use and the availability of Web network management system; The no longer permanent retention data of server end, the memory capacity of having saved server end has improved the serviceability of server end.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium, comprise some instructions with so that a station terminal equipment (can be mobile phone, personal computer; Server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be looked protection scope of the present invention.
Claims (10)
1. a real-time performance management method is applied to comprise in the network management system of client, server and monitored device, it is characterized in that, said method comprising the steps of:
Said server receives the request message from said client, sends the sampled data request to said monitored device, carries client identification and timestamp information in the described request message;
Said server is according to the client identification in the described request message; From buffer memory, extract and said client corresponding response message; And said response message sent to said client; Make said client handle said response message, also carry the client identification identical in the said response message with the described request message according to the timestamp information in the said response message;
Said server is deleted said response message from said buffer memory.
2. the method for claim 1 is characterized in that, said server also comprises after said monitored device is sent the sampled data request:
Said server receives the data answering message from said monitored device; And according to client identification in the described request message and timestamp information said data answering message is packaged into response message, and the said response message after will encapsulating is saved in the said buffer memory.
3. the method for claim 1 is characterized in that, said server receives before the request message from client, also comprises:
Through said client configuration real-time performance parameter;
Said client is regularly sent request message to said server according to the real-time performance parameter of said configuration.
4. the method for claim 1 is characterized in that, said server sends to response message after the client, also comprises:
Said client is set up incidence relation according to timestamp information with the request message of said response message that receives and said transmission, and according to said incidence relation said response message is showed processing or statistical disposition.
5. method as claimed in claim 4 is characterized in that, when said client was showed processing to said response message, the order of said response message and described request message was consistent.
6. the method for claim 1 is characterized in that, preserves one or more client corresponding response message in the said buffer memory, the corresponding one or more response messages of each client.
7. the method for claim 1 is characterized in that, said server sends the sampled data request to said monitored device, is specially:
Said startup of server background thread triggers said background thread and sends the image data request to said monitored device.
8. a device that is applied to the said method of claim 1 is characterized in that, said device comprises:
Transceiver module; Be used to receive request message from said client; And to said client transmission response message; And send the sampled data request and receive the data answering message from said monitored device to said monitored device, carry client identification and timestamp information in the wherein said request message;
Cache module electrically connects with said transceiver module, is used for the data answering message from said monitored device that the said transceiver module of buffer memory receives;
Processing module; Electrically connect with said transceiver module and said cache module, the client identification of the client-requested message that is used for receiving according to said transceiver module extracts and said client corresponding response message from said cache module; And said response message sent to said transceiver module; Said response message is deleted from said cache module, carried client identification and the timestamp information identical in the said response message with the described request message
Said client is handled said response message according to the timestamp information in the said response message.
9. like the said device of claim 8, it is characterized in that, also comprise:
Package module; Electrically connect with said transceiver module, said cache module and said processing module; Be used for receiving client identification and the indication of timestamp information and said processing module of the request message of said client according to said transceiver module; Said data answering message is packaged into response message, and the said response message after will encapsulating is saved in the said cache module.
10. like the said device of claim 8, it is characterized in that,
Said cache module specifically is used to preserve one or more client corresponding response message, the corresponding one or more response messages of each client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101728693A CN101635653B (en) | 2009-08-31 | 2009-08-31 | Method and device for real-time performance management |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101728693A CN101635653B (en) | 2009-08-31 | 2009-08-31 | Method and device for real-time performance management |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101635653A CN101635653A (en) | 2010-01-27 |
CN101635653B true CN101635653B (en) | 2012-04-18 |
Family
ID=41594720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101728693A Expired - Fee Related CN101635653B (en) | 2009-08-31 | 2009-08-31 | Method and device for real-time performance management |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101635653B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102195825B (en) * | 2010-03-05 | 2015-11-25 | 新奥特(北京)视频技术有限公司 | A kind of client and the complete mutual supervisory control system of server and method for supervising thereof |
CN102497014B (en) * | 2011-11-15 | 2013-12-18 | 航天科工深圳(集团)有限公司 | Method and device for realizing remote control command transmission in automatic power distribution system |
JP5668714B2 (en) * | 2012-03-28 | 2015-02-12 | カシオ計算機株式会社 | Data processing apparatus and program |
CN103516492B (en) * | 2012-06-18 | 2017-11-14 | 中兴通讯股份有限公司 | Data cache method and device |
CN102883284A (en) * | 2012-09-06 | 2013-01-16 | 大唐移动通信设备有限公司 | Network management method and system based on mobile terminal |
CN103546573B (en) * | 2013-10-30 | 2017-10-17 | 北京荣之联科技股份有限公司 | A kind of method and apparatus to the real-time monitoring of text editing |
CN104219168B (en) * | 2014-09-29 | 2017-11-14 | 新华三技术有限公司 | Control message processing method and device based on UDP transmission |
CN105991363B (en) * | 2015-02-12 | 2020-11-03 | 中兴通讯股份有限公司 | Monitoring processing method and device |
CN108289296A (en) * | 2017-06-30 | 2018-07-17 | 中兴通讯股份有限公司 | Ticket output method, device and storage medium |
CN107911477B (en) * | 2017-12-06 | 2021-01-19 | 深圳市智物联网络有限公司 | Data communication method, device and system |
CN111417130B (en) * | 2019-01-07 | 2022-04-08 | 中国移动通信有限公司研究院 | Data processing method and equipment |
CN111327678A (en) * | 2020-01-20 | 2020-06-23 | 深圳市德堡数控技术有限公司 | Data display method and device, computer equipment and storage medium |
CN111565135A (en) * | 2020-04-30 | 2020-08-21 | 吉林省鑫泽网络技术有限公司 | Method for monitoring operation of server, monitoring server and storage medium |
CN111611134A (en) * | 2020-05-21 | 2020-09-01 | 中国建设银行股份有限公司 | Time monitoring method and device, application terminal and storage medium |
CN115208957A (en) * | 2022-06-22 | 2022-10-18 | 北京旋极信息技术股份有限公司 | Communication method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155079A (en) * | 2006-09-26 | 2008-04-02 | 阿里巴巴公司 | Method, device and system for monitoring instant communication server |
CN101388903A (en) * | 2008-10-16 | 2009-03-18 | 中国移动通信集团福建有限公司 | Mobile enterprise IT standardization management platform |
-
2009
- 2009-08-31 CN CN2009101728693A patent/CN101635653B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155079A (en) * | 2006-09-26 | 2008-04-02 | 阿里巴巴公司 | Method, device and system for monitoring instant communication server |
CN101388903A (en) * | 2008-10-16 | 2009-03-18 | 中国移动通信集团福建有限公司 | Mobile enterprise IT standardization management platform |
Also Published As
Publication number | Publication date |
---|---|
CN101635653A (en) | 2010-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101635653B (en) | Method and device for real-time performance management | |
CN108712485B (en) | Resource subscription method and device for Internet of things equipment | |
CN112422544A (en) | Machine room equipment information monitoring system based on MQTT communication protocol | |
CN110300050A (en) | Information push method, device, computer equipment and storage medium | |
US8862880B2 (en) | Two-stage anonymization of mobile network subscriber personal information | |
CN102655481B (en) | A kind of instant messaging chat content inspection method based on webpage and system | |
CN109152094B (en) | Wireless network connection method for terminal | |
CN102761456B (en) | A kind of method, Apparatus and system obtaining browser of mobile terminal performance parameter | |
CN104253714B (en) | Monitoring method, system, browser and server | |
CN102761864A (en) | Data transmission method, system and device | |
CN102355374A (en) | Data acquisition method and equipment | |
US20150178400A1 (en) | Method and device for acquiring terminal information in heterogeneous terminal environment | |
CN101989919A (en) | Local software diagnosing and maintaining system as well as corresponding method and system for diagnosis and maintenance | |
CN113225339B (en) | Network security monitoring method and device, computer equipment and storage medium | |
CN101808116A (en) | Method for monitoring network camera by using mobile phone and system file server thereof | |
CN101409654B (en) | Method for processing SNMP information in network management system | |
CN102938716A (en) | Content distribution network acceleration test method and device | |
WO2017181817A1 (en) | Server testing method, device, and system, and storage medium | |
CN109495602B (en) | Method and device for processing network access abnormity | |
CN108039970A (en) | Equipment management system and method | |
CN103401931B (en) | A kind of method and system for downloading file | |
CN104468248B (en) | Service performance monitoring method, reverse proxy server, statistical analysis server and system | |
CN105119764B (en) | Method and apparatus for traffic monitoring | |
CN103428171A (en) | Session processing method, application server and system | |
CN104462235A (en) | Internet of Things general event service mechanism based on Restful Web 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |
|
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: 20120418 Termination date: 20200831 |