Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Performance monitoring method and system for WEB system and storage medium

A performance and key performance technology, applied in the front-end of the web and the Internet field, can solve the problems of insufficient time-consuming statistics, inaccurate statistics, inconvenient operation and implementation, etc. The method is simple and easy to implement, has a wide range of applications, and improves accuracy sexual effect

Active Publication Date: 2019-01-08
SHANGHAI HODE INFORMATION TECH CO LTD
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method has several disadvantages. First, it is often impossible to accurately count the time consumption of each stage between points (such as connection establishment, DNS resolution, and content transmission) by burying the time-consuming statistics, and only the total time difference can be obtained; secondly , adding embedded code in the business source code will also increase the execution time of the business source code, resulting in inaccurate statistical time consumption; and once the business source code is updated, new key nodes for performance monitoring will be generated, and the source code needs to be changed at this time Code to add buried points
These all increase the difficulty of monitoring the WEB system, which is not easy to operate and realize

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Performance monitoring method and system for WEB system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] In this embodiment, when the performance monitoring of the WEB system is performed, several interfaces of the browser, which is the host environment for running the web system, are first called to obtain performance-related data. The specific process is as follows:

[0042] The monitoring system first monitors the "load" event of the page in the WEB system (that is, the loading event), and then starts to perform subsequent performance monitoring operations after monitoring the occurrence of the loading event. In this embodiment, it will monitor the loading event after 2 seconds. Then perform the corresponding operation, and change the time according to the actual situation.

[0043] After listening to the loading event, call the Web Performance API to obtain the corresponding monitoring data, and perform timestamp calculation based on the monitoring data, so as to obtain the performance data of the entrance page and the performance data of key performance nodes in the pa...

Embodiment 2

[0051] The performance monitoring method of the WEB system in this embodiment is basically the same as the editing process in Embodiment 1. The difference is that in this embodiment, in the process of obtaining performance data of key performance nodes in the page, after a loading event occurs, the page There is no corresponding key performance node for the time being. At this time, the monitoring system only performs the operation of obtaining the performance data of the entry page. With the continuous progress of loading events, several new key performance nodes are generated in the page. At this time, the PerformanceObserver interface can be used. After the new key performance nodes are generated, the monitoring system is notified. After the monitoring system receives the notification, for these generated key performance nodes, access to the entry page is obtained through the performance.getEntries interface, and then these key performance nodes are obtained through the perfo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a performance monitoring method and system for a WEB system and a storage medium, belonging to the technical field of the Internet. The method comprises the following steps: the monitoring system monitors the loading event of the WEB system; after the loading event occurs, the listening data obtained from all the browser interfaces in the WEB system is read, and the performance data of the WEB system is calculated by the time stamp; a computer program is stored on the medium, and when the computer program is executed by the processor, the performance monitoring methodof the WEB system is realized. The performance monitoring system comprises a processor and a memory. A computer program is stored on the memory. When the computer program is executed by the processor,the performance monitoring method of the WEB system is realized. Compared with the prior art, the invention has the advantages of high accuracy of monitoring data, no need to change the source code,wide application range and the like.

Description

technical field [0001] The present invention relates to the field of Internet technology, in particular to the field of web front-end, and specifically refers to a performance monitoring method, system and storage medium of a WEB system. Background technique [0002] With the development of Internet technology, the performance monitoring of WEB system has been more and more widely used in real life. The existing WEB performance monitoring method is usually to add buried point information at key nodes in the business source code to collect Time-consuming point-to-point, so as to complete the monitoring. This method has several disadvantages. First, it is often impossible to accurately count the time consumption of each stage between points (such as connection establishment, DNS resolution, and content transmission) by burying the time-consuming statistics, and only the total time difference can be obtained; secondly , adding embedded code in the business source code will als...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/34
CPCG06F11/3476
Inventor 邵帅史团委
Owner SHANGHAI HODE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products