Multi-stream bandwidth configuration method, device and equipment for 400GE Ethernet

By obtaining the number of packets and utilization of the data flow, and calculating the packet gap register parameters and the number of configuration table items, precise bandwidth configuration of 400G Ethernet is achieved, which solves the problem of the inability to accurately control the bandwidth percentage in the existing technology and improves bandwidth. Configuration efficiency.

CN118869486AActive Publication Date: 2024-10-29OPWILL TECH BEIJING
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411051117.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-29
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

The existing Ethernet BPS algorithm cannot accurately control the bandwidth percentage of the 400G network when implementing multi-stream bandwidth configuration, is inefficient, and is not suitable for high-speed 400G networks.

Method used

By obtaining the data stream to be encapsulated, determining the number of data packets within the target maximum transmission period, calculating the packet gap register parameters and the number of configuration table items, and then achieving the configuration bit rate of each data stream and accurately configuring the bandwidth of 400G Ethernet .

Benefits of technology

It achieves precise bandwidth percentage allocation for 400G Ethernet networks, improves the efficiency of bandwidth configuration, and is suitable for high-speed 400G networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869486A_ABST
    Figure CN118869486A_ABST
Patent Text Reader

Abstract

The invention provides a multi-stream bandwidth configuration method, device and equipment for a 400GE Ethernet. The method comprises the following steps: acquiring at least two to-be-packaged data streams; determining the number of data packets respectively transmitted by the at least two data streams in the target maximum transmission period; determining packet gap register parameters and respective configuration table item numbers of the at least two data streams according to the data packet numbers transmitted by the at least two data streams; obtaining a configuration bit rate of each data stream according to the packet gap register parameters and respective configuration table item numbers of the at least two data streams; and realizing bandwidth configuration of the at least two data streams according to the configuration bit rate. According to the scheme of the invention, accurate bandwidth percentage distribution of the 400G Ethernet can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer information technology processing technology, and in particular to a multi-stream bandwidth configuration method, device and equipment for 400GE Ethernet. Background Art

[0002] The existing Ethernet BPS algorithm only uses the Ethernet IFG algorithm to implement Ethernet multi-stream bandwidth configuration, which can only achieve the same frame interval control for multiple streams, but cannot accurately control the percentage of the entire multi-stream bandwidth, and the efficiency is low. Moreover, this multi-stream bandwidth configuration algorithm is not suitable for high-speed 400G networks. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a multi-stream bandwidth configuration method, device and equipment for 400GE Ethernet, which can realize accurate bandwidth percentage allocation for 400G Ethernet network.

[0004] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0005] A multi-stream bandwidth configuration method for 400GE Ethernet, comprising:

[0006] Obtain at least two data streams to be encapsulated;

[0007] Determining the number of data packets transmitted by each of the at least two data flows within a target maximum transmission period;

[0008] Determine, according to the number of data packets transmitted by each of the at least two data flows, a packet gap register parameter and the number of configuration table entries of each of the at least two data flows;

[0009] Obtaining a configured bit rate for each data stream according to the packet gap register parameter and the number of configuration table entries of each of the at least two data streams;

[0010] Bandwidth configuration of the at least two data streams is implemented according to the configured bit rate.

[0011] Optionally, determining the number of data packets transmitted by each of the at least two data flows within a target maximum transmission period includes:

[0012] According to the packet lengths and utilization rates of the at least two data flows, the number of data packets transmitted by the at least two data flows within the target maximum transmission period is determined.

[0013] Optionally, the number of packets N x =(Pmax*bps m%) / (len x +20), where N xis the number of packets transmitted by data stream x, Pmax is the maximum transmission period, bps m% is the utilization rate, len x For the package leader.

[0014] Optionally, determining a packet gap register parameter according to the number of data packets transmitted by each of the at least two data flows includes:

[0015] Obtaining a remaining utilization rate according to respective utilization rates of the at least two data flows;

[0016] A packet gap register parameter is obtained according to the remaining utilization, the maximum transmission period, and the total number of data packets of at least two data flows.

[0017] Optionally, determining the number of configuration table entries of the at least two data flows respectively according to the number of data packets transmitted by the at least two data flows respectively includes:

[0018] Get the total number of configuration table items;

[0019] According to the ratio of the number of data packets of each data flow to the total number of data packets of all data flows, the total number of configuration table items is distributed to obtain the number of configuration table items for each data flow.

