[go: up one dir, main page]

WO2020191635A1 - Message re-transmission method, device and storage medium - Google Patents

Message re-transmission method, device and storage medium Download PDF

Info

Publication number
WO2020191635A1
WO2020191635A1 PCT/CN2019/079758 CN2019079758W WO2020191635A1 WO 2020191635 A1 WO2020191635 A1 WO 2020191635A1 CN 2019079758 W CN2019079758 W CN 2019079758W WO 2020191635 A1 WO2020191635 A1 WO 2020191635A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
terminal device
mac pdu
resource
size
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2019/079758
Other languages
French (fr)
Chinese (zh)
Inventor
石聪
徐婧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to PCT/CN2019/079758 priority Critical patent/WO2020191635A1/en
Priority to CN201980073878.9A priority patent/CN112970319B/en
Publication of WO2020191635A1 publication Critical patent/WO2020191635A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA

Definitions

  • the present invention relates to the field of wireless communication technology, and in particular to a method, equipment and storage medium for message retransmission.
  • random access includes: the first type of random access and the second type of random access.
  • the terminal device and the network device need to perform two information interactions, that is, the terminal device sends a message (Msg) A to the network device, and the network device sends MsgB to the terminal device. Therefore, the first type of random access is also called 2-steps RACH.
  • the terminal device and the network device need to perform 4 information exchanges; therefore, the second type of random access is also called 4-steps RACH.
  • the Physical Uplink Shared Channel (PUSCH) carrying MsgA may support the retransmission of MsgA. When MsgA is retransmitted, data packet loss is prone to occur; however, there is currently no effective solution to how to avoid the loss of data packets when MsgA is retransmitted.
  • PUSCH Physical Uplink Shared Channel
  • embodiments of the present invention provide a message retransmission method, device, and storage medium.
  • a terminal device When a terminal device retransmits a message, it can avoid data packet loss.
  • an embodiment of the present invention provides a message retransmission method, including: a terminal device obtains a resource for retransmitting a message; and retransmitting the message based on the size relationship between the resource and the data carried in the message.
  • an embodiment of the present invention provides a message retransmission method, including: a network device sends instruction information to a terminal device;
  • the indication information is used to indicate an uplink (UL) grant (GRANT), the UL GRANT is used for the terminal device to retransmit a message, and the size of the UL GRANT is greater than or equal to the size of the MAC PDU carried in the message Size; or, the indication information is used to instruct the terminal device to initiate a second type of random access, and the second type of random access is used to retransmit the message.
  • UL uplink
  • GRANT uplink grant
  • an embodiment of the present invention provides a terminal device, the terminal device includes: a processing unit configured to obtain resources for retransmission of a message;
  • the first transceiver unit is configured to retransmit the message based on the size relationship between the resource and the data carried in the message.
  • an embodiment of the present invention provides a network device, the network device includes: a second transceiver unit configured to send instruction information to a terminal device;
  • the indication information is used to indicate UL GRANT, the UL GRANT is used for the terminal device to retransmit the message, and the size of the UL GRANT is greater than or equal to the Media Access Control (MAC) carried in the message
  • MAC Media Access Control
  • an embodiment of the present invention provides a terminal device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above-mentioned terminal when the computer program is running. Steps of the message retransmission method performed by the device.
  • an embodiment of the present invention provides a network device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above network when the computer program is running. Steps of the message retransmission method performed by the device.
  • an embodiment of the present invention provides a storage medium that stores an executable program, and when the executable program is executed by a processor, it implements the message retransmission method executed by the terminal device.
  • an embodiment of the present invention provides a storage medium that stores an executable program, and when the executable program is executed by a processor, it implements the message retransmission method executed by the network device.
  • the message retransmission method provided in the embodiment of the present invention includes: a terminal device obtains a resource for retransmitting a message, and retransmits the message based on the size relationship between the resource and the data carried in the message.
  • a terminal device obtains the resource of the retransmission message, when the size of the selected PUSCH resource is equal to the size of the data carried in the message, it uses the selected resource to directly retransmit the message; in this way, when the terminal device retransmits the message, It can ensure that data packets are not lost.
  • the terminal device when the terminal device fails to select a PUSCH resource equal to the size of the data carried in the message, the size of the PUSCH resource selected by the terminal device is greater than the size of the data carried in the message; at this time, the terminal device needs to indicate The MAC entity reassembles the MAC PDU carried in the message.
  • the content of the reassembled MAC PDU is exactly the same as the MAC PDU before the reassembled packet.
  • the selected PUSCH resource is used to transmit the reassembled MAC PDU, it can also Ensure that data packets are not lost.
  • the terminal device when the size of the PUSCH resource selected by the terminal device is smaller than the size of the data carried in the message, the terminal device removes padding from the MAC PDU carried in the message; and instructs the MAC entity to reassemble the MAC PDU packet with the padding removed to obtain Target MAC PDU: Use the selected PUSCH resource to retransmit the target MAC PDU, which can also avoid the loss of data packets.
  • the terminal device instructs the MAC entity to reassemble the MAC SDU packet in the MAC PDU carried in the message to obtain the target MAC PDU;
  • the PUSCH resource retransmits the target MAC PDU, which can also avoid the loss of data packets.
  • the terminal device instructs the MAC entity to reassemble the MAC SDU and/or MAC CE in the MAC PDU carried in the message to obtain the target MAC PDU: Use the selected PUSCH resource to retransmit the target MAC PDU, which can also avoid the loss of data packets.
  • Figure 1 is a schematic diagram of the random access process based on contention of the present invention
  • Figure 2 is a schematic diagram of the non-competition-based random access process of the present invention.
  • FIG. 3 is a schematic diagram of the MAC PDU format composed of MAC RAR according to the present invention.
  • Fig. 4 is a schematic diagram of the format of MAC RAR of the present invention.
  • Fig. 5a is a schematic diagram 1 of the MAC subheader format of the present invention.
  • Figure 5b is a second schematic diagram of the MAC subheader format of the present invention.
  • FIG. 6 is a schematic diagram of a processing flow of the first type of random access according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the composition structure of a communication system according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an optional processing flow of a message retransmission method provided by an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an optional processing flow for selecting PUSCH resources and RO resources by a terminal device according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of the composition structure of a terminal device provided by an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of the composition structure of a network device provided by an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of the hardware composition structure of an electronic device according to an embodiment of the present invention.
  • random access (Random Access Channel, RACH) methods mainly include: a contention-based random access method and a non-contention-based random access method.
  • Msg1 carries the random access preamble, which is an L1 message
  • Msg2 is a random access response, and is an L2 (MAC layer) message
  • Msg3 can be L3 (Radio Resource Control (RRC) layer) or L2 (MAC layer) message
  • Msg4 can be L3 (RRC layer) or L2 (MAC layer) message.
  • Msg1 and Msg2 do not use HARQ transmission, while Msg3 and Msg4 use hybrid automatic repeat request (Hybrid Automatic Repeat reQuest, HARQ) transmission. If a random access attempt fails, the terminal device can initiate the next random access attempt and perform power ramping until the maximum number of retransmissions allowed by the network side is reached.
  • Hybrid Automatic Repeat reQuest Hybrid Automatic Repeat reQuest
  • Fig. 2 The schematic diagram of the non-competition-based random access process is shown in Fig. 2; where Msg0 and Msg1 are L1 messages, and Msg2 is L2 (MAC layer) messages.
  • Msg0 and Msg1 are L1 messages
  • Msg2 is L2 (MAC layer) messages.
  • the resources of the non-contention random access are obtained through RRC signaling or PDCCH sequence (order).
  • the types of RACH include: the first type of random access and the second type of random access.
  • the first type of random access the terminal device and the network device need to perform two information exchanges. Therefore, the first type of random access is also called 2-steps RACH.
  • the second type of random access the terminal device and the network device need to perform 4 information exchanges; therefore, the second type of random access is also called 4-steps RACH.
  • the processing flow of the second type of random access includes the following four steps:
  • step S101 the terminal device sends a random access preamble to the network device through a message 1 (message 1, Msg1).
  • the terminal device sends the selected Preamble on the selected PRACH time domain resource; the network device can estimate the uplink Timing and the size of the uplink authorization required for the terminal device to transmit Msg3 based on the Preamble.
  • Step S102 After detecting that a terminal device sends a preamble, the network device sends a random access response (Random Access Response, RAR) message to the terminal device through Msg2 to inform the terminal device of the uplink resource information that can be used when sending Msg3.
  • RAR Random Access Response
  • the equipment allocates a temporary radio network temporary identity (RNTI) to provide time advance command for terminal equipment.
  • RNTI temporary radio network temporary identity
  • the terminal device After sending Msg1, the terminal device opens a RAR window and detects PDCCH in the RAR window; the detected PDCCH is scrambled with RA-RNTI, and the RA-RNTI calculation formula is as follows:
  • RA-RNTI 1+s_id+14 ⁇ t_id+14 ⁇ 80 ⁇ f_id+14 ⁇ 80 ⁇ 8 ⁇ ul_carrier_id;
  • RA-RNTI is related to PRACH time-frequency resources.
  • the schematic diagram of the MAC PDU format composed of MAC RAR is shown in Figure 3.
  • the format diagram of MAC RAR includes subheader (subheader), RAPID, payload (payload), UL GRANT, and temporary (Temporary) Cell Radio Network Temporary Identifier (Cell Radio Network Temporary Identifier, C- RNTI);
  • BI is used to indicate the backoff time for retransmission of Msg1;
  • RAPID is the preamble index received in response to the network device;
  • the payload contains TAG, which is used to adjust the uplink timing;
  • UL grant is used to schedule the information in step S103 Uplink resource indication;
  • Temporary C-RNTI is used to scramble the PDCCH (initial access) of the message in step S104.
  • the format diagram 1 of MAC subheader and the format diagram 1 of MAC subheader are respectively shown in Figure 5a and Figure 5b; where R is a reserved bit and T is a type bit.
  • Step S103 After receiving the RAR message, the terminal device sends Msg3 in the uplink resource specified by the RAR message.
  • the message of Msg3 is mainly used to notify the network device of what event triggered the RACH process. For example, if it is an initial random access event, the terminal device ID and establishment cause will be carried in Msg3; if it is an RRC reestablishment event, the connected terminal device identification and establishment cause will be carried in Msg3. If it is in the RRC connected state, Msg3 contains a C-RNTI MAC CE.
  • Step S104 The network device sends Msg4 to the terminal device, and Msg4 includes a contention resolution message, and at the same time allocates uplink transmission resources for the terminal device.
  • the terminal device When the terminal device receives the Msg4 sent by the network device, it will detect whether the terminal device specific temporary identifier sent by the terminal device in Msg3 is included in the contention resolution message sent by the base station. If it is included, it indicates that the terminal device random access process is successful, otherwise it is considered random If the process fails, the terminal device needs to initiate the random access process again from the first step.
  • Another function of Msg4 is to send RRC configuration messages to terminal devices.
  • the transmission of Msg 3 supports Hybrid Automatic Repeat Request (HARQ) retransmission.
  • HARQ Hybrid Automatic Repeat Request
  • the MAC layer entity When Msg3 is first transmitted, the MAC layer entity will generate a MAC PDU and store it in the Msg3 buffer. in.
  • the MAC PDU in Msg3 uses the HARQ buffer corresponding to the fixed HARQ process identifier (HARQ process 0), that is, if the RAR scheduling UL GRANT is received, if there is a MAC PDU in the Msg3buffer, the MAC entity extracts the MAC PDU from the Msg3buffer and Put it into HARQ process buffer 0 for retransmission. If the grant used for retransmission is inconsistent with the MAC PDU stored in the Msg3buffer, it is necessary to repack the MAC PDU.
  • HARQ process 0 the fixed HARQ process identifier
  • the above-mentioned second type of RACH process requires four information exchanges between network equipment and terminal equipment to complete, resulting in a longer RACH process time; in view of the problem of the RACH process time extension, the first type of random access is proposed, the first type of random access
  • the processing flow is shown in Figure 6, including the following steps:
  • Step S201 The terminal device sends MsgA to the network device.
  • MsgA is composed of Preamble and payload.
  • the preamble is the same as the preamble in the second type of random access, and the preamble is transmitted on the PRACH resource;
  • the information carried in the payload is the same as the information in the Msg3 in the second type of random access, for example, when the RRC is in an idle state RRC signaling and C-RNTI MAC CE when RRC is in the connected state, the payload can be transmitted by PUSCH.
  • MsgA includes the contents of Msg1 and Msg3 in the second type of random access; since Msg3 in the second type of random access supports retransmission, therefore, the PUSCH in MsgA may also support retransmission.
  • Step S202 The terminal device receives the MsgB sent by the network device.
  • MsgB includes the content of Msg2 and Msg4 in the second type of random access.
  • the present invention provides a message retransmission method.
  • the message retransmission method in the embodiments of this application can be applied to various communication systems, such as: Global System of Mobile Communication (GSM) system, multiple code division Address (Code Division Multiple Access, CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system , LTE Frequency Division Duplex (Frequency Division Duplex, FDD) system, LTE Time Division Duplex (Time Division Duplex, TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access, WiMAX) communication system or 5G system, etc.
  • 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
  • LTE Frequency Division Duplex Frequency Division Duplex
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • the communication system 100 applied in the embodiment of the present application is shown in FIG. 7.
  • the communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal device 120 (or called a communication terminal or terminal).
  • the network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminal devices located in the coverage area.
  • the network device 110 may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, a base station (NodeB, NB) in a WCDMA system, or an evolved base station in an LTE system (Evolutional Node B, eNB or eNodeB), or the wireless controller in the Cloud Radio Access Network (CRAN), or the network equipment can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, Wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks, or network devices in the future evolution of the Public Land Mobile Network (PLMN), etc.
  • BTS Base Transceiver Station
  • NodeB, NB base station
  • LTE Long Term Evolutional Node B
  • eNB evolved base station
  • CRAN Cloud Radio Access Network
  • the network equipment can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, Wearable devices, hubs, switches
  • the communication system 100 also includes at least one terminal device 120 located within the coverage area of the network device 110.
  • the "terminal equipment” used here includes but is not limited to connection via wired lines, such as via public switched telephone networks (PSTN), digital subscriber lines (Digital Subscriber Line, DSL), digital cables, and direct cable connections ; And/or another data connection/network; and/or via a wireless interface, such as for cellular networks, wireless local area networks (WLAN), digital TV networks such as DVB-H networks, satellite networks, AM- FM broadcast transmitter; and/or another terminal device that is set to receive/send communication signals; and/or Internet of Things (IoT) equipment.
  • PSTN public switched telephone networks
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL
  • a terminal device set to communicate through a wireless interface may be referred to as a "wireless communication terminal", a “wireless terminal” or a “mobile terminal”.
  • mobile terminals include, but are not limited to, satellites or cellular phones; Personal Communications System (PCS) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, Internet/intranet PDA with internet access, web browser, memo pad, calendar, and/or Global Positioning System (GPS) receiver; and conventional laptop and/or palmtop receivers or others including radio phone transceivers Electronic device.
  • PCS Personal Communications System
  • GPS Global Positioning System
  • Terminal equipment can refer to access terminals, user equipment (UE), user units, user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile equipment, user terminals, terminals, wireless communication equipment, user agents, or User device.
  • the access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (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 5G networks, or terminal devices in the future evolution of PLMN, etc.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • direct terminal connection (Device to Device, D2D) communication may be performed between the terminal devices 120.
  • the 5G system or 5G network may also be referred to as a New Radio (NR) system or NR network.
  • NR New Radio
  • Figure 7 exemplarily shows one network device and two terminal devices.
  • the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. The embodiment does not limit this.
  • the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices.
  • the communication device may include a network device 110 having a communication function and a terminal device 120.
  • the network device 110 and the terminal device 120 may be the specific devices described above, which will not be repeated here.
  • the communication device may also include other devices in the communication system 100, such as other network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the application.
  • the optional processing flow of the message retransmission method provided by the embodiment of the present invention, as shown in FIG. 8, includes the following steps:
  • Step S301 The terminal device obtains the resource of the retransmission message.
  • the message is MsgA in the first type of random access.
  • the terminal device transmits MsgA, it starts the window or timer for monitoring MsgB, and detects the scheduling of MsgB within the window or timer for monitoring MsgB; if the terminal device is monitoring MsgB If the scheduling of MsgB is not detected in the window, or the scheduling of MsgB is not detected before the configured timer expires, the terminal device chooses to retransmit MsgA.
  • the terminal device obtains the resource of the retransmission message in two ways. One is that the terminal device independently selects the resource for retransmission of the message, and the other is that the network device schedules the resource for the terminal device to retransmit the message.
  • the resources of the retransmission message include PRACH resources and PUSCH resources; the data carried in MsgA includes Preamble and payload; the content included in the MAC PDU of the payload varies according to the RRC state of the terminal device.
  • C-RNTI MAC CE It may also be a common control channel (Common Control Channel, CCCH) service data unit (Service Data Unit, SDU).
  • CCCH Common Control Channel
  • SDU Service Data Unit
  • the terminal device when the terminal device autonomously selects the resource for retransmitting the message, the terminal device determines the random access opportunity (RACH Occasion, RO) for retransmitting the message based on the parameter information of the synchronization signal block (Synchronization Signal Block, SSB). ) Resources and physical uplink shared channel (Physical Uplink Shared Channel, PUSCH) resources. Among them, the RO resource is used to retransmit the Preamble, and the PUSCH resource is used to retransmit the payload.
  • the parameter information of the SSB is reference signal receiving power (Reference Signal Receiving Power, RSRP) of the SSB.
  • RSRP Reference Signal Receiving Power
  • the terminal device determines whether the RSRP of the SSB is greater than the first threshold, and selects an SSB, and the RSRP of the selected SSB is greater than the first threshold; wherein, the first threshold is a pre-configured RSRP-Threshold. After that, the terminal device determines RO resources and PUSCH resources based on the selected SSB.
  • an optional implementation process for the terminal device to determine the RO resource and the PUSCH resource based on the selected SSB is: the network device configures the corresponding relationship between the SSB and the RO resource, and the corresponding relationship between the SSB and the PUSCH resource; the terminal device is based on the SSB and The corresponding relationship of the RO resources determines an RO resource corresponding to the selected SSB.
  • the correspondence between SSB and PUSCH resources may be that one SSB corresponds to multiple PUSCH resources, or multiple SSB resources correspond to one PUSCH resource.
  • the terminal device determines a PUSCH resource corresponding to the selected SSB based on the correspondence between the SSB and the PUSCH resource, if the size of the PUSCH resource is equal to the size of the data carried in the message, or the transport block size provided by the PUSCH resource (Transport) Block Size, TBS) is equal to the TBS provided by the PUSCH of the first transmission of the message, which can ensure that data is not lost when the message is retransmitted.
  • TBS Transport Block Size
  • another implementation process for the terminal device to determine the RO resource and the PUSCH resource based on the selected SSB is: the network device configures the corresponding relationship between the SSB and the RO resource, and the corresponding relationship between the RO resource and the PUSCH resource; the terminal device is based on the SSB and The corresponding relationship of the RO resource determines an RO resource corresponding to the selected SSB; the terminal device obtains the PUSCH resource corresponding to the determined RO resource based on the corresponding relationship between the RO resource and the PUSCH resource.
  • the size of the PUSCH resource is equal to the size of the data carried in the message, or the TBS provided by the PUSCH resource is equal to the TBS provided by the PUSCH that initially transmits the message, it can be ensured that data is not lost when the message is retransmitted.
  • the resource for the terminal device to retransmit the message is scheduled by the network device; in specific implementation, the terminal device receives the UL GRANT scheduled by the network device, and the UL GRANT is used to retransmit the message.
  • an optional implementation process for the network device to schedule the resource of the terminal device to retransmit the message is:
  • Another optional implementation process for the network device to schedule the resource for the terminal device to retransmit the message is:
  • the terminal device receives the second indication information sent by the network device, the second indication information indicates UL GRANT, the size of the UL GRANT is greater than or equal to the size of the MAC PDU carried in the message, and the UL GRANT is used for Retransmit the message.
  • the terminal device uses the second indication information as the Msg2 in the second type of random access, and the network device can schedule a UL GRANT greater than or equal to the size of the MAC PDU carried in the message to ensure retransmission No packet loss during message.
  • the RAR shown in FIG. 4 is used to indicate the first indication information or the second indication information, and the R bit (that is, reserved bit) is used to indicate whether the terminal device is randomly accessed from the first type. Fall back to the second type of random access. If the R bit indicates that the terminal device falls back to the second type of random access, and the terminal device retransmits Msg1, the terminal device ignores the content in the RAR shown in FIG. 4 except for the first indication information. If the R bit indicates that the terminal device falls back to the second type of random access, and uses the indicated UL GRANT to transmit Msg3, the terminal device continues to transmit Msg3.
  • Step S302 The terminal device retransmits the message based on the size relationship between the resource and the data carried in the message.
  • the terminal device autonomously determining the PUSCH resource or the network device scheduling the UL GRANT there may not be a situation where the size of the PUSCH resource is equal to the size of the data carried in the retransmitted message.
  • the plan is:
  • the terminal device instructs the MAC entity to reassemble all the contents in the MAC PDU to obtain the target MAC PDU; use UL GRANT to retransmit the target MAC PDU; the UL GRANT is scheduled by the network device, or the UL GRANT Corresponding to the PUSCH resource determined by the terminal device. Since the target MAC PDU includes all the contents of the MAC PDU that failed to be transmitted; for example, when the MAC PDU includes MAC SDU and MAC CE, all the contents of the MAC PDU are MAC SDU, MAC CE and corresponding subheader .
  • the retransmission message is optional
  • the terminal device instructs the MAC entity to reassemble the content contained in the MAC PDU to obtain the target MAC PDU;
  • the content of the MAC PDU includes at least one of the MAC SDU and the MAC CE;
  • the target MAC PDU is retransmitted by using UL GRANT.
  • the target MAC PDU includes at least one of a MAC SDU and a MAC CE; however, the target MAC PDU does not include a subheader.
  • the terminal device directly buffers the MAC SDU and/or MAC CE; the size of the buffered MAC SDU and/or MAC CE is used as a reference factor for determining the PUSCH resource, so that the selected PUSCH resource size is smaller than that carried in the message
  • the size of the MAC PDU is greater than the size of the content contained in the MAC PDU.
  • the UL GRANT is the UL GRANT corresponding to the PUSCH resource, or the UL GRANT is scheduled by a network device.
  • the terminal device removes the padding information (padding) of the MAC PDU, and the determined PUSCH resource size is greater than the size of the MAC PDU with the padding removed; the terminal device instructs the MAC entity to reassemble the MAC PDU with the padding removed to obtain Target MAC PDU; Utilize the UL GRANT corresponding to the PUSCH resource to retransmit the target MAC PDU.
  • the MAC PDU with padding removed includes: MAC CE and corresponding subheader, MAC SDU and corresponding subheader, or MAC CE, MAC SDU and subheader corresponding to MAC CE and MAC SDU respectively.
  • the optional processing scheme for the retransmitted message is:
  • the terminal device instructs the MAC entity to reassemble the MAC SDU in the MAC PDU to obtain a target MAC PDU; use UL GRANT to retransmit the target MAC PDU; the target MAC PDU includes all the MAC PDUs that have failed transmission MAC SDU.
  • the MAC PDU when the MAC PDU transmission fails for the first time, the MAC PDU is buffered in the buffer corresponding to Msg3 in the second type of random access, or the MAC PDU is buffered in a new buffer; optionally, The new buffer may be the buffer corresponding to the MsgA in the first type of random access; when the terminal device needs to retransmit the MAC PDU, the MAC PDU is obtained from the buffer.
  • the terminal device uses the MAC PDU obtained from the buffer or the target MAC PDU obtained after repacking the MAC PDU and the PUSCH resource indication to the HARQ to realize the retransmission of the message.
  • An optional processing flow diagram includes the following steps:
  • Step S401 the terminal device selects SSB.
  • step S402 the terminal device judges whether there is an SSB whose RSRP is greater than the first threshold; if the judgment result is yes, execute step S403; if the judgment result is no, execute step S404'.
  • Step S403 The terminal device selects an SSB whose RSRP is greater than a first threshold, and selects PUSCH resources based on the SSB.
  • Step S404 The terminal device judges whether the size of the selected PUSCH resource is equal to the size of the MAC PDU in the MsgA; if the judgment result is yes, execute step S405; if the judgment result is no, return to step S402.
  • Step S404' the terminal device continues to select the SSB, so that the size of the PUSCH resource selected based on the SSB is equal to the size of the MAC PDU in the MsgA; after that, step S405 is performed.
  • Step S405 The terminal device randomly selects an RO resource from the RO resources corresponding to the SSB.
  • an embodiment of the present invention further provides a terminal device.
  • the composition structure of the terminal device 500 includes:
  • the processing unit 501 is configured to obtain resources for retransmission of messages
  • the first transceiver unit 502 is configured to retransmit the message based on the size relationship between the resource and the data carried in the message.
  • the processing unit 501 is configured to determine the RO resource and the resource for retransmitting the message based on the parameter information of the SSB.
  • the processing unit 501 is configured to select an SSB whose RSRP is greater than a first threshold; and determine the RO resource and the PUSCH resource based on the SSB.
  • the processing unit 501 is configured to determine the RO resource based on the correspondence between the SSB and the RO resource; and determine the PUSCH resource based on the correspondence between the SSB and the PUSCH resource.
  • the processing unit 401 is configured to determine the RO resource based on the correspondence between the SSB and the RO resource; and determine the PUSCH resource based on the correspondence between the RO resource and the PUSCH resource.
  • the processing unit 501 is configured to receive a UL GRANT scheduled by a network device, and the UL GRANT is used to retransmit the message.
  • the processing unit 501 is configured to receive first instruction information sent by a network device, where the first instruction information is used to instruct the terminal device to initiate a second type of random access; based on the first instruction The information sends the Preamble to the network device; receives the RAR sent by the network device, and the RAR carries the UL GRANT used to retransmit the message.
  • the processing unit is configured to receive second indication information sent by a network device, the second indication information indicating UL GRANT, and the size of the UL GRANT is greater than or equal to the media access control protocol data carried in the message unit
  • the first transceiver unit 502 when the size of the PUSCH resource is equal to the size of the MAC PDU carried in the message, the first transceiver unit 502 is configured to obtain the MAC PDU from the buffer; The MAC PDU; the UL GRANT is scheduled by a network device, or the UL GRANT corresponds to the PUSCH resource determined by the terminal device.
  • the first transceiving unit 502 is configured to instruct the MAC entity to reorganize all content in the MAC PDU Packet to obtain the target MAC PDU; use the UL GRANT to retransmit the target MAC PDU; the UL GRANT is scheduled by the network device, or the UL GRANT corresponds to the PUSCH resource determined by the terminal device.
  • the first transceiver unit 502 is configured to remove the padding information padding of the MAC PDU, and the PUSCH resource The size of is greater than the size of the MAC PDU with padding removed; instructs the MAC entity to reassemble the MAC PDU with padding removed to obtain the target MAC PDU; use the UL GRANT corresponding to the PUSCH resource to retransmit the target MAC PDU.
  • the first transceiver unit 502 when the size of the PUSCH resource is smaller than the size of the MAC PDU carried in the message and larger than the size of the content contained in the MAC PDU, the first transceiver unit 502 is configured to indicate MAC The entity reassembles the content contained in the MAC PDU to obtain the target MAC PDU; the content contained in the MAC PDU includes at least one of the MAC SDU and the MAC CE; the UL GRANT corresponding to the PUSCH resource is used to retransmit the Said target MAC PDU.
  • the first transceiver unit 502 is configured to instruct the MAC entity to reassemble the MAC SDU in the MAC PDU , Obtain the target MAC PDU; use UL GRANT to retransmit the target MAC PDU.
  • the message is the message MsgA in the first type of random access.
  • an embodiment of the present invention also provides a network device.
  • the composition structure of the network device 600 includes:
  • the second transceiver unit 601 is configured to send indication information to the terminal device; the indication information is used to indicate UL GRANT, the UL GRANT is used for the terminal device to retransmit a message, and the size of the UL GRANT is greater than or equal to the The size of the MAC PDU carried in the message; or, the indication information is used to instruct the terminal device to initiate the second type of random access, and the second type of random access is used to retransmit the message.
  • An embodiment of the present invention also provides a terminal device, including a processor and a memory for storing a computer program that can run on the processor, where the processor is used to execute the above-mentioned terminal device when the computer program is running.
  • the steps of the message retransmission method are described in detail below.
  • An embodiment of the present invention also provides a network device, including a processor and a memory for storing a computer program that can run on the processor, where the processor is used to execute the above-mentioned network device when the computer program is running. The steps of the message retransmission method.
  • the electronic device 700 includes: at least one processor 701, a memory 702, and at least one network interface 704.
  • the various components in the terminal device 700 are coupled together through the bus system 705. It can be understood that the bus system 705 is used to implement connection and communication between these components.
  • the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are marked as the bus system 705 in FIG. 12.
  • the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • the non-volatile memory may be ROM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and electrically erasable Programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface memory, optical disk, or CD-ROM -ROM, Compact Disc Read-Only Memory); Magnetic surface memory can be disk storage or tape storage.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • SRAM Static Random Access Memory
  • SSRAM synchronous static random access memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM enhanced -Type synchronous dynamic random access memory
  • SLDRAM SyncLink Dynamic Random Access Memory
  • direct memory bus random access memory DRRAM, Direct Rambus Random Access Memory
  • DRRAM Direct Rambus Random Access Memory
  • the memory 702 described in the embodiment of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
  • the memory 702 in the embodiment of the present invention is used to store various types of data to support the operation of the terminal device 700. Examples of these data include: any computer program used to operate on the electronic device 700, such as the application program 7022.
  • the program for implementing the method of the embodiment of the present invention may be included in the application program 7022.
  • the method disclosed in the foregoing embodiment of the present invention may be applied to the processor 701 or implemented by the processor 701.
  • the processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the foregoing method can be completed by hardware integrated logic circuits in the processor 701 or instructions in the form of software.
  • the aforementioned processor 701 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the processor 701 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and the storage medium is located in the memory 702.
  • the processor 701 reads the information in the memory 702 and completes the steps of the foregoing method in combination with its hardware.
  • the electronic device 700 may be used by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), and complex programmable logic device (CPLD). , Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, MPU, or other electronic components to implement the foregoing method.
  • ASIC Application Specific Integrated Circuit
  • DSP digital signal processor
  • PLD programmable logic device
  • CPLD complex programmable logic device
  • FPGA field-programmable Logic Device
  • controller MCU
  • MPU or other electronic components to implement the foregoing method.
  • the embodiment of the present application also provides a storage medium for storing computer programs.
  • the storage medium can be applied to the terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process in each method of the embodiment of the present application.
  • the computer program causes the computer to execute the corresponding process in each method of the embodiment of the present application.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed by the present invention is a message re-transmission method, comprising: a terminal device acquiring resources for re-transmitting a message; and on the basis of the size relationship between the resources and data carried in the message, re-transmitting the message. Further disclosed by the present invention are another message re-transmission method, a device and a storage medium.

