摘要:
A method for controlling network traffic based on a token ring includes: acquiring, by a node that obtains a token, network congestion situation information carried in the token, where the network congestion situation information includes the total number of to-be-retransmitted messages requested by nodes in a current token passing period; comparing, by the node that obtains the token, the total number of to-be-retransmitted messages requested by the nodes in the current token passing period with a congestion threshold; determining, by the node that obtains the token and according to a comparison result, the number of messages that can be transmitted; and transmitting, by the node that obtains the token, messages according to the number of messages that can be transmitted. Embodiments of the present invention further provide a token ring node and a system for controlling network traffic based a token ring. Because the total number of to-be-retransmitted messages requested by nodes in a current token passing period is added into a token to reflect a network congestion situation, a node is capable of reducing the number of messages to be transmitted when a network is severely congested, thereby reducing network load and improving cluster availability.
摘要:
The present application discloses a method, performed by an access apparatus, for connecting a user device to a network, which may implement access to a network by using a radio link and a fixed broadband network link without establishing a GRE tunnel. The access apparatus may obtain a first IP address from a fixed broadband network, where the first IP address corresponds to a fixed broadband network link. The access apparatus may obtain a second IP address from a mobile broadband network, where the second IP address corresponds to a radio link. The method includes: receiving, by the access apparatus, a first packet from a user device, where a source IP address of the first packet is an IP address of the user device; obtaining, by the access apparatus, a translated IP address according to a service type of the first packet, where the translated IP address is the first IP address or the second IP address; and obtaining, by the access apparatus, a second packet by replacing the source IP address of the first packet with the translated IP address, and sending the second packet to a link corresponding to the translated IP address.
摘要:
The present application discloses a method, performed by an access apparatus, for connecting a user device to a network, which may implement access to a network by using a radio link and a fixed broadband network link without establishing a GRE tunnel. The access apparatus may obtain a first IP address from a fixed broadband network, where the first IP address corresponds to a fixed broadband network link. The access apparatus may obtain a second IP address from a mobile broadband network, where the second IP address corresponds to a radio link. The method includes: receiving, by the access apparatus, a first packet from a user device, where a source IP address of the first packet is an IP address of the user device; obtaining, by the access apparatus, a translated IP address according to a service type of the first packet, where the translated IP address is the first IP address or the second IP address; and obtaining, by the access apparatus, a second packet by replacing the source IP address of the first packet with the translated IP address, and sending the second packet to a link corresponding to the translated IP address.
摘要:
Embodiments of the present invention disclose a bandwidth control method and a bandwidth control device to reduce impact of mobile terminal access on user experience of a fixed terminal. The method includes: obtaining, by a bandwidth control device, an access request of a mobile terminal, where the access request is used to indicate that the mobile terminal requests to access the Internet by using a home gateway of a fixed terminal; obtaining, by the bandwidth control device, a first bandwidth of the fixed terminal, where the first bandwidth is a subscribed bandwidth of the fixed terminal; and adjusting, by the bandwidth control device, a bandwidth allocated to the fixed terminal to a second bandwidth, where the second bandwidth is greater than the first bandwidth. In the embodiments of the present invention, the impact of mobile terminal access on user experience of the fixed terminal can be reduced.
摘要:
Embodiments of the present invention disclose a bandwidth control method and a bandwidth control device to reduce impact of mobile terminal access on user experience of a fixed terminal. The method includes: obtaining, by a bandwidth control device, an access request of a mobile terminal, where the access request is used to indicate that the mobile terminal requests to access the Internet by using a home gateway of a fixed terminal; obtaining, by the bandwidth control device, a first bandwidth of the fixed terminal, where the first bandwidth is a subscribed bandwidth of the fixed terminal; and adjusting, by the bandwidth control device, a bandwidth allocated to the fixed terminal to a second bandwidth, where the second bandwidth is greater than the first bandwidth. In the embodiments of the present invention, the impact of mobile terminal access on user experience of the fixed terminal can be reduced.