CPC H04W 24/08 (2013.01) [H04L 1/1848 (2013.01); H04L 1/201 (2013.01); H04W 74/0833 (2013.01); H04W 76/18 (2018.02)] | 8 Claims |
1. A method for counting, applied to a terminal device, comprising:
maintaining, at an RRC layer or a MAC layer, a global counter, wherein the global counter is used to record how many times first indication information is received by the RRC layer or the MAC layer; and
determining to increase a count value of the global counter based on received first indication information,
wherein the first indication information received by the RRC layer or the MAC layer indicates one of the following uplink transmission failure kinds: LBT failure, SR transmission failure, preamble sequence transmission failure, or uplink data transmission failure, no matter of which kind of uplink transmission failure is indicated by the first indication information received by the RRC layer or the MAC layer, the count value of the global counter is increased;
wherein a configured global timer corresponding to the global counter is obtained,
wherein after the configured global timer corresponding to the global counter is obtained, when the first indication information is received, the global timer is started or restarted, and
wherein the method further comprises when the global counter reaches a preset threshold, triggering, by a Radio Resource Control (RRC) layer, RRC connection reestablishment.
|