Description

一种消息重传方法、设备及存储介质Method, equipment and storage medium for message retransmission 技术领域Technical field

本发明涉及无线通信技术领域,尤其涉及一种消息重传方法、设备及存储介质。The present invention relates to the field of wireless communication technology, and in particular to a method, equipment and storage medium for message retransmission.

背景技术Background technique

相关技术中,随机接入(Random Access Channel,RACH)包括:第一类随机接入和第二类随机接入。针对第一类随机接入,终端设备与网络设备之间需要执行2次信息交互,即终端设备向网络设备发送消息(Msg)A,网络设备向终端设备发送MsgB。因此,第一类随机接入也称为二步随机接入(2-steps RACH)。针对第二类随机接入,终端设备与网络设备之间需要执行4次信息交互;因此,第二类随机接入也称为四步随机接入(4-steps RACH)。在第一类随机接入中,承载MsgA的物理上行共享信道(Physical Uplink Shared Channel,PUSCH)可能支持MsgA的重传。在重传MsgA时,容易发生数据包丢失的情况;但是,如何避免重传MsgA时数据包的丢失,目前尚无有效解决方案。In related technologies, random access (Random Access Channel, RACH) includes: the first type of random access and the second type of random access. For the first type of random access, the terminal device and the network device need to perform two information interactions, that is, the terminal device sends a message (Msg) A to the network device, and the network device sends MsgB to the terminal device. Therefore, the first type of random access is also called 2-steps RACH. For the second type of random access, the terminal device and the network device need to perform 4 information exchanges; therefore, the second type of random access is also called 4-steps RACH. In the first type of random access, the Physical Uplink Shared Channel (PUSCH) carrying MsgA may support the retransmission of MsgA. When MsgA is retransmitted, data packet loss is prone to occur; however, there is currently no effective solution to how to avoid the loss of data packets when MsgA is retransmitted.

