Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Statistical method and device for network traffic

A network traffic and statistical method technology, applied in the field of network traffic statistical methods and devices, can solve the problems of low network traffic statistics efficiency and the like

Active Publication Date: 2019-02-19
HANGZHOU DPTECH TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present application provides a network traffic statistics method and device to solve the problem of low efficiency of network traffic statistics by network equipment in the related art

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
  • Statistical method and device for network traffic
  • Statistical method and device for network traffic
  • Statistical method and device for network traffic

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. Rather, they are merely examples of devices and methods consistent with some aspects of the application as detailed in the appended claims.

[0043] The terms used in this application are only for the purpose of describing specific embodiments, and are not intended to limit the application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and...

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 statistical method and device for network traffic. The method comprises the following steps: when a plurality of CPUs receive a message flow, inquiring a corresponding storage unit from a preset index table based on the receiving time of the message flow, wherein the index table comprises corresponding relations between a plurality of storage units and a time index; writing the traffic size of the message flow in the inquired storage unit; and periodically traversing the CPUs by a control CPU to obtain the traffic size from the previous storage unit corresponding to a current time in the index table of the CPUs, accumulating the traffic sizes to obtain an accumulated value, and writing the accumulated value in the previous storage unit corresponding to the current time in the index table of the control CPU in an accumulation manner. In the method and device, locking and unlocking do not need to be set for a traffic memory for multiple times, so the problem of low statistical efficiency of network traffic by a network device in related technology can be solved.

Description

Technical field [0001] This application relates to the field of communication technology, and in particular to a method and device for counting network traffic. Background technique [0002] With the development of computers, network managers pay more and more attention to users' access to websites. Network administrators can analyze the potential demand changes of users from the size of the website visits and changes in visits, so as to adjust the content of the website to attract more visits. [0003] When counting website visits, in order to improve statistical efficiency, network equipment uses multiple CPUs (Central Processing Unit, central processing unit) to perform statistics on network traffic, and write the calculated traffic size of this network traffic into the traffic statistics memory . Since network devices use multiple CPUs to perform parallel statistics on network traffic, in order to avoid the problem of inaccurate statistics written to the memory space caused b...

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/24G06F16/22
CPCG06F16/22H04L41/142
Inventor 唐青松
Owner HANGZHOU DPTECH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products