AUTOMATED GROUPING OF MESSAGES PROVIDED TO AN APPLICATION USING STRING SIMILARITY ANALYSIS
First Claim
1. A computer-implemented method for classifying messages, comprising:
- obtaining a particular string from a particular message sent to an application, the particular message includes a request for the application to perform a transaction, and the application executes in response to the request;
obtaining runtime data regarding execution of the application based on the request, and associating the runtime data with the particular string;
calculating a distance between the particular string and a representative string of each group of a plurality of groups using a message distance algorithm, one of the distances is a minimum distance;
in response to determining that the minimum distance exceeds a threshold, creating a new group and grouping the particular string into the new group as a sole member of the new group initially;
subsequently obtaining an additional string from an additional message sent to the application, the additional message includes an additional request for the application to perform a transaction, and the application executes in response to the additional request;
obtaining additional runtime data, regarding execution of the application based on the additional request, and associating the additional runtime data with the additional string;
calculating an additional distance, using the message distance algorithm, between the additional string and;
(a) the representative string of each group of the plurality of groups, and (b) the particular string in the new group as the sole member of the new group, one of the additional distances is a minimum additional distance; and
grouping the additional string into one group of the plurality of groups and the new group which is associated with the minimum additional distance.
2 Assignments
0 Petitions
Accused Products
Abstract
Messages which are provided to an application are monitored. Similarities between the messages are determined based on a distance algorithm, in one approach, and messages which are similar are assigned to a common group. For example, the messages may be HTTP messages which include a URL, HTTP header parameters and/or HTTP post parameters. The messages are parsed to derive a string which is used in the distance calculations. Additionally, application runtime data such as response times is obtained and aggregated for the group. Further, a representative message can be determined for each group for comparison to subsequent messages. Results can be reported which include a group identifier, representative message, count and aggregated runtime data.
90 Citations
20 Claims
-
1. A computer-implemented method for classifying messages, comprising:
-
obtaining a particular string from a particular message sent to an application, the particular message includes a request for the application to perform a transaction, and the application executes in response to the request; obtaining runtime data regarding execution of the application based on the request, and associating the runtime data with the particular string; calculating a distance between the particular string and a representative string of each group of a plurality of groups using a message distance algorithm, one of the distances is a minimum distance; in response to determining that the minimum distance exceeds a threshold, creating a new group and grouping the particular string into the new group as a sole member of the new group initially; subsequently obtaining an additional string from an additional message sent to the application, the additional message includes an additional request for the application to perform a transaction, and the application executes in response to the additional request; obtaining additional runtime data, regarding execution of the application based on the additional request, and associating the additional runtime data with the additional string; calculating an additional distance, using the message distance algorithm, between the additional string and;
(a) the representative string of each group of the plurality of groups, and (b) the particular string in the new group as the sole member of the new group, one of the additional distances is a minimum additional distance; andgrouping the additional string into one group of the plurality of groups and the new group which is associated with the minimum additional distance. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. At least one processor readable storage device having processor readable code embodied thereon for programming at least one processor to perform a method for classifying messages, the method comprising:
-
obtaining a particular string from a particular message sent to an application, the particular message includes a request for the application to perform a transaction, and the application executes in response to the request; obtaining runtime data regarding execution of the application based on the request, and associating the runtime data with the particular string; calculating a distance between the particular string and a representative string of each group of a plurality of groups using a message distance algorithm, one of the distances is a minimum distance; in response to determining that the minimum distance exceeds a threshold, creating a new group and grouping the particular string into the new group as a sole member of the new group initially; subsequently obtaining an additional string from an additional message sent to the application, the additional message includes an additional request for the application to perform a transaction, and the application executes in response to the additional request; obtaining additional runtime data, regarding execution of the application based on the additional request, and associating the additional runtime data with the additional string; calculating an additional distance, using the message distance algorithm, between the additional string and;
(a) the representative string of each group of the plurality of groups, and (b) the particular string in the new group as the sole member of the new group, one of the additional distances is a minimum additional distance; andgrouping the additional string into one group of the plurality of groups and the new group which is associated with the minimum additional distance. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. At least one processor readable storage device having processor readable code embodied thereon for programming at least one processor to perform a method for classifying messages, the method comprising:
-
monitoring a plurality of messages which are sent to an application from web browsers, each message includes a URL comprising a host name, file path and at least one parameter, at least one message of the plurality of messages is a request from an associated web browser for a web page, and the application executes in response to each URL, including providing the web page to the associated web browser based on the at least one message; parsing each URL to obtain a string from each URL; for each URL, obtaining runtime data regarding execution of the application, and associating the runtime data with the string of the URL; calculating a distance between the URL of each message and the URL of each other message of the plurality of messages by comparing the string of each URL and the strings of each other URL of the plurality of messages using a message distance algorithm; grouping the strings according to the distances into a plurality of groups; and for each group, aggregating the runtime data which is associated with the strings which are associated with the group, so that aggregated runtime data is provided for each group of the plurality of groups. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification