CN103856359B - Obtain the method and system of information - Google Patents

Obtain the method and system of information Download PDF

Info

Publication number
CN103856359B
CN103856359B CN201210493261.2A CN201210493261A CN103856359B CN 103856359 B CN103856359 B CN 103856359B CN 201210493261 A CN201210493261 A CN 201210493261A CN 103856359 B CN103856359 B CN 103856359B
Authority
CN
China
Prior art keywords
monitoring
specified
information
latitude
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
CN201210493261.2A
Other languages
Chinese (zh)
Other versions
CN103856359A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210493261.2A priority Critical patent/CN103856359B/en
Publication of CN103856359A publication Critical patent/CN103856359A/en
Application granted granted Critical
Publication of CN103856359B publication Critical patent/CN103856359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and system for obtaining information, belong to network communication technology field.Methods described includes:The solicited message that layer obtains application is uniformly accessed into, the solicited message is pre-processed to obtain the monitoring information of the solicited message, and the monitoring information is pushed into transferring system;The transferring system is uniformly accessed into the monitoring information that layer push comes described in receiving, and the specified monitoring information in the monitoring information is sent on the quality of service monitor interface message processor (IMP) specified;The quality of service monitor interface message processor (IMP) specified obtains the configuration information of monitoring latitude, counts the specified monitoring information according to the configuration information of the monitoring latitude, obtains monitoring data;The Input System that collects specified is obtained and collects the monitoring data in the quality of service monitor interface message processor (IMP) specified, and the monitoring data is routed in the database table specified according to monitoring latitude.

Description

Obtain the method and system of information
Technical field
The present invention relates to network communication technology field, more particularly to a kind of method and system for obtaining information.
Background technology
UGC(User Generated Content/User Created Content, user's original content)It is a kind of use Family uses the new paragon of internet, and in existing network, user can not only download required data from network, can be with By the content uploading of oneself creation into network, for example, uploading daily record, photo etc..Wherein, community network, video sharing and rich Visitor etc. is UGC main application form.
With the variation of intelligent terminal and the continuous development of global interconnection network service, the increasing network user participates in Into UGC business.Substantial amounts of user will necessarily produce substantial amounts of data, finally bring a greater amount of grades of reading and writing data to ask.Face So quick, substantial amounts of reading and writing data is asked, the service quality of network how is monitored, to pinpoint the problems, to navigate in time It is to need to solve the problems, such as at present where problem.
The content of the invention
One kind is provided in order to realize the monitoring of the service quality to network response mass data, in the embodiment of the present invention to obtain Win the confidence the method and system of breath.The technical scheme is as follows:
On the one hand, there is provided a kind of method for obtaining information, methods described include:
The solicited message that layer obtains application is uniformly accessed into, the solicited message is pre-processed to obtain the solicited message Monitoring information, and the monitoring information is pushed to transferring system;
The transferring system is uniformly accessed into the monitoring information that layer push comes described in receiving, by the monitoring information Specified monitoring information be sent on the quality of service monitor interface message processor (IMP) specified;
The quality of service monitor interface message processor (IMP) specified obtains the configuration information of monitoring latitude, wherein, the monitoring latitude Configuration information include it is at least one:The monitoring primary key value specified, the monitoring attributes value specified or the monitoring granularity specified, The specified monitoring information is counted according to the configuration information of the monitoring latitude, obtains monitoring data;
The Input System that collects specified obtains and collects the monitoring data in the quality of service monitor interface message processor (IMP) specified, The monitoring data is routed in the database table specified according to monitoring latitude.
The layer that is uniformly accessed into is pre-processed to obtain the monitoring information of the solicited message to the solicited message, bag Include:
The solicited message of the application is abstracted as multiple monitoring primary key values and multiple monitoring by the layer that is uniformly accessed into Property value, the monitoring information of the solicited message is obtained, wherein, the monitoring primary key value includes at least one:It is described to ask The command word asked, the process ID of the application, the process name of the application, the application process server IP, call described in The ID of the process of application or the client ip for calling the application, the monitoring attributes value include at least one:It is described to ask The overtime number of successful number, the failure number of the request, the processing time of the request or the request asked.
The quality of service monitor interface message processor (IMP) specified counts the specified prison according to the configuration information of the monitoring latitude Information is controlled, obtains monitoring data, including:
The quality of service monitor interface message processor (IMP) specified is according to the monitoring primary key value specified and described specifies Monitoring attributes value is by the monitoring granularity specified to multiple monitoring primary key values in the specified monitoring information and the multiple Monitoring attributes value is screened, and obtains the monitoring primary key value specified and the prison specified in the multiple monitoring primary key value Property value is controlled, and the monitoring primary key value specified obtained after the screening and the monitoring attributes value specified are entered Row statistics, obtains monitoring data.
The monitoring information is sent on the quality of service monitor interface message processor (IMP) specified by the transferring system, including:
The monitoring information is uniformly sent on different quality monitoring interface message processor (IMP)s by the transferring system, the service specified Quality interfaces machine receives the specified monitoring information in the monitoring information.
The Input System that collects specified obtains and collects the monitoring in the quality of service monitor interface message processor (IMP) specified Data, the monitoring data is routed in the database table specified according to monitoring latitude, including:
That specifies collects the monitoring data in the Input System acquisition quality of service monitor interface message processor (IMP) specified, to described Monitoring data is counted according to monitoring latitude, obtains the combined data of every kind of monitoring latitude, and by every kind of monitoring latitude Combined data be saved in by preset rules in specified database table.
The combined data of every kind of monitoring latitude is saved in finger by the Input System that collects specified by preset rules Determine in database table, including:
The Input System that collects specified caches the combined data by preset rules, judge it is described it is data cached whether Meet storage condition, if it is, the combined data of every kind of monitoring latitude is routed in specified database table.
On the other hand, there is provided a kind of system for obtaining information, the system include:It is uniformly accessed into layer, transferring system, extremely A few quality of service monitor interface message processor (IMP) specified and it is at least one specify collect Input System;
It is described to be uniformly accessed into layer, for obtaining the solicited message of application, the solicited message is pre-processed to obtain institute The monitoring information of solicited message is stated, and the monitoring information is pushed to the transferring system;
The transferring system, for receiving the monitoring information for being uniformly accessed into layer push and coming, by the monitoring Specified monitoring information in information is sent on the quality of service monitor interface message processor (IMP) specified;
The quality of service monitor interface message processor (IMP) specified, for obtaining the configuration information of monitoring latitude, wherein, the monitoring The configuration information of latitude includes at least one:The monitoring primary key value specified, the monitoring attributes value specified or the monitoring specified Granularity, the specified monitoring information is counted according to the configuration information of the monitoring latitude, obtains monitoring data;
It is described specify collect Input System, for obtaining and collecting in the quality of service monitor interface message processor (IMP) specified Monitoring data, the monitoring data is routed in the database table specified according to monitoring latitude.
The layer that is uniformly accessed into is pre-processed to obtain the monitoring information of the solicited message to the solicited message, bag Include:
The solicited message of the application is abstracted as multiple monitoring primary key values and multiple monitoring by the layer that is uniformly accessed into Property value, the monitoring information of the solicited message is obtained, wherein, the monitoring primary key value includes at least one:It is described to ask The command word asked, the process ID of the application, the process name of the application, the application process server IP, call described in The ID of the process of application or the client ip for calling the application, the monitoring attributes value include at least one:It is described to ask The overtime number of successful number, the failure number of the request, the processing time of the request or the request asked.
The quality of service monitor interface message processor (IMP) specified counts the specified prison according to the configuration information of the monitoring latitude Information is controlled, obtains monitoring data, including:
The quality of service monitor interface message processor (IMP) specified is according to the monitoring primary key value specified and described specifies Monitoring attributes value is by the monitoring granularity specified to multiple monitoring primary key values in the specified monitoring information and described Multiple monitoring attributes values are screened, and are obtained the monitoring primary key value specified in the multiple monitoring primary key value and are specified Monitoring attributes value, and to the monitoring primary key value specified obtained after the screening and the monitoring attributes specified Value is counted, and obtains monitoring data.
The Input System that collects specified obtains and collects the monitoring in the quality of service monitor interface message processor (IMP) specified Data, the monitoring data is routed in the database table specified according to monitoring latitude, including:
The monitoring data collected in the Input System acquisition service quality monitoring system specified specified, to institute State monitoring data to be counted according to monitoring latitude, obtain the combined data of every kind of monitoring latitude, and by every kind of monitoring latitude The combined data of degree is saved in specified database table by preset rules.
The combined data of every kind of monitoring latitude is saved in finger by the Input System that collects specified by preset rules Determine in database table, including:
The Input System that collects specified caches the combined data by preset rules, judge it is described it is data cached whether Meet storage condition, if it is, the combined data of every kind of monitoring latitude is routed in specified database table.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:It is uniformly accessed into the request letter that layer obtains application Breath, is pre-processed to obtain the monitoring information of the solicited message, and the monitoring information is pushed to the solicited message Transferring system;The transferring system is uniformly accessed into the monitoring information that layer push comes described in receiving, by the monitoring information In specified monitoring information be sent on the quality of service monitor interface message processor (IMP) specified;The quality of service monitor interface message processor (IMP) specified The configuration information of monitoring latitude is obtained, the specified monitoring information is counted according to the configuration information of the monitoring latitude, supervised Control data;The Input System that collects specified obtains and collects the monitoring data in the quality of service monitor interface message processor (IMP) specified, The monitoring data is routed in the database table specified according to monitoring latitude.It is achieved thereby that mass data is responded to network Service quality monitoring.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of system structure diagram of the acquisition information provided in the embodiment of the present invention one;
Fig. 2 is another system structure diagram for obtaining information provided in the embodiment of the present invention one;
Fig. 3 is a kind of method flow diagram of the acquisition information provided in the embodiment of the present invention two;
Fig. 4 is a kind of method flow diagram of the acquisition information provided in the embodiment of the present invention three.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
Referring to Fig. 1, a kind of system for obtaining information is provided in the present embodiment, the system includes:It is uniformly accessed into layer 101st, transferring system 102, at least one quality of service monitor interface message processor (IMP) 103 specified and it is at least one specify collect storage system System 104;
It is described to be uniformly accessed into layer 101, for obtaining the solicited message of application, the solicited message is abstracted to obtain institute The monitoring information of solicited message is stated, and the monitoring information is pushed to the transferring system;
The transferring system 102, the monitoring information to come is pushed for receiving the layer 101 that is uniformly accessed into, by institute The specified monitoring information stated in monitoring information is sent on the quality of service monitor interface message processor (IMP) specified;
The quality of service monitor interface message processor (IMP) 103 specified, for obtaining the configuration information of monitoring latitude, wherein, it is described The configuration information of latitude is monitored including at least one:The monitoring primary key value specified, the monitoring attributes value specified and specify Granularity is monitored, the specified monitoring information is counted according to the configuration information of the monitoring latitude, obtains monitoring data;
It is described specify collect Input System 104, for obtaining and collecting the quality of service monitor interface message processor (IMP) specified Monitoring data in 103, the monitoring data is routed in the database table specified according to monitoring latitude.
Wherein, the system includes multiple quality of service monitor interface message processor (IMP)s, and transferring system is equal by the request data received Even is dealt on different quality of service monitor interface message processor (IMP)s, the quality of service monitor interface message processor (IMP) specified instead of any one Service Quality Amount monitoring interface message processor (IMP).Also collect Input System including multiple in system, wherein the Input System acute pyogenic infection of finger tip that collects specified each collects Input System, and be not specific to some and collect Input System.
Wherein, the described 101 pairs of solicited message of layer that are uniformly accessed into are pre-processed to obtain the monitoring of the solicited message Information, including:
The solicited message of the application is abstracted as multiple monitoring primary key values and multiple prisons by the layer 101 that is uniformly accessed into Property value is controlled, obtains the monitoring information of the solicited message, wherein, the monitoring primary key value includes at least one:It is described The command word of request, the process ID of the application, the process name of the application, the process server IP of the application, calling institute State the ID of the process of application or call the client ip of the application, the monitoring attributes value includes at least one:It is described The successful number of request, the failure number of the request, the processing time of the request or the overtime number of the request.
Wherein, the quality of service monitor interface message processor (IMP) 103 specified counts institute according to the configuration information of the monitoring latitude Specified monitoring information is stated, obtains monitoring data, including:
The quality of service monitor interface message processor (IMP) 103 specified according to the monitoring primary key value specified and it is described specify Monitoring attributes value by the monitoring granularity specified to multiple monitoring primary key values in the specified monitoring information and institute State multiple monitoring attributes values to be screened, obtain the monitoring primary key value specified in the multiple monitoring primary key value and refer to Fixed monitoring attributes value, and to the monitoring primary key value specified obtained after the screening and the monitoring category specified Property value is counted, and obtains monitoring data.
Further, the Input System 104 that collects specified obtains the quality of service monitor interface message processor (IMP) 103 specified In monitoring data, by the monitoring data according to monitoring latitude be routed in the database table specified, including:
The Input System 104 that collects specified obtains monitoring in the quality of service monitor interface message processor (IMP) 103 specified Data, the monitoring data is counted according to the configuration information of the monitoring latitude, obtains collecting for every kind of monitoring latitude Data, and the combined data of every kind of monitoring latitude is saved in specified database table by preset rules.
Further, it is described specify collect Input System by it is described it is every kind of monitoring latitude combined data by preset rules It is saved in specified database table, including:
The Input System that collects specified caches the combined data by preset rules, judge it is described it is data cached whether Meet storage condition, if it is, the combined data of every kind of monitoring latitude is routed in specified database table.
The system of the acquisition information provided to become more apparent upon those skilled in the art in the present invention, is now exemplified below:
Referring to Fig. 2, the system includes being uniformly accessed into layer, transferring system, three quality of service monitor interface message processor (IMP)s and two remittances Total Input System.Wherein, the solicited message that layer obtains application is uniformly accessed into, solicited message is taken out as being multiple monitoring critical fielies With multiple monitoring attributes values, monitoring information is obtained, and monitoring information is pushed to transferring system;Transferring system receives monitoring letter Monitoring information is uniformly sent on three different quality of service monitor interface message processor (IMP)s after breath;Each quality of service monitor interface Machine is according to the monitoring primary key value specified and the monitoring attributes value specified by the monitoring granularity specified to institute State abstract obtained multiple monitoring primary key values and the multiple monitoring attributes value is screened, obtain the multiple monitoring and close The monitoring primary key value specified in key field value and the monitoring attributes value specified, and it is described specified to what is obtained after the screening Monitoring primary key value and the monitoring attributes value specified counted, obtain monitoring data;Each collect Input System Obtain and collect the monitoring data in all quality of service monitor interface message processor (IMP)s, the monitoring data is routed to according to monitoring latitude In the database table specified.
The beneficial effect of the present embodiment is:The solicited message that layer obtains application is uniformly accessed into, the solicited message is carried out Pretreatment obtains the monitoring information of the solicited message, and the monitoring information is pushed into transferring system;The transferring system The monitoring information that layer push comes is uniformly accessed into described in reception, the specified monitoring information in the monitoring information is sent to On the quality of service monitor interface message processor (IMP) specified;The quality of service monitor interface message processor (IMP) acquisition monitoring latitude specified matches somebody with somebody confidence Breath, the specified monitoring information is counted according to the configuration information of the monitoring latitude, obtains monitoring data;That specifies collects storage System obtains and collects the monitoring data in the quality of service monitor interface message processor (IMP) specified, by the monitoring data according to monitoring Latitude is routed in the database table specified.It is achieved thereby that the monitoring of the service quality of mass data is responded to network.
Embodiment two
Referring to Fig. 3, a kind of method for obtaining information is provided in the present embodiment, methods described includes:
201st, the solicited message that layer obtains application is uniformly accessed into, the solicited message is pre-processed to obtain the request The monitoring information of information, and the monitoring information is pushed to transferring system;
202nd, the monitoring information that layer push comes is uniformly accessed into described in the transferring system reception, the monitoring is believed Specified monitoring information in breath is sent on the quality of service monitor interface message processor (IMP) specified;
203rd, the quality of service monitor interface message processor (IMP) specified obtains the configuration information of monitoring latitude, wherein, the monitoring The configuration information of latitude includes at least one:The monitoring primary key value specified, the monitoring attributes value specified or the monitoring specified Granularity, the specified monitoring information is counted according to the configuration information of the monitoring latitude, obtains monitoring data;
204th, the Input System that collects specified obtains and collects the monitoring in the quality of service monitor interface message processor (IMP) specified Data, the monitoring data is routed in the database table specified according to monitoring latitude.
Wherein, the layer that is uniformly accessed into is pre-processed to obtain the monitoring letter of the solicited message to the solicited message Breath, including:
The solicited message of the application is abstracted as multiple monitoring primary key values and multiple monitoring by the layer that is uniformly accessed into Property value, the monitoring information of the solicited message is obtained, wherein, the monitoring primary key value includes at least one:It is described to ask The command word asked, the process ID of the application, the process name of the application, the application process server IP, call described in The ID of the process of application or the client ip for calling the application, the monitoring attributes value include at least one:It is described to ask The overtime number of successful number, the failure number of the request, the processing time of the request or the request asked.
Wherein, the quality of service monitor interface message processor (IMP) specified counts the finger according to the configuration information of the monitoring latitude Determine monitoring information, obtain monitoring data, including:
The quality of service monitor interface message processor (IMP) specified is according to the monitoring primary key value specified and described specifies Monitoring attributes value is by the monitoring granularity specified to multiple monitoring primary key values and the multiple prison in the specified monitoring information Control property value is screened, and obtains the monitoring primary key value specified and the monitoring specified in the multiple monitoring primary key value Property value, and the monitoring primary key value specified to being obtained after the screening and the monitoring attributes value specified are carried out Statistics, obtains the monitoring data of the request.
Preferably, the monitoring information is sent on the quality of service monitor interface message processor (IMP) specified by the transferring system, bag Include:
The monitoring information is uniformly sent on different quality monitoring interface message processor (IMP)s by the transferring system, the service specified Quality interfaces machine receives the specified monitoring information in the monitoring information.
Further, the Input System that collects specified obtains and collects the quality of service monitor interface message processor (IMP) specified In monitoring data, by the monitoring data according to monitoring latitude be routed in the database table specified, including:
That specifies collects the monitoring data in the warehousing interface machine acquisition service quality monitoring system specified, to described Monitoring data is counted according to monitoring latitude, obtains the combined data of every kind of monitoring latitude, and by every kind of monitoring latitude Combined data be saved in by preset rules in specified database table.
Further, it is described specify collect Input System by it is described it is every kind of monitoring latitude combined data by preset rules It is saved in specified database table, including:
The Input System that collects specified caches the combined data by preset rules, judge it is described it is data cached whether Meet storage condition, if it is, the combined data of every kind of monitoring latitude is routed in specified database table.
The beneficial effect of the present embodiment is:The solicited message that layer obtains application is uniformly accessed into, the solicited message is carried out It is abstract to obtain the monitoring information of the solicited message, and the monitoring information is pushed to transferring system;The transferring system connects The monitoring information that layer push comes is uniformly accessed into described in receipts, the specified monitoring information in the monitoring information is sent to finger On fixed quality of service monitor interface message processor (IMP);The quality of service monitor interface message processor (IMP) specified obtains the configuration information of monitoring latitude, The specified monitoring information is counted according to the configuration information of the monitoring latitude, obtains monitoring data;That specifies collects storage system System obtains and collects the monitoring data in the quality of service monitor interface message processor (IMP) specified, by the monitoring data according to monitoring latitude Degree is routed in the database table specified.It is achieved thereby that the monitoring of the service quality of mass data is responded to network.
Embodiment three
A kind of method for obtaining information is provided in the embodiment of the present invention, referring to Fig. 4, method flow includes:
301st, the solicited message that layer obtains application is uniformly accessed into, the solicited message is pre-processed to obtain the request The monitoring information of information.
In the present embodiment, be uniformly accessed into layer be user access application entrance, wherein application include microblogging, community network or The application programs such as blog.Solicited message includes applying all solicited messages received in preset time, and wherein preset time can To be 1 minute, 5 minutes or 10 minutes etc., this present embodiment is not specifically limited.
In the present embodiment, on the one hand, layer processing user is uniformly accessed into the access request of application, and to end-user interface Return to request response;On the other hand, being uniformly accessed into layer, all access requests in preset time are applied in acquisition on backstage, to every Individual request is pre-processed the monitoring information asked, and wherein monitoring information includes:Monitor primary key value and monitoring attributes Value.Wherein pretreatment each solicited message will be abstracted as multiple monitoring primary key values and multiple monitoring attributes values.Wherein, supervise Control primary key value refers to the ID of trace route path of request, includes but is not limited to:The command word of the request, the process ID of application, answer In process name, the server ip of process of application, the ID of process and the client ip of calling application of calling application One or more, the monitoring attributes value refer to request responsive state, include but is not limited to:The successful number of request, request Failure number, request processing time, request overtime number in one or more.Abstract solicited message as shown in table 1 obtains The monitoring critical field and monitoring attributes value arrived:
Table 1
302nd, it is uniformly accessed into layer and monitoring information is pushed to transferring system.
In the present embodiment, it is uniformly accessed into layer and is only responsible for the collection of solicited message, and each request message is abstracted as multiple Primary key value and multiple monitoring attributes values are monitored, monitoring information is obtained, transferring system is pushed to after obtaining monitoring information, Solicited message is not counted in local.
303rd, transferring system, which receives, is uniformly accessed into the monitoring information that layer push comes, by the specified prison in the monitoring information Control information is sent on the quality of service monitor interface message processor (IMP) specified.
In the present embodiment, multiple Sqm are set(Quality of service monitor)Interface message processor (IMP), transferring system, which receives, is uniformly accessed into layer push All monitoring informations to come over, and these monitoring informations are uniformly sent to different Sqm(Quality of service monitor)On interface message processor (IMP), All service quality interface message processor (IMP)s share monitoring information equally, and the service quality interface message processor (IMP) specified receives specifying in the monitoring information Monitoring information.The Sqm interface message processor (IMP)s specified refer to any one Sqm interface message processor (IMP) for receiving monitoring information, are not to refer in particular to some Sqm interface message processor (IMP)s, specified monitoring information are the monitoring informations that the Sqm interface message processor (IMP)s specified are shared equally.
304th, the quality of service monitor interface message processor (IMP) specified obtains the configuration information of monitoring latitude, according to the monitoring latitude Configuration information counts the specified monitoring information, obtains monitoring data.
In the present embodiment, monitoring latitude refers to the angles of analysis monitoring data, such as from command word, front end calling process name Angularly request data is counted.Monitoring latitude can be configured as needed.
The configuration information of the monitoring latitude includes but is not limited to:Monitoring primary key value, the monitoring category specified specified Property one or more of value and the monitoring granularity specified.Wherein, monitoring granularity refers to the specified duration for counting solicited message.Example Such as, the solicited message within 1 minute is counted, counts the solicited message within 2 minutes, or counts the request letter within 5 minutes Breath.In the present embodiment preferably, monitoring the configuration information of latitude includes:Monitoring primary key value, the monitoring category specified specified Property the value and monitoring granularity specified, but alternatively, the monitoring critical field specified can be only included by monitoring the configuration information of latitude The monitoring attributes value for being worth and specifying, or the monitoring primary key value specified and the monitoring granularity specified, in this present embodiment simultaneously It is not specifically limited.
In the present embodiment, the configuration information of monitoring latitude is pre-configured with, when being counted to solicited message, obtains monitoring The configuration information of latitude, and solicited message is counted according to the configuration information of monitoring latitude.Wherein, the monitoring specified is crucial Field value may only include the partial value and part monitoring attributes value in multiple monitoring primary key values, it may for example comprise request life Make word, front end applications process ID, front end applications process server IP and call applications client IP, not including front end applications process Name calls application process ID etc., needs in this case according to configuration information to the monitoring critical field in solicited message Value and monitoring attributes value are screened, and obtain needing the data monitored.
Specifically, the quality of service monitor interface message processor (IMP) specified is described specified according to the configuration information statistics of the monitoring latitude Monitoring information, monitoring data is obtained, including:The quality of service monitor interface message processor (IMP) specified is crucial according to the monitoring specified Field value and the monitoring attributes value specified are closed by specified monitoring granularity to multiple monitoring in the specified monitoring information Key field value and multiple monitoring attributes values are screened, and obtain the monitoring keyword specified in the multiple monitoring primary key value Segment value and the monitoring attributes value specified, and the monitoring primary key value specified to being obtained after the screening and described The monitoring attributes value specified is counted, and obtains monitoring data.
305th, the Input System that collects specified obtains and collected monitoring data in the quality of service monitor interface message processor (IMP) specified, The monitoring data is routed in the database specified according to monitoring latitude.
In the present embodiment, set it is multiple collects Input System, wherein specify collect Input System acute pyogenic infection of finger tip each collect into Storehouse system, and be not specific to some and collect Input System.Each collecting Input System monitors all Sqm interface message processor (IMP)s, and obtains Monitoring data in each Sqm interface message processor (IMP)s.Wherein, one is collected Input System and can be responsible for counting multiple monitoring latitudes, and right Each monitoring latitude is collected according to identical monitoring latitude, obtains monitoring data corresponding to each monitoring latitude.Example Such as, request data is counted from the angle of command word, front end calling process name, respectively obtain command word and front end call into Monitoring data corresponding to journey name.
Specifically, the Input System that collects specified obtains and collects the quality of service monitor specified and connects in the present embodiment Monitoring data in mouth machine, the monitoring data is routed in the database specified according to monitoring latitude, including:The remittance specified Total Input System obtains the monitoring data in the quality of service monitor interface message processor (IMP) specified, to the monitoring data according to monitoring Latitude is counted, and obtains the combined data of every kind of monitoring latitude, and by the combined data of every kind of monitoring latitude by default Rule is saved in specified database table.
In the present embodiment, after collecting to every kind of data for monitoring latitude, Sqm collects Input System to each monitoring The monitoring data of latitude carries out tissue, is divided into different database tables, and monitoring data is saved in the database table of ownership In.Wherein, any one monitoring latitude of specified database table acute pyogenic infection of finger tip needs the database table stored.It is described specify collect storage The combined data of every kind of monitoring latitude is saved in specified database table by system by preset rules, including:It is described to specify The Input System that collects cache the combined data by preset rules, judge it is described it is data cached whether meet storage condition, such as Fruit is that then the combined data of every kind of monitoring latitude is routed in specified database table.Wherein, when storage condition can be Between on meet storage condition or it is data cached on meet storage condition.For example, setting storage condition is for cache-time No to meet the scheduled time, the scheduled time can be 2 minutes or 3 minutes, and storage condition can also be data cached whether meets Predetermined number, such as 20,25 datas, is not specifically limited to this present embodiment.Wherein each database table can cache pre- Data in fixing time, after reaching the scheduled time, it is data cached that database table judges whether local has, and if it is stores the number According to.
The beneficial effect of the present embodiment is:The solicited message that layer obtains application is uniformly accessed into, the solicited message is carried out It is abstract to obtain the monitoring information of the solicited message, and the monitoring information is pushed to transferring system;The transferring system connects The monitoring information that layer push comes is uniformly accessed into described in receipts, the specified monitoring information in the monitoring information is sent to finger On fixed quality of service monitor interface message processor (IMP);The quality of service monitor interface message processor (IMP) specified obtains the configuration information of monitoring latitude, The specified monitoring information is counted according to the configuration information of the monitoring latitude, obtains monitoring data;That specifies collects storage system System obtains and collects the monitoring data in the quality of service monitor interface message processor (IMP) specified, by the monitoring data according to monitoring latitude Degree is routed in the database table specified.It is achieved thereby that the monitoring of the service quality of mass data is responded to network.And directly The concept of monitoring latitude is introduced in the front end of monitoring system, greatly reduces monitoring data, improves system effectiveness.On the other hand, should System can carry out tissue as required to monitoring data, that is, choose certain monitoring latitude and carry out tissue, reduce each monitoring Data table size, and each monitoring data table can be routed in different databases, and database preserves and inquiry velocity has Larger raising.On the other hand, new monitoring latitude can be proposed, and defined accordingly in configuration center according to the needs of operation The new monitoring latitude, it becomes possible to realize the statistics to the monitoring latitude, facilitate the extension of system.And the introducing of transferring system, Make operating service and monitoring service separation on line, many to monitoring data expands space, and is used interim data later Other business bring possibility.On the other hand, Sqm interface message processor (IMP)s are according to monitoring latitude Statistical monitor information, and database is by monitoring Latitude stores monitoring data, i.e. the unit of data processing unit and memory cell is all monitoring latitude, so when monitoring system is whole When body load is high, it is possible to some monitoring latitudes are moved to the processing unit and memory cell of new dilatation, to not migrating Monitoring type have no effect, the so more convenient flexible dilatation for realizing system, eliminate possible bottleneck.
It should be noted that:The system of the acquisition information provided in above-described embodiment, only drawing with above-mentioned each functional module Divide and be illustrated, in practical application, can be completed as needed and by above-mentioned function distribution by different functional modules, i.e., The internal structure of device is divided into different functional modules, to complete all or part of function described above.
In addition, the system for the acquisition information that above-described embodiment provides belongs to same structure with obtaining the embodiment of the method for information Think, its specific implementation process refers to embodiment of the method, repeated no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (11)

  1. A kind of 1. method for obtaining information, it is characterised in that methods described includes:
    The solicited message that layer obtains application is uniformly accessed into, the solicited message is pre-processed to obtain the prison of the solicited message Information is controlled, and the monitoring information is pushed to transferring system;
    The transferring system is uniformly accessed into the monitoring information that layer push comes described in receiving, by the finger in the monitoring information Determine monitoring information to be sent on the quality of service monitor interface message processor (IMP) specified;
    The quality of service monitor interface message processor (IMP) specified obtains the configuration information of monitoring latitude, wherein, the monitoring latitude is matched somebody with somebody Confidence breath includes at least one:The monitoring primary key value specified, the monitoring attributes value specified or the monitoring granularity specified, according to The configuration information of the monitoring latitude counts the specified monitoring information, obtains monitoring data;
    The Input System that collects specified obtains and collects the monitoring data in the quality of service monitor interface message processor (IMP) specified, by institute Monitoring data is stated to be routed in the database table specified according to monitoring latitude.
  2. 2. according to the method for claim 1, it is characterised in that the layer that is uniformly accessed into is located in advance to the solicited message Reason obtains the monitoring information of the solicited message, including:
    The solicited message of terminal user is abstracted as multiple monitoring primary key values and multiple monitoring attributes by the layer that is uniformly accessed into Value, obtains the monitoring information of the solicited message, wherein, the monitoring primary key value includes at least one:The request Command word, the process ID of the application, the process name of the application, the process server IP of the application, the calling application Process ID or call the client ip of the application, the monitoring attributes value includes at least one:The request Success number, the failure number of the request, the processing time of the request or the overtime number of the request.
  3. 3. according to the method for claim 2, it is characterised in that the quality of service monitor interface message processor (IMP) specified is according to The configuration information for monitoring latitude counts the specified monitoring information, obtains monitoring data, including:
    The quality of service monitor interface message processor (IMP) specified is according to the monitoring primary key value specified and the monitoring specified Property value is by the monitoring granularity specified to multiple monitoring primary key values in the specified monitoring information and the multiple monitoring Property value is screened, and obtains the monitoring primary key value specified and the monitoring category specified in the multiple monitoring primary key value Property value, and the monitoring primary key value specified obtained after the screening and the monitoring attributes value specified are united Meter, obtains monitoring data.
  4. 4. according to the method for claim 1, it is characterised in that the monitoring information is sent to specified by the transferring system Quality of service monitor interface message processor (IMP) on, including:
    The monitoring information is uniformly sent on different quality of service monitor interface message processor (IMP)s by the transferring system, the service specified Quality monitoring interface message processor (IMP) receives the specified monitoring information in the monitoring information.
  5. 5. according to the method for claim 1, it is characterised in that the Input System that collects specified is obtained and collected described Monitoring data in the quality of service monitor interface message processor (IMP) specified, the monitoring data is routed to the number specified according to monitoring latitude According in the table of storehouse, including:
    That specifies collects the monitoring data in the Input System acquisition quality of service monitor interface message processor (IMP) specified, to the monitoring Data according to monitoring latitude counted, obtain it is every kind of monitoring latitude combined data, and by it is described it is every kind of monitoring latitude remittance Total data is saved in specified database table by preset rules.
  6. 6. according to the method for claim 4, it is characterised in that it is described specify collect Input System by every kind of monitoring The combined data of latitude is saved in specified database table by preset rules, including:
    The Input System that collects specified caches the combined data by preset rules, judges described data cached whether meet Storage condition, if it is, the combined data of every kind of monitoring latitude is routed in specified database table.
  7. 7. a kind of system for obtaining information, it is characterised in that the system includes:It is uniformly accessed into layer, transferring system, at least one The quality of service monitor interface message processor (IMP) specified and it is at least one specify collect Input System;
    It is described to be uniformly accessed into layer, for obtaining the solicited message of application, the solicited message is pre-processed to obtain described ask The monitoring information of information is sought, and the monitoring information is pushed to the transferring system;
    The transferring system, for receiving the monitoring information for being uniformly accessed into layer push and coming, by the monitoring information In specified monitoring information be sent on the quality of service monitor interface message processor (IMP) specified;
    The quality of service monitor interface message processor (IMP) specified, for obtaining the configuration information of monitoring latitude, wherein, the monitoring latitude Configuration information include it is at least one:The monitoring primary key value specified, the monitoring attributes value specified or the monitoring granularity specified, The specified monitoring information is counted according to the configuration information of the monitoring latitude, obtains monitoring data;
    It is described specify collect Input System, for obtaining and collecting the monitoring in the quality of service monitor interface message processor (IMP) specified Data, the monitoring data is routed in the database table specified according to monitoring latitude.
  8. 8. system according to claim 7, it is characterised in that the layer that is uniformly accessed into is located in advance to the solicited message Reason obtains the monitoring information of the solicited message, including:
    The solicited message of the application is abstracted as multiple monitoring primary key values and multiple monitoring attributes by the layer that is uniformly accessed into Value, obtains the monitoring information of the solicited message, wherein, the monitoring primary key value includes at least one:The request Command word, the process ID of the application, the process name of the application, the process server IP of the application, the calling application Process ID, call the client ip of the application, the monitoring attributes value includes at least one:The request into Work(number, the failure number of the request, the processing time of the request or the overtime number of the request.
  9. 9. system according to claim 8, it is characterised in that the quality of service monitor interface message processor (IMP) specified is according to The configuration information for monitoring latitude counts the specified monitoring information, obtains monitoring data, including:
    The quality of service monitor interface message processor (IMP) specified is according to the monitoring primary key value specified and the monitoring specified Property value is by the monitoring granularity specified to multiple monitoring primary key values in the specified monitoring information and the multiple Monitoring attributes value is screened, and obtains the monitoring primary key value specified and the prison specified in the multiple monitoring primary key value Property value is controlled, and the monitoring primary key value specified obtained after the screening and the monitoring attributes value specified are entered Row statistics, obtains monitoring data.
  10. 10. system according to claim 7, it is characterised in that the Input System that collects specified obtains and collects institute The monitoring data in the quality of service monitor interface message processor (IMP) specified is stated, the monitoring data is routed to what is specified according to monitoring latitude In database table, including:
    The monitoring data collected in the Input System acquisition quality of service monitor interface message processor (IMP) specified specified, to described Monitoring data is counted according to monitoring latitude, obtains the combined data of every kind of monitoring latitude, and by every kind of monitoring latitude Combined data be saved in by preset rules in specified database table.
  11. 11. system according to claim 10, it is characterised in that it is described specify collect Input System by every kind of prison The combined data of control latitude is saved in specified database table by preset rules, including:
    The Input System that collects specified caches the combined data by preset rules, judges described data cached whether meet Storage condition, if it is, the combined data of every kind of monitoring latitude is routed in specified database table.
CN201210493261.2A 2012-11-28 2012-11-28 Obtain the method and system of information Active CN103856359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210493261.2A CN103856359B (en) 2012-11-28 2012-11-28 Obtain the method and system of information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210493261.2A CN103856359B (en) 2012-11-28 2012-11-28 Obtain the method and system of information

Publications (2)

Publication Number Publication Date
CN103856359A CN103856359A (en) 2014-06-11
CN103856359B true CN103856359B (en) 2018-03-13

Family

ID=50863603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210493261.2A Active CN103856359B (en) 2012-11-28 2012-11-28 Obtain the method and system of information

Country Status (1)

Country Link
CN (1) CN103856359B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108847998B (en) * 2018-04-20 2021-09-14 平安科技(深圳)有限公司 Report monitoring method and device, computer equipment and storage medium
CN110138634B (en) * 2019-04-03 2021-02-09 福建天泉教育科技有限公司 Key data monitoring method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859227A (en) * 2005-12-28 2006-11-08 华为技术有限公司 Method and system for monitoring service quality according to service level protocol
CN101035117A (en) * 2006-03-06 2007-09-12 腾讯科技(深圳)有限公司 Method and system for collecting the service processing information in the network information service system
EP2254363A1 (en) * 2007-11-19 2010-11-24 Qualcomm Incorporated Diagnostic monitoring by a wireless device
CN102025759A (en) * 2009-09-16 2011-04-20 中国电信股份有限公司 Method and system for providing user generated content (UGC) sharing businesses in real time
CN102231673A (en) * 2011-05-31 2011-11-02 北京京东世纪贸易有限公司 System and method for monitoring business server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859227A (en) * 2005-12-28 2006-11-08 华为技术有限公司 Method and system for monitoring service quality according to service level protocol
CN101035117A (en) * 2006-03-06 2007-09-12 腾讯科技(深圳)有限公司 Method and system for collecting the service processing information in the network information service system
EP2254363A1 (en) * 2007-11-19 2010-11-24 Qualcomm Incorporated Diagnostic monitoring by a wireless device
CN102025759A (en) * 2009-09-16 2011-04-20 中国电信股份有限公司 Method and system for providing user generated content (UGC) sharing businesses in real time
CN102231673A (en) * 2011-05-31 2011-11-02 北京京东世纪贸易有限公司 System and method for monitoring business server

Also Published As

Publication number Publication date
CN103856359A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
US11860874B2 (en) Multi-partitioning data for combination operations
US11922232B2 (en) Responding to incidents identified by an information technology and security operations application using a mobile application
US11716260B2 (en) Hybrid execution of playbooks including custom code
US11281706B2 (en) Multi-layer partition allocation for query execution
US11061548B1 (en) Context-sensitive user interfaces in an information technology (IT) and security operations application
US11620288B2 (en) Dynamically assigning a search head to process a query
US11526504B1 (en) Search-time field extraction in a data intake and query system
US20180089278A1 (en) Data conditioning for dataset destination
US20180089324A1 (en) Dynamic resource allocation for real-time search
CN106933724A (en) A kind of distributed information tracing system, information processing method and device
CN108471366A (en) A kind of stereoscopic monitoring system of facing cloud native applications
US8566527B2 (en) System and method for usage analyzer of subscriber access to communications network
CN108509326B (en) Service state statistical method and system based on nginx log
CN109189782A (en) A kind of indexing means in block chain commodity transaction inquiry
US20090083241A1 (en) Data paging with a stateless service
CN107181821A (en) A kind of information push method and device based on SSE specifications
US20180248772A1 (en) Managing intelligent microservices in a data streaming ecosystem
US11573971B1 (en) Search and data analysis collaboration system
CN107067325A (en) Filter method, filter and the supplying system of stock market data
CN109344180A (en) Method, apparatus, computer equipment and the storage medium that display data obtains
US9054969B2 (en) System and method for situation-aware IP-based communication interception and intelligence extraction
CN103856359B (en) Obtain the method and system of information
US11843622B1 (en) Providing machine learning models for classifying domain names for malware detection
CN107451301B (en) Processing method, device, equipment and storage medium for real-time delivery bill mail
CN105471676B (en) A kind of port scan IP network location liveness statistical system and method

Legal Events

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

Effective date of registration: 20190805

Address after: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403

Co-patentee after: Tencent cloud computing (Beijing) limited liability company

Patentee after: Tencent Technology (Shenzhen) Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.