CN104683180A - Performance monitoring method and system as well as application server - Google Patents

Performance monitoring method and system as well as application server Download PDF

Info

Publication number
CN104683180A
CN104683180A CN201510076857.6A CN201510076857A CN104683180A CN 104683180 A CN104683180 A CN 104683180A CN 201510076857 A CN201510076857 A CN 201510076857A CN 104683180 A CN104683180 A CN 104683180A
Authority
CN
China
Prior art keywords
client
monitor message
server
performance
application server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510076857.6A
Other languages
Chinese (zh)
Other versions
CN104683180B (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.)
Beijing Ruixiang Technology Co.,Ltd.
Original Assignee
Peking Blue Hai Xuntong Science And Technology 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 Peking Blue Hai Xuntong Science And Technology Ltd filed Critical Peking Blue Hai Xuntong Science And Technology Ltd
Priority to CN201510076857.6A priority Critical patent/CN104683180B/en
Publication of CN104683180A publication Critical patent/CN104683180A/en
Application granted granted Critical
Publication of CN104683180B publication Critical patent/CN104683180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an application server which comprises a configuration memory, a request processor and a processing engine, wherein the configuration memory is suitable for storing configuration information; the configuration information is used for indicating a first object with monitoring information inserted thereinto; the request processor is suitable for receiving an access request from a client and determining the first object corresponding to the access request; the processing engine is suitable for loading, executing the first object determined by the request processor, and inserting the monitoring information into the corresponding first object according to the stored configuration information in a process of loading and executing the first object to generate a second object with the monitoring information; the request processor is further suitable for sending the second object which is generated by the processing engine and serves as a response to the client, so that the second object can execute monitoring operation according to the monitoring information in the second object when the second object is executed on the client. The invention further provides a performance monitoring system and method.

Description