发明内容Summary of the invention

为解决上述技术问题,本发明实施例提供一种消息重传方法、设备及存储介质,终端设备在重传消息时,能够避免数据包丢失。In order to solve the foregoing technical problems, embodiments of the present invention provide a message retransmission method, device, and storage medium. When a terminal device retransmits a message, it can avoid data packet loss.

第一方面,本发明实施例提供一种消息重传方法,包括:终端设备获取重传消息的资源;基于所述资源与所述消息中携带的数据的大小关系重传所述消息。In a first aspect, an embodiment of the present invention provides a message retransmission method, including: a terminal device obtains a resource for retransmitting a message; and retransmitting the message based on the size relationship between the resource and the data carried in the message.

第二方面,本发明实施例提供一种消息重传方法,包括:网络设备向终端设备发送指示信息;In a second aspect, an embodiment of the present invention provides a message retransmission method, including: a network device sends instruction information to a terminal device;

所述指示信息用于指示上行(Uplink,UL)授权(GRANT),所述UL GRANT用于所述终端设备重传消息,所述UL GRANT的大小大于或等于所述消息中携带的MAC PDU的大小;或者,所述指示信息用于指示所述终端设备发起第二类随机接入,所述第二类随机接入用于重传所述消息。The indication information is used to indicate an uplink (UL) grant (GRANT), the UL GRANT is used for the terminal device to retransmit a message, and the size of the UL GRANT is greater than or equal to the size of the MAC PDU carried in the message Size; or, the indication information is used to instruct the terminal device to initiate a second type of random access, and the second type of random access is used to retransmit the message.

第三方面,本发明实施例提供一种终端设备,所述终端设备包括:处理单元,配置为获取重传消息的资源;In a third aspect, an embodiment of the present invention provides a terminal device, the terminal device includes: a processing unit configured to obtain resources for retransmission of a message;

第一收发单元,配置为基于所述资源与所述消息中携带的数据的大小关系重传所述 消息。The first transceiver unit is configured to retransmit the message based on the size relationship between the resource and the data carried in the message.

第四方面,本发明实施例提供一种网络设备,所述网络设备包括:第二收发单元,配置为向终端设备发送指示信息;In a fourth aspect, an embodiment of the present invention provides a network device, the network device includes: a second transceiver unit configured to send instruction information to a terminal device;

所述指示信息用于指示UL GRANT,所述UL GRANT用于所述终端设备重传消息,所述UL GRANT的大小大于或等于所述消息中携带的媒体接入控制(Media Access Control,MAC)协议数据单元(Protocol Data Unit,PDU)的大小;或者,所述指示信息用于指示所述终端设备发起第二类随机接入,所述第二类随机接入用于重传所述消息。The indication information is used to indicate UL GRANT, the UL GRANT is used for the terminal device to retransmit the message, and the size of the UL GRANT is greater than or equal to the Media Access Control (MAC) carried in the message The size of the protocol data unit (Protocol Data Unit, PDU); or, the indication information is used to instruct the terminal device to initiate the second type of random access, and the second type of random access is used to retransmit the message.

第五方面,本发明实施例提供一种终端设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述终端设备执行的消息重传方法的步骤。In a fifth aspect, an embodiment of the present invention provides a terminal device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above-mentioned terminal when the computer program is running. Steps of the message retransmission method performed by the device.

第六方面,本发明实施例提供一种网络设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述网络设备执行的消息重传方法的步骤。In a sixth aspect, an embodiment of the present invention provides a network device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above network when the computer program is running. Steps of the message retransmission method performed by the device.

第七方面,本发明实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述终端设备执行的消息重传方法。In a seventh aspect, an embodiment of the present invention provides a storage medium that stores an executable program, and when the executable program is executed by a processor, it implements the message retransmission method executed by the terminal device.

第八方面,本发明实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述网络设备执行的消息重传方法。In an eighth aspect, an embodiment of the present invention provides a storage medium that stores an executable program, and when the executable program is executed by a processor, it implements the message retransmission method executed by the network device.

本发明实施例提供的消息重传方法,包括:终端设备获取重传消息的资源,基于所述资源与所述消息中携带的数据的大小关系重传所述消息。终端设备在获取重传消息的资源时,选择的PUSCH资源的大小等于所述消息中携带的数据的大小时,利用选择的资源直接重传所述消息;如此,在终端设备重传消息时,能够保证数据包不丢失。或者,终端设备未能选择到与所述消息中携带的数据的大小相等的PUSCH资源时,终端设备选择的PUSCH资源的大小大于所述消息中携带的数据的大小;此时,终端设备需要指示MAC实体对所述消息中携带的MAC PDU进行重组包,重组包后的MAC PDU与重组包之前的MAC PDU包括的内容完全相同,利用选择的PUSCH资源传输重组包后的MAC PDU时,也能够保证数据包不丢失。或者,终端设备选择的PUSCH资源的大小小于所述消息中携带的数据的大小时,终端设备对所述消息中携带的MAC PDU去除padding;并指示MAC实体对去除padding的MAC PDU重组包,得到目标MAC PDU;利用选择的PUSCH资源重传目标MAC PDU,也能够避免数据包的丢失。或者,终端 设备选择的PUSCH资源的大小小于所述消息中携带的数据的大小时,终端设备指示MAC实体对所述消息中携带的MAC PDU中的MAC SDU重组包,得到目标MAC PDU;利用选择的PUSCH资源重传目标MAC PDU,也能够避免数据包的丢失。或者,终端设备选择的PUSCH资源的大小小于所述消息中携带的数据的大小时,终端设备指示MAC实体对所述消息中携带的MAC PDU中的MAC SDU和/或MAC CE重组包,得到目标MAC PDU;利用选择的PUSCH资源重传目标MAC PDU,也能够避免数据包的丢失。The message retransmission method provided in the embodiment of the present invention includes: a terminal device obtains a resource for retransmitting a message, and retransmits the message based on the size relationship between the resource and the data carried in the message. When the terminal device obtains the resource of the retransmission message, when the size of the selected PUSCH resource is equal to the size of the data carried in the message, it uses the selected resource to directly retransmit the message; in this way, when the terminal device retransmits the message, It can ensure that data packets are not lost. Or, when the terminal device fails to select a PUSCH resource equal to the size of the data carried in the message, the size of the PUSCH resource selected by the terminal device is greater than the size of the data carried in the message; at this time, the terminal device needs to indicate The MAC entity reassembles the MAC PDU carried in the message. The content of the reassembled MAC PDU is exactly the same as the MAC PDU before the reassembled packet. When the selected PUSCH resource is used to transmit the reassembled MAC PDU, it can also Ensure that data packets are not lost. Or, when the size of the PUSCH resource selected by the terminal device is smaller than the size of the data carried in the message, the terminal device removes padding from the MAC PDU carried in the message; and instructs the MAC entity to reassemble the MAC PDU packet with the padding removed to obtain Target MAC PDU: Use the selected PUSCH resource to retransmit the target MAC PDU, which can also avoid the loss of data packets. Or, when the size of the PUSCH resource selected by the terminal device is smaller than the size of the data carried in the message, the terminal device instructs the MAC entity to reassemble the MAC SDU packet in the MAC PDU carried in the message to obtain the target MAC PDU; The PUSCH resource retransmits the target MAC PDU, which can also avoid the loss of data packets. Or, when the size of the PUSCH resource selected by the terminal device is smaller than the size of the data carried in the message, the terminal device instructs the MAC entity to reassemble the MAC SDU and/or MAC CE in the MAC PDU carried in the message to obtain the target MAC PDU: Use the selected PUSCH resource to retransmit the target MAC PDU, which can also avoid the loss of data packets.

附图说明Description of the drawings

图1为本发明基于竞争的随机接入过程示意图;Figure 1 is a schematic diagram of the random access process based on contention of the present invention;

图2为本发明基于非竞争的随机接入过程示意图;Figure 2 is a schematic diagram of the non-competition-based random access process of the present invention;

图3为本发明由MAC RAR构成的MAC PDU的格式示意图;Figure 3 is a schematic diagram of the MAC PDU format composed of MAC RAR according to the present invention;

图4为本发明MAC RAR的格式示意图;Fig. 4 is a schematic diagram of the format of MAC RAR of the present invention;

图5a为本发明MAC subheader的格式示意图一;Fig. 5a is a schematic diagram 1 of the MAC subheader format of the present invention;

图5b为本发明MAC subheader的格式示意图二;Figure 5b is a second schematic diagram of the MAC subheader format of the present invention;

图6为本发明实施例第一类随机接入的处理流程示意图;6 is a schematic diagram of a processing flow of the first type of random access according to an embodiment of the present invention;

图7为本发明实施例通通信系统的组成结构示意图;7 is a schematic diagram of the composition structure of a communication system according to an embodiment of the present invention;

图8为本发明实施例提供的消息重传方法的可选处理流程示意图;8 is a schematic diagram of an optional processing flow of a message retransmission method provided by an embodiment of the present invention;

图9为本发明实施例终端设备选择PUSCH资源和RO资源的可选处理流程示意图;FIG. 9 is a schematic diagram of an optional processing flow for selecting PUSCH resources and RO resources by a terminal device according to an embodiment of the present invention;

图10为本发明实施例提供的终端设备的组成结构示意图;10 is a schematic diagram of the composition structure of a terminal device provided by an embodiment of the present invention;

图11为本发明实施例提供的网络设备的组成结构示意图;11 is a schematic diagram of the composition structure of a network device provided by an embodiment of the present invention;

图12为本发明实施例电子设备的硬件组成结构示意图。FIG. 12 is a schematic diagram of the hardware composition structure of an electronic device according to an embodiment of the present invention.

具体实施方式detailed description

为了能够更加详尽地了解本发明实施例的特点和技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。In order to understand the features and technical content of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The attached drawings are for reference and explanation purposes only, and are not used to limit the embodiments of the present invention.

在对本发明实施例提供的消息重传方法进行详细说明之前,先对相关技术中的随机接入方式进行简要说明。Before describing in detail the message retransmission method provided by the embodiment of the present invention, a brief description of the random access method in the related technology will be given first.

