WO2019158096A1 - Method and device for transmitting data during random access - Google Patents

Method and device for transmitting data during random access Download PDF

Info

Publication number
WO2019158096A1
WO2019158096A1 PCT/CN2019/075015 CN2019075015W WO2019158096A1 WO 2019158096 A1 WO2019158096 A1 WO 2019158096A1 CN 2019075015 W CN2019075015 W CN 2019075015W WO 2019158096 A1 WO2019158096 A1 WO 2019158096A1
Authority
WO
WIPO (PCT)
Prior art keywords
tbs
message
network device
target
allowed
Prior art date
Application number
PCT/CN2019/075015
Other languages
French (fr)
Chinese (zh)
Inventor
铁晓磊
罗之虎
李军
金哲
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201810299318.2A external-priority patent/CN110167185B/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP19754237.6A priority Critical patent/EP3745794B1/en
Publication of WO2019158096A1 publication Critical patent/WO2019158096A1/en
Priority to US16/992,624 priority patent/US11438923B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Definitions

  • the present application relates to the field of communications and, more particularly, to a method and apparatus for transmitting data in a random access procedure.
  • the terminal device needs to complete random access first, and establish radio resource control with the network device (specifically, the base station) (Radio Resource Control) After the RRC) link, the uplink data can be transmitted.
  • the network device specifically, the base station
  • Radio Resource Control Radio Resource Control
  • the terminal device Since the random access and the establishment of the RRC link require a long interaction time, the transmission delay of the uplink data is large, and further, since the random access and the signaling of the interaction in the establishment of the RRC link are relatively large, the terminal device The power consumption will also be higher.
  • NB-IoT Narrow Band Internet of Things
  • the 3GPP protocol R15 specifies that the terminal device can transmit the uplink data to the network device in the random access process. Specifically, the terminal device can carry the uplink data by using the message 3 sent to the network device in the random access process, so as to transmit the uplink data to the network device in the random access process.
  • the network device since the network device does not know exactly the size of the uplink data to be transmitted by the terminal device, the network device can only indicate a maximum transport block size (TBS) through the message 2, so that The terminal device transmits uplink data to the network device according to the maximum TBS.
  • TBS transport block size
  • the terminal device When the size of the transport block (TB) required for the uplink data to be transmitted by the terminal device is much smaller than the TBS indicated by the network device, the terminal device needs to perform a larger proportion at the Media Access Control (MAC) layer.
  • the padding of the packet causes waste of uplink resources and power consumption of the terminal device, resulting in low transmission efficiency of uplink data.
  • the present application provides a method and apparatus for transmitting data in a random access procedure to improve the efficiency of transmitting uplink data in a random access procedure.
  • a first aspect provides a method for transmitting data in a random access process, the method comprising: sending a message 1 to a network device; receiving a message 2 sent by the network device; determining a target TBS in the candidate TBS according to the allowed TBS ; Send a message 3 to the network device.
  • the message 2 includes uplink grant information, and the uplink grant information (UL grant) further includes first indication information, where the first indication information is used to indicate a transport block size (TBS) allowed in the message 3.
  • TBS transport block size
  • the above target TBS is less than or equal to the allowed TBS.
  • the above message 3 contains uplink data transmitted in accordance with the target TBS.
  • the foregoing first indication information may further specifically indicate a maximum TBS allowed in the message 3.
  • the target TBS is less than or equal to the maximum TBS allowed in the message 3.
  • the target TBS can only be selected among the options in the candidate TBS that are less than or equal to the first TBS.
  • the above candidate TBS is all available TBSs when message 3 can be sent.
  • the message 1 is a preamble (Preamble) sent to the network device.
  • Preamble a preamble
  • the above messages 1 to 3 are messages that are exchanged with the terminal device during the random access of the terminal device to the network device.
  • the foregoing message 1 may specifically be a preamble sequence for initiating random access. Further, the message 1 can be used to obtain the uplink timing, and the resource location of the sending preamble sequence can be used to implicitly notify the network device of the specific information, such as the coverage information of the terminal device, the data volume information of the message 3, and the transmission mode information of the message 3. (single subcarrier or multiple subcarriers) and so on.
  • the message 2 is used to respond to the message 1.
  • the message 2 includes the timing adjustment information and the first indication information of the message 3.
  • the timing adjustment information is used to guide the terminal device to complete the uplink synchronization, and the first indication information is used to indicate the resource location of the message 3 transmission. .
  • the message 3 is used to carry the uplink data sent to the network device, and the TBS allowed to be used by the uplink data is indicated by the first indication information in the message 2.
  • the present application can freely select a target TBS from the candidate TBS according to the allowed TBS, and the selected target TBS is less than or equal to the allowed TBS. Therefore, the present application can allow the terminal device to independently select a suitable TBS without having to completely use the network device.
  • the indicated allowed TBS improves the flexibility of the terminal device to determine the TBS, thereby improving the transmission efficiency of the uplink data in the random access process.
  • determining the target TBS in the candidate TBS according to the allowed TBS specifically: determining, according to the allowed TBS, determining at least one TBS in the candidate TBS; according to the size of the uplink data, from at least A target TBS that can be used to transmit uplink data is determined in one TBS.
  • the TBS matching the uplink data size can be selected as the target TBS, which can further reduce the proportion of packet filling when transmitting the uplink data, and improve the transmission efficiency of the uplink data.
  • each TBS of the at least one TBS is less than or equal to the allowed TBS.
  • the at least one TBS is a TBS in the candidate TBS.
  • Determining at least one TBS from the candidate TBS may also be understood as determining a first TBS set according to the candidate TBS, where the first TBS set is composed of the at least one TBS.
  • the at least one TBS is determined in the candidate TBS according to the allowed TBS, and may specifically include the following methods:
  • the first mode is: determining, by using a TBS that is less than or equal to the allowed TBS in the candidate TBS, a preset number of TBSs as the at least one TBS.
  • the candidate TBS includes TBS1, TBS2, TBS3, TBS4, TBS5, and TBS6, where TBS1 to TBS6 are 144bit, 328bit, 504bit, 680bit, 872bit, and 1000bit, respectively, and the maximum TBS allowed is 1000bit, and the TBS in the candidate TBS is If it is less than 1000 bits, then 4 TBSs (preset number of 4) may be selected as the at least one TBS in the candidate TBS.
  • the largest four TBSs (TBS3, TBS4, TBS5, and TBS6) may be selected as the at least one TBS from the candidate TBSs in descending order;
  • the smallest 4 TBSs (TBS1, TBS2, TBS3, and TBS4) may be selected from the candidate TBSs as the at least one TBS in order from small to large;
  • the largest two TBSs (TBS5 and TBS6) may also be selected from the candidate TBSs.
  • the smallest two TBSs (TBS1 and TBS2) as the at least one TBS described above.
  • the second mode determining, from the TBS in the candidate TBS that is less than or equal to the allowed TBS, a TBS greater than a preset value as the at least one TBS.
  • the candidate TBS includes TBS1 to TBS6, where TBS1 to TBS6 are 144bit, 328bit, 504bit, 680bit, 872bit, and 1000bit, respectively, and the maximum TBS allowed is 1000bit, and the TBS in the candidate TBS is less than 1000bit, and the candidate TBS is greater than A TBS (TBS4, TBS5, and TBS6) of 504 (preset value) is used as the at least one TBS.
  • the third mode first, a TBS that is greater than a preset value is determined from the TBS that is less than or equal to the allowed TBS, and then selects a preset number of TBSs from the TBS that is greater than the preset value as the at least one TBS. .
  • the candidate TBS includes TBS1 to TBS6, where TBS1 to TBS6 are 144bit, 328bit, 504bit, 680bit, 872bit, and 1000bit, respectively, and the maximum TBS allowed is 1000bit, and the TBS in the candidate TBS is less than 1000bit, and the candidate TBS is greater than
  • a TBS (TBS4, TBS5, and TBS6) of 504 (preset value) is used as a TBS greater than a preset value, and then two TBSs (TBS5 and TBS6) are selected as the at least one TBS from the TBSs larger than the preset value.
  • the foregoing determining, from the at least one TBS, the target TBS that can be used for transmitting the uplink data, specifically, determining the size of the TB that is greater than or equal to the size of the TB corresponding to the uplink data and corresponding to the uplink data from the at least one TBS.
  • the difference between the TBS within a certain preset range is taken as the target TBS.
  • At least one TBS includes TBS1, TBS2, and TBS3, where TBS1 is 504bit, TBS2 is 680bit, TBS3 is 872bit, and TB of uplink data is 650bit.
  • TBS1, TBS2, and TBS3, TBS2 and TBS3 are greater than
  • the difference between the size of the TB corresponding to the TBS2 and the uplink data is 30 bits, and the difference between the size of the TB corresponding to the uplink data and the TB is 222 bits, and the size of the TB corresponding to the uplink data and the preset range of the difference of the TBS are assumed.
  • the difference between the TBS2 and the TBS3 and the uplink data is less than or equal to 250 bits, the difference between the TBS2 and the TBS3 is within the preset range of the difference. Then, one TBS can be arbitrarily selected from the TBS2 and the TBS3 as the target TBS.
  • a TBS that is greater than or equal to the size of the TB corresponding to the uplink data and has the smallest difference in the size of the TB corresponding to the uplink data may be determined from the at least one TBS as the target TBS.
  • At least one TBS includes TBS1, TBS2, and TBS3, where TBS1 is 504bit, TBS2 is 680bit, TBS3 is 872bit, and TB of uplink data is 650bit.
  • TBS1, TBS2, and TBS3, TBS2 and TBS3 are greater than
  • the difference between the size of the TB corresponding to the TBS2 and the uplink data is 30 bits, and the difference between the size of the TB corresponding to the uplink data and the TB is 222 bits, and the difference between the size of the TB corresponding to the TBS2 and the uplink data is smaller.
  • Select TBS2 as the target TBS.
  • the method before determining the target TBS in the candidate TBS according to the allowed TBS, the method further includes: determining whether the preset condition is met; and if the preset condition is met, according to the allowed The TBS determines the target TBS in the candidate TBS.
  • the target TBS can be determined from the candidate TBS according to the allowed TBS in a specific case (the preset condition is satisfied), so that the terminal device can flexibly determine the selection mode of the selected target TBS according to actual conditions.
  • the (terminal device) transmits the message 3 to the network device according to the allowed TBS and the resource location indicated by the first indication information in the message 2.
  • the foregoing preset condition is that the coverage level of the terminal device meets a preset condition.
  • the coverage level of the terminal device meets the preset condition, including at least one of the following situations: the coverage level corresponding to the message 1 sent by the terminal device to the network device is lower than the coverage level threshold; the terminal device is connected to the network. The coverage level corresponding to the message 1 sent by the device is higher than the coverage level threshold; the coverage level corresponding to the message 1 sent by the terminal device to the network device is equal to the coverage level threshold.
  • the coverage level threshold may be an appointment value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the coverage level threshold.
  • the coverage level of the terminal device meets the preset condition, including at least one of the following situations: the coverage level corresponding to the message 1 sent by the terminal device to the network device belongs to the coverage level set indicated by the base station; the terminal device The coverage level corresponding to the message 1 sent to the network device does not belong to the coverage level set indicated by the base station.
  • the foregoing set of coverage levels may be a set of appointments, or the network device may notify the terminal device by using indication information, where the indication information is used to indicate the coverage level set.
  • the terminal device determines, according to the measurement result of the current measurement quantity and the threshold value of the measurement quantity configured by the network device, a coverage level corresponding to the message 1 sent by the terminal device to the network device.
  • satisfying the preset condition includes at least one of: allowing the adopted TBS to be greater than the TBS threshold; allowing the adopted TBS to be smaller than the TBS threshold; allowing the adopted TBS to be equal to the TBS threshold.
  • the foregoing TBS threshold may be an agreed value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
  • the message 1 is carried on the first resource, where the message 1 is carried on the first resource to indicate that the uplink data is sent to the network device by using the message 3.
  • whether the message 1 is carried on a specific resource can flexibly indicate whether the uplink data is transmitted during the random access process, so that the network device can receive the uplink data.
  • the network device when the message 1 is carried on a specific resource, the network device performs uplink data reception in the random access process, and when the message 1 is carried on other resources than the specific resource, the network device completes the random access. After that (specifically, after the RRC link is established), the uplink data can be received.
  • the uplink data may be transmitted to the network device in the random access process.
  • the terminal device when the foregoing method is performed by the terminal device, if the terminal device sends the message 1 on the first resource, the terminal device sends the uplink data to the network device in the random access procedure; if the terminal device is the first resource The other resources send message 1, then the terminal device will send the uplink data to the network device after completing the random access and establishing an RRC link with the network device.
  • the method further includes: receiving, by the network device, second indication information, where the second indication information is used to indicate resending the message 3 and the updated TBS used when resending the message 3; In the case where the updated TBS and the target TBS are identical, the message 3 is resent to the network device.
  • the retransmitted message 3 includes the uplink data transmitted according to the target TBS.
  • the reliability of the uplink data transmission can be improved.
  • the network device may indicate that the transmission of the message 3 is re-transmitted by transmitting the second indication information, thereby enabling the network device to resolve the uplink data in the message 3.
  • the network device may use the parsed target TBS as the updated TBS used when resending the message 3 in the process of decoding the message 3. If the updated TBS is the same as the target TBS, then the network device is decoding the message 3. The process correctly resolves to the target TBS. Next, the terminal device directly sends the message 3 to the network device again. However, if the updated TBS is different from the target TBS, it is likely that the network device is in the process of decoding the message 3. The target TBS is not correctly resolved. Therefore, even if the terminal device resends the message 3 to the network device again, the network device cannot parse the uplink data in the message 3 according to the target TBS. In this case, the terminal device can re-execute the random connection. Incoming to send uplink data.
  • the method further includes: receiving, by the network device, second indication information, where the second indication information is used to indicate resending the message 3 and the updated TBS used when resending the message 3; If the updated TBS and the target TBS are inconsistent, the message 1 is sent to the network device again to re-execute the random access, where the message 1 is carried on the second resource, and is used to indicate to the network after completing the re-execution of the random access.
  • the device sends uplink data, and the second resource is different from the first resource.
  • the random access when the uplink data cannot be sent in the random access process, the random access can be re-executed by sending the message 1 again, and the uplink data is transmitted after the random access is completed, thereby improving the uplink data.
  • the reliability of the transmission when the uplink data cannot be sent in the random access process, the random access can be re-executed by sending the message 1 again, and the uplink data is transmitted after the random access is completed, thereby improving the uplink data. The reliability of the transmission.
  • the method further includes: receiving, by the network device, second indication information, where the second indication information is used to indicate resending the message 3 and the updated TBS used when resending the message 3; If the updated TBS and the target TBS are inconsistent, the message 1 is sent to the network device again to re-execute the random access, where the message 1 is carried on the first resource, and is used to indicate to the network when the random access procedure is re-executed.
  • the device sends upstream data.
  • the random access when the uplink data cannot be sent in the random access process, the random access can be re-executed by sending the message 1 again, and the uplink data is transmitted again during the random access process, thereby improving the uplink data.
  • the reliability of the transmission when the uplink data cannot be sent in the random access process, the random access can be re-executed by sending the message 1 again, and the uplink data is transmitted again during the random access process, thereby improving the uplink data. The reliability of the transmission.
  • the random access when the uplink data cannot be sent in the random access process, the random access may be re-executed and the uplink data may be sent in the random access process, or the random access may be re-executed, and the random access is completed. After the access, the uplink data is transmitted.
  • the manner in which the message 3 is sent is used to indicate the target TBS.
  • the target TBS is indicated by the sending manner of the message 3, so that the network device can decode the message 3 according to the target TBS, which simplifies the decoding process.
  • the DMRS sequence used to send message 3 can be used to indicate the target TBS.
  • the network device can determine the target TBS by determining which DMRS sequence is used to send the message 3, so as to facilitate accurate decoding according to the target TBS.
  • the DMRS sequence has a one-to-one correspondence or a many-to-one relationship with the TBS, and one TBS can correspond to at least one DMRS sequence.
  • the TBS corresponding to the DMRS sequence is the target TBS.
  • the TBSs corresponding to the DMRS1, DMRS2, and DMRS3 sequences are TBS1, TBS2, and TBS3, respectively. Then, when the message 3 is transmitted using the DMRS2 sequence, the TBS2 is the target TBS.
  • the offset of the start time domain position of the physical uplink shared channel of the message 3 relative to the resource allocated by the network device in the time domain is used to indicate the target TBS.
  • the above starting time domain position may specifically be the starting symbol position.
  • the network device can determine the target TBS by transmitting the offset of the starting time domain location of the physical uplink shared channel of the message 3 with respect to the resource allocated by the network device in the time domain, so as to facilitate accurate decoding according to the target TBS.
  • the start time domain position of the physical uplink shared channel that sends the message 3 has a one-to-one correspondence or a many-to-one relationship with the TBS in the time domain relative to the resource allocated by the network device, and one TBS may correspond to at least one
  • the offset value when the sending message 3 corresponds to a certain offset value, the TBS corresponding to the offset value is the target TBS.
  • the offset value of the start time domain position of the physical uplink shared channel for transmitting the message 3 relative to the resource allocated by the network device in the time domain includes offset1, offset2, offset3, and offset4, and the TBS corresponding to the offset values are respectively TBS1, TBS2, TBS3, and TBS4, then, when the initial time domain location of the physical uplink shared channel for transmitting message 3 is offset2 in the time domain relative to the resource allocated by the network device, TBS2 is the target TBS.
  • a second aspect provides a method for transmitting data in a random access process, the method comprising: receiving a message 1 sent by a terminal device; sending a message 2 to the terminal device in response to the message 1, the message 2 includes uplink authorization information, where The uplink authorization information includes first indication information, where the first indication information is used to indicate the transport block size TBS allowed in the message 3; the message 3 sent by the terminal device is received; the network device determines the target TBS according to the sending manner of the message 3; 3 for decoding.
  • the method in the second aspect of the present application corresponds to the method in the first aspect, wherein the method in the first aspect can be performed by a terminal device, and the method in the second aspect can be performed by a network device.
  • the present application can determine the target TBS according to the manner of sending the message 3, and can further decode the message 3 according to the target TBS, thereby improving the decoding efficiency of the uplink data.
  • the manner in which the message 3 is sent is used to indicate the target TBS.
  • the DMRS sequence used to send the message 3 may be used to indicate the target TBS;
  • the network device can determine the target TBS by determining which DMRS sequence is used to transmit the message 3, so as to facilitate accurate decoding according to the target TBS.
  • the DMRS sequence has a one-to-one correspondence or a many-to-one relationship with the TBS, and one TBS can correspond to at least one DMRS sequence.
  • the TBS corresponding to the DMRS sequence is the target TBS.
  • the TBSs corresponding to the DMRS1, DMRS2, and DMRS3 sequences are TBS1, TBS2, and TBS3, respectively. Then, when the message 3 is transmitted using the DMRS2 sequence, the TBS2 is the target TBS.
  • the initial time domain location of the physical uplink shared channel that sends the message 3 is offset from the resource allocated by the network device in the time domain.
  • the above starting time domain position may be a starting symbol position.
  • the network device can determine the target TBS by transmitting the offset of the starting time domain location of the physical uplink shared channel of the message 3 with respect to the resource allocated by the network device in the time domain, so as to facilitate accurate decoding according to the target TBS.
  • the start time domain position of the physical uplink shared channel that sends the message 3 has a one-to-one correspondence or a many-to-one relationship with the TBS in the time domain relative to the resource allocated by the network device, and one TBS may correspond to at least one
  • the offset value when the sending message 3 corresponds to a certain offset value, the TBS corresponding to the offset value is the target TBS.
  • the offset value of the start time domain position of the physical uplink shared channel for transmitting the message 3 relative to the resource allocated by the network device in the time domain includes offset1, offset2, offset3, and offset4, and the TBS corresponding to the offset values are respectively TBS1, TBS2, TBS3, and TBS4, then, when the initial time domain location of the physical uplink shared channel for transmitting message 3 is offset2 in the time domain relative to the resource allocated by the network device, TBS2 is the target TBS.
  • an apparatus for transmitting data in a final random access procedure comprising means for performing the method of the first aspect or various implementations thereof.
  • an apparatus for transmitting data in a random access procedure comprising means for performing the method of the second aspect or various implementations thereof.
  • a fifth aspect provides an apparatus for transmitting data in a random access process, the apparatus comprising: a memory for storing a program; a processor and a transceiver, wherein the processor is configured to execute the program stored by the memory, The processor and the transceiver are operative to perform the method of the first aspect or various implementations thereof when the program is executed.
  • the processor controls the transceiver to perform the signal transceiving when a signal is required to be transceived.
  • a sixth aspect provides an apparatus for transmitting data in a random access process, the apparatus comprising: a memory for storing a program; a processor and a transceiver, wherein the processor is configured to execute the program stored by the memory, The processor and the transceiver are operative to perform the method of the second aspect or various implementations thereof when the program is executed.
  • the processor controls the transceiver to perform the signal transceiving when a signal is required to be transceived.
  • the devices in the above third and fifth aspects may be terminal devices.
  • the devices in the above fourth and sixth aspects may be network devices.
  • a computer readable medium storing program code for device execution, the program code comprising instructions for performing the method of the first aspect or various implementations thereof.
  • a computer readable medium storing program code for device execution, the program code comprising instructions for performing the method of the second aspect or various implementations thereof.
  • a computer program code comprising instructions for performing the method of the first aspect or various implementations thereof.
  • a computer program code comprising instructions for performing the method of the second aspect or various implementations thereof.
  • FIG. 1 is a schematic structural diagram of a communication system to which an embodiment of the present application is applied;
  • FIG. 2 is a schematic flowchart of a method for transmitting data in a random access process according to an embodiment of the present application
  • Figure 3 is a schematic structural diagram of Message 2
  • FIG. 5 is a flowchart of a method for transmitting data in a random access procedure according to an embodiment of the present application
  • FIG. 6 is a flowchart of a method for transmitting data in a random access procedure according to an embodiment of the present application
  • FIG. 7 is a schematic diagram of a method for transmitting data in a random access procedure according to an embodiment of the present application.
  • FIG. 8 is a schematic block diagram of an apparatus for transmitting data in a random access procedure according to an embodiment of the present application.
  • FIG. 9 is a schematic block diagram of an apparatus for transmitting data in a random access procedure according to an embodiment of the present application.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access
  • the terminal device in the embodiment of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or User device.
  • the terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), with wireless communication.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • the network device in the embodiment of the present application may be a device for communicating with the terminal device, and the network device may also be a wireless controller in a cloud radio access network (CRAN) scenario, or the network device may be
  • CRAN cloud radio access network
  • the embodiment of the present application is not limited to a relay station, an access point, an in-vehicle device, a wearable device, a network device in a future 5G network, or a network device in a future evolved PLMN network.
  • FIG. 1 is a schematic structural diagram of a communication system to which an embodiment of the present application is applied.
  • the communication system shown in FIG. 1 includes a network device and a terminal device.
  • the terminal device can access the mobile communication network by means of random access, and the terminal device can also be randomly connected.
  • the uplink data can be sent to the network device during the incoming process.
  • the communication system applied in the embodiment of the present application may be a system including multiple network devices and multiple terminal devices, and FIG. 1
  • the network device in the network device may specifically include an access network device, a core network device, and the like.
  • the network device shown in FIG. 1 may be an access device in which the terminal device accesses the communication system in a wireless manner, and may be a base station (NodeB), an evolved base station (eNodeB), or a base station in a 5G communication system.
  • NodeB base station
  • eNodeB evolved base station
  • 5G communication system a base station in a 5G communication system.
  • the specific technology and the specific device configuration adopted by the network device are not limited in the embodiment of the present application, such as a base station in a future communication system or an access node in a wireless fidelity (WiFi) system.
  • WiFi wireless fidelity
  • FIG. 1 is only a schematic diagram of a communication system that may be applied to the embodiments of the present application.
  • the embodiments of the present application may also be applied to other communication systems that can implement communication between a network device and a terminal device.
  • the specific form of the applied communication system is not limited.
  • the embodiment of the present application can also be specifically applied to a communication system in a Narrow Band Internet of Things (NB-IoT), and an enhanced machine type communication (eMTC) system.
  • NB-IoT Narrow Band Internet of Things
  • eMTC enhanced machine type communication
  • FIG. 2 is a schematic flowchart of a method for transmitting data in a random access procedure according to an embodiment of the present application.
  • the method shown in FIG. 2 can be performed by the terminal device.
  • the method shown in FIG. 2 specifically includes steps 101 to 104, and the steps 101 to 104 are respectively described in detail below.
  • Message 1 may also be referred to as a Msg1 (Message 1) message, and message 1 may specifically be a preamble (Preamble).
  • the terminal device may randomly select resources to send the preamble sequence. If multiple terminal devices send the same preamble sequence on the same resource, a collision may occur; if multiple terminals send different on the same resource. Before the sequence, and these sequences are orthogonal, then no collision will occur.
  • the above message 2 includes uplink grant information (UL grant), which in turn includes first indication information, which is used for the TBS allowed in the message 3.
  • UL grant uplink grant information
  • first indication information which is used for the TBS allowed in the message 3.
  • the foregoing first indication information may further specifically indicate a maximum TBS allowed in the message 3.
  • the first indication information may indicate that the maximum TBS allowed in the message 3 is 1000 bits, and the maximum allowed TBS in the message 3 cannot exceed 1000 bits.
  • the network device After detecting the preamble sequence on a certain time-frequency resource, the network device carries the preamble sequence in message 2 (Msg2), indicating that the network device detects the preamble sequence, and the network device also carries random access in message 2. Response (RAR). How many RARs (random access responses) the network device carries in the message 2, how many preamble sequences are detected on the time-frequency resource.
  • Msg2 message 2
  • RAR Random access responses
  • the message 2 includes a MAC frame header and a random access response, and in addition, the message 2 may further include padding.
  • the MAC header includes a number of MAC subheaders, and the MAC header includes a backoff identifier and a random access preamble identifier.
  • n is an integer greater than or equal to 1 preamble sequence
  • the MAC frame header in message 2 includes n Random Access Preamble Identifiers (RAPIDs), message 2
  • RAPIDs Random Access Preamble Identifiers
  • the random access response in the middle includes n random access responses (MAC RAR1, MAC RAR2...MAC RARn).
  • the specific structure of the random access response is as shown in FIG. 4, and the random access response specifically includes: timing advanced command, uplink grant (UL Grant), and cell radio network temporary identifier (Cell Radio) Network Temporary Identifier (C-RNTI) and Reserved bits.
  • UL Grant uplink grant
  • C-RNTI Cell Radio Network Temporary Identifier
  • the message 2 includes uplink grant information (UL grant), and the uplink grant information includes first indication information, where the first indication information and the TBS threshold jointly indicate that the TBS is allowed to be adopted.
  • the allowed TBS can be greater than or equal to or less than the TBS threshold.
  • the TBS threshold is equal to 424 bits, and the TBS allowed to be employed may be determined to be 504 bits or 424 bits or 408 bits according to the first indication information and the TBS threshold.
  • the first indication information and the TBS threshold jointly indicate that the maximum TBS allowed by the message 3 is adopted.
  • the maximum allowed TBS may be greater than or equal to or less than the TBS threshold.
  • the TBS threshold is equal to 776 bits, and the maximum allowed TBS allowed to be employed according to the first indication information and the TBS threshold may be 808 bits or 776 bits or 712 bits.
  • the foregoing TBS threshold may be a preset agreement value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
  • the message 2 includes uplink grant information (UL grant), and the uplink grant information may further include third indication information, where the third indication information indicates the number of resource units of the message 3.
  • the third indication information and the TBS threshold jointly indicate the number of resource units of the message 3. For example, when the TBS threshold is 776 bits and the third indication information is '100', the number of resource units is indicated as 5.
  • the TBS allowed by Msg3 is determined according to the number of resource units.
  • the allowed TBS can be greater than or equal to or less than the TBS threshold.
  • the TBS threshold of the column is included in the TBS set of the column according to the column of the number of resource units, and if the TBS threshold is included, the allowed TBS is equal to the TBS threshold.
  • the number of resource units is 5
  • the index of a resource unit corresponding to I RU is equal to 4
  • the TBS threshold includes 776 bits in the TBS set, so it is determined that the allowed TBS is 776 bits.
  • the TBS in the TBS set that is closest to the TBS threshold and greater or smaller than the TBS threshold is determined as the allowed TBS.
  • the TBS threshold is 872 bits
  • the number of resource units is 6, and the determined TBS set is ⁇ 152, 208, 256, 328, 408, 504, 600, 712, 808, 936, 1000 ⁇ .
  • the TBS threshold 872 bits are not included in the TBS set, and the TBS in the TBS set that is closest to the TBS threshold 872 bits and larger than the TBS threshold is determined as the allowed TBS, that is, the determination 936 is the allowed TBS.
  • the maximum allowed TBS may be determined according to the number of resource units. Similarly, in Table 1, it may be determined whether the TBS threshold is included in the TBS set of the column according to the column of the number of resource units, and if the TBS threshold is included, the maximum allowed TBS is the TBS threshold. If the TBS threshold is not included in the TBS set, the TBS in the TBS set that is closest to the TBS threshold and greater or smaller than the TBS threshold is determined as the maximum TBS allowed to be employed.
  • the TBS threshold is 872 bits
  • the number of resource units is 6, and the determined TBS set is ⁇ 152, 208, 256, 328, 408, 504, 600, 712, 808, 936, 1000 ⁇ .
  • the TBS threshold 872 bits are not included in the TBS set, and the TBS in the TBS set that is closest to the TBS threshold 872 bits and greater than the TBS threshold is determined as the maximum allowed TBS, ie, the determination 936 is the maximum allowed TBS.
  • the foregoing TBS threshold may be a preset agreement value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
  • the TBS threshold is 1000
  • the third indication information in the UL Grant is '011', '100', '101', '110', '111'
  • the number of different resource units is determined.
  • the maximum allowed TBS is as shown in Table 2. For example, if the UL Grant is 011 and the TBS threshold is 1000, the maximum allowed TBS is 1000, and the number of resource units (RU: resource unit) is 4.
  • the TBS threshold is 872
  • the third indication information in the UL Grant is '011', '100', '101', '110', '111'
  • the maximum TBS allowed to be used is shown in Table 3.
  • the third indication information in the UL Grant is '011', '100', '101', '110', '111', and is determined under different resource unit numbers.
  • the maximum TBS allowed to be used is shown in Table 4.
  • the TBS threshold is 680
  • the third indication information in the UL Grant is '011', '100', '101', '110', '111'
  • the maximum TBS allowed to be used is shown in Table 5.
  • the TBS threshold is 504
  • the third indication information in the UL Grant is '011', '100', '101', '110', '111'
  • the maximum TBS allowed to be used is shown in Table 6.
  • the TBS threshold is 424
  • the third indication information in the UL Grant is '011', '100', '101', '110', '111'
  • the maximum TBS allowed to be used is shown in Table 7.
  • the third indication information in the UL Grant is '011', '100', '101', '110', '111', and is determined under different resource unit numbers.
  • the maximum TBS allowed to be used is shown in Table 8.
  • Table 8 TBS threshold is 328
  • the TBS threshold is 256
  • the third indication information in the UL Grant is '011', '100', '101', '110', '111'
  • the maximum TBS allowed to be used is shown in Table 9.
  • TBS threshold is 256
  • Tables 2 to 9 are merely examples.
  • the correspondence between the UL grant in the table and the maximum allowed TBS and the number of resource units allowed in the present invention is not limited in the present invention.
  • Table 2 may also be 011 corresponding to 1000 bits, 6 RUs.
  • the maximum TBS allowed to be used may also be replaced with a TBS that is allowed to be employed. At the same time, the maximum TBS allowed to be used may also be smaller than the TBS threshold. In Tables 2 to 9, only the case where the TBS threshold is greater than or equal to is listed.
  • the message 2 includes uplink grant information (UL grant), and the uplink grant information may further include fourth indication information, where the fourth indication information indicates a TBS index of the message 3.
  • the fourth indication information and the TBS threshold jointly indicate the TBS index of the message 3. For example, when the TBS threshold is 776 bits and the third indication information is '100', the TBS index I TBS is indicated to be 5.
  • TBS The TBS index to determine the I Msg3 allowed TBS employed.
  • the allowed TBS can be greater than or equal to or less than the TBS threshold.
  • the TBS threshold of the row is included in the TBS set of the row according to the row where the TBS index I TBS is located, and if the TBS threshold is included, the allowed TBS is equal to the TBS threshold.
  • the TBS index I TBS is 9, and the TBS set of the row in which the TBS index I TBS is located is determined to be ⁇ 136, 296, 456, 616, 776, 936 ⁇ .
  • the TBS threshold includes 776 bits in the TBS set, so it is determined that the allowed TBS is 776 bits.
  • the TBS in the TBS set that is closest to the TBS threshold and greater or smaller than the TBS threshold is determined as the allowed TBS. For example, if the TBS threshold is 872 bits, the TBS in the TBS set that is closest to the TBS threshold 872 bits and greater than the TBS threshold is determined as the allowed TBS, ie, the determination 936 is the allowed TBS. Or the TBS in the TBS set that is closest to the TBS threshold 872 bits and smaller than the TBS threshold is determined as the allowed TBS, ie, the determination 776 is the allowed TBS.
  • TBS threshold is included in the TBS set of the row, and if the TBS threshold is included, the maximum TBS allowed is the TBS threshold. If the TBS threshold is not included in the TBS set, the TBS in the TBS set that is closest to the TBS threshold and greater or smaller than the TBS threshold is determined as the maximum TBS allowed to be employed.
  • the foregoing TBS threshold may be a preset agreement value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
  • the determined target TBS may be made less than or equal to the allowed TBS.
  • the candidate TBSs may exist in the form of a list.
  • the terminal device may determine the target TBS from the candidate TBSs according to the lookup table.
  • the above candidate TBS is all available TBSs when message 3 can be sent.
  • the target TBS finally selected from the candidate TBSs is at most 1000 bits.
  • the terminal device may further perform determining according to the preset condition, and determine whether to perform step 103 according to the determination result.
  • determining whether to perform step 103 according to whether the terminal device meets the preset condition includes the following content:
  • the terminal device When the terminal device meets the preset condition, the terminal device performs step 103;
  • the terminal device When the terminal device does not meet the preset condition, the terminal device sends the message 3 to the network device according to the allowed TBS and the resource location indicated by the first indication information in the message 2.
  • the preset condition may be any one of the following preset conditions 1 to 3, or the preset condition is any one of the preset conditions 4 and 5, or the preset condition is the preset condition 6 In any one of 8 or above, the preset condition may be a combination of any one of the preset conditions 1 to 3 and any one of the preset conditions 6 to 8, or the preset condition is also It may be a combination of any one of the preset conditions 4 and 5 and any one of the preset conditions 6 to 8.
  • Preset condition 1 The coverage level corresponding to the message 1 sent by the terminal device to the network device is lower than the coverage level threshold;
  • Preset condition 2 the coverage level corresponding to the message 1 sent by the terminal device to the network device is higher than the coverage level threshold;
  • Preset condition 3 the coverage level corresponding to the message 1 sent by the terminal device to the network device is equal to the coverage level threshold;
  • Preset condition 4 the coverage level corresponding to the message 1 sent by the terminal device to the network device belongs to the coverage level set indicated by the base station;
  • Preset condition 5 the coverage level corresponding to the message 1 sent by the terminal device to the network device does not belong to the coverage level set indicated by the base station;
  • Preset condition 6 The TBS allowed by the terminal device is greater than the TBS threshold
  • Preset condition 7 The TBS allowed by the terminal device is less than the TBS threshold
  • Preset condition 8 The TBS allowed by the terminal device is equal to the TBS threshold.
  • the coverage level reflects the distance between the terminal device and the network device, or the cell coverage quality or the quality of the signal link. The smaller the current coverage level of the terminal device, the closer the terminal device is to the network device or the better the cell coverage quality or The better the signal link quality.
  • the foregoing coverage level threshold may be an appointment value, or may be notified to the terminal device by the network device by using the indication information (for example, by notifying the terminal device by carrying the parameter in the message), the indication information is used to indicate the coverage level threshold.
  • the specific value of the above coverage level threshold may be 2.
  • the foregoing coverage level set may be an appointment set, or the network device notifies the terminal device by using the indication information (for example, by notifying the terminal device by carrying the parameter in the message), the indication information is used to indicate the coverage level set.
  • the foregoing TBS threshold may be an agreed value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
  • the current coverage level of the terminal device may be determined by the terminal device according to the measurement result of the measurement quantity and the threshold value of the measurement quantity, wherein the threshold value of the measurement quantity is determined by parameters configured by the network device.
  • the above measurement quantity may be Reference Signal Received Power (RSRP), or the measurement quantity is Narrowband Reference Signal Received Power (NRSRP).
  • RSRP Reference Signal Received Power
  • NRSRP Narrowband Reference Signal Received Power
  • the terminal device may determine, according to the measurement result of the current measurement quantity and the threshold value of the measurement quantity configured by the network device, a coverage level corresponding to the message 1 sent by the terminal device to the network device.
  • the base station is configured with a threshold of NRSRP, and the threshold of the NRSRP includes an NRSRP threshold 1 and an NRSRP threshold 2.
  • the coverage level corresponding to the message 1 sent by the terminal device to the network device is 0; when the NRSRP measurement quantity of the terminal device is greater than or equal to the NRSRP threshold 1 being lower than the NRSRP threshold 2, the terminal device The coverage level corresponding to the message 1 sent to the network device is the coverage level 1.
  • the coverage level corresponding to the message 1 sent by the terminal device to the network device is the coverage level 2.
  • the network device when determining the coverage level corresponding to the message 1 sent by the terminal device to the network device, the network device configures the corresponding message 1 resource for each coverage level.
  • the candidate TBS may be selected according to a column in which the allowed TBS is located. For example, in Table 1, if the allowed TBS is 504 bits and the number of resource units is 5, the TBS in the column corresponding to I RU equal to 4 determines the candidate TBS.
  • the candidate TBS may be less than or equal to the allowed TBS.
  • the terminal device After receiving the message 2, it is checked whether the preamble sequence sent before the terminal device is carried in the message 2. If the message 2 does not include the preamble sequence sent by the terminal device, the random access fails, the terminal device needs to perform step 101 to resend the message 1 again; if the message 2 includes the preamble sequence sent by the terminal device, the terminal device The message 3 is transmitted according to the time-frequency resource indicated by the uplink grant (UL grant) in the random access response corresponding to the preamble sequence.
  • the terminal device carries the Cell radio network temporary identifier (C-RNTI) of the terminal device or the terminal device identifier from the core network in the message 3. Therefore, the message 3 carries the unique identifier of the UE, and is used to identify the current terminal device that requests access.
  • C-RNTI Cell radio network temporary identifier
  • the message 3 may further include other necessary steps.
  • the terminal device receives the contention resolution message, that is, the message 4, from the network device, and may refer to the prior art.
  • message 3 in step 104 contains uplink data transmitted in accordance with the target TBS. That is to say, the uplink data can be sent to the network device through the message 3, so that the uplink data is sent to the network device in the random access process.
  • the present application can freely select a target TBS from the candidate TBS according to the allowed TBS, and the selected target TBS is less than or equal to the allowed TBS. Therefore, the present application can allow the terminal device to independently select a suitable TBS without having to completely use the network device.
  • the indicated allowed TBS improves the flexibility of the terminal device to determine the TBS, thereby improving the transmission efficiency of the uplink data in the random access process.
  • determining the target TBS in the candidate TBS according to the allowed TBS specifically: determining, according to the allowed TBS, at least one TBS in the candidate TBS; according to the size of the uplink data, from at least A target TBS that can be used to transmit uplink data is determined in one TBS.
  • the TBS of each of the at least one TBS is less than or equal to the allowed TBS.
  • the at least one TBS may form a first TBS set, and determining, from the at least one TBS, a target TBS that can be used for transmitting uplink data is actually determining a target TBS that can be used for transmitting uplink data from the first TBS set.
  • the meaning of the first TBS set representation is consistent with the meaning of the at least one TBS described above, and the related content of the first TBS set is directly described below.
  • the following is a detailed description of determining the first TBS set in the candidate TBS according to the allowed TBS, and determining the target TBS that can be used for transmitting the uplink data from the first TBS set according to the uplink data size.
  • the first TBS set is determined in the candidate TBS according to the allowed TBS.
  • any of the first mode to the fourth mode may be employed to determine the first TBS set.
  • the first mode is: determining, by using a TBS that is less than or equal to the allowed TBS in the candidate TBS, a preset number of TBSs as the TBS in the first TBS set.
  • the first method is equivalent to first determining a second TBS set from the candidate TBS, where any one of the second TBS sets is less than or equal to the allowed TBS, and then, from the second TBS set.
  • a preset number of TBSs are selected as the TBS in the first TBS set.
  • the selection may be performed in descending order of values, and the TBS with a larger value is preferentially selected as the first TBS set. TBS until the number of selected TBSs reaches the preset number.
  • the candidate TBS is ⁇ TBS1, TBS2, TBS3, TBS4, TBS5, TBS6 ⁇ , wherein the values of TBS1 to TBS6 are sequentially ⁇ 144, 328, 504, 680, 872, 1000 ⁇ , and the maximum TBS allowed is 900.
  • TBS1 to TBS5 in the candidate TBS may be determined as elements in the second TBS set, and the obtained second TBS set is ⁇ TBS1, TBS2, TBS3, TBS4, TBS5. ⁇ .
  • four TBSs are selected from the second TBS set in descending order of values as TBSs in the first TBS set, and the first TBS set is obtained as ⁇ TBS2, TBS3, TBS4, TBS5 ⁇ .
  • the TBS values may be selected in descending order, and the TBS with a smaller value is preferentially selected as the first TBS.
  • a preset number of TBSs are randomly selected from the second TBS set without considering the size of the TBS value.
  • the terminal device may specifically map, according to a preset rule, a TBS (n is an integer greater than or equal to 1) TBS: TBS1 that may be sent in the available resources. TBS2...TBSn, and then select a certain TBS from the n types of TBSs as the target TBS according to the size of the uplink data.
  • the candidate TBS is ⁇ 144, 328, 504, 680, 872, 1000 ⁇ . If each TBS in the candidate TBS is less than or equal to 1000 bits, then 1000, 872, 680, and 504 may be selected from the candidate TBSs in descending order as the first TBS set, and the first TBS set is obtained as ⁇ 504. , 680, 872, 1000 ⁇ .
  • the first TBS set can also be determined in a manner similar to the previous paragraph.
  • the maximum TBS allowed to be used is 1000 bits.
  • the obtained first TBS set is ⁇ 408, 552, 680 ⁇
  • I TBS 8 indicated in the uplink grant information.
  • the obtained first TBS set is ⁇ 392, 536, 680, 808 ⁇ .
  • the second mode is: determining, from the TBS that is less than or equal to the allowed TBS in the candidate TBS, that the TBS is greater than the preset value as the TBS in the first TBS set.
  • the second TBS set may be determined from the candidate TBS, where any one of the second TBS sets is less than or equal to the allowed TBS, and then from the second A TBS larger than a preset value is selected in the TBS set as a TBS in the first TBS set.
  • the candidate TBS is ⁇ TBS1, TBS2, TBS3, TBS4, TBS5, TBS6 ⁇ , wherein the values of TBS1 to TBS6 are sequentially ⁇ 144, 328, 504, 680, 872, 1000 ⁇ , and the maximum allowed TBS value is 900. Only TBS6 in the candidate TBS is greater than the maximum allowed TBS. Therefore, TBS1 to TBS5 in the candidate TBS may be determined as elements in the second TBS set, and the obtained second TBS set is ⁇ TBS1, TBS2, TBS3, TBS4. , TBS5 ⁇ .
  • a TBS whose value is greater than 500 (where 500 is only an example, and other values can be set according to the situation in actual processing) is selected from the second TBS set as the TBS in the first TBS set. Since only the values of TBS3, TBS4, and TBS5 in the second TBS set are greater than 500, the first TBS set is obtained as ⁇ TBS3, TBS4, TBS5 ⁇ .
  • the third method is: determining, from the TBS that is less than or equal to the allowed TBS, the TBS that is greater than the preset value, and then selecting the preset number of TBSs from the TBS that is greater than the preset value as the first TBS set. TBS in.
  • the terminal device first determines the second TBS set from the candidate TBS, and any one of the second TBS sets is less than or equal to the allowed TBS, and then from the second TBS.
  • a TBS greater than a preset value is selected in the set as a TBS in the third TBS set, and finally a preset number of TBSs are selected from the third TBS set as a TBS in the first TBS set.
  • the candidate TBS is ⁇ TBS1, TBS2, TBS3, TBS4, TBS5, TBS6 ⁇ , wherein the values of TBS1 to TBS6 are sequentially ⁇ 144, 328, 504, 680, 872, 1000 ⁇ , and the maximum allowed TBS is 900 bits. Only TBS6 in the candidate TBS is larger than the maximum allowed TBS. Therefore, TBS1 to TBS5 in the candidate TBS may be determined as elements in the second TBS set, and the obtained second TBS set is ⁇ TBS1, TBS2, TBS3, TBS4, TBS5. ⁇ .
  • TBSs TBS4, TBS5, and TBS6 greater than 550 are selected as the third TBS set from the second TBS set, and the third TBS set is obtained as ⁇ TBS4, TBS5, and TBS6 ⁇ , and finally from the third TBS set.
  • TBSs TBS5 and TBS6 from the largest to the smallest as the TBS in the first TBS set, and obtaining the first TBS set as ⁇ TBS5, TBS6 ⁇
  • the fourth mode is: determining a preset number of TBSs from the TBSs that are less than or equal to the allowed TBSs in the candidate TBS, and then selecting a TBS greater than the preset value from the preset number of TBSs as the first TBS set. TBS.
  • the terminal device first determines a second TBS set from the candidate TBS, where any one of the second TBS sets is less than or equal to the allowed TBS, and then from the second TBS.
  • a preset number of TBSs are selected as the TBSs in the third TBS set, and finally TBSs larger than the preset value are selected from the third TBS set as the TBSs in the first TBS set.
  • the candidate TBS is ⁇ TBS1, TBS2, TBS3, TBS4, TBS5, TBS6 ⁇ , wherein the values of TBS1 to TBS6 are sequentially ⁇ 144, 328, 504, 680, 872, 1000 ⁇ , and the maximum allowed TBS is 900 bits. Only TBS6 in the candidate TBS is larger than the maximum allowed TBS. Therefore, TBS1 to TBS5 in the candidate TBS may be determined as elements in the second TBS set, and the obtained second TBS set is ⁇ TBS1, TBS2, TBS3, TBS4, TBS5. ⁇ .
  • TBS2 TBS2, TBS3, TBS4, and TBS5
  • TBS2 TBS2, TBS3, TBS4, and TBS5 ⁇
  • TBS4 ⁇ TBS5 ⁇
  • TBS5 ⁇ TBS5 ⁇ whose value is greater than 600 from the TBS in the third TBS set as the TBS in the first TBS set, and obtain the first TBS set as ⁇ TBS4, TBS5 ⁇ .
  • the foregoing third mode and the fourth mode are respectively equivalent to the combination of the foregoing first mode and the second mode, respectively, in the first mode and the second mode, after determining the second TBS set And selecting, by the second TBS set, a preset number of TBSs or TBSs greater than a predetermined value as the TBSs in the first TBS set.
  • the preset value is greater than the preset value, and the third type is compared with the first type and the second mode.
  • the mode and the fourth mode can select a TBS that better matches the uplink data to be finally transmitted from the candidate TBS, and simplifies the process of determining the target TBS from the first TBS set according to the uplink data size.
  • the seventh mode is: determining, by using a TBS that is less than or equal to the allowed TBS in the candidate TBS, a preset number of TBSs as the TBS in the first TBS set.
  • the second TBS set may be determined from the candidate TBS, where the second TBS set includes at least the TBS allowed to be used. Any one of the TBSs in the second set is less than or equal to the allowed TBS. Then, from the second set, a predetermined number of TBSs are selected at equal intervals.
  • the predetermined number of TBSs are equally spaced, and may be equal to each other according to the equal TBS interval, that is, the difference between the TBSs that are sequentially selected, starting from the allowed TBS, and from large to small. Order until a preset number of TBSs are selected.
  • the predetermined number of TBSs may be selected in equal intervals, and may be in the TBS column corresponding to the resource unit, according to the equally spaced TBS index, that is, the difference between the indexes corresponding to the TBSs sequentially selected. Equally, starting from the index corresponding to the allowed TBS, in descending order, until a preset number of TBSs are selected as the TBS in the first TBS set.
  • the TBS column corresponding to the resource unit is a column in which I RU is equal to 4, and the allowed TBS is 872, and the corresponding index I TBS is equal to 10. Then, according to the interval 2, four from the largest to the smallest.
  • the TBS index is 10, 8, 6, 4, that is, the TBS in the first TBS set is 872, 680, 504, 328.
  • the predetermined number of TBSs may be selected at equal intervals, which may be equal to the ratio of the TBSs, that is, the ratios of the TBSs sequentially selected are equal, starting from the allowed TBS, from large to small.
  • the preset value is 4, and the TBS in the selected first TBS set is the allowed TBS, TBS1, TBS2, and TBS3, and the ratio between the adjacent TBSs is allowed to be used by TBS/TBS1, TBS1/TBS2, TBS2/TBS3, the ratio is nearly equal.
  • the ratios are nearly equal to each other. It can be understood that the difference between the individual ratios is less than a threshold, such as 0.2.
  • the eighth mode determining, from the candidate TBS that is less than or equal to the maximum allowed TBS, determining a preset number of TBSs greater than a preset value as the TBS in the first TBS set.
  • the second TBS set may be determined from the candidate TBS, where the second TBS set includes at least a maximum TBS (TBS max ) and a minimum TBS (TBS min ) that are allowed to be used.
  • TBS min is a TBS that is equal to the preset value, or is closest to the preset value and greater than the preset value, or is directly specified by the protocol. Then, from the second set, a preset number of TBSs are selected at equal intervals as the TBS in the first TBS set.
  • the predetermined number of TBSs may be selected at equal intervals, and the TBS max and TBS min may be selected first, and then the difference between the TBSs that are sequentially selected according to the equal TBS interval is equal, and may be from TBS max.
  • TBS min in order from large to small, it is also possible to start from TBS min , in order from small to large, until a preset number of TBSs are selected.
  • the predetermined number of TBSs may be selected at equal intervals, and the TBS max and TBS min may be selected first, and then the difference between the TBSs that are sequentially selected according to the equal TBS interval is equal, and may be from TBS max.
  • TBS min in order from large to small, it is also possible to start from TBS min , in order from small to large, until a preset number of TBSs are selected.
  • the predetermined number of TBSs are selected at equal intervals, and the TBS max and TBS min may be selected first.
  • the ratio between the TBSs sequentially selected is nearly equal.
  • the preset value is 4, and the TBS in the selected first TBS set is TBS max , TBS1, TBS2, TBS min , and the ratio between adjacent TBSs is TBS max /TBS1, TBS1/TBS2, TBS2/TBS Min , the ratio is nearly equal.
  • the terminal device may determine, from the first TBS set, a target TBS that matches the uplink data according to the size of the uplink data.
  • the target TBS that matches the uplink data may refer to a TBS in the first TBS set that is greater than or equal to the size of the TB corresponding to the uplink data, and the difference in the size of the TB corresponding to the uplink data is within a certain range.
  • the following two manners may be used to determine, from the first TBS set, a target TBS that can be used to transmit the uplink data.
  • the fifth method is: first determining a TBS in the first TBS set that is greater than or equal to the size of the corresponding TB, and then arbitrarily selecting one TBS from the size of the TB corresponding to the uplink data in the first TBS set as the target TBS. .
  • the first TBS set is ⁇ TBS2, TBS3, TBS4, TBS5 ⁇
  • the values of TBS2 to TBS5 are respectively ⁇ 328, 504, 680, 872 ⁇
  • the size of the TB corresponding to the uplink data is 500 bits
  • the first can be from the first
  • the TBS in the TBS set that is greater than or equal to the TB size corresponding to the uplink data is ⁇ TBS3, TBS4, TBS5 ⁇
  • one TBS (such as TBS4) is arbitrarily selected from the ⁇ TBS3, TBS4, TBS5 ⁇ as the target TBS.
  • the sixth method is: first determining a TBS in the first TBS set that is greater than or equal to the size of the TB corresponding to the uplink data, and then selecting a value from the first TBS set that is greater than or equal to the TB corresponding to the uplink data.
  • TBS is the target TBS.
  • the first TBS set is ⁇ TBS2, TBS3, TBS4, TBS5 ⁇
  • the values of TBS2 to TBS5 are respectively ⁇ 328, 504, 680, 872 ⁇
  • the size of the TB corresponding to the uplink data is 500 bits
  • the first can be from the first
  • the TBS in the TBS set that is greater than or equal to the TB size corresponding to the uplink data is ⁇ TBS3, TBS4, TBS5 ⁇ , and then selects the TBS (TBS3) with the smallest value from the ⁇ TBS3, TBS4, TBS5 ⁇ as the target TBS.
  • a TBS with the largest value may be selected from the size of the TB corresponding to the uplink data in the first TBS set as the target TBS.
  • the TBS whose value of the TB corresponding to the uplink data is within a certain preset range may be selected from the size of the TB corresponding to the uplink data in the first TBS set as the target TBS. .
  • the first TBS set is ⁇ TBS1, TBS2, TBS3 ⁇ , where TBS1 is 504bit, TBS2 is 680bit, TBS3 is 872bit, and uplink data corresponds to TB size of 650bit, in TBS1, TBS2 and TBS3, TBS2 and TBS3
  • the difference between the size of the TB corresponding to the TBS2 and the uplink data is 30 bits, and the difference between the size of the TB corresponding to the uplink data is 222 bits, and the difference between the size of the TB corresponding to the uplink data and the difference of the TBS is assumed. If the range is less than or equal to 250 bits, and the difference between TBS2 and TBS3 and the uplink data is within the preset range of the difference, then one TBS can be arbitrarily selected from TBS2 and TBS3 as the target TBS.
  • the message 1 is carried on the first resource, where the message 1 is carried on the first resource, and is used to indicate that the uplink data is sent to the network device by using the message 3.
  • the first resource may be preset for implementing the indication function.
  • whether the message 1 is carried on a specific resource can flexibly indicate whether the uplink data is transmitted during the random access process, so that the network device can receive the uplink data.
  • the network device when the message 1 is carried on a specific resource (the first resource is a specific resource), the network device performs uplink data reception in the random access process, and when the message 1 is carried on other resources than the specific resource.
  • the network device completes the random access (specifically, after the RRC link is established), the uplink data can be received.
  • the uplink data may be transmitted to the network device in the random access process.
  • the network device decodes the message 3 to obtain the uplink data in the message 3. If the network device decodes the message 3, the network device requests to resend the message. 3, the specific process can be as shown in Figure 5.
  • FIG. 5 is a flowchart of a method for transmitting data in a random access procedure according to an embodiment of the present application.
  • the method shown in FIG. 5 can be performed by the terminal device.
  • the method shown in FIG. 5 specifically includes steps 201 to 209. Steps 201 to 209 are respectively described in detail below.
  • the terminal device sends a message 1 to the network device.
  • the foregoing message 1 may specifically be a preamble sequence for enabling a random access procedure.
  • the above message 1 may be sent on a specific resource, and the message device 1 is sent on a specific resource to indicate that the terminal device will send uplink data to the network device in the random access procedure.
  • the terminal device receives the message 2 sent by the network device.
  • the above message 2 includes uplink grant information (UL grant), which in turn includes first indication information, which is used for the TBS allowed in the message 3.
  • UL grant uplink grant information
  • first indication information which is used for the TBS allowed in the message 3.
  • the terminal device may determine the target TBS from the candidate TBSs according to the TBS allowed to be employed in the message 3 indicated by the first indication information.
  • the specific manner of determining the target TBS from the candidate TBS can be referred to above.
  • the above candidate TBS is all available TBSs when message 3 can be sent.
  • the above steps 201 and 202 correspond to the above steps 101 and 102, respectively, and the above definitions and explanations of the steps 101 and 102 are equally applicable to the steps 201 and 202.
  • the terminal device sends a message 3 to the network device.
  • the message 3 includes uplink data transmitted according to the target TBS.
  • the network device may acquire the uplink data from the message 3, and perform step 205.
  • the network device may instruct the terminal device to resend the message 3. To complete the transmission of the uplink data, that is, to perform step 206.
  • the network device acquires uplink data from message 3.
  • the network device sends the second indication information to the terminal device.
  • the second indication information is used to indicate resending the message 3 and the updated TBS used when resending the message 3.
  • the terminal device determines whether the updated TBS indicated by the second indication information is consistent with the target TBS.
  • step 208 needs to be performed when the updated TBS is consistent with the target TBS.
  • the updated TBS is inconsistent with the target TBS, it indicates that the network device does not correctly resolve the target TBS. Even if the terminal device subsequently retransmits the uplink data according to the target TBS through the message 3, the network device may not correctly decode the message. . Therefore, when the updated TBS is inconsistent with the target TBS, the random access needs to be re-executed, that is, step 209 is performed.
  • the terminal device resends the message 3 to the network device.
  • the retransmitted message 3 contains uplink data transmitted in accordance with the target TBS.
  • the terminal device re-executes random access.
  • the message 1 is sent to the network device again to re-execute the random access, where the retransmitted message 1 is carried on the second resource, and is used to indicate that the re-execution is performed randomly.
  • the uplink data is sent to the network device, and the second resource is different from the first resource.
  • the message 1 retransmitted when the random access is re-executed in step 209 may be carried on the first resource or the second resource.
  • the first resource is different from the second resource.
  • the retransmitted message 1 is carried on the first resource, it indicates that the uplink data is still sent in the random access procedure, and when the retransmitted message 1 is on the second resource, it indicates that it will be first in the next process.
  • the random access process is completed, and then the uplink data is sent to the network device.
  • the manner of message 3 is used to indicate the target TBS.
  • the target TBS is indicated by the sending manner of the message 3, so that the network device can decode the message 3 according to the target TBS, which simplifies the decoding process.
  • the DMRS sequence used to send message 3 can be used to indicate the target TBS.
  • the network device can determine the target TBS by determining which DMRS sequence is used to send the message 3, so as to facilitate accurate decoding according to the target TBS.
  • the DMRS sequence has a one-to-one correspondence or a many-to-one relationship with the TBS, and one TBS can correspond to at least one DMRS sequence.
  • the TBS corresponding to the DMRS sequence is the target TBS.
  • the TBSs corresponding to the DMRS1, DMRS2, and DMRS3 sequences are TBS1, TBS2, and TBS3, respectively. Then, when the message 3 is transmitted using the DMRS2 sequence, the TBS2 is the target TBS.
  • the correspondence between the DMRS sequence and the TBS may be preset, and the correspondence between the DMRS sequence and the TBS is known to both the terminal device and the network device.
  • the offset of the start time domain position of the physical uplink shared channel of the message 3 relative to the resource allocated by the network device in the time domain is used to indicate the target TBS.
  • the foregoing starting time domain location may specifically be a starting symbol location.
  • the network device can determine the target TBS by transmitting the offset of the starting time domain location of the physical uplink shared channel of the message 3 with respect to the resource allocated by the network device in the time domain, so as to facilitate accurate decoding according to the target TBS.
  • the start time domain position of the physical uplink shared channel that sends the message 3 has a one-to-one correspondence or a many-to-one relationship with the TBS in the time domain relative to the resource allocated by the network device, and one TBS may correspond to at least one
  • the offset value when the sending message 3 corresponds to a certain offset value, the TBS corresponding to the offset value is the target TBS.
  • the offset value of the start time domain position of the physical uplink shared channel for transmitting the message 3 relative to the resource allocated by the network device in the time domain includes offset1, offset2, offset3, and offset4, and the TBS corresponding to the offset values are respectively TBS1, TBS2, TBS3, and TBS4, then, when the initial time domain location of the physical uplink shared channel for transmitting message 3 is offset2 in the time domain relative to the resource allocated by the network device, TBS2 is the target TBS.
  • the correspondence between the foregoing offset value and the TBS may be preset, and the correspondence between the offset value and the TBS is known to both the terminal device and the network device.
  • the terminal device sends a PRACH preamble sequence (message 1) to the base station in a specific physical random access channel (PRACH) preamble sequence resource.
  • PRACH physical random access channel
  • the specific PRACH preamble sequence resource is specifically used for Early Data Transmission (EDT).
  • EDT Early Data Transmission
  • the terminal device will send uplink data during the random access procedure.
  • the base station detects the preamble sequence on the specific PRACH preamble sequence resource, determines that the uplink data transmission is an EDT, and determines to send the message 2 to the terminal device.
  • the base station sends a message 2 to the terminal device.
  • the base station Since the base station cannot determine the size of the uplink data to be sent by the terminal device, the base station allocates the uplink resource according to a preset TBS (for example, TBSn), and uses the uplink grant in the random access response of the message 2 ( UL grant) allocates resources for the terminal device to send message 3.
  • TBS for example, TBSn
  • the terminal device first sends a message 1 to the base station, and after receiving the message 1, the base station sends a message 2 to the terminal device on the physical downlink control channel (PDCCH).
  • PDCH physical downlink control channel
  • the terminal device maps, according to a preset rule, n types of TBSs that are possible to be transmitted in the allocated resources for the TBSn: TBS1, TBS2, ..., TBSn.
  • the terminal device maps the TBS for the TBSn to ⁇ 144, 328, 504 according to a preset rule. 680, 872, 1000 ⁇ .
  • the terminal device selects the most suitable TBS as the target TBS (which can be recorded as the selected TBS) according to the size of the uplink data that needs to be sent, among the n types of TBSs ⁇ TBS1, TBS2, . . . , TBSn ⁇ that may be sent, where The target TBS is used to transmit the uplink data in the message 3.
  • the terminal device may select a TBS with the smallest padding ratio for transmitting the message 3.
  • the message 3 includes a terminal ID of the terminal device and a Non Access Stratum Protocol Data Unit (NAS PDU) that needs to transmit uplink data.
  • NAS PDU Non Access Stratum Protocol Data Unit
  • the terminal device sends a message 3 according to the target TBS on the physical uplink shared channel.
  • the maximum TBS allowed by the network device is TBS2, and the terminal device selects TBS1 as the target TBS according to the size of the uplink data, and the terminal device sends the message 3 according to TBS1, because the resource corresponding to TBS2 is larger than the corresponding TBS1.
  • the resource therefore, the terminal device only uses part of the resources allocated by the network device in sending the message 3.
  • the resources allocated by the network device are partially surplus.
  • the manner in which the terminal device sends the message 3 is used to indicate the target TBS, and the base station can obtain the target TBS by using the message 3.
  • the terminal device may also send the message 3 according to the target TBS on the narrowband physical uplink shared channel.
  • the base station determines the target TBS according to the sending manner of the message 3.
  • the base station After determining the target TBS, the base station can demodulate and decode the message 3 according to the target TBS.
  • the DMRS sequence used to send message 3 can be used to indicate the target TBS.
  • the sizes of the TBSs corresponding to DMRS1, DMRS2, DMRS3, and DMRS4 are 504bit, 680bit, 872bit, and 1000bit, respectively. Then, when the terminal device selects the 680bit TBS as the target TBS, the terminal device selects DMRS2 to send the message 3, so that When the eNB determines that the DMRS sequence corresponding to the message 3 is DMRS2, the size of the target TBS is determined to be 680 bits according to the corresponding relationship between the DMRS sequence and the TBS.
  • the offset of the starting time domain location of the physical uplink shared channel of the message 3 relative to the resource allocated by the base station in the time domain is used to indicate the target TBS.
  • the sizes of the TBSs corresponding to the offset values of offset1, offset2, offset3, and offset4 are 504 bits, 680 bits, 872 bits, and 1000 bits, respectively. Then, when the terminal device selects the 680-bit TBS as the target TBS, the terminal device follows the corresponding offset. The value is sent to message 3, so that when the base station determines that the offset value is offset2, the size of the target TBS can be determined to be 680 bits according to the corresponding relationship between the offset value and the TBS.
  • the base station demodulates and decodes the message 3.
  • the base station does not correctly decode the message 3.
  • the base station retransmits the message 3 according to the determined target TBS scheduling terminal device.
  • the base station resends the message 3 in the scheduling terminal device only needs to schedule the terminal device to retransmit the uplink data according to the target TBS, and does not need to retransmit the uplink data according to the maximum TBS indicated in the message 2, and can save resources.
  • the maximum TBS indicated by the base station by the message 2 is 1000 bits
  • the target TBS identified by the base station is 504 bits. Then, when the base station decodes the message 3, the base station retransmits the message 3 according to the 504-bit TBS scheduling terminal device.
  • the base station may send a retransmission indication information to the terminal device, instructing the terminal device to resend the message 3, and the indication information may further indicate the updated TBS, so that the terminal device performs retransmission of the message 3 according to the updated TBS.
  • the terminal device determines whether the updated TBS matches the target TBS.
  • the terminal device retransmits the message 3. If the updated TBS does not match the target TBS, the terminal device device discards the random access procedure.
  • the terminal device may further initiate a random access procedure, and send uplink data to the base station in the random access procedure or after the random access procedure ends.
  • the base station blindly detects the TBS and decodes the message 3.
  • the base station sends a retransmission indication information to the terminal device through the PDCCH, instructing the terminal device to resend the message 3.
  • the terminal device determines whether the updated TBS indicated by the retransmission indication information is consistent with the target TBS (the target TBS is TBS1 at this time), and if the updated TBS is consistent with the target TBS, the terminal device is The message 3 is retransmitted to the base station according to TBS1.
  • the resource allocated by the base station for the terminal device is the resource corresponding to the TBS1, and the resource corresponding to the TBS1 can be used for all the retransmission of the message 3, and can be transmitted in the uplink data. Reduce waste of resources in the process.
  • the method for transmitting data in the random access process of the embodiment of the present application is described in detail above with reference to FIG. 1 to FIG. 7.
  • the device for transmitting data in the random access process of the embodiment of the present application is described below with reference to FIG. 8 to FIG.
  • the method of transmitting data in the random access procedure of the embodiment of the present application can be performed by the apparatus in FIGS. 8 and 9.
  • the repeated description is appropriately omitted below.
  • FIG. 8 is a schematic block diagram of an apparatus for transmitting data in a random access procedure according to an embodiment of the present application.
  • the apparatus 400 shown in Figure 8 includes:
  • the sending module 410 is configured to send a message 1 to the network device
  • the receiving module 420 is configured to receive the message 2 sent by the network device, where the message 2 includes uplink grant information, where the uplink grant information includes first indication information, where the first indication information is used to indicate that the message is allowed in the message 3.
  • the processing module 430 is configured to determine, according to the allowed TBS, a target TBS in the candidate TBS, where the target TBS is less than or equal to the allowed TBS;
  • the sending module 410 is further configured to send a message 3 to the network device, where the message 3 includes uplink data transmitted according to the target TBS.
  • the present application can freely select a target TBS from the candidate TBS according to the allowed TBS, and the selected target TBS is less than or equal to the allowed TBS. Therefore, the present application can allow the terminal device to independently select a suitable TBS without having to completely use the network device.
  • the indicated allowed TBS improves the flexibility of the terminal device to determine the TBS, thereby improving the transmission efficiency of the uplink data in the random access process.
  • the receiving module 420 receives the second indication information sent by the network device.
  • the sending module 410 is further configured to resend the message 3 to the network device or send the message 1 to the network device again to perform random access again, with specific reference to the corresponding description in the previous method embodiment.
  • FIG. 9 is a schematic block diagram of an apparatus for transmitting data in a random access procedure according to an embodiment of the present application.
  • the apparatus 500 shown in Figure 9 includes:
  • a memory 510 configured to store a program
  • the transceiver 520 is configured to send a message 1 to the network device.
  • the transceiver 520 is further configured to receive the message 2 sent by the network device, where the message 2 includes uplink grant information, the uplink grant information includes first indication information, and the first indication information is used to indicate that the message 3 is The transport block size TBS allowed in use;
  • the processor 530 is configured to execute a program stored in the memory 510. When the program in the memory 510 is executed, the processor 530 is specifically configured to determine a target in the candidate TBS according to the allowed TBS. a TBS, the target TBS is less than or equal to the allowed TBS;
  • the transceiver 520 is further configured to send a message 3 to the network device, where the message 3 includes uplink data transmitted according to the target TBS.
  • the present application can freely select a target TBS from the candidate TBS according to the allowed TBS, and the selected target TBS is less than or equal to the allowed TBS. Therefore, the present application can allow the terminal device to independently select a suitable TBS without having to completely use the network device.
  • the indicated allowed TBS improves the flexibility of the terminal device to determine the TBS, thereby improving the transmission efficiency of the uplink data in the random access process.
  • the device 400 and the device 500 are specifically devices in a terminal device or a terminal device, and the device may include a chip or a chipset or a circuit board in the terminal device, and may also include other necessary software modules.
  • the apparatus 400 and the apparatus 500 may perform various steps of a method of transmitting data in a random access procedure of an embodiment of the present application.
  • Device 500 can include one or more chips.
  • processor 530 can execute the programs stored in memory 510 to implement the methods of the previous method embodiments.
  • the transceiving is implemented by controlling or invoking the transceiver 520.
  • a transmit operation or a receive operation involved in a method embodiment may be considered to be performed by at least one of transceiver 520 and processor 530.
  • the processor 530 acts as the initiator of the transmitting operation or the receiving operation, and the transceiver 520 acts as a specific executor of the transmitting operation or the receiving operation.
  • transceiver 520 can be a radio frequency unit including an upmixer for transmitting signals and a downmixer for receiving signals.
  • device 400 can be a software device or a hardware device. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
  • the method flow or function in the described embodiments can be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Abstract

