Congestion control method in IP-NDN direction in heterogeneous network based on traffic shaping

By adopting the congestion control method based on traffic shaping and Q-learning in the coexistence network, the congestion problem caused by the mismatch of data transmission rates on edge routers is solved, the data transmission efficiency and user experience are improved, and the packet loss rate and content acquisition are reduced. time delay.

CN118590446APending Publication Date: 2024-09-03LIAONING UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410663426.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the coexistence network architecture, the data transmission rate mismatch between the TCP/IP backbone network and the NDN LAN due to differences in physical transmission media leads to congestion on edge routers, seriously affecting data transmission efficiency and user experience. The existing congestion control algorithm is not effective. To resolve this issue.

Method used

The IP-NDN directional congestion control method based on traffic shaping is adopted, combined with the data priority strategy and the improved Q-learning algorithm, to optimize the data processing capabilities of edge routers, avoid data packet loss, and set the data transmission rate reasonably to ensure network stability.

Benefits of technology

Significantly reduces the packet loss rate of intermediate nodes, improves data transmission efficiency, reduces user content acquisition delay, and improves user experience and network resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590446A
    Figure CN118590446A
Patent Text Reader

Abstract

The invention discloses a traffic shaping-based congestion control method in an IP-NDN direction in a heterogeneous network, and belongs to the field of computer networks. The method is composed of a traffic shaping strategy based on data priority and a congestion control algorithm based on improved Q-learning, the traffic shaping strategy improves the capacity of an edge router for solving the buffer area data accumulation problem, traffic shaping is expanded to an NDN router, and the data containing capacity of the NDN router is improved. According to the congestion control algorithm based on reinforcement learning, the edge router can more accurately sense the buffer area data containing capacity of the NDN side router, and the rate of forwarding data to the node and the NDN router is reasonably set on the premise that congestion of the node and the NDN router is avoided. Compared with the prior art, compared with a congestion control mechanism, the method has the advantages that a contrast experiment of congestion control of ANTP and NDN-QSF combination is carried out on an ndnSIM platform, and compared with the congestion control mechanism, the method has the advantages that the packet loss rate of an intermediate node can be obviously reduced, the CS hit rate of the intermediate node is improved, the retransmission proportion of interest packets of a user and the user content acquisition delay are reduced, and meanwhile, the satisfaction rate of the interest packets of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer networks, and in particular relates to a design of a congestion control mechanism, and specifically relates to a congestion control method in an IP-NDN direction in a heterogeneous network based on traffic shaping. Background Art

[0002] With the development of emerging applications such as instant messaging and short videos, content distribution and dissemination have become the main body of network services. However, compared with the data content itself, TCP / IP pays more attention to the end-to-end transmission of data. This makes the data reuse degree of this network architecture poor and is not suitable for data-intensive applications. The Named Data Networking (NDN) realizes retrieval and transmission by naming data, improves the reuse degree of data and network resource utilization, and realizes efficient dissemination of data content. TCP / IP is currently a widely used network architecture, while NDN, as an emerging network architecture, is still in the development and exploration stage. It is not realistic to use NDN to completely replace TCP / IP in the short term. The coexistence network architecture that connects the TCP / IP backbone network and the NDN local area network with edge routers can ensure that the existing TCP / IP services are not affected, and achieve compatibility and smooth transition in the process of gradually promoting NDN.

[0003] As the core component of the coexistence network architecture, the edge router is responsible for connecting heterogeneous networks and making communication possible for nodes in heterogeneous networks. When a large amount of data is transmitted in the IP-NDN direction, due to the differences in the physical transmission media used by the TCP / IP backbone network and the NDN local area network, the data transmission rates on both sides of the edge router do not match, resulting in data accumulation at the edge router, and in severe cases, a large number of packet losses and congestion.

