Method for wireless communication, terminal, and storage medium
A method for wireless communication, a terminal, and a storage medium are provided in implementations of the disclosure. The method includes: determining, by a terminal, at least one of an available relay or a suitable cell, when a radio link failure or a handover failure is detected by the terminal; and performing, by the terminal, a radio resource control (RRC) reestablishment or a handover procedure through the at least one of the available relay or the suitable cell to access a first cell, where the first cell includes a cell accessed by the available relay or the suitable cell.
1 . A method for wireless communication, performed by a terminal and comprising:
when a radio link failure is detected by the terminal,
performing a relay discovery procedure to determine an available relay and performing a cell selection procedure to determine a suitable cell;
when the available relay has been found by the terminal, stopping the cell selection procedure; and
performing a radio resource control (RRC) reestablishment through the available relay; and
when both the available relay and the suitable cell have been found simultaneously by the terminal, performing the RRC reestablishment through the available relay or the suitable cell to access a first cell, the first cell comprising a cell accessed by the available relay or the suitable cell.
2 . The method of claim 1 , wherein
the relay discovery procedure comprises: receiving first information, wherein the first information indicates at least one relay providing a relay service; or
the relay discovery procedure comprises: sending a relay request message, and receiving second information in response to the relay request message, wherein the second information indicates at least one relay providing the relay service.
3 . The method of claim 1 , further comprising:
performing a relay detection procedure to determine the available relay, wherein the relay detection procedure comprises: obtaining a signal sent by the at least one relay, and determining whether the signal sent by the at least one relay satisfies a first preset condition.
4 . The method of claim 3 , wherein the signal sent by the at least one relay comprises at least one of: a synchronization signal or a demodulation reference signal.
5 . The method of claim 3 , wherein the first preset condition comprises: a quality of the signal sent by the at least one relay exceeding a preset threshold, when the terminal detects the quality of the signal sent by the at least one relay.
6 . The method of claim 1 , wherein performing the relay discovery procedure to determine the available relay comprises:
performing the relay discovery procedure to determine at least one relay; and
performing a relay detection procedure, and determining a relay satisfying a first preset condition among the at least one relay as the available relay.
7 . The method of claim 6 , wherein when the number of relays satisfying the first preset condition among the at least one relay is greater than or equal to 2, the available relay satisfies one of: the available relay being a random relay among the relays satisfying the first preset condition or the available relay being a relay with the strongest reference signal received power (RSRP) among the relays satisfying the first preset condition.
8 . The method of claim 1 , wherein the cell selection procedure is performed by the terminal if no available relay is found when the relay discovery procedure is performed by the terminal.
9 . The method of claim 3 , wherein the at least one of the relay discovery procedure or the relay detection procedure is performed by the terminal in parallel or simultaneously with the cell selection procedure.
10 . The method of claim 3 , wherein the at least one of the relay discovery procedure or the relay detection procedure is preferentially performed by the terminal.
11 . A terminal, comprising a processor, a memory, a communication interface, and one or more programs stored in the memory, the programs comprising instructions which, when executed by the processor, cause the processor to:
when a radio link failure is detected by the terminal,
perform a relay discovery procedure to determine an available relay and perform a cell selection procedure to determine a suitable cell;
when the available relay has been found by the terminal, stop the cell selection procedure; and
perform a radio resource control (RRC) reestablishment through the available relay; and
when both the available relay and the suitable cell have been found simultaneously by the terminal, perform the RRC reestablishment through the available relay or the suitable cell to access a first cell, the first cell comprising a cell accessed by the available relay or the suitable cell.
12 . A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a terminal, causes the terminal to:
when a radio link failure is detected by the terminal,
perform a relay discovery procedure to determine an available relay and perform a cell selection procedure to determine a suitable cell;
when the available relay has been found by the terminal, stop the cell selection procedure; and
perform a radio resource control (RRC) reestablishment through the available relay; and
when both the available relay and the suitable cell have been found simultaneously by the terminal, perform the RRC reestablishment through the available relay or the suitable cell to access a first cell, the first cell comprising a cell accessed by the available relay or the suitable cell.
13 . The terminal of claim 11 , wherein
the relay discovery procedure comprises: receiving first information, wherein the first information indicates at least one relay providing a relay service; or
the relay discovery procedure comprises: sending a relay request message, and receiving second information in response to the relay request message, wherein the second information indicates at least one relay providing the relay service.
14 . The terminal of claim 11 , wherein the processor configured to perform the relay discovery procedure to determine the available relay is configured to:
perform the relay discovery procedure to determine at least one relay; and
perform a relay detection procedure, and determine a relay satisfying a first preset condition among the at least one relay as the available relay.
15 . The terminal of claim 14 , wherein when the number of relays satisfying the first preset condition among the at least one relay is greater than or equal to 2, the available relay satisfies one of: the available relay being a random relay among the relays satisfying the first preset condition or the available relay being a relay with the strongest reference signal received power (RSRP) among the relays satisfying the first preset condition.
16 . The terminal of claim 11 , wherein the cell selection procedure is performed by the terminal if no available relay is found when the relay discovery procedure is performed by the terminal.
17 . The non-transitory computer-readable storage medium of claim 12 , wherein
the relay discovery procedure comprises: receiving first information, wherein the first information indicates at least one relay providing a relay service; or
the relay discovery procedure comprises: sending a relay request message, and receiving second information in response to the relay request message, wherein the second information indicates at least one relay providing the relay service.
18 . The non-transitory computer-readable storage medium of claim 12 , wherein the computer program executed by the terminal to perform the relay discovery procedure to determine the available relay is executed by the terminal to:
perform the relay discovery procedure to determine at least one relay; and
perform a relay detection procedure, and determine a relay satisfying a first preset condition among the at least one relay as the available relay.
19 . The non-transitory computer-readable storage medium of claim 18 , wherein when the number of relays satisfying the first preset condition among the at least one relay is greater than or equal to 2, the available relay satisfies one of: the available relay being a random relay among the relays satisfying the first preset condition or the available relay being a relay with the strongest reference signal received power (RSRP) among the relays satisfying the first preset condition.
20 . The non-transitory computer-readable storage medium of claim 12 , wherein the cell selection procedure is performed by the terminal if no available relay is found when the relay discovery procedure is performed by the terminal.