# US 2017/0255541 A1 · Device and method for configuring monitoring environment of application

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0255541 A1
- Document ID: US20170255541A1
- Status: Published application
- Kind: A1
- Application number: 15/206,796
- Filed: 2016-07-11
- Published: 2017-09-07
- Earliest claimed: 2016-03-03
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Jeong-Si KIM
- Web page: https://patentgrep.com/patent/US20170255541A1

## CPC

- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 11/3495: {for systems}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3409: {for performance assessment}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06F 11/3668: Testing of software
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for configuring a monitoring environment of an application includes a monitoring location analysis step for detecting a monitoring location candidate, and a monitoring range analysis step for detecting a monitoring range, wherein the monitoring location analysis step includes receiving a source file of a general application, input m units of source lines, when an input source line is an execution line, calculating an execution load of the input source line, and determining a source line having the greatest execution load as a monitoring location candidate. Accordingly, it is possible to provide a method for determining an optimal performance monitoring location and an optimal performance monitoring range, which are required to configure an execution environment of a self-adaptive application, so as to perform efficient performance monitoring of the self-adaptive application.

## Claims

### Claim 1

A method for analyzing application for measuring performance of applications, the method comprising:
detecting at least one monitoring location candidate in an input application;
generating, an analytical application using the application and the at least one monitoring location candidate;
detecting monitoring range of each of the at least one monitoring location candidate through the analytical application; and
determining a monitoring location candidate having the greatest execution load among the at least one monitoring location candidate as an optimal monitoring location for monitoring the performance of the application.

### Claim 2 (depends on 1)

The method of claim 1, wherein the execution load includes CPU utilization.

### Claim 3 (depends on 1)

The method of claim 1, wherein detecting the at least one monitoring location candidate comprises:
arbitrarily executing the application;
counting the number of execution times of the at least one execution line of the application while the input application is executing; and
determining at least one execution line as the at least one monitoring location candidate based on the counted number of execution times.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the analytical application comprises:
inserting a monitoring code into the at least one monitoring location candidate of the application.

### Claim 5 (depends on 1)

The method of claim 1, wherein the monitoring range is a range of performance values of interest of the application.

### Claim 6 (depends on 4)

The method of claim 4, wherein detecting the monitoring range of each of the at least one monitoring location candidate comprises:
measuring performance values of each of the at least one monitoring location candidate by executing the analytical application;
determining a range of performance values of interest of each of the at least one monitoring location candidate from the measured performance values; and
setting the determined range of performance values of interest as the monitoring range of each of the at least one monitoring location candidate.

### Claim 7 (depends on 6)

The method of claim 6, wherein setting the determined range of performance values as the monitoring range comprises:
inserting the determined range of performance values into the monitoring code as the monitoring range.

### Claim 8 (depends on 6)

The method of claim 6, wherein determining the monitoring location candidate having the greatest execution load among the at least one monitoring location candidate as the optimal monitoring location comprises:
executing the analytical application set the monitoring range;
calculating the execution load of each of the at least one monitoring location candidate; and
determining, the monitoring location candidate the greatest execution load among the at least one monitoring location candidate as the optimal monitoring location.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
generating a self-adaptive application by inserting a monitoring code into the optical monitoring location setting the monitoring range to the optical monitoring location.

### Claim 10 (depends on 1)

The method of claim 1, the performance is QoS (Quality Of Service) of the applications.

### Claim 11

An apparatus for analyzing application measuring performance of applications, the apparatus comprising:
a monitoring location analyzer detecting at least one monitoring location candidate in an input application;
a monitoring range code configuration generating an analytical application using the application and the at least one monitoring location candidate;
a monitoring range analyzer detecting monitoring range of each of the at least one monitoring location candidate through the analytical application; and
a monitoring environment configurator determining a monitoring location candidate having the greatest execution load among the at least one monitoring location candidate as an optimal monitoring location for monitoring the performance of the application.

### Claim 12 (depends on 11)

The apparatus of claim 11, herein the execution includes CPU utilization.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the monitoring location analyzer arbirtarily executes the application; counts the number of execution times of the at least one execution line of the application while the input application executing; and determines at least one execution line as the at least one monitoring location candidate based on the counted number of execution times.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein the monitoring range code configurator inserts a monitoring code into the at least one monitoring location candidate of the application.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the monitoring range is a range of performance values of interest of the application.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the monitoring range analyzer measures performance values of each of the at least one monitoring location candidate by executing the analytical application; determines a range of performance values of interest of each of the at last one monitoring location candidate from the measured performance values; and sets the determined range of performance values of interest as the monitoring range of each of the at least one monitoring location candidate.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the monitoring range analyzer inserts the determined range of performance values into the monitoring code as the monitoring range.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein the monitoring environment configurator executes the analytical application set the monitoring range; calculates the execution load of each of the at least one monitoring location candidate; and determines the monitoring location candidate having the greatest execution load among the at least one monitoring location candidate as the optimal monitoring location.

### Claim 19 (depends on 11)

The apparatus of claim 11, the monitoring environment configurator generates a self-adaptive application by inserting a monitoring code into the optical monitoring location and setting the monitoring range to the optical monitoring location.

### Claim 20 (depends on 11)

The apparatus of claim 11, the performance is QoS (Quality Of Service) of the applications.
