主权项 |
1. A method for determining and controlling network data usage in a computing device, comprising:
receiving, by a computing device, a request to establish a connection across a network by an application executing on the computing device; identifying, by the computing device, a communication channel of the connection to be utilized by the application to exchange data over the network; associating, by the computing device, a first tag with the communication channel, wherein the first tag identifies the application and identifies a policy governing data being exchanged over the network; determining, by the computing device, an amount of data exchanged over the communication channel; storing, by the computing device, the amount of the data exchanged in a record associated with the first tag; identifying a sub-category for the data being exchanged over the connection, wherein the sub-category relates to a data exchange feature of the application; associating a second tag with the communication channel, wherein the second tag identifies the sub-category; and storing the amount of the data in a second record associated with the second tag. |