The present application provides a method and a device for transmitting data during random access. The method comprises: sending a message 1 to a network device; receiving a message 2 sent by the network device, the message 2 comprising uplink authorization information, the uplink authorization information comprising first indication information, the first indication information being used to indicate an allowed transport block size (TBS) in a message 3; according to the allowed TBS, determining a target TBS from candidate TBSs, the target TBS being less than or equal to the allowed TBS; sending the message 3 to the network device, the message 3 comprising uplink data transmitted according to the target TBS. The present application can improve the efficiency of transmitting uplink data during random access.

Description

随机接入过程中传输数据的方法和装置Method and device for transmitting data in random access process 技术领域Technical field
本申请涉及通信领域,并且更具体地,涉及一种随机接入过程中传输数据的方法和装置。The present application relates to the field of communications and, more particularly, to a method and apparatus for transmitting data in a random access procedure.
背景技术Background technique
在第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)协议R13或者R14中,终端设备需要先完成随机接入,并且与网络设备(具体可以是基站)之间建立无线资源控制(Radio Resource Control,RRC)链接之后才能进行上行数据的传输。但是,由于随机接入和建立RRC链接需要较长的交互时间,导致上行数据的传输时延较大,此外,由于随机接入以及RRC链接的建立过程中交互的信令比较多,因而终端设备的功耗也会比较高。尤其是对于基于蜂窝的窄带物联网(Narrow Band Internet of Things,NB-IoT)终端设备来说,产生的时延和功耗更加明显。In the 3rd Generation Partnership Project (3GPP) protocol R13 or R14, the terminal device needs to complete random access first, and establish radio resource control with the network device (specifically, the base station) (Radio Resource Control) After the RRC) link, the uplink data can be transmitted. However, since the random access and the establishment of the RRC link require a long interaction time, the transmission delay of the uplink data is large, and further, since the random access and the signaling of the interaction in the establishment of the RRC link are relatively large, the terminal device The power consumption will also be higher. Especially for the Narrow Band Internet of Things (NB-IoT) terminal device based on cellular, the delay and power consumption are more obvious.
为了降低业务数据的传输时延和终端设备的功耗,3GPP协议R15中规定终端设备可以在随机接入过程中向网络设备传输上行数据。具体来说,终端设备可以通过随机接入过程中向网络设备发送的消息3来承载上行数据,从而实现在随机接入过程中向网络设备传输上行数据。在随机接入过程中,由于网络设备并不确切地知道终端设备将要传输的上行数据的大小,因此,网络设备只能通过消息2指示一个最大的传输块大小(Transport block size,TBS),使得终端设备根据该最大的TBS向网络设备传输上行数据。当终端设备要传输的上行数据所需要的传输块(Transport block,TB)的大小远小于网络设备指示的TBS时,终端设备需要在媒体介入控制层(Media Access Control,MAC)层进行较大比例的包填充(Padding),造成上行资源的浪费和终端设备的功耗增加,导致上行数据的传输效率较低。In order to reduce the transmission delay of the service data and the power consumption of the terminal device, the 3GPP protocol R15 specifies that the terminal device can transmit the uplink data to the network device in the random access process. Specifically, the terminal device can carry the uplink data by using the message 3 sent to the network device in the random access process, so as to transmit the uplink data to the network device in the random access process. In the random access process, since the network device does not know exactly the size of the uplink data to be transmitted by the terminal device, the network device can only indicate a maximum transport block size (TBS) through the message 2, so that The terminal device transmits uplink data to the network device according to the maximum TBS. When the size of the transport block (TB) required for the uplink data to be transmitted by the terminal device is much smaller than the TBS indicated by the network device, the terminal device needs to perform a larger proportion at the Media Access Control (MAC) layer. The padding of the packet causes waste of uplink resources and power consumption of the terminal device, resulting in low transmission efficiency of uplink data.
发明内容Summary of the invention
本申请提供一种随机接入过程中传输数据的方法和装置,以提高随机接入过程中传输上行数据的效率。The present application provides a method and apparatus for transmitting data in a random access procedure to improve the efficiency of transmitting uplink data in a random access procedure.
第一方面,提供了一种随机接入过程中传输数据的方法,该方法包括:向网络设备发送消息1;接收网络设备发送的消息2;根据允许采用的TBS,在候选TBS中确定目标TBS;向网络设备发送消息3。上述消息2包括上行授权信息,该上行授权信息(UL grant)又包括第一指示信息,该第一指示信息用于指示在消息3中允许采用的传输块大小(Transport Block Size,TBS)。上述目标TBS小于或者等于允许采用的TBS。上述消息3包含按照所述目标TBS传输的上行数据。A first aspect provides a method for transmitting data in a random access process, the method comprising: sending a message 1 to a network device; receiving a message 2 sent by the network device; determining a target TBS in the candidate TBS according to the allowed TBS ; Send a message 3 to the network device. The message 2 includes uplink grant information, and the uplink grant information (UL grant) further includes first indication information, where the first indication information is used to indicate a transport block size (TBS) allowed in the message 3. The above target TBS is less than or equal to the allowed TBS. The above message 3 contains uplink data transmitted in accordance with the target TBS.
进一步地,上述第一指示信息还可以具体指示消息3中允许采用的最大TBS,此时,目标TBS小于或者等于消息3中允许采用的最大TBS。假设消息3中允许采用的最大TBS为第一TBS,那么,目标TBS只能在候选TBS中小于或者等于第一TBS的选项中进行选择。Further, the foregoing first indication information may further specifically indicate a maximum TBS allowed in the message 3. In this case, the target TBS is less than or equal to the maximum TBS allowed in the message 3. Assuming that the maximum TBS allowed in message 3 is the first TBS, then the target TBS can only be selected among the options in the candidate TBS that are less than or equal to the first TBS.
上述候选TBS为可以发送消息3时所有可用的TBS。The above candidate TBS is all available TBSs when message 3 can be sent.
可选地,上述消息1为向网络设备发送的前导序列(Preamble)。Optionally, the message 1 is a preamble (Preamble) sent to the network device.
应理解,当上述方法的由终端设备或其中的执行装置来执行时,上述消息1至消息3为终端设备随机接入网络过程中与终端设备之间交互的消息。It should be understood that when the foregoing method is performed by the terminal device or the executing device therein, the above messages 1 to 3 are messages that are exchanged with the terminal device during the random access of the terminal device to the network device.
上述消息1具体可以是前导序列,用于发起随机接入。进一步地,消息1可以用于获取上行定时,发送前导序列的资源位置可用于将特定信息隐式通知给网络设备,例如终端设备的覆盖信息,消息3的数据量信息,消息3的传输方式信息(单个子载波还是多个子载波)等。The foregoing message 1 may specifically be a preamble sequence for initiating random access. Further, the message 1 can be used to obtain the uplink timing, and the resource location of the sending preamble sequence can be used to implicitly notify the network device of the specific information, such as the coverage information of the terminal device, the data volume information of the message 3, and the transmission mode information of the message 3. (single subcarrier or multiple subcarriers) and so on.
上述消息2用于响应消息1,消息2中包括定时调整信息和消息3的第一指示信息,定时调整信息用于指导终端设备完成上行同步,第一指示信息用于指示消息3传输的资源位置。The message 2 is used to respond to the message 1. The message 2 includes the timing adjustment information and the first indication information of the message 3. The timing adjustment information is used to guide the terminal device to complete the uplink synchronization, and the first indication information is used to indicate the resource location of the message 3 transmission. .
上述消息3用于携带向网络设备发送的上行数据,而上行数据允许采用的TBS是通过消息2中第一指示信息指示。The message 3 is used to carry the uplink data sent to the network device, and the TBS allowed to be used by the uplink data is indicated by the first indication information in the message 2.
本申请能够根据允许采用的TBS从候选TBS中自由选择目标TBS,并且选择出来的目标TBS小于或者等于允许采用的TBS,因此,本申请可以让终端设备自主选择适合的TBS而不必完全使用网络设备指示的允许采用的TBS,提高了终端设备确定TBS的灵活性,从而提高随机接入过程中上行数据的传输效率。The present application can freely select a target TBS from the candidate TBS according to the allowed TBS, and the selected target TBS is less than or equal to the allowed TBS. Therefore, the present application can allow the terminal device to independently select a suitable TBS without having to completely use the network device. The indicated allowed TBS improves the flexibility of the terminal device to determine the TBS, thereby improving the transmission efficiency of the uplink data in the random access process.
在一种可能的实现方式中,根据允许采用的TBS,在候选TBS中确定目标TBS,具体包括:根据允许采用的TBS,在候选TBS中确定出至少一个TBS;根据上行数据的大小,从至少一个TBS中确定出能用于传输上行数据的目标TBS。In a possible implementation, determining the target TBS in the candidate TBS according to the allowed TBS, specifically: determining, according to the allowed TBS, determining at least one TBS in the candidate TBS; according to the size of the uplink data, from at least A target TBS that can be used to transmit uplink data is determined in one TBS.
本申请中,结合允许采用的TBS以及上行数据的大小能够选择出与上行数据大小较为匹配的TBS作为目标TBS,可以进一步减小传输上行数据时包填充的比例,提高上行数据的传输效率。In the present application, in combination with the allowed TBS and the size of the uplink data, the TBS matching the uplink data size can be selected as the target TBS, which can further reduce the proportion of packet filling when transmitting the uplink data, and improve the transmission efficiency of the uplink data.
其中,上述至少一个TBS中的每个TBS都小于或者等于允许采用的TBS。Wherein each TBS of the at least one TBS is less than or equal to the allowed TBS.
可选地,上述至少一个TBS为候选TBS中的TBS。Optionally, the at least one TBS is a TBS in the candidate TBS.
从候选TBS中确定出至少一个TBS,也可以理解为根据候选TBS中确定出第一TBS集合,该第一TBS集合由该至少一个TBS组成。Determining at least one TBS from the candidate TBS may also be understood as determining a first TBS set according to the candidate TBS, where the first TBS set is composed of the at least one TBS.
根据允许采用的TBS,在候选TBS中确定出至少一个TBS,具体可以包括以下几种方式:The at least one TBS is determined in the candidate TBS according to the allowed TBS, and may specifically include the following methods:
第一种方式:从候选TBS中小于或者等于允许采用的TBS中,确定出预设数量的TBS作为上述至少一个TBS。The first mode is: determining, by using a TBS that is less than or equal to the allowed TBS in the candidate TBS, a preset number of TBSs as the at least one TBS.
例如,候选TBS包括TBS1、TBS2、TBS3、TBS4、TBS5和TBS6,其中,TBS1至TBS6分别为144bit、328bit、504bit、680bit、872bit和1000bit,允许采用的最大TBS为1000bit,候选TBS中的TBS均小于1000bit,那么,可以在候选TBS选择4个TBS(预设数量为4)作为上述至少一个TBS。For example, the candidate TBS includes TBS1, TBS2, TBS3, TBS4, TBS5, and TBS6, where TBS1 to TBS6 are 144bit, 328bit, 504bit, 680bit, 872bit, and 1000bit, respectively, and the maximum TBS allowed is 1000bit, and the TBS in the candidate TBS is If it is less than 1000 bits, then 4 TBSs (preset number of 4) may be selected as the at least one TBS in the candidate TBS.
上述例子中,当从候选TBS中选择4个TBS时,可以按照从大到小的顺序从候选TBS中选择出最大的4个TBS(TBS3、TBS4、TBS5和TBS6)作为上述至少一个TBS;也可以按照从小到大的顺序从候选TBS中选择出最小的4个TBS(TBS1、TBS2、TBS3和TBS4)作为上述至少一个TBS;也可以从候选TBS中选择最大的两个TBS(TBS5和TBS6)和最小的两个TBS(TBS1和TBS2)作为上述至少一个TBS。In the above example, when four TBSs are selected from the candidate TBSs, the largest four TBSs (TBS3, TBS4, TBS5, and TBS6) may be selected as the at least one TBS from the candidate TBSs in descending order; The smallest 4 TBSs (TBS1, TBS2, TBS3, and TBS4) may be selected from the candidate TBSs as the at least one TBS in order from small to large; the largest two TBSs (TBS5 and TBS6) may also be selected from the candidate TBSs. And the smallest two TBSs (TBS1 and TBS2) as the at least one TBS described above.
第二种方式:从候选TBS中小于或者等于允许采用的TBS中,确定出大于预设数值的TBS作为上述至少一个TBS。The second mode: determining, from the TBS in the candidate TBS that is less than or equal to the allowed TBS, a TBS greater than a preset value as the at least one TBS.
例如,候选TBS包括TBS1至TBS6,其中,TBS1至TBS6分别为144bit、328bit、504bit、680bit、872bit和1000bit,允许采用的最大TBS为1000bit,候选TBS中的TBS均小于1000bit,选择候选TBS中大于504(预设数值)的TBS(TBS4、TBS5和TBS6)作为上述至少一个TBS。For example, the candidate TBS includes TBS1 to TBS6, where TBS1 to TBS6 are 144bit, 328bit, 504bit, 680bit, 872bit, and 1000bit, respectively, and the maximum TBS allowed is 1000bit, and the TBS in the candidate TBS is less than 1000bit, and the candidate TBS is greater than A TBS (TBS4, TBS5, and TBS6) of 504 (preset value) is used as the at least one TBS.
第三种方式:从候选TBS中小于或者等于允许采用的TBS中先确定出大于预设数值的TBS,然后再从该大于预设数值的TBS中选择出预设数量的TBS作为上述至少一个TBS。The third mode: first, a TBS that is greater than a preset value is determined from the TBS that is less than or equal to the allowed TBS, and then selects a preset number of TBSs from the TBS that is greater than the preset value as the at least one TBS. .
例如,候选TBS包括TBS1至TBS6,其中,TBS1至TBS6分别为144bit、328bit、504bit、 680bit、872bit和1000bit,允许采用的最大TBS为1000bit,候选TBS中的TBS均小于1000bit,选择候选TBS中大于504(预设数值)的TBS(TBS4、TBS5和TBS6)作为大于预设数值的TBS,然后从该大于预设数值的TBS中选择出2个TBS(TBS5和TBS6)作为上述至少一个TBS。For example, the candidate TBS includes TBS1 to TBS6, where TBS1 to TBS6 are 144bit, 328bit, 504bit, 680bit, 872bit, and 1000bit, respectively, and the maximum TBS allowed is 1000bit, and the TBS in the candidate TBS is less than 1000bit, and the candidate TBS is greater than A TBS (TBS4, TBS5, and TBS6) of 504 (preset value) is used as a TBS greater than a preset value, and then two TBSs (TBS5 and TBS6) are selected as the at least one TBS from the TBSs larger than the preset value.
另外,上述从至少一个TBS中确定出能用于传输上行数据的目标TBS,具体可以是指从至少一个TBS中确定出大于或者等于上行数据对应的TB的大小并且与上行数据对应的TB的大小的差值在一定预设范围内的TBS作为目标TBS。In addition, the foregoing determining, from the at least one TBS, the target TBS that can be used for transmitting the uplink data, specifically, determining the size of the TB that is greater than or equal to the size of the TB corresponding to the uplink data and corresponding to the uplink data from the at least one TBS. The difference between the TBS within a certain preset range is taken as the target TBS.
例如,至少一个TBS共包括TBS1、TBS2和TBS3,其中,TBS1为504bit,TBS2为680bit,TBS3为872bit,上行数据对应的TB的大小为650bit,在TBS1、TBS2和TBS3中,TBS2和TBS3均大于上行数据,TBS2和上行数据对应的TB的大小的差值为30bit,TBS3和上行数据对应的TB的大小的差值为222bit,假设上行数据对应的TB的大小和TBS的差值的预设范围为小于或者等于250bit,TBS2、TBS3与上行数据的差值均在差值的预设范围内,那么,可以从TBS2和TBS3中任意选择一个TBS作为目标TBS。For example, at least one TBS includes TBS1, TBS2, and TBS3, where TBS1 is 504bit, TBS2 is 680bit, TBS3 is 872bit, and TB of uplink data is 650bit. In TBS1, TBS2, and TBS3, TBS2 and TBS3 are greater than The difference between the size of the TB corresponding to the TBS2 and the uplink data is 30 bits, and the difference between the size of the TB corresponding to the uplink data and the TB is 222 bits, and the size of the TB corresponding to the uplink data and the preset range of the difference of the TBS are assumed. If the difference between the TBS2 and the TBS3 and the uplink data is less than or equal to 250 bits, the difference between the TBS2 and the TBS3 is within the preset range of the difference. Then, one TBS can be arbitrarily selected from the TBS2 and the TBS3 as the target TBS.
或者,也可以从至少一个TBS中确定出大于或者等于上行数据对应的TB的大小并且与上行数据对应的TB的大小的差值最小的TBS作为目标TBS。Alternatively, a TBS that is greater than or equal to the size of the TB corresponding to the uplink data and has the smallest difference in the size of the TB corresponding to the uplink data may be determined from the at least one TBS as the target TBS.
例如,至少一个TBS共包括TBS1、TBS2和TBS3,其中,TBS1为504bit,TBS2为680bit,TBS3为872bit,上行数据对应的TB的大小为650bit,在TBS1、TBS2和TBS3中,TBS2和TBS3均大于上行数据,TBS2和上行数据对应的TB的大小的差值为30bit,TBS3和上行数据对应的TB的大小的差值为222bit,由于TBS2和上行数据对应的TB的大小的差值更小,因此,选择TBS2作为目标TBS。For example, at least one TBS includes TBS1, TBS2, and TBS3, where TBS1 is 504bit, TBS2 is 680bit, TBS3 is 872bit, and TB of uplink data is 650bit. In TBS1, TBS2, and TBS3, TBS2 and TBS3 are greater than The difference between the size of the TB corresponding to the TBS2 and the uplink data is 30 bits, and the difference between the size of the TB corresponding to the uplink data and the TB is 222 bits, and the difference between the size of the TB corresponding to the TBS2 and the uplink data is smaller. Select TBS2 as the target TBS.
在一种可能的实现方式中,在根据允许采用的TBS,在候选TBS中确定目标TBS之前,上述方法还包括:确定是否满足预设条件;在满足预设条件的情况下,根据允许采用的TBS,在候选TBS中确定目标TBS。In a possible implementation manner, before determining the target TBS in the candidate TBS according to the allowed TBS, the method further includes: determining whether the preset condition is met; and if the preset condition is met, according to the allowed The TBS determines the target TBS in the candidate TBS.
本申请中,能够在特定情况下(满足预设条件)才根据允许采用的TBS从候选TBS中确定目标TBS,使得终端设备能够根据实际情况来灵活确定选择目标TBS的选择方式。In the present application, the target TBS can be determined from the candidate TBS according to the allowed TBS in a specific case (the preset condition is satisfied), so that the terminal device can flexibly determine the selection mode of the selected target TBS according to actual conditions.
进一步地,在不满足预设条件的情况下,(终端设备)按照消息2中第一指示信息指示的允许采用的TBS和资源位置向网络设备发送消息3。Further, in a case where the preset condition is not satisfied, the (terminal device) transmits the message 3 to the network device according to the allowed TBS and the resource location indicated by the first indication information in the message 2.
可选地,上述预设条件为终端设备的覆盖等级满足预设条件。Optionally, the foregoing preset condition is that the coverage level of the terminal device meets a preset condition.
在一种可能的实现方式中,终端设备的覆盖等级满足预设条件包括以下情况中的至少一种:终端设备向网络设备发送的消息1对应的覆盖等级低于覆盖等级阈值;终端设备向网络设备发送的消息1对应的覆盖等级高于覆盖等级阈值;终端设备向网络设备发送的消息1对应的覆盖等级等于覆盖等级阈值。In a possible implementation, the coverage level of the terminal device meets the preset condition, including at least one of the following situations: the coverage level corresponding to the message 1 sent by the terminal device to the network device is lower than the coverage level threshold; the terminal device is connected to the network. The coverage level corresponding to the message 1 sent by the device is higher than the coverage level threshold; the coverage level corresponding to the message 1 sent by the terminal device to the network device is equal to the coverage level threshold.
上述覆盖等级阈值既可以是约定值,也可以由网络设备通过指示信息通知给终端设备,所述指示信息用于指示所述覆盖等级阈值。The coverage level threshold may be an appointment value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the coverage level threshold.
在一种可能的实现方式中,终端设备的覆盖等级满足预设条件包括以下情况中的至少一种:终端设备向网络设备发送的消息1对应的覆盖等级属于基站指示的覆盖等级集合;终端设备向网络设备发送的消息1对应的覆盖等级不属于基站指示的覆盖等级集合。In a possible implementation, the coverage level of the terminal device meets the preset condition, including at least one of the following situations: the coverage level corresponding to the message 1 sent by the terminal device to the network device belongs to the coverage level set indicated by the base station; the terminal device The coverage level corresponding to the message 1 sent to the network device does not belong to the coverage level set indicated by the base station.
上述覆盖等级集合可以是约定集合,或者是网络设备通过指示信息通知给终端设备,所述指示信息用于指示所述覆盖等级集合。The foregoing set of coverage levels may be a set of appointments, or the network device may notify the terminal device by using indication information, where the indication information is used to indicate the coverage level set.
在一种可能的实现方式中,终端设备根据当前测量量的测量结果与网络设备配置的测量量的门限值来确定终端设备向网络设备发送的消息1对应的覆盖等级。In a possible implementation manner, the terminal device determines, according to the measurement result of the current measurement quantity and the threshold value of the measurement quantity configured by the network device, a coverage level corresponding to the message 1 sent by the terminal device to the network device.
在一种可能的实现方式中,满足预设条件包括以下情况中的至少一种:允许采用的TBS 大于TBS阈值;允许采用的TBS小于TBS阈值;允许采用的TBS等于TBS阈值。In a possible implementation manner, satisfying the preset condition includes at least one of: allowing the adopted TBS to be greater than the TBS threshold; allowing the adopted TBS to be smaller than the TBS threshold; allowing the adopted TBS to be equal to the TBS threshold.
上述TBS阈值既可以是约定值,也可以由网络设备通过指示信息通知给终端设备,所述指示信息用于指示所述TBS阈值。The foregoing TBS threshold may be an agreed value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
在一种可能的实现方式中,消息1承载在第一资源上,其中,消息1承载在第一资源上用于指示通过消息3向网络设备发送上行数据。In a possible implementation, the message 1 is carried on the first resource, where the message 1 is carried on the first resource to indicate that the uplink data is sent to the network device by using the message 3.
本申请中,通过消息1是否承载在特定资源上能够灵活指示是否在随机接入过程中进行上行数据的传输,便于网络设备进行上行数据的接收。In this application, whether the message 1 is carried on a specific resource can flexibly indicate whether the uplink data is transmitted during the random access process, so that the network device can receive the uplink data.
具体地,当消息1承载在特定资源上时,网络设备在随机接入过程中进行上行数据的接收,而当消息1承载在特定资源之外的其它资源上时,网络设备在随机接入完成之后(具体可以是建立了RRC链接之后)才能进行上行数据的接收。Specifically, when the message 1 is carried on a specific resource, the network device performs uplink data reception in the random access process, and when the message 1 is carried on other resources than the specific resource, the network device completes the random access. After that (specifically, after the RRC link is established), the uplink data can be received.
应理解,在本申请中,也可以不限定消息1是否承载在特定的资源上,也就是说,无论在何种资源上发送消息1,都可以在随机接入过程中向网络设备传输上行数据。It should be understood that, in the present application, it is also possible to not limit whether the message 1 is carried on a specific resource, that is, whether the message 1 is sent on any resource, the uplink data may be transmitted to the network device in the random access process. .
具体地,当上述方法由终端设备执行时,如果终端设备在第一资源上发送消息1,那么,终端设备将在随机接入过程中向网络设备发送上行数据;如果终端设备第一资源之外的其它资源发送消息1,那么,终端设备将在完成随机接入并且与网络设备之间建立RRC链接之后才向网络设备发送上行数据。Specifically, when the foregoing method is performed by the terminal device, if the terminal device sends the message 1 on the first resource, the terminal device sends the uplink data to the network device in the random access procedure; if the terminal device is the first resource The other resources send message 1, then the terminal device will send the uplink data to the network device after completing the random access and establishing an RRC link with the network device.
在一种可能的实现方式中,上述方法还包括:接收网络设备发送的第二指示信息,该第二指示信息用于指示重新发送消息3以及在重新发送消息3时所采用的更新的TBS;在更新的TBS和目标TBS一致的情况下,向网络设备重新发送消息3。其中,重新发送的消息3包含按照目标TBS传输的上行数据。In a possible implementation, the method further includes: receiving, by the network device, second indication information, where the second indication information is used to indicate resending the message 3 and the updated TBS used when resending the message 3; In the case where the updated TBS and the target TBS are identical, the message 3 is resent to the network device. The retransmitted message 3 includes the uplink data transmitted according to the target TBS.
本申请中,通过第二指示信息的指示重新进行消息3的发送,能够提高上行数据传输的可靠性。In the present application, by repeating the transmission of the message 3 by the instruction of the second indication information, the reliability of the uplink data transmission can be improved.
应理解,当网络设备没有正确译码消息3的情况下,网络设备可以通过发送第二指示信息来指示重新进行消息3的发送,从而使得网络设备能够解析到消息3中的上行数据。It should be understood that when the network device does not correctly decode the message 3, the network device may indicate that the transmission of the message 3 is re-transmitted by transmitting the second indication information, thereby enabling the network device to resolve the uplink data in the message 3.
另外,网络设备在译码消息3的过程中可以将解析到的目标TBS作为重新发送消息3时所采用的更新的TBS,如果更新的TBS与目标TBS相同,那么,网络设备在译码消息3的过程中正确解析到了目标TBS,接下来,终端设备直接再次向网络设备发送消息3即可;但是,如果更新的TBS与目标TBS不同,那么,很可能网络设备在译码消息3的过程中没有正确解析到目标TBS,因此,即便是终端设备再次向网络设备重新发送消息3,网络设备也无法按照目标TBS解析消息3中的上行数据,在这种情况下,终端设备可以重新执行随机接入以进行上行数据的发送。In addition, the network device may use the parsed target TBS as the updated TBS used when resending the message 3 in the process of decoding the message 3. If the updated TBS is the same as the target TBS, then the network device is decoding the message 3. The process correctly resolves to the target TBS. Next, the terminal device directly sends the message 3 to the network device again. However, if the updated TBS is different from the target TBS, it is likely that the network device is in the process of decoding the message 3. The target TBS is not correctly resolved. Therefore, even if the terminal device resends the message 3 to the network device again, the network device cannot parse the uplink data in the message 3 according to the target TBS. In this case, the terminal device can re-execute the random connection. Incoming to send uplink data.
在一种可能的实现方式中,上述方法还包括:接收网络设备发送的第二指示信息,该第二指示信息用于指示重新发送消息3以及在重新发送消息3时所采用的更新的TBS;在更新的TBS和目标TBS不一致的情况下,再次向网络设备发送消息1以重新执行随机接入,其中,消息1承载在第二资源上,用于指示在完成重新执行随机接入之后向网络设备发送上行数据,第二资源与第一资源不同。In a possible implementation, the method further includes: receiving, by the network device, second indication information, where the second indication information is used to indicate resending the message 3 and the updated TBS used when resending the message 3; If the updated TBS and the target TBS are inconsistent, the message 1 is sent to the network device again to re-execute the random access, where the message 1 is carried on the second resource, and is used to indicate to the network after completing the re-execution of the random access. The device sends uplink data, and the second resource is different from the first resource.
本申请中,当在随机接入过程中无法发送上行数据的情况下,可以通过再次发送消息1来重新执行随机接入,并在随机接入完成之后再进行上行数据的传输,能够提高上行数据传输的可靠性。In the present application, when the uplink data cannot be sent in the random access process, the random access can be re-executed by sending the message 1 again, and the uplink data is transmitted after the random access is completed, thereby improving the uplink data. The reliability of the transmission.
在一种可能的实现方式中,上述方法还包括:接收网络设备发送的第二指示信息,该第二指示信息用于指示重新发送消息3以及在重新发送消息3时所采用的更新的TBS;在更新 的TBS和目标TBS不一致的情况下,再次向网络设备发送消息1以重新执行随机接入,其中,消息1承载在第一资源上,用于指示在重新执行随机接入过程时向网络设备发送上行数据。In a possible implementation, the method further includes: receiving, by the network device, second indication information, where the second indication information is used to indicate resending the message 3 and the updated TBS used when resending the message 3; If the updated TBS and the target TBS are inconsistent, the message 1 is sent to the network device again to re-execute the random access, where the message 1 is carried on the first resource, and is used to indicate to the network when the random access procedure is re-executed. The device sends upstream data.
本申请中,当在随机接入过程中无法发送上行数据的情况下,可以通过再次发送消息1来重新执行随机接入,并在随机接入过程中再次进行上行数据的传输,可以提高上行数据传输的可靠性。In this application, when the uplink data cannot be sent in the random access process, the random access can be re-executed by sending the message 1 again, and the uplink data is transmitted again during the random access process, thereby improving the uplink data. The reliability of the transmission.
在本申请中,当在随机接入过程中无法发送上行数据时,既可以重新执行随机接入并在随机接入过程中进行上行数据的发送,也可以重新执行随机接入,并且在完成随机接入之后再进行上行数据的发送。In the present application, when the uplink data cannot be sent in the random access process, the random access may be re-executed and the uplink data may be sent in the random access process, or the random access may be re-executed, and the random access is completed. After the access, the uplink data is transmitted.
在一种可能的实现方式中,消息3的发送方式用于指示目标TBS。In a possible implementation manner, the manner in which the message 3 is sent is used to indicate the target TBS.
本申请中,通过消息3的发送方式指示目标TBS,使得网络设备能够根据目标TBS对消息3进行译码,简化了译码的流程。In the present application, the target TBS is indicated by the sending manner of the message 3, so that the network device can decode the message 3 according to the target TBS, which simplifies the decoding process.
可选地,发送消息3所采用的DMRS序列可以用于指示目标TBS。Alternatively, the DMRS sequence used to send message 3 can be used to indicate the target TBS.
本申请中,网络设备通过确定发送消息3采用的是哪种DMRS序列就可以确定目标TBS,便于后续根据目标TBS进行准确译码。In the present application, the network device can determine the target TBS by determining which DMRS sequence is used to send the message 3, so as to facilitate accurate decoding according to the target TBS.
具体地,DMRS序列与TBS有一一对应关系或者多对一关系,一个TBS可以对应至少一个DMRS序列,当采用某个DMRS序列发送消息3时,该DMRS序列对应的TBS就为目标TBS。Specifically, the DMRS sequence has a one-to-one correspondence or a many-to-one relationship with the TBS, and one TBS can correspond to at least one DMRS sequence. When the message 3 is sent by using a certain DMRS sequence, the TBS corresponding to the DMRS sequence is the target TBS.
例如,DMRS1、DMRS2以及DMRS3序列对应的TBS分别是TBS1、TBS2和TBS3,那么,当采用DMRS2序列发送消息3时,TBS2就为目标TBS。For example, the TBSs corresponding to the DMRS1, DMRS2, and DMRS3 sequences are TBS1, TBS2, and TBS3, respectively. Then, when the message 3 is transmitted using the DMRS2 sequence, the TBS2 is the target TBS.
可选地,发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移用于指示目标TBS。Optionally, the offset of the start time domain position of the physical uplink shared channel of the message 3 relative to the resource allocated by the network device in the time domain is used to indicate the target TBS.
上述起始时域位置具体可以是起始符号位置。The above starting time domain position may specifically be the starting symbol position.
本申请中,网络设备通过发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移就可以确定目标TBS,便于根据目标TBS进行准确译码。In the present application, the network device can determine the target TBS by transmitting the offset of the starting time domain location of the physical uplink shared channel of the message 3 with respect to the resource allocated by the network device in the time domain, so as to facilitate accurate decoding according to the target TBS.
具体地,发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移与TBS有一一对应关系或者多对一关系,一个TBS可以对应至少一个偏移值,当发送消息3对应某个偏移值时,该偏移值对应的TBS就为目标TBS。Specifically, the start time domain position of the physical uplink shared channel that sends the message 3 has a one-to-one correspondence or a many-to-one relationship with the TBS in the time domain relative to the resource allocated by the network device, and one TBS may correspond to at least one The offset value, when the sending message 3 corresponds to a certain offset value, the TBS corresponding to the offset value is the target TBS.
例如,发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移值包括offset1、offset2、offset3和offset4,并且这些偏移值对应的TBS分别为TBS1、TBS2、TBS3和TBS4,那么,当发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移值为offset2时,TBS2就为目标TBS。For example, the offset value of the start time domain position of the physical uplink shared channel for transmitting the message 3 relative to the resource allocated by the network device in the time domain includes offset1, offset2, offset3, and offset4, and the TBS corresponding to the offset values are respectively TBS1, TBS2, TBS3, and TBS4, then, when the initial time domain location of the physical uplink shared channel for transmitting message 3 is offset2 in the time domain relative to the resource allocated by the network device, TBS2 is the target TBS.
第二方面,提供了一种随机接入过程中传输数据的方法,该方法包括:接收终端设备发送的消息1;响应于消息1,向终端设备发送消息2,消息2包括上行授权信息,该上行授权信息包含第一指示信息,第一指示信息用于指示在消息3中允许采用的传输块大小TBS;接收终端设备发送的消息3;网络设备根据消息3的发送方式确定目标TBS;对消息3进行译码。A second aspect provides a method for transmitting data in a random access process, the method comprising: receiving a message 1 sent by a terminal device; sending a message 2 to the terminal device in response to the message 1, the message 2 includes uplink authorization information, where The uplink authorization information includes first indication information, where the first indication information is used to indicate the transport block size TBS allowed in the message 3; the message 3 sent by the terminal device is received; the network device determines the target TBS according to the sending manner of the message 3; 3 for decoding.
本申请中的第二方面中的方法与第一方面中的方法是相对应的,其中,第一方面中的方法可以由终端设备执行,第二方面中的方法可以由网络设备执行。The method in the second aspect of the present application corresponds to the method in the first aspect, wherein the method in the first aspect can be performed by a terminal device, and the method in the second aspect can be performed by a network device.
本申请能够根据消息3的发送方式来确定目标TBS,进而可以按照目标TBS对消息3进行快速译码,能够提高上行数据的译码效率。The present application can determine the target TBS according to the manner of sending the message 3, and can further decode the message 3 according to the target TBS, thereby improving the decoding efficiency of the uplink data.
在一种可能的实现方式中,消息3的发送方式用于指示目标TBS。In a possible implementation manner, the manner in which the message 3 is sent is used to indicate the target TBS.
可选地,发送消息3所采用的DMRS序列可以用于指示目标TBS;Optionally, the DMRS sequence used to send the message 3 may be used to indicate the target TBS;
本申请中,网络设备通过确定发送消息3采用的是哪种DMRS序列就可以确定目标TBS, 便于后续根据目标TBS进行准确译码。In the present application, the network device can determine the target TBS by determining which DMRS sequence is used to transmit the message 3, so as to facilitate accurate decoding according to the target TBS.
具体地,DMRS序列与TBS有一一对应关系或者多对一关系,一个TBS可以对应至少一个DMRS序列,当采用某个DMRS序列发送消息3时,该DMRS序列对应的TBS就为目标TBS。Specifically, the DMRS sequence has a one-to-one correspondence or a many-to-one relationship with the TBS, and one TBS can correspond to at least one DMRS sequence. When the message 3 is sent by using a certain DMRS sequence, the TBS corresponding to the DMRS sequence is the target TBS.
例如,DMRS1、DMRS2以及DMRS3序列对应的TBS分别是TBS1、TBS2和TBS3,那么,当采用DMRS2序列发送消息3时,TBS2就为目标TBS。For example, the TBSs corresponding to the DMRS1, DMRS2, and DMRS3 sequences are TBS1, TBS2, and TBS3, respectively. Then, when the message 3 is transmitted using the DMRS2 sequence, the TBS2 is the target TBS.
可选地,发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移。Optionally, the initial time domain location of the physical uplink shared channel that sends the message 3 is offset from the resource allocated by the network device in the time domain.
具体地,上述起始时域位置可以是起始符号位置。Specifically, the above starting time domain position may be a starting symbol position.
本申请中,网络设备通过发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移就可以确定目标TBS,便于根据目标TBS进行准确译码。In the present application, the network device can determine the target TBS by transmitting the offset of the starting time domain location of the physical uplink shared channel of the message 3 with respect to the resource allocated by the network device in the time domain, so as to facilitate accurate decoding according to the target TBS.
具体地,发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移与TBS有一一对应关系或者多对一关系,一个TBS可以对应至少一个偏移值,当发送消息3对应某个偏移值时,该偏移值对应的TBS就为目标TBS。Specifically, the start time domain position of the physical uplink shared channel that sends the message 3 has a one-to-one correspondence or a many-to-one relationship with the TBS in the time domain relative to the resource allocated by the network device, and one TBS may correspond to at least one The offset value, when the sending message 3 corresponds to a certain offset value, the TBS corresponding to the offset value is the target TBS.
例如,发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移值包括offset1、offset2、offset3和offset4,并且这些偏移值对应的TBS分别为TBS1、TBS2、TBS3和TBS4,那么,当发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移值为offset2时,TBS2就为目标TBS。For example, the offset value of the start time domain position of the physical uplink shared channel for transmitting the message 3 relative to the resource allocated by the network device in the time domain includes offset1, offset2, offset3, and offset4, and the TBS corresponding to the offset values are respectively TBS1, TBS2, TBS3, and TBS4, then, when the initial time domain location of the physical uplink shared channel for transmitting message 3 is offset2 in the time domain relative to the resource allocated by the network device, TBS2 is the target TBS.
第三方面,提供了一种终随机接入过程中传输数据的装置,所述装置包括用于执行所述第一方面或其各种实现方式中的方法的模块。In a third aspect, an apparatus for transmitting data in a final random access procedure is provided, the apparatus comprising means for performing the method of the first aspect or various implementations thereof.
第四方面,提供了一种随机接入过程中传输数据的装置,所述装置包括用于执行所述第二方面或其各种实现方式中的方法的模块。In a fourth aspect, an apparatus for transmitting data in a random access procedure is provided, the apparatus comprising means for performing the method of the second aspect or various implementations thereof.
第五方面,提供一种随机接入过程中传输数据的装置,所述装置包括:存储器,用于存储程序;处理器和收发器,其中,所述处理器用于执行所述存储器存储的程序,当所述程序被执行时,所述处理器和所述收发器用于执行所述第一方面或其各种实现方式中的方法。其中,所述处理器在需要信号收发的时候,控制所述收发器执行所述信号收发。A fifth aspect provides an apparatus for transmitting data in a random access process, the apparatus comprising: a memory for storing a program; a processor and a transceiver, wherein the processor is configured to execute the program stored by the memory, The processor and the transceiver are operative to perform the method of the first aspect or various implementations thereof when the program is executed. The processor controls the transceiver to perform the signal transceiving when a signal is required to be transceived.
第六方面,提供一种随机接入过程中传输数据的装置,所述装置包括:存储器,用于存储程序;处理器和收发器,其中,所述处理器用于执行所述存储器存储的程序,当所述程序被执行时,所述处理器和所述收发器用于执行所述第二方面或其各种实现方式中的方法。其中,所述处理器在需要信号收发的时候,控制所述收发器执行所述信号收发。A sixth aspect provides an apparatus for transmitting data in a random access process, the apparatus comprising: a memory for storing a program; a processor and a transceiver, wherein the processor is configured to execute the program stored by the memory, The processor and the transceiver are operative to perform the method of the second aspect or various implementations thereof when the program is executed. The processor controls the transceiver to perform the signal transceiving when a signal is required to be transceived.
可选地,上述第三方面和第五方面中的装置可以是终端设备。Alternatively, the devices in the above third and fifth aspects may be terminal devices.
可选地,上述第四方面和第六方面中的装置可以是网络设备。Alternatively, the devices in the above fourth and sixth aspects may be network devices.
第七方面,提供一种计算机可读介质,所述计算机可读介质存储用于设备执行的程序代码,所述程序代码包括用于执行第一方面或其各种实现方式中的方法的指令。In a seventh aspect, a computer readable medium storing program code for device execution, the program code comprising instructions for performing the method of the first aspect or various implementations thereof.
第八方面,提供一种计算机可读介质,所述计算机可读介质存储用于设备执行的程序代码,所述程序代码包括用于执行第二方面或其各种实现方式中的方法的指令。In an eighth aspect, a computer readable medium storing program code for device execution, the program code comprising instructions for performing the method of the second aspect or various implementations thereof.
第九方面,提供一种计算机程序代码,所述程序代码包括用于执行第一方面或其各种实现方式中的方法的指令。In a ninth aspect, a computer program code is provided, the program code comprising instructions for performing the method of the first aspect or various implementations thereof.
第十方面,提供一种计算机程序代码,所述程序代码包括用于执行第二方面或其各种实现方式中的方法的指令。In a tenth aspect, a computer program code is provided, the program code comprising instructions for performing the method of the second aspect or various implementations thereof.
附图说明DRAWINGS
图1是本申请实施例应用的通信系统的架构示意图;1 is a schematic structural diagram of a communication system to which an embodiment of the present application is applied;
图2是本申请实施例的随机接入过程中传输数据的方法的示意性流程图;2 is a schematic flowchart of a method for transmitting data in a random access process according to an embodiment of the present application;
图3是消息2的示意性结构图;Figure 3 is a schematic structural diagram of Message 2;
图4是随机接入响应的示意性结构图;4 is a schematic structural diagram of a random access response;
图5是本申请实施例的随机接入过程中传输数据的方法的流程图;FIG. 5 is a flowchart of a method for transmitting data in a random access procedure according to an embodiment of the present application; FIG.
图6是本申请实施例的随机接入过程中传输数据的方法的流程图;6 is a flowchart of a method for transmitting data in a random access procedure according to an embodiment of the present application;
图7是本申请实施例的随机接入过程中传输数据的方法的示意图;7 is a schematic diagram of a method for transmitting data in a random access procedure according to an embodiment of the present application;
图8是本申请实施例的随机接入过程中传输数据的装置的示意性框图;FIG. 8 is a schematic block diagram of an apparatus for transmitting data in a random access procedure according to an embodiment of the present application; FIG.
图9是本申请实施例的随机接入过程中传输数据的装置的示意性框图。FIG. 9 is a schematic block diagram of an apparatus for transmitting data in a random access procedure according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、全球互联微波接入(Worldwide Interoperability for Microwave Access,WiMAX)通信系统、未来的第五代(5th Generation,5G)系统或新无线(New Radio,NR)等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as a Global System of Mobile communication (GSM) system, a Code Division Multiple Access (CDMA) system, and a wideband code division multiple access. (Wideband Code Division Multiple Access, WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, and the future fifth generation (5th Generation, 5G) system or new radio (New Radio, NR) and so on.
本申请实施例中的终端设备可以指用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(Public Land Mobile Network,PLMN)中的终端设备等,本申请实施例对此并不限定。The terminal device in the embodiment of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or User device. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), with wireless communication. Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks, or in the future evolution of the Public Land Mobile Network (PLMN) The terminal device and the like are not limited in this embodiment of the present application.
本申请实施例中的网络设备可以是用于与终端设备通信的设备,该网络设备还可以是云无线接入网络(Cloud Radio Access Network,CRAN)场景下的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络设备或者未来演进的PLMN网络中的网络设备等,本申请实施例并不限定。The network device in the embodiment of the present application may be a device for communicating with the terminal device, and the network device may also be a wireless controller in a cloud radio access network (CRAN) scenario, or the network device may be The embodiment of the present application is not limited to a relay station, an access point, an in-vehicle device, a wearable device, a network device in a future 5G network, or a network device in a future evolved PLMN network.
图1是本申请实施例应用的通信系统的架构示意图。FIG. 1 is a schematic structural diagram of a communication system to which an embodiment of the present application is applied.
图1所示的通信系统包括网络设备和终端设备,在图1所示的通信系统中,终端设备可以通过随机接入的方式接入到移动通信网络中,并且,终端设备还可以在随机接入过程中可以向网络设备发送上行数据。应理解,图1中仅仅示出了一个网络设备和一个终端设备的情况,事实上,本申请实施例应用的通信系统可以是包含多个网络设备和多个终端设备的系统,另外,图1中的网络设备具体可以包括接入网设备和核心网设备等等。The communication system shown in FIG. 1 includes a network device and a terminal device. In the communication system shown in FIG. 1, the terminal device can access the mobile communication network by means of random access, and the terminal device can also be randomly connected. The uplink data can be sent to the network device during the incoming process. It should be understood that only one network device and one terminal device are shown in FIG. 1. In fact, the communication system applied in the embodiment of the present application may be a system including multiple network devices and multiple terminal devices, and FIG. 1 The network device in the network device may specifically include an access network device, a core network device, and the like.
具体地,图1中所示的网络设备可以是终端设备通过无线方式接入到该通信系统中的接入设备,可以是基站(NodeB)、演进型基站(eNodeB)、5G通信系统中的基站、未来通信系 统中的基站或无线保真(Wireless Fidelity,WiFi)系统中的接入节点等,本申请的实施例对网络设备所采用的具体技术和具体设备形态不做限定。Specifically, the network device shown in FIG. 1 may be an access device in which the terminal device accesses the communication system in a wireless manner, and may be a base station (NodeB), an evolved base station (eNodeB), or a base station in a 5G communication system. The specific technology and the specific device configuration adopted by the network device are not limited in the embodiment of the present application, such as a base station in a future communication system or an access node in a wireless fidelity (WiFi) system.
应理解,上述图1只是本申请实施例可能应用的一种通信系统的示意图,本申请实施例的还可以应用在其它能够实现网络设备与终端设备通信的通信系统中,本申请实施例对可以应用的通信系统的具体形式不做限制。It should be understood that FIG. 1 is only a schematic diagram of a communication system that may be applied to the embodiments of the present application. The embodiments of the present application may also be applied to other communication systems that can implement communication between a network device and a terminal device. The specific form of the applied communication system is not limited.
进一步地,本申请实施例还可以具体应用到窄带物联网(Narrow Band Internet of Things,NB-IoT)中的通信系统,以及增强机器类通信(enhanced Machine Type Communication,eMTC)系统等。Further, the embodiment of the present application can also be specifically applied to a communication system in a Narrow Band Internet of Things (NB-IoT), and an enhanced machine type communication (eMTC) system.
图2是本申请实施例的随机接入过程中传输数据的方法的示意性流程图。图2所示的方法可以由终端设备来执行,图2所示的方法具体包括步骤101至步骤104,下面分别对步骤101至步骤104进行详细的介绍。FIG. 2 is a schematic flowchart of a method for transmitting data in a random access procedure according to an embodiment of the present application. The method shown in FIG. 2 can be performed by the terminal device. The method shown in FIG. 2 specifically includes steps 101 to 104, and the steps 101 to 104 are respectively described in detail below.
101、向网络设备发送消息1。101. Send a message 1 to the network device.
消息1还可以称为Msg1(Message 1)消息,消息1具体可以是前导序列(Preamble)。Message 1 may also be referred to as a Msg1 (Message 1) message, and message 1 may specifically be a preamble (Preamble).
终端设备在发送前导序列时,可以随机选取资源来发送前导序列,如果多个终端设备在相同的资源上发送相同的前导序列,则会发生碰撞;如果多个终端在相同的资源上发送不同的前到序列,且这些序列是正交的那么就不会发生碰撞。When transmitting the preamble sequence, the terminal device may randomly select resources to send the preamble sequence. If multiple terminal devices send the same preamble sequence on the same resource, a collision may occur; if multiple terminals send different on the same resource. Before the sequence, and these sequences are orthogonal, then no collision will occur.
102、接收网络设备发送的消息2。102. Receive a message 2 sent by the network device.
上述消息2包括上行授权信息(UL grant),该上行授权信息又包括第一指示信息,该第一指示信息用于在消息3中允许采用的TBS。The above message 2 includes uplink grant information (UL grant), which in turn includes first indication information, which is used for the TBS allowed in the message 3.
可选地,上述第一指示信息还可以具体指示消息3中允许采用的最大TBS。例如,上述第一指示信息可以指示消息3中允许采用的最大TBS为1000bit,那么消息3中允许采用的TBS最大不能超过1000bit。Optionally, the foregoing first indication information may further specifically indicate a maximum TBS allowed in the message 3. For example, the first indication information may indicate that the maximum TBS allowed in the message 3 is 1000 bits, and the maximum allowed TBS in the message 3 cannot exceed 1000 bits.
网络设备在某个时频资源上检测到前导序列之后,会在消息2(Msg2)中携带该前导序列,表示网络设备检测到了该前导序列,同时网络设备还会在消息2中携带随机接入响应(Random Access Response,RAR)。网络设备在该时频资源上检测到了多少前导序列,就会在消息2中携带多少RAR(随机接入响应)。After detecting the preamble sequence on a certain time-frequency resource, the network device carries the preamble sequence in message 2 (Msg2), indicating that the network device detects the preamble sequence, and the network device also carries random access in message 2. Response (RAR). How many RARs (random access responses) the network device carries in the message 2, how many preamble sequences are detected on the time-frequency resource.
示例性地,下面结合图3对消息2的结构进行说明,如图3所示,消息2包括MAC帧头、随机接入响应,除此之外,消息2还可能包括填充比特(padding)。其中,MAC帧头中包含若干MAC子头,MAC字头中包含退避标识符和随机接入前导码标识。Exemplarily, the structure of the message 2 will be described below with reference to FIG. 3. As shown in FIG. 3, the message 2 includes a MAC frame header and a random access response, and in addition, the message 2 may further include padding. The MAC header includes a number of MAC subheaders, and the MAC header includes a backoff identifier and a random access preamble identifier.
当网络设备检测到了n(n为大于或者等于1的整数)个前导序列时,消息2中的MAC帧头就包括n个随机接入前导序列标识符(Random Access Preamble Identifier,RAPID),消息2中的随机接入响应包括n个随机接入响应(MAC RAR1、MAC RAR2…MAC RARn)。When the network device detects n (n is an integer greater than or equal to 1) preamble sequence, the MAC frame header in message 2 includes n Random Access Preamble Identifiers (RAPIDs), message 2 The random access response in the middle includes n random access responses (MAC RAR1, MAC RAR2...MAC RARn).
示例性地,随机接入响应的具体结构如图4所示,随机接入响应具体包括:定时提前命令(timing advanced command)、上行链路授权(UL Grant)、小区无线网络临时标识(Cell Radio Network Temporary Identifier,C-RNTI)以及预留比特(Reserved bits)。Exemplarily, the specific structure of the random access response is as shown in FIG. 4, and the random access response specifically includes: timing advanced command, uplink grant (UL Grant), and cell radio network temporary identifier (Cell Radio) Network Temporary Identifier (C-RNTI) and Reserved bits.
可选的,作为一个实施例,上述消息2包括上行授权信息(UL grant),该上行授权信息又包括第一指示信息,该第一指示信息和TBS阈值联合指示消息3允许采用的TBS。允许采用的TBS可以大于或者等于或者小于TBS阈值。例如,TBS阈值等于424比特,根据第一指示信息和TBS阈值确定允许采用的TBS可以为504比特或者424比特或者408比特。Optionally, as an embodiment, the message 2 includes uplink grant information (UL grant), and the uplink grant information includes first indication information, where the first indication information and the TBS threshold jointly indicate that the TBS is allowed to be adopted. The allowed TBS can be greater than or equal to or less than the TBS threshold. For example, the TBS threshold is equal to 424 bits, and the TBS allowed to be employed may be determined to be 504 bits or 424 bits or 408 bits according to the first indication information and the TBS threshold.
或者,上述第一指示信息和TBS阈值联合指示消息3允许采用的最大TBS。允许采用的最大TBS可以大于或者等于或者小于TBS阈值。例如,TBS阈值等于776比特,根据第一指 示信息和TBS阈值确定允许采用的最大TBS可以为808比特或者776比特或者712比特。Alternatively, the first indication information and the TBS threshold jointly indicate that the maximum TBS allowed by the message 3 is adopted. The maximum allowed TBS may be greater than or equal to or less than the TBS threshold. For example, the TBS threshold is equal to 776 bits, and the maximum allowed TBS allowed to be employed according to the first indication information and the TBS threshold may be 808 bits or 776 bits or 712 bits.
上述TBS阈值既可以是预设约定值,也可以由网络设备通过指示信息通知给终端设备,所述指示信息用于指示所述TBS阈值。The foregoing TBS threshold may be a preset agreement value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
可选的,作为另外一个实施例,上述消息2包括上行授权信息(UL grant),该上行授权信息还可以包括第三指示信息,该第三指示信息指示消息3的资源单元的个数。或者该第三指示信息和TBS阈值联合指示消息3的资源单元的个数。例如,TBS阈值为776比特,第三指示信息为‘100’时,指示资源单元的个数为5。Optionally, in another embodiment, the message 2 includes uplink grant information (UL grant), and the uplink grant information may further include third indication information, where the third indication information indicates the number of resource units of the message 3. Or the third indication information and the TBS threshold jointly indicate the number of resource units of the message 3. For example, when the TBS threshold is 776 bits and the third indication information is '100', the number of resource units is indicated as 5.
根据资源单元的个数确定Msg3允许采用的TBS。允许采用的TBS可以大于或者等于或者小于TBS阈值。The TBS allowed by Msg3 is determined according to the number of resource units. The allowed TBS can be greater than or equal to or less than the TBS threshold.
例如,可以为在表1中,根据资源单元的个数所在的列来确定该列的TBS集合中是否包含上述TBS阈值,如果包含该TBS阈值,则允许采用的TBS等于TBS阈值。例如,资源单元的个数为5,对应的资源单元的索引I RU等于4,确定该资源单元个数所在的列的TBS集合为{120,176,208,256,328,424,504,584,680,776,872,1000}。该TBS集合中包括TBS阈值776比特,因此确定允许采用的TBS为776比特。如果TBS集合中不包括TBS阈值,则将TBS集合中与TBS阈值最接近并且大于或者小于TBS阈值的TBS确定为允许采用的TBS。例如,TBS阈值为872比特,资源单元个数为6,确定的TBS集合为{152,208,256,328,408,504,600,712,808,936,1000}。该TBS集合中不包括TBS阈值872比特,则将TBS集合中与TBS阈值872比特最接近并且大于TBS阈值的TBS确定为允许采用的TBS,即确定936为允许采用的TBS。或者将TBS集合中与TBS阈值872比特最接近并且小于TBS阈值的TBS确定为允许采用的TBS,即确定808为允许采用的TBS。 For example, in Table 1, it may be determined whether the TBS threshold of the column is included in the TBS set of the column according to the column of the number of resource units, and if the TBS threshold is included, the allowed TBS is equal to the TBS threshold. For example, the number of resource units is 5, the index of a resource unit corresponding to I RU is equal to 4, it is determined that the number of resource unit is located TBS 120,176,208,256,328,424,504,584,680,776,872,1000 column set is {}. The TBS threshold includes 776 bits in the TBS set, so it is determined that the allowed TBS is 776 bits. If the TBS threshold is not included in the TBS set, the TBS in the TBS set that is closest to the TBS threshold and greater or smaller than the TBS threshold is determined as the allowed TBS. For example, the TBS threshold is 872 bits, the number of resource units is 6, and the determined TBS set is {152, 208, 256, 328, 408, 504, 600, 712, 808, 936, 1000}. The TBS threshold 872 bits are not included in the TBS set, and the TBS in the TBS set that is closest to the TBS threshold 872 bits and larger than the TBS threshold is determined as the allowed TBS, that is, the determination 936 is the allowed TBS. Or determining the TBS in the TBS set that is closest to the TBS threshold 872 bits and smaller than the TBS threshold as the allowed TBS, ie, determining 808 as the allowed TBS.
或者,还可以根据资源单元的个数确定允许采用的最大TBS。同样的,可以在表1中,根据资源单元的个数所在的列来确定该列的TBS集合中是否包含上述TBS阈值,如果包含该TBS阈值,则允许采用的最大TBS为TBS阈值。如果TBS集合中不包括该TBS阈值,则将TBS集合中与TBS阈值最接近并且大于或者小于TBS阈值的TBS确定为允许采用的最大TBS。Alternatively, the maximum allowed TBS may be determined according to the number of resource units. Similarly, in Table 1, it may be determined whether the TBS threshold is included in the TBS set of the column according to the column of the number of resource units, and if the TBS threshold is included, the maximum allowed TBS is the TBS threshold. If the TBS threshold is not included in the TBS set, the TBS in the TBS set that is closest to the TBS threshold and greater or smaller than the TBS threshold is determined as the maximum TBS allowed to be employed.
例如,TBS阈值为872比特,资源单元个数为6,确定的TBS集合为{152,208,256,328,408,504,600,712,808,936,1000}。该TBS集合中不包括TBS阈值872比特,则将TBS集合中与TBS阈值872比特最接近并且大于TBS阈值的TBS确定为允许采用的最大TBS,即确定936为允许采用的最大TBS。或者将TBS集合中与TBS阈值872比特最接近并且小于TBS阈值的TBS确定为允许采用的TBS,即确定808为允许采用的TBS。For example, the TBS threshold is 872 bits, the number of resource units is 6, and the determined TBS set is {152, 208, 256, 328, 408, 504, 600, 712, 808, 936, 1000}. The TBS threshold 872 bits are not included in the TBS set, and the TBS in the TBS set that is closest to the TBS threshold 872 bits and greater than the TBS threshold is determined as the maximum allowed TBS, ie, the determination 936 is the maximum allowed TBS. Or determining the TBS in the TBS set that is closest to the TBS threshold 872 bits and smaller than the TBS threshold as the allowed TBS, ie, determining 808 as the allowed TBS.
上述TBS阈值既可以是预设约定值,也可以由网络设备通过指示信息通知给终端设备,所述指示信息用于指示所述TBS阈值。The foregoing TBS threshold may be a preset agreement value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
具体的,当TBS阈值为1000时,UL Grant中的第三指示信息为‘011’,‘100’,‘101’,‘110’,‘111’时,在不同的资源单元个数下,确定的允许采用的最大TBS如表2,例如,UL Grant为011,TBS阈值为1000时,允许采用的最大TBS为1000,资源单元(RU:resource unit)个数为4。Specifically, when the TBS threshold is 1000, when the third indication information in the UL Grant is '011', '100', '101', '110', '111', the number of different resource units is determined. The maximum allowed TBS is as shown in Table 2. For example, if the UL Grant is 011 and the TBS threshold is 1000, the maximum allowed TBS is 1000, and the number of resource units (RU: resource unit) is 4.
表2 TBS阈值为1000Table 2 TBS threshold is 1000
UL GrantUL Grant 允许采用的最大TBS,资源单元个数Maximum allowed TBS, number of resource units
‘011’‘011’ 1000bits,4RUs1000bits, 4RUs
‘100’‘100’ 1000bits,5RUs1000bits, 5RUs
‘101’‘101’ 1000bits,6RUs1000bits, 6RUs
‘110’‘110’ 1000bits,8RUs1000bits, 8RUs
‘111’‘111’ 1000bits,10RUs1000bits, 10RUs
具体的,当TBS阈值为872时,UL Grant中的第三指示信息为‘011’,‘100’,‘101’,‘110’,‘111’时,在不同的资源单元个数下,确定的允许采用的最大TBS如表3。Specifically, when the TBS threshold is 872, when the third indication information in the UL Grant is '011', '100', '101', '110', '111', the number of different resource units is determined. The maximum TBS allowed to be used is shown in Table 3.
表3 TBS阈值为872Table 3 TBS threshold is 872
UL GrantUL Grant 允许采用的最大TBS,资源单元个数Maximum allowed TBS, number of resource units
‘011’‘011’ 1000bits,4RUs1000bits, 4RUs
‘100’‘100’ 872bits,5RUs872bits, 5RUs
‘101’‘101’ 936bits,6RUs936bits, 6RUs
‘110’‘110’ 1000bits,8RUs1000bits, 8RUs
‘111’‘111’ 872bits,10RUs872bits, 10RUs
具体的,当TBS阈值为776时,UL Grant中的第三指示信息为‘011’,‘100’,‘101’,‘110’,‘111’时,在不同的资源单元个数下,确定的允许采用的最大TBS如表4。Specifically, when the TBS threshold is 776, the third indication information in the UL Grant is '011', '100', '101', '110', '111', and is determined under different resource unit numbers. The maximum TBS allowed to be used is shown in Table 4.
表4 TBS阈值为776Table 4 TBS threshold is 776
UL GrantUL Grant 允许采用的最大TBS,资源单元个数Maximum allowed TBS, number of resource units
‘011’‘011’ 776bits,4RUs776bits, 4RUs
‘100’‘100’ 776bits,5RUs776bits, 5RUs
‘101’‘101’ 808bits,6RUs808bits, 6RUs
‘110’‘110’ 808bits,8RUs808bits, 8RUs
‘111’‘111’ 872bits,10RUs872bits, 10RUs
具体的,当TBS阈值为680时,UL Grant中的第三指示信息为‘011’,‘100’,‘101’,‘110’,‘111’时,在不同的资源单元个数下,确定的允许采用的最大TBS如表5。Specifically, when the TBS threshold is 680, when the third indication information in the UL Grant is '011', '100', '101', '110', '111', the number of different resource units is determined. The maximum TBS allowed to be used is shown in Table 5.
表5 TBS阈值为680Table 5 TBS threshold is 680
UL GrantUL Grant 允许采用的最大TBS,资源单元个数Maximum allowed TBS, number of resource units
‘011’‘011’ 680bits,3RUs680bits, 3RUs
‘100’‘100’ 680bits,4RUs680bits, 4RUs
‘101’‘101’ 680bits,5RUs680bits, 5RUs
‘110’‘110’ 680bits,6RUs680bits, 6RUs
‘111’‘111’ 680bits,10RUs680bits, 10RUs
具体的,当TBS阈值为504时,UL Grant中的第三指示信息为‘011’,‘100’,‘101’,‘110’,‘111’时,在不同的资源单元个数下,确定的允许采用的最大TBS如表6。Specifically, when the TBS threshold is 504, when the third indication information in the UL Grant is '011', '100', '101', '110', '111', the number of different resource units is determined. The maximum TBS allowed to be used is shown in Table 6.
表6 TBS阈值为504Table 6 TBS threshold is 504
UL GrantUL Grant 允许采用的最大TBS,资源单元个数Maximum allowed TBS, number of resource units
‘011’‘011’ 504bits,3RUs504bits, 3RUs
‘100’‘100’ 536bits,4RUs536bits, 4RUs
‘101’‘101’ 504bits,5RUs504bits, 5RUs
‘110’‘110’ 504bits,6RUs504bits, 6RUs
‘111’‘111’ 552bits,8RUs552bits, 8RUs
具体的,当TBS阈值为424时,UL Grant中的第三指示信息为‘011’,‘100’,‘101’, ‘110’,‘111’时,在不同的资源单元个数下,确定的允许采用的最大TBS如表7。Specifically, when the TBS threshold is 424, when the third indication information in the UL Grant is '011', '100', '101', '110', '111', the number of different resource units is determined. The maximum TBS allowed to be used is shown in Table 7.
表7 TBS阈值为424Table 7 TBS threshold is 424
UL GrantUL Grant 允许采用的最大TBS,资源单元个数Maximum allowed TBS, number of resource units
‘011’‘011’ 440bits,2RUs440bits, 2RUs
‘100’‘100’ 456bits,3RUs456bits, 3RUs
‘101’‘101’ 472bits,4RUs472bits, 4RUs
‘110’‘110’ 424bits,5RUs424bits, 5RUs
‘111’‘111’ 504bits,6RUs504bits, 6RUs
具体的,当TBS阈值为328时,UL Grant中的第三指示信息为‘011’,‘100’,‘101’,‘110’,‘111’时,在不同的资源单元个数下,确定的允许采用的最大TBS如表8。Specifically, when the TBS threshold is 328, the third indication information in the UL Grant is '011', '100', '101', '110', '111', and is determined under different resource unit numbers. The maximum TBS allowed to be used is shown in Table 8.
表8 TBS阈值为328Table 8 TBS threshold is 328
UL GrantUL Grant 允许采用的最大TBS,资源单元个数Maximum allowed TBS, number of resource units
‘011’‘011’ 328bits,2RUs328bits, 2RUs
‘100’‘100’ 328bits,3RUs328bits, 3RUs
‘101’‘101’ 328bits,4RUs328bits, 4RUs
‘110’‘110’ 328bits,5RUs328bits, 5RUs
‘111’‘111’ 328bits,6RUs328bits, 6RUs
具体的,当TBS阈值为256时,UL Grant中的第三指示信息为‘011’,‘100’,‘101’,‘110’,‘111’时,在不同的资源单元个数下,确定的允许采用的最大TBS如表9。Specifically, when the TBS threshold is 256, when the third indication information in the UL Grant is '011', '100', '101', '110', '111', the number of different resource units is determined. The maximum TBS allowed to be used is shown in Table 9.
表9 TBS阈值为256Table 9 TBS threshold is 256
UL GrantUL Grant 允许采用的最大TBS,资源单元个数Maximum allowed TBS, number of resource units
‘011’‘011’ 256bits,2RUs256bits, 2RUs
‘100’‘100’ 256bits,3RUs256bits, 3RUs
‘101’‘101’ 256bits,4RUs256bits, 4RUs
‘110’‘110’ 256bits,5RUs256bits, 5RUs
‘111’‘111’ 256bits,6RUs256bits, 6RUs
应当理解,表2至表9当中的数值仅仅是一个例子。此外,表格中的UL grant与允许采用的最大TBS,资源单元个数的对应关系本发明不作限定。例如,应当理解,表2中还可以为011对应1000bits,6RUs。It should be understood that the numerical values in Tables 2 to 9 are merely examples. In addition, the correspondence between the UL grant in the table and the maximum allowed TBS and the number of resource units allowed in the present invention is not limited in the present invention. For example, it should be understood that Table 2 may also be 011 corresponding to 1000 bits, 6 RUs.
应当理解,表2至表9中,允许采用的最大TBS也可以换成是允许采用的TBS。同时,允许采用的最大TBS也可以是小于TBS阈值,在表2至表9中,仅仅列举了大于或者等于TBS阈值的情况。It should be understood that in Tables 2 to 9, the maximum TBS allowed to be used may also be replaced with a TBS that is allowed to be employed. At the same time, the maximum TBS allowed to be used may also be smaller than the TBS threshold. In Tables 2 to 9, only the case where the TBS threshold is greater than or equal to is listed.
可选的,作为另外一个实施例,上述消息2包括上行授权信息(UL grant),该上行授权信息还可以包括第四指示信息,该第四指示信息指示消息3的TBS索引。或者该第四指示信息和TBS阈值联合指示消息3的TBS索引。例如,TBS阈值为776比特,第三指示信息为‘100’时,指示TBS索引I TBS为5。 Optionally, in another embodiment, the message 2 includes uplink grant information (UL grant), and the uplink grant information may further include fourth indication information, where the fourth indication information indicates a TBS index of the message 3. Or the fourth indication information and the TBS threshold jointly indicate the TBS index of the message 3. For example, when the TBS threshold is 776 bits and the third indication information is '100', the TBS index I TBS is indicated to be 5.
根据TBS索引I TBS确定Msg3允许采用的TBS。允许采用的TBS可以大于或者等于或者小于TBS阈值。 TBS The TBS index to determine the I Msg3 allowed TBS employed. The allowed TBS can be greater than or equal to or less than the TBS threshold.
例如,可以为在表1中,根据TBS索引I TBS所在的行来确定该行的TBS集合中是否包含上 述TBS阈值,如果包含该TBS阈值,则允许采用的TBS等于TBS阈值。例如,TBS索引I TBS为9,确定该TBS索引I TBS所在的行的TBS集合为{136,296,456,616,776,936}。该TBS集合中包括TBS阈值776比特,因此确定允许采用的TBS为776比特。如果TBS集合中不包括TBS阈值,则将TBS集合中与TBS阈值最接近并且大于或者小于TBS阈值的TBS确定为允许采用的TBS。例如,TBS阈值为872比特,则将TBS集合中与TBS阈值872比特最接近并且大于TBS阈值的TBS确定为允许采用的TBS,即确定936为允许采用的TBS。或者将TBS集合中与TBS阈值872比特最接近并且小于TBS阈值的TBS确定为允许采用的TBS,即确定776为允许采用的TBS。 For example, in Table 1, it may be determined whether the TBS threshold of the row is included in the TBS set of the row according to the row where the TBS index I TBS is located, and if the TBS threshold is included, the allowed TBS is equal to the TBS threshold. For example, the TBS index I TBS is 9, and the TBS set of the row in which the TBS index I TBS is located is determined to be {136, 296, 456, 616, 776, 936}. The TBS threshold includes 776 bits in the TBS set, so it is determined that the allowed TBS is 776 bits. If the TBS threshold is not included in the TBS set, the TBS in the TBS set that is closest to the TBS threshold and greater or smaller than the TBS threshold is determined as the allowed TBS. For example, if the TBS threshold is 872 bits, the TBS in the TBS set that is closest to the TBS threshold 872 bits and greater than the TBS threshold is determined as the allowed TBS, ie, the determination 936 is the allowed TBS. Or the TBS in the TBS set that is closest to the TBS threshold 872 bits and smaller than the TBS threshold is determined as the allowed TBS, ie, the determination 776 is the allowed TBS.
或者,还可以根据TBS索引I TBS确定Msg3允许采用的最大TBS。同样的,可以在表1中,根据TBS索引I TBS所在的行来确定该行的TBS集合中是否包含上述TBS阈值,如果包含该TBS阈值,则允许采用的最大TBS为TBS阈值。如果TBS集合中不包括该TBS阈值,则将TBS集合中与TBS阈值最接近并且大于或者小于TBS阈值的TBS确定为允许采用的最大TBS。 Alternatively, it may also be determined using the Msg3 allowed maximum TBS TBS index according to I TBS. Similarly, in Table 1, according to the row in which the TBS index I TBS is located, it is determined whether the TBS threshold is included in the TBS set of the row, and if the TBS threshold is included, the maximum TBS allowed is the TBS threshold. If the TBS threshold is not included in the TBS set, the TBS in the TBS set that is closest to the TBS threshold and greater or smaller than the TBS threshold is determined as the maximum TBS allowed to be employed.
上述TBS阈值既可以是预设约定值,也可以由网络设备通过指示信息通知给终端设备,所述指示信息用于指示所述TBS阈值。The foregoing TBS threshold may be a preset agreement value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
103、根据允许采用的TBS,在候选TBS中确定目标TBS。103. Determine a target TBS in the candidate TBS according to the allowed TBS.
在根据允许采用的TBS在候选TBS中确定目标TBS时,可以使得确定出的目标TBS小于或者等于允许采用的TBS。其中,候选TBS可以以一个列表的形式存在。终端设备可以根据查表来从候选TBS中确定目标TBS。When the target TBS is determined in the candidate TBS according to the allowed TBS, the determined target TBS may be made less than or equal to the allowed TBS. Among them, the candidate TBSs may exist in the form of a list. The terminal device may determine the target TBS from the candidate TBSs according to the lookup table.
上述候选TBS为可以发送消息3时所有可用的TBS。The above candidate TBS is all available TBSs when message 3 can be sent.
例如,允许采用的最大TBS为1000bit,那么,最终从候选TBS中选择出来的目标TBS的最多为1000bit。For example, if the maximum TBS allowed is 1000 bits, then the target TBS finally selected from the candidate TBSs is at most 1000 bits.
可选地,在步骤103之前,终端设备还可以根据预设条件进行判断,并根据判断结果确定是否执行步骤103。Optionally, before the step 103, the terminal device may further perform determining according to the preset condition, and determine whether to perform step 103 according to the determination result.
具体地,根据终端设备是否满足预设条件来确定是否执行步骤103包括以下内容:Specifically, determining whether to perform step 103 according to whether the terminal device meets the preset condition includes the following content:
当终端设备满足预设条件时,终端设备执行步骤103;When the terminal device meets the preset condition, the terminal device performs step 103;
当终端设备不满足预设条件时,终端设备按照消息2中第一指示信息指示的允许采用的TBS和资源位置向网络设备发送消息3。When the terminal device does not meet the preset condition, the terminal device sends the message 3 to the network device according to the allowed TBS and the resource location indicated by the first indication information in the message 2.
上述预设条件可以为下面的预设条件1至3中的任意一种,或者,上述预设条件为预设条件4和5中的任意一种,或者,上述预设条件为预设条件6至8中的任意一种,或者,上述预设条件也可以是预设条件1至3中的任意一种与预设条件6至8中的任意一种的组合,或者,上述预设条件也可以是预设条件4和5中的任意一种与预设条件6至8中的任意一种的组合。The preset condition may be any one of the following preset conditions 1 to 3, or the preset condition is any one of the preset conditions 4 and 5, or the preset condition is the preset condition 6 In any one of 8 or above, the preset condition may be a combination of any one of the preset conditions 1 to 3 and any one of the preset conditions 6 to 8, or the preset condition is also It may be a combination of any one of the preset conditions 4 and 5 and any one of the preset conditions 6 to 8.
预设条件1:终端设备向网络设备发送的消息1对应的覆盖等级低于覆盖等级阈值;Preset condition 1: The coverage level corresponding to the message 1 sent by the terminal device to the network device is lower than the coverage level threshold;
预设条件2:终端设备向网络设备发送的消息1对应的覆盖等级高于覆盖等级阈值;Preset condition 2: the coverage level corresponding to the message 1 sent by the terminal device to the network device is higher than the coverage level threshold;
预设条件3:终端设备向网络设备发送的消息1对应的覆盖等级等于覆盖等级阈值;Preset condition 3: the coverage level corresponding to the message 1 sent by the terminal device to the network device is equal to the coverage level threshold;
预设条件4:终端设备向网络设备发送的消息1对应的覆盖等级属于基站指示的覆盖等级集合;Preset condition 4: the coverage level corresponding to the message 1 sent by the terminal device to the network device belongs to the coverage level set indicated by the base station;
预设条件5:终端设备向网络设备发送的消息1对应的覆盖等级不属于基站指示的覆盖等级集合;Preset condition 5: the coverage level corresponding to the message 1 sent by the terminal device to the network device does not belong to the coverage level set indicated by the base station;
预设条件6:终端设备允许采用的TBS大于TBS阈值;Preset condition 6: The TBS allowed by the terminal device is greater than the TBS threshold;
预设条件7:终端设备允许采用的TBS小于TBS阈值;Preset condition 7: The TBS allowed by the terminal device is less than the TBS threshold;
预设条件8:终端设备允许采用的TBS等于TBS阈值。Preset condition 8: The TBS allowed by the terminal device is equal to the TBS threshold.
其中,覆盖等级反映了终端设备与网络设备的距离的远近或小区覆盖质量或信号链路质量,终端设备当前的覆盖等级越小,终端设备与网络设备的距离越近或小区覆盖质量越好或信号链路质量越好。The coverage level reflects the distance between the terminal device and the network device, or the cell coverage quality or the quality of the signal link. The smaller the current coverage level of the terminal device, the closer the terminal device is to the network device or the better the cell coverage quality or The better the signal link quality.
上述覆盖等级阈值既可以是约定值,也可以由网络设备通过指示信息通知给终端设备(例如,通过将参数携带在消息中通知给终端设备),所述指示信息用于指示所述覆盖等级阈值,上述覆盖等级阈值的具体数值可以为2。The foregoing coverage level threshold may be an appointment value, or may be notified to the terminal device by the network device by using the indication information (for example, by notifying the terminal device by carrying the parameter in the message), the indication information is used to indicate the coverage level threshold. The specific value of the above coverage level threshold may be 2.
上述覆盖等级集合可以是约定集合,或者是网络设备通过指示信息通知给终端设备(例如,通过将参数携带在消息中通知给终端设备),所述指示信息用于指示所述覆盖等级集合。The foregoing coverage level set may be an appointment set, or the network device notifies the terminal device by using the indication information (for example, by notifying the terminal device by carrying the parameter in the message), the indication information is used to indicate the coverage level set.
类似地,上述TBS阈值既可以是约定值,也可以由网络设备通过指示信息通知给终端设备,所述指示信息用于指示所述TBS阈值。Similarly, the foregoing TBS threshold may be an agreed value, or may be notified to the terminal device by the network device by using the indication information, where the indication information is used to indicate the TBS threshold.
终端设备当前的覆盖等级可以是终端设备根据测量量的测量结果和测量量的阈值确定的,其中,测量量的阈值通过网络设备配置的参数确定。The current coverage level of the terminal device may be determined by the terminal device according to the measurement result of the measurement quantity and the threshold value of the measurement quantity, wherein the threshold value of the measurement quantity is determined by parameters configured by the network device.
上述测量量可以为参考信号接收功率(Reference Signal Received Power,RSRP),或者测量量为窄带参考信号接收功率(Narrowband Reference Signal Received Power,NRSRP)。The above measurement quantity may be Reference Signal Received Power (RSRP), or the measurement quantity is Narrowband Reference Signal Received Power (NRSRP).
可选地,终端设备可以根据当前测量量的测量结果与网络设备配置的测量量的门限值来确定终端设备向网络设备发送的消息1对应的覆盖等级。Optionally, the terminal device may determine, according to the measurement result of the current measurement quantity and the threshold value of the measurement quantity configured by the network device, a coverage level corresponding to the message 1 sent by the terminal device to the network device.
例如,基站配置有NRSRP的门限值,NRSRP的门限值包括NRSRP门限1和NRSRP门限2。For example, the base station is configured with a threshold of NRSRP, and the threshold of the NRSRP includes an NRSRP threshold 1 and an NRSRP threshold 2.
当终端设备的NRSRP测量量低于NRSRP门限1时,终端设备向网络设备发送的消息1对应的覆盖等级0;当终端设备的NRSRP测量量大于等于NRSRP门限1低于NRSRP门限2时,终端设备向网络设备发送的消息1对应的覆盖等级为覆盖等级1;当终端设备的NRSRP测量量高于NRSRP门限2时,终端设备向网络设备发送的消息1对应的覆盖等级为覆盖等级2。When the NRSRP measurement quantity of the terminal device is lower than the NRSRP threshold 1, the coverage level corresponding to the message 1 sent by the terminal device to the network device is 0; when the NRSRP measurement quantity of the terminal device is greater than or equal to the NRSRP threshold 1 being lower than the NRSRP threshold 2, the terminal device The coverage level corresponding to the message 1 sent to the network device is the coverage level 1. When the NRSRP measurement quantity of the terminal device is higher than the NRSRP threshold 2, the coverage level corresponding to the message 1 sent by the terminal device to the network device is the coverage level 2.
应理解,在确定终端设备向网络设备发送的消息1对应的覆盖等级时,网路设备会为每个覆盖等级配置对应的消息1资源。It should be understood that when determining the coverage level corresponding to the message 1 sent by the terminal device to the network device, the network device configures the corresponding message 1 resource for each coverage level.
可选的,上述候选TBS可以根据允许的TBS所在的列中进行选取。例如在表1中,如果允许的TBS为504比特,资源单元个数为5,则在I RU等于4对应的列中的TBS确定候选的TBS。候选的TBS可以小于或者等于允许的TBS。 Optionally, the candidate TBS may be selected according to a column in which the allowed TBS is located. For example, in Table 1, if the allowed TBS is 504 bits and the number of resource units is 5, the TBS in the column corresponding to I RU equal to 4 determines the candidate TBS. The candidate TBS may be less than or equal to the allowed TBS.
104、向网络设备发送消息3。104. Send a message 3 to the network device.
对于终端设备来说,在接收到消息2之后,会检查消息2中是否携带该终端设备之前发送的前导序列。如果该消息2中不包含终端设备之前发送的前导序列,则认为随机接入失败,终端设备需要再次执行步骤101重新发送消息1;如果消息2中包含终端设备之前发送的前导序列,则终端设备根据前导序列对应的随机接入响应中的上行链路授权(UL grant)指示的时频资源发送消息3。终端设备在发送消息时会在消息3中携带该终端设备的唯一身份标识(Cell radio network temporary identifier,C-RNTI)或者来自核心网的终端设备标识。因此,消息3携带UE的唯一标识,用于标识请求接入的当前终端设备。For the terminal device, after receiving the message 2, it is checked whether the preamble sequence sent before the terminal device is carried in the message 2. If the message 2 does not include the preamble sequence sent by the terminal device, the random access fails, the terminal device needs to perform step 101 to resend the message 1 again; if the message 2 includes the preamble sequence sent by the terminal device, the terminal device The message 3 is transmitted according to the time-frequency resource indicated by the uplink grant (UL grant) in the random access response corresponding to the preamble sequence. When transmitting the message, the terminal device carries the Cell radio network temporary identifier (C-RNTI) of the terminal device or the terminal device identifier from the core network in the message 3. Therefore, the message 3 carries the unique identifier of the UE, and is used to identify the current terminal device that requests access.
示例性地,消息3之后还可以进一步包括其他必要步骤,例如,终端设备从所述网络设备接收竞争解决消息,即消息4,具体可参照现有技术。Illustratively, the message 3 may further include other necessary steps. For example, the terminal device receives the contention resolution message, that is, the message 4, from the network device, and may refer to the prior art.
另外,步骤104中的消息3包含按照所述目标TBS传输的上行数据。也就是说,通过消息3可以向网络设备发送上行数据,从而实现在随机接入过程中向网络设备发送上行数据。In addition, message 3 in step 104 contains uplink data transmitted in accordance with the target TBS. That is to say, the uplink data can be sent to the network device through the message 3, so that the uplink data is sent to the network device in the random access process.
本申请能够根据允许采用的TBS从候选TBS中自由选择目标TBS,并且选择出来的目标TBS小于或者等于允许采用的TBS,因此,本申请可以让终端设备自主选择适合的TBS而不必 完全使用网络设备指示的允许采用的TBS,提高了终端设备确定TBS的灵活性,从而提高随机接入过程中上行数据的传输效率。The present application can freely select a target TBS from the candidate TBS according to the allowed TBS, and the selected target TBS is less than or equal to the allowed TBS. Therefore, the present application can allow the terminal device to independently select a suitable TBS without having to completely use the network device. The indicated allowed TBS improves the flexibility of the terminal device to determine the TBS, thereby improving the transmission efficiency of the uplink data in the random access process.
可选地,作为一个实施例,根据允许采用的TBS,在候选TBS中确定目标TBS,具体包括:根据允许采用的TBS,在候选TBS中确定出至少一个TBS;根据上行数据的大小,从至少一个TBS中确定出能用于传输上行数据的目标TBS。Optionally, as an embodiment, determining the target TBS in the candidate TBS according to the allowed TBS, specifically: determining, according to the allowed TBS, at least one TBS in the candidate TBS; according to the size of the uplink data, from at least A target TBS that can be used to transmit uplink data is determined in one TBS.
其中,上述至少一个TBS中的每一个TBS均小于或者等于允许采用的TBS。The TBS of each of the at least one TBS is less than or equal to the allowed TBS.
应理解,上述至少一个TBS可以组成第一TBS集合,从至少一个TBS中确定出能用于传输上行数据的目标TBS实际上是从第一TBS集合中确定出能用于传输上行数据的目标TBS。在本文中,第一TBS集合表示的含义与上述至少一个TBS的含义是一致的,下文中直接对第一TBS集合的相关内容进行说明。It should be understood that the at least one TBS may form a first TBS set, and determining, from the at least one TBS, a target TBS that can be used for transmitting uplink data is actually determining a target TBS that can be used for transmitting uplink data from the first TBS set. . Herein, the meaning of the first TBS set representation is consistent with the meaning of the at least one TBS described above, and the related content of the first TBS set is directly described below.
下面分别对根据允许采用的TBS,在候选TBS中确定出第一TBS集合,以及根据上行数据大小从第一TBS集合中确定出能够用于传输上行数据的目标TBS进行详细的说明。The following is a detailed description of determining the first TBS set in the candidate TBS according to the allowed TBS, and determining the target TBS that can be used for transmitting the uplink data from the first TBS set according to the uplink data size.
(1)根据允许采用的TBS,在候选TBS中确定出第一TBS集合。(1) The first TBS set is determined in the candidate TBS according to the allowed TBS.
具体地,可以采用第一种方式至第四种方式的任一种来确定出第一TBS集合。Specifically, any of the first mode to the fourth mode may be employed to determine the first TBS set.
第一种方式:从候选TBS中小于或者等于允许采用的TBS中,确定出预设数量的TBS作为第一TBS集合中的TBS。The first mode is: determining, by using a TBS that is less than or equal to the allowed TBS in the candidate TBS, a preset number of TBSs as the TBS in the first TBS set.
第一种方式相当于先从候选TBS中先确定出第二TBS集合,其中,该第二TBS集合中的任意一个TBS均小于或者等于允许采用的TBS,接下来,再从第二TBS集合中选择出预设数量的TBS作为第一TBS集合中的TBS。The first method is equivalent to first determining a second TBS set from the candidate TBS, where any one of the second TBS sets is less than or equal to the allowed TBS, and then, from the second TBS set. A preset number of TBSs are selected as the TBS in the first TBS set.
在第一种方式中,当从第二TBS集合中选择出预设数量的TBS时,可以按照数值由大到小的顺序来进行选择,优先选择数值较大的TBS作为第一TBS集合中的TBS,直到选择出来的TBS的数量达到预设数量。In the first mode, when a preset number of TBSs are selected from the second TBS set, the selection may be performed in descending order of values, and the TBS with a larger value is preferentially selected as the first TBS set. TBS until the number of selected TBSs reaches the preset number.
例如,候选TBS为{TBS1、TBS2、TBS3、TBS4、TBS5、TBS6},其中,TBS1至TBS6的数值依次为{144、328、504、680、872、1000},允许采用的最大TBS为900,候选TBS中只有TBS6大于允许采用的最大TBS,因此,可以将候选TBS中的TBS1至TBS5确定为第二TBS集合中的元素,得到的第二TBS集合为{TBS1、TBS2、TBS3、TBS4、TBS5}。接下来再从第二TBS集合中按照数值从大到小的顺序选择出4个TBS作为第一TBS集合中的TBS,得到第一TBS集合为{TBS2、TBS3、TBS4、TBS5}。For example, the candidate TBS is {TBS1, TBS2, TBS3, TBS4, TBS5, TBS6}, wherein the values of TBS1 to TBS6 are sequentially {144, 328, 504, 680, 872, 1000}, and the maximum TBS allowed is 900. Only TBS6 in the candidate TBS is larger than the maximum allowed TBS. Therefore, TBS1 to TBS5 in the candidate TBS may be determined as elements in the second TBS set, and the obtained second TBS set is {TBS1, TBS2, TBS3, TBS4, TBS5. }. Next, four TBSs are selected from the second TBS set in descending order of values as TBSs in the first TBS set, and the first TBS set is obtained as {TBS2, TBS3, TBS4, TBS5}.
可选地,在第一种方式中,在从第二TBS集合中选择预设数量的TBS时,也可以按照TBS数值从小到大的顺序进行选择,优先选择数值较小的TBS作为第一TBS集合中的TBS,直到选择出来的TBS的数量达到预设数量。Optionally, in the first manner, when a preset number of TBSs are selected from the second TBS set, the TBS values may be selected in descending order, and the TBS with a smaller value is preferentially selected as the first TBS. The TBS in the set until the number of selected TBSs reaches the preset number.
可选地,在第一种方式中,当从第二TBS集合中选择预设数量的TBS时,直接从第二TBS集合中随机选择出预设数量的TBS而不必考虑TBS数值的大小。Optionally, in the first manner, when a preset number of TBSs are selected from the second TBS set, a preset number of TBSs are randomly selected from the second TBS set without considering the size of the TBS value.
可选地,当允许采用的最大TBS为TBSn时,终端设备具体可以根据预设规则,针对TBSn,映射出可用资源内可能发送的n(n为大于或者等于1的整数)种TBS:TBS1、TBS2…TBSn,然后再根据上行数据的大小从n种TBS中选择出某个TBS作为目标TBS。Optionally, when the maximum TBS allowed to be used is TBSn, the terminal device may specifically map, according to a preset rule, a TBS (n is an integer greater than or equal to 1) TBS: TBS1 that may be sent in the available resources. TBS2...TBSn, and then select a certain TBS from the n types of TBSs as the target TBS according to the size of the uplink data.
例如,如表1所示,当上行授权信息中指示的I TBS=10,允许采用的最大TBS为1000bits,那么,根据表1可知候选TBS为{144、328、504、680、872、1000},候选TBS中的每个TBS均小于或者等于1000bit,那么,可以从候选TBS中按照从大到小的顺序选择1000、872、680和504作为第一TBS集合,得到第一TBS集合为{504、680、872、1000}。 For example, as shown in Table 1, when the I TBS = 10 indicated in the uplink grant information and the maximum allowed TBS is 1000 bits, then according to Table 1, the candidate TBS is {144, 328, 504, 680, 872, 1000}. If each TBS in the candidate TBS is less than or equal to 1000 bits, then 1000, 872, 680, and 504 may be selected from the candidate TBSs in descending order as the first TBS set, and the first TBS set is obtained as {504. , 680, 872, 1000}.
如表1所示,当上行授权信息指示的I TBS为其它数值时,也可以按照与上一段落类似的方 式确定出第一TBS集合。例如,允许采用的最大TBS为1000bit,当上行授权信息中指示的I TBS=4时,得到的第一TBS集合为{408、552、680},当上行授权信息中指示的I TBS=8时,得到的第一TBS集合为{392、536、680、808}。 As shown in Table 1, when the I TBS indicated by the uplink grant information is another value, the first TBS set can also be determined in a manner similar to the previous paragraph. For example, the maximum TBS allowed to be used is 1000 bits. When I TBS = 4 indicated in the uplink grant information, the obtained first TBS set is {408, 552, 680}, when I TBS = 8 indicated in the uplink grant information. The obtained first TBS set is {392, 536, 680, 808}.
表1Table 1
Figure PCTCN2019075015-appb-000001
Figure PCTCN2019075015-appb-000001
第二种方式:从候选TBS中小于或者等于允许采用的TBS中,确定出大于预设数值的TBS作为第一TBS集合中的TBS。The second mode is: determining, from the TBS that is less than or equal to the allowed TBS in the candidate TBS, that the TBS is greater than the preset value as the TBS in the first TBS set.
具体地,在第二种方式中,可以先从候选TBS中确定出第二TBS集合,其中,该第二TBS集合中的任意一个TBS均小于或者等于允许采用的TBS,然后再从该第二TBS集合中选择出大于预设数值的TBS作为第一TBS集合中的TBS。Specifically, in the second mode, the second TBS set may be determined from the candidate TBS, where any one of the second TBS sets is less than or equal to the allowed TBS, and then from the second A TBS larger than a preset value is selected in the TBS set as a TBS in the first TBS set.
例如,候选TBS为{TBS1、TBS2、TBS3、TBS4、TBS5、TBS6},其中,TBS1至TBS6的数值依次为{144、328、504、680、872、1000},允许采用的最大TBS的数值为900,候选TBS中只有TBS6大于允许采用的最大TBS,因此,可以将候选TBS中的TBS1至TBS5确定为第二TBS集合中的元素,得到的第二TBS集合为{TBS1、TBS2、TBS3、TBS4、TBS5}。接下来再从第二TBS集合中选择出数值大于500(这里的500仅是一个示例,实际处理时可以根据情况来设置其它数值)的TBS作为第一TBS集合中的TBS。由于第二TBS集合中只有TBS3、TBS4和TBS5的数值大于500,因此,得到第一TBS集合为{TBS3、TBS4、TBS5}。For example, the candidate TBS is {TBS1, TBS2, TBS3, TBS4, TBS5, TBS6}, wherein the values of TBS1 to TBS6 are sequentially {144, 328, 504, 680, 872, 1000}, and the maximum allowed TBS value is 900. Only TBS6 in the candidate TBS is greater than the maximum allowed TBS. Therefore, TBS1 to TBS5 in the candidate TBS may be determined as elements in the second TBS set, and the obtained second TBS set is {TBS1, TBS2, TBS3, TBS4. , TBS5}. Next, a TBS whose value is greater than 500 (where 500 is only an example, and other values can be set according to the situation in actual processing) is selected from the second TBS set as the TBS in the first TBS set. Since only the values of TBS3, TBS4, and TBS5 in the second TBS set are greater than 500, the first TBS set is obtained as {TBS3, TBS4, TBS5}.
第三种方式:从候选TBS中小于或者等于允许采用的TBS中先确定出大于预设数值的TBS,然后再从该大于预设数值的TBS中选择出预设数量的TBS作为第一TBS集合中的TBS。The third method is: determining, from the TBS that is less than or equal to the allowed TBS, the TBS that is greater than the preset value, and then selecting the preset number of TBSs from the TBS that is greater than the preset value as the first TBS set. TBS in.
具体地,在第三种方式中,终端设备从候选TBS中先确定出第二TBS集合,该第二TBS集合中的任意一个TBS均小于或者等于允许采用的TBS,接下来再从第二TBS集合中选择出大于预设数值的TBS作为第三TBS集合中的TBS,最后再从第三TBS集合中选择出预设数量的TBS作为第一TBS集合中的TBS。Specifically, in the third mode, the terminal device first determines the second TBS set from the candidate TBS, and any one of the second TBS sets is less than or equal to the allowed TBS, and then from the second TBS. A TBS greater than a preset value is selected in the set as a TBS in the third TBS set, and finally a preset number of TBSs are selected from the third TBS set as a TBS in the first TBS set.
例如,候选TBS为{TBS1、TBS2、TBS3、TBS4、TBS5、TBS6},其中,TBS1至TBS6的数值依次为{144、328、504、680、872、1000},允许采用的最大TBS为900bit,候选TBS中只有TBS6大于允许采用的最大TBS,因此,可以将候选TBS中的TBS1至TBS5确定为第二TBS 集合中的元素,得到的第二TBS集合为{TBS1、TBS2、TBS3、TBS4、TBS5}。接下来再从第二TBS集合中选择出大于550的TBS(TBS4、TBS5和TBS6)作为第三TBS集合,得到第三TBS集合为{TBS4、TBS5和TBS6},最后再从第三TBS集合按照从大到小的顺序选择出2个TBS(TBS5和TBS6)作为上述第一TBS集合中的TBS,得到第一TBS集合为{TBS5、TBS6}For example, the candidate TBS is {TBS1, TBS2, TBS3, TBS4, TBS5, TBS6}, wherein the values of TBS1 to TBS6 are sequentially {144, 328, 504, 680, 872, 1000}, and the maximum allowed TBS is 900 bits. Only TBS6 in the candidate TBS is larger than the maximum allowed TBS. Therefore, TBS1 to TBS5 in the candidate TBS may be determined as elements in the second TBS set, and the obtained second TBS set is {TBS1, TBS2, TBS3, TBS4, TBS5. }. Then, TBSs (TBS4, TBS5, and TBS6) greater than 550 are selected as the third TBS set from the second TBS set, and the third TBS set is obtained as {TBS4, TBS5, and TBS6}, and finally from the third TBS set. Selecting 2 TBSs (TBS5 and TBS6) from the largest to the smallest as the TBS in the first TBS set, and obtaining the first TBS set as {TBS5, TBS6}
第四种方式:从候选TBS中小于或者等于允许采用的TBS中先确定预设数量的TBS,然后再从该预设数量的TBS中选择出大于预设数值的TBS作为第一TBS集合中的TBS。The fourth mode is: determining a preset number of TBSs from the TBSs that are less than or equal to the allowed TBSs in the candidate TBS, and then selecting a TBS greater than the preset value from the preset number of TBSs as the first TBS set. TBS.
具体地,在第四种方式中,终端设备从候选TBS中先确定出第二TBS集合,该第二TBS集合中的任意一个TBS均小于或者等于允许采用的TBS,接下来再从第二TBS集合中选择出预设数量的TBS作为第三TBS集合中的TBS,最后再从第三TBS集合中选择出大于预设数值的TBS作为第一TBS集合中的TBS。Specifically, in the fourth mode, the terminal device first determines a second TBS set from the candidate TBS, where any one of the second TBS sets is less than or equal to the allowed TBS, and then from the second TBS. A preset number of TBSs are selected as the TBSs in the third TBS set, and finally TBSs larger than the preset value are selected from the third TBS set as the TBSs in the first TBS set.
例如,候选TBS为{TBS1、TBS2、TBS3、TBS4、TBS5、TBS6},其中,TBS1至TBS6的数值依次为{144、328、504、680、872、1000},允许采用的最大TBS为900bit,候选TBS中只有TBS6大于允许采用的最大TBS,因此,可以将候选TBS中的TBS1至TBS5确定为第二TBS集合中的元素,得到的第二TBS集合为{TBS1、TBS2、TBS3、TBS4、TBS5}。接下来再从第二TBS集合中按照数值从大到小的顺序选择出4个TBS(TBS2、TBS3、TBS4、TBS5)作为第三TBS集合中的TBS,得到第三TBS集合为{TBS2、TBS3、TBS4、TBS5},最后再从第三TBS集合中的TBS中选择出数值大于600的TBS{TBS4、TBS5}作为第一TBS集合中的TBS,得到第一TBS集合为{TBS4、TBS5}。For example, the candidate TBS is {TBS1, TBS2, TBS3, TBS4, TBS5, TBS6}, wherein the values of TBS1 to TBS6 are sequentially {144, 328, 504, 680, 872, 1000}, and the maximum allowed TBS is 900 bits. Only TBS6 in the candidate TBS is larger than the maximum allowed TBS. Therefore, TBS1 to TBS5 in the candidate TBS may be determined as elements in the second TBS set, and the obtained second TBS set is {TBS1, TBS2, TBS3, TBS4, TBS5. }. Next, four TBSs (TBS2, TBS3, TBS4, and TBS5) are selected from the second TBS set in descending order of values as TBSs in the third TBS set, and the third TBS set is obtained as {TBS2, TBS3. And TBS4, TBS5}, and finally select TBS {TBS4, TBS5} whose value is greater than 600 from the TBS in the third TBS set as the TBS in the first TBS set, and obtain the first TBS set as {TBS4, TBS5}.
应理解,上述第三种方式和第四种方式分别相当于上述第一种方式和第二种方式的综合,在上述第一种方式和第二种方式中,在确定了第二TBS集合之后,是分别从第二TBS集合中选择出预设数量的TBS或者大于预定数值的TBS作为第一TBS集合中的TBS。而在第三种方式和第四种方式中,在确定了第二TBS集合之后,是综合考虑了预设数值和大于预设数值,与第一种和第二种方式相比,第三种方式和第四种方式能够从候选TBS中选择出与最终要发送的上行数据更匹配的TBS,简化了根据上行数据大小从第一TBS集合中确定出目标TBS的过程。It should be understood that the foregoing third mode and the fourth mode are respectively equivalent to the combination of the foregoing first mode and the second mode, respectively, in the first mode and the second mode, after determining the second TBS set And selecting, by the second TBS set, a preset number of TBSs or TBSs greater than a predetermined value as the TBSs in the first TBS set. In the third mode and the fourth mode, after determining the second TBS set, the preset value is greater than the preset value, and the third type is compared with the first type and the second mode. The mode and the fourth mode can select a TBS that better matches the uplink data to be finally transmitted from the candidate TBS, and simplifies the process of determining the target TBS from the first TBS set according to the uplink data size.
第七种方式:从候选TBS中小于或者等于允许采用的TBS中,确定出预设数量的TBS作为第一TBS集合中的TBS。The seventh mode is: determining, by using a TBS that is less than or equal to the allowed TBS in the candidate TBS, a preset number of TBSs as the TBS in the first TBS set.
具体地,在第七种方式中,可以先从候选TBS中确定出第二TBS集合,其中,该第二TBS集合至少包含允许采用的TBS。第二集合中的任意一个TBS均小于或者等于允许采用的TBS。然后再从该第二集合中,等间隔的选取预设数量的TBS。Specifically, in the seventh mode, the second TBS set may be determined from the candidate TBS, where the second TBS set includes at least the TBS allowed to be used. Any one of the TBSs in the second set is less than or equal to the allowed TBS. Then, from the second set, a predetermined number of TBSs are selected at equal intervals.
上述从第二集合中,等间隔的选取预设数量的TBS,可以是按照等TBS间隔,即依次选取出来的TBS之间的差值相等,从允许采用的TBS开始,按照从大到小的顺序,直到选取出预设数量的TBS。In the foregoing second set, the predetermined number of TBSs are equally spaced, and may be equal to each other according to the equal TBS interval, that is, the difference between the TBSs that are sequentially selected, starting from the allowed TBS, and from large to small. Order until a preset number of TBSs are selected.
上述从第二集合中,等间隔的选取预设数量的TBS,可以是在资源单元对应的TBS列中,按照等间隔的TBS索引,即依次选取出来的TBS所对应的索引之间的差值相等,从允许采用的TBS对应的索引开始,按照从大到小的顺序,直到选取出预设数量的TBS作为第一TBS集合中的TBS。例如,资源单元对应的TBS列为I RU等于4所在的列,允许采用的TBS为872,对应的索引I TBS等于10,则按照间隔2,从大到小的方式,依次选出4个的TBS索引为10,8,6,4,即第一TBS集合中的TBS为872,680,504,328。 In the foregoing second set, the predetermined number of TBSs may be selected in equal intervals, and may be in the TBS column corresponding to the resource unit, according to the equally spaced TBS index, that is, the difference between the indexes corresponding to the TBSs sequentially selected. Equally, starting from the index corresponding to the allowed TBS, in descending order, until a preset number of TBSs are selected as the TBS in the first TBS set. For example, the TBS column corresponding to the resource unit is a column in which I RU is equal to 4, and the allowed TBS is 872, and the corresponding index I TBS is equal to 10. Then, according to the interval 2, four from the largest to the smallest. The TBS index is 10, 8, 6, 4, that is, the TBS in the first TBS set is 872, 680, 504, 328.
上述从第二集合中,等间隔的选取预设数量的TBS,可以是按照TBS的比值等间隔,即依次选取出来的TBS之间的比值相等,从允许采用的TBS开始,按照从大到小的顺序,直到 选取出预设数量的TBS。例如,预设数值为4,选取出来的第一TBS集合中的TBS为允许采用的TBS,TBS1,TBS2,TBS3,则相邻TBS之间的比值为允许采用的TBS/TBS1,TBS1/TBS2,TBS2/TBS3,该比值接近相等。比值接近相等可以理解为各个比值之间的差值都小于一个阈值,例如0.2。In the foregoing second set, the predetermined number of TBSs may be selected at equal intervals, which may be equal to the ratio of the TBSs, that is, the ratios of the TBSs sequentially selected are equal, starting from the allowed TBS, from large to small. The order until the preset number of TBSs is selected. For example, the preset value is 4, and the TBS in the selected first TBS set is the allowed TBS, TBS1, TBS2, and TBS3, and the ratio between the adjacent TBSs is allowed to be used by TBS/TBS1, TBS1/TBS2, TBS2/TBS3, the ratio is nearly equal. The ratios are nearly equal to each other. It can be understood that the difference between the individual ratios is less than a threshold, such as 0.2.
第八种方式:从候选TBS中小于或者等于允许采用的最大TBS中,确定出大于预设数值的预设数量的TBS作为第一TBS集合中的TBS。The eighth mode: determining, from the candidate TBS that is less than or equal to the maximum allowed TBS, determining a preset number of TBSs greater than a preset value as the TBS in the first TBS set.
具体的,在第八种方式中,可以先从候选TBS中确定出第二TBS集合,其中,该第二TBS集合至少包含允许采用的最大TBS(TBS max)和最小TBS(TBS min),该TBS min为与预设数值相等,或者与预设数值最接近且大于预设数值的TBS,或者由协议直接规定。然后从第二集合中,等间隔的选取预设数量的TBS,作为第一TBS集合中的TBS。 Specifically, in the eighth mode, the second TBS set may be determined from the candidate TBS, where the second TBS set includes at least a maximum TBS (TBS max ) and a minimum TBS (TBS min ) that are allowed to be used. TBS min is a TBS that is equal to the preset value, or is closest to the preset value and greater than the preset value, or is directly specified by the protocol. Then, from the second set, a preset number of TBSs are selected at equal intervals as the TBS in the first TBS set.
上述从第二集合中,等间隔的选取预设数量的TBS,可以是先选取TBS max和TBS min,然后按照等TBS间隔,即依次选取出来的TBS之间的差值相等,可以从TBS max开始,按照从大到小的顺序,也可以从TBS min开始,按照从小到大的顺序,直到选取出预设数量的TBS。 In the foregoing second set, the predetermined number of TBSs may be selected at equal intervals, and the TBS max and TBS min may be selected first, and then the difference between the TBSs that are sequentially selected according to the equal TBS interval is equal, and may be from TBS max. At the beginning, in order from large to small, it is also possible to start from TBS min , in order from small to large, until a preset number of TBSs are selected.
上述从第二集合中,等间隔的选取预设数量的TBS,可以是先选取TBS max和TBS min,然后按照等TBS间隔,即依次选取出来的TBS之间的差值相等,可以从TBS max开始,按照从大到小的顺序,也可以从TBS min开始,按照从小到大的顺序,直到选取出预设数量的TBS。 In the foregoing second set, the predetermined number of TBSs may be selected at equal intervals, and the TBS max and TBS min may be selected first, and then the difference between the TBSs that are sequentially selected according to the equal TBS interval is equal, and may be from TBS max. At the beginning, in order from large to small, it is also possible to start from TBS min , in order from small to large, until a preset number of TBSs are selected.
上述从第二集合中,等间隔的选取预设数量的TBS,可以是先选取TBS max和TBS minIn the foregoing second set, the predetermined number of TBSs are selected at equal intervals, and the TBS max and TBS min may be selected first.
按照TBS的比值等间隔,即依次选取出来的TBS之间的比值接近相等。例如,预设数值为4,选取出来的第一TBS集合中的TBS为TBS max,TBS1,TBS2,TBS min,则相邻TBS之间的比值为TBS max/TBS1,TBS1/TBS2,TBS2/TBS min,该比值接近相等。 According to the ratio of the TBS, the ratio between the TBSs sequentially selected is nearly equal. For example, the preset value is 4, and the TBS in the selected first TBS set is TBS max , TBS1, TBS2, TBS min , and the ratio between adjacent TBSs is TBS max /TBS1, TBS1/TBS2, TBS2/TBS Min , the ratio is nearly equal.
(2)根据上行数据的大小,从第一TBS集合(至少一个TBS)中确定出能用于传输所述上行数据的目标TBS。(2) Determining, from the first TBS set (at least one TBS), a target TBS that can be used to transmit the uplink data according to the size of the uplink data.
具体地,终端设备可以根据上行数据的大小,从上述第一TBS集合中确定出与上行数据匹配的目标TBS。而与上行数据匹配的目标TBS可以是指第一TBS集合中大于或者等于上行数据对应的TB的大小,并与上行数据对应的TB的大小的差值在一定范围内的TBS。Specifically, the terminal device may determine, from the first TBS set, a target TBS that matches the uplink data according to the size of the uplink data. The target TBS that matches the uplink data may refer to a TBS in the first TBS set that is greater than or equal to the size of the TB corresponding to the uplink data, and the difference in the size of the TB corresponding to the uplink data is within a certain range.
可选地,具体可以采用下面的两种方式(第五种方式和第六种方式)从第一TBS集合中确定出能用于传输所述上行数据的目标TBS。Optionally, the following two manners (the fifth mode and the sixth mode) may be used to determine, from the first TBS set, a target TBS that can be used to transmit the uplink data.
第五种方式:先确定出第一TBS集合中大于或者等于对应的TB的大小的TBS,然后再从第一TBS集合中大于或者等于上行数据对应的TB的大小中任意选择一个TBS作为目标TBS。The fifth method is: first determining a TBS in the first TBS set that is greater than or equal to the size of the corresponding TB, and then arbitrarily selecting one TBS from the size of the TB corresponding to the uplink data in the first TBS set as the target TBS. .
例如,第一TBS集合为{TBS2、TBS3、TBS4、TBS5},TBS2至TBS5的数值分别为{328、504、680、872},上行数据对应的TB的大小为500bit,那么,可以从第一TBS集合中确定出大于或者等于上行数据对应的TB大小的TBS为{TBS3、TBS4、TBS5},然后再从{TBS3、TBS4、TBS5}中任意选择出一个TBS(如TBS4)作为目标TBS。For example, the first TBS set is {TBS2, TBS3, TBS4, TBS5}, the values of TBS2 to TBS5 are respectively {328, 504, 680, 872}, and the size of the TB corresponding to the uplink data is 500 bits, then, the first can be from the first The TBS in the TBS set that is greater than or equal to the TB size corresponding to the uplink data is {TBS3, TBS4, TBS5}, and then one TBS (such as TBS4) is arbitrarily selected from the {TBS3, TBS4, TBS5} as the target TBS.
第六种方式:先确定出第一TBS集合中大于或者等于上行数据对应的TB的大小的TBS,然后再从第一TBS集合中大于或者等于上行数据对应的TB的大小中选择一个数值最小的TBS作为目标TBS。The sixth method is: first determining a TBS in the first TBS set that is greater than or equal to the size of the TB corresponding to the uplink data, and then selecting a value from the first TBS set that is greater than or equal to the TB corresponding to the uplink data. TBS is the target TBS.
例如,第一TBS集合为{TBS2、TBS3、TBS4、TBS5},TBS2至TBS5的数值分别为{328、504、680、872},上行数据对应的TB的大小为500bit,那么,可以从第一TBS集合中确定出大于或者等于上行数据对应的TB大小的TBS为{TBS3、TBS4、TBS5},然后再从{TBS3、TBS4、TBS5}中选择出一个数值最小的TBS(TBS3)作为目标TBS。For example, the first TBS set is {TBS2, TBS3, TBS4, TBS5}, the values of TBS2 to TBS5 are respectively {328, 504, 680, 872}, and the size of the TB corresponding to the uplink data is 500 bits, then, the first can be from the first The TBS in the TBS set that is greater than or equal to the TB size corresponding to the uplink data is {TBS3, TBS4, TBS5}, and then selects the TBS (TBS3) with the smallest value from the {TBS3, TBS4, TBS5} as the target TBS.
应理解,在确定目标TBS时,也可以从第一TBS集合中大于或者等于上行数据对应的TB 的大小中选择一个数值最大的TBS作为目标TBS。It should be understood that, when determining the target TBS, a TBS with the largest value may be selected from the size of the TB corresponding to the uplink data in the first TBS set as the target TBS.
或者,在确定目标TBS时,还可以从第一TBS集合中大于或者等于上行数据对应的TB的大小中选择与上行数据对应的TB的大小的差值在一定预设范围内的TBS作为目标TBS。Alternatively, when determining the target TBS, the TBS whose value of the TB corresponding to the uplink data is within a certain preset range may be selected from the size of the TB corresponding to the uplink data in the first TBS set as the target TBS. .
例如,第一TBS集合为{TBS1、TBS2、TBS3},其中,TBS1为504bit,TBS2为680bit,TBS3为872bit,上行数据对应的TB的大小为650bit,在TBS1、TBS2和TBS3中,TBS2和TBS3均大于上行数据,TBS2和上行数据对应的TB的大小的差值为30bit,TBS3和上行数据对应的TB的大小的差值为222bit,假设上行数据对应的TB的大小和TBS的差值的预设范围为小于或者等于250bit,TBS2、TBS3与上行数据的差值均在差值的预设范围内,那么,可以从TBS2和TBS3中任意选择一个TBS作为目标TBS。For example, the first TBS set is {TBS1, TBS2, TBS3}, where TBS1 is 504bit, TBS2 is 680bit, TBS3 is 872bit, and uplink data corresponds to TB size of 650bit, in TBS1, TBS2 and TBS3, TBS2 and TBS3 The difference between the size of the TB corresponding to the TBS2 and the uplink data is 30 bits, and the difference between the size of the TB corresponding to the uplink data is 222 bits, and the difference between the size of the TB corresponding to the uplink data and the difference of the TBS is assumed. If the range is less than or equal to 250 bits, and the difference between TBS2 and TBS3 and the uplink data is within the preset range of the difference, then one TBS can be arbitrarily selected from TBS2 and TBS3 as the target TBS.
可选地,作为一个实施例,消息1承载在第一资源上,其中,消息1承载在第一资源上用于指示通过消息3向网络设备发送上行数据。第一资源可以是预设的以用于实现所述指示功能。Optionally, as an embodiment, the message 1 is carried on the first resource, where the message 1 is carried on the first resource, and is used to indicate that the uplink data is sent to the network device by using the message 3. The first resource may be preset for implementing the indication function.
本申请中,通过消息1是否承载在特定资源上能够灵活指示是否在随机接入过程中进行上行数据的传输,便于网络设备进行上行数据的接收。In this application, whether the message 1 is carried on a specific resource can flexibly indicate whether the uplink data is transmitted during the random access process, so that the network device can receive the uplink data.
具体地,当消息1承载在特定资源(上述第一资源为特定资源)上时,网络设备在随机接入过程中进行上行数据的接收,而当消息1承载在特定资源之外的其它资源上时,网络设备在随机接入完成之后(具体可以是建立了RRC链接之后)才能进行上行数据的接收。Specifically, when the message 1 is carried on a specific resource (the first resource is a specific resource), the network device performs uplink data reception in the random access process, and when the message 1 is carried on other resources than the specific resource. When the network device completes the random access (specifically, after the RRC link is established), the uplink data can be received.
应理解,在本申请中,也可以不限定消息1是否承载在特定的资源上,也就是说,无论在何种资源上发送消息1,都可以在随机接入过程中向网络设备传输上行数据。It should be understood that, in the present application, it is also possible to not limit whether the message 1 is carried on a specific resource, that is, whether the message 1 is sent on any resource, the uplink data may be transmitted to the network device in the random access process. .
应理解,当向网络设备发送了消息3之后,网络设备会对消息3进行译码,以获取消息3中的上行数据,如果网络设备译码消息3失败,那么,网络设备会请求重新发送消息3,具体过程可以如图5所示。It should be understood that after the message 3 is sent to the network device, the network device decodes the message 3 to obtain the uplink data in the message 3. If the network device decodes the message 3, the network device requests to resend the message. 3, the specific process can be as shown in Figure 5.
图5本申请实施例的随机接入过程中传输数据的方法的流程图。图5所示的方法可以由终端设备来执行,图5所示的方法具体包括步骤201至步骤209,下面分别对步骤201至步骤209进行详细的介绍。FIG. 5 is a flowchart of a method for transmitting data in a random access procedure according to an embodiment of the present application. The method shown in FIG. 5 can be performed by the terminal device. The method shown in FIG. 5 specifically includes steps 201 to 209. Steps 201 to 209 are respectively described in detail below.
201、终端设备向网络设备发送消息1。201. The terminal device sends a message 1 to the network device.
上述消息1具体可以是前导序列,用于开启随机接入过程。The foregoing message 1 may specifically be a preamble sequence for enabling a random access procedure.
上述消息1可以是在特定资源上发送的,通过在特定资源上发送消息1来指示终端设备将在随机接入过程中向网络设备发送上行数据。The above message 1 may be sent on a specific resource, and the message device 1 is sent on a specific resource to indicate that the terminal device will send uplink data to the network device in the random access procedure.
202、终端设备接收网络设备发送的消息2。202. The terminal device receives the message 2 sent by the network device.
上述消息2包括上行授权信息(UL grant),该上行授权信息又包括第一指示信息,该第一指示信息用于在消息3中允许采用的TBS。The above message 2 includes uplink grant information (UL grant), which in turn includes first indication information, which is used for the TBS allowed in the message 3.
根据第一指示信息指示的在消息3中允许采用的TBS,终端设备可以从候选TBS中确定出目标TBS。其中,从候选TBS中确定出目标TBS的具体方式可以参照上文。The terminal device may determine the target TBS from the candidate TBSs according to the TBS allowed to be employed in the message 3 indicated by the first indication information. The specific manner of determining the target TBS from the candidate TBS can be referred to above.
上述候选TBS为可以发送消息3时所有可用的TBS。The above candidate TBS is all available TBSs when message 3 can be sent.
上述步骤201和步骤202分别对应于上文中的步骤101和步骤102,上文中对步骤101和步骤102的限定和解释同样适用于步骤201和步骤202。The above steps 201 and 202 correspond to the above steps 101 and 102, respectively, and the above definitions and explanations of the steps 101 and 102 are equally applicable to the steps 201 and 202.
203、终端设备向网络设备发送消息3。203. The terminal device sends a message 3 to the network device.
其中,消息3包含按照所述目标TBS传输的上行数据。The message 3 includes uplink data transmitted according to the target TBS.
204、网络设备是否正确译码消息3。204. Whether the network device correctly decodes the message 3.
应理解,当网络设备正确译码消息3时,网络设备可以从消息3中获取上行数据,执行 步骤205,而当网络设备没有正确译码消息3时,网络设备可以指示终端设备重新发送消息3,以完成上行数据的传输,也就是执行步骤206。It should be understood that when the network device correctly decodes the message 3, the network device may acquire the uplink data from the message 3, and perform step 205. When the network device does not correctly decode the message 3, the network device may instruct the terminal device to resend the message 3. To complete the transmission of the uplink data, that is, to perform step 206.
205、网络设备从消息3获取上行数据。205. The network device acquires uplink data from message 3.
206、网络设备向终端设备发送第二指示信息。上述第二指示信息用于指示重新发送消息3以及在重新发送消息3时所采用的更新的TBS。206. The network device sends the second indication information to the terminal device. The second indication information is used to indicate resending the message 3 and the updated TBS used when resending the message 3.
207、终端设备确定第二指示信息指示的更新的TBS与目标TBS是否一致。207. The terminal device determines whether the updated TBS indicated by the second indication information is consistent with the target TBS.
当更新的TBS与目标TBS一致时,说明网络设备正确解析出了目标TBS,终端设备在接下来继续按照目标TBS通过消息3传输上行数据即可,网络设备在接下来可以根据目标TBS再次对消息3进行译码。因此,当更新的TBS与目标TBS一致时需要执行步骤208。When the updated TBS is consistent with the target TBS, it indicates that the network device correctly parses the target TBS, and the terminal device continues to transmit the uplink data according to the target TBS through the message 3, and the network device can then re-send the message according to the target TBS. 3 for decoding. Therefore, step 208 needs to be performed when the updated TBS is consistent with the target TBS.
而当更新的TBS与目标TBS不一致时,说明网络设备没有正确解析出目标TBS,即便是终端设备在接下来重新按照目标TBS通过消息3传输上行数据,网络设备也很可能无法正确译码消息3。因此,当更新的TBS与目标TBS不一致时,需要重新执行随机接入,也就是执行步骤209。When the updated TBS is inconsistent with the target TBS, it indicates that the network device does not correctly resolve the target TBS. Even if the terminal device subsequently retransmits the uplink data according to the target TBS through the message 3, the network device may not correctly decode the message. . Therefore, when the updated TBS is inconsistent with the target TBS, the random access needs to be re-executed, that is, step 209 is performed.
208、终端设备向网络设备重新发送消息3。208. The terminal device resends the message 3 to the network device.
具体地,重新发送的消息3包含按照目标TBS传输的上行数据。Specifically, the retransmitted message 3 contains uplink data transmitted in accordance with the target TBS.
209、终端设备重新执行随机接入。209. The terminal device re-executes random access.
具体地,当更新的TBS和目标TBS不一致时,再次向网络设备发送消息1以重新执行随机接入,其中,该重新发送的消息1承载在第二资源上,用于指示在完成重新执行随机接入之后向网络设备发送上行数据,第二资源与第一资源不同。Specifically, when the updated TBS and the target TBS are inconsistent, the message 1 is sent to the network device again to re-execute the random access, where the retransmitted message 1 is carried on the second resource, and is used to indicate that the re-execution is performed randomly. After the access, the uplink data is sent to the network device, and the second resource is different from the first resource.
可选地,当步骤201中发送的消息1承载在第一资源上时,步骤209在重新执行随机接入时重新发送的消息1既可以承载在第一资源上,也可以承载在第二资源上,第一资源与第二资源不同。当重新发送的消息1承载在第一资源上时,表示仍会在随机接入过程中发送上行数据,而当重新发送的消息1在第二资源上时,表示在接下来的过程中会先完成随机接入过程,然后再向网络设备发送上行数据。Optionally, when the message 1 sent in step 201 is carried on the first resource, the message 1 retransmitted when the random access is re-executed in step 209 may be carried on the first resource or the second resource. The first resource is different from the second resource. When the retransmitted message 1 is carried on the first resource, it indicates that the uplink data is still sent in the random access procedure, and when the retransmitted message 1 is on the second resource, it indicates that it will be first in the next process. The random access process is completed, and then the uplink data is sent to the network device.
可选地,作为一个实施例,消息3的方式用于指示目标TBS。Optionally, as an embodiment, the manner of message 3 is used to indicate the target TBS.
本申请中,通过消息3的发送方式指示目标TBS,使得网络设备能够根据目标TBS对消息3进行译码,简化了译码的流程。In the present application, the target TBS is indicated by the sending manner of the message 3, so that the network device can decode the message 3 according to the target TBS, which simplifies the decoding process.
可选地,发送消息3所采用的DMRS序列可以用于指示目标TBS。Alternatively, the DMRS sequence used to send message 3 can be used to indicate the target TBS.
本申请中,网络设备通过确定发送消息3采用的是哪种DMRS序列就可以确定目标TBS,便于后续根据目标TBS进行准确译码。In the present application, the network device can determine the target TBS by determining which DMRS sequence is used to send the message 3, so as to facilitate accurate decoding according to the target TBS.
具体地,DMRS序列与TBS有一一对应关系或者多对一关系,一个TBS可以对应至少一个DMRS序列,当采用某个DMRS序列发送消息3时,该DMRS序列对应的TBS就为目标TBS。Specifically, the DMRS sequence has a one-to-one correspondence or a many-to-one relationship with the TBS, and one TBS can correspond to at least one DMRS sequence. When the message 3 is sent by using a certain DMRS sequence, the TBS corresponding to the DMRS sequence is the target TBS.
例如,DMRS1、DMRS2以及DMRS3序列对应的TBS分别是TBS1、TBS2和TBS3,那么,当采用DMRS2序列发送消息3时,TBS2就为目标TBS。For example, the TBSs corresponding to the DMRS1, DMRS2, and DMRS3 sequences are TBS1, TBS2, and TBS3, respectively. Then, when the message 3 is transmitted using the DMRS2 sequence, the TBS2 is the target TBS.
应理解,DMRS序列和TBS的对应关系可以是预设设置的,并且DMRS序列和TBS的对应关系对于终端设备和网络设备来说都是可知的。It should be understood that the correspondence between the DMRS sequence and the TBS may be preset, and the correspondence between the DMRS sequence and the TBS is known to both the terminal device and the network device.
可选地,发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移用于指示目标TBS。Optionally, the offset of the start time domain position of the physical uplink shared channel of the message 3 relative to the resource allocated by the network device in the time domain is used to indicate the target TBS.
可选地,上述起始时域位置具体可以是起始符号位置。Optionally, the foregoing starting time domain location may specifically be a starting symbol location.
本申请中,网络设备通过发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移就可以确定目标TBS,便于根据目标TBS进行准确译码。In the present application, the network device can determine the target TBS by transmitting the offset of the starting time domain location of the physical uplink shared channel of the message 3 with respect to the resource allocated by the network device in the time domain, so as to facilitate accurate decoding according to the target TBS.
具体地,发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移与TBS有一一对应关系或者多对一关系,一个TBS可以对应至少一个偏移值,当发送消息3对应某个偏移值时,该偏移值对应的TBS就为目标TBS。Specifically, the start time domain position of the physical uplink shared channel that sends the message 3 has a one-to-one correspondence or a many-to-one relationship with the TBS in the time domain relative to the resource allocated by the network device, and one TBS may correspond to at least one The offset value, when the sending message 3 corresponds to a certain offset value, the TBS corresponding to the offset value is the target TBS.
例如,发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移值包括offset1、offset2、offset3和offset4,并且这些偏移值对应的TBS分别为TBS1、TBS2、TBS3和TBS4,那么,当发送消息3的物理上行共享信道的起始时域位置相对于网络设备分配的资源在时域上的偏移值为offset2时,TBS2就为目标TBS。For example, the offset value of the start time domain position of the physical uplink shared channel for transmitting the message 3 relative to the resource allocated by the network device in the time domain includes offset1, offset2, offset3, and offset4, and the TBS corresponding to the offset values are respectively TBS1, TBS2, TBS3, and TBS4, then, when the initial time domain location of the physical uplink shared channel for transmitting message 3 is offset2 in the time domain relative to the resource allocated by the network device, TBS2 is the target TBS.
应理解,上述偏移值和TBS的对应关系可以是预设设置的,并且该偏移值和TBS的对应关系对于终端设备和网络设备来说都是可知的。It should be understood that the correspondence between the foregoing offset value and the TBS may be preset, and the correspondence between the offset value and the TBS is known to both the terminal device and the network device.
下面以终端设备和基站组成的通信系统为例,并结合图6和图7对本申请实施例的随机随机接入过程中传输数据的方法进行详细的说明。The following is a description of a method for transmitting data in a random random access procedure according to an embodiment of the present application, taking a communication system composed of a terminal device and a base station as an example, and combining FIG. 6 and FIG.
301、终端设备在特定物理随机接入信道(Physical Random Access Channel,PRACH)前导序列资源中向基站发送PRACH前导序列(消息1)。301. The terminal device sends a PRACH preamble sequence (message 1) to the base station in a specific physical random access channel (PRACH) preamble sequence resource.
上述特定PRACH前导序列资源专门用于提前数据传输(Early Data Transmission,EDT),在这种情况下,终端设备将会在随机接入过程中发送上行数据。The specific PRACH preamble sequence resource is specifically used for Early Data Transmission (EDT). In this case, the terminal device will send uplink data during the random access procedure.
302、基站在特定PRACH前导序列资源上检测到前导序列,确定上行数据传输为EDT,并决定向终端设备发送消息2。302. The base station detects the preamble sequence on the specific PRACH preamble sequence resource, determines that the uplink data transmission is an EDT, and determines to send the message 2 to the terminal device.
303、基站向终端设备发送消息2。303. The base station sends a message 2 to the terminal device.
由于基站无法确定终端设备将要发送的上行数据的大小,因此,基站会按照某个预设的TBS(例如,TBSn)分配上行资源,并在消息2的随机接入响应中使用上行链路授权(UL grant)分配用于终端设备发送消息3的资源。Since the base station cannot determine the size of the uplink data to be sent by the terminal device, the base station allocates the uplink resource according to a preset TBS (for example, TBSn), and uses the uplink grant in the random access response of the message 2 ( UL grant) allocates resources for the terminal device to send message 3.
如图7所示,终端设备先向基站发送消息1,基站在接收到消息1之后,在物理下行控制信道(Physical Downlink Control Channel,PDCCH)向终端设备发送消息2。As shown in FIG. 7, the terminal device first sends a message 1 to the base station, and after receiving the message 1, the base station sends a message 2 to the terminal device on the physical downlink control channel (PDCCH).
304、终端设备根据预设规则,针对TBSn,映射出在分配资源内可能的发送的n种TBS:TBS1、TBS2…TBSn。304. The terminal device maps, according to a preset rule, n types of TBSs that are possible to be transmitted in the allocated resources for the TBSn: TBS1, TBS2, ..., TBSn.
例如,如表1所示,当消息2中的上行链路授权指示的I TBS=10,TBSn为1000bits时,终端设备根据预设规则,针对TBSn映射出的TBS为{144、328、504、680、872、1000}。 For example, as shown in Table 1, when the uplink grant indication in the message 2 indicates that I TBS = 10 and the TBSn is 1000 bits, the terminal device maps the TBS for the TBSn to {144, 328, 504 according to a preset rule. 680, 872, 1000}.
305、终端设备根据需要发送的上行数据的大小,在可能发送的n种TBS{TBS1,TBS2,…….,TBSn}中选择最合适的TBS作为目标TBS(可以记为Selected TBS),其中,目标TBS用于发送消息3中的上行数据。305. The terminal device selects the most suitable TBS as the target TBS (which can be recorded as the selected TBS) according to the size of the uplink data that needs to be sent, among the n types of TBSs {TBS1, TBS2, . . . , TBSn} that may be sent, where The target TBS is used to transmit the uplink data in the message 3.
具体地,终端设备可以选择填充比例(padding ratio)最小的TBS用于发送消息3。另外,消息3中包含终端设备的终端ID和需要发送的上行数据的非接入层协议数据单元(Non Access Stratum Protocol Data Unit,NAS PDU)。Specifically, the terminal device may select a TBS with the smallest padding ratio for transmitting the message 3. In addition, the message 3 includes a terminal ID of the terminal device and a Non Access Stratum Protocol Data Unit (NAS PDU) that needs to transmit uplink data.
306、终端设备在物理上行共享信道上,按照目标TBS发送消息3。306. The terminal device sends a message 3 according to the target TBS on the physical uplink shared channel.
例如,如图7所示,网络设备指示的允许采用的最大TBS为TBS2,终端设备根据上行数据的大小选择TBS1作为目标TBS,终端设备按照TBS1发送消息3,由于TBS2对应的资源大于TBS1对应的资源,因此,终端设备在发送消息3只利用了网络设备分配的部分资源,如图7所示,网络设备分配的资源有部分剩余。For example, as shown in FIG. 7, the maximum TBS allowed by the network device is TBS2, and the terminal device selects TBS1 as the target TBS according to the size of the uplink data, and the terminal device sends the message 3 according to TBS1, because the resource corresponding to TBS2 is larger than the corresponding TBS1. The resource, therefore, the terminal device only uses part of the resources allocated by the network device in sending the message 3. As shown in FIG. 7, the resources allocated by the network device are partially surplus.
其中,终端设备发送消息3的方式用于指示目标TBS,基站通过消息3的方式可以获取目标TBS。The manner in which the terminal device sends the message 3 is used to indicate the target TBS, and the base station can obtain the target TBS by using the message 3.
另外,当终端设备为NB-IoT终端设备时,终端设备还可以在窄带物理上行共享信道上, 按照目标TBS发送消息3。In addition, when the terminal device is an NB-IoT terminal device, the terminal device may also send the message 3 according to the target TBS on the narrowband physical uplink shared channel.
307、基站根据消息3的发送方式确定目标TBS。307. The base station determines the target TBS according to the sending manner of the message 3.
基站在确定了目标TBS之后,可以根据目标TBS对消息3进行解调和译码。After determining the target TBS, the base station can demodulate and decode the message 3 according to the target TBS.
可选地,发送消息3所采用的DMRS序列可以用于指示目标TBS。Alternatively, the DMRS sequence used to send message 3 can be used to indicate the target TBS.
例如,DMRS1、DMRS2、DMRS3和DMRS4对应的TBS的大小分别为504bit、680bit、872bit和1000bit,那么,当终端设备选择680bit的TBS作为目标TBS时,终端设备就会选择DMRS2来发送消息3,这样当基站确定出消息3对应的DMRS序列为DMRS2时,根据DMRS序列与TBS的对应的关系就可以确定出目标TBS的大小为680bit。For example, the sizes of the TBSs corresponding to DMRS1, DMRS2, DMRS3, and DMRS4 are 504bit, 680bit, 872bit, and 1000bit, respectively. Then, when the terminal device selects the 680bit TBS as the target TBS, the terminal device selects DMRS2 to send the message 3, so that When the eNB determines that the DMRS sequence corresponding to the message 3 is DMRS2, the size of the target TBS is determined to be 680 bits according to the corresponding relationship between the DMRS sequence and the TBS.
可选地,发送消息3的物理上行共享信道的起始时域位置相对于基站分配的资源在时域上的偏移用于指示目标TBS。Optionally, the offset of the starting time domain location of the physical uplink shared channel of the message 3 relative to the resource allocated by the base station in the time domain is used to indicate the target TBS.
例如,偏移值offset1、offset2、offset3和offset4对应的TBS的大小分别为504bit、680bit、872bit和1000bit,那么,当终端设备选择680bit的TBS作为目标TBS时,终端设备就会按照对应的偏移值来发送消息3,这样当基站确定出偏移值为offset2时,根据偏移值与TBS的对应的关系就可以确定出目标TBS的大小为680bit。For example, the sizes of the TBSs corresponding to the offset values of offset1, offset2, offset3, and offset4 are 504 bits, 680 bits, 872 bits, and 1000 bits, respectively. Then, when the terminal device selects the 680-bit TBS as the target TBS, the terminal device follows the corresponding offset. The value is sent to message 3, so that when the base station determines that the offset value is offset2, the size of the target TBS can be determined to be 680 bits according to the corresponding relationship between the offset value and the TBS.
308、基站解调和译码消息3。308. The base station demodulates and decodes the message 3.
309、基站没有正确译码消息3,基站按照确定出的目标TBS调度终端设备重新发送消息3。309. The base station does not correctly decode the message 3. The base station retransmits the message 3 according to the determined target TBS scheduling terminal device.
应理解,基站在调度终端设备重新发送消息3只需要按照目标TBS来调度终端设备重传上行数据即可,而不必再按照消息2中的指示的最大TBS调度终端设备设备重传上行数据,能够节省资源。例如,基站通过消息2指示的最大TBS为1000bit,基站识别出的目标TBS为504bit,那么,当基站译码消息3失败时,基站按照504bit的TBS调度终端设备重传消息3即可。It should be understood that the base station resends the message 3 in the scheduling terminal device only needs to schedule the terminal device to retransmit the uplink data according to the target TBS, and does not need to retransmit the uplink data according to the maximum TBS indicated in the message 2, and can save resources. For example, the maximum TBS indicated by the base station by the message 2 is 1000 bits, and the target TBS identified by the base station is 504 bits. Then, when the base station decodes the message 3, the base station retransmits the message 3 according to the 504-bit TBS scheduling terminal device.
具体地,基站可以向终端设备发送一个重传指示信息,指示终端设备重新发送消息3,该指示信息还可以指示更新的TBS,使得终端设备按照更新的TBS进行消息3的重传。Specifically, the base station may send a retransmission indication information to the terminal device, instructing the terminal device to resend the message 3, and the indication information may further indicate the updated TBS, so that the terminal device performs retransmission of the message 3 according to the updated TBS.
310、终端设备确定更新的TBS与目标TBS是否匹配。310. The terminal device determines whether the updated TBS matches the target TBS.
311、如果更新的TBS与目标TBS匹配(具体可以是相同),终端设备重传消息3,如果更新的TBS与目标TBS不匹配,终端设备设备放弃本次随机接入过程。311. If the updated TBS matches the target TBS (specifically, the same), the terminal device retransmits the message 3. If the updated TBS does not match the target TBS, the terminal device device discards the random access procedure.
应理解,当终端设备放弃本次随机接入过程之后,终端设备还可以继续发起随机接入过程,并在随机接入过程中或者随机接入过程结束之后向基站发送上行数据。It should be understood that after the terminal device abandons the random access procedure, the terminal device may further initiate a random access procedure, and send uplink data to the base station in the random access procedure or after the random access procedure ends.
例如,如图7所示,基站盲检测TBS并译码消息3,当基站没有正确译码消息3时,基站会通过PDCCH向终端设备发送重传指示信息,指示终端设备重新发送消息3。终端设备在接收到重传指示信息指示之后,确定重传指示信息指示的更新TBS是否与目标TBS(此时的目标TBS为TBS1)一致,如果更新的TBS与目标TBS一致,那么,终端设备就按照TBS1向基站重传消息3。当更新的TBS与目标TBS一致时(更新的TBS为TBS1),基站为终端设备分配的资源为TBS1对应的资源,而TBS1对应的资源刚好可以全部用于重传消息3,能够在上行数据传输过程中减少资源的浪费。For example, as shown in FIG. 7, the base station blindly detects the TBS and decodes the message 3. When the base station does not correctly decode the message 3, the base station sends a retransmission indication information to the terminal device through the PDCCH, instructing the terminal device to resend the message 3. After receiving the retransmission indication information indication, the terminal device determines whether the updated TBS indicated by the retransmission indication information is consistent with the target TBS (the target TBS is TBS1 at this time), and if the updated TBS is consistent with the target TBS, the terminal device is The message 3 is retransmitted to the base station according to TBS1. When the updated TBS is consistent with the target TBS (the updated TBS is TBS1), the resource allocated by the base station for the terminal device is the resource corresponding to the TBS1, and the resource corresponding to the TBS1 can be used for all the retransmission of the message 3, and can be transmitted in the uplink data. Reduce waste of resources in the process.
上文结合图1至图7对本申请实施例的随机接入过程中传输数据的方法进行了详细的描述,下面结合图8至图9对本申请实施例的随机接入过程中传输数据的装置进行详细的描述,应理解,本申请实施例的随机接入过程中传输数据的方法可以由图8和图9中的装置来执行。为了简洁,下面适当省略重复的描述。The method for transmitting data in the random access process of the embodiment of the present application is described in detail above with reference to FIG. 1 to FIG. 7. The device for transmitting data in the random access process of the embodiment of the present application is described below with reference to FIG. 8 to FIG. In the detailed description, it should be understood that the method of transmitting data in the random access procedure of the embodiment of the present application can be performed by the apparatus in FIGS. 8 and 9. For the sake of brevity, the repeated description is appropriately omitted below.
图8是本申请实施例的随机接入过程中传输数据的装置的示意性框图。图8所示的装置 400包括:FIG. 8 is a schematic block diagram of an apparatus for transmitting data in a random access procedure according to an embodiment of the present application. The apparatus 400 shown in Figure 8 includes:
发送模块410,用于向网络设备发送消息1;The sending module 410 is configured to send a message 1 to the network device;
接收模块420,用于接收所述网络设备发送的消息2,所述消息2包括上行授权信息,所述上行授权信息包括第一指示信息,所述第一指示信息用于指示在消息3中允许采用的传输块大小TBS;The receiving module 420 is configured to receive the message 2 sent by the network device, where the message 2 includes uplink grant information, where the uplink grant information includes first indication information, where the first indication information is used to indicate that the message is allowed in the message 3. The transport block size TBS used;
处理模块430,用于根据所述允许采用的TBS,在候选TBS中确定目标TBS,所述目标TBS小于或者等于所述允许采用的TBS;The processing module 430 is configured to determine, according to the allowed TBS, a target TBS in the candidate TBS, where the target TBS is less than or equal to the allowed TBS;
所述发送模块410还用于向所述网络设备发送消息3,所述消息3包含按照所述目标TBS传输的上行数据。The sending module 410 is further configured to send a message 3 to the network device, where the message 3 includes uplink data transmitted according to the target TBS.
本申请能够根据允许采用的TBS从候选TBS中自由选择目标TBS,并且选择出来的目标TBS小于或者等于允许采用的TBS,因此,本申请可以让终端设备自主选择适合的TBS而不必完全使用网络设备指示的允许采用的TBS,提高了终端设备确定TBS的灵活性,从而提高随机接入过程中上行数据的传输效率。The present application can freely select a target TBS from the candidate TBS according to the allowed TBS, and the selected target TBS is less than or equal to the allowed TBS. Therefore, the present application can allow the terminal device to independently select a suitable TBS without having to completely use the network device. The indicated allowed TBS improves the flexibility of the terminal device to determine the TBS, thereby improving the transmission efficiency of the uplink data in the random access process.
可选地,接收模块420接收所述网络设备发送的第二指示信息。相应地,所述发送模块410还用于向所述网络设备重新发送所述消息3或再次向所述网络设备发送消息1以重新执行随机接入,具体参考之前方法实施例中相应描述。Optionally, the receiving module 420 receives the second indication information sent by the network device. Correspondingly, the sending module 410 is further configured to resend the message 3 to the network device or send the message 1 to the network device again to perform random access again, with specific reference to the corresponding description in the previous method embodiment.
图9是本申请实施例的随机接入过程中传输数据的装置的示意性框图。图9所示的装置500包括:FIG. 9 is a schematic block diagram of an apparatus for transmitting data in a random access procedure according to an embodiment of the present application. The apparatus 500 shown in Figure 9 includes:
存储器510,用于存储程序;a memory 510, configured to store a program;
收发器520,用于向网络设备发送消息1;The transceiver 520 is configured to send a message 1 to the network device.
所述收发器520还用于接收所述网络设备发送的消息2,所述消息2包括上行授权信息,所述上行授权信息包括第一指示信息,所述第一指示信息用于指示在消息3中允许采用的传输块大小TBS;The transceiver 520 is further configured to receive the message 2 sent by the network device, where the message 2 includes uplink grant information, the uplink grant information includes first indication information, and the first indication information is used to indicate that the message 3 is The transport block size TBS allowed in use;
处理器530,用于执行所述存储器510中存储的程序,当所述存储器510中的程序被执行时,所述处理器530具体用于根据所述允许采用的TBS,在候选TBS中确定目标TBS,所述目标TBS小于或者等于所述允许采用的TBS;The processor 530 is configured to execute a program stored in the memory 510. When the program in the memory 510 is executed, the processor 530 is specifically configured to determine a target in the candidate TBS according to the allowed TBS. a TBS, the target TBS is less than or equal to the allowed TBS;
所述收发器520还用于向所述网络设备发送消息3,所述消息3包含按照所述目标TBS传输的上行数据。The transceiver 520 is further configured to send a message 3 to the network device, where the message 3 includes uplink data transmitted according to the target TBS.
本申请能够根据允许采用的TBS从候选TBS中自由选择目标TBS,并且选择出来的目标TBS小于或者等于允许采用的TBS,因此,本申请可以让终端设备自主选择适合的TBS而不必完全使用网络设备指示的允许采用的TBS,提高了终端设备确定TBS的灵活性,从而提高随机接入过程中上行数据的传输效率。The present application can freely select a target TBS from the candidate TBS according to the allowed TBS, and the selected target TBS is less than or equal to the allowed TBS. Therefore, the present application can allow the terminal device to independently select a suitable TBS without having to completely use the network device. The indicated allowed TBS improves the flexibility of the terminal device to determine the TBS, thereby improving the transmission efficiency of the uplink data in the random access process.
上述装置400和装置500具体以是终端设备或终端设备中的装置,该装置可以包括终端设备中的芯片或芯片组或电路板,也可包括其他必要的软件模块。装置400和装置500可以执行本申请实施例的随机接入过程中传输数据的方法的各个步骤。The device 400 and the device 500 are specifically devices in a terminal device or a terminal device, and the device may include a chip or a chipset or a circuit board in the terminal device, and may also include other necessary software modules. The apparatus 400 and the apparatus 500 may perform various steps of a method of transmitting data in a random access procedure of an embodiment of the present application.
装置500可包括一个或多个芯片。例如,存储器510、收发器520和处理器530的至少一个可以包括一个或多个芯片。处理器530可以执行存储器510中存储的程序以实现之前方法实施例的所述方法。当处理器530需要做信号收发的时候,通过控制或调用收发器520实现所述收发。因此,方法实施例中涉及的发送操作或接收操作可以被认为是由收发器520和处理器530的至少一个执行。处理器530作为发送操作或接收操作的发起者,而收发器520作为发送操作或接收操作的具体执行者。例如,收发器520可以是射频单元,包括用于发送 信号的上混频器和用于接收信号的下混频器。Device 500 can include one or more chips. For example, at least one of memory 510, transceiver 520, and processor 530 can include one or more chips. Processor 530 can execute the programs stored in memory 510 to implement the methods of the previous method embodiments. When the processor 530 needs to perform signal transceiving, the transceiving is implemented by controlling or invoking the transceiver 520. Accordingly, a transmit operation or a receive operation involved in a method embodiment may be considered to be performed by at least one of transceiver 520 and processor 530. The processor 530 acts as the initiator of the transmitting operation or the receiving operation, and the transceiver 520 acts as a specific executor of the transmitting operation or the receiving operation. For example, transceiver 520 can be a radio frequency unit including an upmixer for transmitting signals and a downmixer for receiving signals.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。例如装置400可以是软件装置或硬件装置。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. For example, device 400 can be a software device or a hardware device. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be another division manner, for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
所述实施例中的方法流程或功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The method flow or function in the described embodiments can be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application. It should be covered by the scope of protection of this application. Therefore, the scope of protection of the present application should be determined by the scope of the claims.

