SpringAop-based system performance monitoring method and device, and electronic device

A system performance and performance technology, applied in hardware monitoring, electrical digital data processing, instruments, etc., can solve the problem of low efficiency of system performance monitoring

Active Publication Date: 2019-10-22
CHINA PING AN LIFE INSURANCE CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problem of low system performance monitoring efficiency in related technologies, the present invention provides a SpringAop-based system performance monitoring method, device, and electronic equipment

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
  • SpringAop-based system performance monitoring method and device, and electronic device
  • SpringAop-based system performance monitoring method and device, and electronic device
  • SpringAop-based system performance monitoring method and device, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] The implementation environment of the present invention may be an electronic device, such as a smart phone, a tablet computer, or a desktop computer.

[0061] figure 1 It is a structural schematic diagram of a device disclosed in an embodiment of the present invention. The apparatus 100 may be the above-mentioned electronic equipment. Such as figure 1 As shown, apparatus 100 may include one or more of the following components: processing component 102 , memory 104 , power component 106 , multimedia component 108 , audio component 110 , sensor component 114 , and communication component 116 .

[0062] The processing component 102 generally controls the overall operations of the device 100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations, among others. The processing component 102 may include one or more processors 118 to execute instructions to complete all or part of the steps of the methods de...

Embodiment 2

[0071] see figure 2 , figure 2 It is a schematic flowchart of a SpringAop-based system performance monitoring method disclosed in the embodiment of the present invention. Such as figure 2 The shown system performance monitoring method based on SpringAop may include the following steps:

[0072] 201. Define a SpringAop-based performance monitoring interceptor.

[0073] In the embodiment of the present invention, SpringAop is an important component in Spring. Among them, AOP (Aspect Oriented Programming, aspect-oriented programming) is used to extract the common features of different methods (such as security verification, log records, etc.) to form an aspect, so that the aspect can be plugged into the business logic when the system is running. Thereby reducing the duplication of code in the system and effectively reducing the coupling degree of different modules in the system. It should be noted that a program flow includes multiple connection points, and the connection...

Embodiment 3

[0094] see image 3 , image 3 It is a schematic flowchart of another SpringAop-based system performance monitoring method disclosed in the embodiment of the present invention. Such as image 3 Shown, this system performance monitoring method based on SpringAop can comprise the following steps:

[0095] 301. Define a SpringAop-based performance monitoring interceptor.

[0096] 302. Associate the performance monitoring interceptor with all methods to be intercepted in the monitored system.

[0097] 303. When the call operation to the target method to be intercepted is detected, before executing the target method to be intercepted, use the performance monitoring interceptor to increase the number of historical calls of the target method to be intercepted to obtain the cumulative number of calls of the target method to be intercepted, And record the start timestamp.

[0098] 304. Execute the target to-be-intercepted method.

[0099] 305. If it is detected that the execution...

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 the technical field of system data monitoring, and discloses a SpringAop-based system performance monitoring method and devices, and an electronic device. The method comprisesthe following steps: defining a performance monitoring interceptor based on Spring Aop; associating the performance monitoring interceptor with all to-be-intercepted methods in the monitored system;when a calling operation on the target to-be-intercepted method is detected, intercepting the target to-be-intercepted method by utilizing a performance monitoring interceptor so as to update a monitoring statistical result on the target to-be-intercepted method; wherein the target to-be-intercepted method is any to-be-intercepted method in the monitored system; and according to the monitoring statistical results of all the to-be-intercepted methods in the monitored system, generating and outputting a method calling frequency ranking list, a method error frequency ranking list and a single method average execution time-consuming ranking list of the monitored system. By implementing the method, the system performance monitoring efficiency can be improved.

Description

technical field [0001] The invention relates to the technical field of system data monitoring, in particular to a SpringAop-based system performance monitoring method, device, and electronic equipment. Background technique [0002] With the widespread application of computer technology, enterprises rely more and more on IT application systems. In order to ensure the stable and reliable operation of the enterprise application system, it is necessary to track the operation of the system in real time, observe the operating efficiency of the system, locate the performance bottleneck of the system, and solve the performance problems of the enterprise application system in a timely manner. In the prior art, system performance is generally monitored by performance testing tools to obtain system performance monitoring data, and professional maintenance personnel are relied on to manually analyze and locate the source of system performance problems based on the system performance mon...

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/3452G06F11/3466
Inventor 曾易刘谟春
Owner CHINA PING AN LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products