A kind of method for monitoring performance, system and application server
Technical field
The present invention relates to performance monitoring field, particularly relate to the performance monitoring field of client.
Background technology
Day by day universal along with the Internet, enterprise provides various products & services by web application to user more and more.Different from the professional software used in traditional enterprise, present enterprise software system adopts distributed, virtualized framework.Therefore, the developer of software and network operator more difficult for the monitoring of performance.In order to the monitoring performance to software, developer generally can select before release product, do limited simulated performance test, but the environment that the environment of this test and practical commercial are run greatly differs from each other, may produced problem under being difficult to reflection true environment.Such as, peak hours/period user may at site shopping time attempt that repeatedly pay still can not be successful, or in the application use procedure of smart mobile phone, there is the situation not have response.And after release product, developer, usually according to the Operational Visit daily record of software product, carries out performance evaluation and problem diagnosis in the time relatively lagged behind according to access log.But developer but can not obtain the feedback about code performance in time, more cannot understand the origin of problem and make corresponding correction.Further, the problem that performance is experienced can cause user satisfaction to decline, and brings about great losses to enterprise's business revenue.
Therefore, need a kind of technical scheme can tackling this situation, the program can at web application product operationally, and other is monitored in real time to carry out code level, and feed back monitor data to carry out rapid analysis and to determine improvement direction.
Summary of the invention
For this reason, the invention provides a kind of new scheme to try hard to solve or at least alleviate Problems existing above.
According to an aspect of the present invention, provide a kind of application server, comprise config memory, request processor and processing engine.Config memory is suitable for store configuration information, and the instruction of this configuration information will insert the first object of monitor message wherein.Request processor is suitable for receiving the access request from client, and determines the first object corresponding to this access request.Processing engine is suitable for loading and performs the first object that described request processor determines, and this first object is carried out described loading and the term of execution, in corresponding first object, monitor message is inserted, to generate second object with monitor message according to stored configuration information.The second object that request processor is also suitable for processing engine generates responsively is sent to client, so that when the second object performs on the client, can perform policer operation according to monitor message wherein.
Alternatively, in application according to the present invention server, the first object comprises the script write with various analytic language, and as JSP script, the second object comprises the info web generating according to the first object, be suitable in client executing.
According to another aspect of the invention, also provide a kind of performance monitoring system, comprise client, application according to the present invention server and performance monitoring server.Wherein, client sends access request to application server, and receives the second object of returning from application server and perform.Performance monitoring server is suitable for receiving the client performance parameter sent from client owing to performing the second object, and receive the server performance parameter be associated with execution first object of application server transmission, and according to client performance parameter and server performance parameter, the systematic function of monitor client and application server processes access request.
According to another aspect of the invention, also provide a kind of method for monitoring performance, be suitable for performing in the application server.This method for supervising comprises, store configuration information, and the instruction of this configuration information will insert the first object of monitor message wherein.Receive the access request from client, and determine the first object corresponding to this access request.Load and perform determined first object, and this first object is carried out described loading and the term of execution in the first object, insert monitor message according to configuration information, to generate second object with monitor message; And the second generated object is responsively sent to client, so that when client executing the second object, policer operation can be performed according to monitor message wherein.
According to performance monitoring scheme of the present invention, by using the mode of intermediate language (such as JAVA) dynamic instrumentation at application server, achieve when not changing source code, fast integration performance monitoring and monitor code insert when not installing any SDK application, thus in the processing procedure of application server responses client-access request, add the monitor message being suitable for loading in client and performing.On this basis, client can perform policer operation to the code level of client running according to monitor message, and client performance parameter policer operation obtained is sent to performance monitoring server.In addition, performance monitoring scheme of the present invention, also carries out the monitoring of code level by the processing procedure of application server customer in response end request in the application server, and is sent to performance monitoring server by monitoring the server performance parameter obtained.Further, the performance parameter of the performance monitoring server client that it can be received and application server carries out statistical analysis.Particularly, application is taken performance in server end execution one or many service logic process and carries out statistical analysis by performance monitoring server, and each link be near completion in the network topology of service logic is monitored separately and global analysis.Particularly, performance monitoring server can analyze enterprise supervision server according to the request of client to the first object, and then generates the performance parameter in the process of the second object.And performance server analyzes the performance parameter in client executing second Object Process.Thus, performance server in real time and comprehensively can carry out rapid analysis and resource bottleneck location, so that the improvement direction that clear and definite performance improves to enterprise software product real time execution performance.Further, according in monitoring scheme of the present invention, performance monitoring server also has the automatic modeling function of application call framework, the programmed logic performed by system and corresponding performance parameter can be depicted as topological diagram automatically and carry out visual presenting.
Accompanying drawing explanation
In order to realize above-mentioned and relevant object; combine description below and accompanying drawing herein to describe some illustrative aspect; these aspects indicate the various modes can putting into practice principle disclosed herein, and all aspects and equivalent aspect thereof are intended to fall in the scope of theme required for protection.Read detailed description below in conjunction with the drawings, above-mentioned and other object of the present disclosure, Characteristics and advantages will become more obvious.Throughout the disclosure, identical Reference numeral is often referred to for identical parts or element.
Fig. 1 shows the schematic diagram of performance monitoring system 100 according to an embodiment of the invention;
Fig. 2 shows the schematic diagram of application server 200 according to an embodiment of the invention;
Fig. 3 shows the schematic diagram of the application server 200 according to another embodiment of the present invention;
Fig. 4 shows the display interface figure of client performance parameter according to an embodiment of the invention;
Fig. 5 shows the display interface figure of the performance parameter of the application server of enterprise according to an embodiment of the invention; And
Fig. 6 shows the flow chart of method for monitoring performance 600 according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the schematic diagram of performance monitoring system 100 according to an embodiment of the invention.As shown in Figure 1, performance monitoring system 100 according to the present invention comprises application server 200, client 300 and performance monitoring server 400.The web application of usual enterprise-level can adopt distributed framework, the application realizing enterprise's miscellaneous service logic is comprised in application server 200. application server 200 can directly communicate with the client 300 of this application server 200 of access, or can be communicated with client 300 by web server.Such application server 200 can be absorbed in the realization of service logic, and application server also couples with database.Here, application server 200 includes but not limited to jboss, bea Weblogic and ibm webspere.Web server is the Enerprise etc. of Apache, IIS and Iplanet.
Client 300 refers to the application carrying out with application server 200 communicating, and can reside in the intelligent terminal such as computing equipment or mobile terminal.Such as, client 300 can be browser or the client application being exclusively used in this application server 200 of access.Performance monitoring server 400 can collect the monitor data of application server 200 and client 300, to carry out performance evaluation and to judge resource bottleneck.
Fig. 2 shows the schematic diagram of application server according to an embodiment of the invention.As shown in Figure 2, application according to the present invention server 200 comprises config memory 210, request processor 230 and processing engine 220.Config memory 210 is for store configuration information, and this configuration information is processing engine 220 deal with data and before performing application, the configuration file of use when carrying out preliminary treatment to data or application.Such as, the compiling config option used when configuration information comprises compiling data or application and link path information.Further, can also comprise monitoring indication information in configuration information, namely instruction will insert the first object of monitor message wherein.Here the first object is the object that processing engine 220 processes or performs.Such as, the first object can be the script write with various analytic language, such as executable xml, jsp script etc.Certainly, the object that processing engine 220 processes or performs also can comprise the object not inserting monitor message wherein.
Request processor 230 is suitable for receiving the access request from client 300, such as to the access request of xml or jsp, then request processor 230 understands the object (can be performed by processing engine 220 or be processed) that find access request corresponding according to access request, and then can determine whether this object will insert the first object of monitor message according to configuration information.Correspondingly, when this object is first object that will insert monitor message, request processor 230 can carry out the operation relevant to monitor message by notifier processes engine 220.
Processing engine 220 processes according to configuration information the first object that request processor 230 is determined or performs.Particularly, processing engine 220 loads and performs the first object, and can carry out adding monitor message in the process loading and perform, and then generates the result with monitor message, i.e. the second object.Request processor 230 can by this second object responsively message send to client 300.It should be noted that, the object adding monitor message is here the performance parameter in order to monitor client 300.Therefore, when client 300 performs this second object, meeting performs the policer operation to client 300, to obtain performance parameter according to monitor message.Such as, client 300 is browser, second object is the info web that browser loads, like this when performing policer operation, the performance parameter such as response time of such as web page loading time, script time of implementation, code execution error, client release information, throughput, client resource consumption and access application server 200 can be obtained.Client 300 also can when performing policer operation, the performance parameter of Real-time Collection is periodically sent to performance monitoring server 400, so that performance monitoring server 400 can according to the performance parameter obtained during client 300 run time version, carry out client performance analysis, and the communication process of client 300 and application server 200 is analyzed, thus can quick position resource bottleneck, solution is proposed.
In addition, processing engine 220 also comprises Network Performance Monitor 221, and this watch-dog 221 can be embedded in application server 200 not changing in the original code base of application server 200.This watch-dog 221 is as resident monitor component in the application server, can application server 200 process that processes the run time versions such as client 300 access request monitor, and server performance parameter can be sent to performance monitoring server 400, so that performance monitoring server 400 carries out Cooperative Analysis according to client performance parameter and server performance parameter.
Fig. 3 shows the schematic diagram of the application server 200 according to another embodiment of the present invention.In application according to the present invention server 200, configuration information memory 210, request processor 230 and processing engine 220 may operate on software virtual machine 240, such as Java Virtual Machine (JVM).
As shown in Figure 3, application according to the present invention server runs and has JVM, JVM runs configuration information memory, request processor 230 and processing engine 220.Wherein processing engine also comprises Network Performance Monitor 221 (Agent, probe) and Classloader (not shown).Network Performance Monitor 221 is for being embedded into the monitor component in application server 200.Particularly, by using intermediate language (such as Java) dynamic instrumentation technology, allow on the basis of not changing the original business logic codes of application server 200, and the fast integration monitoring application when not installing any SDK (Integrated Simulation developing instrument).Like this when application server 200 carries out Business Processing, Network Performance Monitor 221 can application server 200 be monitored for the process of the run time version such as process of client 300 access request.Meanwhile, Network Performance Monitor 221 can also operate the configuration information in configuration information memory 210, to determine the incidence relation with monitor message and the first object.When client 300 access application server 200, request processor 230 according to this access request, can search asked object.When this object is the first object, processing engine 220 can perform the operation of inserting monitor message.
Particularly, the first object according to the present invention can be the script utilizing various analytic language to write, such as JSP script, and can be the link information of JS script or this JS script with the monitor message of the first object association.Here the mode that processing engine 220 inserts monitor message can have multiple.According to one embodiment of present invention, processing engine 220 includes before the first object loads, to the JSP compiler that JSP code compiles.Correspondingly, the configuration information in config memory 210 can be yml configuration file.Wherein the example of yml configuration file is as follows:
This yml configuration file is arranged by Agent 221.Before processing engine 220 loads and performs the first object, JSP compiler (not shown) can compile the first object according to this configuration file, and in compilation process, insert monitor message (JS code), and after compiling completes, generate class class file.Then, class class file corresponding for this first object can be loaded into the runtime data area (runtime data) performing this first object by class loading.Class class file in processing engine 220 pairs of runtime data areas performs, and then generates the second object (such as, xml or html data).
According to still another embodiment of the invention, when Classloader loads class class, by Classloader, monitor message is inserted in class class, and then processing engine 220 performs the class class inserting monitor message, generate html webpage, i.e. the second object.In addition, processing engine 220 can also adopt other modes according to the present invention to make the second object have monitor message, all should belong to protection scope of the present invention.
In the various embodiments described above, request processor 230 can by second object with monitor message responsively message send to client.Like this, client 300, when loading this response message, can carry out policer operation according to monitor message.Generally for the load time of the webpage reducing response message, monitor message comprises the chained address of monitoring script, and client 300, when loading the second object, can obtain monitoring script (such as js script) according to this link address.In addition, in monitor message or the monitoring script that obtains, there is identification information (such as transactionName), the performance parameter that the server end that the Network Performance Monitor 221 of this identification information and application server 200 sends to performance monitoring server 400 is relevant with process the first object is corresponding, be convenient to performance monitoring server 400 like this, according to this identification information, the performance parameter that client 300 performance parameter obtains at application server 200 end corresponding thereto carried out association analysis, to obtain complete performance evaluation and resource bottleneck location.Wherein monitor message example is as follows:
Further, the policer operation of client can obtain multiple performance parameter.
Such as, performance parameter comprises client (such as browser) load time parameter.Scripted code example wherein for obtaining web page loading time is as follows:
In an embodiment in accordance with the invention, client 300 policer operation also comprises the version information obtaining browser.
Client 300 performs in policer operation process, periodically can send to performance monitoring server 400 the client performance parameter obtained, and if Network Abnormal, can carry out follow-up asynchronous transmission.Example code wherein to performance monitoring server transmission client performance parameter is as follows:
Further, performance monitoring server 400 according to the present invention can receive client 300 (the special APP of such as browser or access application server) and application server 200 carrying out communicating and finishing service logical process process in correlation performance parameters.In this network topology realizing business logic processing, performance monitoring server 400 obtains the handling property parameter of each link of applied logic process (every single stepping of such as user) respectively from client 300 and application server 400 end, and can pass through obtained performance parameter and identify the code of poor efficiency or mistake and tuning.In addition, performance monitoring server 400 can carry out visual presenting according to the topological diagram that performance parameter is depicted as of performance parameter.Such as, Fig. 4 is the display example of client 300 performance parameter, and Fig. 5 is the display example of the performance parameter of the application server 200 of enterprise.
Fig. 6 shows the flow chart of method for monitoring performance 600 according to an embodiment of the invention.The method 600 is suitable for performing in the application server.
As shown in Figure 6, the method 600 starts from step S610.In step S610, store configuration information, the instruction of this configuration information will insert the first object of monitor message wherein.According to one embodiment of present invention, after the monitor message of indication comprises and is sent to client by application server, the chained address of monitoring script or this monitoring script performed is carried out in client here.And first to as if application server responses data (such as with the script that various analytic language is write, as the JSP script etc.) data object that to perform in client-requested or process.Be suitable in these data objects adding monitor message (such as the link of JS script or this script).
In step S620, receive the access request from client, and determine the first object corresponding to this access request.In this step, when determining that the access request of client to correspond in multiple object any one, the update of monitor message can be performed in subsequent step.Otherwise, if the data object that client is asked does not belong to the first object, then can not carry out the operation of inserting monitor message in subsequent step.
In step S630, load and perform determined first object, and this first object is carried out described loading and the term of execution insert monitor message, to generate second object with monitor message.Particularly, in the second object that the mode that plurality of optional can be adopted to select makes application server generate according to the first object, there is monitor message.In an embodiment in accordance with the invention, after determining the first object (such as JSP script), first monitor message (such as the chained address of JS script or script) is inserted in the first object (being such as inserted into the head portion of html data), then load and perform the first object inserting monitor message, and then generating the second object.In yet another embodiment, first the first object is compiled, then at first object of loading through compiling, monitor message is inserted in the data of loading.Such as, in JVM, Classloader loads class class corresponding to the first object, and can insert monitor message in loading procedure.Like this, there is performed by JVM the class class of monitor message, make, in the second object generated, there is this monitor message.Subsequently, in step S640, the second generated object is responsively sent to described client, so that described in described client executing during the second object, policer operation can be performed according to monitor message wherein.Here, the second object includes but not limited to the data message of the forms such as HTML, XML, JSON.Client can carry out webpage loading and further asynchronous access and asynchronous execution when receiving these data messages, and then monitors relevant performance parameter in the client whole Business Processing relevant to the first object and network service breath process according to monitoring script.
Such as, the general process performing policer operation is in a browser: browser is when loading the second object, according to the chained address in monitor message, request and etc. monitoring script to be loaded (such as JS script), then this monitoring script is performed, to the monitoring performance such as version information, web page loading time, Business Processing duration of browser, obtain client performance parameter.
In addition, method for monitoring performance 600 also comprises the monitoring of application server.
In step S650, monitoring application server to the handling property of the first object, and obtains corresponding server performance parameter.The handling property of the first object is comprised and receives client to the performance parameter in the process the access request of the first object to generation second object, in the process that processes of the Asynchronous Request that sends during loading the second object to client of the performance parameter of application server and application server from application server.In step S660, this server performance parameter is sent to performance server, so that performance server is added up and analyzed this server performance parameter.
Further, performance monitoring server receives the performance parameter of application server and the performance parameter of client, and then carries out multiple statistical analysis according to performance parameter.In an embodiment in accordance with the invention, the performance parameter that performance monitoring server receives comprises the load and execution time of the second object corresponding to the loading of first object at server end place and time of implementation and this first object in client, such performance monitoring server just can in the complete process process of service request, the overall performance of client and application server carries out accurate analysis, and can quick position resource bottleneck and clearly improve the improvement direction of systematic function.In addition, performance monitoring server can also receive performance parameter (such as, the response time of script time of implementation of client, code execution error, client release information, throughput, client resource consumption and access application server sent by client and application server.The server resource consumption of application server end and application server version information), repeat no longer one by one here.
A1: according to method for monitoring performance of the present invention, wherein said monitor message comprises the chained address of monitoring script; And the step of described execution policer operation comprises: load this monitoring script according to this chained address; Perform monitoring script to obtain client performance parameter, and this client performance parameter is sent so that this client performance parameter of this performance server statistical analysis to performance server.A2: according to method for monitoring performance of the present invention, also comprise: monitoring application server to the handling property of described first object, and obtains corresponding server performance parameter; And this server performance parameter is sent to described performance server, so that this server performance parameter of performance server statistical analysis.A3: the method for monitoring performance as described in A2, wherein said client performance parameter comprises: the response time of load time of described second object, script time of implementation, code execution error, client release information, throughput, client resource consumption and access application server; And described server performance parameter comprises: the loading of described first object and time of implementation, server resource consumption and application server version information.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires than the feature more multiple features clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are to be understood that the module of the equipment in example disclosed herein or unit or assembly can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned in one or more equipment different from the equipment in this example.Module in aforementioned exemplary can be combined as a module or can be divided into multiple submodule in addition.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
In addition, some in described embodiment are described as at this can by the processor of computer system or the method implemented by other device performing described function or the combination of method element.Therefore, there is the device of processor formation for implementing the method or method element of the necessary instruction for implementing described method or method element.In addition, the element described herein of device embodiment is the example as lower device: this device is for implementing the function performed by the element of the object in order to implement this invention.
As used in this, unless specifically stated so, use ordinal number " first ", " second ", " the 3rd " etc. to describe plain objects and only represent the different instances relating to similar object, and be not intended to imply the object be described like this must have the time upper, spatially, sequence aspect or in any other manner to definite sequence.
Although the embodiment according to limited quantity describes the present invention, benefit from description above, those skilled in the art understand, in the scope of the present invention described thus, it is contemplated that other embodiment.In addition, it should be noted that the language used in this specification is mainly in order to object that is readable and instruction is selected, instead of select to explain or limiting theme of the present invention.Therefore, when not departing from the scope and spirit of appended claims, many modifications and changes are all apparent for those skilled in the art.For scope of the present invention, be illustrative to disclosing of doing of the present invention, and nonrestrictive, and scope of the present invention is defined by the appended claims.

