Bareboot-based system for realizing network traffic differential replication and load balancing output

By using ACL rules in the Barefoot system to identify and match traffic, combined with the copying of the TM module and the parsing processing of the Egress module, the problem that traditional switching chips cannot modify the copied message content is solved, and diversified output and performance improvement are achieved.

CN119316360APending Publication Date: 2025-01-14NANJING BALANCE NETWORK TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310857313.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-13
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

Traditional switching chips cannot modify the copied content after message copying, resulting in the impact of user's work efficiency and results, and cannot meet the customized output needs of multiple users.

Method used

Design a differentiated replication load balancing output system for network traffic based on Barefoot, identify and match traffic through ACL rules, extract the number of copies of feature fields identification packets, use the TM module to copy and hand it over to the Egress module for analysis and reorganization processing, and realize the Replicated message modification and load balancing output.

Benefits of technology

It realizes the selection of multiple copies according to customer needs and diversified output of packets, improves performance, and supports port aggregation and load balancing output, which facilitates subsequent function iteration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316360A_ABST
    Figure CN119316360A_ABST
Patent Text Reader

Abstract

The invention discloses a Bareboot-based system for realizing network flow differentiated replication and load balancing output, which realizes the identification, extraction and matching of network flow according to ACL rules configured by different users, realizes the differentiated replication of one flow input into multiple flows for the flow matched with the ACL, realizes the simultaneous replication of at most 8 different flows, and realizes the load balancing output of the network flow. And each copied traffic is modified in a customized manner, and each copied traffic is output from a port selected from different port aggregation groups in a load balancing manner. The method comprises the following steps: extracting a feature field at a specific position from a message entering the Bareboot, identifying the copy number of the message in the feature field, transferring the message to a TM module when multiple copies need to be copied, copying the multiple copies of the message by the TM module, delivering the copied message to an Egress module, analyzing and recombining the copied message, and sending the recombined message to the Bareboot module. Therefore, the revision and load balancing output of the copied message are realized. The system can select a plurality of copied messages according to needs and output the copied messages in a diversified mode, performance is improved, and convenience and rapidness are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network communication, and in particular to a load balancing output system for implementing network traffic differential replication based on Barefoot. Background Art

[0002] With the rapid development of network technology, the network has penetrated into thousands of households, bringing more and more convenience to people's work and life. Therefore, the application scenarios are also increasing and becoming more and more complex, and users have higher and higher requirements for network traffic processing capabilities. In the multi-user control scenario, users have put forward more and more customized output requirements for the message copying and output of communication products. Traditional switching chips cannot modify the content of the copied messages again while processing user traffic replication, which seriously affects the user's work efficiency and results. Therefore, the existing implementation scheme can no longer meet the needs of most customers, and a smarter and faster message copy output processing method is urgently needed. To solve this problem, how to achieve differentiated output required by different users after copying a message is a difficult point. Summary of the invention

[0003] To solve the above problems, this patent proposes a system for implementing differentiated replication and load balancing output of network traffic based on Barefoot. According to the ACL rules configured by different users, the identification, extraction and matching of network traffic are realized, and one flow input and multiple flows are differentiated and replicated for the traffic matching the ACL, with a maximum of 8 different flows, each of which is output from a load balancing port selected in a different port aggregation group; the characteristic field at a specific position of the message entering Barefoot is extracted, and the number of copies of the message is identified in the characteristic field. If multiple copies are required, the message is transferred to the TM module, and after the TM module replicates multiple copies of the message, it is handed over to the Egress module to parse and reassemble the replicated message, thereby modifying the replicated message and outputting it in a load balancing manner.

[0004] The specific steps are as follows: Step 1: A load balancing output system for network traffic differentiation replication based on Barefoot includes ACL management module, ACL matching module, user management module and Barefoot processing module. The functional modules are divided as follows: Figure 3 As shown, the ACL management module implements the management of adding, deleting and checking ACL rules, the ACL matching module implements the table lookup and matching of ACL rules to network traffic, the user management module implements the management of adding, deleting and checking users, and the Barefoot processing module implements the differential replication and port aggregation group load balancing output functions.

[0005] Step 2: The ACL management module and user management module complete the ACL rule configuration for different users. The ACL matching module realizes the identification, extraction and matching of network traffic, and marks the traffic matching the ACL rules with a feature field at a specific position. The feature field identifies the number of copies of the message.

[0006] Step 3: The feature field at a specific position of the message entering Barefoot is extracted. The feature field identifies the number of copies of the message. If multiple copies are required, the message is transferred to the TM module. After the TM module copies multiple copies of the message, it is handed over to the Egress module for parsing and reassembly of the copied message, thereby modifying the copied message and outputting it in a load-balanced manner.

[0007] Compared with the prior art, the technical solution of the present invention has the following significant beneficial effects: 1. According to customer needs, you can choose multiple copies and output the copied messages in a diversified way, which is convenient and fast.

[0008] 2. Realize load balancing output of port aggregation group to improve performance.

