Patent ID: 7860008

Claim:
A method for receiving data applied to a communication device, comprising: (a) receiving a plurality of packages by a receiver according to a sliding window W(N) having been slid for N times, N is a positive integer, the W(N) corresponds to a plurality of block sequence numbers (BSNs), both the packages and a plurality of counters of the receiver correspond to the BSNs to which the W(N) corresponds; (b) sliding the W(N) to a W(N+1) by the receiver if a starting package of the packages is received successfully; (c) activating the counter corresponding to a non-starting package for counting by the receiver if the non-starting package of the packages is received successfully; (d) sliding the W(N) to the W(N+1) by the receiver if the starting package of the packages is not received successfully and part of the counters counts to an up-limited value; and (e) continuously receiving another plurality of packages by the receiver according to the W(N+1) and determining whether the BSNs to which the counters correspond are located in the overlap area between the W(N) and the W(N+1), wherein when at least one BSN to which at least one counter among the counters 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, and each of the at least one counter corresponding to the at least one BSN not located in the overlap area corresponds to another BSN.