Flow monitoring method and device and monitoring server
A traffic monitoring and traffic technology, applied in the Internet field, can solve the problems of power consumption, increased mobile terminal traffic consumption, and low accuracy of traffic monitoring analysis results, achieving comprehensive analysis and monitoring, and saving monitoring costs and energy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] This embodiment is based on the working principle of the monitoring server, please refer to Figure 1b , 1c as well as figure 2 , the present embodiment provides a traffic monitoring method, including:
[0059] S201. Receive traffic statistics data sent by a client; wherein, the traffic statistics data includes traffic of monitored application programs based on the same terminal platform as the client.
[0060] In the embodiment of the present invention, the client can acquire the traffic of the monitored application program in the following manner: the system file of the client records all tcp connections and / or udp connections in the current system. Taking the Android system as an example, the network connection information of all tcp connections and / or udp connections in the current system are stored in the proc file. The proc file is a snapshot of the kernel, which stores the state information when the system is running, and can also be used as an input interfac...
Embodiment 2
[0079] see image 3, showing another traffic monitoring method based on the monitoring server. This embodiment is substantially the same as Embodiment 1, except that this method further includes: S303. When it is determined that the traffic analysis result is the monitored application When the traffic of the monitored application is abnormal, the traffic analysis result and a control instruction for prohibiting the running of the monitored application are sent to the client corresponding to the monitored application.
[0080] Specifically, the monitoring server can send a reset message to the traffic statistics APP of the client, wherein the header of the reset message includes the UID identification of the monitored application program (which can be set in the window field) to terminate the communication with the Monitored application network connections. Or the monitoring server can send an early warning message containing the UID of a monitored application to the traffic s...
Embodiment 3
[0085] see Figure 4 , showing an acquisition method based on a preset traffic threshold at the monitoring server side, where the monitoring server includes a storage module for storing the received statistical traffic of all clients for the monitored application program, and / or corresponding action information. The method can include:
[0086] S401. Obtain, from the storage module, statistical traffic and / or corresponding operation information of all clients for the monitored application program;
[0087] S402. Analyze the statistical traffic and / or operation information of all clients for the monitored application, and obtain the preset traffic threshold and / or operation type corresponding to the monitored application; wherein, the operation The type includes allowing or prohibiting the running of the monitored application.
[0088] Specifically, S402 may obtain the preset traffic threshold corresponding to the monitored application in the following manner.
[0089] (1) ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 