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

Monitoring method and device for application program

A technology of application program and application program information, applied in the Internet field, can solve the problems of high code complexity and maintenance cost, and achieve the effect of improving monitoring efficiency, reducing cost and complexity, and minimizing changes

Active Publication Date: 2015-05-20
ALIBABA GRP HLDG LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The main purpose of this application is to provide an application program monitoring method and device to at least solve the problems of high code complexity and maintenance cost in the prior art

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
  • Monitoring method and device for application program
  • Monitoring method and device for application program
  • Monitoring method and device for application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] like figure 2 shown, the application monitoring device (preferably, can be located at figure 1 The server 102) includes: a setting unit 202 for adding a monitoring hook in the class file, wherein the monitoring hook is associated with a monitoring program; a monitoring unit 204 for calling the monitoring hook when executing the monitoring hook of the class file The monitoring program associated with the monitoring hook monitors the application program, wherein the monitoring program and the application program code are located in different class files, and the second-class files are independent of the class file containing the monitoring hook.

[0042] In this embodiment, the monitoring program and the business logic code are not written in coupling, wherein the monitoring program and the business logic code are located in different class files, and the second-class files are independent of the class file containing the monitoring hooks. During the operation of the bu...

Embodiment 2

[0073] image 3 is a preferred flow chart of the application monitoring method according to the embodiment of the present application, which includes the following steps:

[0074] S302, adding a monitoring hook to the class file, wherein the monitoring hook is associated with the monitoring program;

[0075] S304, when executing the monitoring hook of the class file, call the monitoring program associated with the monitoring hook to monitor the application program, wherein the monitoring program and the application program code are located in different class files respectively, and the The second class file is independent of the class file containing the monitoring hooks.

[0076] In this embodiment, the monitoring program and the business logic code are not written in coupling, wherein the monitoring program and the business logic code are located in different class files, and the second-class files are independent of the class file containing the monitoring hooks. During t...

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 discloses a monitoring method and a device for an application program. The method comprises the following steps of: adding a monitoring hook in a class file, wherein the monitoring hook is associated with a monitoring program; and invoking the monitoring program associated with the monitoring hook to monitor the application program when carrying out the monitoring hook of the class file, wherein codes of the monitoring program and the application program are in different class files, and the class files are independent from the class file containing the monitoring hook. According to the invention, problems of code complexity and higher maintenance cost in the prior art are solved by separating a service logic code from the monitoring program, and the maintenance cost and the complexity of the codes are lowered.

Description

technical field [0001] The present application relates to the field of the Internet, and in particular, to a method and apparatus for monitoring application programs. Background technique [0002] Nowadays, Internet applications are becoming more and more complex, and the requirements for the availability and stability of the system are getting higher and higher. We cannot completely guarantee that the system is free of problems, but can only reduce problems as much as possible. However, when there is a problem with the system, it needs to be discovered at the first time, and solved as quickly as possible to minimize the impact on customers, and this requires an application monitoring system to monitor the operating status of the system in real time, Runtime data is analyzed. [0003] In order to implement monitoring of applications, the following solutions are provided in the prior art: [0004] 1) Actively report health data: Add monitoring logic (program) to the busines...

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): G06F11/30
Inventor 王兴勇
Owner ALIBABA GRP HLDG 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