A congestion control method in named data networks

By introducing explicit feedback mechanism and active queue management mechanism into NDN, the problem of insufficient efficiency and adaptability of NDN congestion control method is solved, more accurate congestion status feedback and cache management are achieved, and network performance and resource utilization are improved. .

CN113839880BInactive Publication Date: 2024-09-20BEIJING UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111059129.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-10
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing named data network (NDN) congestion control methods have shortcomings in efficiency and adaptability, especially the reduction in efficiency caused by the differences between TCP/IP architecture and NDN architecture, and the failure to fully utilize the NDN architecture characteristics and cannot effectively solve the problem of network congestion.

Method used

Adopting a congestion control method based on explicit feedback mechanism and active queue management mechanism, by extending the congestion degree attribute and cache control mark attribute in the data packet, it reflects the network congestion status in real time and adjusts the interest packet sending rate, and actively manages the cache queue to avoid caching swell.

Benefits of technology

It achieves more accurate network congestion status feedback and cache management, improves network throughput and resource utilization, solves the problems of low implicit congestion control efficiency and cache expansion, and improves network performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113839880B
    Figure CN113839880B
Patent Text Reader

Abstract

The present invention discloses a congestion control method in a named data network, including: an explicit feedback mechanism, wherein the method is to extend a field in a data packet, record the network congestion status by counting information that can represent the network congestion status during the data packet transmission process, and use the data packet to feed back the congestion information to the receiving end, and the receiving end adjusts the sending rate of the interest packet accordingly. An active queue management mechanism, wherein the method is to calculate the delay of the data packet in the cache queue, and if the queuing time of the data packet exceeds the set target value within a continuous time period, the cache control field of the data packet will be marked until the queuing time of the data packet in the queue is less than the target value. The present invention uses a data packet to feed back congestion information to the receiving end, and uses an active queue management mechanism, wherein the method is to calculate the delay of the data packet in the cache queue, and regulate the cache so that the length of the cached data packet queue is maintained at a reasonable value, thereby solving the problem of cache expansion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a network congestion control method, in particular to a named data network congestion control method based on an explicit feedback mechanism and an active queue management mechanism, and belongs to the technical field of network information transmission and communication. Background Art

[0002] The original design of the traditional TCP / IP network was to achieve communication between two hosts, and its purpose was to share hardware resources such as disks and supercomputers. However, after more than half a century of rapid development, the Internet has undergone tremendous changes in scale and application. The number of users and information in the network has increased dramatically, and people have entered the era of big data. The main application mode of the network has also changed from text communication to information access and distribution. Users have an increasing demand for content, and people are more concerned about how to obtain the content itself rather than the source and location of the content. This trend has strongly promoted the research of next-generation network technology. Since 2006, foreign academic circles have proposed a variety of next-generation network architectures, including Data-Oriented Network Architecture (DONA), Publish-Subscribe Internet Routing Paradigm (PSIRP), and Content-Centric Network (CCN). These projects all adopt the idea of ​​content-centricity, among which Named Data Networking (NDN) is more representative and has gradually become a research hotspot for the study of next-generation network architectures, and is considered to be one of the most classic content-centric networks. As a member of the content and data-oriented network architecture research project, the NDN architecture retains the original hourglass model of the Internet, introduces content blocks at the "waist", replaces the IP layer of the TCP / IP architecture, and uniquely identifies data packets transmitted over the network by naming prefixes, shifting the focus of the network from "where" to "what", adapting to the current trend of increasing demand for content on the Internet, and has great research value and significance for the future development and evolution of the network.

[0003] As a network state of continuous overload, network congestion will reduce the transmission performance of the network, increase the network transmission delay and the number of packet losses, and affect the network user experience. Due to the huge amount of content data and the large number of access devices in the current network, the congestion control capability of the network is particularly important, and NDN is no exception. The design of the network congestion control mechanism will directly affect the throughput, latency, resource utilization and other network performance of the NDN architecture. Although the research on network congestion control mechanism has been relatively complete in traditional networks based on the TCP / IP architecture, if the existing research is simply and crudely transplanted to the NDN architecture, not only will the efficiency of the congestion control mechanism be reduced due to the differences between the TCP / IP architecture and the NDN architecture, but also the characteristics and advantages of the NDN architecture cannot be fully utilized due to the lack of full understanding and application of the characteristics of the NDN architecture. Therefore, conducting corresponding research on NDN congestion control will play a vital role and influence on the future development of the NDN architecture. At present, the research in the field of NDN is still in its infancy, and the existing congestion control methods of named data networks also have various defects. Summary of the invention

