IP Library Granted Patent US 10,659,394
Granted Patent B2
US 10,659,394 · App. 16/300,317 · Granted May 19, 2020

Method and apparatus for extracting data stream information in low-latency mode by ethernet chip

Inventor: Lei Geng (Suzhou, CN)
Assignee: Centec Networks (Suzhou) Co., Ltd.
H04L49/351H04L43/08H04L43/0852H04L43/16H04L47/31H04L47/32H04L47/50H04L69/22
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,659,394
App. No.
16/300,317
Granted
May 19, 2020
Kind
B2
Abstract

The present invention discloses a method and an apparatus for extracting data stream information by an Ethernet switch chip in a low-latency mode. The method includes: setting, by a data feature extraction module, one piece of starting information including feature information and one piece of ending information including a packet length; performing matching, by a data stream feature comparison module, on the feature information, and if the matching succeeds, sending the starting information and the ending information to a module for collecting statistics on data stream information; and combining, by the module for collecting statistics on data stream information, the feature information in the starting information and the packet length in the ending information into one piece of data stream information, and sending the data stream information to a CPU. By using the method and the apparatus disclosed in the present invention, not only a low-latency requirement is satisfied, but also entire data stream information can be extracted and reported to the CPU, facilitating network management.

Claims (10)

1. A method for extracting data stream information by an Ethernet switch chip in a low-latency mode, comprising:

parsing out, by a data feature extraction module, feature information corresponding to a packet, setting one piece of starting information comprising the feature information and one piece of ending information comprising a packet length, and sending the starting information and the ending information to a data stream feature comparison module;

after receiving the starting information, comparing, by the data stream feature comparison module, the feature information with preset feature information, and if matching succeeds, sending the starting information to a module for collecting statistics on data stream information, and setting a sending flag bit to effective;

after receiving the ending information, determining, by the data stream feature comparison module, whether the sending flag bit is effective, and if the sending flag bit is effective, sending the ending information to the module for collecting statistics on data stream information, and resetting the sending flag bit, or otherwise, skipping sending but discarding the ending information; and

receiving and storing, by the module for collecting statistics on data stream information, the starting information, reading the starting information after receiving the ending information, combining the feature information in the starting information and the packet length in the ending information into one piece of data stream information, and sending the data stream information to a CPU.

2. The method for extracting data stream information by an Ethernet switch chip in a low-latency mode according to claim 1 , wherein the feature information comprises a destination physical address, a source physical address, and a virtual local area network number.

3. The method for extracting data stream information by an Ethernet switch chip in a low-latency mode according to claim 1 , wherein the packet length is calculated according to a starting identifier and an ending identifier of receiving the packet.

4. The method for extracting data stream information by an Ethernet switch chip in a low-latency mode according to claim 1 , wherein when the feature information is successfully matched, the sending flag bit is set to 1.

5. The method for extracting data stream information by an Ethernet switch chip in a low-latency mode according to claim 1 , wherein before the sending, by the module for collecting statistics on data stream information, the data stream information to a CPU, the method further comprises:

temporarily storing, by the module for collecting statistics on data stream information, the data stream information, accumulating information about a packet length received each time, and sending the temporarily stored data stream information to the CPU when a sum of packet lengths is greater than or equal to a threshold.

Assignments (2)
CHANGE OF NAME Recorded Aug 2, 2021
From: CENTEC NETWORKS (SUZHOU) CO., LTD.
To: SUZHOU CENTEC COMMUNICATIONS CO.,LTD.
Reel/Frame 057054/0075 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 9, 2018
From: GENG, LEI; ZHU, BIN; HE, WEI
To: CENTEC NETWORKS (SUZHOU) CO., LTD.
Reel/Frame 047463/0306 →
Priority Claims (1)
CN 2016 1 1225817 · Dec 27, 2016 · national
Continuity (1)
Related Publication 20190116134A1 · Apr 18, 2019