Data transmission method, terminal device and storage medium
By utilizing the fallback indication and storage unit management mechanism in the terminal device, the problem of invalid preamble resources in 2-step random access is solved, and the efficiency and delay of data transmission are optimized.
Patent Information
- Application Number
- CN202080098826.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-16
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-04-16
AI Technical Summary
In 2-step random access (RACH), when the selected preamble is not associated with a physical uplink shared channel (PUSCH) resource, the data transmission efficiency and delay are high, and the existing technology cannot effectively solve this problem.
The terminal equipment switches from the first type of random access to the second type of random access through the fallback instruction, and manages the data to be transmitted in the storage unit, ensuring that the data can be effectively transmitted in the case of invalid uplink shared channel resources, and reducing random access. reduce input latency and improve efficiency.
It realizes data transmission under the condition of invalid uplink shared channel resources, reduces the delay of random access and improves efficiency, ensuring that data can be transmitted smoothly.
Smart Images

Figure CN115336369B
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a data transmission method, terminal equipment and storage medium. Background Art
[0002] In a 2-step Random Access Channel (RACH), when the selected preamble is not associated with a Physical Uplink Shared Channel (PUSCH) resource, how to effectively transmit data has not yet been clarified. Summary of the invention
[0003] To solve the above technical problems, the embodiments of the present application provide a data transmission method, a terminal device and a storage medium, so that when the selected preamble code is not associated with a PUSCH resource, data can be effectively transmitted in a 2-step RACH.
[0004] In a first aspect, an embodiment of the present application provides a data transmission method, including: in the absence of a valid uplink shared channel resource unit-associated terminal device's preamble code based on a first type of random access transmission, if the terminal device falls back from the first type of random access to a second type of random access based on a fallback indication, if the second storage unit is empty, the terminal device determines the data to be transmitted based on the fallback indication, or the terminal device obtains the first data to be transmitted from the first storage unit; the first storage unit is used to store the load data included in the first message in the first type of random access, and the second storage unit is used to store data corresponding to the third message in the second type of random access.
[0005] In a second aspect, an embodiment of the present application provides a data transmission method, including: when a terminal device selects a resource for transmitting a first message in a first type of random access, if there is a valid uplink shared channel resource unit associated with a preamble to be transmitted by the terminal device, if the third storage unit is empty, the terminal device determines the third data to be transmitted based on the valid uplink shared channel resource unit, or the terminal device obtains the third data to be transmitted from the fourth storage unit;
[0006] The third storage unit is used to store the load data included in the first message in the first type of random access, and the fourth storage unit is used to store data corresponding to the third message in the second type of random access.
[0007] In a third aspect, an embodiment of the present application provides a terminal device, the terminal device comprising: a first processing unit, configured to, when there is no valid uplink shared channel resource unit associated with a terminal device based on a first type of random access transmission preamble, if the terminal device falls back from the first type of random access to a second type of random access based on a fallback indication, if the second storage unit is empty, determine the data to be transmitted based on the fallback indication, or obtain the first data to be transmitted from the first storage unit;
[0008] The first storage unit is used to store the load data included in the first message in the first type of random access, and the second storage unit is used to store the data corresponding to the third message in the second type of random access.
[0009] In a fourth aspect, an embodiment of the present application provides a terminal device, the terminal device comprising: a second processing unit, configured to, when the terminal device selects a resource for transmitting a first message in a first type of random access, determine third data to be transmitted based on the valid uplink shared channel resource unit, or obtain the third data to be transmitted from the fourth storage unit if the third storage unit is empty, when there is a valid uplink shared channel resource unit associated with a preamble to be transmitted by the terminal device;
[0010] The third storage unit is used to store the load data included in the first message in the first type of random access, and the fourth storage unit is used to store data corresponding to the third message in the second type of random access.
[0011] In a fifth aspect, an embodiment of the present application provides a terminal device, comprising a processor and a memory for storing a computer program that can be run on the processor, wherein the processor, when used to run the computer program, executes the steps of the data transmission method executed by the above-mentioned terminal device.
[0012] In a sixth aspect, an embodiment of the present application provides a chip, comprising: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes the data transmission method executed by the above-mentioned terminal device.
[0013] In a seventh aspect, an embodiment of the present application provides a storage medium storing an executable program, which, when executed by a processor, implements the data transmission method executed by the above-mentioned terminal device.
[0014] In an eighth aspect, an embodiment of the present application provides a computer program product, comprising computer program instructions, which enable a computer to execute the data transmission method executed by the above-mentioned terminal device.
[0015] In a ninth aspect, an embodiment of the present application provides a computer program, which enables a computer to execute the data transmission method executed by the above-mentioned terminal device.
[0016] The data transmission method provided in the embodiment of the present application includes: in the absence of a valid preamble code transmitted by a terminal device based on a first type of random access associated with an uplink shared channel resource unit, if the terminal device falls back from the first type of random access to the second type of random access based on a fallback indication, and if the second storage unit is empty, the terminal device determines the data to be transmitted based on the fallback indication, or the terminal device obtains the first data to be transmitted from the first storage unit; the first storage unit is used to store the load data included in the first message in the first type of random access. In this way, in the absence of a valid preamble code transmitted by a terminal device based on a first type of random access associated with an uplink shared channel resource unit, if the terminal device falls back from the first type of random access to the second type of random access based on a fallback indication, and if the second storage unit is empty, the terminal device can determine the first data to be transmitted, thereby enabling the terminal device to effectively perform data transmission, reduce the delay of random access, and improve the efficiency of random access. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a schematic diagram of the processing flow of the second type of random access in this application;
[0018] Figure 2 This is a schematic diagram of the processing flow of the first type of random access in this application;
[0019] Figure 3 Schematic diagram of the mapping relationship between Preamble and PRU for this application
[0020] Figure 4 A schematic diagram of the structure of the communication system according to an embodiment of the present application;
[0021] Figure 5 A schematic diagram of an optional processing flow of a data transmission method provided in an embodiment of the present application;
[0022] Figure 6 A schematic diagram of another optional processing flow of the data transmission method provided in an embodiment of the present application;
[0023] Figure 7 A schematic diagram of an optional component structure of a terminal device provided in an embodiment of the present application;
[0024] Figure 8 A schematic diagram of another optional component structure of a terminal device provided in an embodiment of the present application;
[0025] Fig. 9This is a schematic diagram of the hardware composition structure of the terminal device according to the embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present application.
[0027] At present, with people's pursuit of speed, latency, high-speed mobility, energy efficiency and the diversity and complexity of services in future life, the 3GPP international standard organization has begun to develop 5G. The main application scenarios of 5G are: Enhanced Mobile Broadband (eMBB), Ultra Reliable Low Latency Communications (URLLC), and Massive Machine Type Communication (mMTC).
[0028] eMBB still aims at users to obtain multimedia content, services and data, and its demand is growing rapidly. Since eMBB may be deployed in different scenarios, such as indoors, in urban areas, and in rural areas, the capabilities and requirements of eMBB in different scenarios are also quite different, so it cannot be generalized and must be analyzed in detail in combination with specific deployment scenarios. Typical applications of URLLC include: industrial automation, power automation, remote medical operations (surgery) and traffic safety assurance. Typical features of mMTC include: high connection density, small data volume, latency-insensitive services, low cost and long service life of modules, etc.
[0029] In the early deployment of New Radio (NR), it was difficult to obtain complete NR coverage; so the typical network coverage was wide-area LTE coverage and NR island coverage mode. In addition, since a large number of LTE systems are deployed in spectrum below 6GHz, there is very little spectrum below 6GHz available for NR systems; therefore, NR systems must study spectrum applications above 6GHz. However, high-frequency spectrum has the disadvantages of limited coverage and fast signal fading. At the same time, in order to protect mobile operators' initial investment in LTE systems, a tight interworking working mode between LTE systems and NR systems is proposed. NR systems can also work independently. In NR systems, the maximum channel bandwidth can be 400MHZ (wideband carrier). Compared with the maximum 20M bandwidth of LTE systems, the bandwidth of NR systems is very large.
[0030] The first type of random access and the second type of random access are briefly described below.
[0031] In the NR system, RACH includes: first type of random access and second type of random access. Among them, in the first type of random access, two information exchanges need to be performed between the terminal device and the network device; therefore, the first type of random access is also called two-step random access (2-steps RACH). In the second type of random access, four information exchanges need to be performed between the terminal device and the network device; therefore, the second type of random access is also called four-step random access (4-steps RACH). According to different random access methods, random access includes contention-based random access and non-contention-based random access. According to different random access types, random access includes first type of random access and second type of random access. The following is a brief description of the first type of random access and the second type of random access, respectively.
[0032] The second type of random access processing flow is as follows: Figure 1 As shown, it includes the following four steps:
[0033] Step S101: The terminal device sends a random access preamble (Preamble) to the network device via Msg 1.
[0034] 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 grant required by the terminal device to transmit Msg3 based on the Preamble.
[0035] In step S102, after the network device detects that a terminal device has sent a Preamble, it sends a 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, allocates a temporary Radio Network Temporary Identity (RNTI) to the terminal device, and provides a time advance command for the terminal device.
[0036] Step S103: After receiving the RAR message, the terminal device sends Msg3 in the uplink resources specified by the RAR message.
[0037] The Msg3 message is mainly used to inform 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 terminal device ID and establishment cause in the connected state will be carried in Msg3.
[0038] Meanwhile, the contention conflict of the ID carried by Msg3 may be resolved in step S104.
[0039] Step S104: The network device sends Msg4 to the terminal device, where Msg4 includes a contention resolution message and allocates uplink transmission resources to the terminal device.
[0040] When the terminal device receives 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 random access process of the terminal device is successful. Otherwise, it is considered that the random process has failed, and the terminal device needs to initiate the random access process again from the first step.
[0041] Another function of Msg4 is to send a radio resource control (RRC) configuration message to the terminal device.
[0042] The above RACH process needs to be completed through four information exchanges between the network device and the terminal device, which leads to a prolonged RACH process. In order to solve the problems of prolonged RACH process and large signaling overhead, a first type of random access is proposed. The processing flow of the first type of random access is as follows: Figure 2 As shown, the following steps are included:
[0043] Step S201: The terminal device sends MsgA to the network device.
[0044] MsgA consists 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 by the payload is the same as the information in Msg3 in the second type of random access, such as RRC signaling when RRC is in idle state, and C-RNTI when RRC is in connected state, and the payload can be transmitted by PUSCH.
[0045] The results of the network device receiving MsgA may include the following two types: first, the network device successfully decodes one or more preambles; second, the network device successfully decodes one or more preambles and one or more payloads.
[0046] Step S202: The terminal device receives MsgB sent by the network device.
[0047] Optionally, MsgB includes the contents of Msg2 and Msg4 in the second type of random access.
[0048] If the terminal device receives an indication of successful contention resolution from the network device, the terminal device ends the random access process. If the terminal device receives a fallback indication (fallback RAR) through MsgB, the terminal device performs the transmission of Msg3 in the second type of random access; that is, the terminal device falls back from the first type of random access to the second type of random access. If the Msg3 buffer is empty, the terminal device obtains the Medium Access Control Protocol Data Unit (MAC PDU) from the Msg3 buffer and stores the obtained MAC PDU in the Msg3 buffer. After the terminal device sends Msg3 to the network device, the terminal device monitors the contention resolution result; if the contention resolution fails, the terminal device continues to try to transmit MsgA in the first type of random access. In addition, the network device can configure the maximum number of attempts "N" for the first type of random access for the terminal device. If the terminal device fails to access successfully after trying the first type of random access N times, the terminal device switches from the first type of random access to the second type of random access and continues to attempt to access.
[0049] In the first type of random access, the random access resources include PRACH for transmitting Preamble and PUSCH for transmitting payload; the physical layer defines the mapping relationship between Preamble and uplink shared channel resource unit (PUSCH Resource Unit, PRU), and the mapping relationship between Preamble and PRU, such as Figure 3As shown, after selecting a valid Preamble, the terminal device can determine the unique PRU corresponding to the Preamble. Among them, the mapping relationship between Preamble and PRU may exist in the following three situations: in the first situation, both Preamble and PRU are valid; in the second situation, Preamble is valid and PRU is invalid; in the third situation, Preamble is invalid and PRU is valid. For the first situation, the terminal device can transmit Preamble and PRU at the same time; for the second situation, the terminal device can only transmit Preamble; for the third situation, the terminal device cannot transmit Preamble or PRU.
[0050] In the related art, for 2-step random access, when the terminal device performs resource selection, it does not consider whether the PRU associated with the Preamble is valid, but only needs to ensure that a valid PRACH and Preamble are selected. In the resource selection of MsgA, after the terminal device completes the selection of Preamble and PRACH, the uplink grant (UL grant) and hybrid automatic repeat request (Hybrid Automatic Repeat reQuest, HARQ) information corresponding to the PRU associated with the selected Preamble are determined by the selected Preamble. If there is no valid PRU associated with the Preamble at this time, the terminal device cannot work according to the process defined by the existing protocol. During the transmission process of MsgA, the terminal device instructs the physical layer to transmit the Preamble and payload; if there is no valid PRU associated with the Preamble at this time, the terminal device cannot instruct the physical layer to transmit the payload.
[0051] Accordingly, the MsgA resource selection process can be described as:
[0052] 1> Determine the uplink grant and associated HARQ information for the PUSCH resources of the MSGA associated with the selected preamble and PRACH occasion in accordance with TS 38213 81A subclause [6];
[0053] 1>Transmit uplink grant and associated HARQ information to the HARQ entity;
[0054] 1> Execute the MSGA transfer process (see subclause 5.1.3a)
[0055] The corresponding English description is:
[0056]
[0057]
[0058] Based on the above problems, the present application provides a data transmission method. The technical solution of the embodiment of the present application can be applied to various communication systems, such as: global system of mobile communication (GSM) system, 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 (FDD) system, LTE time division duplex (TDD) system, advanced long term evolution (LTE-A) system, new radio (NR) system, NR system evolution system, LTE on unlicensed spectrum (LTE-U) system, NR on unlicensed spectrum (NR-U) system, universal mobile telecommunication system (UMTS), Worldwide interoperability for microwave access (WCDMA) system, and other systems. access, WiMAX) communication system, wireless local area networks (WLAN), wireless fidelity (WiFi), next generation communication system or other communication systems, etc.
[0059] The system architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0060] The network equipment involved in the embodiments of the present application may be an ordinary base station (such as NodeB or eNB or gNB), a new radio controller (new radio controller, NR controller), a centralized unit, a new wireless base station, a radio frequency remote module, a micro base station, a relay, a distributed unit, a transmission reception point (TRP), a transmission point (TP) or any other device. The embodiments of the present application do not limit the specific technology and specific device form adopted by the network equipment. For the convenience of description, in all embodiments of the present application, the above-mentioned devices that provide wireless communication functions for terminal devices are collectively referred to as network devices.
[0061] In the embodiment of the present application, the terminal device may be any terminal, for example, the terminal device may be a user device for machine type communication. That is to say, the terminal device may also be referred to as a user equipment UE, a mobile station (MS), a mobile terminal, a terminal, etc. The terminal device may communicate with one or more core networks via a radio access network (RAN). For example, the terminal device may be a mobile phone (or a "cellular" phone), a computer with a mobile terminal, etc. For example, the terminal device may also be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, which exchanges language and / or data with a radio access network. This is not specifically limited in the embodiment of the present application.
[0062] Optionally, the network device and the terminal device can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; can also be deployed on the water surface; can also be deployed on aircraft, balloons and artificial satellites in the air. The embodiments of the present application do not limit the application scenarios of the network device and the terminal device.
[0063] Optionally, the network device and the terminal device, and the terminal device and the terminal device may communicate through a licensed spectrum, or may communicate through an unlicensed spectrum, or may communicate through both a licensed spectrum and an unlicensed spectrum. The network device and the terminal device, and the terminal device and the terminal device may communicate through a spectrum below 7 gigahertz (GHz), or may communicate through a spectrum above 7 GHz, or may communicate using a spectrum below 7 GHz and a spectrum above 7 GHz at the same time. The embodiments of the present application do not limit the spectrum resources used between the network device and the terminal device.
[0064] Generally speaking, traditional communication systems support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communications, but will also support, for example, device to device (D2D) communication, machine to machine (M2M) communication, machine type communication (MTC), and vehicle to vehicle (V2V) communication, etc. The embodiments of the present application can also be applied to these communication systems.
[0065] For example, the communication system 100 used in the embodiment of the present application is as follows: Figure 4 As shown. The communication system 100 may include a network device 110, which may be a device that communicates with a terminal device 120 (or referred to as a communication terminal or terminal). The network device 110 may provide communication coverage for a specific geographical 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, or a base station (NodeB, NB) in a WCDMA system, or an evolved base station (Evolutional Node B, eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or the network device may be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network-side device in a 5G network, or a network device in a future evolved public land mobile network (Public Land Mobile Network, PLMN), etc.
[0066] The communication system 100 also includes at least one terminal device 120 located within the coverage of the network device 110. As used herein, "terminal device" includes but is not limited to connection via a wired line, such as via a Public Switched Telephone Networks (PSTN), a Digital Subscriber Line (DSL), a digital cable, a direct cable connection; and / or another data connection / network; and / or via a wireless interface, such as, for a cellular network, a Wireless Local Area Network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter; and / or a device of another terminal device configured to receive / send communication signals; and / or an Internet of Things (IoT) device. A terminal device configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular phones; Personal Communications System (PCS) terminals that can combine cellular radio telephones with data processing, fax, and data communication capabilities; other electronic devices that can include radio telephones, pagers, Internet / intranet access, web browsers, notepads, calendars, and / or Global Positioning System (GPS) transmitters. Terminal equipment can refer to access terminals, user equipment (UE), user units, user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile devices, user terminals, terminals, wireless communication devices, user agents, or user devices. Access terminals can be cellular phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks, or terminal devices in future evolved PLMNs, etc.
[0067] Optionally, terminal devices 120 may perform device-to-device (D2D) communication with each other.
[0068] Optionally, the 5G system or 5G network may also be referred to as an NR system or NR network.
[0069] Figure 4 One network device and two terminal devices are shown exemplarily. Optionally, the communication system 100 may include multiple network devices and each network device may include another number of terminal devices within its coverage area, which is not limited in the embodiments of the present application.
[0070] Optionally, the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiments of the present application.
[0071] It should be understood that the device with communication function in the network / system in the embodiment of the present application can be referred to as a communication device. Figure 4 Taking the communication system 100 shown as an example, the communication equipment may include a network device 110 and a terminal device 120 with communication functions. The network device 110 and the terminal device 120 may be the specific devices described above and will not be repeated here. The communication equipment may also include other devices in the communication system 100, such as a network controller, a mobile management entity and other network entities, which is not limited in the embodiments of the present application.
[0072] An optional processing flow of the data transmission method provided in the embodiment of the present application is as follows: Figure 5 As shown, the following steps are included:
[0073] Step S301, when there is no valid uplink shared channel resource unit associated terminal device based on the first type of random access transmission preamble code, if the terminal device falls back from the first type of random access to the second type of random access based on the fallback indication, then the terminal device determines the data to be transmitted based on the fallback indication, or the terminal device obtains the first data to be transmitted from the first storage unit.
[0074] In some embodiments, the first type of random access may be a 2-step RACH, and the second type of random access may be a 4-step RACH.
[0075] In some embodiments, there is no valid PRU associated with the preamble code transmitted by the terminal device based on the first type of random access. This may mean that in the mapping relationship between Preamble and PRU defined by the physical layer, the PRU corresponding to the Preamble transmitted by the terminal device based on the first type of random access cannot be used.
[0076] In some embodiments, the fallback indication may be a fallbackRAR sent by the network device to the terminal device after the terminal device sends a first message (such as MsgA in a 2-step RACH) to the network device. Accordingly, the terminal device falls back from the first type of random access to the second type of random access based on the fallback indication, and the terminal device may fall back from a 2-step RACH to a 4-step RACH based on the fallback indication. Optionally, the terminal device falls back from a 2-step RACH to Msg3 in a 4-step RACH based on the fallback indication; that is, the terminal device still performs a 2-step RACH, but after receiving the fallback indication, the content of the message sent by the terminal device to the network device is the same as the content of Msg3 in the 4-step RACH. Alternatively, when the terminal device falls back from a 2-step RACH to Msg3 in a 4-step RACH based on the fallback indication, the terminal device switches the random access type from a 2-step RACH to a 4-step RACH.
[0077] In some embodiments, if both the first storage unit and the second storage unit are empty, the terminal device determines the first data to be transmitted based on the UL grant indicated by the fallback indication. In this scenario, regardless of whether the terminal device selects resources for transmitting the first message (such as MsgA) in the first type of random access for the first time, as long as the first storage unit and the second storage unit are empty, the terminal device constructs the first data to be transmitted based on the UL grant indicated by the fallback indication. The first data to be transmitted may be the first MAC PDU to be transmitted.
[0078] In some other embodiments, if the first storage unit is not empty and the second storage unit is empty, the terminal device obtains the first data to be transmitted from the first storage unit. In this scenario, the terminal device may select resources for transmitting the first message (such as MsgA) in the first type of random access for a non-first time. The first data to be transmitted may be the first MAC PDU to be transmitted.
[0079] In some embodiments, the first storage unit is used to store the payload data included in the first message in the first type of random access. Optionally, the first storage unit may be a MsgA buffer, used to store the MsgA payload MAC PDU; the second storage unit may be a Msg3 buffer, used to store the Msg3 MAC PDU. The first storage unit and the second storage unit may be located in a MAC entity.
[0080] In some embodiments, the data transmission method may further include:
[0081] Step S302: The terminal device stores the first data to be transmitted in a second storage unit.
[0082] In some embodiments, the data transmission method may further include:
[0083] Step S303: When there is no valid uplink shared channel resource unit associated with the terminal device and the preamble code transmitted by the terminal device based on the first type of random access, if the terminal device does not receive the fallback indication, the terminal device reselects the resources for transmitting the first message.
[0084] In some embodiments, the terminal device reselects resources for transmitting the first message, which may be that the terminal device reselects MsgA resources in the first type of random access (2-step RACH) to make a 2-step RACH access attempt again.
[0085] In a specific implementation, when the terminal device reselects a resource for transmitting the first message, and there is a valid PRU associated with the Preamble to be transmitted by the terminal device, the data transmission method may further include:
[0086] Step S304: If the first storage unit is empty, the terminal device determines the second data to be transmitted based on the valid uplink shared channel resource unit, or the terminal device obtains the second data to be transmitted from the second storage unit.
[0087] In some embodiments, if the first storage unit is empty and the second storage unit is empty, the terminal device constructs a second MAC PDU to be transmitted based on the UL grant determined by the valid PRU.
[0088] In some other embodiments, if the first storage unit is empty and the second storage unit is not empty, the terminal device obtains the second MAC PDU to be transmitted from the second storage unit.
[0089] In some embodiments, the terminal device stores the second data to be transmitted in the first storage unit. The second data may be a second MAC PDU to be transmitted.
[0090] In some embodiments, the method may further include:
[0091] Step S305: The terminal device instructs the physical layer to transmit the Preamble to be transmitted using the valid PRACH in the resources reselected by the terminal device; and / or, the terminal device instructs the physical layer to transmit the load data using the valid PRU.
[0092] In some embodiments, the payload data may be a MsgA payload.
[0093] Another optional processing flow of the data transmission method provided in the embodiment of the present application is as follows: Figure 6 As shown, the following steps are included:
[0094] Step S401, when the terminal device selects resources for transmitting the first message in the first type of random access, and there is a valid uplink shared channel resource unit associated with the preamble code to be transmitted by the terminal device, if the third storage unit is empty, the terminal device determines the third data to be transmitted based on the valid uplink shared channel resource unit, or the terminal device obtains the third data to be transmitted from the fourth storage unit.
[0095] In some embodiments, the first type of random access may be a 2-step RACH, and the first message may be MsgA in the 2-step RACH.
[0096] In some embodiments, there is a valid PRU associated with the preamble code of the terminal device based on the first type of random access transmission, which may refer to the mapping relationship between Preamble and PRU defined by the physical layer, and the PRU corresponding to the Preamble transmitted by the terminal device based on the first type of random access can be used.
[0097] In some embodiments, the third storage unit is used to store the payload data included in the first message in the first type of random access, and the fourth storage unit is used to store the data corresponding to the third message in the second type of random access. Accordingly, the third storage unit may be a MsgA buffer for storing MsgA payload MAC PDU; the fourth storage unit may be a Msg3 buffer for storing Msg3 MAC PDU. The third storage unit and the fourth storage unit may be located in a MAC entity.
[0098] In some embodiments, if the third storage unit and the fourth storage unit are both empty, the terminal device constructs a third MAC PDU to be transmitted based on the ULgrant determined by the valid PRU.
[0099] In some other embodiments, if the third storage unit is empty and the fourth storage unit is not empty, the terminal device obtains the third MAC PDU to be transmitted from the fourth storage unit.
[0100] In some embodiments, the data transmission method may further include:
[0101] Step S402: The terminal device stores the third data to be transmitted in the third storage unit.
[0102] In some embodiments, the data transmission method may further include:
[0103] Step S403: The terminal device instructs the physical layer to transmit the Preamble to be transmitted using the valid PRACH in the resources reselected by the terminal device; and / or, the terminal device instructs the physical layer to transmit the load data using the valid PRU.
[0104] It should be noted that the data transmission method shown in steps S401 to S403 can be applicable to the scenario where the terminal device does not select the resources for transmitting the first message in the first type of random access for the first time; that is, the data transmission method shown in steps S401 to S403 can be applicable to the scenario where the terminal device does not select the resources for transmitting MsgA in the 2-step RACH for the first time.
[0105] The data transmission method provided in the embodiment of the present application clarifies the data transmission behavior of the terminal device when there is no valid preamble code for the uplink shared channel resource unit-associated terminal device to transmit based on the first type of random access; in this way, when there is no valid preamble code for the uplink shared channel resource unit-associated terminal device to transmit based on the first type of random access, if the terminal device falls back from the first type of random access to the second type of random access based on the fallback indication, and the second storage unit is empty, the terminal device can determine the first data to be transmitted, thereby enabling the terminal device to effectively perform data transmission, reduce the delay of random access, and improve the efficiency of random access.
[0106] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0107] With respect to the data transmission method provided in the embodiment of the present application, the relevant protocols of the 2-step RACH may be modified as follows:
[0108]
[0109]
[0110]
[0111]
[0112] To implement the above data transmission method, the present application also provides a terminal device, the component structure of the terminal device is as follows: Figure 7 As shown, the terminal device 500 includes:
[0113] The first processing unit 501 is configured to, when there is no valid uplink shared channel resource unit associated with the preamble code transmitted based on the first type of random access by the terminal device, if the terminal device falls back from the first type of random access to the second type of random access based on the fallback indication, determine the data to be transmitted based on the fallback indication, or obtain the first data to be transmitted from the first storage unit;
[0114] The first storage unit is used to store the load data included in the first message in the first type of random access.
[0115] In some embodiments, when the first storage unit is empty and the second storage unit is empty, the first processing unit is configured to determine the first data to be transmitted based on the fallback indication; the second storage unit is used to store data corresponding to the third message in the second type of random access.
[0116] In some embodiments, the first processing unit 501 is configured to determine a first MAC PDU to be transmitted according to the uplink authorization determined by the fallback indication.
[0117] In some embodiments, the first processing unit 501 is configured to obtain the first MAC PDU to be transmitted from the first storage unit when the first storage unit is not empty and the second storage unit is empty; the second storage unit is used to store data corresponding to the third message in the second type of random access.
[0118] In some embodiments, the terminal device 500 further includes: a second storage unit 502 configured to store the first data to be transmitted.
[0119] In some embodiments, the first processing unit 501 is further configured to reselect resources for transmitting the first message if the terminal device does not receive the fallback indication when there is no valid uplink shared channel resource unit associated with the preamble code transmitted by the terminal device based on the first type of random access.
[0120] In some embodiments, the first processing unit 501 is further configured to, when there is a valid uplink shared channel resource unit associated with the preamble code to be transmitted by the terminal device in the resources reselected by the terminal device, determine the second data to be transmitted based on the valid uplink shared channel resource unit if the first storage unit is empty, or obtain the second data to be transmitted from the second storage unit; the second storage unit is used to store data corresponding to the third message in the second type of random access.
[0121] In some embodiments, the first processing unit 501 is configured to determine a second MAC PDU to be transmitted based on the uplink grant determined by the valid uplink shared channel resource unit when the second storage unit is empty.
[0122] In some embodiments, the first processing unit 501 is configured to obtain a second MAC PDU to be transmitted from the second storage unit if the second storage unit is not empty.
[0123] In some embodiments, the terminal device 500 further includes: a first storage unit 503 configured to store the second data to be transmitted.
[0124] In some embodiments, the first processing unit 501 is further configured to instruct the physical layer to transmit the preamble code to be transmitted using a valid physical random access control channel in the resources reselected by the terminal device; and / or to instruct the physical layer to transmit the load data using the valid uplink shared channel resource unit.
[0125] In some embodiments, the first processing unit 501 is further configured to instruct the physical layer to transmit the preamble code using the selected valid physical random access channel.
[0126] In some embodiments, the first type of random access is a two-step random access; and / or the second type of random access is a four-step random access.
[0127] To implement the above data transmission method, the present application also provides another terminal device, the component structure of the terminal device is as follows: Figure 8 As shown, the terminal device 600 includes:
[0128] The second processing unit 601 is configured to, when a terminal device selects a resource for transmitting a first message in a first type of random access, determine third data to be transmitted based on the valid uplink shared channel resource unit, or obtain the third data to be transmitted from a fourth storage unit if the third storage unit is empty, when there is a valid uplink shared channel resource unit associated with a preamble to be transmitted by the terminal device;
[0129] The third storage unit is used to store the load data included in the first message in the first type of random access, and the fourth storage unit is used to store data corresponding to the third message in the second type of random access.
[0130] In some embodiments, the second processing unit 601 is configured to determine a third MAC PDU to be transmitted based on the uplink grant determined by the valid uplink shared channel resource unit when the fourth storage unit is empty.
[0131] In some embodiments, the second processing unit 601 is configured to obtain a third MAC PDU to be transmitted from the fourth storage unit if the fourth storage unit is not empty.
[0132] In some embodiments, the terminal device 600 further includes:
[0133] The third storage unit 602 is configured to store the third data to be transmitted.
[0134] In some embodiments, the second processing unit 601 is further configured to instruct the physical layer to transmit the preamble code to be transmitted using a valid physical random access control channel in the resources reselected by the terminal device; and / or to instruct the physical layer to transmit the load data using the valid uplink shared channel resource unit.
[0135] In some embodiments, the valid uplink shared channel resource unit includes: a valid uplink shared channel resource unit associated with a preamble to be transmitted.
[0136] In some embodiments, the first type of random access is a two-step random access;
[0137] And / or, the second type of random access is four-step random access.
[0138] An embodiment of the present application also provides a terminal device, including a processor and a memory for storing a computer program that can be run on the processor, wherein the processor is used to execute the steps of the data transmission method executed by the above-mentioned terminal device when running the computer program.
[0139] An embodiment of the present application also provides a chip, including: a processor, used to call and run a computer program from a memory, so that a device equipped with the chip executes the data transmission method executed by the above-mentioned terminal device.
[0140] The embodiment of the present application also provides a storage medium storing an executable program, and when the executable program is executed by a processor, the data transmission method executed by the above-mentioned terminal device is implemented.
[0141] An embodiment of the present application also provides a computer program product, including computer program instructions, which enable a computer to execute the data transmission method executed by the above-mentioned terminal device.
[0142] An embodiment of the present application also provides a computer program, which enables a computer to execute the data transmission method executed by the above-mentioned terminal device.
[0143] Fig. 9700 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 a bus system 705. It can be understood that the bus system 705 is used to realize the 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 the sake of clarity, Fig. 9 Various buses are labeled as bus system 705.
[0144] It can be understood that the memory 702 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), ferromagnetic random access memory, flash memory, magnetic surface memory, optical disk, or compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory 702 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.
[0145] The memory 702 in the embodiment of the present application is used to store various types of data to support the operation of the terminal device 700. Examples of such data include: any computer program for operating on the terminal device 700, such as the application 7022. The program for implementing the method of the embodiment of the present application may be included in the application 7022.
[0146] The method disclosed in the above embodiment of the present application can 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, each step of the above method can be completed by the hardware integrated logic circuit in the processor 701 or the instruction in the form of software. The above processor 701 may be a general 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 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 702, and the processor 701 reads the information in the memory 702 and completes the steps of the above method in combination with its hardware.
[0147] In an exemplary embodiment, the terminal device 700 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, MPUs, or other electronic components to execute the aforementioned method.
[0148] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0149] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0150] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0151] The above is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A data transmission method, the method comprising: In the absence of a valid preamble code transmitted by a terminal device associated with an uplink shared channel resource unit based on a first type of random access, if the terminal device falls back from the first type of random access to the second type of random access based on a fallback indication, the terminal device determines the data to be transmitted based on the fallback indication, or the terminal device obtains the first data to be transmitted from the first storage unit; wherein the first type of random access is a two-step random access; and the second type of random access is a four-step random access; The first storage unit is used to store the load data included in the first message in the first type of random access.
2. The method according to claim 1, wherein: When the first storage unit is empty and the second storage unit is empty, the terminal device determines the first data to be transmitted based on the fallback indication; The second storage unit is used to store data corresponding to the third message in the second type of random access.
3. The method according to claim 1 or 2, wherein: The terminal device determines first data to be transmitted based on the fallback indication, including: The terminal device determines a first media access control protocol data unit MAC PDU to be transmitted according to the uplink authorization determined by the fallback indication.
4. The method according to claim 1, wherein: When the first storage unit is not empty and the second storage unit is empty, the terminal device obtains a first MAC PDU to be transmitted from the first storage unit; The second storage unit is used to store data corresponding to the third message in the second type of random access.
5. The method according to claim 2 or 4, wherein: The method further comprises: The terminal device stores the first data to be transmitted in a second storage unit.
6. The method according to any one of claims 1, 2 and 4, wherein: The method further comprises: In the case where there is no valid uplink shared channel resource unit associated with the preamble code transmitted by the terminal device based on the first type of random access, if the terminal device does not receive the fallback indication, the terminal device reselects resources for transmitting the first message.
7. The method according to claim 6, wherein: The method further comprises: In a case where there is a valid uplink shared channel resource unit associated with a preamble to be transmitted by the terminal device in the resource reselected by the terminal device, if the first storage unit is empty, the terminal device determines the second data to be transmitted based on the valid uplink shared channel resource unit, or the terminal device obtains the second data to be transmitted from the second storage unit; The second storage unit is used to store data corresponding to the third message in the second type of random access.
8. The method according to claim 7, wherein: When the second storage unit is empty, the terminal device determines a second MAC PDU to be transmitted based on the uplink grant determined by the valid uplink shared channel resource unit.
9. The method according to claim 7, wherein: When the second storage unit is not empty, the terminal device obtains the second MAC PDU to be transmitted from the second storage unit.
10. The method according to any one of claims 7 to 9, wherein: The method further comprises: The terminal device stores the second data to be transmitted in the first storage unit.
11. The method according to any one of claims 7 to 9, wherein: The method further comprises: The terminal device instructs the physical layer to transmit the preamble to be transmitted by using a valid physical random access control channel in the resource reselected by the terminal device; And / or, the terminal device instructs the physical layer to transmit the load data using the valid uplink shared channel resource unit.
12. The method according to any one of claims 1, 2, 4 and 7 to 9, wherein: The method further comprises: The terminal device instructs the physical layer to transmit the preamble code using the selected valid physical random access channel.
13. The method according to claim 7, wherein: The method further comprises: When the terminal device selects a resource for transmitting the first message in the first type of random access, and there is a valid uplink shared channel resource unit associated with the preamble to be transmitted by the terminal device, if the third storage unit is empty, the terminal device determines the third data to be transmitted based on the valid uplink shared channel resource unit, or the terminal device obtains the third data to be transmitted from the fourth storage unit; The third storage unit is used to store the load data included in the first message in the first type of random access, and the fourth storage unit is used to store data corresponding to the third message in the second type of random access.
14. The method according to claim 13, wherein: When the fourth storage unit is empty, the terminal device determines a third media access control protocol data unit MAC PDU to be transmitted based on the uplink grant determined by the valid uplink shared channel resource unit.
15. The method according to claim 13, wherein: When the fourth storage unit is not empty, the terminal device obtains the third MAC PDU to be transmitted from the fourth storage unit.
16. The method according to any one of claims 13 to 15, wherein: The method further comprises: The terminal device stores the third data to be transmitted in the third storage unit.
17. The method according to any one of claims 13 to 15, wherein: The method further comprises: The terminal device instructs the physical layer to transmit the preamble to be transmitted by using a valid physical random access control channel in the resource reselected by the terminal device; And / or, the terminal device instructs the physical layer to transmit the load data using the valid uplink shared channel resource unit.
18. The method according to any one of claims 13 to 15, wherein: The valid uplink shared channel resource unit includes: a valid uplink shared channel resource unit associated with a preamble to be transmitted.
19. A terminal device, comprising: The first processing unit is configured to determine the data to be transmitted based on the fallback indication, or obtain the first data to be transmitted from the first storage unit, if the terminal device falls back from the first type of random access to the second type of random access based on the fallback indication when there is no valid preamble code transmitted by the uplink shared channel resource unit-associated terminal device based on the first type of random access; wherein the first type of random access is a two-step random access; and the second type of random access is a four-step random access; The first storage unit is used to store the load data included in the first message in the first type of random access.
20. The terminal device according to claim 19, wherein: In a case where the first storage unit is empty and the second storage unit is empty, the first processing unit is configured to determine the first data to be transmitted based on the fallback indication; The second storage unit is used to store data corresponding to the third message in the second type of random access.
21. The terminal device according to claim 19 or 20, wherein: The first processing unit is configured to determine a first media access control protocol data unit MAC PDU to be transmitted according to the uplink authorization determined by the fallback indication.
22. The terminal device according to claim 19, wherein: The first processing unit is configured to obtain a first MAC PDU to be transmitted from the first storage unit when the first storage unit is not empty and the second storage unit is empty; The second storage unit is used to store data corresponding to the third message in the second type of random access.
23. The terminal device according to claim 20 or 22, wherein: The terminal device further includes: The second storage unit is configured to store the first data to be transmitted.
24. The terminal device according to any one of claims 19, 20 and 22, wherein: The first processing unit is further configured to reselect resources for transmitting the first message if the terminal device does not receive the fallback indication when there is no valid uplink shared channel resource unit associated with the preamble code transmitted by the terminal device based on the first type of random access.
25. The terminal device according to claim 24, wherein: The first processing unit is further configured to, when there is a valid uplink shared channel resource unit associated with the preamble to be transmitted by the terminal device in the resource reselected by the terminal device, if the first storage unit is empty, determine the second data to be transmitted based on the valid uplink shared channel resource unit, or obtain the second data to be transmitted from the second storage unit; The second storage unit is used to store data corresponding to the third message in the second type of random access.
26. The terminal device according to claim 25, wherein: The first processing unit is configured to determine a second MAC PDU to be transmitted based on the uplink grant determined by the valid uplink shared channel resource unit when the second storage unit is empty.
27. The terminal device according to claim 25, wherein: The first processing unit is configured to obtain a second MAC PDU to be transmitted from the second storage unit when the second storage unit is not empty.
28. The terminal device according to any one of claims 25 to 27, wherein: The terminal device further includes: The first storage unit is configured to store the second data to be transmitted.
29. The terminal device according to any one of claims 25 to 27, wherein: The first processing unit is further configured to instruct the physical layer to transmit the preamble to be transmitted using a valid physical random access control channel in the resource reselected by the terminal device; And / or, instructing a physical layer to transmit the load data using the valid uplink shared channel resource unit.
30. The terminal device according to any one of claims 19, 20, 22 and 25 to 27, wherein: The first processing unit is further configured to instruct the physical layer to transmit the preamble code using the selected valid physical random access channel.
31. The terminal device according to claim 25, wherein: The terminal device further includes: The second processing unit is configured to, when a terminal device selects a resource for transmitting a first message in a first type of random access, determine the third data to be transmitted based on the valid uplink shared channel resource unit, or obtain the third data to be transmitted from the fourth storage unit if the third storage unit is empty, when there is a valid uplink shared channel resource unit associated with the preamble to be transmitted by the terminal device; The third storage unit is used to store the load data included in the first message in the first type of random access, and the fourth storage unit is used to store data corresponding to the third message in the second type of random access.
32. The terminal device according to claim 31, wherein: The second processing unit is configured to determine a third media access control protocol data unit MAC PDU to be transmitted based on the uplink grant determined by the valid uplink shared channel resource unit when the fourth storage unit is empty.
33. The terminal device according to claim 31, wherein: The second processing unit is configured to obtain a third MAC PDU to be transmitted from the fourth storage unit if the fourth storage unit is not empty.
34. The terminal device according to any one of claims 31 to 33, wherein: The terminal device further includes: The third storage unit is configured to store the third data to be transmitted.
35. The terminal device according to any one of claims 31 to 33, wherein: The second processing unit is further configured to instruct the physical layer to transmit the preamble to be transmitted using a valid physical random access control channel in the resource reselected by the terminal device; And / or, instructing a physical layer to transmit the load data using the valid uplink shared channel resource unit.
36. The terminal device according to any one of claims 31 to 33, wherein: The valid uplink shared channel resource unit includes: a valid uplink shared channel resource unit associated with a preamble to be transmitted.
37. A terminal device comprising a processor and a memory for storing a computer program that can be run on the processor, wherein: When the processor is used to run the computer program, the processor executes the steps of the data transmission method according to any one of claims 1 to 18.
38. A storage medium storing an executable program, wherein when the executable program is executed by a processor, the data transmission method according to any one of claims 1 to 18 is implemented.
39. A chip, comprising: A processor, used to call and run a computer program from a memory so that a device equipped with the chip executes the data transmission method as described in any one of claims 1 to 18.