Claims (25)

  1. 一种随机接入过程中传输数据的方法,其特征在于,包括:A method for transmitting data in a random access process, comprising:
    向网络设备发送消息1;Send a message 1 to the network device;
    接收所述网络设备发送的消息2,所述消息2包括上行授权信息,所述上行授权信息包括第一指示信息,所述第一指示信息用于指示在消息3中允许采用的最大传输块大小TBS;Receiving a message 2 sent by the network device, where the message 2 includes uplink grant information, where the uplink grant information includes first indication information, where the first indication information is used to indicate a maximum transport block size allowed in the message 3. TBS;
    根据所述允许采用的最大TBS,在候选TBS中确定目标TBS,所述目标TBS小于或者等于所述允许采用的最大TBS;Determining, in the candidate TBS, a target TBS according to the maximum allowed TBS, the target TBS being less than or equal to the maximum allowed TBS;
    根据所述目标TBS发送所述消息3,所述消息3中包含上行数据。The message 3 is sent according to the target TBS, and the message 3 includes uplink data.
  2. 如权利要求1所述的方法,其特征在于,所述根据所述允许采用的最大TBS,在候选TBS中确定目标TBS,包括:The method according to claim 1, wherein the determining the target TBS in the candidate TBS according to the maximum allowed TBS, including:
    根据所述允许采用的最大TBS,在所述候选TBS中确定出至少一个TBS,其中,所述至少一个TBS中的每一个小于或者等于所述允许采用的最大TBS;Determining at least one TBS in the candidate TBS according to the maximum allowed TBS, wherein each of the at least one TBS is less than or equal to the maximum allowed TBS;
    根据所述上行数据的大小,从所述至少一个TBS中确定出能用于传输所述上行数据的所述目标TBS。Determining, from the at least one TBS, the target TBS that can be used to transmit the uplink data according to the size of the uplink data.
  3. 如权利要求1所述的方法,其特征在于,所述根据所述允许采用的最大TBS,在候选TBS中确定目标TBS,包括:The method according to claim 1, wherein the determining the target TBS in the candidate TBS according to the maximum allowed TBS, including:
    覆盖等级满足预设条件,根据所述允许采用的最大TBS,在候选TBS中确定目标TBS。The coverage level satisfies a preset condition, and the target TBS is determined in the candidate TBS according to the maximum TBS allowed to be used.
  4. 如权利要求1-3任一项所述的方法,其特征在于,所述消息1承载在第一资源上,用于指示通过所述消息3向所述网络设备发送上行数据。The method according to any one of claims 1-3, wherein the message 1 is carried on the first resource, and is used to indicate that the uplink data is sent to the network device by using the message 3.
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    接收所述网络设备发送的第二指示信息,所述第二指示信息用于指示重新发送所述消息3以及在重新发送所述消息3时所采用的更新的TBS;Receiving, by the network device, second indication information, where the second indication information is used to indicate resending the message 3 and the updated TBS used when retransmitting the message 3;
    在所述更新的TBS和所述目标TBS一致的情况下,向所述网络设备重新发送所述消息3,所述重新发送的消息3包含按照所述目标TBS传输的上行数据。And in the case that the updated TBS and the target TBS are consistent, the message 3 is resent to the network device, and the retransmitted message 3 includes uplink data transmitted according to the target TBS.
  6. 如权利要求4或5所述的方法,其特征在于,所述方法还包括:The method of claim 4 or 5, wherein the method further comprises:
    接收所述网络设备发送的第二指示信息,所述第二指示信息用于指示重新发送所述消息3以及在重新发送所述消息3时所采用的更新的TBS;Receiving, by the network device, second indication information, where the second indication information is used to indicate resending the message 3 and the updated TBS used when retransmitting the message 3;
    在所述更新的TBS和所述目标TBS不一致的情况下,再次向所述网络设备发送消息1以重新执行随机接入,所述消息1承载在第二资源上,用于指示在完成重新执行随机接入之后向所述网络设备发送上行数据,所述第二资源与所述第一资源不同。If the updated TBS and the target TBS are inconsistent, the message 1 is sent to the network device again to perform random access again, and the message 1 is carried on the second resource, and is used to indicate that the re-execution is completed. After the random access, the uplink data is sent to the network device, where the second resource is different from the first resource.
  7. 如权利要求1-6中任一项所述的方法,其特征在于,所述消息3的发送方式用于指示所述目标TBS。The method according to any of claims 1-6, wherein the manner of transmitting the message 3 is for indicating the target TBS.
  8. 如权利要求7所述的方法,其特征在于,所述消息3的发送方式包括如下至少一项:发送所述消息3时所采用的DMRS序列,发送所述消息3的物理上行共享信道的起始时域位置相对于所述网络设备分配的资源在时域上的偏移。The method according to claim 7, wherein the manner of transmitting the message 3 comprises at least one of the following: a DMRS sequence used when the message 3 is sent, and a physical uplink shared channel in which the message 3 is sent. The offset of the initial time domain location relative to the resources allocated by the network device in the time domain.
  9. 一种随机接入过程中传输数据的装置,其特征在于,包括:An apparatus for transmitting data in a random access process, comprising:
    发送模块,用于向网络设备发送消息1;a sending module, configured to send a message 1 to the network device;
    接收模块,用于接收所述网络设备发送的消息2,所述消息2包括上行授权信息,所述上行授权信息包括第一指示信息,所述第一指示信息用于指示在消息3中允许采用的最大传 输块大小TBS;a receiving module, configured to receive the message 2 sent by the network device, where the message 2 includes uplink authorization information, where the uplink authorization information includes first indication information, where the first indication information is used to indicate that the message 3 is allowed to be used. Maximum transport block size TBS;
    处理模块,用于根据所述允许采用的最大TBS,在候选TBS中确定目标TBS,所述目标TBS小于或者等于所述允许采用的最大TBS;a processing module, configured to determine, in the candidate TBS, a target TBS according to the maximum allowed TBS, where the target TBS is less than or equal to the maximum allowed TBS;
    所述发送模块还用于根据所述目标TBS向所述网络设备发送消息3,所述消息3中包含上行数据。The sending module is further configured to send a message 3 to the network device according to the target TBS, where the message 3 includes uplink data.
  10. 如权利要求9所述的装置,其特征在于,所述处理模块具体用于:The device according to claim 9, wherein the processing module is specifically configured to:
    根据所述允许采用的最大TBS,在所述候选TBS中确定出至少一个TBS,其中,所述至少一个TBS中的每一个小于或者等于所述允许采用的最大TBS;Determining at least one TBS in the candidate TBS according to the maximum allowed TBS, wherein each of the at least one TBS is less than or equal to the maximum allowed TBS;
    根据所述上行数据的大小,从所述至少一个TBS中确定出能用于传输所述上行数据的所述目标TBS。Determining, from the at least one TBS, the target TBS that can be used to transmit the uplink data according to the size of the uplink data.
  11. 如权利要求9所述的方法,其特征在于,所述根据所述允许采用的最大TBS,在候选TBS中确定目标TBS,包括:The method according to claim 9, wherein the determining the target TBS in the candidate TBS according to the maximum allowed TBS, including:
    覆盖等级满足预设条件,根据所述允许采用的最大TBS,在候选TBS中确定目标TBS。The coverage level satisfies a preset condition, and the target TBS is determined in the candidate TBS according to the maximum TBS allowed to be used.
  12. 如权利要求9-11任一项所述的装置,其特征在于,所述消息1承载在第一资源上,用于指示通过所述消息3向所述网络设备发送上行数据。The device according to any one of claims 9-11, wherein the message 1 is carried on the first resource, and is used to indicate that the uplink data is sent to the network device by using the message 3.
  13. 如权利要求12所述的装置,其特征在于,所述接收模块还用于接收所述网络设备发送的第二指示信息,所述第二指示信息用于指示重新发送所述消息3以及在重新发送所述消息3时所采用的更新的TBS;The apparatus according to claim 12, wherein the receiving module is further configured to receive second indication information sent by the network device, where the second indication information is used to indicate resending the message 3 and The updated TBS used when transmitting the message 3;
    所述发送模块还用于在所述更新的TBS和所述目标TBS一致的情况下,向所述网络设备重新发送所述消息3,所述重新发送的消息3包含按照所述目标TBS传输的上行数据。The sending module is further configured to resend the message 3 to the network device if the updated TBS and the target TBS are consistent, and the retransmitted message 3 includes the transmission according to the target TBS. Upstream data.
  14. 如权利要求12或13所述的装置,其特征在于,所述接收模块还用于接收所述网络设备发送的第二指示信息,所述第二指示信息用于指示重新发送所述消息3以及在重新发送所述消息3时所采用的更新的TBS;The device according to claim 12 or 13, wherein the receiving module is further configured to receive second indication information sent by the network device, where the second indication information is used to indicate to resend the message 3 and The updated TBS used when resending the message 3;
    所述发送模块还用于在所述更新的TBS和所述目标TBS不一致的情况下,再次向所述网络设备发送消息1以重新执行随机接入,所述消息1承载在第二资源上,用于指示在完成重新执行随机接入之后向所述网络设备发送上行数据,所述第二资源与所述第一资源不同。The sending module is further configured to send a message 1 to the network device to re-execute random access, where the updated TBS and the target TBS are inconsistent, and the message 1 is carried on the second resource. And configured to send uplink data to the network device after completing re-execution of random access, where the second resource is different from the first resource.
  15. 如权利要求9-14中任一项所述的装置,其特征在于,所述消息3的发送方式用于指示所述目标TBS。The apparatus according to any one of claims 9 to 14, wherein the manner of transmitting the message 3 is for indicating the target TBS.
  16. 如权利要求15所述的装置,其特征在于,所述消息3的发送方式包括如下至少一项:发送所述消息3时所采用的DMRS序列,发送所述消息3的物理上行共享信道的起始时域位置相对于所述网络设备分配的资源在时域上的偏移。The apparatus according to claim 15, wherein the manner of transmitting the message 3 comprises at least one of the following: a DMRS sequence used when the message 3 is sent, and a physical uplink shared channel in which the message 3 is sent. The offset of the initial time domain location relative to the resources allocated by the network device in the time domain.
  17. 一种通信装置,其特征在于,包括处理器,所述处理器用于与存储器耦合,读取并执行所述存储器中的指令,以实现如权利要求1-8任一项所述的方法。A communication device, comprising a processor for coupling with a memory, reading and executing instructions in the memory to implement the method of any of claims 1-8.
  18. 如权利要求17所述的通信装置,其特征在于,还包括所述存储器。The communication device of claim 17 further comprising said memory.
  19. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-8任意一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-8.
  20. 一种通信方法,其特征在于,包括:A communication method, comprising:
    接收终端设备发送的消息1;Receiving a message 1 sent by the terminal device;
    响应于消息1,向终端设备发送消息2,所述消息2中包括上行授权信息,该上行授权信息包含第一指示信息,所述第一指示信息用于指示在消息3中允许采用的最大传输块大小TBS;In response to the message 1, the message 2 is sent to the terminal device, where the message 2 includes uplink grant information, where the uplink grant information includes first indication information, where the first indication information is used to indicate the maximum transmission allowed in the message 3. Block size TBS;
    根据所述终端设备发送的消息3确定目标TBS,所述目标TBS小于或等于所述允许采用 的最大TBS;Determining a target TBS according to the message 3 sent by the terminal device, where the target TBS is less than or equal to the maximum allowed TBS;
    根据所述目标TBS,对所述消息3进行译码。The message 3 is decoded according to the target TBS.
  21. 如权利要求20所述的方法,其特征在于,所述消息1承载在第一资源上,用于指示通过所述消息3向所述网络设备发送上行数据。The method according to claim 20, wherein the message 1 is carried on the first resource, and is used to indicate that the uplink data is sent to the network device by using the message 3.
  22. 一种通信装置,其特征在于,包括处理器,所述处理器用于与存储器耦合,读取并执行所述存储器中的指令,以实现如权利要求20或21所述的方法。A communication device, comprising a processor for coupling with a memory, reading and executing instructions in the memory to implement the method of claim 20 or 21.
  23. 如权利要求22所述的通信装置,其特征在于,还包括所述存储器。The communication device of claim 22, further comprising said memory.
  24. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求20或21所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of claim 20 or 21.
  25. 一种通信系统,其特征在于,包括如权利要求17或18所述的通信装置以及如权利要求22或23所述的通信装置。A communication system comprising the communication device according to claim 17 or 18 and the communication device according to claim 22 or 23.
