摘要 |
A system and corresponding method for randomly reordering a plurality or sequence of elements (E). In certain embodiments, ATM cells received by a switching apparatus may be randomly reordered as they proceed through an ATM switching apparatus, so as to enable the cells to be treated in a more fair manner. In one exemplary embodiment, a number or value within a given range(s) is randomly generated for each element E in a sequence or group to be randomly reordered. Each element E is shifted through a number of empty logic units or positions determined by the randomly generated number for that element, until finally being stored in one such unit. If none of the randomly generated number(s) for an element fall within the given range, a reserve number may be used to indicate how many empty logic units the element should be shifted, or a retry flag if set may cause a new set of random numbers to be generated for the element at issue. |