[0004] Consider the following scenario: the cloud server is in the TCP / IP backbone network, the user is in the NDN LAN, and each LAN has an edge router responsible for communication with the TCP / IP backbone network. When users concurrently request a large amount of data that is only provided by the cloud server, a large amount of data will be sent from the cloud to the edge router. Due to long-term development, the TCP / IP backbone network usually uses other high-bandwidth transmission media such as high-speed optical fiber networks to meet fast and efficient data transmission. Therefore, when a large amount of data is transmitted in the backbone network, it will not cause link congestion. Compared with the TCP / IP backbone network, the NDN LAN has a small coverage area and a low network bandwidth. The edge router cannot forward all the received IP side data to the NDN side, which causes data to accumulate in the buffer of the edge router. If the accumulation situation is not alleviated, when the buffer overflows, a large amount of data will be discarded at the edge router. The congestion problem of the edge router seriously affects the efficient data transmission between NDN and IP nodes in the coexistence network architecture, seriously affects the service experience of users on the NDN side, and reduces the utilization of network resources.

[0005] Currently, there are a large number of congestion control algorithms for both TCP / IP and NDN network architectures, but these congestion control algorithms are only for specific network architectures and do not take into account the congestion problem of edge routers as network hubs in coexisting network architectures. If only congestion control algorithms for TCP / IP or NDN network architectures are deployed without considering the other network architecture in the coexisting network architecture, network congestion will inevitably increase due to the essential differences between TCP / IP and NDN.

[0006] Therefore, to solve the congestion problem, the best way is not to limit the amount of data requested or transmitted, but to improve the ability of intermediate nodes to process or accommodate data to reduce the problem of data packet loss in intermediate nodes. By optimizing the network architecture and improving the processing capacity of intermediate nodes, network congestion problems can be better managed and the user's service quality and experience can be improved. Therefore, the present invention proposes a congestion control mechanism based on traffic shaping for the congestion problem of edge routers in a coexisting network. Summary of the invention

[0007] The study focuses on the flow of a large amount of data in the coexistence network in the IP-NDN direction in the coexistence network architecture. Aiming at the network congestion problem caused by the difference in data transmission rate on both sides of the edge router, the present invention provides a congestion control method in the IP-NDN direction based on traffic shaping. The mechanism consists of a traffic shaping strategy based on data priority and a congestion control algorithm based on improved Q-learning. Under the premise of avoiding congestion of the edge router and the NDN router, the maximum rate of forwarding data to the NDN side is calculated to solve the network congestion problem.

[0008] The present invention is achieved through the following technical solutions:

[0009] A congestion control method for IP-NDN direction based on traffic shaping

[0010] Step 1: After the edge router receives data from the IP side, the core control module determines whether to enable the traffic shaping strategy. If enabled, the data is diverted;

[0011] The core control module of the edge router always monitors the occupancy of its own buffer. After receiving the IP side data, when the occupancy of the buffer is greater than the upper threshold, the data packet priority is calculated and the priority of the first data packet is set as the priority boundary.

[0012] The packet priority of the edge router's traffic shaping strategy is the fairness of the interface to which the packet is going. Let the interface number be q, and the number of interest packet requests received by the edge router from the interface in a time slice is The total amount of data forwarded to this interface is The fairness degree of service provided by the interface is F q for:

[0013]

[0014] F q Satisfy 0≤F q ≤1.F q It indicates the degree to which the request of the interface is satisfied within a time slice. Formula 2 indicates the hunger degree of the interface. Its hunger degree is:

[0015] starvation q =1-F q (Formula 2)

[0016] Assuming that the sequence number of the data packet heading to the interface q is k, the present invention uses the interface's hunger for data packets, that is, the urgency of the demand for data packets, to characterize the priority of the data packets, as shown in Formula 3.

[0017] prior k =starvation q (Formula 3)

[0018] If the priority of the data packet is higher than the priority boundary, the data packet is put into the buffer, otherwise, it is put into the auxiliary content storage. When the buffer occupancy rate is less than the lower threshold, the data packet in the auxiliary content storage is sent to the buffer.

[0019] Step 2: The NDN router feeds back its own information to the edge router at regular intervals.