在新无线(New Ration,NR)系统中,随机接入(Random Access Channel,RACH)方式主要包括:基于竞争的随机接入方式和基于非竞争的随机接入方式两种。其中,基 于竞争的随机接入过程的示意图,如图1所示;其中,Msg1携带随机接入前导码,为L1消息,Msg2为随机接入响应,为L2(MAC层)消息,Msg3可以是L3(无线资源控制(Radio Resource Control,RRC)层)或L2(MAC层)消息,Msg4可以是L3(RRC层)或L2(MAC层)消息。Msg1和Msg2不使用HARQ传输,而Msg3和Msg4使用混合自动重传请求(Hybrid Automatic Repeat reQuest,HARQ)传输。一次随机接入尝试如果失败,终端设备可以发起下一次随机接入尝试并进行power ramping,直到达到网络侧允许的最大重传次数。In the New Radio (New Rational, NR) system, random access (Random Access Channel, RACH) methods mainly include: a contention-based random access method and a non-contention-based random access method. Among them, the schematic diagram of the contention-based random access process is shown in Figure 1. Among them, Msg1 carries the random access preamble, which is an L1 message, Msg2 is a random access response, and is an L2 (MAC layer) message, and Msg3 can be L3 (Radio Resource Control (RRC) layer) or L2 (MAC layer) message, Msg4 can be L3 (RRC layer) or L2 (MAC layer) message. Msg1 and Msg2 do not use HARQ transmission, while Msg3 and Msg4 use hybrid automatic repeat request (Hybrid Automatic Repeat reQuest, HARQ) transmission. If a random access attempt fails, the terminal device can initiate the next random access attempt and perform power ramping until the maximum number of retransmissions allowed by the network side is reached.

基于非竞争的随机接入过程的示意图,如图2所示;其中,Msg0和Msg1是L1消息,Msg2是L2(MAC层)消息。在非竞争随机接入过程中,通过RRC信令或者PDCCH序列(order)获取非竞争随机接入的资源。The schematic diagram of the non-competition-based random access process is shown in Fig. 2; where Msg0 and Msg1 are L1 messages, and Msg2 is L2 (MAC layer) messages. In the non-contention random access process, the resources of the non-contention random access are obtained through RRC signaling or PDCCH sequence (order).

RACH的类型包括:第一类随机接入和第二类随机接入。其中,第一类随机接入中,终端设备与网络设备之间需要执行2次信息交互,因此,第一类随机接入也称为二步随机接入(2-steps RACH)。第二类随机接入中,终端设备与网络设备之间需要执行4次信息交互;因此,第二类随机接入也称为四步随机接入(4-steps RACH)。The types of RACH include: the first type of random access and the second type of random access. Among them, in the first type of random access, the terminal device and the network device need to perform two information exchanges. Therefore, the first type of random access is also called 2-steps RACH. In the second type of random access, the terminal device and the network device need to perform 4 information exchanges; therefore, the second type of random access is also called 4-steps RACH.

第二类随机接入的处理流程包括如下四个步骤:The processing flow of the second type of random access includes the following four steps:

步骤S101,终端设备通过消息1(message 1,Msg1)向网络设备发送随机接入Preamble。In step S101, the terminal device sends a random access preamble to the network device through a message 1 (message 1, Msg1).

终端设备在选择的PRACH时域资源上发送选择的Preamble;网络设备根据Preamble能够估算上行Timing以及终端设备传输Msg3所需要的上行授权的大小。The terminal device sends the selected Preamble on the selected PRACH time domain resource; the network device can estimate the uplink Timing and the size of the uplink authorization required for the terminal device to transmit Msg3 based on the Preamble.

步骤S102,网络设备检测到有终端设备发送Preamble之后,通过Msg2向终端设备发送随机接入响应(Random Access Response,RAR)消息,以告知终端设备在发送Msg3时可以使用的上行资源信息,为终端设备分配临时的无线网络临时标识(Radio Network Tempory Identity,RNTI),为终端设备提供time advance command等。Step S102: After detecting that a terminal device sends a preamble, the network device sends a random access response (Random Access Response, RAR) message to the terminal device through Msg2 to inform the terminal device of the uplink resource information that can be used when sending Msg3. The equipment allocates a temporary radio network temporary identity (RNTI) to provide time advance command for terminal equipment.

终端设备在发送Msg1之后,开启一个RAR窗口,在RAR窗口内检测PDCCH;检测到的PDCCH用RA-RNTI加扰,RA-RNTI的计算公式如下述所示:After sending Msg1, the terminal device opens a RAR window and detects PDCCH in the RAR window; the detected PDCCH is scrambled with RA-RNTI, and the RA-RNTI calculation formula is as follows:

RA-RNTI=1+s_id+14×t_id+14×80×f_id+14×80×8×ul_carrier_id;RA-RNTI=1+s_id+14×t_id+14×80×f_id+14×80×8×ul_carrier_id;

根据上述公式可知,RA-RNTI与PRACH时频资源有关。According to the above formula, RA-RNTI is related to PRACH time-frequency resources.

由MAC RAR构成的MAC PDU的格式示意图,如图3所示。其中,MAC RAR的格式示意图,如图4所示,包括子包头(subheader)、RAPID、载荷(payload)、UL GRANT和临时的(Temporary)小区无线网络临时标识(Cell Radio Network Temporary Identifier, C-RNTI);其中,BI用于指示重传Msg1的回退时间;RAPID为网络设备响应收到的preamble index;payload中包含了TAG,用于调整上行时序;UL grant用于调度步骤S103中信息的上行资源指示;Temporary C-RNTI用于加扰步骤S104中消息的PDCCH(初始接入)。MAC subheader的格式示意图一和MAC subheader的格式示意图一,分别如图5a和图5b所示;其中,R为预留比特,T为类型比特。The schematic diagram of the MAC PDU format composed of MAC RAR is shown in Figure 3. Among them, the format diagram of MAC RAR, as shown in Figure 4, includes subheader (subheader), RAPID, payload (payload), UL GRANT, and temporary (Temporary) Cell Radio Network Temporary Identifier (Cell Radio Network Temporary Identifier, C- RNTI); Among them, BI is used to indicate the backoff time for retransmission of Msg1; RAPID is the preamble index received in response to the network device; the payload contains TAG, which is used to adjust the uplink timing; UL grant is used to schedule the information in step S103 Uplink resource indication; Temporary C-RNTI is used to scramble the PDCCH (initial access) of the message in step S104. The format diagram 1 of MAC subheader and the format diagram 1 of MAC subheader are respectively shown in Figure 5a and Figure 5b; where R is a reserved bit and T is a type bit.

步骤S103,终端设备接收到RAR消息之后,在RAR消息所指定的上行资源中发送Msg3。Step S103: After receiving the RAR message, the terminal device sends Msg3 in the uplink resource specified by the RAR message.

其中,Msg3的消息主要用于通知网络设备该RACH过程是由什么事件触发。举例来说,如果是初始随机接入事件,则在Msg3中会携带终端设备ID和establishment cause;如果是RRC重建事件,则在Msg3中会携带连接态的终端设备标识和establishment cause。如果是在RRC连接态,则Msg3中包含一个C-RNTI MAC CE。Among them, the message of Msg3 is mainly used to notify the network device of what event triggered the RACH process. For example, if it is an initial random access event, the terminal device ID and establishment cause will be carried in Msg3; if it is an RRC reestablishment event, the connected terminal device identification and establishment cause will be carried in Msg3. If it is in the RRC connected state, Msg3 contains a C-RNTI MAC CE.

同时,Msg3携带的ID可以是的竞争冲突在步骤S104中得到解决。At the same time, the contention conflict that the ID carried by Msg3 may be is resolved in step S104.

步骤S104,网络设备向终端设备发送Msg4,Msg4中包括竞争解决消息,同时为终端设备分配上行传输资源。Step S104: The network device sends Msg4 to the terminal device, and Msg4 includes a contention resolution message, and at the same time allocates uplink transmission resources for the terminal device.

终端设备接收到网络设备发送的Msg4时,会检测终端设备在Msg3发送的终端设备特定临时标识是否包含在基站发送的竞争解决消息中,若包含则表明终端设备随机接入过程成功,否则认为随机过程失败,终端设备需要再次从第一步开始发起随机接入过程。Msg4的另一个作用是向终端设备发送RRC配置消息。When the terminal device receives the Msg4 sent by the network device, it will detect whether the terminal device specific temporary identifier sent by the terminal device in Msg3 is included in the contention resolution message sent by the base station. If it is included, it indicates that the terminal device random access process is successful, otherwise it is considered random If the process fails, the terminal device needs to initiate the random access process again from the first step. Another function of Msg4 is to send RRC configuration messages to terminal devices.

在第二类RACH中,Msg 3的传输支持混合自动重传请求(Hybrid Automatic Repeat Request,HARQ)重传,在初传Msg3时,MAC层实体会生成一个MAC PDU并保存在Msg3缓存(buffer)中。Msg3中MAC PDU采用固定HARQ进程标识(HARQ进程0)对应的HARQ buffer,也就是说,如果收到RAR调度UL GRANT,如果Msg3buffer中有MAC PDU,则MAC实体从Msg3buffer中将MAC PDU提取来并放入HARQ进程buffer 0中进行重传。如果用于重传的grant与保存在Msg3buffer中的MAC PDU不一致,则需要重新对MAC PDU进行组包。In the second type of RACH, the transmission of Msg 3 supports Hybrid Automatic Repeat Request (HARQ) retransmission. When Msg3 is first transmitted, the MAC layer entity will generate a MAC PDU and store it in the Msg3 buffer. in. The MAC PDU in Msg3 uses the HARQ buffer corresponding to the fixed HARQ process identifier (HARQ process 0), that is, if the RAR scheduling UL GRANT is received, if there is a MAC PDU in the Msg3buffer, the MAC entity extracts the MAC PDU from the Msg3buffer and Put it into HARQ process buffer 0 for retransmission. If the grant used for retransmission is inconsistent with the MAC PDU stored in the Msg3buffer, it is necessary to repack the MAC PDU.

上述第二类RACH过程需要经过网络设备与终端设备进行四次信息交互来完成,导致RACH过程的时延长;鉴于RACH过程时延长的问题,提出第一类随机接入,第一类随机接入的处理流程如图6所示,包括以下步骤:The above-mentioned second type of RACH process requires four information exchanges between network equipment and terminal equipment to complete, resulting in a longer RACH process time; in view of the problem of the RACH process time extension, the first type of random access is proposed, the first type of random access The processing flow is shown in Figure 6, including the following steps:

步骤S201,终端设备向网络设备发送MsgA。Step S201: The terminal device sends MsgA to the network device.

这里,MsgA由Preamble和payload组成。可选地,Preamble与第二类随机接入中 的Preamble相同,该Preamble在PRACH资源上传输;payload携带的信息与第二类随机接入中Msg3中的信息相同,比如RRC处于空闲态时的RRC信令,以及RRC处于连接态时的C-RNTI MAC CE,payload可由PUSCH传输。可以理解为,MsgA中包括了第二类随机接入中Msg1和Msg3中的内容;由于第二类随机接入中Msg3支持重传,因此,MsgA中的PUSCH也可能支持重传。但是,MsgA进行重传时,可能出现重传消息的资源的大小与MsgA中携带的数据的大小不一致的问题;当重传消息的资源的大小与MsgA中携带的数据的大小不一致时,可能导致数据丢失。Here, MsgA is composed of Preamble and payload. Optionally, the preamble is the same as the preamble in the second type of random access, and the preamble is transmitted on the PRACH resource; the information carried in the payload is the same as the information in the Msg3 in the second type of random access, for example, when the RRC is in an idle state RRC signaling and C-RNTI MAC CE when RRC is in the connected state, the payload can be transmitted by PUSCH. It can be understood that MsgA includes the contents of Msg1 and Msg3 in the second type of random access; since Msg3 in the second type of random access supports retransmission, therefore, the PUSCH in MsgA may also support retransmission. However, when MsgA retransmits, there may be a problem that the resource size of the retransmitted message is inconsistent with the size of the data carried in MsgA; when the resource size of the retransmitted message is inconsistent with the data carried in MsgA, it may cause data lost.

步骤S202,终端设备接收网络设备发送的MsgB。Step S202: The terminal device receives the MsgB sent by the network device.

可选地,MsgB包括第二类随机接入中Msg2和Msg4的内容。Optionally, MsgB includes the content of Msg2 and Msg4 in the second type of random access.