[0009] 3. Facilitate subsequent function iteration. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component shown in various figures may be represented by the same reference numeral. For clarity, not every component is labeled in every figure. Embodiments of various aspects of the present invention will now be described by way of example and with reference to the accompanying drawings, in which: Figure 1 It is an overall flow chart of a network traffic differentiated replication load balancing output system based on Barefoot of the present invention.

[0011] Figure 2 It is a Barefoot replication principle diagram of a Barefoot-based network traffic differentiated replication load balancing output system of the present invention.

[0012] Figure 3 It is a module division diagram of a network traffic differentiated replication load balancing output system based on Barefoot of the present invention. DETAILED DESCRIPTION

[0013] In order to make the purpose and technical solution of the present disclosure more clearly understood, the present disclosure is further elaborated in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0014] Combination Figure 1Overall flow chart and Figure 2 Barefoot replication principle diagram, first parse and extract the message of the access device, then match the extracted message content with the ACL rules, and mark the message that matches multiple users with a specific tag and hand it over to Barefoot for processing. Barefoot extracts the characteristic field at a specific position of the received message, and the characteristic field identifies the number of copies of the message. If multiple copies are required, the message is transferred to the TM module. After the TM module copies multiple copies of the message, it is handed over to the Egress module to parse and reassemble the copied message, thereby realizing the modification of the copied message and load balancing output.

[0015] This solution effectively solves the problem of achieving differentiated load balancing output according to the needs of different users after copying a message, and can customize the message content required by different users.

[0016] The specific steps are as follows: Step 1: A load balancing output system for network traffic differentiation replication based on Barefoot includes ACL management module, ACL matching module, user management module and Barefoot processing module. The functional modules are divided as follows: Figure 3 As shown, the ACL management module implements the management of adding, deleting and checking ACL rules, the ACL matching module implements the table lookup and matching of ACL rules to network traffic, the user management module implements the management of adding, deleting and checking users, and the Barefoot processing module implements the differential replication and port aggregation group load balancing output functions.

[0017] Step 2: The ACL management module and user management module complete the ACL rule configuration for different users. The ACL matching module realizes the identification, extraction and matching of network traffic, and marks the traffic matching the ACL rules with a feature field at a specific position. The feature field identifies the number of copies of the message.

[0018] Step 3: The feature field at a specific position of the message entering Barefoot is extracted. The feature field identifies the number of copies of the message. If multiple copies are required, the message is transferred to the TM module. After the TM module copies multiple copies of the message, it is handed over to the Egress module for parsing and reassembly of the copied message, thereby modifying the copied message and outputting it in a load-balanced manner.

[0019] Various aspects of the present invention are described in this disclosure with reference to the accompanying drawings, in which many illustrative embodiments are shown. The embodiments of the present disclosure are not necessarily defined to include all aspects of the present invention. It should be understood that the various concepts and embodiments introduced above, as well as those described in more detail below, can be implemented in any of many ways, because the concepts and embodiments disclosed by the present invention are not limited to any implementation. In addition, some aspects disclosed by the present invention can be used alone, or in any appropriate combination with other aspects disclosed by the present invention.

[0020] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. A person with ordinary knowledge in the technical field to which the present invention belongs may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the definition of the claims.

Claims

1. A network traffic differential replication load balancing output system based on Barefoot, characterized in that: The system can identify, extract and match network traffic according to different ACL rules configured by different users, and realize differential replication of multiple traffic with one traffic input for traffic matching ACL, realizing up to 8 different traffics, each of which is output from a port selected by load balancing in different port aggregation groups; The feature field at a specific position of the message entering Barefoot is extracted. The feature field identifies the number of copies of the message. If multiple copies are required, the message is transferred to the TM module. After the TM module copies multiple copies of the message, it is handed over to the Egress module for parsing and reassembly of the copied message, thereby modifying the copied message and outputting it in a load-balanced manner.

2. According to claim 1, a Barefoot-based load balancing output system for implementing differentiated replication of network traffic is characterized in that: The specific steps are as follows: Step 1: The Barefoot-based network traffic differential replication load balancing output system comprises an ACL management module, an ACL matching module, a user management module and a Barefoot processing module. The functional module division is shown in FIG3 . The ACL management module implements the management of adding, deleting and checking ACL rules. The ACL matching module implements the ACL rule table lookup and matching network traffic. The user management module implements the management of adding, deleting and checking users. The Barefoot processing module implements the differential replication and port aggregation group load balancing output functions. Step 2: The ACL management module and the user management module complete the ACL rule configuration for different users. The ACL matching module realizes the identification, extraction and matching of network traffic, and marks the traffic matching the ACL rule with a feature field at a specific position. The feature field identifies the number of copies of the message. Step 3: The feature field at a specific position of the message entering Barefoot is extracted. The feature field identifies the number of copies of the message. If multiple copies are required, the message is transferred to the TM module. After the TM module copies multiple copies of the message, it is handed over to the Egress module for parsing and reassembly of the copied message, thereby modifying the copied message and outputting it in a load-balanced manner.

Citation Information

Cited By

  • Data transmission method and device, communication node, medium and product

    CN121262143A