[0020] The present invention enables the NDN router to interval Send a hello packet to the edge router. The hello packet is mainly used to inform the edge router of the status of the NDN router, including the formation time of the hello packet, the buffer occupancy of the NDN router, and the usage of the auxiliary content storage.

[0021] Step 3: The edge router uses the improved Q-learning-based congestion control algorithm to control the rate at which data is forwarded to it according to the feedback information from the NDN router.

[0022] The present invention makes some improvements to the reinforcement learning algorithm Q-learning, which alleviates the overestimation problem in traditional Q-learning without increasing the computational overhead. The recursive formula for the best decision of Q-learning is modified as follows, increasing the number of consecutive selections of each action Cnum, and the update formula is:

[0023]

[0024] The process of edge routers using Q-learning to set the data forwarding rate to the NDN side can be summarized as follows: the edge router takes the buffer occupancy level obtained by the NDN router as the state, and the edge router calculates the upper bound v of the data to be sent based on this state. ub , different σ values ​​will be selected as strategies, and the rate of forwarding data to the NDN side will be set according to Formula 5.

[0025] v=v ub ×(1+σ) (Formula 5)

[0026] The edge router processes the hello packet information fed back by the NDN router, assuming that at time t now , the edge router receives a hello packet from the downstream router, the information in the packet is the formation time of the hello packet t m 、ACS occupancy Buffer occupancy Assume that the time when the edge router last received a hello packet is t last , the total capacity of the buffer is BS, the total capacity of the auxiliary storage is AS, and the edge router is from t last to now The amount of data sent is DV, and satisfies The calculation formula for DV is as follows:

[0027]

[0028] The present invention assumes that the edge router is lastThe ACS occupancy in the hello packets received at the moment is Edge router from t last to now In the time period, the data processing rate can be approximately calculated as:

[0029]

[0030] If the feedback information This indicates that the downstream router is congested, and the edge router needs to wait for the congestion in the downstream router's buffer to be relieved before the next round of rate detection. In this emptying phase, the edge router's sending rate v drain for:

[0031] v drain =v p ×θ (Formula 8)

[0032] Where θ is a constant. The edge router sends data at this rate until the buffer occupancy of the downstream router is relieved. This indicates that the downstream router is not congested, and the upper bound of the rate at which the edge router sends data to the downstream router is v. ub v p , the actual sending rate v set by the edge router is:

[0033] v=v p ×(1+σ) (Formula 9)

[0034] where σ satisfies σ low ≤σ≤σ high The edge router selects a σ value through the reinforcement learning algorithm and calculates the data transmission rate. After the setting is successful, the edge router sends data packets at this rate until it receives the next hello packet.

[0035] when When , the edge router achieves the maximum benefit. This indicates that the downstream router is congested due to the excessive rate setting. In this case, the edge router should be punished, that is, the benefit R < 0. The NDN router is not congested, and the revenue R is positive. Therefore, the reward function of the edge router is:

[0036]

[0037] Step 4: After the NDN router receives the data from the edge router, the core control module determines whether to enable the traffic shaping strategy. If enabled, the data is diverted.

[0038] The core control module of the NDN router always monitors the occupancy of the buffer. When receiving data from the edge router, if the occupancy of the buffer is higher than the upper threshold, it starts to calculate the data priority and sets the priority of the first data packet arriving as the priority boundary.

[0039] The priority of a data packet in the traffic shaping strategy of the NDN router is the same as the priority of the corresponding interest packet. The priority of the interest packet is calculated based on the number of times the interest packet corresponding to the data packet is requested in a time slice. This priority indicates the popularity of the data packet under the coverage of the NDN router. Let the sequence number of a certain interest packet be k, and the number of interest packets received by the NDN router in a time slice be The total number of requests received from all interest packets is The priority of the data packet corresponding to the interest packet is:

[0040]

[0041] Packets with priorities higher than the priority boundary enter the buffer of the NDN router, and vice versa, enter the auxiliary content storage. When the buffer occupancy rate is lower than the lower threshold, the packets in the auxiliary content storage are transferred back to the buffer.

