Patent attributes
A method for receiving data is provided. Multiple packages are received according to a sliding window W(N). If a starting package of the packages is received successfully, the W(N) is slid to a W(N+1). If a non-starting package of the packages is received successfully, the corresponding counter is activated for counting. If the starting package of the packages is not successfully received and part of multiple counters counts to an up-limited value, the W(N) slides to the W(N+1). Other packages are continuously received according to the W(N+1), and whether the block sequence numbers (BSNs) of the counters located in the overlap area between the W(N) and the W(N+1) are determined. When at least one BSN to which at least one counter corresponds is not located in the overlap area, the at least one counter corresponding to the at least one BSN not located in the overlap area is reset.