Unlock instant, AI-driven research and patent intelligence for your innovation.

Chip implementation method for stats allocation

An implementation method and chip technology, applied in the field of packet statistics, can solve the problems of limiting the storage flexibility of stats and reducing the reliability of stats statistics, and achieve the effect of improving flexibility and reducing conflicts.

Active Publication Date: 2018-08-21
SUZHOU CENTEC COMM CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the scheme of fixed allocation of RAM greatly limits the flexibility of stats storage, resulting in a decrease in the reliability of stats statistics

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
  • Chip implementation method for stats allocation
  • Chip implementation method for stats allocation
  • Chip implementation method for stats allocation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention.

[0021] A chip implementation method for stats allocation disclosed by the invention supports a stats storage mode in which independent RAMs and shared RAMs coexist. The storage of the independent RAM is mainly based on the stats shared by each packet flow (flow), and the storage of the shared RAM is mainly for the unique statistics of each flow.

[0022] Such as figure 1 As shown, it is assumed that the technical solution of the present invention supports L independent RAMs, and the independent RAMs 1 ~Independent RAM L , supports statistics of K kinds of stats, where L=K. The value of L / K is the number of types of stats shared by each flow. Each type of shared stats corresponds to a block of RAM. When doing public statistics, the RAM label allocated for each type of statistics is...

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 present invention discloses a method for allocating a chip to stats. The method comprises: carrying out public statistics on packets at an inlet port, a queue module, and an outlet port in the chip; and carrying out private statistics on packets at an inbound direction processing module and an outbound direction processing module. A public statistics process comprises: allocating an address index to each type of statistics, wherein the address index is pointed to a storage position in a RAM allocated to each type of statistics, and updating the RAM. A private statistics process comprises: selecting a type of to-be-collected statistics according to packet type information; allocating an address index to each type of statistics, wherein the address index comprises a selected RAM number, and a storage position in a corresponding RAM; and updating the RAM, wherein the number of RAMs is the maximum number of types of statistics to be collected on each packet. The method disclosed by the present invention improves storage flexibility of the stats, and reduces collisions caused due to priority setting.

Description

technical field [0001] The invention relates to a packet statistics technology, in particular to a chip implementation method for flexible stats distribution. Background technique [0002] In order to facilitate the administrator to troubleshoot the switch and monitor the traffic, the switch needs to count the number of various packets and the total packet length during the working process, such as the number of packets entering and leaving the port, the number of The number of packets of a certain ACE (access control entry, that is, an entry in the ACL) rule, etc. For packet statistics, the software will allocate the address index of RAM as the initial storage space, and allocate different storage spaces for different types of statistical information to realize packet statistics. [0003] The common scheme that the prior art mainly adopts is: design multi-block RAM, allocate fixed RAM for each type of stats (statistics), each type of stats can only be stored in the designa...

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 Patents(China)
IPC IPC(8): G06F12/02
CPCG06F12/0207G06F12/023
Inventor 张国颖杨曙军
Owner SUZHOU CENTEC COMM CO LTD