[0042] Beneficial effects of the present invention: The method of the present invention consists of two parts: a traffic shaping strategy based on data priority and a congestion control algorithm based on improved Q-learning. The traffic shaping strategy improves the ability of the edge router to solve the problem of buffer data accumulation, and at the same time extends traffic shaping to the NDN router to improve the data capacity of the NDN router. The congestion control algorithm based on reinforcement learning enables the edge router to more accurately perceive the buffer data capacity of the NDN side router, and reasonably set the rate of forwarding data to it under the premise of avoiding congestion of the node and the NDN router. The present invention conducts a comparative experiment of the congestion control of the present invention and the combination of ANTP and NDN-QSF on the ndnSIM platform. Compared with the congestion control mechanism, the present invention can significantly reduce the packet loss rate of the intermediate node, improve the CS hit rate of the intermediate node, reduce the retransmission ratio of the user's interest packet and the user content acquisition delay, and improve the user interest packet satisfaction rate. Relevant experimental results prove that the present invention solves the edge router congestion problem caused by the mismatch of transmission rates on both sides in the coexistence network architecture. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 Flow chart of the congestion control method in the IP-NDN direction in heterogeneous networks based on traffic shaping;

[0044] Figure 2 Experimental network topology diagram;

[0045] Figure 3 Result diagram of packet loss rate of intermediate nodes under different congestion control mechanisms;

[0046] Figure 4 Result diagram of CS hit rate of intermediate nodes under different congestion control mechanisms;

[0047] Figure 5 Results of user interest packet retransmission rate under different congestion control mechanisms;

[0048] Figure 6 User content acquisition delay results under different congestion control mechanisms;

[0049] Figure 7 User interest packet satisfaction rate results under different congestion control mechanisms. DETAILED DESCRIPTION

[0050] A congestion control method in an IP-NDN direction in a heterogeneous network based on traffic shaping comprises the following steps:

[0051] Step 1: After the edge router receives data from the IP side, the core control module determines whether to enable the traffic shaping strategy. If enabled, the data is diverted;

[0052] In order to solve the congestion problem caused by the mismatch of data transmission rates on both sides of the edge routers in the coexistence network, the present invention proposes a congestion control method based on traffic shaping. The method consists of two parts: a traffic shaping strategy based on data priority and a congestion control algorithm based on improved Q-learning. Figure 1 As shown in the figure, the traffic shaping strategy improves the ability of edge routers and NDN routers to solve the problem of buffer data accumulation. The congestion control algorithm based on reinforcement learning enables the edge router to more accurately perceive the buffer data accommodation capacity of the NDN side router, and reasonably set the rate of sending data to it while avoiding congestion in the local node and NDN router.

[0053] The core control module of the edge router always monitors the occupancy of the buffer. After the edge router receives the data from the IP side, if the occupancy of the buffer is less than the upper threshold, the edge router is in a non-congested state, and the priority calculation module is in a sleep state, which is equivalent to a normal data bus. The NDN data packet directly passes through the priority calculation module and enters the buffer, waiting to be forwarded.

[0054] If the occupancy rate of the buffer is greater than the upper threshold, the core control module wakes up the priority calculation module, and the priority calculation module calculates the priority of the latest received data packet and uses it as the priority boundary. The fairness of the services provided by the edge router to its various interfaces directly affects the satisfaction of the data requests of users in the NDN network within its coverage area. Therefore, in view of this feature of the edge router, the present invention sets the priority of the data packet in the edge router traffic shaping to the fairness of the interface to which it is going. Let the interface number be q, and the number of interest packet requests received by the edge router from the interface in a time slice is The total amount of data forwarded to this interface is The fairness degree of service provided by the interface is F q for:

[0055]

[0056] Because in the NDN network architecture, the phenomenon of the aggregation of the pending interest table PIT (PIT) of the intermediate nodes makes holds true (considering only the single interest packet and single data packet transmission mode), that is, F q Satisfy 0≤F q ≤1.F q It indicates the degree to which the request of the interface is satisfied within a time slice. Formula 2 indicates the hunger degree of the interface. Its hunger degree is:

