| CPC H04W 74/0841 (2013.01) [H04L 5/1469 (2013.01); H04W 56/001 (2013.01)] | 12 Claims |

|
1. A method for transmitting a random access message, executed by a terminal device and comprising:
determining a valid transmission occasion from transmission occasions of a random access message, wherein the random access message corresponds to at least one of physical random access channel (PRACH) or physical uplink shared channel (PUSCH); and
transmitting the random access message on the valid transmission occasion;
wherein the transmission occasion corresponds to a PRACH transmission occasion and a PUSCH transmission occasion;
wherein the determining a valid transmission occasion from transmission occasions of a random access message comprises:
determining the valid transmission occasion from the transmission occasions of the random access message based on a slot format indicated in first configuration information, or a slot format indicated in second configuration information, wherein
the first configuration information comprises cell-specific time division duplex (TDD) configuration information; and
the second configuration information comprises UE-specific TDD configuration information;
wherein the determining a valid transmission occasion from transmission occasions of a random access message comprises:
when a transmission occasion of the random access message meets the following preset conditions, determining that the transmission occasion is a valid transmission occasion, wherein
the preset conditions comprise:
in one slot, the transmission occasion does not precede an SSB occasion;
a time gap between the transmission occasion and a first preset occasion is greater than or equal to a first preset value, wherein the first preset occasion is a time domain location of a latest downlink symbol before the transmission occasion; and
a time gap between the transmission occasion and a second preset occasion is greater than or equal to a first preset value, wherein the second preset occasion is a latest SSB occasion before the transmission occasion.
|