PCT/CN2019/075015 2018-02-14 2019-02-14 Method and device for transmitting data during random access WO2019158096A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19754237.6A EP3745794B1 (en) 2018-02-14 2019-02-14 Method and device for transmitting data during random access
US16/992,624 US11438923B2 (en) 2018-02-14 2020-08-13 Method and apparatus for transmitting data in random access process

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201810152311.8 2018-02-14
CN201810152311 2018-02-14
CN201810299318.2A CN110167185B (en) 2018-02-14 2018-04-04 Method and device for transmitting data in random access process
CN201810299318.2 2018-04-04

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/992,624 Continuation US11438923B2 (en) 2018-02-14 2020-08-13 Method and apparatus for transmitting data in random access process

Publications (1)

Publication Number Publication Date
WO2019158096A1 true WO2019158096A1 (en) 2019-08-22

Family

ID=67618839

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/075015 WO2019158096A1 (en) 2018-02-14 2019-02-14 Method and device for transmitting data during random access

Country Status (1)

Country Link
WO (1) WO2019158096A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100074130A1 (en) * 2008-09-19 2010-03-25 Pierre Bertrand Preamble Group Selection in Random Access of Wireless Networks
CN102469615A (en) * 2010-11-05 2012-05-23 中兴通讯股份有限公司 Random access method and device
WO2017024912A1 (en) * 2015-08-11 2017-02-16 电信科学技术研究院 Random access method, device, and system
CN107466113A (en) * 2016-06-03 2017-12-12 北京佰才邦技术有限公司 A kind of Msg3 transmission methods, device and relevant device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100074130A1 (en) * 2008-09-19 2010-03-25 Pierre Bertrand Preamble Group Selection in Random Access of Wireless Networks
CN102469615A (en) * 2010-11-05 2012-05-23 中兴通讯股份有限公司 Random access method and device
WO2017024912A1 (en) * 2015-08-11 2017-02-16 电信科学技术研究院 Random access method, device, and system
CN107466113A (en) * 2016-06-03 2017-12-12 北京佰才邦技术有限公司 A kind of Msg3 transmission methods, device and relevant device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "Remaining general aspects of early data transmission", 3GPP TSG-RAN WG2 #100 TDOC R2-1713054, vol. RAN WG2, 17 November 2017 (2017-11-17) - 1 December 2017 (2017-12-01), XP051371883 *
See also references of EP3745794A4 *