[0057] starvation q =1-F q (Formula 2)

[0058] Assuming that the sequence number of the data packet to interface q is k, the present invention uses the interface's hunger for data packets to characterize the priority of the data packet, as shown in Formula 3. The higher the priority, the more urgent the user is to get the data packet, and vice versa.

[0059] prior k =starvation q (Formula 3)

[0060] After that, the module calculates the priority of each data packet flowing through here. If the priority is higher than the priority boundary, the data packet is put into the buffer, otherwise, it is put into the ACS. When the buffer occupancy rate is less than the lower threshold, the data packet in the ACS is sent to the buffer.

[0061] Step 2: The NDN router feeds back its own information to the edge router at regular intervals.

[0062] NDN routers run at a fixed time interval tinterval Send a hello packet to the edge router. The hello packet includes the time when the hello packet was formed, the buffer occupancy of the NDN router, and the use of auxiliary storage. The edge router uses the occupancy of the NDN router's buffer as a congestion signal. Since hello packets are sent at fixed time intervals, the NDN router may not be able to form a hello packet at the moment of congestion, so C max As the critical value of congestion occurrence. The edge router knows the C of the NDN router connected to each interface max When the edge router perceives that the NDN router buffer capacity is greater than C max , it means that the NDN router is congested.

[0063] Step 3: The edge router uses the improved Q-learning-based congestion control algorithm to control the rate at which data is forwarded to it based on the feedback information from the NDN router.

[0064] In order to make the edge router alleviate the degree of congestion of the node as much as possible when the data transmission rates on both sides do not match, and avoid congestion of the NDN router when sending data to the NDN side, the present invention uses a reinforcement learning method based on improved Q-learning at the edge router to sense the state of the NDN router after traffic shaping, and sets the maximum rate at which data can be sent to it without causing congestion in the NDN router. In a coexistence network, Q-learning is used to estimate the data transmission rate. The overestimation problem of Q-learning may cause problems for network congestion control. Therefore, in order to apply Q-learning to the edge router in the scenario proposed by the present invention, the present invention makes some improvements to the reinforcement learning algorithm Q-learning to alleviate the overestimation problem in traditional Q-learning without increasing the computational overhead.

[0065] The present invention makes the following modifications to the recursive formula of the Q-learning optimal decision, increases the number of consecutive selections of each action Cnum, and updates the formula to:

[0066]

[0067] This design makes the Q value of a certain action selected continuously decrease as the number of consecutive selections increases. This allows the Q table to be updated in other directions by randomly selected actions. This alleviates the overestimation problem of Q-learning to a certain extent without increasing the computational overhead.

[0068] The process of edge routers using Q-learning to set the data forwarding rate to the NDN side can be summarized as follows: the edge router takes the buffer occupancy level obtained by the NDN router as the state, and the edge router calculates the upper bound v of the data to be sent based on this state. ub , different α values ​​will be selected as strategies, and the rate of forwarding data to the NDN side will be set according to Formula 5.

[0069] v=v ub ×(1+σ) (Formula 5)

[0070] The specific calculation process is as follows: Assume that at time t now , the edge router receives a hello packet from the downstream router, the information in the packet is the formation time of the hello packet t m 、ACS occupancy Buffer occupancy Assume that the time when the edge router last received a hello packet is t last , the total capacity of the buffer is BS, the total capacity of the auxiliary storage is AS, and the edge router is from t last to now The amount of data sent is DV, and satisfies The calculation formula for DV is as follows:

[0071]

[0072] The present invention assumes that the edge router is last The ACS occupancy in the hello packets received at the moment is Edge router from t last to now In the time period, the data processing rate can be approximately calculated as:

[0073]

[0074] If the feedback information This indicates that the downstream router is congested, and the edge router needs to wait for the congestion in the downstream router's buffer to be relieved before the next round of rate detection. In this emptying phase, the edge router's sending rate v drain for:

