Traffic Statistics Policy Control for Multi-Flow BGP Accounting
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In conventional BGP accounting technology, collecting traffic statistics for multiple data flows requires manual configuration of numerous devices, leading to complex and labor-intensive work for skilled personnel.
Innovation Solution
A control method and system that uses a control node to generate and send a traffic statistics collection policy to forwarding nodes, which sets traffic identifiers and collects statistics, reducing the need for manual configuration by centralizing the delivery of instructions across all nodes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If conventional BGP accounting technology is used to collect traffic statistics of multiple data flows, then traffic statistics can be collected, but a large quantity of devices need to be manually configured by skilled personnel
Solution Approach 1:
A control node is introduced as an intermediary between skilled personnel and the forwarding nodes. The control node receives statistics collection instructions and automatically generates and distributes configuration information to multiple forwarding nodes, eliminating the need for manual configuration of each device and significantly reducing configuration complexity
Solution Approach 2:
The system enables automated self-configuration of forwarding nodes through the control node. Instead of requiring skilled personnel to manually configure each forwarding node, the control node automatically generates configuration information and pushes it to the appropriate forwarding nodes, allowing the system to configure itself
2Measurement precision
If manual configuration is performed on a large quantity of devices to collect traffic statistics, then traffic statistics collection can be implemented, but the configuration work becomes heavy and complex
Solution Approach 1:
The control node acts as a mediator that automates the configuration process. It receives a single statistics collection instruction and automatically generates and distributes configuration information to multiple forwarding nodes simultaneously, dramatically reducing the time required compared to manual configuration of each device
Solution Approach 2:
The control node pre-generates configuration information based on the statistics collection instruction before it is needed by the forwarding nodes. This preliminary generation and distribution of configuration data eliminates the time-consuming manual configuration process
Data Source
AI summary
A control method for collecting traffic statistics includes a control node obtains a statistics collection instruction, where the statistics collection instruction is used to instruct to collect traffic statistics of a target data flow, generates a traffic statistics collection policy according to the statistics collection instruction, where the traffic statistics collection policy includes a matching identifier of the target data flow, a first command, and a second command, and sends the traffic statistics collection policy to a forwarding node. The first command is used to instruct the forwarding node to set a traffic identifier for the target data flow based on the matching identifier, the second command is used to instruct the forwarding node to add traffic generated by a target packet to a traffic statistics collection result corresponding to the traffic identifier which is used to describe the traffic of the target data flow.


