Page monitoring method and system
A monitoring system and page technology, applied in the network field, can solve problems such as time-consuming and cumbersome configuration methods
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2013-06-26
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The present application relates to the field of network technology, in particular to a method and system for monitoring webpages. Background technique
[0002] The rapid development of the Internet and the increasing popularity of the Internet have made the Internet and the Internet not only a communication bridge within the enterprise, but also an important channel for the enterprise to conduct various business transactions with the outside world. When using the Internet, it is necessary to visit webpages to complete various activities. The quality of the page performance has an important impact on the activities, so the performance of the webpage needs to be monitored.
[0003] In the existing solution, the granular control of the monitoring method for a single page of the network system needs to invade the application. It is necessary to configure the corresponding monitoring logic and business logic for the method to be monitored in the application...
Examples
Embodiment 1
[0039] refer to figure 1 , a flow chart of a page monitoring method described in the embodiment of the present application is given.
[0040] Step 11, the monitoring server obtains the method to be monitored transmitted by the monitoring client;
[0041] To perform page monitoring, the monitoring client will first transmit the method to be monitored to the monitoring server. For example, the method name of the method to be monitored is transmitted to the monitoring server. After receiving the method name, the monitoring server can know the method to be monitored. Methods.
[0042] Step 12, the monitoring server implants the monitoring logic of the method to be monitored into the application, wherein the monitoring logic is independent of the application;
[0043] After the monitoring server knows the method to be monitored, it will dynamically implant the monitoring logic of the method to be monitored into the application, and the monitoring logic is independent of the appli...
Embodiment 2
[0053] refer to figure 2 , a flow chart of a page monitoring method described in the preferred embodiment of the present application is given.
[0054] In step 21, a series of methods are sequentially stored in the method call stack with the thread ID and access time stamp of the calling method as storage fields, and the first method stored in the method call stack is taken as the first method.
[0055] The method described in this application establishes a method call stack, so when the same request calls a method each time, the thread identification (ID) and access time stamp of the calling method can be used as storage fields. A page contains a series of methods, and the series of methods have a dependency relationship of calling each other, so the series of methods can be stored in the method call stack in turn, and the first method stored in the method call stack as the first method.
[0056] For example, if the call sequence of a certain page is A→B→C, then the first ...