[0075] v drain =v p ×θ (Formula 8)

[0076] Where θ is a constant. The edge router sends data at this rate until the buffer occupancy of the downstream router is relieved. This indicates that the downstream router is not congested, and the upper bound of the rate at which the edge router sends data to the downstream router is v ub v p , the actual sending rate v set by the edge router is:

[0077] v=v p ×(1+σ) (Formula 9)

[0078] where σ satisfies σ low ≤σ≤σ high The edge router selects a σ value through the reinforcement learning algorithm and calculates the data transmission rate. After the setting is successful, the edge router sends data packets at this rate until it receives the next hello packet.

[0079] In order to avoid data loss at the edge router due to the mismatch between the upstream data rate and the downstream data rate, the edge router tries to select the maximum rate that does not cause congestion in the downstream router each time it sends data, and forwards the data from the node to the next node as much as possible. In other words, the edge router sets the sending rate once so that the buffer occupancy of the downstream router is C. bu Close to the critical value C of congestion max , but not higher than this value. Assume that the edge router receives the hello packet generated at time t and evaluates the decision behavior in the previous round based on the information in it. When , the edge router achieves the maximum benefit. This indicates that the downstream router is congested due to the excessive rate setting. In this case, the edge router should be punished, that is, the benefit R < 0. The NDN router is not congested, and the revenue R is positive. Therefore, the reward function of the edge router should be:

[0080]

[0081] In the present invention, in the Q-table of the edge router, the status is There are many different values ​​of σ for each state, indicating different behaviors. The edge router selects σ with the maximum Q value, so that the edge router always moves in the direction that maximizes the next benefit during the reinforcement learning process.

[0082] Step 4 After the NDN router receives the data from the edge router, the core control module determines whether to enable the traffic shaping strategy. If enabled, the data is diverted.

[0083] In order to enable ordinary NDN routers to better assist edge routers in removing data from the buffer as quickly as possible, the present invention extends the traffic shaping strategy based on data priority to the NDN router. The traffic shaping process of ordinary NDN routers is similar to that of edge routers, and also includes a core control module and a priority judgment module, but does not include a data conversion module. That is to say, when the core module does not monitor that the buffer occupancy rate is lower than the specified threshold, the data packet enters the buffer of the ordinary NDN router through the priority calculation module. When the buffer occupancy rate is higher than the upper threshold, the core control module wakes up the data priority calculation module. The priority calculation module uses the priority of the latest data packet arriving at the buffer as the priority boundary.

[0084] Similar to edge routers, a part of the CS of NDN routers is separated and also called auxiliary storage ACS. Compared with edge routers, ordinary NDN routers cover a smaller range of users, have lower importance and responsibilities, and have more limited resources. Therefore, in order to reduce the computational overhead of ordinary NDN routers and improve the utilization of CS, in the traffic shaping strategy of NDN routers, the priority of data packets is evaluated according to the number of times the data packets are requested. When the buffer occupancy of the NDN router reaches the specified threshold, the NDN router performs traffic shaping on the NDN data packet according to the priority of the data packet and the buffer priority boundary. The priority of the data packet is the same as the priority of the interest packet corresponding to it. The priority of the interest packet is calculated based on the number of times the interest packet corresponding to the data packet is requested within a time slice. This priority indicates the popularity of the data packet under the coverage of the NDN router. Let the sequence number of a certain interest packet be k, and the number of interest packets received by the NDN router in a time slice be The total number of requests received from all interest packets is The priority of the data packet corresponding to the interest packet is:

[0085]

[0086] After that, the data packets go through the priority judgment module and flow to the buffer or ACS. When the buffer occupancy rate is lower than the lower threshold, the data packets in the ACS are transferred back to the buffer.

[0087] Embodiment 1:

