Method and device for managing statistical data of chip

A statistical data and management method technology, applied in the direction of electrical digital data processing, data exchange network, calculation, etc., can solve the problem of high cost, achieve the effect of reducing usage, reducing the demand for access bandwidth, and reducing storage costs

Inactive Publication Date: 2011-11-23
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Embodiments of the present invention provide a method and device for managing statistical data of a chip, so as to solve the problem in the prior art that the solution of using DRAM or SRAM alone as the memory of the statistical counter has a relatively high cost

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
  • Method and device for managing statistical data of chip
  • Method and device for managing statistical data of chip
  • Method and device for managing statistical data of chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Taking the traffic statistical data of a chip as an example, the specific processing flow of a method for managing statistical data of a chip provided by this embodiment is as follows: image 3 shown, including the following steps:

[0029] Step 31, add a set of SRAM and DRAM on the forwarding chip as the memory of the traffic statistics counter.

[0030] In this embodiment, a group of SRAM and DRAM are respectively externally mounted on the forwarding chip, and the SRAM and DRAM

[0031] At the same time, it is used as the memory of the traffic statistics counter in the forwarding chip.

[0032] The above SRAM can use QDR SSRAM (Quaa Data Rate Synchronous SRAM, four times data rate synchronous SRAM) or DDR SSRAM (Double Data Rate Synchronous SRAM, double data rate synchronous SRAM), where QDR SSRAM can be QDR2 / QDR3 SSRAM, and higher in the future The first generation of QDR SSRAM, DDR SSRAM can be DDR2 / DDR3 SSRAM, and a higher generation of DDR SSRAM in the future. ...

Embodiment 2

[0050] The embodiment of the present invention also provides a chip statistical data management device, its specific implementation structure is as follows Figure 4 As shown, it may specifically include:

[0051] Statistical writing module 41, used to obtain statistical values ​​of statistical data;

[0052] Static Random Access Memory SRAM42, used to obtain statistical values ​​from the statistical writing module;

[0053] A cache module 43, configured to store the statistical values ​​in the SRAM;

[0054] A dynamic random access memory DRAM44, configured to receive the statistical value from the cache module;

[0055] The moving module 45 is configured to move the statistical value stored in the cache module to the dynamic random access memory DRAM when a preset moving condition is met.

[0056] The moving module 45 includes

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 embodiment of the invention provides a method and a device for managing statistical data of chip. The method mainly includes steps of obtaining statistical value of the statistical data of the chip, writing the statistical value in a static random memory (SRAM), moving the statistical value stored in the SRAM into a cache unit, and then, moving the statistical value stored in the cache unit into a dynamic random access memory (DRAM) when preset moving condition is satisfied. By simultaneously employing the SRAM and the DRAM to store the statistical data of the chip, the invention can effectively reduce storage cost of peripheral flow statistical counter of the chip and use quantity of chip IO and the SRAM, and lower demand for DRAM access bandwidth.

Description

technical field [0001] The invention relates to the field of computer application technology, in particular to a method and device for managing statistical data of a chip. Background technique [0002] When communication devices (such as Ethernet switches, routers, etc.) are applied to telecommunication networks, their traffic statistics function is a key operable and maintainable function. Therefore, the industry's specification requirements for traffic statistics of communication devices, such as the number of statistical counters and statistical performance, are becoming higher and higher, which leads to a continuous increase in the cost of implementing the traffic statistics function. [0003] In high-end communication equipment, since the traffic forwarding function is implemented by the chip, the traffic statistics function accompanying the traffic forwarding naturally also needs to be implemented by the chip. Because SRAM (Static Access Memory, Static Random Access M...

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): H04L12/56G06F12/08G06F12/0804H04L12/861
Inventor 杨雄李新慧彭晓澎谭锐
Owner HUAWEI 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