基于上述问题,本发明提供一种消息重传方法,本申请实施例的消息重传方法可以应用于各种通信系统,例如:全球移动通讯(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)通信系统或5G系统等。Based on the above problems, the present invention provides a message retransmission method. The message retransmission method in the embodiments of this application can be applied to various communication systems, such as: Global System of Mobile Communication (GSM) system, multiple code division Address (Code Division Multiple Access, CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system , LTE Frequency Division Duplex (Frequency Division Duplex, FDD) system, LTE Time Division Duplex (Time Division Duplex, TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access, WiMAX) communication system or 5G system, etc.

示例性的,本申请实施例应用的通信系统100如图7所示。该通信系统100可以包括网络设备110,网络设备110可以是与终端设备120(或称为通信终端、终端)通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备进行通信。可选地,该网络设备110可以是GSM系统或CDMA系统中的基站(Base Transceiver Station,BTS),也可以是WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者是云无线接入网络(Cloud Radio Access Network,CRAN)中的无线控制器,或者该网络设备可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的网络设备等。Exemplarily, the communication system 100 applied in the embodiment of the present application is shown in FIG. 7. The communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal device 120 (or called a communication terminal or terminal). The network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminal devices located in the coverage area. Optionally, the network device 110 may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, a base station (NodeB, NB) in a WCDMA system, or an evolved base station in an LTE system (Evolutional Node B, eNB or eNodeB), or the wireless controller in the Cloud Radio Access Network (CRAN), or the network equipment can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, Wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks, or network devices in the future evolution of the Public Land Mobile Network (PLMN), etc.

该通信系统100还包括位于网络设备110覆盖范围内的至少一个终端设备120。作为在此使用的“终端设备”包括但不限于经由有线线路连接,如经由公共交换电话网络 (Public Switched Telephone Networks,PSTN)、数字用户线路(Digital Subscriber Line,DSL)、数字电缆、直接电缆连接;和/或另一数据连接/网络;和/或经由无线接口,如,针对蜂窝网络、无线局域网(Wireless Local Area Network,WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器;和/或另一终端设备的被设置成接收/发送通信信号的装置;和/或物联网(Internet of Things,IoT)设备。被设置成通过无线接口通信的终端设备可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(Personal Communications System,PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(Global Positioning System,GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。终端设备可以指接入终端、用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端设备或者未来演进的PLMN中的终端设备等。The communication system 100 also includes at least one terminal device 120 located within the coverage area of the network device 110. The "terminal equipment" used here includes but is not limited to connection via wired lines, such as via public switched telephone networks (PSTN), digital subscriber lines (Digital Subscriber Line, DSL), digital cables, and direct cable connections ; And/or another data connection/network; and/or via a wireless interface, such as for cellular networks, wireless local area networks (WLAN), digital TV networks such as DVB-H networks, satellite networks, AM- FM broadcast transmitter; and/or another terminal device that is set to receive/send communication signals; and/or Internet of Things (IoT) equipment. A terminal device set to communicate through a wireless interface may be referred to as a "wireless communication terminal", a "wireless terminal" or a "mobile terminal". Examples of mobile terminals include, but are not limited to, satellites or cellular phones; Personal Communications System (PCS) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, Internet/intranet PDA with internet access, web browser, memo pad, calendar, and/or Global Positioning System (GPS) receiver; and conventional laptop and/or palmtop receivers or others including radio phone transceivers Electronic device. Terminal equipment can refer to access terminals, user equipment (UE), user units, user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile equipment, user terminals, terminals, wireless communication equipment, user agents, or User device. The access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (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 5G networks, or terminal devices in the future evolution of PLMN, etc.

可选地,终端设备120之间可以进行终端直连(Device to Device,D2D)通信。Optionally, direct terminal connection (Device to Device, D2D) communication may be performed between the terminal devices 120.

可选地,5G系统或5G网络还可以称为新无线(New Radio,NR)系统或NR网络。Optionally, the 5G system or 5G network may also be referred to as a New Radio (NR) system or NR network.

图7示例性地示出了一个网络设备和两个终端设备,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。Figure 7 exemplarily shows one network device and two terminal devices. Optionally, the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. The embodiment does not limit this.

可选地,该通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。Optionally, the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.

应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图7示出的通信系统100为例,通信设备可包括具有通信功能的网络设备110和终端设备120,网络设备110和终端设备120可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统100中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。It should be understood that the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices. Taking the communication system 100 shown in FIG. 7 as an example, the communication device may include a network device 110 having a communication function and a terminal device 120. The network device 110 and the terminal device 120 may be the specific devices described above, which will not be repeated here. The communication device may also include other devices in the communication system 100, such as other network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the application.

本发明实施例提供的消息重传方法的可选处理流程,如图8所示,包括以下步骤:The optional processing flow of the message retransmission method provided by the embodiment of the present invention, as shown in FIG. 8, includes the following steps:

步骤S301,终端设备获取重传消息的资源。Step S301: The terminal device obtains the resource of the retransmission message.

本发明实施例中,所述消息为第一类随机接入中的MsgA。在第一类随机接入中,终端设备传输完MsgA之后,启动监听MsgB的窗口或者定时器,在监听MsgB的窗口或者定时器的时长范围内,检测MsgB的调度;如果终端设备在监听MsgB的窗口内没有检测到MsgB的调度,或者在配置的定时器超时之前没有检测到MsgB的调度,终端设备选择重传MsgA。In the embodiment of the present invention, the message is MsgA in the first type of random access. In the first type of random access, after the terminal device transmits MsgA, it starts the window or timer for monitoring MsgB, and detects the scheduling of MsgB within the window or timer for monitoring MsgB; if the terminal device is monitoring MsgB If the scheduling of MsgB is not detected in the window, or the scheduling of MsgB is not detected before the configured timer expires, the terminal device chooses to retransmit MsgA.

在具体实施时,终端设备获取重传消息的资源包括两种途径,一种是终端设备自主选择重传消息的资源,另一种是由网络设备调度终端设备重传消息的资源。其中,重传消息的资源包括PRACH资源和PUSCH资源;MsgA中携带的数据包括Preamble和payload;payload的MAC PDU中包括的内容根据终端设备所处的RRC状态不同,可能时C-RNTI MAC CE,也可能是公共控制信道(Common Control CHannel,CCCH)服务数据单元(Service Data Unit,SDU)。In specific implementation, the terminal device obtains the resource of the retransmission message in two ways. One is that the terminal device independently selects the resource for retransmission of the message, and the other is that the network device schedules the resource for the terminal device to retransmit the message. Among them, the resources of the retransmission message include PRACH resources and PUSCH resources; the data carried in MsgA includes Preamble and payload; the content included in the MAC PDU of the payload varies according to the RRC state of the terminal device. When possible, C-RNTI MAC CE, It may also be a common control channel (Common Control Channel, CCCH) service data unit (Service Data Unit, SDU).

在一些实施例中,终端设备自主选择重传消息的资源时,终端设备基于同步信号块(Synchronization Signal Block,SSB)的参数信息,确定重传所述消息的随机接入机会(RACH Occasion,RO)资源和物理上行共享信道(Physical Uplink Shared Channel,PUSCH)资源。其中,RO资源用于重传Preamble,PUSCH资源用于重传payload。可选地,所述SSB的参数信息为SSB的参考信号接收功率(Reference Signal Receiving Power,RSRP)。终端设备重传消息时,需要选择的PUSCH资源的大小与所述消息中携带的数据的大小相等。In some embodiments, when the terminal device autonomously selects the resource for retransmitting the message, the terminal device determines the random access opportunity (RACH Occasion, RO) for retransmitting the message based on the parameter information of the synchronization signal block (Synchronization Signal Block, SSB). ) Resources and physical uplink shared channel (Physical Uplink Shared Channel, PUSCH) resources. Among them, the RO resource is used to retransmit the Preamble, and the PUSCH resource is used to retransmit the payload. Optionally, the parameter information of the SSB is reference signal receiving power (Reference Signal Receiving Power, RSRP) of the SSB. When the terminal device retransmits the message, the size of the PUSCH resource that needs to be selected is equal to the size of the data carried in the message.

在具体实施时,终端设备判断SSB的RSRP是否大于第一阈值,并选择一个SSB,所选择的SSB的RSRP大于第一阈值;其中,所述第一阈值为预先配置的RSRP-Threshold。之后,终端设备基于所选择的SSB确定RO资源和PUSCH资源。In specific implementation, the terminal device determines whether the RSRP of the SSB is greater than the first threshold, and selects an SSB, and the RSRP of the selected SSB is greater than the first threshold; wherein, the first threshold is a pre-configured RSRP-Threshold. After that, the terminal device determines RO resources and PUSCH resources based on the selected SSB.

可选地,终端设备基于所选择的SSB确定RO资源和PUSCH资源的一个可选实现过程为:网络设备配置SSB与RO资源的对应关系、以及SSB与PUSCH资源的对应关系;终端设备基于SSB与RO资源的对应关系,确定所选择的SSB对应的一个RO资源。SSB与PUSCH资源的对应关系可以是一个SSB对应多个PUSCH资源,也可以是多个SSB资源对应一个PUSCH资源。当终端设备基于SSB与PUSCH资源的对应关系确定所选择的SSB对应的一个PUSCH资源时,若PUSCH资源的大小与所述消息中携带的数据的大小相等,或者PUSCH资源提供的传输块大小(Transport Block Size,TBS) 与初传所述消息的PUSCH提供的TBS相等,则能够保证重传所述消息时数据不丢失。Optionally, an optional implementation process for the terminal device to determine the RO resource and the PUSCH resource based on the selected SSB is: the network device configures the corresponding relationship between the SSB and the RO resource, and the corresponding relationship between the SSB and the PUSCH resource; the terminal device is based on the SSB and The corresponding relationship of the RO resources determines an RO resource corresponding to the selected SSB. The correspondence between SSB and PUSCH resources may be that one SSB corresponds to multiple PUSCH resources, or multiple SSB resources correspond to one PUSCH resource. When the terminal device determines a PUSCH resource corresponding to the selected SSB based on the correspondence between the SSB and the PUSCH resource, if the size of the PUSCH resource is equal to the size of the data carried in the message, or the transport block size provided by the PUSCH resource (Transport) Block Size, TBS) is equal to the TBS provided by the PUSCH of the first transmission of the message, which can ensure that data is not lost when the message is retransmitted.

可选地,终端设备基于所选择的SSB确定RO资源和PUSCH资源的另一个实现过程为:网络设备配置SSB与RO资源的对应关系、以及RO资源与PUSCH资源的对应关系;终端设备基于SSB与RO资源的对应关系,确定所选择的SSB对应的一个RO资源;终端设备基于RO资源与PUSCH资源的对应关系,获取所确定的RO资源对应的PUSCH资源。若PUSCH资源的大小与所述消息中携带的数据的大小相等,或者PUSCH资源提供的TBS与初传所述消息的PUSCH提供的TBS相等,则能够保证重传所述消息时数据不丢失。Optionally, another implementation process for the terminal device to determine the RO resource and the PUSCH resource based on the selected SSB is: the network device configures the corresponding relationship between the SSB and the RO resource, and the corresponding relationship between the RO resource and the PUSCH resource; the terminal device is based on the SSB and The corresponding relationship of the RO resource determines an RO resource corresponding to the selected SSB; the terminal device obtains the PUSCH resource corresponding to the determined RO resource based on the corresponding relationship between the RO resource and the PUSCH resource. If the size of the PUSCH resource is equal to the size of the data carried in the message, or the TBS provided by the PUSCH resource is equal to the TBS provided by the PUSCH that initially transmits the message, it can be ensured that data is not lost when the message is retransmitted.

在另一些实施例中,终端设备重传消息的资源由网络设备调度;在具体实施时,终端设备接收网络设备调度的UL GRANT,所述UL GRANT用于重传所述消息。In other embodiments, the resource for the terminal device to retransmit the message is scheduled by the network device; in specific implementation, the terminal device receives the UL GRANT scheduled by the network device, and the UL GRANT is used to retransmit the message.

可选地,网络设备调度终端设备重传消息的资源的一个可选实现过程为:Optionally, an optional implementation process for the network device to schedule the resource of the terminal device to retransmit the message is:

所述终端设备接收网络设备发送的第一指示信息,所述第一指示信息用于指示所述终端设备发起第二类随机接入;基于所述第一指示信息向所述网络设备发送Preamble;接收所述网络设备发送的RAR,所述RAR中携带用于重传所述消息的UL GRANT。Receiving, by the terminal device, first instruction information sent by a network device, where the first instruction information is used to instruct the terminal device to initiate a second type of random access; sending a Preamble to the network device based on the first instruction information; Receive the RAR sent by the network device, where the RAR carries the UL GRANT used to retransmit the message.

可选地,网络设备调度终端设备重传消息的资源的另一个可选实现过程为:Optionally, another optional implementation process for the network device to schedule the resource for the terminal device to retransmit the message is:

所述终端设备接收网络设备发送的第二指示信息,所述第二指示信息指示UL GRANT,所述UL GRANT的大小大于或等于所述消息中携带的MAC PDU的大小,所述UL GRANT用于重传所述消息。此时,终端设备利用所述第二指示信息作为第二类随机接入中的Msg2,则网络设备可以调度一个大于或等于所述消息中携带的MAC PDU的大小的UL GRANT,以保证重传消息时不丢包。The terminal device receives the second indication information sent by the network device, the second indication information indicates UL GRANT, the size of the UL GRANT is greater than or equal to the size of the MAC PDU carried in the message, and the UL GRANT is used for Retransmit the message. At this time, the terminal device uses the second indication information as the Msg2 in the second type of random access, and the network device can schedule a UL GRANT greater than or equal to the size of the MAC PDU carried in the message to ensure retransmission No packet loss during message.

本发明可选实施例中,利用如图4所示的RAR指示所述第一指示信息或第二指示信息,利用R比特位(即reserved bit)来指示终端设备是否从第一类随机接入回退到第二类随机接入。如果R比特位指示终端设备回退到第二类随机接入,且终端设备重新传输Msg1时,终端设备忽略如图4所示的RAR中除所述第一指示信息以外的内容。如果R比特位指示终端设备回退到第二类随机接入,且利用指示的UL GRANT传输Msg3时,终端设备继续传输Msg3。In an optional embodiment of the present invention, the RAR shown in FIG. 4 is used to indicate the first indication information or the second indication information, and the R bit (that is, reserved bit) is used to indicate whether the terminal device is randomly accessed from the first type. Fall back to the second type of random access. If the R bit indicates that the terminal device falls back to the second type of random access, and the terminal device retransmits Msg1, the terminal device ignores the content in the RAR shown in FIG. 4 except for the first indication information. If the R bit indicates that the terminal device falls back to the second type of random access, and uses the indicated UL GRANT to transmit Msg3, the terminal device continues to transmit Msg3.

步骤S302,终端设备基于所述资源与所述消息中携带的数据的大小关系重传所述消息。Step S302: The terminal device retransmits the message based on the size relationship between the resource and the data carried in the message.

无论是由终端设备自主确定PUSCH资源,还是由网络设备调度UL GRANT,均可能不存在PUSCH资源的大小与重传的消息中携带的数据的大小相等的情况。Whether it is the terminal device autonomously determining the PUSCH resource or the network device scheduling the UL GRANT, there may not be a situation where the size of the PUSCH resource is equal to the size of the data carried in the retransmitted message.

在一些实施例中,无论是由终端设备自主确定PUSCH资源,还是由网络设备调度UL GRANT,针对PUSCH资源的大小大于重传的消息中携带的数据的大小的情况,重传消息的可选处理方案为:In some embodiments, whether the PUSCH resource is independently determined by the terminal device or the UL GRANT is scheduled by the network device, for the case where the size of the PUSCH resource is greater than the size of the data carried in the retransmitted message, optional processing of the retransmitted message The plan is:

所述终端设备指示MAC实体对所述MAC PDU中的全部内容进行重组包,得到目标MAC PDU;利用UL GRANT重传所述目标MAC PDU;所述UL GRANT由网络设备调度,或所述UL GRANT与所述终端设备确定的PUSCH资源对应。由于所述目标MAC PDU包括传输失败的MAC PDU中的全部内容;举例来说,MAC PDU中包括MAC SDU、和MAC CE时,所述MAC PDU的全部内容是MAC SDU、MAC CE和对应的subheader。这里,仅仅是对MAC PDU中的全部内容进行重组包,得到的目标MAC PDU中的内容与重组包前MAC PDU中的内容完全相同;如此,使得终端设备重传消息时,能够保证重传的数据不丢包。The terminal device instructs the MAC entity to reassemble all the contents in the MAC PDU to obtain the target MAC PDU; use UL GRANT to retransmit the target MAC PDU; the UL GRANT is scheduled by the network device, or the UL GRANT Corresponding to the PUSCH resource determined by the terminal device. Since the target MAC PDU includes all the contents of the MAC PDU that failed to be transmitted; for example, when the MAC PDU includes MAC SDU and MAC CE, all the contents of the MAC PDU are MAC SDU, MAC CE and corresponding subheader . Here, only the entire content in the MAC PDU is reassembled, and the content in the obtained target MAC PDU is exactly the same as the content in the MAC PDU before the reassembly packet; in this way, when the terminal device retransmits the message, the retransmission can be guaranteed Data is not lost.

在另一些实施例中,无论是由终端设备自主确定PUSCH资源,还是由网络设备调度UL GRANT,针对PUSCH资源的大小小于重传的消息中携带的数据的大小的情况,重传消息的可选处理方案为:In other embodiments, whether the PUSCH resource is determined autonomously by the terminal device or the UL GRANT is scheduled by the network device, for the case where the size of the PUSCH resource is smaller than the size of the data carried in the retransmitted message, the retransmission message is optional The solution is:

PUSCH资源的大小小于所述消息中携带的MAC PDU的大小、且大于所述MAC PDU包含的内容的大小时,所述终端设备指示MAC实体对所述MAC PDU包含的内容进行重组包,得到目标MAC PDU;所述MAC PDU包含的内容包括MAC SDU和MAC CE中的至少一项;利用UL GRANT重传所述目标MAC PDU。此时,所述目标MAC PDU中包括MAC SDU和MAC CE中的至少一项;但是,所述目标MAC PDU中不包括subheader。此时,终端设备直接缓存MAC SDU和/或MAC CE;将缓存的MAC SDU和/或MAC CE的大小作为确定PUSCH资源的参考因素,使得所选择的PUSCH资源的大小小于所述消息中携带的MAC PDU的大小、且大于所述MAC PDU包含的内容的大小。所述UL GRANT为所述PUSCH资源对应的UL GRANT,或者,所述UL GRANT由网络设备调度。When the size of the PUSCH resource is smaller than the size of the MAC PDU carried in the message and larger than the size of the content contained in the MAC PDU, the terminal device instructs the MAC entity to reassemble the content contained in the MAC PDU to obtain the target MAC PDU; the content of the MAC PDU includes at least one of the MAC SDU and the MAC CE; the target MAC PDU is retransmitted by using UL GRANT. At this time, the target MAC PDU includes at least one of a MAC SDU and a MAC CE; however, the target MAC PDU does not include a subheader. At this time, the terminal device directly buffers the MAC SDU and/or MAC CE; the size of the buffered MAC SDU and/or MAC CE is used as a reference factor for determining the PUSCH resource, so that the selected PUSCH resource size is smaller than that carried in the message The size of the MAC PDU is greater than the size of the content contained in the MAC PDU. The UL GRANT is the UL GRANT corresponding to the PUSCH resource, or the UL GRANT is scheduled by a network device.

在又一些实施例中,无论是由终端设备自主确定PUSCH资源,还是由网络设备调度UL GRANT,针对PUSCH资源的大小小于重传的消息中携带的数据的大小的情况,重传消息的可选处理方案为:In still other embodiments, whether the PUSCH resource is determined autonomously by the terminal device or the UL GRANT is scheduled by the network device, for the case where the size of the PUSCH resource is smaller than the size of the data carried in the retransmitted message, the retransmission message is optional The solution is:

所述终端设备去除所述MAC PDU的填充信息(padding),所确定的PUSCH资源的大小大于去除padding的MAC PDU的大小;所述终端设备指示MAC实体对去除padding的MAC PDU进行重组包,得到目标MAC PDU;利用所述PUSCH资源对应的 UL GRANT,重传所述目标MAC PDU。其中,去除padding的MAC PDU包括:MAC CE及对应的subheader、MAC SDU及对应的subheader、或者MAC CE、MAC SDU及MAC CE、MAC SDU分别对应的subheader。The terminal device removes the padding information (padding) of the MAC PDU, and the determined PUSCH resource size is greater than the size of the MAC PDU with the padding removed; the terminal device instructs the MAC entity to reassemble the MAC PDU with the padding removed to obtain Target MAC PDU; Utilize the UL GRANT corresponding to the PUSCH resource to retransmit the target MAC PDU. Among them, the MAC PDU with padding removed includes: MAC CE and corresponding subheader, MAC SDU and corresponding subheader, or MAC CE, MAC SDU and subheader corresponding to MAC CE and MAC SDU respectively.

还有一些实施例中,针对PUSCH资源的大小小于重传的消息中携带的数据的大小的情况,重传消息的可选处理方案为:In some other embodiments, for the case where the size of the PUSCH resource is smaller than the size of the data carried in the retransmitted message, the optional processing scheme for the retransmitted message is:

所述终端设备指示MAC实体对所述MAC PDU中的MAC SDU进行重组包,得到目标MAC PDU;利用UL GRANT重传所述目标MAC PDU;所述目标MAC PDU包括传输失败的MAC PDU中的所有MAC SDU。The terminal device instructs the MAC entity to reassemble the MAC SDU in the MAC PDU to obtain a target MAC PDU; use UL GRANT to retransmit the target MAC PDU; the target MAC PDU includes all the MAC PDUs that have failed transmission MAC SDU.

需要说明的是,当MAC PDU初次传输失败时,将所述MAC PDU缓存至第二类随机接入中Msg3对应的缓存(buffer),或者将MAC PDU缓存至一个新的buffer;可选地,所述新的buffer可以是第一类随机接入中MsgA对应的buffer;当终端设备需要重传MAC PDU时,再从buffer中获取MAC PDU。It should be noted that when the MAC PDU transmission fails for the first time, the MAC PDU is buffered in the buffer corresponding to Msg3 in the second type of random access, or the MAC PDU is buffered in a new buffer; optionally, The new buffer may be the buffer corresponding to the MsgA in the first type of random access; when the terminal device needs to retransmit the MAC PDU, the MAC PDU is obtained from the buffer.

本发明实施例中,终端设备通过将从buffer获得的MAC PDU或者对MAC PDU进行重组包后得到的目标MAC PDU、以及PUSCH资源指示给HARQ进行,实现消息的重传。In the embodiment of the present invention, the terminal device uses the MAC PDU obtained from the buffer or the target MAC PDU obtained after repacking the MAC PDU and the PUSCH resource indication to the HARQ to realize the retransmission of the message.

综上对本发明实施例所述的消息重传方法的说明,以重传的消息为第一类随机接入中的MsgA为例,本发明实施例消息重传方法中选择PUSCH资源和RO资源的可选处理流程示意图,如图9所示,包括以下步骤:To sum up the description of the message retransmission method described in the embodiment of the present invention, taking the retransmitted message as MsgA in the first type of random access as an example, the PUSCH resource and the RO resource are selected in the message retransmission method in the embodiment of the present invention. An optional processing flow diagram, as shown in Figure 9, includes the following steps:

步骤S401,终端设备选择SSB。Step S401, the terminal device selects SSB.

步骤S402,终端设备判断是否存在RSRP大于第一阈值的SSB;在判断结果为是时,执行步骤S403;在判断结果为否时,执行步骤S404’。In step S402, the terminal device judges whether there is an SSB whose RSRP is greater than the first threshold; if the judgment result is yes, execute step S403; if the judgment result is no, execute step S404'.

步骤S403,终端设备选择一个RSRP大于第一阈值的SSB,基于SSB选择PUSCH资源。Step S403: The terminal device selects an SSB whose RSRP is greater than a first threshold, and selects PUSCH resources based on the SSB.

步骤S404,终端设备判断所选择的PUSCH资源的大小是否等于MsgA中MAC PDU的大小;在判断结果为是时,执行步骤S405;在判断结果为否时,返回步骤S402。Step S404: The terminal device judges whether the size of the selected PUSCH resource is equal to the size of the MAC PDU in the MsgA; if the judgment result is yes, execute step S405; if the judgment result is no, return to step S402.

步骤S404’,终端设备继续选择SSB,使得基于SSB选择的PUSCH资源的大小等于MsgA中MAC PDU的大小;之后,再执行步骤S405。Step S404', the terminal device continues to select the SSB, so that the size of the PUSCH resource selected based on the SSB is equal to the size of the MAC PDU in the MsgA; after that, step S405 is performed.

步骤S405,终端设备从SSB对应的RO资源中随机选择一个RO资源。Step S405: The terminal device randomly selects an RO resource from the RO resources corresponding to the SSB.

为实现上述消息重传的方法,本发明实施例还提供一种终端设备,所述终端设备500的组成结构,如图10所示,包括:In order to implement the foregoing message retransmission method, an embodiment of the present invention further provides a terminal device. The composition structure of the terminal device 500, as shown in FIG. 10, includes:

处理单元501,配置为获取重传消息的资源;The processing unit 501 is configured to obtain resources for retransmission of messages;

第一收发单元502,配置为基于所述资源与所述消息中携带的数据的大小关系重传所述消息。The first transceiver unit 502 is configured to retransmit the message based on the size relationship between the resource and the data carried in the message.

本发明实施例中,所述处理单元501,配置为基于SSB的参数信息,确定重传所述消息的RO资源和资源。In the embodiment of the present invention, the processing unit 501 is configured to determine the RO resource and the resource for retransmitting the message based on the parameter information of the SSB.

本发明实施例中,所述处理单元501,配置为选择RSRP大于第一阈值的SSB;基于所述SSB确定RO资源和PUSCH资源。In the embodiment of the present invention, the processing unit 501 is configured to select an SSB whose RSRP is greater than a first threshold; and determine the RO resource and the PUSCH resource based on the SSB.

在具体实施时,所述处理单元501,配置为基于SSB与RO资源的对应关系确定RO资源;基于SSB与PUSCH资源的对应关系确定PUSCH资源。或者,所述处理单元401,配置为基于SSB与RO资源的对应关系确定RO资源;基于RO资源与PUSCH资源的对应关系确定PUSCH资源。In specific implementation, the processing unit 501 is configured to determine the RO resource based on the correspondence between the SSB and the RO resource; and determine the PUSCH resource based on the correspondence between the SSB and the PUSCH resource. Alternatively, the processing unit 401 is configured to determine the RO resource based on the correspondence between the SSB and the RO resource; and determine the PUSCH resource based on the correspondence between the RO resource and the PUSCH resource.

本发明实施例中,所述处理单元501,配置为接收网络设备调度的UL GRANT,所述UL GRANT用于重传所述消息。In the embodiment of the present invention, the processing unit 501 is configured to receive a UL GRANT scheduled by a network device, and the UL GRANT is used to retransmit the message.

在具体实施时,所述处理单元501,配置为接收网络设备发送的第一指示信息,所述第一指示信息用于指示所述终端设备发起第二类随机接入;基于所述第一指示信息向所述网络设备发送Preamble;接收所述网络设备发送的RAR,所述RAR中携带用于重传所述消息的UL GRANT。In a specific implementation, the processing unit 501 is configured to receive first instruction information sent by a network device, where the first instruction information is used to instruct the terminal device to initiate a second type of random access; based on the first instruction The information sends the Preamble to the network device; receives the RAR sent by the network device, and the RAR carries the UL GRANT used to retransmit the message.

或者,所述处理单元,配置为接收网络设备发送的第二指示信息,所述第二指示信息指示UL GRANT,所述UL GRANT的大小大于或等于所述消息中携带的媒体接入控制协议数据单元Alternatively, the processing unit is configured to receive second indication information sent by a network device, the second indication information indicating UL GRANT, and the size of the UL GRANT is greater than or equal to the media access control protocol data carried in the message unit

MAC PDU的大小。MAC PDU size.

在一些实施例中,所述PUSCH资源的大小等于所述消息中携带的MAC PDU的大小时,所述第一收发单元502,配置为从缓存中获取所述MAC PDU;利用UL GRANT重传所述MAC PDU;所述UL GRANT由网络设备调度,或所述UL GRANT与所述终端设备确定的PUSCH资源对应。In some embodiments, when the size of the PUSCH resource is equal to the size of the MAC PDU carried in the message, the first transceiver unit 502 is configured to obtain the MAC PDU from the buffer; The MAC PDU; the UL GRANT is scheduled by a network device, or the UL GRANT corresponds to the PUSCH resource determined by the terminal device.

在另一些实施例中,所述PUSCH资源的大小大于所述消息中携带的MAC PDU的大小时,所述第一收发单元502,配置为指示MAC实体对所述MAC PDU中的全部内容进行重组包,得到目标MAC PDU;利用UL GRANT重传所述目标MAC PDU;所述UL GRANT由网络设备调度,或所述UL GRANT与所述终端设备确定的PUSCH资源对应。In other embodiments, when the size of the PUSCH resource is greater than the size of the MAC PDU carried in the message, the first transceiving unit 502 is configured to instruct the MAC entity to reorganize all content in the MAC PDU Packet to obtain the target MAC PDU; use the UL GRANT to retransmit the target MAC PDU; the UL GRANT is scheduled by the network device, or the UL GRANT corresponds to the PUSCH resource determined by the terminal device.

在又一些实施例中,所述PUSCH资源的大小小于所述消息中携带的MAC PDU的大小时,所述第一收发单元502,配置为去除所述MAC PDU的填充信息padding,所述PUSCH资源的大小大于去除padding的MAC PDU的大小;指示MAC实体对去除padding的MAC PDU进行重组包,得到目标MAC PDU;利用所述PUSCH资源对应的UL GRANT,重传所述目标MAC PDU。In still other embodiments, when the size of the PUSCH resource is smaller than the size of the MAC PDU carried in the message, the first transceiver unit 502 is configured to remove the padding information padding of the MAC PDU, and the PUSCH resource The size of is greater than the size of the MAC PDU with padding removed; instructs the MAC entity to reassemble the MAC PDU with padding removed to obtain the target MAC PDU; use the UL GRANT corresponding to the PUSCH resource to retransmit the target MAC PDU.

还有一些实施例中,所述PUSCH资源的大小小于所述消息中携带的MAC PDU的大小、且大于所述MAC PDU包含的内容的大小时,所述第一收发单元502,配置为指示MAC实体对所述MAC PDU包含的内容进行重组包,得到目标MAC PDU;所述MAC PDU包含的内容包括MAC SDU和MAC CE中的至少一项;利用所述PUSCH资源对应的UL GRANT,重传所述目标MAC PDU。In some other embodiments, when the size of the PUSCH resource is smaller than the size of the MAC PDU carried in the message and larger than the size of the content contained in the MAC PDU, the first transceiver unit 502 is configured to indicate MAC The entity reassembles the content contained in the MAC PDU to obtain the target MAC PDU; the content contained in the MAC PDU includes at least one of the MAC SDU and the MAC CE; the UL GRANT corresponding to the PUSCH resource is used to retransmit the Said target MAC PDU.

再一些实施例中,所述UL GRANT的大小小于所述消息中携带的MAC PDU的大小时,所述第一收发单元502,配置为指示MAC实体对所述MAC PDU中的MAC SDU进行重组包,得到目标MAC PDU;利用UL GRANT重传所述目标MAC PDU。In still other embodiments, when the size of the UL GRANT is smaller than the size of the MAC PDU carried in the message, the first transceiver unit 502 is configured to instruct the MAC entity to reassemble the MAC SDU in the MAC PDU , Obtain the target MAC PDU; use UL GRANT to retransmit the target MAC PDU.

本发明实施例中,所述消息为第一类随机接入中的消息MsgA。In the embodiment of the present invention, the message is the message MsgA in the first type of random access.

为实现上述消息重传的方法,本发明实施例还提供一种网络设备,所述网络设备600的组成结构,如图11所示,包括:In order to implement the foregoing message retransmission method, an embodiment of the present invention also provides a network device. The composition structure of the network device 600, as shown in FIG. 11, includes:

第二收发单元601,配置为向终端设备发送指示信息;所述指示信息用于指示UL GRANT,所述UL GRANT用于所述终端设备重传消息,所述UL GRANT的大小大于或等于所述消息中携带的MAC PDU的大小;或者,所述指示信息用于指示所述终端设备发起第二类随机接入,所述第二类随机接入用于重传所述消息。The second transceiver unit 601 is configured to send indication information to the terminal device; the indication information is used to indicate UL GRANT, the UL GRANT is used for the terminal device to retransmit a message, and the size of the UL GRANT is greater than or equal to the The size of the MAC PDU carried in the message; or, the indication information is used to instruct the terminal device to initiate the second type of random access, and the second type of random access is used to retransmit the message.

本发明实施例还提供一种终端设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述终端设备执行的消息重传方法的步骤。An embodiment of the present invention also provides a terminal device, including a processor and a memory for storing a computer program that can run on the processor, where the processor is used to execute the above-mentioned terminal device when the computer program is running. The steps of the message retransmission method.

本发明实施例还提供一种网络设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述网络设备执行的消息重传方法的步骤。An embodiment of the present invention also provides a network device, including a processor and a memory for storing a computer program that can run on the processor, where the processor is used to execute the above-mentioned network device when the computer program is running. The steps of the message retransmission method.

图12是本发明实施例的电子设备(终端设备和网络设备)的硬件组成结构示意图,电子设备700包括:至少一个处理器701、存储器702和至少一个网络接口704。终端设备700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制 总线和状态信号总线。但是为了清楚说明起见,在图12中将各种总线都标为总线系统705。12 is a schematic diagram of the hardware composition structure of an electronic device (terminal device and network device) according to an embodiment of the present invention. The electronic device 700 includes: at least one processor 701, a memory 702, and at least one network interface 704. The various components in the terminal device 700 are coupled together through the bus system 705. It can be understood that the bus system 705 is used to implement connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are marked as the bus system 705 in FIG. 12.

可以理解,存储器702可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是ROM、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。It is understood that the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Among them, the non-volatile memory may be ROM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and electrically erasable Programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface memory, optical disk, or CD-ROM -ROM, Compact Disc Read-Only Memory); Magnetic surface memory can be disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), and dynamic random access Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced -Type synchronous dynamic random access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronous connection dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, Direct Rambus Random Access Memory) ). The memory 702 described in the embodiment of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