[0088] In order to test the performance of the method of the present invention, the present invention uses a combination of the NDN-QSF congestion control algorithm and the traffic shaping strategy ANTP, which is referred to as NACCM, and the default congestion control mechanism, using Figure 2The topology shown is compared with the congestion control mechanism INTSCCM proposed in this paper. The relevant data of five aspects are statistically analyzed: the average packet loss rate of intermediate nodes, the average CS hit rate of intermediate nodes, the average content acquisition delay of users, the retransmission ratio of user interest packets, and the satisfaction rate of user interest packets.

[0089] exist Figure 3 In the figure, the deployment of the INTSCCM congestion control mechanism makes the packet loss rate at the NDN router and edge router at a lower level among the three. The packet loss rate of the edge router is higher than that of the NDN router because most of the data packets are lost at the edge router, and the number of data packets going to the NDN router is reduced.

[0090] Since the traffic shaping strategy based on data priority uses part of the intermediate nodes as ACS to divert the data on the IP side, in the traffic shaping comparison experiment, ACS did not reduce the CS hit rate. Figure 4 It shows that the congestion control mechanism combining traffic shaping strategy with congestion control algorithm will not reduce the CS hit rate.

[0091] Depend on Figure 5 and Figure 6 It can be seen that the deployment of the INTSCCM congestion control mechanism reduces the retransmission ratio of user interest packets and reduces the average content acquisition delay of users. Moreover, compared with the deployment of the congestion control algorithm of the present invention alone, INTSCCM further reduces the retransmission ratio of user interest packets and the average interest packet acquisition delay of users. Figure 7 It shows that compared with the deployment of the traffic shaping strategy algorithm of the present invention alone, INTSCCM further reduces the satisfaction rate of the average user interest packet.

[0092] Experimental results show that INTSCCM can improve the user's interest packet satisfaction rate, reduce the user's content acquisition delay and the packet loss rate of intermediate nodes, which shows that the adoption of INTSCCM is reasonable and effective. It solves the congestion problem in the architecture of the NDN and IP coexistence network. When a large amount of data flows from IP to NDN, the edge router is congested due to the mismatch between the data rate received on the IP side and the data rate sent to the NDN side.

Claims

1. A congestion control method in the IP-NDN direction in a heterogeneous network based on traffic shaping, involving information exchange between an edge router and an NDN router, characterized in that: Here are the steps: 1) After the edge router receives data from the IP side, the core control module determines whether to enable the traffic shaping strategy. If enabled, the data is diverted; 2) NDN routers feed back their own information to edge routers at fixed time intervals; 3) The edge router uses the improved Q-learning-based congestion control algorithm to control the rate at which data is forwarded to it according to the feedback information from the NDN router; 4) After the NDN router receives data from the edge router, the core control module determines whether to enable the traffic shaping strategy. If enabled, the data will be diverted.

2. According to claim 1, a congestion control method in the IP-NDN direction in a heterogeneous network based on traffic shaping is characterized in that: In the above 1), the specific method is: The core control module of the edge router always monitors the occupancy of its own buffer: after receiving IP-side data, when the occupancy of the buffer is greater than the upper threshold, it calculates the priority of the data packet and sets the priority of the first data packet as the priority boundary; The packet priority of the edge router’s traffic shaping policy is the fairness of the interface to which the packet is going; Assume that the interface number is q, and the number of interest packet requests received by the edge router from this interface in a time slice is The total amount of data forwarded to this interface is Then the fairness degree of service of this interface is F q for: F q Satisfy 0≤F q ≤1; F q It indicates the degree to which the request of the interface is satisfied within a time slice. Formula 2 indicates the hunger degree of the interface. Its hunger degree is: Starvation q = 1-F q (Formula 2) Assuming that the sequence number of the data packet heading to interface q is k, the present invention uses the degree of hunger of the interface for data packets, that is, the urgency of the demand for data packets, to characterize the priority of the data packets, as shown in Formula 3; prior k = starvation q (Formula 3) If the packet priority is higher than the priority boundary, the packet is put into the buffer, otherwise, it is put into the auxiliary content storage (ACS); When the buffer occupancy rate is less than the lower threshold, the data packets in the auxiliary content storage are sent to the buffer.