[0020] Optionally, the number of configuration entries n x =M*N x / N 总 , where n x is the number of configuration table entries for data stream x, M is the total number of configuration table entries, and N x is the number of packets transmitted by data stream x, N 总 The total number of packets in all data flows.

[0021] Optionally, obtaining a configured bit rate of each data stream according to the packet gap register parameter and the number of configuration table entries of each of the at least two data streams includes:

[0022] According to the number of configuration table entries of the at least two data flows, each data flow is distributed in the order of data flow identification IDs until all data flows are allocated, thereby obtaining a configuration list;

[0023] According to the configuration list and the packet gap register parameters, the configured bit rate of each data stream is obtained.

[0024] The present invention also provides a 400GE Ethernet multi-stream bandwidth configuration device, comprising:

[0025] An acquisition module, used for acquiring at least two data streams to be encapsulated;

[0026] A processing module is used to determine the number of data packets transmitted by the at least two data flows within a target maximum transmission period; determine a packet gap register parameter and a number of configuration table entries for the at least two data flows according to the number of data packets transmitted by the at least two data flows; obtain a configured bit rate for each data flow according to the packet gap register parameter and the number of configuration table entries for the at least two data flows; and implement bandwidth configuration for the at least two data flows according to the configured bit rate.

[0027] The present invention also provides a computing device, comprising: a processor and a memory storing a computer program, wherein when the computer program is run by the processor, the method as described above is executed.

[0028] The present invention also provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method.

[0029] The above solution of the present invention includes at least the following beneficial effects:

[0030] The above scheme of the present invention obtains at least two data streams to be encapsulated; determines the number of data packets transmitted by the at least two data streams within the target maximum transmission period; determines the packet gap register parameter and the number of configuration table items of the at least two data streams according to the number of data packets transmitted by the at least two data streams; obtains the configuration bit rate of each data stream according to the packet gap register parameter and the number of configuration table items of the at least two data streams; and implements bandwidth configuration for the at least two data streams according to the configuration bit rate. Accurate bandwidth percentage allocation for 400G Ethernet networks can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flowchart of a multi-stream bandwidth configuration method for 400GE Ethernet according to an embodiment of the present invention;

[0032] Figure 2 It is a structural diagram of a multi-stream bandwidth configuration device for 400GE Ethernet according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0034] like Figure 1 As shown, an embodiment of the present invention provides a multi-stream bandwidth configuration method for 400GE Ethernet, including:

[0035] Step 11, obtaining at least two data streams to be encapsulated;

[0036] Step 12, determining the number of data packets transmitted by each of the at least two data flows within the target maximum transmission period;

[0037] Step 13, determining a packet gap register parameter and a number of configuration table entries of each of the at least two data flows according to the number of data packets transmitted by each of the at least two data flows;

[0038] Step 14, obtaining a configured bit rate of each data stream according to the packet gap register parameter and the number of configuration table entries of at least two data streams;

[0039] Step 15: Implement bandwidth configuration for the at least two data streams according to the configured bit rate.

[0040] In this embodiment, the data stream refers to the data stream transmitted by 400GE ultra-high-speed Ethernet. There are generally multiple data streams to be encapsulated, and each data stream has a preset target bit rate bps that is expected to be achieved. Through the multi-stream bandwidth configuration method provided by the present application, the bandwidth of multiple data streams is configured, so that the configured bit rate bps of each data stream can be as close to the pre-configured target bit rate bps as possible. Specifically, the present application adopts the technology of adjusting IFG (frame spacing), such as determining the packet gap register parameters in the above step 13; combined with the software lookup table and conversion algorithm, such as determining the number of configuration table items in the above step 13, the bps algorithm of the precise bandwidth percentage of ultra-high-speed Ethernet is realized. Through the above method of the present application, for the bandwidth of 400G, a minimum particle bps step size of 12Mbps can be achieved, realizing the multi-stream bandwidth configuration of 400GE ultra-high-speed Ethernet.

[0041] In an optional embodiment of the present invention, step 12 may include:

[0042] Step 121: Determine the number of data packets transmitted by each of the at least two data flows within a target maximum transmission period according to the packet lengths and utilization rates of each of the at least two data flows.