本发明实施例中的存储器702用于存储各种类型的数据以支持终端设备700的操作。这些数据的示例包括:用于在电子设备700上操作的任何计算机程序,如应用程序7022。实现本发明实施例方法的程序可以包含在应用程序7022中。The memory 702 in the embodiment of the present invention is used to store various types of data to support the operation of the terminal device 700. Examples of these data include: any computer program used to operate on the electronic device 700, such as the application program 7022. The program for implementing the method of the embodiment of the present invention may be included in the application program 7022.

上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器701可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是 微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the foregoing embodiment of the present invention may be applied to the processor 701 or implemented by the processor 701. The processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the foregoing method can be completed by hardware integrated logic circuits in the processor 701 or instructions in the form of software. The aforementioned processor 701 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 701 may implement or execute various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 702. The processor 701 reads the information in the memory 702 and completes the steps of the foregoing method in combination with its hardware.

在示例性实施例中,电子设备700可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、FPGA、通用处理器、控制器、MCU、MPU、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the electronic device 700 may be used by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), and complex programmable logic device (CPLD). , Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, MPU, or other electronic components to implement the foregoing method.

本申请实施例还提供了一种存储介质,用于存储计算机程序。The embodiment of the present application also provides a storage medium for storing computer programs.

可选的,该存储介质可应用于本申请实施例中的终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中的相应流程,为了简洁,在此不再赘述。Optionally, the storage medium can be applied to the terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process in each method of the embodiment of the present application. For brevity, details are not repeated here.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above are only the preferred embodiments of the present invention and are not used to limit the scope of protection of the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall be included in Within the protection scope of the present invention.

