Traffic counting method and system based on processes

A flow statistics and process technology, applied in the transmission system, digital transmission system, electrical components, etc., can solve the problem of not being able to obtain the flow of a single process

Active Publication Date: 2012-08-08
BEIJING QIHOO TECH CO LTD +1
View PDF2 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This application provides a process-based traffic statistics method and system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Traffic counting method and system based on processes
  • Traffic counting method and system based on processes
  • Traffic counting method and system based on processes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] refer to figure 1 , showing Embodiment 1 of a process-based traffic statistics method of the present application, including the following steps:

[0025] Step 101, monitor network data sending and receiving requests created in the operating system.

[0026] When each application program requests network data transmission and reception, it will send a request to the operating system. When the operating system receives the request, it will first create a network data transmission and reception request. This application monitors the network data transmission and reception created by the system in real time by setting a monitoring program ask. For example, by monitoring the operating system interface corresponding to the system, data is obtained from the interface, so as to realize monitoring and the like. The number of network data sending and receiving requests is determined according to the amount of requested data and the amount of data in a single request, wherein th...

Embodiment 2

[0063] refer to Figure 5 , showing the second embodiment of the process-based traffic statistics system of the present application, the system also includes:

[0064] A display module 60, configured to display the single process flow data.

[0065] Specifically, the display can be achieved in the following ways: Obtain the process name from the operating system through functions such as OpenProcess, GetModuleFileNameEx, QueryFullProcessImageNameW, etc., and perform a deep scan on the background server to obtain process description information, process security information, download speed, upload Speed, downloaded traffic, uploaded traffic, number of connections, etc., and display these process traffic data on the client. Preferably, some of the information may be selected for display according to the user, or all of the information may be displayed, which is not limited in this application. The display form can be floating frame, floating window, etc., which can be set acco...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a traffic counting method based on processes, which comprises the steps of monitoring network data transceiver requests established in an operating system; obtaining identification of data packages in the network data transceiver requests and information of the processes corresponding to the network data transceiver requests; establishing an association list of the data packages and the processes; adding association relations of the identification of the data packages and the corresponding processes into the association list; counting the length of the data packages in the network data transceiver requests; adding the counted length of the data packages into the association list, associating the length with the corresponding processes, and obtaining traffic data of the processes. The invention further provides a traffic counting system based on the process for achieving the method. According to the traffic counting method and the system based on processes, traffic can be counted based on processes, and traffic counting data of a single process can be obtained.

Description

technical field [0001] The present application relates to the technical field of computer data processing, in particular to a process-based traffic statistics method and system. Background technique [0002] With the rapid development of the Internet, more and more people use the Internet for work, study, and entertainment. In the process of using the Internet, in order to obtain better use effects, it is often necessary to hand over network resources to the most needed applications. At that time, the network traffic of each application in the operating system became the focus of attention. Currently, general operating systems display overall traffic, such as overall sent and received data. However, detailed information cannot be provided for the traffic occupied by each application program. In this way, it is often difficult for users to distinguish which program occupies the network traffic. distribution and utilization. Contents of the invention [0003] The present ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/26H04L12/56H04L47/27
Inventor 边陆丁振雷宇
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products