[0043] Specifically, the number of packets N x =(Pmax*bps m%) / (len x +20), where N x is the number of packets transmitted by data stream x, Pmax is the maximum transmission period, bps m% is the utilization rate, len x For the package leader.

[0044] In this embodiment, since the 400GE data streams are all sent in IFG mode, the IFG refers to the packet gap in bytes, with a minimum of 20 bytes (including the preamble).

[0045] Calculate the time slice of each byte at 400GE: (1000 / 390.625) / 128=0.02ns;

[0046] The minimum packet gap (including the preamble) is: 20*0.02=0.4ns;

[0047] The minimum packet gap (excluding the preamble) is: 0.4*0.6=0.24ns;

[0048] In the general IFG mode, multiple data streams (IDs) all use the same Ifg parameter, that is, the intervals between packets are the same, where Stream_num number = Stream_id number, that is, the number of streams is equal to the stream identifier.

[0049] In the general FPS (frame rate) mode, (Ifg+len)*0.02=1000000000 / fps. Using the number of frames per second, calculate the time slice length of each packet, convert it into bytes, and then subtract the packet length to get the Ifg parameter.

[0050] In this application, a bps mode is designed by combining the above two modes, which is implemented in disguised form using the IFG mode.

[0051] Specifically, assume that there are three data streams, stream 0, stream 1, and stream 2. Assume that the maximum transmission period Pmax bytes is 0x10000000. The parameters of the three data streams are as follows:

[0052] Stream 0 parameters: stream id = 0, packet length len 0 bytes, utilization bps 0%;

[0053] Flow 1 parameters: flow id = 1, packet length len 1 bytes, utilization bps 1%;

[0054] Flow 2 parameters: flow id = 2, packet length len 2 bytes, utilization bps 2%;

[0055] Here, utilization refers to the proportion of the data flow in bits per second under the set target bps.

[0056] Assume that in the Pmax period, a total of (N0+N1+N2) messages need to be transmitted, then:

[0057] The number of packets transmitted by stream 0 N0 = (Pmax*bps0%) / (len0+20), take the integer part;

[0058] The number of packets transmitted by flow 1 N1 = (Pmax*bps1%) / (len1+20), take the integer part;

[0059] The number of data packets transmitted by flow 2 N2 = (Pmax*bps2%) / (len2+20), take the integer part.

[0060] In an optional embodiment of the present invention, determining the packet gap register parameter in step 13 includes:

[0061] Step 131, obtaining a remaining utilization rate according to the utilization rates of the at least two data flows;

[0062] Step 132: Obtain packet gap register parameters according to the remaining utilization, the maximum transmission period, and the total number of data packets of at least two data flows.

[0063] In this embodiment, the remaining utilization rate can be obtained by subtracting the utilization rate of each of the three data streams from 1. According to the data transmission rule of Ethernet in IFG mode, Ifg-20=Pmax*(1-bps0%-bps1%-bps2%) / (N0+N1+N2), and the packet gap register parameter Ifg=Pmax*(1-bps0%-bps1%-bps2%) / (N0+N1+N2)+20.

[0064] In an optional embodiment of the present invention, determining the number of configuration table entries of at least two data flows in step 13 includes:

[0065] Step 133, obtaining the total number of configuration table items;

[0066] Step 134, allocating the total number of configuration table entries according to the ratio of the number of data packets of each data flow to the total number of data packets of all data flows, to obtain the number of configuration table entries for each data flow.

[0067] Specifically, the number of configuration entries n x =M*N x / N 总 , where n x is the number of configuration table entries for data stream x, M is the total number of configuration table entries, and N x is the number of packets transmitted by data stream x, N 总 The total number of packets in all data flows.

[0068] In this embodiment, for the Stream_num register, its stream configuration table 0 to n, a total of n+1 configuration table items, can be used to set x Stream_ids (stream ids) and corresponding packet lengths, and a 32-byte*n lookup table is used for storage.

[0069] Assume that M is 4095 and the number of data flows is still 3. Then (N0+N1+N2) packets need to be evenly distributed to 4095 configuration table entries. The number of configuration table entries for each flow is as follows:

[0070] n0=4095*N0 / (N0+N1+N2), take the integer, accuracy: 1 / 4095=0.0244%;

[0071] n1=4095*N1 / (N0+N1+N2), take the integer, accuracy: 1 / 4095=0.0244%;

[0072] n2=4095*N2 / (N0+N1+N2), take the integer, accuracy: 1 / 4095=0.0244%.