3. According to claim 1, a congestion control method for IP-NDN direction in a heterogeneous network based on traffic shaping, characterized in that: In the above 2), the specific method is: NDN routers run at a fixed time interval t interval Send a hello packet to the edge router; the hello packet is mainly used to inform the edge router of the status of the NDN router, including the formation time of the hello packet, the buffer occupancy of the NDN router, and the usage of auxiliary content storage.

4. According to claim 3, a congestion control method in the IP-NDN direction in a heterogeneous network based on traffic shaping is characterized in that: In the above 3), the specific method is: The following modifications are made to the recursive formula for the best decision of Q-learning, increasing the number of consecutive selections of each action Cnum, and the update formula is: The process of edge routers using improved Q-learning to set the data forwarding rate to the NDN side can be summarized as follows: the edge router takes the buffer occupancy level obtained by the NDN router as the state, and the edge router calculates the upper bound v of the data to be sent based on this state. ub , different σ values ​​will be selected as strategies, and the rate of forwarding data to the NDN side will be set according to Formula 5; v=v ub ×(1+σ) (Formula 5) The edge router processes the hello packet information fed back by the NDN router, assuming that at time t now , the edge router receives a hello packet from the downstream router, the information in the packet is the formation time of the hello packet t m 、ACS occupancy Buffer occupancy Assume that the time when the edge router last received a hello packet is t last , the total capacity of the buffer is BS, the total capacity of the auxiliary storage is AS, and the edge router is from t last to now The amount of data sent is DV, and satisfies The calculation formula for DV is as follows: DV=v tnow ×(t now -t m +t interval ) (Formula 6) Assume that the edge router is at t last The ACS occupancy in the hello packets received at the moment is Edge router from t last to now In the time period, the data processing rate can be approximately calculated as: If the feedback information This indicates that the downstream router is congested, and the edge router needs to wait for the congestion in the downstream router's buffer to be relieved before the next round of rate detection; in this emptying phase, the edge router's sending rate v drain for: v drain = v p ×θ (Formula 8) Where θ is a constant; the edge router sends data at this rate until the buffer occupancy of the downstream router is alleviated; and if the feedback information This indicates that the downstream router is not congested, and the upper bound of the rate at which the edge router sends data to the downstream router is v. ub v p , the actual sending rate v set by the edge router is: v=v p ×(1+σ) (Formula 9) where σ satisfies σ low ≤σ≤σ high ; The edge router selects a σ value through the reinforcement learning algorithm and calculates the data transmission rate; after the setting is successful, the edge router sends data packets at this rate until the next hello packet is received; when When , the edge router achieves the maximum benefit; if This indicates that the downstream router is congested due to the excessive rate setting. At this time, the edge router should be punished, that is, the benefit R<0; if The NDN router is not congested, and the revenue R is positive. Therefore, the reward function of the edge router is:

5. A congestion control method in the IP-NDN direction in a heterogeneous network based on traffic shaping according to claim 1 or 4, characterized in that: In the above 4), the specific method is: The core control module of the NDN router always monitors the occupancy of the buffer: after receiving data from the edge router, if the occupancy of the buffer is higher than the upper threshold, it starts to calculate the data priority and sets the priority of the first data packet arriving as the priority boundary; The priority of the data packet in the traffic shaping strategy of the NDN router is the same as the priority of the corresponding interest packet: the priority of the interest packet is calculated based on the number of times the interest packet corresponding to the data packet is requested in a time slice. This priority indicates the popularity of the data packet under the coverage of the NDN router; let the sequence number of a certain interest packet be k, and the number of interest packets received by the NDN router in a time slice be The total number of requests received from all interest packets is The priority of the data packet corresponding to the interest packet is: Data packets with priorities higher than the priority boundary enter the buffer of the NDN router, and vice versa, they enter the auxiliary content storage; when the buffer occupancy rate is lower than the lower threshold, the data packets in the auxiliary content storage are transferred back to the buffer.