Claims (10)

1. an application server, comprising:
Config memory, is suitable for store configuration information, and the instruction of this configuration information will insert the first object of monitor message wherein;
Request processor, is suitable for receiving the access request from client, and determines the first object corresponding to this access request; And
Processing engine, be suitable for loading and perform the first object that described request processor determines, and this first object is carried out described loading and the term of execution, in corresponding first object, insert monitor message according to stored configuration information, to generate second object with monitor message;
Wherein, the second object that described request processor is also suitable for described processing engine to generate responsively is sent to described client, so that when described second object performs in described client, can perform policer operation according to monitor message wherein.
2. application server as claimed in claim 1, wherein,
Described first object comprises the script write with various analytic language; And
Described second object comprises the info web be suitable in described client executing generated according to described first object.
3. application server as claimed in claim 1 or 2, wherein, according in following manner, any one loads and performs the first object that described request processor determines described processing engine, and this first object is carried out described loading and the term of execution in corresponding first object, insert monitor message according to stored configuration information, to generate second object with monitor message:
Described monitor message is inserted in described first object, loads and perform the first object inserting this monitor message, to generate second object with monitor message; And
Load described first object, during this load operation, described monitor message is inserted in described first object, and execution inserts the first object of this monitor message to generate the second object.
4. the application server as described in any one of claims 1 to 3, wherein said monitor message comprises the chained address of monitoring script; And
The step of described execution policer operation comprises:
This monitoring script is loaded according to this chained address; And
Perform monitoring script to obtain client performance parameter, and this client performance parameter is sent so that this client performance parameter of this performance server statistical analysis to performance server.
5. the application server as described in any one of Claims 1-4, wherein said processing engine also comprises Network Performance Monitor, this Network Performance Monitor is suitable for monitoring the handling property of this application server to described first object, and obtain corresponding server performance parameter, and this server performance parameter is sent to described performance server, so that this server performance parameter of performance server statistical analysis.
6. application server as claimed in claim 5, wherein,
Described client performance parameter comprises: the response time of load time of described second object, script time of implementation, code execution error, client release information, throughput, client resource consumption and access application server; And
Described server performance parameter comprises: the loading of described first object and time of implementation, server resource consumption and application server version information.
7. a performance monitoring system, comprising:
Client;
As the application server in claim 1-6 as described in any one; And
Performance monitoring server,
Wherein said client sends access request to application server, and receives the second object of returning from application server and perform; And
Described performance monitoring server is suitable for receiving the client performance parameter sent from described client owing to performing the second object, and receive the server performance parameter be associated with execution first object of described application server transmission, and according to described client performance parameter and server performance parameter, monitor the systematic function of described client and application server processes access request.
8. a method for monitoring performance, be suitable for performing in the application server, the method comprises:
Store configuration information, the instruction of this configuration information will insert the first object of monitor message wherein;
Receive the access request from client, and determine the first object corresponding to this access request;
Load and perform determined first object, and this first object is carried out described loading and the term of execution in the first object, insert monitor message according to configuration information, to generate second object with monitor message; And
The second generated object is responsively sent to described client, so that described in described client executing during the second object, policer operation can be performed according to monitor message wherein.
9. method for monitoring performance as claimed in claim 8, wherein,
Described first object comprises the script write with various analytic language; And
Described second object comprises the info web generating according to described first object, be suitable in described client executing.
10. method for monitoring performance as claimed in claim 8 or 9, wherein, described loading also performs the first object that described request processor determines, and this first object is carried out described loading with the term of execution insert its monitor message associated and in the first object, insert monitor message according to configuration information, comprise with the step generating second object with monitor message:
Described monitor message is inserted in described first object, loads and perform the first object inserting this monitor message, to generate second object with monitor message; Or
Load described first object, during this load operation, described monitor message is inserted in described first object, and execution inserts the first object of this monitor message to generate the second object.
CN201510076857.6A 2015-02-12 2015-02-12 A kind of method for monitoring performance, system and application server Active CN104683180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510076857.6A CN104683180B (en) 2015-02-12 2015-02-12 A kind of method for monitoring performance, system and application server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510076857.6A CN104683180B (en) 2015-02-12 2015-02-12 A kind of method for monitoring performance, system and application server