[0073] In an optional embodiment of the present invention, step 14 may include:

[0074] Step 141, according to the number of configuration table entries of the at least two data flows, each data flow is distributed in the order of data flow identification ID until all data flows are allocated, and a configuration list is obtained;

[0075] Step 142: Obtain the configured bit rate of each data stream according to the configuration list and the packet gap register parameters.

[0076] In this embodiment, each data stream id is interleaved in sequence according to the order of each data stream id. For example, the above three data stream ids are interleaved in the order of 0 / 1 / 2. When the number of configuration table items occupied by a certain id in the configuration list reaches the number of pre-allocated items, the flow id is allocated, and the remaining ids are interleaved. For example, when flow 1 occupies n1 configuration table items in the configuration list, flow 1 is allocated. Continue to allocate flow 0 and flow 2 until the three data stream ids are allocated in M ​​flow configuration table items, and each flow id occupies n. x Configuration table items are combined to obtain a configuration list. The configuration list is combined with the packet gap register parameter Ifg calculated above to piece together the configuration bps of each data stream. The error between the configuration bps and the target bps is 0.0244%. The higher the value of the configuration table item, the higher the accuracy of the bps (the smaller the value). The accuracy can be improved by increasing the number of configuration table items.

[0077] The above method of the present invention uses multiple data streams to intelligently piece together the same stream id by adjusting the frame gap (IFG) technology, and uses the IFG mode logic combined with the software lookup table to cooperate with the conversion algorithm to equivalently achieve the precise bps rate set by a certain stream id. Compared with the method of only using the IFG mode to control the frame gap to control the bandwidth line rate of 400GE, the present invention can configure the bps of each stream id in the multi-stream, and can realize the combination of more types of ultra-high-speed Ethernet frames, and better simulate the Ethernet multi-stream bandwidth configuration that meets actual needs and is accurate.

[0078] like Figure 2 As shown, an embodiment of the present invention further provides a 400GE Ethernet multi-stream bandwidth configuration device 20, comprising:

[0079] An acquisition module 21, used to acquire at least two data streams to be encapsulated;

[0080] The processing module 22 is used to determine the number of data packets transmitted by the at least two data streams within the target maximum transmission period; determine the packet gap register parameter and the number of configuration table items of the at least two data streams according to the number of data packets transmitted by the at least two data streams; obtain the configured bit rate of each data stream according to the packet gap register parameter and the number of configuration table items of the at least two data streams; and implement bandwidth configuration for the at least two data streams according to the configured bit rate.

[0081] Optionally, determining the number of data packets transmitted by each of the at least two data flows within a target maximum transmission period includes:

[0082] According to the packet lengths and utilization rates of the at least two data flows, the number of data packets transmitted by the at least two data flows within the target maximum transmission period is determined.

[0083] Optionally, the number of packets N x =(Pmax*bps m%) / (len x +20), where N x is the number of packets transmitted by data stream x, Pmax is the maximum transmission period, bps m% is the utilization rate, len x For the package leader.

[0084] Optionally, determining a packet gap register parameter according to the number of data packets transmitted by each of the at least two data flows includes:

[0085] Obtaining a remaining utilization rate according to respective utilization rates of the at least two data flows;

[0086] A packet gap register parameter is obtained according to the remaining utilization, the maximum transmission period, and the total number of data packets of at least two data flows.

[0087] Optionally, determining the number of configuration table entries of the at least two data flows respectively according to the number of data packets transmitted by the at least two data flows respectively includes:

[0088] Get the total number of configuration table items;

[0089] According to the ratio of the number of data packets of each data flow to the total number of data packets of all data flows, the total number of configuration table items is distributed to obtain the number of configuration table items for each data flow.

[0090] Optionally, the number of configuration entries n x =M*N x / N 总 , where n x is the number of configuration table entries for data stream x, M is the total number of configuration table entries, and N x is the number of packets transmitted by data stream x, N 总 The total number of packets in all data flows.

[0091] Optionally, obtaining a configured bit rate of each data stream according to the packet gap register parameter and the number of configuration table entries of each of the at least two data streams includes:

[0092] According to the number of configuration table entries of the at least two data flows, each data flow is distributed in the order of data flow identification IDs until all data flows are allocated, thereby obtaining a configuration list;

