CN105893209B - A kind of monitoring method, apparatus and system - Google Patents

A kind of monitoring method, apparatus and system Download PDF

Info

Publication number
CN105893209B
CN105893209B CN201610200677.9A CN201610200677A CN105893209B CN 105893209 B CN105893209 B CN 105893209B CN 201610200677 A CN201610200677 A CN 201610200677A CN 105893209 B CN105893209 B CN 105893209B
Authority
CN
China
Prior art keywords
data
function module
objective function
monitoring
monitoring data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610200677.9A
Other languages
Chinese (zh)
Other versions
CN105893209A (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.)
ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
Original Assignee
ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd filed Critical ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
Priority to CN201610200677.9A priority Critical patent/CN105893209B/en
Publication of CN105893209A publication Critical patent/CN105893209A/en
Application granted granted Critical
Publication of CN105893209B publication Critical patent/CN105893209B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application discloses a kind of monitoring method, apparatus and system, method includes:The objective function module of required monitoring in platform to be monitored is determined by client, the objective function module is monitored, obtain monitoring data corresponding with the objective function module, the monitoring data includes at least Data Identification, the response time for showing data source, monitoring data is sent to server-side by user datagram udp protocol by client, so that server-side determines the corresponding objective function module of monitoring data using the Data Identification in monitoring data, and utilize the response time of objective function module described in the response time analysis in monitoring data.Monitoring method provided by the present application realizes the monitoring to function module to be monitored in platform by client, by acquiring monitoring data and being sent to server-side, monitoring data is analyzed by server-side, analysis result provides strong data and support for platform management personnel to maintenance, the update of each function module.

Description

