Traffic control method and apparatus
Abstract:
Disclosed are a traffic control method and apparatus. According to the method, the number n of pieces of traffic to be divided is determined, n being greater than or equal to 2. All available traffic is divided into n pieces. Each piece of the traffic is the same as each other or differs from each other by one unit. N pieces of traffic are allocated to m equivalent paths so that each of equivalent paths is allocated with n/m or n/m+1 pieces of traffic. In a traffic allocation process, each of equivalent paths records the traffic allocated to itself and an allocation order of the traffic. When it is required to perform traffic switching, allocation is performed according to the allocated traffic and the allocation order thereof which are recorded by each of equivalent paths in a manner of first allocating last allocated traffic to an equivalent path in need, so that the number of pieces of traffic allocated to each of the equivalent paths is finally the same as each other or differs from each other by one piece.
Public/Granted literature
Information query
Patent Agency Ranking
0/0