Claims (34)

一种消息重传方法,所述方法包括:A message retransmission method, the method includes: 终端设备获取重传消息的资源;The terminal device obtains the resource for retransmission of the message; 基于所述资源与所述消息中携带的数据的大小关系重传所述消息。Retransmit the message based on the size relationship between the resource and the data carried in the message. 根据权利要求1所述的方法,其中,所述终端设备获取重传消息的资源,包括:The method according to claim 1, wherein the terminal device acquiring resources for retransmission of the message comprises: 所述终端设备基于同步信号块SSB的参数信息,确定重传所述消息的随机接入机会RO资源和物理上行共享信道PUSCH资源。The terminal device determines the random access opportunity RO resource and the physical uplink shared channel PUSCH resource for retransmitting the message based on the parameter information of the synchronization signal block SSB. 根据权利要求1或2所述的方法,其中,所述终端设备获取重传消息的资源,包括:The method according to claim 1 or 2, wherein the terminal device acquiring the resource of the retransmission message comprises: 所述终端设备选择参考信号接收功率RSRP大于第一阈值的SSB;The terminal device selects an SSB whose reference signal received power RSRP is greater than a first threshold; 基于所述SSB确定RO资源和PUSCH资源。The RO resource and PUSCH resource are determined based on the SSB. 根据权利要求3所述的方法,其中,所述终端设备基于所述SSB确定RO资源和PUSCH资源,包括:The method according to claim 3, wherein the terminal device determining the RO resource and the PUSCH resource based on the SSB comprises: 所述终端设备基于SSB与RO资源的对应关系确定RO资源;The terminal device determines the RO resource based on the corresponding relationship between the SSB and the RO resource; 基于SSB与PUSCH资源的对应关系确定PUSCH资源。The PUSCH resource is determined based on the correspondence between the SSB and the PUSCH resource. 根据权利要求3所述的方法,其中,所述终端设备基于所述SSB确定RO资源和PUSCH资源,包括:The method according to claim 3, wherein the terminal device determining the RO resource and the PUSCH resource based on the SSB comprises: 所述终端设备基于SSB与RO资源的对应关系确定RO资源;The terminal device determines the RO resource based on the corresponding relationship between the SSB and the RO resource; 基于RO资源与PUSCH资源的对应关系确定PUSCH资源。The PUSCH resource is determined based on the correspondence between the RO resource and the PUSCH resource. 根据权利要求1所述的方法,其中,所述终端设备获取重传消息的资源,包括:The method according to claim 1, wherein the terminal device acquiring resources for retransmission of the message comprises: 所述终端设备接收网络设备调度的上行授权UL GRANT,所述UL GRANT用于重传所述消息。The terminal device receives the uplink grant UL GRANT scheduled by the network device, and the UL GRANT is used to retransmit the message. 根据权利要求1或6所述的方法,其中,所述终端设备获取重传消息的资源,包括:The method according to claim 1 or 6, wherein the terminal device acquiring the resource of the retransmission message comprises: 所述终端设备接收网络设备发送的第一指示信息,所述第一指示信息用于指示所述终端设备发起第二类随机接入;Receiving, by the terminal device, first instruction information sent by a network device, where the first instruction information is used to instruct the terminal device to initiate a second type of random access; 基于所述第一指示信息向所述网络设备发送前导码Preamble;Sending a preamble to the network device based on the first indication information; 接收所述网络设备发送的随机接入响应RAR,所述RAR中携带用于重传所述消息的UL GRANT。Receiving a random access response RAR sent by the network device, where the RAR carries a UL GRANT used to retransmit the message. 根据权利要求1或6所述的方法,其中,所述终端设备获取重传消息的资源,包括:The method according to claim 1 or 6, wherein the terminal device acquiring the resource of the retransmission message comprises: 所述终端设备接收网络设备发送的第二指示信息,所述第二指示信息指示UL GRANT,所述UL GRANT的大小大于或等于所述消息中携带的媒体接入控制协议数据单元MAC PDU的大小。The terminal device receives second indication information sent by the network device, where the second indication information indicates UL GRANT, and the size of the UL GRANT is greater than or equal to the size of the media access control protocol data unit MAC PDU carried in the message . 根据权利要求2至8任一项所述的方法,其中,所述终端设备基于所述资源与所述消息中携带的数据的大小关系重传所述消息,包括:The method according to any one of claims 2 to 8, wherein the terminal device retransmits the message based on the size relationship between the resource and the data carried in the message, comprising: 所述PUSCH资源的大小等于所述消息中携带的MAC PDU的大小时,所述终端设备从缓存中获取所述MAC PDU;When the size of the PUSCH resource is equal to the size of the MAC PDU carried in the message, the terminal device obtains the MAC PDU from a buffer; 利用UL GRANT重传所述MAC PDU;所述UL GRANT由网络设备调度,或所述UL GRANT与所述终端设备确定的PUSCH资源对应。The MAC PDU is retransmitted by using the UL GRANT; the UL GRANT is scheduled by the network device, or the UL GRANT corresponds to the PUSCH resource determined by the terminal device. 根据权利要求2至8任一项所述的方法,其中,所述终端设备基于所述资源与所述消息中携带的数据的大小关系重传所述消息,包括:The method according to any one of claims 2 to 8, wherein the terminal device retransmits the message based on the size relationship between the resource and the data carried in the message, comprising: 所述PUSCH资源的大小大于所述消息中携带的MAC PDU的大小时,所述终端设备指示MAC实体对所述MAC PDU中的全部内容进行重组包,得到目标MAC PDU;When the size of the PUSCH resource is greater than the size of the MAC PDU carried in the message, the terminal device instructs the MAC entity to reassemble all the contents in the MAC PDU to obtain a target MAC PDU; 利用UL GRANT重传所述目标MAC PDU;所述UL GRANT由网络设备调度,或所述UL GRANT与所述终端设备确定的PUSCH资源对应。The UL GRANT is used to retransmit the target MAC PDU; the UL GRANT is scheduled by the network device, or the UL GRANT corresponds to the PUSCH resource determined by the terminal device. 根据权利要求2至8任一项所述的方法,其中,所述终端设备基于所述资源与所述消息中携带的数据的大小关系重传所述消息,包括:The method according to any one of claims 2 to 8, wherein the terminal device retransmits the message based on the size relationship between the resource and the data carried in the message, comprising: 所述PUSCH资源的大小小于所述消息中携带的MAC PDU的大小时,所述终端设备去除所述MAC PDU的填充信息padding,且所述PUSCH资源的大小大于去除padding的MAC PDU的大小;When the size of the PUSCH resource is smaller than the size of the MAC PDU carried in the message, the terminal device removes the padding information of the MAC PDU, and the size of the PUSCH resource is larger than the size of the MAC PDU without padding; 指示MAC实体对去除padding的MAC PDU进行重组包,得到目标MAC PDU;Instruct the MAC entity to reassemble the MAC PDU without padding to obtain the target MAC PDU; 利用所述PUSCH资源对应的UL GRANT,重传所述目标MAC PDU。Using the UL GRANT corresponding to the PUSCH resource, retransmit the target MAC PDU. 根据权利要求2至8任一项所述的方法,其中,所述终端设备基于所述资源与所述消息中携带的数据的大小关系重传所述消息,包括:The method according to any one of claims 2 to 8, wherein the terminal device retransmits the message based on the size relationship between the resource and the data carried in the message, comprising: 所述PUSCH资源的大小小于所述消息中携带的MAC PDU的大小、且大于所述MAC PDU包含的内容的大小时,所述终端设备指示MAC实体对所述MAC PDU包含的内容进行重组包,得到目标MAC PDU;所述MAC PDU包含的内容包括MAC SDU和MAC CE中的至少一项;When the size of the PUSCH resource is smaller than the size of the MAC PDU carried in the message and larger than the size of the content contained in the MAC PDU, the terminal device instructs the MAC entity to reassemble the content contained in the MAC PDU, Obtain a target MAC PDU; the content of the MAC PDU includes at least one of MAC SDU and MAC CE; 利用所述PUSCH资源对应的UL GRANT,重传所述目标MAC PDU。Using the UL GRANT corresponding to the PUSCH resource, retransmit the target MAC PDU. 根据权利要求2至8任一项所述的方法,其中,所述终端设备基于所述资源与所述消息中携带的数据的大小关系重传所述消息,包括:The method according to any one of claims 2 to 8, wherein the terminal device retransmits the message based on the size relationship between the resource and the data carried in the message, comprising: 所述UL GRANT的大小小于所述消息中携带的MAC PDU的大小时,所述终端设备指示MAC实体对所述MAC PDU中的MAC服务数据单元SDU进行重组包,得到目标MAC PDU;When the size of the UL GRANT is smaller than the size of the MAC PDU carried in the message, the terminal device instructs the MAC entity to reassemble the MAC service data unit SDU in the MAC PDU to obtain a target MAC PDU; 利用UL GRANT重传所述目标MAC PDU。Utilize UL GRANT to retransmit the target MAC PDU. 根据权利要求1至13任一项所述的方法,其中,所述消息为第一类随机接入中的消息MsgA。The method according to any one of claims 1 to 13, wherein the message is the message MsgA in the first type of random access. 一种消息重传方法,所述方法包括:A message retransmission method, the method includes: 网络设备向终端设备发送指示信息;The network device sends instruction information to the terminal device; 所述指示信息用于指示上行授权UL GRANT,所述UL GRANT用于所述终端设备重传消息,所述UL GRANT的大小大于或等于所述消息中携带的媒体接入控制协议数据单元MAC PDU的大小;或者,所述指示信息用于指示所述终端设备发起第二类随机接入,所述第二类随机接入用于重传所述消息。The indication information is used to indicate an uplink authorization UL GRANT, the UL GRANT is used for the terminal device to retransmit the message, and the size of the UL GRANT is greater than or equal to the MAC PDU of the media access control protocol data unit carried in the message Or, the indication information is used to instruct the terminal device to initiate a second type of random access, and the second type of random access is used to retransmit the message. 一种终端设备,所述终端设备包括:A terminal device, the terminal device includes: 处理单元,配置为获取重传消息的资源;The processing unit is configured to obtain resources for retransmission of messages; 第一收发单元,配置为基于所述资源与所述消息中携带的数据的大小关系重传所述消息。The first transceiver unit is configured to retransmit the message based on the size relationship between the resource and the data carried in the message. 根据权利要求16所述的终端设备,其中,所述处理单元,配置为基于同步信号块SSB的参数信息,确定重传所述消息的随机接入机会RO资源和物理上行共享信道PUSCH资源。The terminal device according to claim 16, wherein the processing unit is configured to determine a random access opportunity RO resource and a physical uplink shared channel PUSCH resource for retransmitting the message based on the parameter information of the synchronization signal block SSB. 根据权利要求16或17所述的终端设备,其中,所述处理单元,配置为选择参考信号接收功率RSRP大于第一阈值的SSB;The terminal device according to claim 16 or 17, wherein the processing unit is configured to select an SSB with a reference signal received power RSRP greater than a first threshold; 基于所述SSB确定RO资源和PUSCH资源。The RO resource and PUSCH resource are determined based on the SSB. 根据权利要求18所述的终端设备,其中,所述处理单元,配置为基于SSB与RO资源的对应关系确定RO资源;The terminal device according to claim 18, wherein the processing unit is configured to determine the RO resource based on the corresponding relationship between the SSB and the RO resource; 基于SSB与PUSCH资源的对应关系确定PUSCH资源。The PUSCH resource is determined based on the correspondence between the SSB and the PUSCH resource. 根据权利要求18所述的终端设备,其中,所述处理单元,配置为基于SSB与RO资源的对应关系确定RO资源;The terminal device according to claim 18, wherein the processing unit is configured to determine the RO resource based on the corresponding relationship between the SSB and the RO resource; 基于RO资源与PUSCH资源的对应关系确定PUSCH资源。The PUSCH resource is determined based on the correspondence between the RO resource and the PUSCH resource. 根据权利要求16所述的终端设备,其中,所述处理单元,配置为接收网络设备调度的上行授权UL GRANT,所述UL GRANT用于重传所述消息。The terminal device according to claim 16, wherein the processing unit is configured to receive an uplink grant UL GRANT scheduled by the network device, and the UL GRANT is used to retransmit the message. 根据权利要求16或21所述的终端设备,其中,所述处理单元,配置为接收网络设备发送的第一指示信息,所述第一指示信息用于指示所述终端设备发起第二类随机接入;The terminal device according to claim 16 or 21, wherein the processing unit is configured to receive first instruction information sent by the network device, and the first instruction information is used to instruct the terminal device to initiate a second type of random access Into 基于所述第一指示信息向所述网络设备发送前导码Preamble;Sending a preamble to the network device based on the first indication information; 接收所述网络设备发送的随机接入响应RAR,所述RAR中携带用于重传所述消息的UL GRANT。Receiving a random access response RAR sent by the network device, where the RAR carries a UL GRANT used to retransmit the message. 根据权利要求16或21所述的终端设备,其中,所述处理单元,配置为接收网络设备发送的第二指示信息,所述第二指示信息指示UL GRANT,所述UL GRANT的大小大于或等于所述消息中携带的媒体接入控制协议数据单元MAC PDU的大小。The terminal device according to claim 16 or 21, wherein the processing unit is configured to receive second indication information sent by the network device, the second indication information indicating UL GRANT, and the size of the UL GRANT is greater than or equal to The size of the MAC PDU of the media access control protocol data unit carried in the message. 根据权利要求17至23任一项所述的终端设备,其中,所述PUSCH资源的大小等于所述消息中携带的MAC PDU的大小时,所述第一收发单元,配置为从缓存中获取所述MAC PDU;The terminal device according to any one of claims 17 to 23, wherein, when the size of the PUSCH resource is equal to the size of the MAC PDU carried in the message, the first transceiving unit is configured to obtain the data from the buffer. Said MAC PDU; 利用UL GRANT重传所述MAC PDU;所述UL GRANT由网络设备调度,或所述UL GRANT与所述终端设备确定的PUSCH资源对应。The MAC PDU is retransmitted by using the UL GRANT; the UL GRANT is scheduled by the network device, or the UL GRANT corresponds to the PUSCH resource determined by the terminal device. 根据权利要求17至23任一项所述的终端设备,其中,所述PUSCH资源的大小大于所述消息中携带的MAC PDU的大小时,所述第一收发单元,配置为指示MAC实体对所述MAC PDU中的全部内容进行重组包,得到目标MAC PDU;The terminal device according to any one of claims 17 to 23, wherein when the size of the PUSCH resource is greater than the size of the MAC PDU carried in the message, the first transceiver unit is configured to instruct the MAC entity to All the contents in the MAC PDU are reassembled to obtain the target MAC PDU; 利用UL GRANT重传所述目标MAC PDU;所述UL GRANT由网络设备调度,或所述UL GRANT与所述终端设备确定的PUSCH资源对应。The UL GRANT is used to retransmit the target MAC PDU; the UL GRANT is scheduled by the network device, or the UL GRANT corresponds to the PUSCH resource determined by the terminal device. 根据权利要求17至23任一项所述的终端设备,其中,所述PUSCH资源的大小小于所述消息中携带的MAC PDU的大小时,所述第一收发单元,配置为去除所述MAC PDU的填充信息padding,所述PUSCH资源的大小大于去除padding的MAC PDU的大小;The terminal device according to any one of claims 17 to 23, wherein when the size of the PUSCH resource is smaller than the size of the MAC PDU carried in the message, the first transceiving unit is configured to remove the MAC PDU Padding information, the size of the PUSCH resource is greater than the size of the MAC PDU without padding; 指示MAC实体对去除padding的MAC PDU进行重组包,得到目标MAC PDU;Instruct the MAC entity to reassemble the MAC PDU without padding to obtain the target MAC PDU; 利用所述PUSCH资源对应的UL GRANT,重传所述目标MAC PDU。Using the UL GRANT corresponding to the PUSCH resource, retransmit the target MAC PDU. 根据权利要求17至20任一项所述的终端设备,其中,所述PUSCH资源的大小小于所述消息中携带的MAC PDU的大小、且大于所述MAC PDU包含的内容的大小 时,所述第一收发单元,配置为指示MAC实体对所述MAC PDU包含的内容进行重组包,得到目标MAC PDU;所述MAC PDU包含的内容包括MAC SDU和MAC CE中的至少一项;The terminal device according to any one of claims 17 to 20, wherein when the size of the PUSCH resource is smaller than the size of the MAC PDU carried in the message and larger than the size of the content contained in the MAC PDU, the The first transceiver unit is configured to instruct the MAC entity to reassemble the content contained in the MAC PDU to obtain a target MAC PDU; the content contained in the MAC PDU includes at least one of MAC SDU and MAC CE; 利用所述PUSCH资源对应的UL GRANT,重传所述目标MAC PDU。Using the UL GRANT corresponding to the PUSCH resource, retransmit the target MAC PDU. 根据权利要求17至23任一项所述的终端设备,其中,所述UL GRANT的大小小于所述消息中携带的MAC PDU的大小时,所述第一收发单元,配置为指示MAC实体对所述MAC PDU中的MAC服务数据单元SDU进行重组包,得到目标MAC PDU;The terminal device according to any one of claims 17 to 23, wherein when the size of the UL GRANT is smaller than the size of the MAC PDU carried in the message, the first transceiver unit is configured to instruct the MAC entity to The MAC service data unit SDU in the MAC PDU is reassembled to obtain the target MAC PDU; 利用UL GRANT重传所述目标MAC PDU。Utilize UL GRANT to retransmit the target MAC PDU. 根据权利要求16至28任一项所述的终端设备,其中,所述消息为第一类随机接入中的消息MsgA。The terminal device according to any one of claims 16 to 28, wherein the message is a message MsgA in the first type of random access. 一种网络设备,所述网络设备包括:A network device, the network device includes: 第二收发单元,配置为向终端设备发送指示信息;The second transceiver unit is configured to send instruction information to the terminal device; 所述指示信息用于指示上行授权UL GRANT,所述UL GRANT用于所述终端设备重传消息,所述UL GRANT的大小大于或等于所述消息中携带的媒体接入控制协议数据单元MAC PDU的大小;或者,所述指示信息用于指示所述终端设备发起第二类随机接入,所述第二类随机接入用于重传所述消息。The indication information is used to indicate an uplink authorization UL GRANT, the UL GRANT is used for the terminal device to retransmit the message, and the size of the UL GRANT is greater than or equal to the MAC PDU of the media access control protocol data unit carried in the message Or, the indication information is used to instruct the terminal device to initiate a second type of random access, and the second type of random access is used to retransmit the message. 一种终端设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,A terminal device includes a processor and a memory for storing a computer program that can run on the processor, wherein: 所述处理器用于运行所述计算机程序时,执行权利要求1至14任一项所述的消息重传方法的步骤。When the processor is used to run the computer program, it executes the steps of the message retransmission method according to any one of claims 1 to 14. 一种网络设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,A network device including a processor and a memory for storing a computer program that can run on the processor, wherein: 所述处理器用于运行所述计算机程序时,执行权利要求15所述的消息重传方法的步骤。When the processor is used to run the computer program, it executes the steps of the message retransmission method according to claim 15. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求1至14任一项所述的消息重传方法。A storage medium storing an executable program, and when the executable program is executed by a processor, the message retransmission method according to any one of claims 1 to 14 is realized. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求15所述的消息重传方法。A storage medium storing an executable program, and when the executable program is executed by a processor, the message retransmission method according to claim 15 is implemented.
PCT/CN2019/079758 2019-03-26 2019-03-26 Message re-transmission method, device and storage medium Ceased WO2020191635A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/079758 WO2020191635A1 (en) 2019-03-26 2019-03-26 Message re-transmission method, device and storage medium
CN201980073878.9A CN112970319B (en) 2019-03-26 2019-03-26 Message retransmission method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/079758 WO2020191635A1 (en) 2019-03-26 2019-03-26 Message re-transmission method, device and storage medium