A kind of monitoring method, apparatus and system
Technical field
This application involves technical field of data processing, more specifically to a kind of monitoring, apparatus and system.
Background technology
With the development of internet, more and more enterprises create the service platform of oneself on network.Platform provides Diversified service.
In general, platform all includes multiple function modules, such as user log-in block, database module etc., it is different Function module can provide different services to the user.During user's access platform, various types of data are will produce, Such as the response time etc. that each function module accesses user.The partial data can be platform management personnel to each function mould Maintenance, the update of block provide strong data and support.Therefore, there is an urgent need for a kind of platform monitoring schemes for the prior art.
Invention content
In view of this, this application provides a kind of monitoring, apparatus and system, for the function mould to needing to monitor in platform Block is monitored, and is acquired monitoring data and is carried out certain data analysis.
To achieve the goals above, it is proposed that scheme it is as follows:
A kind of monitoring method, is applied to client, and this method includes:
Determine the objective function module of required monitoring in platform to be monitored;
The objective function module is monitored, monitoring data corresponding with the objective function module is obtained, it is described Monitoring data includes at least Data Identification, the response time for showing data source;
The monitoring data is sent to server-side by user datagram udp protocol, so that server-side utilizes monitoring number Data Identification in determines the corresponding objective function module of monitoring data, and utilizes the response time analysis institute in monitoring data State the response time of objective function module.
Preferably, the objective function module is monitored, when obtaining response corresponding with the objective function module Between process, including:
Using the startime functions being set in advance in the entrance function of the objective function module, request of data is recorded At the beginning of inputting the objective function module;
Using the endtime functions being set in advance in the export function of the objective function module, record data execute As a result the end time of the objective function module is exported;
According to the time started and the end time, the response time of the objective function module is calculated.
Preferably, the monitoring data further includes the request of data time;
Then, the objective function module is monitored, when obtaining request of data corresponding with the objective function module Between process, including:
When having detected that request of data inputs the objective function module, determines current time, asked as a data The time asked.
Preferably, the monitoring data further includes encoding state;
Then, the objective function module is monitored, obtains encoding state corresponding with the objective function module Process, including:
Obtain the encoding state in the objective function module output data, by the encoding state of acquisition be determined as with it is described The corresponding encoding state of objective function module;
The encoding state is the objective function module according to preset logic, for data are normal and inhomogeneity The different encoding states that the error in data of type is exported, different types of error in data include user input data request error With objective function module process data mistake.
A kind of monitoring method, is applied to server-side, and this method includes:
The monitoring data that client is sent by user datagram udp protocol is received, the monitoring data includes at least table The Data Identification of bright data source, response time;
The corresponding objective function module of the monitoring data is determined using the Data Identification in the monitoring data;
The response time of the objective function module is determined using the response time in the monitoring data.
Preferably, the monitoring data further includes the request of data time, and this method further includes:
According to the monitoring data received in the setting period, the request of data of each objective function module in the statistics setting period Time and request number of times.
Preferably, the monitoring data further includes encoding state, and this method further includes:
According to the monitoring data received in the setting period, the coding shape of each objective function module in the statistics setting period State;
For the encoding state of each objective function module, show the number of the normal encoding state of data according to statistics, with And show the number of the encoding state of error in data;
For the encoding state for showing error in data of each objective function module, according to the type of error in data, statistics is not The number of the encoding state of same type mistake.
A kind of monitoring device, is applied to client, which includes:
Module determination unit, the objective function module for determining required monitoring in platform to be monitored;
Monitoring data collection unit obtains and the objective function mould for being monitored to the objective function module The corresponding monitoring data of block, the monitoring data include at least Data Identification, the response time for showing data source;
Monitoring data transmission unit, for the monitoring data to be sent to server-side by user datagram udp protocol, So that server-side determines the corresponding objective function module of monitoring data using the Data Identification in monitoring data, and utilize monitoring number The response time of objective function module described in response time analysis in.
A kind of monitoring device, is applied to server-side, which includes:
Monitoring data receiving unit, the monitoring data sent by user datagram udp protocol for receiving client, institute It states monitoring data and includes at least Data Identification, the response time for showing data source;
Module recognition unit, for determining the corresponding mesh of the monitoring data using the Data Identification in the monitoring data Mark function module;
Response time determination unit, for determining the objective function module using the response time in the monitoring data Response time.
A kind of monitoring system, including client and server-side;
Wherein, the client, the objective function module for determining required monitoring in platform to be monitored;To the target Function module is monitored, and obtains monitoring data corresponding with the objective function module, and the monitoring data includes at least table The Data Identification of bright data source, response time;The monitoring data is sent to the clothes by user datagram udp protocol Business end;
The server-side determines the corresponding mesh of the monitoring data for the Data Identification in the monitoring data using reception Mark function module;The response time of the objective function module is determined using the response time in the monitoring data.
It can be seen from the above technical scheme that monitoring method provided by the embodiments of the present application, is determined by client and waits supervising The objective function module for controlling required monitoring in platform, is monitored the objective function module, obtains and the objective function The corresponding monitoring data of module, the monitoring data includes at least Data Identification, the response time for showing data source, by client Monitoring data is sent to server-side by end by user datagram udp protocol, so that server-side utilizes the data in monitoring data Mark determines the corresponding objective function module of monitoring data, and utilizes objective function described in the response time analysis in monitoring data The response time of module.Monitoring method provided by the present application realizes the prison to function module to be monitored in platform by client Control is analyzed monitoring data by server-side, analysis result is platform pipe by acquiring monitoring data and being sent to server-side Reason personnel provide strong data and support to maintenance, the update of each function module.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of monitoring system structural schematic diagram disclosed in the embodiment of the present application;
Fig. 2 is a kind of the embodiment of the present application monitoring method flow chart disclosed in the client angle;
Fig. 3 is the embodiment of the present application another monitoring method flow chart disclosed in the client angle;
Fig. 4 is a kind of the embodiment of the present application monitoring method flow chart disclosed in the server-side angle;
Fig. 5 is the embodiment of the present application another monitoring method flow chart disclosed in the server-side angle;
Fig. 6 is the embodiment of the present application another monitoring method flow chart disclosed in the server-side angle;
Fig. 7 is a kind of the embodiment of the present application monitoring device structural schematic diagram disclosed in the client angle;
Fig. 8 is a kind of the embodiment of the present application monitoring device structural schematic diagram disclosed in the server-side angle.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
This application provides a kind of monitoring systems, and referring to Fig. 1, Fig. 1 is a kind of monitoring system disclosed in the embodiment of the present application Structural schematic diagram.
As shown in Figure 1, the monitoring system includes client 1 and server-side 2;
Wherein, client 1 is used to determine the objective function module of required monitoring in platform to be monitored;To the objective function Module is monitored, and obtains monitoring data corresponding with the objective function module, and the monitoring data, which includes at least, to be shown to count According to the Data Identification in source, response time;The monitoring data is sent to the server-side by user datagram udp protocol 2;
The server-side 2 determines that the monitoring data is corresponding for the Data Identification in the monitoring data using reception Objective function module;The response time of the objective function module is determined using the response time in the monitoring data.
, can be to the monitoring of function module to be monitored in platform according to monitoring system provided by the present application, and pass through clothes Monitoring data is analyzed at business end, and analysis result provides maintenance, the update of each function module for platform management personnel strong Data support.
Next, the application is introduced application scheme with client angle.
Referring to Fig. 2, Fig. 2 is a kind of the embodiment of the present application monitoring method flow chart disclosed in the client angle.
As shown in Fig. 2, this method includes:
Step S200, the objective function module of required monitoring in platform to be monitored is determined;
Specifically, in platform to be monitored include multiple function modules, determine which function module needs to carry out in this step Monitoring, is determined as objective function module.Can be that user specifies for objective function module.
Step S210, the objective function module is monitored, obtains monitoring corresponding with the objective function module Data;
Specifically, by being monitored to objective function module, user can be obtained and input the objective function module The data that data and function module data processing procedure generate, using these data as monitoring data, monitoring data is at least wrapped Include the Data Identification for showing data source and response time.
Wherein, Data Identification can include data from project name, module title, controller title etc..In turn, lead to Controller, module where crossing Data Identification and can finding data, project.Response time is that objective function module receives user certainly It asks to providing to feed back consumed time.
Step S220, the monitoring data is sent to server-side by user datagram udp protocol.
By the way that monitoring data is sent to server-side, so that server-side determines monitoring using the Data Identification in monitoring data The corresponding objective function module of data, and described in the response time analysis in utilization monitoring data when the response of objective function module Between.
Monitoring method provided by the embodiments of the present application is determined the objective function of required monitoring in platform to be monitored by client Module is monitored the objective function module, obtains monitoring data corresponding with the objective function module, the monitoring Data include at least Data Identification, the response time for showing data source, and monitoring data is passed through user datagram by client Udp protocol is sent to server-side, so that server-side determines the corresponding target of monitoring data using the Data Identification in monitoring data Function module, and utilize the response time of objective function module described in the response time analysis in monitoring data.The application provides Monitoring method realize the monitoring by client to function module to be monitored in platform, monitoring data and sent by acquiring To server-side, monitoring data is analyzed by server-side, analysis result be platform management personnel to the maintenance of each function module, Update provides strong data and supports.
Next, by taking the response time for including in monitoring data as an example, the process of client control function module is carried out Explanation.
Referring to Fig. 3, Fig. 3 another monitoring method flow charts disclosed in the client angle that are the embodiment of the present application.
As shown in figure 3, this method includes:
Step S300, the objective function module of required monitoring in platform to be monitored is determined;
Specifically, in platform to be monitored include multiple function modules, determine which function module needs to carry out in this step Monitoring, is determined as objective function module.Can be that user specifies for objective function module.
Step S310, the startime functions being set in advance in the entrance function of the objective function module, note are utilized At the beginning of recording the request of data input objective function module;
Step S320, the endtime functions being set in advance in the export function of the objective function module, record are utilized Data implementing result exports the end time of the objective function module;
Step S330, according to the time started and the end time, when calculating the response of the objective function module Between;
Specifically, the end time subtracts the response time that the time started can be obtained objective function module.
Step S340, server-side is sent to by user datagram udp protocol using the response time as monitoring data.
The process that client is monitored objective function module is described by taking the response time as an example in the present embodiment, it is other Monitoring data is similar.
Further by taking monitoring data includes the request of data time as an example, client is detecting described in request of data input When objective function module, current time is determined, the time as a request of data.And then using the request of data time as monitoring Data are sent to server-side, so that server-side counts request of data time, the request of data number of each function module.
Further, monitoring data can also include encoding state.It needs exist for explaining, function module output Data are typically all to format, and can all have similar code mechanism, namely comprising encoding state, encoding state reflects data Whether normal, and it can reflect in error in data the type of error in data by encoding state.
On this basis, client obtains the encoding state in objective function module output data, by the coding shape of acquisition State is determined as encoding state corresponding with objective function module, and server-side is sent to as monitoring data.
Objective function module is exported according to preset logic for data normally with different types of error in data Different encoding states, different types of error in data may include at user input data request error and objective function module Manage error in data.Briefly, one is system mistakes, such as database write-in failure;Another kind is user behavior mistake, example As user has carried out certain unreasonable operations.
It lifts for example, the application provides, encoding state is that 0-999 represents that data are normal, and 1000-2000 is represented at function module Error in data is managed, 2000 or more represent user input data request error.
Next, the application is described further application scheme from the angle of server-side.
Referring to Fig. 4, Fig. 4 is a kind of the embodiment of the present application monitoring method flow chart disclosed in the server-side angle.
As shown in figure 4, this method includes:
Step S400, the monitoring data that client is sent by user datagram udp protocol is received;
Wherein, the monitoring data includes at least Data Identification, the response time for showing data source.
Specifically, Data Identification can include data from project name, module title, controller title etc..
Step S410, the corresponding objective function mould of the monitoring data is determined using the Data Identification in the monitoring data Block;
Specifically, server-side by Data Identification can find data from controller, module, project.
Step S420, the response time of the objective function module is determined using the response time in the monitoring data.
Wherein, the response time is asked from user is received to providing time for consuming of feedback by objective function module.
Optionally, the application can store the monitoring data of reception, and when storage can be deposited using redis Storage.
Monitoring method provided by the embodiments of the present application is determined the objective function of required monitoring in platform to be monitored by client Module is monitored the objective function module, obtains monitoring data corresponding with the objective function module, the monitoring Data include at least Data Identification, the response time for showing data source, and monitoring data is passed through user datagram by client Udp protocol is sent to server-side.Server-side determines the corresponding objective function of monitoring data using the Data Identification in monitoring data Module, and utilize the response time of objective function module described in the response time analysis in monitoring data.Prison provided by the present application Prosecutor method realizes the monitoring to function module to be monitored in platform by client, by acquiring monitoring data and being sent to clothes It is engaged in end, analyzing monitoring data by server-side, analysis result is maintenance, update of the platform management personnel to each function module Strong data are provided to support.
Referring to Fig. 5, Fig. 5 another monitoring method flow charts disclosed in the server-side angle that are the embodiment of the present application.
As shown in figure 5, this method includes:
Step S500, the monitoring data that client is sent by user datagram udp protocol is received;
Wherein, the monitoring data includes at least Data Identification, response time and the request of data for showing data source Time.
Data Identification can include data from project name, module title, controller title etc..
The request of data time is the time that user asks to objective function module input data.
Step S510, the corresponding objective function mould of the monitoring data is determined using the Data Identification in the monitoring data Block;
Specifically, server-side by Data Identification can find data from controller, module, project.
Step S520, the response time of the objective function module is determined using the response time in the monitoring data;
Step S530, according to the monitoring data received in the setting period, each objective function module in the statistics setting period The request of data time and request number of times.
Compared to a upper embodiment, by being counted to the monitoring data for setting the period in the present embodiment, can obtain Request of data Annual distribution and request of data number of the function module within the setting period.
Further, the application can also be shown by the data that the forms such as block diagram, list obtain statistics.
Referring to Fig. 6, Fig. 6 another monitoring method flow chart disclosed in the server-side angle that is the embodiment of the present application.
As shown in fig. 6, this method includes:
Step S600, the monitoring data that client is sent by user datagram udp protocol is received;
Wherein, the monitoring data includes at least Data Identification, response time and the encoding state for showing data source.
Data Identification can include data from project name, module title, controller title etc..
Whether encoding state reflects data normally, and data mistake can be reflected by encoding state in error in data Type accidentally.
Step S610, the corresponding objective function mould of the monitoring data is determined using the Data Identification in the monitoring data Block;
Specifically, server-side by Data Identification can find data from controller, module, project.
Step S620, the response time of the objective function module is determined using the response time in the monitoring data;
Step S630, according to the monitoring data received in the setting period, each objective function module in the statistics setting period Encoding state;
Step S640, for the encoding state of each objective function module, show the normal encoding state of data according to statistics Number, and show the number of the encoding state of error in data;
Step S650, for the encoding state for showing error in data of each objective function module, according to the class of error in data Type counts the number of the encoding state of different type mistake.
It lifts for example, the application provides, encoding state is that 0-999 represents that data are normal, and 1000-2000 is represented at function module Error in data is managed, 2000 or more represent user input data request error.
Then by the statistics to the encoding state of each objective function module in the setting period, objective function mould can be obtained Block different types of error in data when setting the number and error in data of the normal number of data, error in data in the period Number.
It is illustrated with a specific example, it is as follows to the statistical result of some objective function module:
Total (total request number of times):100
Success (successful request number of times):80
Fail (request number of times of failure):20
Code200 (code 200):70
Code201 (code 201):8
Code202 (code 202):2
Code600 (code 600, error condition):10
Code2000 (code 2000, error condition):10
Further, the application can also be shown by the data that the forms such as block diagram, list obtain statistics.
Monitoring device provided by the embodiments of the present application is described below, monitoring device described below and above description Monitoring method can correspond reference.
Referring to Fig. 7, Fig. 7 is a kind of the embodiment of the present application monitoring device structural schematic diagram disclosed in the client angle.
As shown in fig. 7, the device includes:
Module determination unit 71, the objective function module for determining required monitoring in platform to be monitored;
Monitoring data collection unit 72 obtains and the objective function for being monitored to the objective function module The corresponding monitoring data of module, the monitoring data include at least Data Identification, the response time for showing data source;
Monitoring data transmission unit 73, for the monitoring data to be sent to service by user datagram udp protocol End so that server-side determines the corresponding objective function module of monitoring data using the Data Identification in monitoring data, and utilizes prison Control the response time of objective function module described in the response time analysis in data.
Optionally, above-mentioned monitoring data collection unit can specifically lead to when acquiring the response time of objective function module Under type such as is crossed to realize:
Using the startime functions being set in advance in the entrance function of the objective function module, request of data is recorded At the beginning of inputting the objective function module;
Using the endtime functions being set in advance in the export function of the objective function module, record data execute As a result the end time of the objective function module is exported;
According to the time started and the end time, the response time of the objective function module is calculated.
Optionally, monitoring data can also include the request of data time.
Based on this, the mode of monitoring data collection unit gathered data request time can be:
When having detected that request of data inputs the objective function module, determines current time, asked as a data The time asked.
Optionally, monitoring data can also include encoding state.
Based on this, the mode of monitoring data collection unit acquisition encoding state can be:
Obtain the encoding state in the objective function module output data, by the encoding state of acquisition be determined as with it is described The corresponding encoding state of objective function module.
Wherein, the encoding state is the objective function module according to preset logic, for data normally and The different encoding states that different types of error in data is exported, different types of error in data include that user input data is asked Ask mistake and objective function module process data mistake.
Referring to Fig. 8, Fig. 8 is a kind of the embodiment of the present application monitoring device structural schematic diagram disclosed in the server-side angle.
As shown in figure 8, the device includes:
Monitoring data receiving unit 81, the monitoring data sent by user datagram udp protocol for receiving client, The monitoring data includes at least Data Identification, the response time for showing data source;
Module recognition unit 82, for determining that the monitoring data is corresponding using the Data Identification in the monitoring data Objective function module;
Response time determination unit 83, for determining the objective function mould using the response time in the monitoring data The response time of block.
Optionally, the monitoring data further includes the request of data time, which can also include:
Request time statistic unit, for according to the monitoring data received in the setting period, statistics to set each in the period The request of data time of objective function module and request number of times.
Optionally, the monitoring data can also include encoding state, which can also include:
First encoding state statistic unit, for according to the monitoring data received in the setting period, statistics setting period The encoding state of interior each objective function module;
Second encoding state statistic unit shows to count for the encoding state for each objective function module according to statistics According to the number of normal encoding state, and show the number of the encoding state of error in data;
Third encoding state statistic unit, for the encoding state for showing error in data for each objective function module, According to the type of error in data, the number of the encoding state of different type mistake is counted.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the application. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can in other embodiments be realized in the case where not departing from spirit herein or range.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (8)