[0004] In order to overcome the defects of existing named data network congestion control methods, the present invention provides a named data network congestion control method based on an explicit feedback mechanism and an active queue manager, the contents of which include: an explicit feedback mechanism, the method of which is to extend the field in the data packet, record the network congestion status by collecting information that can show the network congestion status during the data packet transmission process, and use the data packet to feed back the congestion information to the receiving end, and the receiving end adjusts the sending rate of the interest packet accordingly. An active queue management mechanism, the method of which is to calculate the delay of the data packet in the cache queue, if the queuing time of the data packet exceeds the set target value within a continuous time period, the cache control field of the data packet will be marked until the queuing time of the data packet in the queue is less than the target value. The present invention includes the following steps:

[0005] Step 1: Modify the data packet structure in the named data network by adding congestion level attributes, arrival time attributes and cache control tag attributes.

[0006] Step 2: Based on the congestion attribute added in step 1, in order to set the congestion attribute in the data packet, the average queue length of the data packet forwarding interface of the routing node is calculated.

[0007] Step 2 The specific process is as follows:

[0008] Step 2-1: Let the average queue length be avgQ and set the initial queue length to 0.

[0009] Step 2-2: After sampling the packet queue length of the current packet forwarding interface every 200 milliseconds, update the value of avgQ according to the update formula of avgQ. The update formula of avgQ is:

[0010] avgQ = (1 - Wq) * avgQ + Wq * q

[0011] where Wq is the weight factor and q is the actual queue length at the time of sampling.

[0012] Step 3: Based on the average queue length of the forwarding interface calculated in Step 2, when a packet arrives at an intermediate node, update the congestion degree attribute added in Step 1 of the packet, and at the same time modify the arrival time attribute added in Step 1 of the packet.

[0013] The specific process of Step 3 is as follows:

[0014] Step 3-1: When the current packet arrives at a routing node, read the avgQ stored in the routing node and modify the arrival time attribute of the packet to the time when the packet arrives at the routing node.

[0015] Step 3-2: MAXth and MINth are two thresholds related to the packet queue length. Compare avgQ with MAXth and MINth. If avgQ >= MAXth, set the congestion degree attribute value of the packet to 2, indicating that the current network is congested. If MINth < avgQ < MAXth, set the congestion degree attribute value of the packet to 1, indicating that the current network has a moderate load. If MINth <= avgQ, set the congestion degree attribute value of the packet to 0, indicating that the current network is idle. In addition, an important principle for setting the congestion degree attribute is that an NDN routing node cannot set the congestion degree attribute to a value lower than the congestion degree attribute value set by the previous routing node. If the congestion degree attribute value in the packet arriving at the current routing node is "2" (set by the previous routing node), even if the calculation result of the router is "1", it cannot be changed to "1".

[0016] Step 4: Based on the packet arrival time recorded in Step 3, calculate the packet queuing delay when the packet leaves the routing node. The calculation formula is as follows:

[0017] QueueDelay = NowTime - ArrivalTime

[0018] where QueueDelay is the queuing delay, NowTime is the current time, and ArrivalTime is the arrival time of the packet. Then set the cache control flag attribute added in Step 1 according to the calculated queuing time.

[0019] Step 5: Based on the congestion level attribute set in step 3 and the cache control tag attribute set in step 4, the receiver maintains an interest packet sending window, which indicates the number of interest packets allowed to be sent at the current moment. After receiving the data packet, the receiver recalculates the window value according to the congestion level attribute and cache control tag attribute in the received data packet, and all timed-out data packets are not used as calculation elements.

[0020] The specific process of step 5 is as follows:

[0021] Step 5-1: After receiving a new data packet, the receiving end reads the congestion level attribute and cache control tag attribute therein.

[0022] Step 5-2: Based on the cache control tag attribute read in step 5-1, if the cache control tag attribute is True, it indicates that there are too many data packets in the current cache, and the value of cwnd is updated. The update formula is as follows:

[0023] cwnd=cwnd-1

[0024] Then, a judgment is made based on the congestion attribute read in step 5-1. If the congestion attribute is 0, step 5-3 is executed; if the congestion attribute is 1, step 5-4 is executed; if the congestion attribute is 2, step 5-5 is executed.

