Injecting custom classes in application code to facilitate network traffic monitoring
First Claim
1. A method for monitoring network traffic, the method comprising:
- injecting, by a computing device using reflection, a call to one or more custom monitoring classes from an SDK generated by an analytics service provider into one or more default classes associated with an application, the one or more custom monitoring classes designed to facilitate monitoring data packets being communicated to or from the application on the computing device, and being unique from the one or more default classes originally developed for implementation;
invoking the call to the one or more custom monitoring classes, by the one or more default classes upon the one or more default classes initiating a network connection, to facilitate monitoring a plurality of data packets communicated to or from the application via a network; and
sequentially replacing default classes used to arrive at the one or more custom monitoring classes with a plurality of custom classes, each custom class modifying a corresponding one of the default classes, to initiate the one or more custom monitoring classes, wherein the one or more custom monitoring classes enable obtaining network data from one or more data packets being communicated to or from the application installed on the computing device by examining the one or more data packets.
1 Assignment
0 Petitions
Accused Products
Abstract
Various methods and systems for facilitating network traffic monitoring in association with an application running on a client device are provided. In this regard, aspects of the invention facilitate monitoring network traffic being transmitted to and/or from a client device, such as a mobile device, so that network performance can be analyzed. In various implementations, one or more default classes associated with an application on a device are replaced with one or more custom monitoring classes designed to facilitate monitoring data packets being communicated to or from the application. The custom monitoring classes can then be utilized to facilitate monitoring a plurality of data packets communicated to or from the application.
-
Citations
27 Claims
-
1. A method for monitoring network traffic, the method comprising:
-
injecting, by a computing device using reflection, a call to one or more custom monitoring classes from an SDK generated by an analytics service provider into one or more default classes associated with an application, the one or more custom monitoring classes designed to facilitate monitoring data packets being communicated to or from the application on the computing device, and being unique from the one or more default classes originally developed for implementation; invoking the call to the one or more custom monitoring classes, by the one or more default classes upon the one or more default classes initiating a network connection, to facilitate monitoring a plurality of data packets communicated to or from the application via a network; and sequentially replacing default classes used to arrive at the one or more custom monitoring classes with a plurality of custom classes, each custom class modifying a corresponding one of the default classes, to initiate the one or more custom monitoring classes, wherein the one or more custom monitoring classes enable obtaining network data from one or more data packets being communicated to or from the application installed on the computing device by examining the one or more data packets. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system for monitoring network traffic, the system comprising:
-
one or more data processors; and one or more computer-readable storage media containing instructions which when executed on the one or more data processors, cause the one or more processors to perform operations including; injecting, by a computing device using reflection, a call to one or more custom monitoring classes from an SDK generated by an analytics service provider into one or more default classes associated with an application, the one or more custom monitoring classes designed to facilitate monitoring data packets being communicated to or from the application on the computing device and being unique from the one or more default classes originally developed for implementation; invoking the call to the one or more custom monitoring classes, by the one or more default classes upon the one or more default classes initiating a network connection to facilitate monitoring a plurality of data packets communicated to or from the application via a network; and sequentially replacing default classes used to arrive at the one or more custom monitoring classes with a plurality of custom classes, each custom class modifying a corresponding one of the default classes, to initiate the one or more custom monitoring classes, wherein the one or more custom monitoring classes enable obtaining network data from one or more data packets being communicated to or from the application installed on the computing device by examining the one or more data packets. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 27)
-
-
24. One or more non-transitory computer-storage media storing computer-executable instructions that, when executed by a computing device, perform a method for monitoring network traffic, the method comprising:
-
injecting, by a computing device using reflection, a call to one or more custom monitoring classes from an SDK generated by an analytics service provider into one or more default classes associated with an application, the one or more custom monitoring classes designed to facilitate monitoring data packets being communicated to or from the application on the computing device, and being unique from the one or more default classes originally developed for implementation; invoking the call to the one or more custom monitoring classes, by the one or more default classes upon the one or more default classes initiating a network connection, to facilitate monitoring a plurality of data packets communicated to or from the application via a network; and sequentially replacing default classes used to arrive at the one or more custom monitoring classes with a plurality of custom classes, each custom class modifying a corresponding one of the default classes, to initiate the one or more custom monitoring classes, wherein the one or more custom monitoring classes enable obtaining network data from one or more data packets being communicated to or from the application installed on the computing device by examining the one or more data packets. - View Dependent Claims (25, 26)
-
Specification