Publications (2)

Publication Number Publication Date
CN104683180A true CN104683180A (en) 2015-06-03
CN104683180B CN104683180B (en) 2019-05-03

Family

ID=53317805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510076857.6A Active CN104683180B (en) 2015-02-12 2015-02-12 A kind of method for monitoring performance, system and application server

Country Status (1)

Country Link
CN (1) CN104683180B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045539A (en) * 2015-08-20 2015-11-11 百度在线网络技术(北京)有限公司 Control method and apparatus for data offline storage
CN105808441A (en) * 2016-03-31 2016-07-27 浪潮通用软件有限公司 Multidimensional performance diagnosis and analysis method
CN106301971A (en) * 2016-11-17 2017-01-04 国家电网公司 Electric power application performance monitoring system based on flow analysis
CN107632920A (en) * 2017-09-16 2018-01-26 广西电网有限责任公司电力科学研究院 A kind of power transmission and transforming equipment monitoring device deep monitored method
CN107729208A (en) * 2017-09-16 2018-02-23 广西电网有限责任公司电力科学研究院 A kind of power transmission and transforming equipment monitoring device deep monitored system
CN107807872A (en) * 2017-10-18 2018-03-16 广西电网有限责任公司电力科学研究院 A kind of power transmission and transformation system method for monitoring operation states
CN107832187A (en) * 2017-10-18 2018-03-23 广西电网有限责任公司电力科学研究院 A kind of power transmission and transformation equipment state monitoring system
CN107888445A (en) * 2017-10-18 2018-04-06 金蝶软件(中国)有限公司 Method, apparatus, computer equipment and the storage medium of performance state analysis
CN108243238A (en) * 2016-12-27 2018-07-03 中国移动通信集团浙江有限公司 The acquisition method and device of a kind of performance data
CN108268356A (en) * 2016-12-30 2018-07-10 中国移动通信集团浙江有限公司 Reversed WEB pitching piles analysis method and WEB server based on bytecode overriding
CN109359019A (en) * 2018-08-15 2019-02-19 中国平安人寿保险股份有限公司 Application program capacity monitoring method, device, electronic equipment and storage medium
CN110287436A (en) * 2019-05-21 2019-09-27 深圳壹账通智能科技有限公司 Detect page load time method, apparatus, equipment and storage medium
CN110795357A (en) * 2019-11-04 2020-02-14 中国工商银行股份有限公司 Program monitoring method and device
CN111104281A (en) * 2019-11-20 2020-05-05 腾讯科技(深圳)有限公司 Game performance monitoring method, device, system and storage medium
CN111381847A (en) * 2018-12-29 2020-07-07 阿里巴巴集团控股有限公司 Information processing method and device
CN113505036A (en) * 2021-05-25 2021-10-15 建信金融科技有限责任公司 Application monitoring method, client and server

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222349A (en) * 2007-01-12 2008-07-16 中国电信股份有限公司 Method and system for collecting web user action and performance data
CN101227348A (en) * 2008-02-02 2008-07-23 杭州华三通信技术有限公司 Server and method for collecting performance statistics data of network equipment
EP2120195A1 (en) * 2008-05-15 2009-11-18 Sap Ag Client-side rule engine for executing business rules in rich internet applications
CN102123061A (en) * 2011-03-28 2011-07-13 杭州电子科技大学 Method for determining performance of Web server
CN102567185A (en) * 2011-12-31 2012-07-11 北京新媒传信科技有限公司 Monitoring method of application server
CN102684934A (en) * 2011-03-17 2012-09-19 阿里巴巴集团控股有限公司 Method and system for monitoring property of web application program and web server
CN103067230A (en) * 2013-01-23 2013-04-24 江苏天智互联科技有限公司 Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code
CN103176892A (en) * 2011-12-20 2013-06-26 阿里巴巴集团控股有限公司 Page monitoring method and system
CN103856471A (en) * 2012-12-06 2014-06-11 阿里巴巴集团控股有限公司 Cross-site scripting attack monitoring system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222349A (en) * 2007-01-12 2008-07-16 中国电信股份有限公司 Method and system for collecting web user action and performance data
CN101227348A (en) * 2008-02-02 2008-07-23 杭州华三通信技术有限公司 Server and method for collecting performance statistics data of network equipment
EP2120195A1 (en) * 2008-05-15 2009-11-18 Sap Ag Client-side rule engine for executing business rules in rich internet applications
CN102684934A (en) * 2011-03-17 2012-09-19 阿里巴巴集团控股有限公司 Method and system for monitoring property of web application program and web server
CN102123061A (en) * 2011-03-28 2011-07-13 杭州电子科技大学 Method for determining performance of Web server
CN103176892A (en) * 2011-12-20 2013-06-26 阿里巴巴集团控股有限公司 Page monitoring method and system
CN102567185A (en) * 2011-12-31 2012-07-11 北京新媒传信科技有限公司 Monitoring method of application server
CN103856471A (en) * 2012-12-06 2014-06-11 阿里巴巴集团控股有限公司 Cross-site scripting attack monitoring system and method
CN103067230A (en) * 2013-01-23 2013-04-24 江苏天智互联科技有限公司 Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045539B (en) * 2015-08-20 2018-11-23 百度在线网络技术(北京)有限公司 The control method and device of off-line data storage
CN105045539A (en) * 2015-08-20 2015-11-11 百度在线网络技术(北京)有限公司 Control method and apparatus for data offline storage
CN105808441A (en) * 2016-03-31 2016-07-27 浪潮通用软件有限公司 Multidimensional performance diagnosis and analysis method
CN105808441B (en) * 2016-03-31 2018-08-14 浪潮通用软件有限公司 A kind of various dimensions performance diagnogtics analysis method
CN106301971A (en) * 2016-11-17 2017-01-04 国家电网公司 Electric power application performance monitoring system based on flow analysis
CN106301971B (en) * 2016-11-17 2019-12-10 国家电网公司 electric power application performance monitoring system based on flow analysis
CN108243238B (en) * 2016-12-27 2020-10-09 中国移动通信集团浙江有限公司 Method and device for acquiring performance data
CN108243238A (en) * 2016-12-27 2018-07-03 中国移动通信集团浙江有限公司 The acquisition method and device of a kind of performance data
CN108268356A (en) * 2016-12-30 2018-07-10 中国移动通信集团浙江有限公司 Reversed WEB pitching piles analysis method and WEB server based on bytecode overriding
CN107632920A (en) * 2017-09-16 2018-01-26 广西电网有限责任公司电力科学研究院 A kind of power transmission and transforming equipment monitoring device deep monitored method
CN107729208A (en) * 2017-09-16 2018-02-23 广西电网有限责任公司电力科学研究院 A kind of power transmission and transforming equipment monitoring device deep monitored system
CN107888445B (en) * 2017-10-18 2020-08-18 金蝶软件(中国)有限公司 Method and device for analyzing performance state, computer equipment and storage medium
CN107888445A (en) * 2017-10-18 2018-04-06 金蝶软件(中国)有限公司 Method, apparatus, computer equipment and the storage medium of performance state analysis
CN107832187A (en) * 2017-10-18 2018-03-23 广西电网有限责任公司电力科学研究院 A kind of power transmission and transformation equipment state monitoring system
CN107807872A (en) * 2017-10-18 2018-03-16 广西电网有限责任公司电力科学研究院 A kind of power transmission and transformation system method for monitoring operation states
CN109359019A (en) * 2018-08-15 2019-02-19 中国平安人寿保险股份有限公司 Application program capacity monitoring method, device, electronic equipment and storage medium
CN111381847A (en) * 2018-12-29 2020-07-07 阿里巴巴集团控股有限公司 Information processing method and device
CN111381847B (en) * 2018-12-29 2023-04-25 阿里巴巴集团控股有限公司 Information processing method and device
CN110287436A (en) * 2019-05-21 2019-09-27 深圳壹账通智能科技有限公司 Detect page load time method, apparatus, equipment and storage medium
CN110795357A (en) * 2019-11-04 2020-02-14 中国工商银行股份有限公司 Program monitoring method and device
CN110795357B (en) * 2019-11-04 2023-04-07 中国工商银行股份有限公司 Program monitoring method and device
CN111104281A (en) * 2019-11-20 2020-05-05 腾讯科技(深圳)有限公司 Game performance monitoring method, device, system and storage medium
CN113505036A (en) * 2021-05-25 2021-10-15 建信金融科技有限责任公司 Application monitoring method, client and server
CN113505036B (en) * 2021-05-25 2023-04-14 中国建设银行股份有限公司 Application monitoring method, client and server

