Packets per second traffic policing method and apparatus
A second traffic and traffic technology, which is applied in the field of traffic supervision in the field of communication technology, can solve problems such as unguaranteed business packet loss rate, traffic burst of communication equipment, and impact on business service quality, so as to reduce business traffic burst and avoid traffic Burst, the effect of improving business service quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] This embodiment records a packet per second traffic monitoring method, which can be applied to the following scenarios: it is hoped that while realizing the pps traffic monitoring function, it can reduce business traffic bursts and improve business service quality; this embodiment deals with this situation Be explained.
[0028] see image 3 , the packet per second flow monitoring method recorded in this embodiment includes the following steps:
[0029] Step 301. Determine the token addition rate according to the acquired token number required to forward a data packet of a preset length and the agreed traffic rate of the target service.
[0030] In this embodiment, before executing step 301, the traffic monitoring device obtains in advance the number of tokens required to forward a data packet of a preset length; the preset length is a fixed value; The implementation of the number of tokens required to be consumed by a data packet with a preset length may include any ...
Embodiment 2
[0042] This embodiment is based on the first embodiment, and the above preset conditions in this embodiment include: whether the remaining number of tokens in the token storage module is greater than the number of tokens required to forward the current data packet of the target service.
[0043] see Figure 4 , the packet per second flow monitoring method recorded in this embodiment includes the following steps:
[0044] Step 401 , the traffic monitoring device determines the token addition rate according to the obtained token number required to be consumed for forwarding a data packet of a preset length and the agreed traffic rate of the target service.
[0045] Step 402, adding tokens to the token storage module at a constant speed according to the token adding rate.
[0046] Step 403: When receiving the current data packet of the target service, determine the current data of the forwarding target service based on the acquired number of tokens that need to be consumed for e...
Embodiment 3
[0054] Based on the first and second embodiments above, this embodiment records a packet-per-second flow monitoring device, and proposes a technical solution for the following scenarios: two sets of flow monitoring devices are respectively set up in the existing flow monitoring technology to meet the needs of flow monitoring It takes up more logic resources and also increases the design complexity of the chip in terms of traffic regulation.
[0055] The packet per second flow monitoring device described in this embodiment is actually a reuse and improvement of the existing bps flow monitoring device, and the improved bps flow monitoring device can be used to implement the technical solutions in the above-mentioned embodiments; this embodiment is aimed at The handling of this situation will be described.
[0056] see Figure 5 , an optional structural diagram of the packet per second flow monitoring device recorded in this embodiment, the packet per second flow monitoring devi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


