A MDSCFQ queue scheduling method combined with traffic shaping

By combining the MDSCFQ queue scheduling method with traffic shaping, using the entropy weight TOPSIS method to shape the BS flow and BE flow, and dynamically adjusting the weights, the problem of sudden impact of self-similar traffic is solved, and delay-sensitive traffic is realized. The throughput improvement of high-priority services and bandwidth-sensitive traffic improves the convergence control performance of the space-ground integrated intelligent network.

CN118524067BActive Publication Date: 2024-10-11NANJING UNIV OF INFORMATION SCI & TECH
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410986162.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-11
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

Existing queue scheduling algorithms are difficult to effectively cope with the sudden impact of self-similar traffic in space-ground integrated intelligent networks, and cannot meet differentiated service needs, resulting in unbalanced scheduling performance.

Method used

The MDSCFQ queue scheduling method combined with traffic shaping is used to shape the BS flow and BE flow through the multi-layer token bucket based on the entropy weight TOPSIS method, dynamically adjust the weight of each queue, and schedule based on the virtual end time to ensure timely High-priority services that delay sensitive traffic.

Benefits of technology

It significantly reduces the queuing delay and packet loss rate of delay-sensitive traffic, improves the throughput of bandwidth-sensitive traffic, realizes adaptive adjustment of the aggregation traffic of the space-ground integrated intelligent network, and improves aggregation control performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118524067B_ABST
    Figure CN118524067B_ABST
Patent Text Reader

Abstract

The present invention discloses an MDSCFQ queue scheduling method combined with traffic shaping, belonging to the field of communication technology. In a space-ground integrated intelligent network, when traffic enters a convergence node, traffic shaping is performed on the traffic of BS flow and BE flow through a multi-layer token bucket based on the entropy weight TOPSIS method, and the DS flow passes directly; then, according to the traffic situation of each traffic queue, based on the MDSCFQ scheduling method, the system virtual time and virtual end time are updated, the weight is dynamically adjusted according to the length of each traffic queue, and normalization is performed; finally, the virtual end time of the queue head data packet is updated according to the weight and sorted and compared, based on the minimum legal virtual end time priority strategy, the data with the minimum virtual end time is output, and the virtual system virtual time and virtual end time are updated, the network converged traffic is adaptively adjusted, and the convergence control performance of the traffic is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to an MDSCFQ queue scheduling method combined with traffic shaping. Background Art

[0002] With the development of integrated space-ground networks, key nodes have computing and storage functions, the network presents intelligent features, and traffic characteristics also change accordingly. In intelligent network aggregation nodes, delay-sensitive traffic and bandwidth-sensitive traffic coexist, and have different transmission requirements for queuing delay, transmission bandwidth, etc., resulting in increased queuing delay and packet loss rate of network link aggregation queues. Traditional queue scheduling algorithms are difficult to cope with differentiated service requirements and self-similar traffic bursts. In the prior art, queue scheduling methods are mainly based on polling scheduling methods and group-based fair scheduling methods.

[0003] Among the polling scheduling algorithms, traditional scheduling algorithms include: WRR (Weighted Round Robin) scheduling algorithm, DRR (Deficit Round Robin) scheduling algorithm, DWRR (Deficit Weighted Round Robin) scheduling algorithm, etc. In order to better adapt to service needs, many improved algorithms have emerged, such as: an improved DRR dequeue scheduling algorithm, which provides fair bandwidth services to each priority queue while providing forwarding delay guarantee for network packets; a hybrid queue scheduling strategy for optimizing the real-time performance of the AFDX network, which combines the advantages of the FCFS scheduling strategy, the static priority queue scheduling strategy and the difference polling scheduling strategy, and solves the problem of large network delay for safety-critical data and uncertainty in data flow delay under congestion; a variable weight polling scheduling algorithm based on the real-time size of the queue (priority queueing and changeable DWRR, PCDWRR), which guarantees the delay requirements of different characteristic services in the HINOC system; and a dynamic weighted polling algorithm, combined with the idea of ​​the PF algorithm, solves the problems of low system fairness and poor user experience in traditional resource allocation management algorithms in large-scale VLC / WiFi heterogeneous network environments.

[0004] Among the packet fairness scheduling methods, traditional scheduling methods include: WFQ (Weighted Fair Queuing weighted fair scheduling algorithm), MDSCFQ (Minimum-Delay Self-Clocked Fair Queueing minimum delay self-clock fair scheduling algorithm), etc. In order to better improve application performance and meet service requirements, many improved methods have emerged, such as: the improved token bucket weighted fair queue scheduling algorithm, which solves the problem that the traditional queue scheduling algorithm can no longer meet the network quality of service (QoS) requirements; the SRWFQ method, which introduces two factors, priority bandwidth guarantee and weight adjustment, to improve the weight strategy, and simulates and compares the two algorithms in terms of latency, network throughput and packet loss rate QoS parameters. The simulation analysis shows that the SRWFQ improved algorithm can well support real-time business flows; the dynamic perception scheduling algorithm based on WFQ dynamically adjusts the weights of real-time data flows and non-real-time data flows according to the length of the queue backlog, gives priority to sending system real-time data, meets the reliable transmission requirements of real-time data, and improves the service quality of the entire communication network. In addition, according to the number of data packets in different business queues, a dynamic weight adjustment strategy is adopted according to the priority of the queue, and the queue is re-weighted during each update time, which has a significant improvement in reducing the latency and packet loss rate of important services.

[0005] Most of the above methods lack consideration for the burstiness of self-similar traffic and only consider the traffic conditions of the buffer queue. They cannot effectively reduce the impact of the burstiness of self-similar traffic and lack differentiated processing of traffic demands, resulting in unbalanced scheduling performance and difficulty in meeting the differentiated service requirements of traffic aggregated by the aggregation nodes of the integrated space-ground intelligent network. Summary of the invention

[0006] The problem to be solved by the present invention is to provide an MDSCFQ queue scheduling method combined with traffic shaping, to perform traffic shaping processing on the traffic entering the aggregation node, to smooth its traffic burstiness, and at the same time to provide higher priority services for delay-sensitive traffic, to improve the service performance of link aggregation, and to meet the differentiated service requirements of the traffic aggregated by the aggregation node of the integrated space-ground intelligent network.

[0007] The present invention adopts the following technical solution: an MDSCFQ queue scheduling method combined with traffic shaping, comprising the following steps:

[0008] S1. In the integrated intelligent network of the sky and the earth, when the traffic enters the aggregation node, the traffic of the BS flow and the BE flow is shaped by a multi-layer token bucket based on the entropy weight TOPSIS method to smooth the traffic, while the traffic of the DS flow passes directly to form three traffic queues: BS, BE, and DS.

[0009] S2. Update the system virtual time and virtual end time based on the MDSCFQ scheduling method according to the traffic arriving at each traffic queue;

[0010] S3, recording the queue length of each traffic queue, and dynamically adjusting the weight according to the length of each traffic queue;

[0011] S4. Determine whether all traffic queues have completed weight adjustment. If there are queues that have not completed adjustment, repeat step S3 until the weights of the three traffic queues are obtained.

[0012] S5. Normalize the weights of each traffic queue to obtain a normalized weight.

[0013] S6. Update the virtual end time of the queue head data packet according to the weight, sort and compare the virtual end times, output the data with the minimum virtual end time based on the minimum legal virtual end time priority strategy, and update the virtual system virtual time and virtual end time;

[0014] S7. Determine whether there are data packets waiting for scheduling in all queues. If so, go to step S2. If not, the scheduling ends, and the adaptive adjustment of the converged traffic of the integrated space-ground intelligent network is completed.

[0015] Specifically, in step S1, traffic shaping adopts a multi-layer token bucket strategy based on the entropy weight TOPSIS method to smooth the BS flow and the BE flow.

[0016] Specifically, in step S2, based on the MDSCFQ scheduling method, the system virtual time is initialized, and a virtual end time is maintained for the head data packet in each queue. At the same time, a weight is assigned to each queue to set the output bandwidth allocation ratio. When the scheduler is ready to schedule a data packet for forwarding, a data packet with the smallest virtual end time is selected from the head data packets of all queues waiting to be scheduled for forwarding.

[0017] Specifically, in step S3, as long as there is unprocessed traffic in the DS queue, the queue weight will be maintained at a relatively high level. When the length of the DS queue exceeds the preset threshold, it will obtain the maximum weight. When the length of the BS queue is lower than the minimum threshold, the weight can be maintained at a basic level. When it exceeds the minimum threshold but has not yet reached the maximum threshold, the weight should gradually increase. When the queue length further increases and exceeds the maximum threshold, the weight is set to the maximum. The BE queue can obtain a basic weight, and its weight will only increase when the length of the BE queue exceeds a specific threshold.

[0018] Specifically, in step S5, the obtained weights of the three traffic queues are normalized so that all weights are scaled in equal proportion so that the sum of all weights is 1.

[0019] The technical solution of the present invention also provides: an electronic device, comprising:

[0020] one or more processors;

[0021] a storage device having one or more programs stored thereon;

[0022] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the above-mentioned MDSCFQ queue scheduling methods combined with traffic shaping.

[0023] The technical solution of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in any of the above-mentioned MDSCFQ queue scheduling methods combined with traffic shaping are implemented.

[0024] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:

[0025] Compared with the existing scheduling methods, the MDSCFQ queue scheduling method combined with traffic shaping in the present invention has significantly reduced the queuing delay, delay jitter, and packet loss rate of delay-sensitive traffic, and greatly improved the throughput of bandwidth-sensitive traffic. At the same time, the method for calculating virtual time used in the present invention has lower calculation complexity and overhead than the traditional method, and can realize adaptive adjustment of the converged traffic of the integrated space-ground intelligent network, thereby improving the convergence control performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a framework diagram of the MDSCFQ queue scheduling method combined with traffic shaping in the present invention;

[0027] Figure 2 It is a multi-layer token bucket strategy framework diagram based on the entropy weight TOPSIS method in traffic shaping of the present invention;

[0028] Figure 3 It is a flow chart of the MDSCFQ queue scheduling method combined with traffic shaping of the present invention;

[0029] Figure 4 is a topological diagram of an embodiment of the present invention;

[0030] Figure 5 It is a packet loss performance comparison diagram of the multi-layer token bucket method of the present invention and the traditional token bucket method;

[0031] Figure 6 This is a comparison chart of the delay performance of delay-sensitive traffic of the method of the present invention and other methods;

[0032] Figure 7 This is a comparison chart of the delay jitter performance of delay-sensitive traffic of the method of the present invention and other methods;

[0033] Figure 8 is a comparison chart of bandwidth sensitive traffic throughput performance between the method of the present invention and other methods;

[0034] Fig. 9 This is a comparison chart of the total packet loss rate performance of the method of the present invention and other methods. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the application is further elaborated in detail below in conjunction with the accompanying drawings. The described embodiments are only a part of the embodiments involved in the present invention. All non-innovative embodiments of other researchers in the field on this embodiment belong to the protection scope of the present invention. At the same time, for the step numbering in the embodiment of the present invention, it is only set for the convenience of explanation, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0036] The present invention provides a MDSCFQ queue scheduling method combined with traffic shaping, such as Figure 1 As shown, the following steps are included:

[0037] S1. In the integrated space-ground intelligent network, when traffic enters the aggregation node, the traffic of BS and BE flows is shaped through multi-layer token buckets to smooth the traffic, while the traffic of DS flows passes directly, forming three traffic queues: BS, BE, and DS.

[0038] S2. Update the system virtual time and virtual end time based on the MDSCFQ scheduling method according to the traffic arriving at each traffic queue;

[0039] S3, record the queue length qsize of each traffic queue, and dynamically adjust the weight according to the length of each traffic queue;

[0040] S4. Determine whether all traffic queues have completed weight adjustment. If there are queues that have not completed adjustment, repeat step S3 until the weights of the three traffic queues are obtained.

[0041] S5. Normalize the weights of each traffic queue to obtain a normalized weight.

[0042] S6. Update the virtual end time of the queue head data packet according to the weight, sort and compare the virtual end times, output the data with the minimum virtual end time based on the minimum legal virtual end time priority strategy, and update the virtual system virtual time and virtual end time;

[0043] S7. Determine whether there are data packets waiting for scheduling in all queues. If so, go to step S2. If not, the scheduling ends, and the adaptive adjustment of the converged traffic of the integrated space-ground intelligent network is completed.

[0044] The present invention smoothes BS (bandwidth sensitive) traffic and BE (best effort) traffic through a multi-layer token bucket method, and then dynamically adjusts the weights according to the queue lengths of DS (delay sensitive) traffic queues, BS traffic queues and BE traffic queues.

[0045] The multi-layer token bucket strategy framework based on the entropy weight TOPSIS method in the traffic shaping of the present invention is as follows: Figure 2 As shown, the details are as follows:

[0046] Since traffic shaping will greatly affect the delay and packet loss of subsequent queue scheduling, DS traffic is not shaped, and only BS traffic and BE traffic are smoothed.

[0047] The first step is to standardize the data. Since the dimensions of each indicator are different, the data of each indicator should be standardized first:

[0048] ;

[0049] ;

[0050] in, represents the standardized value of the jth indicator of the i-th evaluation object, , They represent the maximum and minimum values ​​of the jth evaluation index respectively, Represents the i-th object of the j-th evaluation indicator; the number of evaluation objects is n, and the number of indicator items is m.

[0051] The second step is to calculate the characteristic weight of the i-th evaluation object under the j-th indicator. :

[0052] ;

[0053] The third step is to calculate the information entropy of each indicator. :

[0054] ;

[0055] Step 4: Calculate the weight of each indicator :

[0056] ;

[0057] Step 5: Based on the calculated weights With the standard matrix, establish the weighted matrix R and determine the positive ideal solution of each indicator With negative ideal solution :

[0058] ;

[0059] ;

[0060] ;

[0061] ;

[0062] in, Indicates The first evaluation object The weighted value of each indicator;

[0063] Step 6: Calculate the Euclidean distance:

[0064] ;

[0065] ;

[0066] Step 7: Calculate the similarity:

[0067] ;

[0068] In the present invention, The larger the value obtained, the greater the resource pressure on the corresponding layer and the more tokens are required.

[0069] Required token allocation weight formula for token bucket for:

[0070] ;

[0071] in, It is the priority value of each queue. The larger the value, the higher the priority.

[0072] Therefore, in the time interval The number of tokens obtained by each layer of token bucket for:

[0073] .

[0074] The remaining capacity ratio in the i-th token bucket is recorded as , the proportion of data packets temporarily stored in the queue corresponding to the token bucket is recorded as And the packet loss rate of the queue is recorded as , which serve as indicators for the entropy-weighted TOPSIS method.

[0075] It is important to note that in each layer of the multi-layer token bucket, if a token is not used, or the token generation rate is greater than the usage rate, tokens will continue to be added until the bucket is full. After that, the generated tokens will overflow from the bucket, and the number of tokens in the token bucket will never exceed the capacity of the bucket. The transmission of data requires the consumption of tokens, and the number of tokens consumed varies depending on the size of the data packet.

[0076] Specifically, in one embodiment of the present invention, the MDSCFQ queue scheduling method combined with traffic shaping is as follows: Figure 3 As shown, the process is as follows:

[0077] Step S1: After the traffic enters the aggregation node, the traffic of the BS flow and the BE flow is shaped through multi-layer token buckets to smooth the traffic, while the traffic of the DS flow passes directly;

[0078] Since shaping the traffic will greatly affect the delay and packet loss of subsequent queue scheduling, in this embodiment, no shaping is performed on the DS traffic, and only the BS traffic and BE traffic are smoothed. The traffic shaping strategy is a multi-layer token bucket strategy based on the entropy weight TOPSIS method.

[0079] Step S2: First, initialize and calculate the system virtual time: Initialize the system potential function When a data packet is transmitted, To update, the formula is as follows:

[0080] ;

[0081] ;

[0082] in, is the base potential function, Indicates the jth The real value of the time when updating, Represents the instant before the update occurs; at any given time The value of does not exceed the minimum potential function value of the backlog queue. The calculation formula is as follows:

[0083] ;

[0084] in, Represents the weighted sum of the virtual end times of all queues with traffic backlog; Indicates the sum of the packet sizes at the head of all queues; Indicates the sum of the service rates of all queues with traffic backlog.

[0085] Then, the system virtual time and virtual end time are updated according to the traffic arriving at each queue ;

[0086] When traffic arrives at queue i, if queue i is not empty, it is not updated. , if queue i is originally empty, update :

[0087] ;

[0088] in, represents the virtual end time of the i-th queue, Indicates the arrival time of the data packet, represents the system virtual time at arrival, which is equivalent to the base potential function, Indicates the size of the data packet. Represents the reservation rate of the i-th queue:

[0089] ;

[0090] in, is the weight of the i-th queue, and B is the total bandwidth.

[0091] Whenever all queues are empty, that is, all packets in all queues have been sent, the system's virtual time and the virtual end time of each queue should be All are cleared to 0.

[0092] When traffic leaves queue i, if queue i is empty, it is not updated. , if queue i is not empty, update :

[0093] .

[0094] When the first packet at the head of the queue changes, It needs to be updated according to the above rules. According to these rules, it is also necessary to calculate the virtual end time for each packet in the queue, but this calculation is only performed when the packet becomes the first packet at the head of the queue.

[0095] Step S3: Record the queue length of each queue , dynamically adjust the weight according to the queue length.

[0096] As long as there is unprocessed traffic in the DS queue, the queue weight will remain at a relatively high level. When the length of the DS queue exceeds the preset threshold, it will obtain the maximum weight. When the length of the BS queue is lower than the minimum threshold, the weight can be maintained at a basic level. When it exceeds the minimum threshold but has not yet reached the maximum threshold, the weight should gradually increase. When the queue length further increases and exceeds the maximum threshold, the weight is set to the maximum. The BE queue can obtain a basic weight. When the length of the BE queue exceeds a specific threshold, its weight will increase.

[0097] To ensure that delay-sensitive traffic has a high transmission priority in the network, the policy is that as long as there is traffic to be processed in the DS queue, the queue weight will be kept at a relatively high level. When the length of the DS queue exceeds the preset threshold, its weight will be further increased to achieve higher priority service for delay-sensitive traffic:

[0098] ;

[0099] The DS queue threshold is , Indicates the maximum queue length of the DS queue. Indicates the current queue length of the DS queue. , Respectively represent the maximum weight and minimum weight of the DS queue, is the threshold coefficient.

[0100] The core of the BS queue weight adjustment strategy is to set two thresholds for the queue length: and When the length of the BS queue is lower than the threshold When the queue is considered to be lightly loaded, the weight is set to meet the minimum demand. In this case, the queue weight can be maintained at a basic level.

[0101] As the queue length increases, when it exceeds But not yet reached This indicates that the queue is beginning to become congested to a certain extent and needs more service opportunities. In this case, the weight should be gradually increased to accommodate the increase in queue length. When the queue length grows further and exceeds the threshold , it indicates that the queue is experiencing severe congestion and a large number of packets have accumulated in the queue.

[0102] If these packets cannot be sent in time, the performance of the queue will be seriously affected. Therefore, the weight at this time needs to be significantly increased to ensure that the queue can obtain more bandwidth allocation, so that its performance is not affected:

[0103] ;

[0104] in, Indicates the current queue length of the BS queue and the maximum and minimum thresholds of the BS queue are , , , Respectively represent the maximum weight and minimum weight of the BS queue, Indicates the maximum queue length of the BS queue. , Represent the maximum and minimum threshold coefficients respectively, Indicates the weight coefficient of the BS queue.

[0105] BE flows do not have high requirements for queuing delay and transmission bandwidth. Therefore, when the service demand of the other two types of traffic is large, more bandwidth is allocated to the other two types of traffic queues first. Only when the length of the BE queue exceeds a specific threshold , its weight will increase, thus obtaining a larger share in bandwidth allocation:

[0106] ;

[0107] in, , Respectively represent the maximum and minimum weights of the BE queue, Indicates the maximum queue length of the BE queue. represents the threshold coefficient, Indicates the weight coefficient of the BE queue.

[0108] Step S4: Determine whether all queues have completed weight adjustment. If there are queues that have not completed adjustment, go to step 3. If all have completed adjustment, go to the next step.

[0109] Step S5: normalize the weights of each queue to obtain normalized weights;

[0110] The weights of the three traffic queues are normalized so that all weights are scaled in equal proportion and the sum of all weights is 1.

[0111] Step S6: Update the virtual end time of the queue head packet according to the weight .

[0112] Sort and compare the virtual end times, output the data packet with the smallest virtual end time, and update the virtual system virtual time and virtual end time ;

[0113] The group selection strategy is Smallest Eligible virtual Finished time First (SEFF). The virtual finish time calculation method is the same as step S2.

[0114] Step S7, determine whether there are data packets waiting for scheduling in all queues, if yes, go to step S2, if not, the scheduling ends.

[0115] The topological structure of this embodiment is as follows: Figure 4 As shown, There are five source nodes, sending delay-sensitive traffic, bandwidth-sensitive traffic, and best-effort traffic to the sink node. .

[0116] Five source nodes Send traffic to the aggregation node separately , The sent stream represents delay-sensitive traffic, The streams sent represent bandwidth-sensitive traffic, The flows sent represent best-effort traffic. To the sink node The transmission rate is 10Mbps, and the node To the sink node The transmission rate is 1Mbps. The scheduling algorithm is at the node middle, The service rate is 6Mbps; The destination node.

[0117] In this embodiment, the source node uses ON / OFF based on Pareto distribution to superimpose different flows to simulate self-similar traffic. The cumulative distribution function of Pareto distribution is as follows:

[0118] ;

[0119] in, is the shape parameter, is a positional parameter.

[0120] Traffic shaping mainly affects bandwidth-sensitive traffic and best-effort traffic. The traffic sent and The traffic sent. The bandwidth-sensitive traffic part is a three-layer token bucket, and the best-effort traffic part is a one-layer token bucket, so it is equivalent to an ordinary token bucket. The present invention mainly compares the three-layer token bucket of the bandwidth-sensitive traffic part. The priorities of the three-layer token buckets are 1, 2, and 3 respectively. The larger the priority value, the greater the priority. The initial token generation rate is 8Mbit / s, and the token bucket capacity is 5packets, 10packets, and 40packets.

[0121] from Figure 5 It can be seen intuitively that the packet loss rate of the improved token bucket algorithm is greatly reduced compared with the original traditional token bucket algorithm, thereby ensuring the integrity of traffic shaping transmission, avoiding the waste of tokens, and laying a good foundation for subsequent scheduling and forwarding.

[0122] Furthermore, the performance of the method of this embodiment is compared with that of WFQ (Weighted Fair Queuing weighted fair scheduling algorithm), WRR (Weighted Round Robin weighted round-robin scheduling algorithm), DWRR (Deficit Weighted Round Robin difference weighted scheduling algorithm), MDSCFQ (minimum delay self-clock fair scheduling algorithm), SWFQ (weighted fair scheduling algorithm based on token bucket), and DQLWFQ (dynamic weighted fair queue scheduling algorithm based on queue length).

[0123] Comparison of latency performance of latency-sensitive traffic queues, such as Figure 6 As shown, it can be seen that the method of this embodiment has improved the delay performance of delay-sensitive traffic queuing compared with other algorithms. Compared with the WRR and DWRR scheduling methods, the delay of delay-sensitive traffic is reduced by 12.09 percentage points and 16.17 percentage points respectively, compared with the WFQ and MDSCFQ scheduling methods, the delay of delay-sensitive traffic is reduced by 17.87 percentage points and 15.45 percentage points respectively, compared with the SWFQ scheduling method, the delay of delay-sensitive traffic is reduced by 18.07 percentage points, and compared with the DQLWFQ scheduling method, the delay of delay-sensitive traffic is reduced by 4.46 percentage points.

[0124] Comparison of delay-sensitive traffic delay jitter performance, such as Figure 7As shown, it can be seen that the method of this embodiment has improved the delay jitter performance of delay-sensitive traffic compared with other algorithms. Compared with the WRR and DWRR scheduling methods, the delay jitter of delay-sensitive traffic is reduced by 4.51 percentage points and 6.22 percentage points respectively, compared with the WFQ and MDSCFQ scheduling methods, the delay jitter of delay-sensitive traffic is reduced by 15.25 percentage points and 35.63 percentage points respectively, compared with the SWFQ scheduling method, the delay jitter of delay-sensitive traffic is reduced by 17.70 percentage points, and compared with the DQLWFQ scheduling method, the delay jitter of delay-sensitive traffic is reduced by 13.34 percentage points.

[0125] Comparison of bandwidth-sensitive traffic throughput performance, such as Figure 8 As shown, it can be seen that the method of this embodiment has a slight improvement in the delay jitter performance of delay-sensitive traffic compared with other algorithms, except for a slight reduction compared with the SWFQ method; the bandwidth-sensitive traffic throughput is increased by 1.20 percentage points and 1.16 percentage points compared with the WRR and DWRR scheduling methods, respectively, and the bandwidth-sensitive traffic throughput is increased by 0.97 percentage points and 1.06 percentage points compared with the WFQ and MDSCFQ scheduling methods, respectively, and the bandwidth-sensitive traffic throughput is increased by 0.72 percentage points compared with the SWFQ scheduling method, and the bandwidth-sensitive traffic throughput is increased by 1.53 percentage points compared with the DQLWFQ scheduling method.

[0126] Comparison of total packet loss performance, such as Fig. 9 As shown, it can be seen that this method has improved the total packet loss rate performance compared with other algorithms; compared with the WRR and DWRR scheduling methods, the packet loss rates are reduced by 11.24 percentage points and 14.53 percentage points respectively; compared with the WFQ and MDSCFQ scheduling methods, the packet loss rates are reduced by 18.09 percentage points and 23.10 percentage points respectively; compared with the SWFQ scheduling method, the packet loss rate is reduced by 26.72 percentage points; compared with the DQLWFQ scheduling method, the packet loss rate is reduced by 20.55 percentage points.

[0127] Therefore, the MDSCFQ queue scheduling method combined with traffic shaping in the present invention realizes adaptive adjustment of the converged traffic of the integrated space-ground intelligent network and improves the convergence control performance. At the same time, the method for calculating virtual time used in the present invention has lower computational complexity and overhead than traditional methods.

[0128] The above is only 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 principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A MDSCFQ queue scheduling method combined with traffic shaping, It is characterized in that The steps include: S1. In the integrated space-ground intelligent network, when traffic enters the aggregation node, the traffic of BS and BE flows is shaped through multi-layer token buckets to smooth the traffic, while the traffic of DS flows passes directly, forming three traffic queues: BS, BE, and DS. The traffic shaping adopts a multi-layer token bucket strategy based on the entropy weight TOPSIS method to smooth the BS flow and the BE flow. The method is as follows: S1.

1. Since the dimensions of each indicator are different, the data of each indicator are standardized to obtain The first evaluation object Standardized value of the indicator : ; ; in, , Respectively represent The maximum and minimum values ​​of the evaluation indicators. Indicates The evaluation index evaluation objects, the number of evaluation objects is , the number of indicators is ; S1.

2. Calculate Under the indicator The characteristic proportion of the evaluation object : ; S1.

3. Calculate the information entropy of each indicator : ; S1.

4. Calculate the weight of each indicator : ; S1.

5. Establish the weighted matrix R and determine the positive ideal solution of each indicator With negative ideal solution : ; ; ; ; in, Indicates The first evaluation object The weighted value of each indicator; S1.

6. Calculate the Euclidean distance of the positive ideal solution and the negative ideal solution respectively and : ; ; S1.

7. Calculation of similarity : ; in, The larger the value, The greater the resource pressure on the corresponding layer, the more tokens are required; S1.

8. Required token allocation weight formula for token bucket for: ; in, is the priority value of each queue, A larger value means a higher priority; S1.9, at time intervals The number of tokens obtained by each layer of token bucket is : ; in, represents the token generation rate; the remaining capacity ratio in the i-th token bucket is recorded as , the proportion of data packets temporarily stored in the corresponding queue is recorded as , the packet loss rate is recorded as , as an indicator of the entropy weighted TOPSIS method; In each layer of the multi-layer token bucket, if a token is not used, or the token generation rate is greater than the usage rate, tokens are continuously added until the bucket is full, after which the generated tokens will overflow from the bucket, and the number of tokens in the token bucket does not exceed the capacity of the bucket; S2. Update the system virtual time and virtual end time based on the MDSCFQ scheduling method according to the traffic arriving at each traffic queue; S3, recording the queue length of each traffic queue, and dynamically adjusting the weight according to the length of each traffic queue; S4. Determine whether all traffic queues have completed weight adjustment. If there are queues that have not completed adjustment, repeat step S3 until the weights of the three traffic queues are obtained. S5. Normalize the weights of each traffic queue to obtain a normalized weight. S6. Update the virtual end time of the queue head data packet according to the weight, sort and compare the virtual end times, output the data with the minimum virtual end time based on the minimum legal virtual end time priority strategy, and update the virtual system virtual time and virtual end time; S7. Determine whether there are data packets waiting for scheduling in all queues. If so, go to step S2. If not, the scheduling ends, and the adaptive adjustment of the converged traffic of the integrated space-ground intelligent network is completed.

2. The MDSCFQ queue scheduling method combined with traffic shaping according to claim 1, It is characterized in that In step S2, based on the MDSCFQ scheduling method, a virtual end time is maintained for the first data packet in each queue, and a weight is also assigned to each queue to set the output bandwidth allocation ratio. When the scheduler is ready to schedule a data packet for forwarding, a data packet with the smallest virtual end time is selected from all the data packets waiting for scheduling for forwarding. The method is as follows: S2.