Also Published As

Publication number Publication date
CN104683180B (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN104683180A (en) Performance monitoring method and system as well as application server
US10552301B2 (en) Completing functional testing
Brosig et al. Automated extraction of architecture-level performance models of distributed component-based systems
CN112241360B (en) Test case generation method, device, equipment and storage medium
US7512933B1 (en) Method and system for associating logs and traces to test cases
US20120124559A1 (en) Performance Evaluation System
CN103001815B (en) The acquisition methods of test data, Apparatus and system
US20060184829A1 (en) Web-based analysis of defective computer programs
CN110196809B (en) Interface testing method and device
CN107632920A (en) A kind of power transmission and transforming equipment monitoring device deep monitored method
US10528456B2 (en) Determining idle testing periods
CN114064152A (en) Embedded multi-core debugging system based on dynamic loading and debugging method thereof
CN103186463B (en) Determine the method and system of the test specification of software
CN111124871A (en) Interface test method and device
Panigrahi et al. An approach to prioritize the regression test cases of object-oriented programs
CN110674024B (en) Electronic equipment integrated test system and method thereof
US20100153913A1 (en) Systems and Methods for Executing Object-Oriented Programming Code Invoking Pre-Existing Objects
US20180011778A1 (en) Static code testing of active code
CN104683179A (en) Method, device and system for monitoring execution performance of objects
CN109901831B (en) Multi-platform compatible operation method and compatible operation device of software
Ruprecht et al. Automatic feature selection in large-scale system-software product lines
Danciu et al. Performance awareness in Java EE development environments
CN106951236B (en) Plug-in development method and device
CN111367796B (en) Application program debugging method and device
CN110908918A (en) Unit testing method and device for multiple interdependent node

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100193 room 101-203, 2 / F, building 4, courtyard 10, northwest Wangdong Road, Haidian District, Beijing

Patentee after: BEIJING ONEAPM Co.,Ltd.

Address before: Room 203, building 3, Zone D, Dongsheng Science Park, Zhongguancun, No. 66, xixiaokou Road, Haidian District, Beijing 100189

Patentee before: BEIJING BLUEWARE TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220712

Address after: 100193 room 101-216, 2nd floor, building 4, East District, yard 10, northwest Wangdong Road, Haidian District, Beijing

Patentee after: Beijing Ruixiang Technology Co.,Ltd.

Address before: 100193 Haidian District, Beijing, China 101-203, floor 2, building 4, East District, courtyard 10, Xibeiwang East Road, Haidian District, Beijing

Patentee before: BEIJING ONEAPM Co.,Ltd.