[0093] According to the configuration list and the packet gap register parameters, the configured bit rate of each data stream is obtained.

[0094] It should be noted that the device is a device corresponding to the above method, and all implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.

[0095] The embodiment of the present invention further provides a computing device, comprising: a processor, a memory storing a computer program, wherein when the computer program is executed by the processor, the method described above is executed. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0096] The embodiment of the present invention further provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0097] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0098] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0099] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0101] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0102] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0103] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0104] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.

[0105] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A multi-stream bandwidth configuration method for 400GE Ethernet, characterized in that: include: Obtain at least two data streams to be encapsulated; Determining the number of data packets transmitted by each of the at least two data flows within a target maximum transmission period; Determine, according to the number of data packets transmitted by each of the at least two data flows, a packet gap register parameter and the number of configuration table entries of each of the at least two data flows; Obtaining a configured bit rate for each data stream according to the packet gap register parameter and the number of configuration table entries of each of the at least two data streams; Bandwidth configuration of the at least two data streams is implemented according to the configured bit rate.

2. The multi-stream bandwidth configuration method of 400GE Ethernet according to claim 1, characterized in that: Determining the number of data packets transmitted by each of the at least two data flows within a target maximum transmission period includes: According to the packet lengths and utilization rates of the at least two data flows, the number of data packets transmitted by the at least two data flows within the target maximum transmission period is determined.

3. The multi-stream bandwidth configuration method of 400GE Ethernet according to claim 2, characterized in that: The number of packets N x =(Pmax*bps m%) / (len x +20), where N x is the number of packets transmitted by data stream x, Pmax is the maximum transmission period, bps m% is the utilization rate, len x For the package leader.

4. The multi-stream bandwidth configuration method of 400GE Ethernet according to claim 1, characterized in that: Determining a packet gap register parameter according to the number of data packets transmitted by each of the at least two data flows includes: Obtaining a remaining utilization rate according to respective utilization rates of the at least two data flows; A packet gap register parameter is obtained according to the remaining utilization, the maximum transmission period, and the total number of data packets of at least two data flows.

5. The multi-stream bandwidth configuration method of 400GE Ethernet according to claim 1, characterized in that: Determining the number of configuration table entries of the at least two data flows according to the number of data packets transmitted by the at least two data flows respectively includes: Get the total number of configuration table items; According to the ratio of the number of data packets of each data flow to the total number of data packets of all data flows, the total number of configuration table items is distributed to obtain the number of configuration table items for each data flow.

6. The multi-stream bandwidth configuration method of 400GE Ethernet according to claim 5, characterized in that: The number of configuration table entries n x =M*N x / N 总 , where n x is the number of configuration table entries for data stream x, M is the total number of configuration table entries, and N x is the number of packets transmitted by data stream x, N 总 The total number of packets in all data flows.

7. The multi-stream bandwidth configuration method of 400GE Ethernet according to claim 1, characterized in that: According to the packet gap register parameter and the number of configuration table entries of at least two data streams, a configuration bit rate of each data stream is obtained, including: According to the number of configuration table entries of the at least two data flows, each data flow is distributed in the order of data flow identification IDs until all data flows are allocated, thereby obtaining a configuration list; According to the configuration list and the packet gap register parameters, the configured bit rate of each data stream is obtained.

8. A multi-stream bandwidth configuration device for 400GE Ethernet, characterized in that: include: An acquisition module, used for acquiring at least two data streams to be encapsulated; A processing module, configured to determine the number of data packets transmitted by each of the at least two data flows within a target maximum transmission period; According to the number of data packets transmitted by each of the at least two data streams, a packet gap register parameter and the number of configuration table items of each of the at least two data streams are determined; according to the packet gap register parameter and the number of configuration table items of each of the at least two data streams, a configured bit rate of each data stream is obtained; and according to the configured bit rate, bandwidth configuration of the at least two data streams is implemented.

9. A computing device, characterized in that include: A processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method according to any one of claims 1 to 7 is performed.

10. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Dynamic bandwidth allocation method for self-adapting service quality assurance in Ethernet passive optical network

    CN101667962A

  • Data flow bit allocating method and device

    CN102469508A

  • Determining the bandwidth of a communication link

    CN110199505A

  • Data transmission method and device, equipment and storage medium

    CN116436789A

  • Method for distributing bandwidth to data stream in application broadcast network

    CN1295408A