Flow statistic method and device

A technology of traffic statistics and statistical units, applied in the field of communication, can solve the problems of huge amount of statistical data, waste of system resources, long working hours, etc., and achieve the effects of convenient management, improved statistical efficiency, and flexible traffic statistics.

Inactive Publication Date: 2014-02-12
OPZOON TECH
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the research and practice of the existing technology, the inventor found that the existing technology has at least the following problems: At present, due to the huge amount of network traffic data, and when performing aggregation processing, in addition to caching the current processing results in memory, It is also necessary to continuously calculate and update the result data, so the existing statistical methods have the disadvantages of huge amount of statistical data, low work efficiency and long working hours
At the same time, there is also a problem of wasting system resources by counting a large number of data packets that do not need to be counted.

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
  • Flow statistic method and device
  • Flow statistic method and device
  • Flow statistic method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0039] Please refer to figure 1 , which is a method flowchart of the first embodiment of the traffic statistics method provided by the embodiment of the present invention. The traffic statistics method of this embodiment can be applied to various network devices, including routers, firewalls, and the like.

[0040] The traffic statistics method includes:

[0041] S101. Step of establishing a connection: creating a conn...

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 discloses a flow statistic method and device. The method comprises the steps that connection is newly established according to quintuple information of a received message; if the message is matched with a strategy of the pre-configured flow statistic type, an ID value matched with the matched strategy of the flow statistic type is recorded on the established connection; a corresponding statistic element is found on a hash table in a preset flow statistic type management table according to the ID value and by the adoption of the hash algorithm for corresponding flow statistics. According to the flow statistic method and device, when the message passes through the device, first the strategies of various statistic types are matched, the matched ID value will be recorded to the connection, then the corresponding statistic element can be found according to the hash algorithm, a parameter of flow is directly recorded, a subsequent message is matched to the same connection, and the corresponding statistic element can be found for flow statistics. Strategy matching is not needed to be conducted on every message, statistic efficiency is improved, and the statistic types are further conveniently managed, so that efficient and flexible flow statistics are achieved.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a traffic statistics method and device. Background technique [0002] As we all know, with the increase of human information exchange through the network, in the data communication network, the complexity of the network connection is getting higher and higher. After community users and enterprise networks access the Internet, the application of establishing cross-regional connections through Internet service providers is becoming more and more common. In current practical applications, traffic statistics in network equipment plays a very important role in communication networks. Operators can use this function together with QoS (Quality of Service) to realize user network management and billing; at the same time, control through traffic statistics can Effectively use the resources of the communication system, and at the same time ensure the stable operation of ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/813G06F17/30H04L47/20
Inventor 袁海涛
Owner OPZOON TECH
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