Method and apparatus for calculating packet arrival time interval
Abstract
A method and an apparatus for calculating packet arrival time interval are provided by the present invention. In the above-mentioned method, when the current packet arrives, system current time T 2 is read from a timer, and the arrival time T 1 , recorded in an external RAM, of previous packet of the flow to which the current packet belongs is read ( 301 ), wherein the timer implements a cycle timing with a period of preset time period T max , the preset time period T max is larger than or equal to the time for filling the maximum depth of the token bucket of the flow at the minimum token injection rate; a current flag bit, recorded in an internal RAM, of the flow to which the current packet belongs is read ( 303 ), wherein the current flag bit is used for indicating the number of cycles of the timer between the system current time T 2 and the arrival time T 1 of previous packet; and the arrival time interval of the present packet is calculated according to the system current time T 2 , the arrival time T 1 of previous packet and the current flag bit ( 305 ). Application of the present invention can reduce the consumption of the internal RAM and improve the operability for realizin
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for calculating packet arrival time interval, used to calculate the time interval of the packet of each flow arriving at the network node so as to determine the quantity of tokens in the token bucket of each flow, wherein the method comprises: when the current packet arrives, reading system current time T 2 from a timer, and reading the arrival time T 1 , recorded in an external RAM, of previous packet of the flow to which the current packet belongs, wherein when the timer implements a cycle timing with a period of preset time period T max , the preset time period T max is larger th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,659,941 B2 | Communicating packets in a mesh network | 2020 | 0 |
| US 11,483,691 B2 | Time of arrival estimation for Bluetooth systems and devices | 2022 | 0 |
References Cited — Backward Prior Art (15)
Non-Patent Literature (2)
- IPRP/WO for related PCT/CN/2009/074097 and its English translation, issued Feb. 7, 2012.
- ISR for related PCT/CN/2009/074097 and its English translation, mailed May 6, 2010.