Similar Documents

Publication Publication Date Title
US11197316B2 (en) Terminal device, base station device, and radio communication method
US11438923B2 (en) Method and apparatus for transmitting data in random access process
KR101388351B1 (en) Fast retry of transmitting a Random Access Preamble with Bitmap information
WO2019029300A1 (en) Method for transmitting random access response, access network device, and terminal device
US11723020B2 (en) Method, terminal, and network device for communication using grant-free mode and grant mode
WO2012041203A1 (en) Method and device for data transmission
CN108024360B (en) Method, terminal and network equipment for unlicensed transmission
TWI741138B (en) Wireless communication method, terminal equipment, and network equipment
JP6847260B2 (en) Wireless communication methods and devices
WO2017128889A1 (en) Method, device and system for transmitting and receiving preamble sequence
WO2020191586A1 (en) Random access method and device, and storage medium
WO2018028604A1 (en) Methods and apparatus for ul data transmission
JP2018507629A (en) Method, terminal, and base station for asynchronous uplink transmission
CN114531938A (en) UL with repeated configurations
US10271306B2 (en) Data transmission method, apparatus, and system
US10143035B2 (en) Device and method of handling communication with communication device
US20210314923A1 (en) Methods and Devices for Data Transmission
US10986651B2 (en) Information transmission method and apparatus
WO2020020373A1 (en) Wireless communication method and device
CN108702691B (en) Method and device for sending communication message
WO2019158096A1 (en) Method and device for transmitting data during random access
WO2018058537A1 (en) Signal transmission method and apparatus
US20240080817A1 (en) Wireless communication method, terminal device, and network device
CN112567874B (en) Bandwidth portion configuration based on clear channel assessment
WO2022188685A1 (en) Physical uplink control channel transmission method, terminal device, and network device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19754237

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019754237

Country of ref document: EP

Effective date: 20200827