[0025] Step 5-3: This indicates that the current network is in an idle state. Update the value of cwnd. The update formula is:

[0026] cwnd=cwnd*(1+γ).

[0027] Step 5-4: This indicates that the current network load is moderate. Update the value of cwnd. The update formula is:

[0028] cwnd=cwnd+α.

[0029] Step 5-5: This indicates that the current network is in a congested state. Update the value of cwnd. The update formula is:

[0030] cwnd=cwnd / β.

[0031] Compared with the prior art, the present invention has the following technical advantages:

[0032] (1) In NDN, the implicit congestion control method based on RTO timeout cannot accurately reflect the degree of network congestion, and congestion control can only be performed after the timeout event indicating congestion occurs. This is due to the multi-source characteristics of NDN. For requests from end nodes, the location of the content provider is constantly changing. Therefore, the timeout value as a congestion signal is likely to cause an ineffective response to congestion. In response to this defect, the present invention proposes a congestion control method based on an explicit feedback mechanism. The method is that the receiving end adjusts its interest packet sending rate according to the explicit congestion information fed back by the router. Specifically, the receiving end extends the field in the data packet and records the network congestion status by counting the information that can represent the network congestion status during the data packet sending process. The congestion information is fed back to the receiving end using the data packet, and the receiving end adjusts the sending rate of the interest packet accordingly. This method obtains congestion information through the intermediate routing node and records it in the data packet. After that, it is accumulated hop by hop through the intermediate node, which can reflect the global information of the network. In addition, the feedback of congestion information uses the method of "piggybacking" of the data packet, which does not add too much additional load.

[0033] (2) The cache expansion problem refers to the phenomenon that when the packet sending window is too large, more packets than the link capacity are blocked in the cache, causing increased network delay. This phenomenon has become more serious with the increase in the cache size of routing devices in recent years. Existing NDN congestion control methods have not yet been studied to solve the cache expansion problem. The present invention uses an active queue management mechanism, which calculates the delay of a data packet in a cache queue. If the queuing time of a data packet exceeds a set target value for a continuous period of time, the cache control field of the data packet will be marked until the queuing time of the data packet in the queue is less than the target value, thereby regulating the cache so that the length of the cached data packet queue is maintained at a reasonable value, thereby solving the cache expansion problem. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a schematic diagram of the structure of a named data network data packet before modification in the present invention.

[0035] Figure 2 This is a schematic diagram of the structure of the named data network data packet after modification in the present invention.

[0036] Figure 3 The figure is a flow chart of the process of setting the congestion attribute of a data packet in the present invention.

[0037] Figure 4 The present invention is a flowchart of the process of setting cache control tag attributes. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. The present invention is further described in detail in conjunction with the drawings:

[0039] Step 1: Figure 1 and Figure 2 As shown in the figure, the data packet structure in the named data network is modified to add the congestion degree attribute, arrival time attribute and cache control tag attribute. The congestion degree attribute is used to indicate the congestion state of the current network. This attribute is calculated by the routing node and recorded in the data packet. The arrival time attribute is used to record the time when the data packet arrives at the routing node. The cache control tag attribute is used to trigger the active queue management mechanism. The data packet structure before modification is as follows Figure 1 As shown, the modified data packet structure is as follows Figure 2 shown.

[0040] Step 2: Based on the congestion attribute added in step 1, in order to set the congestion attribute in the data packet, the average queue length of the data packet forwarding interface of the routing node is calculated. The specific process of step 2 is as follows:

[0041] Step 2-1: Let the average queue length be avgQ and set the initial queue length to 0.

[0042] Step 2-2: Every 200 milliseconds, sample the packet queue length of the current packet forwarding interface and update the avgQ value according to the avgQ update formula. The avgQ update formula is:

[0043] avgQ=(1-Wq)*avgQ+Wq*q

[0044] Among them, \(W_q\) is the weight factor and \(q\) is the actual queue length during sampling. When calculating the average queue length \(avgQ\), a method with weights similar to a low-pass filter is adopted. In this way, the temporary increase in the actual queue length caused by the bursty nature of network traffic or short-term congestion will not cause a significant change in the average queue length, thereby "filtering" out short-term queue length changes and reflecting long-term congestion changes as much as possible. In the formula for calculating the average queue length, the weight \(W_q\) is equivalent to the time constant of the low-pass filter, which determines the degree of response of the router to changes in input traffic. Therefore, the selection of \(W_q\) is very important. If \(W_q\) is too large, then \(avgQ\) cannot effectively filter out short-term congestion; if \(W_q\) is too small, then \(avgQ\) will respond too slowly to changes in the actual queue length and cannot reasonably reflect the congestion situation. In this case, the router cannot effectively detect early congestion. The value of \(W_q\) should be preset according to different situations. Generally speaking, it is determined by the size and duration of the bursty traffic allowed by the router.

[0045] Step 3: Based on the average queue length calculated in Step 2, whenever a data packet arrives at an intermediate node, update the congestion degree attribute added to the data packet in Step 1 according to the average queue length of the forwarding interface calculated by the intermediate node, and at the same time modify the arrival time attribute added to the data packet in Step 1.

[0046] The specific process of Step 3 is as Figure 3 shown and includes the following steps:

[0047] Step 3-1: When the current data packet arrives at a routing node, read the \(avgQ\) stored by the routing node.

[0048] Step 3-2: \(MAX_{th}\) and \(MIN_{th}\) are two thresholds related to the data packet queue length. Compare \(avgQ\) with \(MAX_{th}\) and \(MIN_{th}\). If \(avgQ < MIN_{th}\) and the congestion degree attribute value in the current data packet is not greater than 0, execute Step 3-3; if \(MIN_{th} \leq avgQ \leq MAX_{th}\) and the congestion degree attribute value in the current data packet is not greater than 1, execute Step 3-4; if \(avgQ > MAX_{th}\), execute Step 3-5.

[0049] Step 3-3: Set the congestion degree attribute value of the data packet to 0, indicating that the current network is in an idle state.

[0050] Step 3-4: Set the congestion degree attribute value of the data packet to 1, indicating that the current network has a moderate load.

[0051] Step 3-5: Set the congestion degree attribute value of the data packet to 2, indicating that the current network is in a congested state.

[0052] Step 4: Based on the packet arrival time recorded in step 3, when the packet leaves the routing node, calculate the packet queuing delay, the calculation formula is as follows:

[0053] QueueDelay=NowTime-ArrivalTime

[0054] Where QueueDelay is the queue delay, NowTime is the current time, and ArrivalTime is the arrival time of the data packet. Then, the cache control mark is set for the data packet according to the calculated queue delay. The specific process is as follows: Figure 4 As shown, now detailed description:

[0055] Based on the calculated queuing delay, if the queuing delay of the data packet is detected to be greater than the set target value (target), then first determine whether it has entered the alert state. If the start time (StartTime) is equal to 0, it means that it is not currently in the alert state. Set the start time to the current time, that is, the start time of the alert state. If it has entered the alert state, then determine whether the duration of the alert state is greater than the set duration threshold. If it exceeds the threshold, set the cache control flag of the data packet to True, otherwise it is set to False. If the queuing time is less than the target value, then set the cache control flag to False and reset the alert state duration to 0.

[0056] Step 5: Based on the congestion attribute set in step 3 and the cache control mark attribute set in step 4, the receiver maintains an interest packet sending window, which indicates the number of interest packets allowed to be sent at the current moment. After receiving the data packet, the receiver recalculates the window value according to the congestion attribute and cache control mark attribute in the received data packet, and all timed-out data packets are not used as calculation elements.

[0057] The specific process of step 5 is as follows:

[0058] Step 5-1: After receiving a new data packet, the receiving end reads the congestion level attribute and the cache control tag attribute therein.

[0059] Step 5-2: Based on the cache control tag attribute read in step 5-1, if the cache control tag attribute is True, it indicates that there are too many data packets in the current cache, and the value of cwnd is updated. The update formula is as follows:

[0060] cwnd=cwnd-1

[0061] Then, a judgment is made based on the congestion attribute read in step 5-1. If the congestion attribute is 0, step 5-3 is executed; if the congestion attribute is 1, step 5-4 is executed; if the congestion attribute is 2, step 5-5 is executed.

[0062] Step 5-3: This indicates that the current network is in an idle state. Use the MI (multiplicative growth) algorithm to increase the window to reach the maximum network bandwidth as soon as possible to update the value of cwnd. The update formula is as follows, where 0<γ<1: cwnd=cwnd*(1+γ)

[0063] Step 5-4: This indicates that the current network load is moderate. In order to fully utilize network bandwidth resources and accelerate the convergence of the congestion window, the AI ​​algorithm (sum growth) is used to adjust the congestion window. Update the value of cwnd. The update formula is as follows, where α>0: cwnd=cwnd+α

[0064] Step 5-5: This indicates that the current network is in a congested state. The MD (multiplicative reduction) algorithm is used to quickly reduce the interest packet sending rate to effectively avoid congestion. Update the value of cwnd. The update formula is as follows, where 1

Claims

1. A congestion control method in a named data network, characterized in that: It includes the following steps: Step 1: Modify the packet structure in the named data network, and add congestion degree attribute, arrival time attribute and cache control flag attribute to it; Step 2: Based on the congestion degree attribute added in Step 1, in order to set the congestion degree attribute in the packet, calculate the average queue length of the packet forwarding interface at the routing node; Step 3: Based on the average queue length of the forwarding interface calculated in Step 2, when the packet arrives at the intermediate node, update the congestion degree attribute added in Step 1 of the packet, and at the same time modify the arrival time attribute added in Step 1 of the packet; Step 4: Based on the arrival time of the packet recorded in Step 3, when the packet leaves the routing node, calculate the packet queuing delay, and the calculation formula is as follows: QueueDelay=NowTime-ArrivalTime where QueueDelay is the queuing delay, NowTime is the current time, and ArrivalTime is the arrival time of the packet; then set the cache control flag attribute added in Step 1 according to the calculated queuing time; Step 5: Based on the congestion degree attribute set in Step 3 and the cache control flag attribute set in Step 4, the receiver maintains an interest packet sending window, which represents the number of interest packets allowed to be sent at the current moment. After the receiver receives the packet, recalculate the window value according to the congestion degree attribute and the cache control flag attribute in the received packet, and all timed-out packets are not used as calculation elements; The specific process of Step 3 is as follows: Step 3-1: When the current packet arrives at the routing node, read the avgQ stored in the routing node, and modify the arrival time attribute in the packet to the time when the packet arrives at the routing node; Step 3-2: MAXth and MINth are two thresholds related to the packet queue length; compare avgQ with MAXth and MINth. If avgQ >= MAXth, set the congestion degree attribute value of the packet to 2, indicating that the current network is congested. If MINth < avgQ < MAXth, set the congestion degree attribute value of the packet to 1, indicating that the current network load is moderate. If MINth <= avgQ, set the congestion degree attribute value of the packet to 0, indicating that the current network is idle; In addition, an important principle for setting the congestion degree attribute is that an NDN routing node cannot set the congestion degree attribute to a value lower than the congestion degree attribute value set by the previous routing node; If the congestion degree attribute value in the packet arriving at the current routing node is "2", even if the calculation result of this routing node is "1", it cannot be changed to "1"; The specific process of Step 5 is as follows: Step 5-1: After the receiver receives a new packet, read the congestion degree attribute and the cache control flag attribute in it; Step 5-2: Based on the cache control tag attribute read in step 5-1, if the cache control tag attribute is True, it indicates that there are too many data packets in the current cache, and the value of cwnd is updated. The update formula is as follows: cwnd = cwnd-1; Then, based on the congestion attribute read in step 5-1, a judgment is made. If the congestion attribute is 0, step 5-3 is executed. If the congestion attribute is 1, step 5-4 is executed. If the congestion attribute is 2, step 5-5 is executed. Step 5-3: This indicates that the current network is in an idle state. Update the value of cwnd. The update formula is: cwnd = cwnd*(1+γ); Step 5-4: This indicates that the current network load is moderate. Update the value of cwnd. The update formula is: cwnd=cwnd+α; Step 5-5: This indicates that the current network is in a congested state. Update the value of cwnd. The update formula is: cwnd=cwnd / β.

2. The congestion control method in a named data network according to claim 1, characterized in that: Step 2 The specific process is as follows: Step 2-1: Record the average queue length as avgQ and set the initial queue length to 0; Step 2-2: After sampling the packet queue length of the current packet forwarding interface every 200 milliseconds, the value of avgQ is updated according to the update formula of avgQ; the update formula of avgQ is: avgQ=(1-Wq)*avgQ+Wq*q Where Wq is the weight factor, and q is the actual queue length at the time of sampling.