Flow charging method and device

A technology of traffic accounting and first traffic, applied in the field of communications, can solve problems such as affecting the forwarding performance of network equipment and occupying more table entry resources, etc., to achieve the effect of improving forwarding performance, saving table entry resources, and speeding up search time

Active Publication Date: 2021-06-15
NEW H3C SECURITY TECH CO LTD
View PDF3 Cites 1 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
  • Flow charging method and device
  • Flow charging method and device
  • Flow charging method and device

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 invention provides a flow charging method and device, and the method is applied to routing equipment, and the method comprises the following steps: when a first service message is received through an in-direction interface, searching whether the in-direction interface enables a flow charging function based on a BGP routing policy in a first enabling information table configured for the in-direction interface; when the search result is yes, acquiring a first enabling sequence number of the function enabled by the in-direction interface from the first enabling information table; determining the address of a target first index corresponding to a target first traffic counter according to the initial address of the first storage space, the first enabling sequence number, the number value of specified first traffic counters and the first QPPB attribute value; searching a target first index in the first storage space according to the determined address, and counting the first service message to a corresponding target first traffic counter for charging. According to the invention, table item resources can be saved, and the forwarding performance of the routing equipment can be improved.

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 Applications(China)
IPC IPC(8): H04L12/14H04L12/715H04L12/741H04L45/74
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