发明名称 |
METHOD AND APPARATUS FOR CHECKING DATA FRAME LENGTH |
摘要 |
A method and apparatus for checking a data frame length relate to an Ethernet passive optical network in the communication field. The method includes: during reception of an Ethernet frame, when determining through analysis that a received Ethernet frame is a data frame, extracting frame length information and frame indication information in the data frame, and calculating a frame length mantissa according to the frame length information; writing the data frame into a small cache for storage according to the frame indication information, and counting write enable signals used for controlling writing of a data frame by using a base-N counter, so as to obtain a count value of the write enable signal; and comparing the frame length mantissa with the count value, and if a comparison result is consistent, then a data frame length being successfully checked, and writing the frame length information into the small cache for storage. |
申请公布号 |
US2015372932(A1) |
申请公布日期 |
2015.12.24 |
申请号 |
US201314652261 |
申请日期 |
2013.08.22 |
申请人 |
ZTE CORPORATION |
发明人 |
Yuan Lei |
分类号 |
H04L12/805;H04L29/08;H04Q11/00;H04L1/00 |
主分类号 |
H04L12/805 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for checking a data frame length, comprising:
during reception of an Ethernet frame, when determining through analysis that a received Ethernet frame is a data frame, extracting frame length information and frame indication information in the data frame, and calculating a frame length mantissa according to the frame length information; writing the data frame into a small cache for storage according to the frame indication information, and counting write enable signals used for controlling writing of a data frame by using a base-N counter, to obtain a count value of the write enable signals; and comparing the frame length mantissa with the count value, and if a comparison result is consistent, then a data frame length being successfully checked, and writing the frame length information into the small cache for storage. |
地址 |
Shenzhen CN |