1. System virtual time initialization and calculation: Initialize system potential function When a data packet is transmitted, To update, the formula is as follows: ; ; in, is the base potential function, Indicates the jth The real value of the time when updating, Represents the instant before the update occurs; at any given time The value of does not exceed the minimum potential function value of the backlog queue. The calculation formula is as follows: ; in, Represents the weighted sum of the virtual end times of all queues with traffic backlog; Indicates the sum of the packet sizes at the head of all queues; It represents the sum of the service rates of all queues with traffic backlog; S2.2, initialization and calculation of virtual start time and virtual end time: Indicates the virtual end time of the i-th queue. When traffic reaches queue i, if queue i is not empty, it will not be updated. , if queue i is originally empty, update : ; in, represents the arrival time of the kth data packet, Indicates the system virtual time at arrival, is the size of the kth packet in the ith queue; The reservation service rate of the i-th queue It is expressed as follows: ; in, is the weight of the i-th queue, and B is the total bandwidth; When all queues are empty, all packets in all queues have been sent, and the system virtual time and the virtual end time of each queue are All are cleared to 0; When traffic leaves queue i, if queue i is empty, it is not updated. , if queue i is not empty, update : ; When the first packet at the head of the queue changes, update .

3. The MDSCFQ queue scheduling method combined with traffic shaping according to claim 1, It is characterized in that In step S3, as long as there is traffic in the DS traffic queue, it will be given a fixed weight and transmitted first; The weight adjustment policy of the DS traffic queue is as follows: ; The DS queue threshold is , Indicates the maximum queue length of the DS queue. Indicates the current queue length of the DS queue. , Respectively represent the maximum weight and minimum weight of the DS queue, is the threshold coefficient.

4. The MDSCFQ queue scheduling method combined with traffic shaping according to claim 3, It is characterized in that In step S3, the BS traffic queue adjusts its weight according to whether its queue length exceeds the threshold. The BS traffic queue weight adjustment strategy is as follows: ; in, Indicates the current queue length of the BS queue. The maximum and minimum thresholds of the BS queue are , , , Respectively represent the maximum weight and minimum weight of the BS queue, Indicates the maximum queue length of the BS queue. , Represent the maximum and minimum threshold coefficients, k BS Represents the weight coefficient of the BS queue; If the queue length of the current queue Size less than , the weight can meet the minimum demand; if the queue length of the current queue is Size higher than But lower than , it means that the queue has little chance to be served, and there are a large number of packets in the queue. Increase the weight at this time to obtain a larger bandwidth. If the queue length of the current queue is Size higher than This indicates that the queue is too congested and requires a very large weight.

5. The MDSCFQ queue scheduling method combined with traffic shaping according to claim 4, It is characterized in that In step S3, the BE traffic queue adjusts its weight according to whether its queue length exceeds the threshold. The BE traffic queue has a greater tolerance for congestion. The BE traffic queue length threshold Greater than the BS traffic queue length threshold ; The weight adjustment policy of the BE traffic queue is as follows: ; in, , Respectively represent the maximum and minimum weights of the BE queue, Indicates the maximum queue length of the BE queue. represents the threshold coefficient, Indicates the weight coefficient of the BE queue; when the queue length of the BE queue Exceeding the threshold , the weight increases.

6. The MDSCFQ queue scheduling method combined with traffic shaping according to claim 5, It is characterized in that In step S5, the obtained weights of the three traffic queues are normalized, and all weights are scaled in equal proportion so that the sum of the weights of the three traffic queues is 1.

7. An electronic device, It is characterized in that include: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the MDSCFQ queue scheduling method combined with traffic shaping as described in any one of claims 1 to 6.

8. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the program is executed by a processor, the steps in the MDSCFQ queue scheduling method combined with traffic shaping described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Differentiated service-based queue scheduling method

    CN101964758A

  • Queue scheduling algorithm and system

    CN107196874A

  • Five-level queue scheduling device and method for implementing hierarchical QoS (quality of service)

    CN107872403A

  • Hybrid queue scheduling method of space-ground integrated intelligent network

    CN111988242A

  • Time-sensitive network switching architecture based on virtual queue

    CN113821516A