Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for obtaining performance data log

A technology of data log and acquisition method, applied in the field of JAVA, can solve the problems of large modification workload, easy to make mistakes, increase the coupling degree of operation and maintenance and business development, etc., to achieve the effect of improving operation efficiency

Active Publication Date: 2021-09-21
CHINA MOBILE COMM GRP CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the performance monitoring of the link is mainly realized by manually writing the performance log in each calling link by the application developer. However, the performance monitoring code written by the application developer will cause the operation and maintenance code of the performance monitoring and the application Business codes are coupled together, which increases the coupling between operation and maintenance and business development, which will cause a large amount of modification work when changes are required, and it is easy to make mistakes
Taking the electronic channel of a certain company as an example, after completing the transformation of the third-generation business support system, it has more than 10 application packages such as the Internet Hall, WAP Hall, Micro Hall, Product Center, and Order Center. If you need to add an open source framework In the performance log field, more than 10 packages need to be modified at the same time, which seriously increases the workload of developers and greatly affects the efficiency of link performance monitoring

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
  • Method and device for obtaining performance data log
  • Method and device for obtaining performance data log
  • Method and device for obtaining performance data log

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0022] figure 1 It is a schematic flow chart of a method for obtaining performance data logs according to an embodiment of the present invention, such as figure 1 As shown, the performance data log acquisition method provided by the embodiment of the present invention includes the following steps:

[0023] S1: During the process of loading the J...

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

Embodiments of the present invention provide a method and device for obtaining performance data logs. The method includes: during the process of loading the Java classes included in the target application program one by one by the Java virtual machine, if it is determined that the currently loaded target Java class is registered with a pre-registered Set the callback function, then stop loading the target Java class and call back into the performance link agent; the performance link agent determines that the performance log plug-in of the target Java class needs to be modified, and calls the performance log plug-in to the target Java class The bytecode is modified, and the modified bytecode is returned to the Java virtual machine; the Java virtual machine continues to load the target Java class, and automatically obtains the required performance data based on the modified bytecode log. The apparatus performs the method described above. The method and device for acquiring performance data logs provided by the embodiments of the present invention can automatically acquire logs of monitoring link performance data.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of JAVA, and in particular to a method and device for acquiring performance data logs. Background technique [0002] With the rapid development of information technology, the needs of users are showing a trend of diversification, and the processing of user requests is becoming more and more complex, which poses new challenges to the monitoring of the performance of each link in the process of processing user requests. For example, when A user sends a user request through the following call link: the user request reaches the NGINX (a high-performance HTTP and reverse proxy server) proxy server, and then to the web application, web service, centralized data cache, and database. [0003] In the existing technology, the performance monitoring of the link is mainly realized by manually writing the performance log in each calling link by the application developer. However, the 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 Patents(China)
IPC IPC(8): G06F8/20G06F9/455G06F11/30
CPCG06F8/24G06F9/45504G06F11/3051
Inventor 张伟锋罗宇琳
Owner CHINA MOBILE COMM GRP CO LTD