Publications (1)

Publication Number Publication Date
WO2020191635A1 true WO2020191635A1 (en) 2020-10-01

Family

ID=72610858

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/079758 Ceased WO2020191635A1 (en) 2019-03-26 2019-03-26 Message re-transmission method, device and storage medium

Country Status (2)

Country Link
CN (1) CN112970319B (en)
WO (1) WO2020191635A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114731698A (en) * 2022-02-28 2022-07-08 北京小米移动软件有限公司 Uplink transmission method and device, and storage medium
CN114826513A (en) * 2021-01-19 2022-07-29 大唐移动通信设备有限公司 Terminal identification method and equipment
CN115968035A (en) * 2021-10-09 2023-04-14 维沃软件技术有限公司 PRACH repeated transmission method, terminal and network side equipment
CN116438912A (en) * 2023-02-16 2023-07-14 北京小米移动软件有限公司 A method and device for multi-physical random access channel PRACH transmission

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023272675A1 (en) * 2021-07-01 2023-01-05 Qualcomm Incorporated Response to ue requesting msg3 pusch repetitions
CN116471702A (en) * 2022-01-11 2023-07-21 维沃移动通信有限公司 Information transmission method, device, terminal and network side equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193421A (en) * 2006-11-23 2008-06-04 华为技术有限公司 Random access control method, system and device in cell forward access channel state
WO2018143762A1 (en) * 2017-02-06 2018-08-09 Samsung Electronics Co., Ltd. Apparatus and method for performing a random access

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297207B (en) * 2012-03-02 2016-12-14 上海贝尔股份有限公司 The method carrying out accidental access response message mixing automatic repeat request
CN106301444B (en) * 2015-05-29 2019-04-12 华为技术有限公司 Apparatus for radio frequency processing and processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193421A (en) * 2006-11-23 2008-06-04 华为技术有限公司 Random access control method, system and device in cell forward access channel state
WO2018143762A1 (en) * 2017-02-06 2018-08-09 Samsung Electronics Co., Ltd. Apparatus and method for performing a random access

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ERISCSSON: "Report on [100#38][MTC/NB-IoT] Padding Issue in Msg3 R2-1803077", 3GPP TSG-RAN WG2 #101, 2 March 2018 (2018-03-02), XP051399924, DOI: 20191129183258X *
OPPO: "Two-steps RACH Procedure for NR-U R2-1813587", 3GPP TSG-RAN WG2 MEETING #103BIS, 12 October 2018 (2018-10-12), XP051523088, DOI: 20191129183114X *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826513A (en) * 2021-01-19 2022-07-29 大唐移动通信设备有限公司 Terminal identification method and equipment
CN114826513B (en) * 2021-01-19 2024-03-12 大唐移动通信设备有限公司 Terminal identification method and equipment
CN115968035A (en) * 2021-10-09 2023-04-14 维沃软件技术有限公司 PRACH repeated transmission method, terminal and network side equipment
EP4415466A4 (en) * 2021-10-09 2025-01-15 Vivo Mobile Communication Co., Ltd. Prach repeated transmission method, terminal and network side device
EP4561247A3 (en) * 2021-10-09 2025-08-20 Vivo Mobile Communication Co., Ltd. Prach repeated transmission method, terminal and network side device
CN114731698A (en) * 2022-02-28 2022-07-08 北京小米移动软件有限公司 Uplink transmission method and device, and storage medium
CN116438912A (en) * 2023-02-16 2023-07-14 北京小米移动软件有限公司 A method and device for multi-physical random access channel PRACH transmission

Also Published As

Publication number Publication date
CN112970319A (en) 2021-06-15
CN112970319B (en) 2023-01-31

Similar Documents

Publication Publication Date Title
EP3902362B1 (en) Random access method, terminal device and network device
CN112970319B (en) Message retransmission method, device and storage medium
CN113950161B (en) Wireless communication method, terminal device and network device
US11678300B2 (en) Communication method, terminal device, and network device
WO2020186546A1 (en) Random access method and device
CN113678562B (en) Communication method, terminal equipment and network equipment
WO2020029415A1 (en) Data transmission method and apparatus, and terminal
CN113678560A (en) Method, terminal device and network device for transmitting information in random access process
CN112806086B (en) Random access method, equipment and storage medium
US20230345525A1 (en) Random access method, and electronic device and storage medium
CN112970219B (en) Resource determination method and device and terminal
WO2021022570A1 (en) Data transmission method, terminal device and storage medium
WO2020024616A1 (en) Random access method and related device
CN112806068B (en) Resource management method, equipment and storage medium
EP3813471B1 (en) Method for indicating channel access type, terminal device and network device
CN114173424B (en) A channel transmission method, electronic device and storage medium
TW202015477A (en) Communication method, terminal device, and network device
CN114270748B (en) A repetitive transmission method, electronic device and storage medium
CN112970318B (en) Random access method, equipment and storage medium
EP3993546A1 (en) Random access method and device, and terminal
EP3993548A1 (en) Random access problem reporting method, terminal device and storage medium
CN112806087B (en) Random access method, electronic device and storage medium
WO2020186468A1 (en) Random access method and device
WO2020206597A1 (en) Power distribution method and terminal 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: 19921092

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19921092

Country of ref document: EP

Kind code of ref document: A1