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

Method for achieving counting control of counter and network chip

A network chip and counting control technology, which is applied in digital data processing, message numbering/character counting, instruments, etc., can solve the problem of large computing burden on the processor, and achieve the effect of ensuring computing efficiency

Inactive Publication Date: 2013-08-21
ZTE CORP
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the disadvantage of this counting method is that it requires the processor to continuously sample the counter, which imposes a large computational burden on the processor.

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 for achieving counting control of counter and network chip
  • Method for achieving counting control of counter and network chip
  • Method for achieving counting control of counter and network chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0014] Such as figure 1 As shown, the system architecture diagram of the preferred embodiment of the network chip of the present invention. The network chip 1 is used for processing network communication data, which may be a network processor (Network Processor, NP) or any other suitable network communication data processing chip.

[0015] The network chip 1 includes a processor 10 , a packet generator 11 , a message processing engine 12 and a counter 13 .

[0016] The counter 13 may be an internal or external memory (such as a static random access memory, etc.), which includes n bits of counting bits, and will overflow and reverse when it reaches 2n-1.

[0017] The processor 10 is configured to configure the packet generator 11 to configure the generation cycle of the counting scan message and the content of the co...

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 method for achieving counting control of a counter. According to the method for achieving the counting control of the counter, the periodical counting state of the counter in a network chip is diagnosed through a package generator and a message processing engine, the fact that a processor samples the counter continuously to confirm the state of the counter is avoided, and the calculation performance of the processor is guaranteed. The invention further provides the network chip applying the method.

Description

technical field [0001] The invention relates to a network chip control technology, in particular to a method for realizing counter counting control and a network chip. Background technique [0002] Today's network is developing at an astonishing speed. The growth of network traffic and the continuous emergence of new services require network equipment to have rapid and flexible processing capabilities. Also getting higher and higher. Usually, there are many types of counters in the network chip, which are used to realize port statistics, flow statistics, etc., and each entry of the counter defines a certain number of BIT bits, and its width determines the maximum value of the counter, such as 10 BIT, then The maximum value is 1023. If it exceeds this value, it will overflow and reverse, and start counting again from 0. [0003] At present, the usual method to prevent network chip counter count overflow is: the driver uses a timer to periodically poll the counter value and ...

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/08
CPCH04L12/08H04L47/00H04L43/02H04L43/16H04L43/08G06F11/0721G06F11/076
Inventor 姜海明刘建成
Owner ZTE CORP
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