1. a kind of monitoring method, which is characterized in that be applied to client, this method includes:
Determine the objective function module of required monitoring in platform to be monitored;
The objective function module is monitored, monitoring data corresponding with the objective function module, the monitoring are obtained Data include at least Data Identification, the response time for showing data source;
The monitoring data is sent to server-side by user datagram udp protocol, so that server-side is using in monitoring data Data Identification determine the corresponding objective function module of monitoring data, and utilize mesh described in the response time analysis in monitoring data Mark the response time of function module;
Wherein, when the monitoring data further includes encoding state, the objective function module is monitored, obtain with it is described The process of the corresponding encoding state of objective function module, including:
The encoding state in the objective function module output data is obtained, the encoding state of acquisition is determined as and the target The corresponding encoding state of function module;
The encoding state is the objective function module according to preset logic, normally and different types of for data The different encoding states that error in data is exported, different types of error in data include user input data request error and mesh It marks function module and handles error in data.
2. according to the method described in claim 1, it is characterized in that, be monitored to the objective function module, obtain and institute The process of objective function module corresponding response time is stated, including:
Utilize the startime functions being set in advance in the entrance function of the objective function module, record request of data input At the beginning of the objective function module;
Using the endtime functions being set in advance in the export function of the objective function module, data implementing result is recorded Export the end time of the objective function module;
According to the time started and the end time, the response time of the objective function module is calculated.
3. according to the method described in claim 1, it is characterized in that, the monitoring data further includes the request of data time;
Then, the objective function module is monitored, obtains the request of data time corresponding with the objective function module Process, including:
When having detected that request of data inputs the objective function module, current time is determined, as request of data Time.
4. a kind of monitoring method, which is characterized in that be applied to server-side, this method includes:
The monitoring data that client is sent by user datagram udp protocol is received, the monitoring data, which includes at least, to be shown to count According to the Data Identification in source, response time;
The corresponding objective function module of the monitoring data is determined using the Data Identification in the monitoring data;
The response time of the objective function module is determined using the response time in the monitoring data;
Wherein, when the monitoring data further includes encoding state, further include:
According to the monitoring data received in the setting period, the encoding state of each objective function module in the statistics setting period;
For the encoding state of each objective function module, show the number of the normal encoding state of data, Yi Jibiao according to statistics The number of the encoding state of bright error in data;
For the encoding state for showing error in data of each objective function module inhomogeneity is counted according to the type of error in data The number of the encoding state of type mistake.
5. according to the method described in claim 4, it is characterized in that, the monitoring data further includes the request of data time, the party Method further includes:
According to the monitoring data received in the setting period, the request of data time of each objective function module in the statistics setting period And request number of times.
6. a kind of monitoring device, which is characterized in that be applied to client, which includes:
Module determination unit, the objective function module for determining required monitoring in platform to be monitored;
Monitoring data collection unit obtains and the objective function module pair for being monitored to the objective function module The monitoring data answered, the monitoring data include at least Data Identification, the response time for showing data source;
Monitoring data transmission unit, for the monitoring data to be sent to server-side by user datagram udp protocol, so as to Server-side determines the corresponding objective function module of monitoring data using the Data Identification in monitoring data, and using in monitoring data Response time analysis described in objective function module response time;
Wherein, when the monitoring data further includes encoding state, the side of the monitoring data transmission unit acquisition encoding state Formula is:
The encoding state in the objective function module output data is obtained, the encoding state of acquisition is determined as and the target The corresponding encoding state of function module;
The encoding state is the objective function module according to preset logic, normally and different types of for data The different encoding states that error in data is exported, different types of error in data include user input data request error and mesh It marks function module and handles error in data.
7. a kind of monitoring device, which is characterized in that be applied to server-side, which includes:
Monitoring data receiving unit, the monitoring data sent by user datagram udp protocol for receiving client, the prison Control data include at least Data Identification, the response time for showing data source;
Module recognition unit, for determining the corresponding target work(of the monitoring data using the Data Identification in the monitoring data It can module;
Response time determination unit, the sound for determining the objective function module using the response time in the monitoring data Between seasonable;
When the monitoring data further includes encoding state, which further includes:
First encoding state statistic unit, for according to the monitoring data received in the setting period, statistics to set each in the period The encoding state of objective function module;
Second encoding state statistic unit shows data just for the encoding state for each objective function module according to statistics The number of normal encoding state, and show the number of the encoding state of error in data;
Third encoding state statistic unit, for the encoding state for showing error in data for each objective function module, according to The type of error in data counts the number of the encoding state of different type mistake.
8. a kind of monitoring system, which is characterized in that including client and server-side;
Wherein, the client, the objective function module for determining required monitoring in platform to be monitored;To the objective function Module is monitored, and obtains monitoring data corresponding with the objective function module, and the monitoring data, which includes at least, to be shown to count According to the Data Identification in source, response time;The monitoring data is sent to the service by user datagram udp protocol End;
When the monitoring data further includes encoding state, the client is additionally operable to supervise the objective function module Control, obtains the process of encoding state corresponding with the objective function module, including:Obtain the objective function module output number The encoding state of acquisition is determined as encoding state corresponding with the objective function module by the encoding state in;The volume Code state is the objective function module according to preset logic, normally and different types of error in data institute for data The different encoding states of output, different types of error in data includes user input data request error and objective function module Handle error in data;
The server-side determines the corresponding target work(of the monitoring data for the Data Identification in the monitoring data using reception It can module;The response time of the objective function module is determined using the response time in the monitoring data;
When the monitoring data further includes the encoding state, the server-side is additionally operable to:It is received according to setting in the period Monitoring data, statistics setting the period in each objective function module encoding state;For the coding shape of each objective function module State, shows the number of the normal encoding state of data according to statistics, and shows the number of the encoding state of error in data;For The encoding state for showing error in data of each objective function module counts different type mistake according to the type of error in data The number of encoding state.
CN201610200677.9A 2016-03-31 2016-03-31 A kind of monitoring method, apparatus and system Active CN105893209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610200677.9A CN105893209B (en) 2016-03-31 2016-03-31 A kind of monitoring method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610200677.9A CN105893209B (en) 2016-03-31 2016-03-31 A kind of monitoring method, apparatus and system

Publications (2)

Publication Number Publication Date
CN105893209A CN105893209A (en) 2016-08-24
CN105893209B true CN105893209B (en) 2018-08-14

Family

ID=57011813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610200677.9A Active CN105893209B (en) 2016-03-31 2016-03-31 A kind of monitoring method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105893209B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147628A (en) * 2017-04-27 2017-09-08 努比亚技术有限公司 A kind of data processing equipment and method
CN108717438B (en) * 2018-05-16 2020-10-23 北京奇艺世纪科技有限公司 Chained data state acquisition system and method
CN113835967B (en) * 2021-09-28 2024-05-17 北京京东拓先科技有限公司 Monitoring method, monitoring device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984415A (en) * 2010-11-02 2011-03-09 中兴通讯股份有限公司 Method and device for setting monitoring index threshold
CN102231673A (en) * 2011-05-31 2011-11-02 北京京东世纪贸易有限公司 System and method for monitoring business server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010097285A (en) * 2008-10-14 2010-04-30 Fujitsu Ltd System analysis support program, system analysis support device, and system analysis support method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984415A (en) * 2010-11-02 2011-03-09 中兴通讯股份有限公司 Method and device for setting monitoring index threshold
CN102231673A (en) * 2011-05-31 2011-11-02 北京京东世纪贸易有限公司 System and method for monitoring business server

Also Published As

Publication number Publication date
CN105893209A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US20080270207A1 (en) Compliance Monitoring
US20160274965A1 (en) System operations management apparatus, system operations management method and program storage medium
CN105893209B (en) A kind of monitoring method, apparatus and system
KR101951526B1 (en) Interface Middleware System for Smart Factory Platform and Method for Operating The Same
CN102196018A (en) Multiple simultaneous session support by a remote technician
US8000819B2 (en) Manufacturing instruction evaluation support system, manufacturing instruction evaluation support method, and manufacturing instruction evaluation support program
WO2015027954A1 (en) Management of operational data from multiple data sources
CN101237356A (en) System and method for monitoring
CN111352969B (en) Buried point data analysis method and device and electronic equipment
JPWO2016147298A1 (en) RECOMMENDATION DEVICE, RECOMMENDATION DETERMINING METHOD, AND COMPUTER PROGRAM
JP2006277290A (en) Operation support device and method, and business navigation system
CN105335266B (en) Method for determining the failure of tested equipment
CN105955123B (en) The generation and announcement of shared tally set
CN110262955B (en) Application performance monitoring tool based on pinpoint
KR20180054950A (en) System of managing air pollution and system of providing cleaning service using the same
CN113516374B (en) Indoor fire extinguishing system of electronic equipment and unmanned on duty place
US10515316B2 (en) System and method for using data obtained from a group of geographically dispersed magnetic resonance systems to optimize customer-specific clinical, operational and/or financial performance
CN113672497A (en) Method, device and equipment for generating non-buried point event and storage medium
JP2003166988A (en) Clinical inspection system
CN110232488A (en) Worksheet method, system and equipment
JP2006018735A (en) Coding standard observance situation monitoring system
CN108133359A (en) A kind of attendance management method and device
CN114338688B (en) Data management method and device
CN112600974B (en) Remote control robot service platform system and use method
CN110555625B (en) Information processing method, device, computer equipment and storage medium

Legal Events

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