Method and device for traffic billing

A technology of traffic accounting and first traffic, applied in the field of communication, can solve the problem of occupying more table entry resources and affecting the forwarding performance of network equipment, and achieve the effect of saving table entry resources, improving forwarding performance, and speeding up search time

Active Publication Date: 2022-04-01
NEW H3C SECURITY TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For this network device, no matter it is an inbound interface or an outbound interface, once the function of traffic accounting based on the BGP routing policy is enabled, it is necessary to configure corresponding In this way, when more interfaces enable this function, more entry resources will be occupied, and the network device receives the When a service message or a service message is forwarded, it is necessary to search the traffic statistics resource index table once, which affects the forwarding performance of the network device

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 and device for traffic billing
  • Method and device for traffic billing
  • Method and device for traffic billing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0036] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 present application provides a traffic accounting method and device, the method is applied to routing equipment, the method includes: when receiving the first service message through the inbound interface, in the first enabling information table configured for the inbound interface Check whether the function of traffic accounting based on the BGP routing policy is enabled on the inbound interface; if the search result is yes, obtain the first enablement of the function enabled on the inbound interface from the first enabling information table Sequence number; determine the target first index corresponding to the target first traffic counter according to the start address of the first storage space, the first enabled sequence number, the quantity value of the specified first traffic counter and the first QPPB attribute value address; according to the determined address, search for the target first index in the first storage space, and count the first service packets to the corresponding target first traffic counter for charging. The application can save table entry resources and improve the forwarding performance of routing equipment.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a flow billing method and device. Background technique [0002] At present, for any network device among network devices (for example, routing devices, etc.) that have established a border gateway protocol (Border Gateway Protocol, BGP) neighbor relationship, when receiving the first service message through the inbound interface, First, in the first enabling information table configured for the incoming direction interface, look up whether the incoming direction interface has enabled the function of traffic accounting based on the BGP routing policy. The first enabling information table records the Information about whether the function of traffic accounting based on BGP routing policy is enabled on all inbound interfaces. If the function of traffic accounting based on BGP routing policy is found on the inbound interface, continue to search in the BGP routing...

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 Patents(China)
IPC IPC(8): H04L12/14H04L45/745H04L45/00
CPCH04L12/1432H04L12/145H04L45/04H04L45/745H04L45/54
Inventor 马申骁
Owner NEW H3C SECURITY TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products