Embodiments relate to the field of communication technologies, and in particular, to a random access preamble sending method and a communication apparatus.
Random access (RA) of a terminal device may also be referred to as a random access channel (RACH). In systems such as long term evolution (LTE) and new radio (NR), a terminal device needs to enter an RRC connected mode from a radio resource control (RRC) idle mode or inactive mode by using a random access process, to set up various bearers with a network device and further communicate with the network device. Existing random access is classified into four-step random access and two-step random access. Different from the four-step random access in which a terminal device needs to send a random access preamble and uplink data to a network device by using different steps, in the two-step random access, a terminal device simultaneously sends a random access preamble and uplink data to a network device by using a same step, to reduce a latency and signaling overheads.
However, in the two-step random access, if a physical random access channel (PRACH) time-frequency resource used to carry the random access preamble and a physical uplink shared channel (PUSCH) time-frequency resource used to carry the uplink data are configured in a same slot and overlap in frequency domain, a problem may occur, where the problem is that a conflict exists between a PRACH time-frequency resource occupied by a terminal device for sending a random access preamble and a PUSCH time-frequency resource occupied by another terminal device for sending uplink data, and consequently the network device cannot normally receive the random access preamble and the uplink data.
Embodiments provide a random access preamble sending method and a communication apparatus, to resolve a problem that a conflict exists between a PRACH time-frequency resource occupied by a terminal device for sending a random access preamble and a PUSCH time-frequency resource occupied by another terminal device for sending uplink data, and consequently a network device cannot normally receive the random access preamble and the uplink data.
According to a first aspect, an embodiment provides a random access preamble sending method, including: a terminal device receives configuration information sent by a network device, where the configuration information includes configuration information of a PRACH time-frequency resource set and configuration information of a PUSCH time-frequency resource set. The terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not conflict with the PUSCH time-frequency resource set. The terminal device sends a random access preamble on the determined PRACH time-frequency resource. In this embodiment, the terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not conflict with the PUSCH time-frequency resource set, to send the random access preamble. This avoids a problem that a conflict exists between a PRACH time-frequency resource occupied by a terminal device for sending a random access preamble and a PUSCH time-frequency resource occupied by another terminal device for sending uplink data, and ensures that the network device normally receives the random access preamble and the uplink data.
In a possible implementation, the terminal device uses one of the following manners to determine, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not conflict with the PUSCH time-frequency resource set: the terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in time domain; or the terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in frequency domain. In the foregoing implementation, the PRACH time-frequency resource that is determined in the PRACH time-frequency resource set and that is used to send the random access preamble does not overlap the PUSCH time-frequency resource set in time domain or frequency domain. This avoids a conflict caused by overlapping, in time domain and frequency domain, between a PRACH time-frequency resource occupied by a terminal device for sending a random access preamble and a PUSCH time-frequency resource occupied by another terminal device for sending uplink data.
In a possible implementation, that the terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in time domain includes: The terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than a first threshold from the PUSCH time-frequency resource set in time domain; and/or that the terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in frequency domain includes: The terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than a second threshold from the PUSCH time-frequency resource set in time domain and that does not overlap the PUSCH time-frequency resource set in frequency domain. In the foregoing implementation, the PRACH time-frequency resource that is determined in the PRACH time-frequency resource set and that is used to send the random access preamble has the interval greater than the first threshold from the PUSCH time-frequency resource set in time domain, or has the interval greater than the second threshold from the PUSCH time-frequency resource set in time domain and overlaps the PUSCH time-frequency resource set in frequency domain. This avoids the conflict that is between a PRACH time-frequency resource occupied for sending a random access preamble and a PUSCH time-frequency resource occupied for sending uplink data and that is caused by an excessively small interval, in time domain, between the PRACH time-frequency resource and the PUSCH time-frequency resource.
In a possible implementation, before that the terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than a first threshold from the PUSCH time-frequency resource set in time domain; or that the terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than a second threshold from the PUSCH time-frequency resource set in time domain and that does not overlap the PUSCH time-frequency resource set in frequency domain, the method further includes: the terminal device determines that a subcarrier spacing of the PRACH time-frequency resource set is different from a subcarrier spacing of the PUSCH time-frequency resource set. In the foregoing implementation, when the subcarrier spacing of the PRACH time-frequency resource set and the subcarrier spacing of the PUSCH time-frequency resource set are the same or different, different conditions are used to select, from the PRACH time-frequency resource set, the PRACH time-frequency resource for sending a random access preamble, so that the selection of the PRACH time-frequency resource for sending the random access preamble may be implemented under the different conditions. This avoids the conflict between a PRACH time-frequency resource occupied by a terminal device for sending a random access preamble and a PUSCH time-frequency resource occupied by another terminal device for sending uplink data.
According to a second aspect, an embodiment provides a random access preamble sending method, including: a terminal device receives configuration information sent by a network device, where the configuration information includes configuration information of a PRACH time-frequency resource set. The terminal device receives indication information sent by the network device, where the indication information is used to indicate one or more valid PRACH time-frequency resources in the PRACH time-frequency resource set. The terminal device sends a random access preamble on one of the valid PRACH time-frequency resources. In this application, the terminal device sends the random access preamble on one of the valid PRACH time-frequency resources in the PRACH time-frequency resource set indicated by the network device. This avoids a conflict between the PRACH time-frequency resource occupied by the terminal device for sending the random access preamble and another service of the network device.
In a possible implementation, the indication information includes a first bitmap, an index number, or a parameter N, where the first bitmap is used to indicate time-domain distribution of one or more valid PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set; the parameter N is used to indicate that in one or more PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set, first N or last N PRACH time-frequency resources in time domain are valid or invalid; and the index number is used to indicate an entry in a PRACH time-frequency resource table, and any entry in the PRACH time-frequency resource table is used to define a PRACH time-frequency resource that is valid in time domain and that is in one or more PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set. In the foregoing implementation, implementation of the indication information is enriched, so that indication information including corresponding information is selected based on a communication system and a communication condition, to indicate the valid PRACH time-frequency resources in the PRACH time-frequency resource set.
In a possible implementation, the indication information includes a second bitmap or a parameter K, where the second bitmap is used to indicate time-domain distribution of one or more valid PRACH slots occupied by one or more PRACH time-frequency resources in a same radio frame in the PRACH time-frequency resource set; and the parameter K is used to indicate that in one or more PRACH slots occupied by one or more PRACH time-frequency resources in a same radio frame in the PRACH time-frequency resource set, first K or last K PRACH slots in time domain are valid or invalid. In the foregoing implementation, the implementation of the indication information is enriched, so that the indication information including the corresponding information is selected based on the communication system and the communication condition, to indicate the valid PRACH time-frequency resources in the PRACH time-frequency resource set.
According to a third aspect, an embodiment provides a communication apparatus. The apparatus has a function of implementing the method in any one of the first aspect or the possible implementations of the first aspect or performing the method in any one of the second aspect or the possible implementations of the second aspect. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or the software includes one or more modules corresponding to the foregoing function.
In a possible implementation, the apparatus may be a chip or an integrated circuit.
In a possible implementation, the apparatus includes a memory and a processor. The memory is configured to store a program executed by the processor. When the program is executed by the processor, the apparatus may perform the method according to any one of the first aspect or the possible implementations of the first aspect or perform the method according to any one of the second aspect or the possible implementations of the second aspect.
In a possible implementation, the apparatus may be a terminal device.
According to a fourth aspect, an embodiment provides a computer-readable storage medium, where the storage medium stores computer instructions, and when the computer instructions are executed by a terminal device, the terminal device is enabled to perform the method in any one of the first aspect or the possible implementations of the first aspect, or perform the method in any one of the second aspect or the possible implementations of the second aspect.
According to a fifth aspect, an embodiment provides a computer program product including instructions. When the computer program product runs on a terminal device, the terminal device is enabled to perform the method in any one of the first aspect or the possible implementations of the first aspect or perform the method in any one of the second aspect or the possible implementations of the second aspect.
The following describes in detail the embodiments with reference to the accompanying drawings.
Solutions in the embodiments may be used in various communication systems such as a 5G system, an NR system, an LTE system, and a long term evolution-advanced (LTE-A) system, and may further be used in a wireless fidelity (Wi-Fi) system, a worldwide interoperability for microwave access (wimax) system, a related cellular system such as a 3GPP system, and a future communication system such as a 6G system. For example, an architecture of a communication system used in the embodiments may be shown in
In addition, it should be understood that the term “for example” in the embodiments is used to represent giving an example, an illustration, or a description. Any embodiment or design scheme described as an “example” in the embodiments should not be explained as being more preferred or having more advantages than another embodiment or design scheme. In other words, “for example” is used to present a concept in a specific manner.
The terms “include/comprise” and “have” in the embodiments, claims, and accompanying drawings are not exclusive. For example, a process, a method, a system, a product, or a device that includes a series of steps or modules is not limited to the enumerated steps or modules, and may further include a step or module that is not enumerated. The terms “system” and “network” may be used interchangeably in the embodiments. The term “and/or” in the embodiments describes only an association relationship for describing associated objects and represents that three relationships may exist. For example, A and/or B may represent three cases: there is only A, there are both A and B, and there is only B. In addition, the character “/” in the embodiments usually indicates an “or” relationship between the associated objects. It should be understood that in the embodiments, “B corresponding to A” indicates that B is associated with A, and B may be determined according to A. However, it should further be understood that determining B according to A does not mean that B is determined according to A only, that is, B may also be determined according to A and/or other information. In addition, unless otherwise stated, in the embodiments, ordinal numbers such as “first” and “second” are used to distinguish between a plurality of objects, and are not intended to limit an order, a time sequence, a priority, or importance of the plurality of objects. In addition, the terms “include/comprise” and “have” in the embodiments, the claims, and the accompanying drawings are not exclusive. For example, a process, a method, a system, a product, or a device that includes a series of steps or modules is not limited to the enumerated steps or modules, and may further include a step or module that is not enumerated. “A plurality of” in the embodiments means two or more.
In addition, in the embodiments, information, a signal, a message, and a channel may be interchangeably used sometimes. It should be noted that meanings expressed by the terms are consistent when differences are not emphasized. Of, “relevant”, and “corresponding” may be interchangeably used sometimes. It should be noted that meanings expressed by the terms are consistent when differences between the terms are not emphasized.
Before the embodiments are described, some terms are first described, to help a person of ordinary skill in the art have a better understanding.
(1) A terminal device includes a device that provides a user with voice and/or data connectivity, for example, may include a handheld device having a wireless connection function, or a processing device connected to a wireless modem. The terminal device may communicate with a core network through a radio access network (RAN), and exchange voice and/or data with the RAN. The terminal device may include user equipment (UE), a wireless terminal device, a mobile terminal device, a device-to-device communication (D2D) terminal device, a V2X terminal device, a machine-to-machine/machine type communication (M2M/MTC) terminal device, an internet of things (IoT) terminal device, a subscriber unit, a subscriber station, a mobile station, a remote station, an access point (AP), a remote terminal, an access terminal, a user terminal, a user agent, a user device, or the like. For example, the terminal device may include a mobile phone (or referred to as a “cellular” phone), a computer with a mobile terminal device, a portable, pocket-sized, handheld, or computer built-in mobile apparatus, and the like. For example, the terminal is a personal communications service (PCS) phone, a cordless telephone set, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, or a personal digital assistant (PDA). The terminal apparatus further includes a limited device, for example, a device with relatively low power consumption, a device with a limited storage capability, or a device with a limited computing capability. For example, the terminal apparatus includes an information sensing device such as a bar code, radio frequency identification (RFID), a sensor, a global positioning system (GPS), or a laser scanner.
By way of example and not limitation, the terminal device in the embodiments may alternatively be a wearable device. The wearable device may also be referred to as a wearable intelligent device, an intelligent wearable device, or the like, and is a general term for wearable devices that are developed by using a wearable technology to perform intelligent design on daily wear, for example, glasses, gloves, a watch, clothes, and shoes. The wearable device is a portable device that is directly worn on a body or integrated into clothes or an accessory of the user. The wearable device is not only a hardware device but is used to implement a powerful function through software support, a data exchange, and cloud interaction. In a broad sense, the wearable intelligent device includes full-featured and large-sized devices that can implement all or some functions without depending on smartphones, for example, smart watches or smart glasses, and devices that focus on only one type of application function and need to work with other devices such as smartphones, for example, various smart bands, smart helmets, or smart jewelry for monitoring physical signs.
However, if the various terminal devices described above are located in a vehicle (for example, placed in the vehicle or mounted in the vehicle), the terminal devices may be considered as vehicle-mounted terminal devices. For example, the vehicle-mounted terminal device is also referred to as an on board unit (OBU).
In the embodiments, the terminal device may further include a relay. Alternatively, it may be understood that any device that can perform data communication with a base station may be considered as the terminal device.
(2) A network device may be a device that is in an access network and that communicates with a wireless terminal device over an air interface through one or more cells. The network device may be a node in the radio access network, and may also be referred to as a base station, or may be referred to as a radio access network (RAN) node (or device). Currently, some examples of network devices are a gNB, a transmission reception point (transmission reception point, TRP), an evolved NodeB (eNB), a radio network controller (radio network controller, RNC), a NodeB (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (for example, a home evolved NodeB, or a home NodeB, HNB), a baseband unit (BBU), a wireless fidelity (Wi-Fi) access point (AP), and the like. In addition, in a network structure, the network device may include a centralized unit (CU) node and a distributed unit (DU) node. In this structure, protocol layers of an eNB in a long term evolution (LTE) system are split, where functions of some protocol layers are centrally controlled by the CU, functions of some or all of remaining protocol layers are distributed in the DU, and the CU centrally controls the DU.
(3) A PRACH time-frequency resource, also referred to as a PRACH occasion (RO), is a time-frequency resource unit used to send a random access preamble. The random access preamble may also be a preamble for short in subsequent descriptions. Currently, there are 13 types of preamble formats, which are classified, based on lengths, into two categories: 839 and 139, as shown in Table (table) 6.3.3.1-1 and Table 6.3.3.1-2 in the 3GPP standard document 3GPP TS 38.211 V15.3.0. Format represents a preamble type, LRA represents a preamble sequence length, ΔfRA represents a PRACH time-frequency resource subcarrier spacing, and Nu and NCPRA are respectively a time domain length of a preamble and a time domain length of a cyclic prefix (cyclic prefix, CP). The preamble includes a CP whose length is Tcp and a sequence (Sequence) whose length is Tseq.
Table 6.3.3.1-1: Preamble types when the preamble sequence length type is 839 and the PRACH time-frequency resource subcarrier spacing is 2.25 kHz or 5 kHz (PRACH preamble formats for LRA=839 and ΔfRA∈{1.25,5}kHz).
Table 6.3.3.1-2: Preamble types when the preamble sequence length type is 139 and the PRACH time-frequency resource subcarrier spacing is 15·2μ kHz, where μ∈{0,1,2,3}.
A time-domain resource configuration of the PRACH occasion is determined based on a parameter, namely a PRACH configuration index, configured by the network device, and Table 6.3.3.2-2 to 6.3.3.2-4 in the 3GPP standard document 3GPP TS 38.211 V15.3.0. There are three tables based on a carrier frequency and a duplex mode, and each table has 256 configurations. Only a portion of a table is used for explanation herein.
Table 6.3.3.2-2: Uplink random access configurations when a corresponding frequency range is FR1 (Random access configurations for FR1 and paired spectrum/supplementary uplink).
Referring to Table 6.3.3.2-2, when PRACH Configuration Index configured by the network device is 87, correspondingly, in subframes 4 and 9 of all radio frames whose frame numbers each mod 16 produce a remainder of 0 (mod 16=0), starting from a symbol 0, there is only one PRACH slot in one subframe, each PRACH slot has six consecutive PRACH occasions, and each PRACH occasion occupies two symbols.
(4) In a 5G NR frame structure, 5G NR supports a plurality of types of subcarrier spacings. However, in different subcarrier spacing configurations, a length of a radio frame and a length of a subframe are the same. The length of the radio frame is 10 ms, and the length of the subframe is 1 ms.
A slot length in each subframe varies with a subcarrier spacing. Generally, the slot length decreases as the subcarrier spacing increases. Therefore, subframes include different quantities of slots. In a case of a normal cyclic prefix (CP), slots include a same quantity of symbols, and each slot includes 14 symbols.
For example, when the subcarrier spacing is set to 15 kHz (a normal CP), one radio frame includes 10 subframes, and each subframe includes only one slot. Therefore, the radio frame includes 10 slots. In other words, a sequence number of a subframe is the same as a sequence number of a slot, and the subframe and the slot may be replaced with each other. Each slot includes 14 OFDM symbols (sequence numbers of the OFDM symbols in each slot are respectively #0 to #13).
It should be noted that, all sequence numbers in the embodiments may also be understood as numbers or indexes.
For another example, when the subcarrier spacing is configured to 30 kHz (a normal CP), one radio frame includes 10 subframes, and each subframe includes only two slots. Therefore, the radio frame includes 20 slots. Each slot includes 14 OFDM symbols (sequence numbers of the OFDM symbols in each slot are respectively #0 to #13). In addition, it should be understood that, when not conflicting with the embodiments, all symbols in the embodiments are indicated as OFDM symbols.
A PRACH slot is a slot including a PRACH time-frequency resource. When a spectrum range is FR1 (Frequency range 1), the PRACH slot is obtained through division based on an assumption that the subcarrier spacing is 15 kHz. In other words, one subframe is one PRACH slot. When a spectrum range is FR2, the PRACH slot is obtained through division based on an assumption that the subcarrier spacing is 60 kHz. In other words, one slot in which the subcarrier spacing is 60 kHz is one PRACH slot.
(5) Random access (RA) is classified into four-step random access and two-step random access.
For the four-step random access, the terminal device in an idle mode or an inactive mode needs to complete at least four times of signaling interworking to enter an RRC connected mode to communicate with the network device. For an ultra-reliable and low-latency communications (URLLC) service, four times of signaling interworking cause a relatively high latency, and this is not beneficial to a URLLC low-latency requirement. For a massive machine-type communications (mMTC) service, because most services are sporadic small packets, the terminal device can send data once only after performing one time of complete four-step random access each time to enter the RRC connected mode, and then the terminal device returns to the idle mode or the inactive mode again. This not only results in a relatively high latency, but also causes relatively high signaling overheads. A quantity of times of signaling interworking required by the two-step random access is reduced, thereby reducing signaling overheads and a latency. This is applicable to an application scenario that has a low latency requirement.
However, for the two-step random access, if a PRACH time-frequency resource and a PUSCH time-frequency resource are located in a same slot, a problem may occur, where the problem is that a conflict exists between a PRACH time-frequency resource occupied by a terminal device for sending a random access preamble and a PUSCH time-frequency resource occupied by another terminal device for sending uplink data, and consequently the network device cannot receive the random access preamble and the uplink data. The embodiments are intended to resolve a problem of how to configure a PRACH time-frequency resource for sending a random access preamble during the existing two-step random access, to avoid a problem that the PRACH time-frequency resource and the PUSCH time-frequency resource are located in the same slot and consequently the conflict exists between a PRACH time-frequency resource occupied by a terminal device for sending a random access preamble and a PUSCH time-frequency resource occupied by another terminal device for sending the uplink data.
The following describes in detail the embodiments with reference to the accompanying drawings.
S401: A terminal device receives configuration information sent by a network device, where the configuration information includes configuration information of a PRACH time-frequency resource set and configuration information of a PUSCH time-frequency resource set.
The PRACH time-frequency resource set includes at least one PRACH time-frequency resource, and the PUSCH time-frequency resource includes at least one PUSCH time-frequency resource.
In the embodiments, a PRACH time-frequency resource may also be referred to as a PRACH occasion (RO), and a PUSCH time-frequency resource may also be referred to as a PUSCH occasion (PO). The PRACH time-frequency resource set is a set including one or more PRACH time-frequency resources. The PUSCH time-frequency resource set is a set including one or more PUSCH time-frequency resources.
For example, the network device may send the configuration information to the terminal device by using a broadcast or multicast message, an RRC message, or the like. After receiving the configuration information sent by the network device, the terminal device configures the PRACH time-frequency resource set and the PUSCH time-frequency resource set based on the configuration information.
For example, the configuration information of the PRACH time-frequency resource set may include time-domain distribution information of the PRACH time-frequency resources and frequency-domain distribution information of the PRACH time-frequency resources, and the configuration information of the PUSCH time-frequency resource set may also include time-domain distribution information of the PUSCH time-frequency resources and frequency-domain distribution information of the PUSCH time-frequency resources. The time-domain distribution information of the PRACH time-frequency resources is used as an example. The time-domain distribution information of the PRACH time-frequency resources may be a value of PRACH Configuration Index. If the value of PRACH Configuration Index is 87, the terminal device searches Table 6.3.3.2-2, and determines that time-domain distribution of the PRACH time-frequency resources is that, in subframes 4 and 9 of a radio frame whose frame number mod 16 produces a remainder of 0, starting from a symbol 0, there is one PRACH slot in one subframe, each PRACH slot has six consecutive PRACH time-frequency resources, and each PRACH time-frequency resource occupies two symbols. Based on time-domain distribution of the PRACH time-frequency resources and frequency-domain distribution of the PRACH time-frequency resources, the terminal device may determine the PRACH time-frequency resources in the PRACH time-frequency resource set from two dimensions: time domain and frequency domain. Similarly, based on time-domain distribution of the PUSCH time-frequency resources and frequency-domain distribution of the PUSCH time-frequency resources, the terminal device may also determine the PUSCH time-frequency resources in the PUSCH time-frequency resource set from the two dimensions: time domain and frequency domain.
Further, the configuration information of the PUSCH time-frequency resource set may alternatively include time-domain information and frequency-domain information of each PUSCH time-frequency resource in the PUSCH time-frequency resource set. Based on the time-domain information and the frequency-domain information of each PUSCH time-frequency resource, the terminal device may determine the PUSCH time-frequency resources in the PUSCH time-frequency resource set from the two dimensions: time-frequency and frequency domain.
In the embodiments, content of the configuration information of the PRACH time-frequency resource set and content of the configuration information of the PUSCH time-frequency resource set are not limited, provided that the terminal device can be indicated to determine the PRACH time-frequency resources in the PRACH time-frequency resource set and the PUSCH time-frequency resources in the PUSCH time-frequency resource set.
S402: The terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not conflict with the PUSCH time-frequency resource set.
S403: The terminal device sends a random access preamble on the determined PRACH time-frequency resource.
Both the PRACH time-frequency resource and the PUSCH time-frequency resource include the two dimensions: time domain and frequency domain. If the PRACH time-frequency resource does not conflict with the PUSCH time-frequency resource in either of time domain and frequency domain, the PRACH time-frequency resource does not conflict with the PUSCH time-frequency resource.
(Implementation 1)
Therefore, in an implementation, the terminal device may select a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in time domain as the PRACH time-frequency resource for sending (carrying) the random access preamble or may select a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in frequency domain as the PRACH time-frequency resource for sending the random access preamble. The following provides descriptions with reference to the two dimensions: time domain and frequency domain.
Time domain dimension:
The terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in time domain and uses the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
It should be noted that, that the PRACH time-frequency resource does not overlap the PUSCH time-frequency resource set in time domain means that the PRACH time-frequency resource does not overlap any PUSCH time-frequency resource in the PUSCH time-frequency resource set in time domain. For example, as shown in
In a possible implementation, the terminal device may select a PRACH time-frequency resource from the PRACH time-frequency resource set, and determine whether the selected PRACH time-frequency resource overlaps the PUSCH time-frequency resource set in time domain, and if not, determines the selected PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble; or if yes, reselects a PRACH time-frequency resource from unselected PRACH time-frequency resources in the PRACH time-frequency resource set, and returns to the step of determining whether the selected PRACH time-frequency resource overlaps the PUSCH time-frequency resource set in time domain, until the selected PRACH time-frequency resource does not overlap the PUSCH time-frequency resource set in time domain and the terminal device determines the selected PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
The terminal device may randomly select a PRACH time-frequency resource from the PRACH time-frequency resource set or may select a PRACH time-frequency resource according to a specific policy. For example, according to a policy that a PRACH time-frequency resource with a smallest time interval from current time of the terminal device takes precedence, the terminal device selects, from the PRACH time-frequency resource set, the PRACH time-frequency resource with the smallest time interval from the current time of the terminal device.
In another possible implementation, the terminal device may first determine all PRACH time-frequency resources that are in the PRACH time-frequency resource set and that do not overlap the PUSCH time-frequency resource set in time domain; and then select a PRACH time-frequency resource from all the determined PRACH time-frequency resources that are in the PRACH time-frequency resource set and that do not overlap the PUSCH time-frequency resource set in time domain, and determine the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
For example, descriptions are provided by using an example in which six PRACH time-frequency resources configured by the network device in one PRACH slot form a PRACH time-frequency resource set, and one PUSCH time-frequency resource configured by the network device forms a PUSCH time-frequency resource. As shown in
Frequency Domain Dimension:
The terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in frequency domain and uses the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
It should be noted that, that the PRACH time-frequency resource does not overlap the PUSCH time-frequency resource set in frequency domain means that the PRACH time-frequency resource does not overlap any PUSCH time-frequency resource in the PUSCH time-frequency resource set in frequency domain. That the PRACH time-frequency resource does not overlap the PUSCH time-frequency resource in frequency domain includes two cases: The PRACH time-frequency resource does not overlap the PUSCH time-frequency resource in both frequency domain and time domain. The PRACH time-frequency resource does not overlap the PUSCH time-frequency resource in frequency domain and overlaps the PUSCH time-frequency resource in time domain That the PRACH time-frequency resource overlaps the PUSCH time-frequency resource in time domain includes complete overlapping in time domain and partial overlapping in time domain.
In a possible implementation, the terminal device may select a PRACH time-frequency resource from the PRACH time-frequency resource set, and determine whether the selected PRACH time-frequency resource overlaps the PUSCH time-frequency resource set in frequency domain, and if not, determines the selected PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble; or if yes, reselects a PRACH time-frequency resource from unselected PRACH time-frequency resources in the PRACH time-frequency resource set, and returns to the step of determining whether the selected PRACH time-frequency resource overlaps the PUSCH time-frequency resource set in frequency domain, until the selected PRACH time-frequency resource does not overlap the PUSCH time-frequency resource set in frequency domain and the terminal device determines the selected PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble. For a manner in which the terminal device selects the PRACH time-frequency resource from the PRACH time-frequency resource set, refer to related descriptions in the time domain dimension. Details are not described again.
In another possible implementation, the terminal device may first determine all PRACH time-frequency resources that are in the PRACH time-frequency resource set and that do not overlap the PUSCH time-frequency resource set in frequency domain; and then select a PRACH time-frequency resource from all the determined PRACH time-frequency resources that are in the PRACH time-frequency resource set and that do not overlap the PUSCH time-frequency resource set in frequency domain, and determine the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
For example, descriptions are provided by using an example in which six PRACH time-frequency resources configured by the network device in one PRACH slot form a PRACH time-frequency resource set, and one PUSCH time-frequency resource configured by the network device forms a PUSCH time-frequency resource. As shown in
Time Domain Dimension and Frequency Domain Dimension
Further, the terminal device may alternatively determine, in both the time domain dimension and the frequency domain dimension, a PRACH time-frequency resource in the PRACH time-frequency resource set and use the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
For example, the terminal device may determine, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap any PUSCH time-frequency resource in the PUSCH time-frequency resource set in time domain and frequency domain at the same time and use the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
Referring to
In addition, if an interval between a PRACH time-frequency resource for sending the random access preamble and a PUSCH time-frequency resource occupied for sending the uplink data is excessively small in time domain, the problem that a conflict exists between a PRACH time-frequency resource occupied for sending a random access preamble and a PUSCH time-frequency resource occupied for sending uplink data may also be caused.
(Implementation 2)
Therefore, in another implementation, the terminal device may select, from the PUSCH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than or equal to a first threshold in time domain; or may select, from the PUSCH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than or equal to a second threshold in time domain and that does not overlap the PUSCH time-frequency resource set in frequency domain, and use the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
The first threshold and the second threshold may be the same or may be different. The first threshold and the second threshold may be predefined in the terminal device or may be configured by the terminal device based on a message, such as a broadcast message or a multicast message, that is sent by the network device and that includes the first threshold and/or the second threshold.
Time Domain Dimension:
The terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than a first threshold from the PUSCH time-frequency resource set in time domain.
In a possible implementation, the terminal device may select a PRACH time-frequency resource from the PRACH time-frequency resource set, and determine whether the selected PRACH time-frequency resource has the interval greater than the first threshold from the PUSCH time-frequency resource set in time domain, and if yes, determines the selected PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble; or if not, reselects a PRACH time-frequency resource from unselected PRACH time-frequency resources in the PRACH time-frequency resource set, and returns to the step of determining whether the selected PRACH time-frequency resource has the interval greater than the first threshold from the PUSCH time-frequency resource set in time domain, until the selected PRACH time-frequency resource has the interval greater than the first threshold from the PUSCH time-frequency resource set in time domain and the terminal device determines the selected PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
In another possible implementation, the terminal device may first determine all PRACH time-frequency resources that are in the PRACH time-frequency resource set and that each have the interval greater than the first threshold from the PUSCH time-frequency resource set in time domain; and then select a PRACH time-frequency resource from all the determined PRACH time-frequency resources that are in the PRACH time-frequency resource set and that each have the interval greater than the first threshold from the PUSCH time-frequency resource set in time domain, and determine the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
For example, descriptions are provided by using an example in which six PRACH time-frequency resources configured by the network device in one PRACH slot form a PRACH time-frequency resource set, and one PUSCH time-frequency resource configured by the network device forms a PUSCH time-frequency resource. As shown in
Time Domain Dimension and Frequency Domain Dimension
The terminal device determines, in the PRACH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than a second threshold from the PUSCH time-frequency resource set in time domain and that does not overlap the PUSCH time-frequency resource set in frequency domain.
In a possible implementation, the terminal device may select a PRACH time-frequency resource from the PRACH time-frequency resource set, and determine whether the selected PRACH time-frequency resource has the interval greater than the second threshold from the PUSCH time-frequency resource set in time domain and does not overlap the PUSCH time-frequency resource set in frequency domain, and if yes, determines the selected PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble; or if not, reselects a PRACH time-frequency resource from unselected PRACH time-frequency resources in the PRACH time-frequency resource set, and returns to the step of determining whether the selected PRACH time-frequency resource has the interval greater than the second threshold from the PUSCH time-frequency resource set in time domain and does not overlap the PUSCH time-frequency resource set in frequency domain, until the selected PRACH time-frequency resource has the interval greater than the second threshold from the PUSCH time-frequency resource set in time domain and does not overlap the PUSCH time-frequency resource set in frequency domain and the terminal device determines the selected PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
In another possible implementation, the terminal device may first determine all PRACH time-frequency resources that are in the PRACH time-frequency resource set and that each have the interval greater than the second threshold from the PUSCH time-frequency resource set in time domain and do not overlap the PUSCH time-frequency resource set in frequency domain; and then select a PRACH time-frequency resource from all the determined PRACH time-frequency resources that are in the PRACH time-frequency resource set and that each have the interval greater than the second threshold from the PUSCH time-frequency resource set in time domain and do not overlap the PUSCH time-frequency resource set in frequency domain, and determine the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble.
For example, descriptions are provided by using an example in which six PRACH time-frequency resources configured by the network device in one PRACH slot form a PRACH time-frequency resource set, and one PUSCH time-frequency resource configured by the network device forms a PUSCH time-frequency resource. As shown in
In addition, generally, when a subcarrier spacing of the PRACH time-frequency resource set is different from a subcarrier spacing of the PUSCH time-frequency resource set, that is, when a subcarrier spacing of the PRACH time-frequency resources in the PRACH time-frequency resource set is different from a subcarrier spacing of the PUSCH time-frequency resources in the PUSCH time-frequency resource set, the network device may need time to adjust a reception parameter and the like. Therefore, when the subcarrier spacing of the PRACH time-frequency resource set is the same as the subcarrier spacing of the PUSCH time-frequency resource set, without considering whether a PRACH time-frequency resource has an interval greater than a threshold from the PUSCH time-frequency resource set in time domain, the terminal device may use the method in the implementation 1 to determine, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not conflict with the PUSCH time-frequency resource set, and use the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble. When the subcarrier spacing of the PRACH time-frequency resource set is different from the subcarrier spacing of the PUSCH time-frequency resource set, considering whether a PRACH time-frequency resource has an interval greater than a threshold from the PUSCH time-frequency resource set in time domain, the terminal device may use the method in the implementation 2 to determine, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not conflict with the PUSCH time-frequency resource set, and use the PRACH time-frequency resource as the PRACH time-frequency resource for sending the random access preamble. Information about the subcarrier spacing of the PRACH time-frequency resource set and the subcarrier spacing of the PUSCH time-frequency resource set may be carried in the configuration information of the PRACH time-frequency resource set and the configuration information of the PUSCH time-frequency resource set, and obtained by the terminal device from the configuration information of the PRACH time-frequency resource set and the configuration information of the PUSCH time-frequency resource set.
S1001: A terminal device receives configuration information sent by a network device, where the configuration information includes configuration information of a PRACH time-frequency resource set. The PRACH time-frequency resource set includes at least one PRACH time-frequency resource.
S1002: The terminal device receives indication information sent by the network device, where the indication information is used to indicate one or more valid PRACH time-frequency resources in the PRACH time-frequency resource set.
It should be understood that a sequence of S1001 and S1002 in this embodiment does not limit a sequence of sending the configuration information and sending the indication information by the network device. The network device may simultaneously send the configuration information and the indication information or may first send the configuration information and then send the indication information, or may first send the indication information and then send the configuration information.
S1003: The terminal device sends a random access preamble on one of the valid PRACH time-frequency resources.
In this embodiment, for the configuration information of the PRACH time-frequency resource set, refer to descriptions in Embodiment 1. Repeated descriptions are not provided again.
To ensure that receiving of the random access preamble does not affect another service of the network device, for example, does not affect receiving of uplink data sent (carried) by using a PUSCH time-frequency resource, the network device further sends, to the terminal device, the indication information used to indicate the valid PRACH time-frequency resources in the PRACH time-frequency resource set, to indicate the terminal device to send the random access preamble only on the PRACH time-frequency resource that is indicated as valid.
For example, the network device may send the indication information to the terminal device by using a broadcast or multicast message, an RRC message, or the like. After receiving the indication information sent by the network device, the terminal device determines, based on the indication information, the valid PRACH time-frequency resources in the PRACH time-frequency resource set configured based on the configuration information.
In this embodiment, the indication information may include a first bitmap, an index number, or a parameter N; or may include a second bitmap or a parameter K, provided that the valid PRACH time-frequency resources in the PRACH time-frequency resource set can be indicated. The following provides descriptions with reference to specific implementations.
Manner 1: The indication information includes the first bitmap, the index number, or the parameter N, and is used to indicate the terminal device to determine one or more valid PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set.
(1) The indication information includes the first bitmap, and the first bitmap is used to indicate time-domain distribution of one or more valid PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set.
In a possible implementation, a length of the first bitmap is not less than a maximum quantity of PRACH time-frequency resources in time domain in one PRACH slot. A 1st bit of the first bitmap indicates whether a 1st PRACH time-frequency resource in time domain in the same PRACH slot in the PRACH time-frequency resource set is valid, a 2nd bit of the first bitmap indicates whether a 2nd PRACH time-frequency resource in time domain in the same PRACH slot in the PRACH time-frequency resource set is valid, and so on. For example, 1 may be used to indicate that a PRACH time-frequency resource corresponding to 1 is valid, and 0 may be used to indicate that a PRACH time-frequency resource corresponding to 0 is invalid. The terminal device can send the random access preamble only on the valid PRACH time-frequency resource. For example, in the configuration information sent by the network device, six PRACH time-frequency resources are configured in each PRACH slot, that is, there are six PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set. As shown in
(2) The indication information includes the parameter N, and the parameter N is used to indicate that in one or more PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set, first N or last N PRACH time-frequency resources in time domain are valid or invalid.
In a possible implementation, the parameter N is used to indicate that in the PRACH time-frequency resources in the same PRACH slot in the PRACH time-frequency resource set, the first N PRACH time-frequency resources or the last N PRACH time-frequency resources in time domain are valid. For example, the parameter N is used to indicate that in the PRACH time-frequency resources in the same PRACH slot in the PRACH time-frequency resource set, the first N PRACH time-frequency resources in time domain are valid. N=4, and there are six PRACH time-frequency resources in a PRACH slot in the PRACH time-frequency resource set. Referring to
In a possible implementation, the parameter N is used to indicate that in PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set, first N PRACH time-frequency resources or last N PRACH time-frequency resources in time domain are invalid. In this case, the terminal device considers by default that a PRACH time-frequency resource that is not indicated as invalid in the PRACH time-frequency resource set is valid. For example, the parameter N is used to indicate that in the PRACH time-frequency resources in the same PRACH slot in the PRACH time-frequency resource set, the last N PRACH time-frequency resources in time domain are invalid. N=3, and referring to
(3) The indication information includes the index number, and the index number is used to indicate an entry in a PRACH time-frequency resource table, and any entry in the PRACH time-frequency resource table is used to define a PRACH time-frequency resource that is valid in time domain and that is in one or more PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set.
In a possible implementation, a PRACH time-frequency resource table is predefined in the network device and the terminal device, or a PRACH time-frequency resource table is configured by the network device and is sent to the terminal device by using a message such as a broadcast or multicast message. Each entry in the PRACH time-frequency resource table is used for a valid PRACH time-frequency resource in time domain in one or more PRACH time-frequency resources in a same PRACH slot in a PRACH time-frequency resource set. Each entry corresponds to one unique index number. An example in which a maximum quantity of PRACH time-frequency resources configured in a PRACH slot is six is used. A PRACH time-frequency resource table is shown as follows:
Referring to the PRACH time-frequency resource table, if the index number included in the indication information is 0, the terminal device determines that in the PRACH time-frequency resources in the same PRACH slot in the PRACH time-frequency resources, in time domain, the 1st PRACH time-frequency resource is valid, the 2nd PRACH time-frequency resource is invalid, the 3rd PRACH time-frequency resource is valid, the 4th PRACH time-frequency resource is invalid, the 5th PRACH time-frequency resource is valid, and the 6th PRACH time-frequency resource is invalid. If a quantity of PRACH time-frequency resources actually configured in a PRACH slot is less than a quantity of PRACH time-frequency resources configured in the PRACH time-frequency resource table, only a configuration indicating whether first M PRACH time-frequency resources configured in the PRACH time-frequency resource table are valid is used, where M is equal to the quantity of PRACH time-frequency resources actually configured in the PRACH slot.
In addition, in the foregoing, the terminal device is indicated, by using the first bitmap, the index number, or the parameter N, to determine the valid PRACH time-frequency resources in the same PRACH slot in the PRACH time-frequency resource set, and the indication is performed all in time domain. Therefore, when PRACH time-frequency resource frequency division multiplexing is configured, that is, when two or more PRACH time-frequency resources may appear on a same time domain resource, in this embodiment, the indication information may be used for all PRACH time-frequency resources for the frequency division multiplexing that have a same time domain resource. In other words, when the PRACH time-frequency resource frequency division multiplexing is configured, the indication information indicates a valid PRACH time domain resource in the same PRACH slot, and all PRACH time-frequency resources on the PRACH time domain resource. A PRACH slot is used as an example. As shown in
As shown in
In another possible implementation, the parameter N is used to indicate that in PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set, first N PRACH time-frequency resources or last N PRACH time-frequency resources in time-frequency domain are valid. For example, the parameter N is used to indicate that in the PRACH time-frequency resources in the same PRACH slot in the PRACH time-frequency resource set, the first N PRACH time-frequency resources in time-frequency domain are valid. N=3, and as shown in
Further, when the PRACH time-frequency resource frequency division multiplexing is configured, that is, two or more PRACH time-frequency resources may appear on a same time domain resource, PRACH time-frequency resource indication information may be used only for a PRACH time-frequency resource in one or more frequency bands in the PRACH time-frequency resources. An application scope of the indication information in frequency domain may be predefined. For example, the indication information is applicable only to a PRACH time-frequency resource in a lowest frequency band. Alternatively, an application scope of the indication information in frequency domain is configured by the network device. For example, the network device may indicate the application scope of the indication information in frequency domain by using other signaling. The terminal device may consider by default that another PRACH time-frequency resource that is not indicated is valid, or invalid. As shown in
Manner 2: The indication information includes a second bitmap or a parameter K and is used to indicate the terminal device to determine one or more valid PRACH slots occupied by one or more PRACH time-frequency resources in a same radio frame in the PRACH time-frequency resource set.
(1) The indication information includes the second bitmap, and the second bitmap is used to indicate time-domain distribution of one or more valid PRACH slots occupied by one or more PRACH time-frequency resources in a same radio frame in the PRACH time-frequency resource set.
In a possible implementation, the length of the first bitmap is not less than a maximum quantity of PRACH slots in one radio frame. A Pt bit of the second bitmap indicates whether a Pt PRACH slot occupied by the PRACH time-frequency resources in the same radio frame in the PRACH time-frequency resource set is valid, a 2nd bit of the second bitmap indicates whether a 2nd PRACH slot occupied by the PRACH time-frequency resources in the same radio frame in the PRACH time-frequency resource set is valid, and so on. For example, 1 may be used to indicate that a PRACH slot corresponding to 1 is valid, and 0 may be used to indicate that a PRACH slot corresponding to 0 is invalid. The terminal device can determine, only in a PRACH slot that is indicated as valid, the PRACH time-frequency resource for sending the random access preamble. For example, the terminal device may consider by default that all PRACH time-frequency resources in a PRACH slot that is indicated as valid are valid and may be used for sending the random access preamble.
(2) The indication information includes the parameter K, and the parameter K is used to indicate that in one or more PRACH slots occupied by one or more PRACH time-frequency resources in a same radio frame in the PRACH time-frequency resource set, first K or last K PRACH slots in time domain are valid or invalid.
In a possible implementation, the parameter K is used to indicate that in the PRACH slots occupied by the PRACH time-frequency resources in the same radio frame in the PRACH time-frequency resource set, the first K or last K PRACH slots in time domain are valid. The terminal device can determine, only in a PRACH slot that is indicated as valid, the PRACH time-frequency resource for sending the random access preamble.
In another possible implementation, the parameter K is used to indicate that in the PRACH slots occupied by the PRACH time-frequency resources in the same radio frame in the PRACH time-frequency resource set, the first K or last K PRACH slots in time domain are invalid. The terminal device considers by default that, in the PRACH slots occupied by the PRACH time-frequency resources in the same radio frame in the PRACH time-frequency resource set, a PRACH slot that is not indicated as invalid in time domain is a valid PRACH slot. The PRACH time-frequency resource for sending the random access preamble can be determined only in a valid PRACH slot.
Based on Manner 2, the terminal device may determine a valid PRACH slot occupied by the PRACH time-frequency resources in the same radio frame in the PRACH time-frequency resource set, and the terminal device may directly determine all PRACH resources in the valid PRACH slot in the PRACH time-frequency resource set as valid PRACH time-frequency resources.
Optionally, the configuration information sent by the network device includes the second bitmap or the parameter K and is used to indicate the terminal device to determine a valid PRACH slot in the PRACH slots occupied by the PRACH time-frequency resources in the same radio frame in the PRACH time-frequency resource set (Manner 2). In addition, the configuration information further includes the first bitmap, the index number, or the parameter N, and is used to indicate the terminal device to determine a valid PRACH time-frequency resource in a PRACH slot that is indicated as valid in the PRACH time-frequency resource set. The terminal device can send the random access preamble only on the valid PRACH time-frequency resource in the valid PRACH slot.
Optionally, the configuration information sent by the network device includes the second bitmap or the parameter K and is used to indicate the terminal device to determine a valid PRACH slot in the PRACH slots occupied by the PRACH time-frequency resources in the same radio frame in the PRACH time-frequency resource set (Manner 2). The terminal device may consider by default that all PRACH time-frequency resources in a PRACH slot that is indicated as valid are valid. In addition, the configuration information further includes the first bitmap, the index number, or the parameter N, and is used to indicate the terminal device to determine a valid PRACH time-frequency resource in a PRACH slot that is not indicated as valid in the PRACH time-frequency resource set, so that the terminal device sends the random access preamble on the valid PRACH time-frequency resource.
Based on a same concept as the foregoing random access preamble sending method, as shown in
In a possible implementation, the communication apparatus is configured to perform the steps performed by the terminal device in the first random access preamble sending method corresponding to
For example, the transceiver unit 1801 is configured to receive configuration information sent by a network device, where the configuration information includes configuration information of a physical random access channel PRACH time-frequency resource set and configuration information of a physical uplink shared channel PUSCH time-frequency resource set.
The processing unit 1802 is configured to determine, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not conflict with the PUSCH time-frequency resource set.
The transceiver unit 1801 is further configured to send a random access preamble on the PRACH time-frequency resource determined by the processing unit 1802.
In a possible implementation, the processing unit 1802 uses one of the following manners to determine, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not conflict with the PUSCH time-frequency resource set:
determining, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in time domain; or
determining, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in frequency domain.
In a possible implementation, when determining, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in time domain, the processing unit 1802 is configured to determine, in the PRACH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than a first threshold from the PUSCH time-frequency resource set in time domain; and/or
when determining, in the PRACH time-frequency resource set, a PRACH time-frequency resource that does not overlap the PUSCH time-frequency resource set in frequency domain, the processing unit 1802 is configured to determine, in the PRACH time-frequency resource set, a PRACH time-frequency resource that has an interval greater than a second threshold from the PUSCH time-frequency resource set in time domain and that does not overlap the PUSCH time-frequency resource set in frequency domain.
In a possible implementation, the processing unit 1802 is further configured to: before determining the PRACH time-frequency resource in the PRACH time-frequency resource set, determine that a subcarrier spacing of the PRACH time-frequency resource set is different from a subcarrier spacing of the PUSCH time-frequency resource set.
In a possible implementation, the communication apparatus is configured to perform the steps performed by the terminal device in the first random access preamble sending method corresponding to
For example, the transceiver unit 1801 is configured to: receive configuration information sent by a network device, and receive indication information sent by the network device, where the configuration information includes configuration information of a physical random access channel PRACH time-frequency resource set, and the indication information is used to indicate one or more valid PRACH time-frequency resources in the PRACH time-frequency resource set.
The processing unit 1802 is configured to determine a PRACH time-frequency resource in the valid PRACH time-frequency resources in the PRACH time-frequency resource set.
The transceiver unit 1801 is further configured to send a random access preamble on the PRACH time-frequency resource determined by the processing unit 1802.
In a possible implementation, the indication information includes a first bitmap, an index number, or a parameter N, where
the first bitmap is used to indicate time-domain distribution of one or more valid PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set;
the parameter N is used to indicate that in one or more PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set, first N or last N PRACH time-frequency resources in time domain are valid or invalid; and
the index number is used to indicate an entry in a PRACH time-frequency resource table, and any entry in the PRACH time-frequency resource table is used to define a PRACH time-frequency resource that is valid in time domain and that is in one or more PRACH time-frequency resources in a same PRACH slot in the PRACH time-frequency resource set.
In a possible implementation, the indication information includes a second bitmap or a parameter K, where
the second bitmap is used to indicate time-domain distribution of one or more valid PRACH slots occupied by one or more PRACH time-frequency resources in a same radio frame in the PRACH time-frequency resource set; and
the parameter K is used to indicate that in one or more PRACH slots occupied by one or more PRACH time-frequency resources in a same radio frame in the PRACH time-frequency resource set, first K or last K PRACH slots in time domain are valid or invalid.
Based on a same concept as the foregoing random access preamble sending method, an embodiment further provides a terminal device. As shown in
After the terminal device is powered on, the processor may read the software program in a storage unit, explain and execute instructions of the software program, and process the data of the software program. When data needs to be sent in a wireless manner, the processor performs baseband processing on the to-be-sent data, and outputs a baseband signal to a radio frequency circuit. After performing radio frequency processing on the baseband signal, the radio frequency circuit sends a radio frequency signal outward in an electromagnetic wave form by using the antenna. When data is sent to the terminal device, the radio frequency circuit receives a radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal into data and processes the data.
A person of ordinary skill in the art may understand that for ease of description,
In an optional implementation, the processor may include a baseband processor and/or a central processing unit. The baseband processor is configured to process the communication protocol and the communication data. The central processing unit is configured to: control the entire terminal device, execute the software program, and process the data of the software program. Functions of the baseband processor and the central processing unit may be integrated into the processor in
In this embodiment, the antenna and the control circuit that have receiving and sending functions may be considered as a transceiver unit 1901 of the terminal device 190, for example, to support the terminal device in performing the receiving function and the sending function. The processor having a processing function is considered as a processing unit 1902 of the terminal device 190. As shown in
The processor 1902 may be configured to execute instructions stored in the memory, to control the transceiver unit 1901 to receive a signal and/or send a signal, to complete a function of the terminal device in the foregoing method embodiments. In an implementation, it may be considered that a function of the transceiver unit 1901 is implemented by using a transceiver circuit or a transceiver-dedicated chip.
Based on a same concept as the foregoing random access preamble sending method, an embodiment further provides a computer-readable medium. The storage medium stores computer instructions, and when the computer instructions are executed by a terminal device, the terminal device is enabled to implement the random access preamble sending method in any one of the foregoing method embodiments.
Based on a same concept as the foregoing random access preamble sending method, an embodiment further provides a computer program product. The computer program product includes computer instructions, and when the computer instructions are executed by a terminal device, the terminal device is enabled to implement the random access preamble sending method in any one of the foregoing method embodiments.
All or some of the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof. When the software is used to implement the embodiments, the embodiments may be implemented completely or partially in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the procedures or functions according to the embodiments are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, and microwave) manner. The computer-readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a high-density digital video disc (DVD)), a semiconductor medium (for example, a solid-state drive (SSD)), or the like.
A person of ordinary skill in the art may be aware that, units, algorithms, and steps in the examples described with reference to the embodiments can be implemented by electronic hardware, computer software, or a combination thereof. To describe interchangeability between the hardware and the software, the foregoing has generally described compositions and steps of the examples based on functions. Whether the functions are performed by hardware or software depends on a particular application and a design constraint condition of a solution. A person of ordinary skill in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope.
A person of ordinary skill in the art may understand that, for the purpose of convenient and brief description, for detailed working processes of the foregoing system, apparatus, and unit, refer to corresponding processes in the foregoing method embodiments, and details are not described herein again.
In the several embodiments provided, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the apparatus embodiments described in the foregoing are only examples. For example, division of the units is only a type of division of logical functions, and may be another manner of division during actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or may not be performed. In addition, displayed or discussed mutual couplings or direct couplings or communication connections may be indirect couplings or communication connections using some interfaces, apparatuses, or units, and may be connections in an electrical form, a mechanical form, or another form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual requirements to achieve the objectives of the solutions of the embodiments.
In addition, functional units in the embodiments may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in a form of hardware or may be implemented in a form of a software functional unit.
With descriptions of the foregoing implementations, a person of ordinary skill in the art may understand that the embodiments may be implemented by using hardware, firmware, or a combination thereof. When the embodiments implemented by using software, the foregoing functions may be stored in a computer-readable medium or transmitted as one or more instructions or code in the computer-readable medium. The computer-readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates transmission of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a computer. The following provides an example but does not impose a limitation: The computer-readable medium may include a RAM, a ROM, an EEPROM, a CD-ROM or another compact disc storage, a magnetic disk storage medium or another magnetic storage device, or any other medium that can carry or store expected program code in a form of instructions or a data structure and can be accessed by a computer. In addition, any connection may be appropriately defined as a computer-readable medium. For example, if software is transmitted from a website, a server, or another remote source by using a coaxial cable, an optical fiber/cable, a twisted pair, a digital subscriber line (DSL) or wireless technologies such as infrared ray, radio and microwave, and the coaxial cable, optical fiber/cable, twisted pair, DSL or wireless technologies such as infrared ray, radio, and microwave are included in a definition of a medium to which they belong. A disk and a disc used in the embodiments include a compact disc (CD), a laser disc, an optical disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc. The disk usually copies data in a magnetic manner, whereas the disc copies data optically through a laser. The foregoing combination shall also be included in the protection scope of the computer-readable medium.
Therefore, the foregoing descriptions are merely example embodiments of the solutions, but are non-limiting. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the embodiments shall fall in the scope of the embodiments.
Number | Date | Country | Kind |
---|---|---|---|
201910363256.1 | Apr 2019 | CN | national |
This application is a continuation of International Application No. PCT/CN2020/087891, filed on Apr. 29, 2020, which claims priority to Chinese Patent Application No. 201910363256.1, filed on Apr. 30, 2019. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2020/087891 | Apr 2020 | US |
Child | 17512935 | US |