A data transmission method, a terminal device, and a network device

By selecting appropriate uplink transmission resources for data transmission in the inactive state, the problem of resource configuration for small data transmission is solved, achieving efficient data transmission and making it suitable for various communication systems.

CN115299165BActive Publication Date: 2026-01-30GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202080098665.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-15
Publication Date
2026-01-30
Estimated Expiration
2040-04-15

AI Technical Summary

Technical Problem

After the introduction of small data transmission, how to effectively configure or use uplink transmission resources is a problem that needs to be solved, especially how to transmit data when the terminal device is inactive.

Method used

A data transmission method is provided in which a terminal device selects a suitable uplink transmission resource from multiple available resources for data transmission in an inactive state. This includes selecting a physical uplink shared channel resource, configuring these resources through system messages or pre-configured authorization messages, and determining the most suitable transmission resource based on data volume and latency requirements.

Benefits of technology

It enables efficient small data transmission even when inactive, reduces signaling overhead, and improves data transmission efficiency and flexibility. It is applicable to various communication systems such as GSM, CDMA, WCDMA, GPRS, LTE, WiMAX and 5G systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115299165B_ABST
    Figure CN115299165B_ABST
Patent Text Reader

Abstract

This invention discloses a data transmission method, a terminal device, a network device, a chip, a computer-readable storage medium, a computer program product, and a computer program. The method includes: the terminal device, in an inactive state, sending data to be transmitted to the network device on a first resource; wherein the first resource is one of a plurality of available resources.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication, and in particular to a data transmission method, a terminal device, a network device, a chip, a computer readable storage medium, a computer program product and a computer program. BACKGROUND

[0002] In the related art, the network configures the maximum transport block (TB) size allowed by the current network for the terminal device through system information, and the terminal device judges the data volume of the data to be transmitted. If the data volume is less than the maximum TB size, the terminal device can initiate early data transmission (EDT) transmission. Otherwise, the terminal device uses a normal connection establishment process to enter a connected state to transmit data. However, after introducing small data transmission, how to configure or use uplink transmission resources is a problem to be solved. SUMMARY

[0003] To solve the above technical problems, the embodiments of the present application provide a data transmission method, a terminal device, a network device, a chip, a computer readable storage medium, a computer program product and a computer program.

[0004] In a first aspect, a data transmission method is provided, comprising:

[0005] The terminal device is in an inactive state, and transmits data to be transmitted to the network device on a first resource; wherein the first resource is one of a plurality of available resources.

[0006] In a second aspect, a data transmission method is provided, comprising:

[0007] The network device receives data to be transmitted on a first resource; wherein the first resource is one of a plurality of available resources.

[0008] In a third aspect, a terminal device is provided, comprising:

[0009] The first communication unit is in an inactive state, and transmits data to be transmitted to the network device on a first resource; wherein the first resource is one of a plurality of available resources.

[0010] In a fourth aspect, a network device is provided, comprising:

[0011] The second communication unit receives data to be transmitted on a first resource; wherein the first resource is one of a plurality of available resources.

[0012] In a fifth aspect, a terminal device is provided, comprising: a processor and a memory for storing a computer program capable of running on the processor,

[0013] The memory is configured to store a computer program, and the processor is configured to invoke and run the computer program stored in the memory to execute the steps of the method.

[0014] In a sixth aspect, a network device is provided, comprising: a processor and a memory configured to store a computer program capable of running on the processor,

[0015] The memory is configured to store a computer program, and the processor is configured to invoke and run the computer program stored in the memory to execute the steps of the method.

[0016] In a seventh aspect, a chip is provided, comprising: a processor configured to invoke and run a computer program from a memory, so that a device installed with the chip executes the method as described above.

[0017] In an eighth aspect, a computer readable storage medium is provided, configured to store a computer program, the computer program causing a computer to execute the steps of the method as described above.

[0018] In a ninth aspect, a computer program product is provided, comprising computer program instructions, the computer program instructions causing a computer to execute the method as described above.

[0019] In a tenth aspect, a computer program is provided, the computer program causing a computer to execute the method as described above.

[0020] By adopting the scheme provided in the embodiment, a first resource is selected from available resources for transmission of to-be-transmitted data. The above scheme provides a process of selecting an uplink transmission resource that best meets current needs from available resources. BRIEF DESCRIPTION OF DRAWINGS

[0021] Figure 1-1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application;

[0022] Figure 1-2 is a schematic diagram of EDT processing in the related art;

[0023] Figure 1-3 is a schematic diagram of a four-step random access processing flow;

[0024] Figure 1-4 is a schematic diagram of a two-step random access processing flow;

[0025] Figure 2 is a schematic diagram of a data transmission method flow provided by an embodiment of the present application;

[0026] Figure 3This is a schematic flowchart of a data transmission method provided in an embodiment of this application. Figure 2 ;

[0027] Figure 4 This is a schematic flowchart of a data transmission method provided in an embodiment of this application. Figure 3 ;

[0028] Figure 5 This is a schematic diagram of a processing scenario provided in an embodiment of this application;

[0029] Figure 6 This is a schematic flowchart of a data transmission method provided in an embodiment of this application. Figure 4 ;

[0030] Figure 7 This is a schematic diagram of a processing scenario provided in an embodiment of this application. Figure 2 ;

[0031] Figure 8 This is a schematic flowchart of a data transmission method provided in an embodiment of this application. Figure 5 ;

[0032] Figure 9 This is a schematic diagram of the composition structure of a terminal device provided in an embodiment of this application;

[0033] Figure 10 This is a schematic diagram of the network device composition structure provided in an embodiment of this application;

[0034] Figure 11 This is a schematic diagram of the composition structure of a communication device provided in an embodiment of the present invention;

[0035] Figure 12 This is a schematic block diagram of a chip provided in an embodiment of this application;

[0036] Figure 13 This is an illustrative example of a communication system architecture provided in an embodiment of this application. Figure 2 . Detailed Implementation

[0037] To gain a more detailed understanding of the features and technical content of the embodiments of the present invention, the implementation of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and illustration only and are not intended to limit the embodiments of the present invention.

[0038] The technical solutions of the embodiments of this application will now be described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0039] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, a Global System of Mobile communication (GSM) system, a Code Division Multiple Access (CDMA) system, a Wideband Code Division Multiple Access (WCDMA) system, a General Packet Radio Service (GPRS), a Long Term Evolution (LTE) system, an LTE Frequency Division Duplex (FDD) system, an LTE Time Division Duplex (TDD), a Universal Mobile Telecommunication System (UMTS), a Worldwide Interoperability for Microwave Access (WiMAX) communication system, or a 5G system, etc.

[0040] For example, the communication system 100 to which the embodiments of the present application are applied can be as shown in FIG. 1. Figure 1-1 The communication system 100 can include a network device 110, which can be a device communicating with a UE 120 (or called a communication terminal device, a terminal device). The network device 110 can provide communication coverage for a specific geographic area and can communicate with the UEs located within the coverage area. Optionally, the network device 110 can be a network device (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a network device (NodeB, NB) in a WCDMA system, or an evolved network device (eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (CRAN), or 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 (PLMN), etc.

[0041] The communication system 100 further includes at least one UE 120 located within the coverage area of the network equipment 110. As used herein, a "UE" includes, but is not limited to, a device configured to connect to a wired line, such as a Public Switched Telephone Network (PSTN), a Digital Subscriber Line (DSL), a digital cable, a direct cable connection; and / or another data connection / network; and / or a device configured to connect to 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 another UE configured to receive / transmit communication signals; and / or an Internet of Things (IoT) device. A UE configured to communicate over a wireless interface can be referred to as a "wireless communication terminal device", "wireless terminal device", or "mobile terminal device".

[0042] With the pursuit of rate, delay, high mobility, energy efficiency and the diversity and complexity of services in future life, the 3GPP international standard organization began to develop 5G. The main application scenarios of 5G are: enhanced mobile broadband (eMBB), low latency and high reliability communication (URLLC), and large-scale machine type communication (mMTC). eMBB still aims to provide multimedia content, services and data for users, and its demand is growing rapidly. On the other hand, since eMBB can be deployed in different scenarios, such as indoor, urban, rural, etc., the difference in its capabilities and requirements is also relatively large, so it cannot be generalized and must be analyzed in detail in combination with the specific deployment scenario. Typical applications of URLLC include: industrial automation, power automation, remote medical operations (surgery), traffic safety protection, etc. The typical characteristics of mMTC include: high connection density, small data volume, delay-insensitive services, low cost and long service life of modules, etc.

[0043] In the early deployment of NR, it is difficult to obtain complete NR coverage, so the typical network coverage is the wide-area LTE coverage and the NR island coverage mode. Moreover, a large number of LTE deployments are below 6 GHz, and there are few 6 GHz below spectrum available for 5G. Therefore, NR must study the application of spectrum above 6 GHz, and the coverage of high frequency band is limited and the signal fades quickly. At the same time, in order to protect the early investment of mobile operators in LTE, the working mode of tight interworking between LTE and NR is proposed. NR can also work independently. In 5G, the maximum channel bandwidth can be 400 MHZ (wideband carrier), which is much larger than the maximum 20M bandwidth of LTE.

[0044] In LTE, early data transmission (EDT) has been introduced, which can be referred to as small data transmission. In the process of small data transmission, a terminal device can always remain in an idle state or a suspend state or an inactive state to complete uplink and / or downlink small data packet transmission. For example, a flow of a user plane transmission scheme as shown in Figure 1-2 After a random access preamble is sent and a random access response is completed between a terminal device and a network device (eNB), steps 1-4: the terminal device sends an RRC connection resume request, which can include a resume ID, a resume cause, a short resume (shortResume) MAC-I, and uplink data. The network side performs UE context resume processing, including context resume request processing between the network side eNB and the MME and the S-GW, bearer adjustment, and UE context resume response processing. Steps 5-6: uplink data and downlink data transmission between the eNB and the S-GW; steps 7-8: the S-GW sends the MME to adjust the bearer, the MME triggers the eNB to perform the SI suspend procedure, and finally the eNB notifies the UE to release the RRC connection. For the above data transmission flow, the terminal device actually completes small data packet transmission without entering a connected state. This type of transmission is different from MBB service transmission in a connected state.

[0045] In configuration, the network configures a maximum TBsize allowed for transmission in the current network on SIB (system information block) 2. The terminal device judges the amount of data to be transmitted. If the amount of data to be transmitted is less than the broadcasted maximum TB size, the terminal device can initiate EDT transmission. Otherwise, the terminal device uses a normal connection establishment process to enter a connected state to transmit data.

[0046] In the traditional four-step contention-based random access mechanism, the random access process is mainly triggered by the following events:

[0047] -Initial access from RRC_IDLE (initial access from RRC idle state);

[0048] -RRC Connection Re-establishment procedure (RRC connection re-establishment procedure);

[0049] -Handover (handover);

[0050] - DL or UL data arrival during RRC_CONNECTED when UL synchronisation status is "non-synchronised"; (uplink or downlink data arrival in RRC-CONNECTED state when uplink synchronization status is "non-synchronized")

[0051] - UL data arrival during RRC_CONNECTED when there are no PUCCH resources for SR available; (uplink data arrival in RRC-CONNECTED state when there are no PUCCH resources for SR available)

[0052] - SR failure; (SR failure)

[0053] - Request by RRC upon synchronous reconfiguration; (synchronous reconfiguration is requested by RRC)

[0054] - Transition from RRC_INACTIVE; (transition from RRC-INACTIVE state)

[0055] - To establish time alignment at SCell addition; (time alignment is established at SCell addition)

[0056] - Request for Other SI (see subclause 7.3); (request for Other SI)

[0057] - Beam failure recovery. (beam failure recovery)

[0058] For the existing four-step contention-based random access procedure, as shown in FIG. 1, the detailed steps are as follows: Figure 1-3

[0059] 1. The terminal selects a PRACH resource (time-frequency resource and code domain resource), and sends the selected preamble on the selected PRACH time-frequency resource. The base station can estimate the uplink timing and the grant (authorized resource) size required by the terminal to transmit the third part of the message based on the preamble.

[0060] ​2. The network device sends a random access response (RAR) to the terminal; after the terminal sends a first step message (msg1), a RAR window is opened, and the terminal monitors a PDCCH in the window. The PDCCH is a PDCCH scrambled by a RA-RNTI.

[0061] 3. The terminal performs a scheduling transmission, that is, transmits an RRC (Radio Resource Control) message on a scheduling resource. The msg3 message is mainly used to inform the network that the RACH procedure is triggered by what event. For example, if it is an initial access random procedure, the UE ID and establishment cause are carried in the msg3; if it is an RRC reestablishment, the connected UE identifier and establishment cause are carried; at the same time, the ID carried by the msg3 can make the contention conflict be solved in the fourth part.

[0062] 4. Contention conflict resolution, that is, msg4, msg4 has two functions, one is used for contention conflict resolution; the second is to transmit an RRC configuration message to the terminal.

[0063] Two-step random access can reduce signaling overhead. As shown in Figure 1-4 , the basic way of two-step random access is that msgA transmits msg1+msg3 of four-step RACH, and msgB transmits msg2+msg4 of four-step RACH.

[0064] It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and / or" herein is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, the character " / " herein generally represents an "or" relationship between the associated objects before and after it.

[0065] In order to enable 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 will be described in detail below, and the attached drawings are only used for reference and do not limit the embodiments of the present application.

[0066] The embodiments of the present application provide a data transmission method, as shown in Figure 2 , comprising:

[0067] Step 21: The terminal device in an inactive state sends the data to be transmitted to the network device on a first resource; wherein the first resource is one of a plurality of available resources.

[0068] Correspondingly, a data transmission method on the network device side, as shown inFigure 3 As shown, comprising:

[0069] Step 31: the network device receives the to-be-transmitted data on the first resource; wherein the first resource is one of the plurality of available resources.

[0070] In this embodiment, the to-be-transmitted data can be small data (Small Data) and / or connection request data.

[0071] The network device can be a base station on the network side, such as eNB, gNB, etc.

[0072] Before performing the above scheme provided by the embodiment, the terminal device can also receive configuration information; that is, the network device can configure the terminal device, which can specifically include: receiving a first message of the network device, the first message being used to indicate the plurality of available resources. Correspondingly, the network device sends the first message to the terminal device.

[0073] Each available resource in the plurality of available resources includes an uplink transmission resource, specifically, each available resource in the plurality of available resources includes a physical uplink shared channel (PUSCH, Physical Uplink ShareCHannel) resource.

[0074] The first resource includes a first PUSCH resource. And the TB size of the first PUSCH resource is not less than the size of the to-be-transmitted data.

[0075] That is, the first resource includes a first PUSCH resource, which is a resource with a transport block size (TB Size) greater than the size of the to-be-transmitted data.

[0076] In one case,

[0077] The first message is a system message. For example, it can be carried by MIB (Master Information Block) and / or system information block SIB, which is not exhaustive here.

[0078] The sending of the to-be-transmitted data to the network device on the first resource includes:

[0079] On the first resource, a random access request is sent to the network device, and the random access request includes the to-be-transmitted data. Correspondingly, the network device receives the random access request sent by the terminal device on the first resource, and the random access request includes the to-be-transmitted data.

[0080] The random access request includes message A msgA;

[0081] In this case, the first resource includes a first random access occasion (RO) resource and the first PUSCH resource.

[0082] The first RO resource is used for transmitting a first preamble of the msgA, and the first PUSCH resource is used for transmitting the to-be-transmitted data.

[0083] Specifically, the msgA is composed of a preamble and the to-be-transmitted data. The to-be-transmitted data can specifically include the aforementioned application layer data, i.e., small data, and / or connection request information, such as a radio resource control (RRC) resume request.

[0084] It should be understood that the available resource included in the first message is one or more, or N (N is greater than or equal to 1); and / or, the RO resource included in the first message is one or more RO resources, or M RO resources (M is greater than or equal to 1). M and N can be the same or different.

[0085] In this case, each available resource in the plurality of available resources includes an RO resource and a PUSCH resource, and the PUSCH resource and the RO resource have a first mapping relationship; wherein the first RO resource corresponding to the first PUSCH resource is determined based on the first mapping relationship.

[0086] The PUSCH resource and the preamble have a second mapping relationship; wherein the first preamble corresponding to the first PUSCH resource is determined based on the second mapping relationship.

[0087] It can be understood that, in the first message, in addition to configuring one or more (N) PUSCH resources and / or one or more (M) RO resources, the first mapping relationship and the second mapping relationship can also be configured.

[0088] Further, in the first mapping relationship, the corresponding relationship between N uplink transmission resources and M RO resources is included. Here, N can be equal to M, that is, the uplink transmission resource can be one-to-one corresponding to the RO resource, or N can not be equal to M, that is, the uplink transmission resource and the RO resource can be a one-to-many or many-to-one mapping relationship. In the second mapping relationship, N uplink transmission resources can correspond to L (L is an integer greater than or equal to 1) preambles; N can be equal to L, that is, the uplink transmission resource and the preamble are in a one-to-one correspondence, or N can not be equal to L, that is, the uplink transmission resource and the preamble are in a one-to-many or many-to-one correspondence.

[0089] That is, the terminal device can determine the first RO resource corresponding to the first PUSCH according to the first mapping relationship when sending the MSGA, and / or can determine the first preamble corresponding to the first PUSCH according to the second mapping relationship; and then, the MSGA containing the to-be-transmitted data is transmitted by using the first PUSCH with the first preamble and / or the first RO resource.

[0090] In another case, the first message is a preconfigured grant message.

[0091] The preconfigured grant message is a radio resource control (RRC) signaling.

[0092] In this case, the first resource is the first PUSCH resource, and the first PUSCH resource is used for transmitting the to-be-transmitted data.

[0093] The difference between the present case and the previous case is that the present case is for a Configured Grant (CG) scenario. Regarding the CG scenario, specifically, in order to better serve periodic services, the concept of preconfigured resources is introduced, which is called Semi-Persistent Scheduling (SPS) in the downlink and Configured Grant (CG) in the uplink. NR supports the following two types of uplink configured grant transmissions:

[0094] Physical uplink shared channel (PUSCH) transmission based on the first type of configured grant (configured grant Type 1): The network radio resource control (RRC) configures all transmission resources and transmission parameters including time domain resources, frequency domain resources, period of time domain resources, MCS, number of repetitions, frequency hopping, number of HARQ processes, etc. After receiving the RRC configuration, the terminal can immediately use the configured transmission parameters to perform PUSCH transmission on the configured time-frequency resources.

[0095] PUSCH transmission based on configured grant Type 2: two-step resource configuration is adopted: first, the network RRC configures the transmission resource and transmission parameters including the period of time domain resource, the number of repetitions, frequency hopping, the number of HARQ processes, etc.; then the PDCCH using CS-RNTI scrambling activates the second type of configured grant based PUSCH transmission, and at the same time configures other transmission resources and transmission parameters including time domain resources, frequency domain resources, MCS, etc. The terminal device cannot use the resources and parameters configured by the RRC configuration parameters for PUSCH transmission immediately after receiving the RRC configuration parameters, but must wait to receive the corresponding PDCCH activation and configure other resources and parameters before it can perform PUSCH transmission.

[0096] The present case is mainly applicable to the scenario of the first type of configured grant (configured grant Type 1) physical uplink shared channel (PUSCH) transmission. That is, the first message is the RRC signaling for CG resource configuration, which can include multiple available resources; each available resource includes an uplink transmission resource, specifically each available resource includes a physical uplink shared channel (PUSCH) resource.

[0097] Further, before the terminal device sends the to-be-transmitted data to the network device on the first resource, the method further includes: the terminal device maintains a valid timing advance (TA) value, and the valid TA value is used for the terminal device to perform uplink synchronization. That is, within a period of time, the moving distance of the terminal device is limited, and the TA value within this period of time can be defaulted to be unchanged to realize uplink synchronization.

[0098] Based on this, the present embodiment combines the following multiple examples to explain how to determine the first resource:

[0099] Example 1,

[0100] Referring to Figure 4 , the scheme provided by the present example can include:

[0101] Step 41, the terminal device receives the first message; correspondingly, the network device sends the first message.

[0102] The first message is a system message.

[0103] The system message includes a master information block (MIB, Master Information Block) and / or a system information block (SIB, System Information Block).

[0104] For example, the network device can send a system broadcast message to the terminal device; wherein, the network device can be a network device (base station, such as eNB or gNB, etc.) of a serving cell of the terminal device.

[0105] The 2-step RACH resource is configured in the system broadcast message, specifically, the MSGA resource of the 2-step RACH resource; wherein, the RO and / or uplink transmission resource can be included.

[0106] Here, the uplink transmission resource can be a PUSCH resource.

[0107] Further, the uplink transmission resource, that is, the PUSCH resource, can be N sets, wherein the TB size of each set of PUSCH resources is different.

[0108] In addition, the mapping relationship of the PUSCH resource can be:

[0109] The first mapping relationship includes: M sets of RO resources and N sets of PUSCH resources, which can be one-to-one mapped or not one-to-one mapped, which has been described in the foregoing embodiments and will not be repeated here;

[0110] And / or, the second mapping relationship, which includes the corresponding relationship between one set of RO resources, L preamble (groups) and N sets of PUSCH resources; when L and N are the same, the preamble (group) can correspond to the PUSCH resource one-to-one, and when L and N are different, the preamble and the PUSCH can not correspond one-to-one, which has been described in the foregoing embodiments and will not be repeated here.

[0111] Step 42, in the case that the terminal device is in an inactive state, determining the first resource from the plurality of available resources.

[0112] The determination of the first resource from the plurality of available resources includes: determining the available resource in the plurality of available resources, whose TB size of the PUSCH resource is not less than the size of the to-be-transmitted data and meets a preset condition, as the first resource.

[0113] In this example, the preset condition includes at least one of the following:

[0114] The first available resource in the plurality of available resources, whose TB size of the PUSCH resource is not less than the size of the to-be-transmitted data;

[0115] The available resource in the plurality of available resources, whose TB size of the PUSCH resource is not less than the size of the to-be-transmitted data, with the smallest TB size of the PUSCH resource.

[0116] Specifically,

[0117] In the case that the terminal device is in the inactive state, it is determined whether the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the available resources configured in the first message. According to the determination result, the following two kinds of processing can exist:

[0118] The first kind of processing is that,

[0119] if the data amount of the to-be-transmitted data is greater than the size of the maximum TB in the available resources configured in the first message,

[0120] the terminal device triggers a radio resource control (RRC) resume procedure, and transmits the to-be-transmitted data after entering the connected state.

[0121] For example, if the data amount of the to-be-transmitted data is greater than the size of the maximum TB in the uplink transmission resources configured in the first message, an RRC resume procedure is triggered.

[0122] It should be noted that in the triggered RRC resume procedure, the terminal device does not carry data when transmitting an RRCResumeRequest.

[0123] In this processing, the terminal device can trigger a resume procedure, enter the connected state after sending the RRC resume request, and send the to-be-transmitted data.

[0124] That is to say, if the data amount that can be transmitted by all the currently configured uplink transmission resources is less than the data amount of the to-be-transmitted data, the to-be-transmitted data cannot be transmitted through any one of the resources configured in step 41, and therefore, the transmission of the to-be-transmitted data can be performed after entering the connected state by triggering the RRC resume procedure. Details of how the terminal device enters the connected state and the processing of the terminal device sending the to-be-transmitted data in the connected state will not be repeated here.

[0125] The second kind of processing is that,

[0126] if the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the available resources configured in the first message,

[0127] the terminal device determines, as the first resource, the available resource in the plurality of available resources whose TB size is not less than the size of the to-be-transmitted data and meets a preset condition.

[0128] Further, if the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the uplink transmission resources configured in the first message, the terminal device remains in the inactive state and selects the first resource from the available resources.

[0129] The first resource can be selected according to a preset condition, for example, one of the following two ways can be included:

[0130] One way is to determine the first available resource whose TB size of PUSCH resource is not less than the size of the data to be transmitted as the first resource.

[0131] Specifically, the terminal device can select the first available resource whose TB size is not less than the amount of data to be transmitted as the first resource, and use the corresponding first RO / first preamble to transmit MsgA.

[0132] It should be understood that the first available resource mentioned above can be the available resource whose time domain position is closest to the current time.

[0133] Alternatively, another way is to determine the available resource whose TB size of PUSCH resource is the smallest among the available resources whose TB size of PUSCH resource is not less than the size of the data to be transmitted as the first resource.

[0134] The terminal device can select the uplink transmission resource whose TB size is the smallest to meet the data amount of the data to be transmitted from the available resources as the first resource (first PUSCH resource).

[0135] In the second processing, after the first resource is selected based on the foregoing processing, the corresponding first RO resource and / or first preamble can be determined according to the first mapping relationship and the second mapping relationship, and then the following can also be included:

[0136] Step 43, sending a random access request to the network device on the first resource, the random access request including the data to be transmitted.

[0137] The random access request includes a message A msg A, the first resource includes a first random access occasion RO resource and the first PUSCH resource, the first RO resource is used to transmit the first preamble of the msg A, and the first PUSCH resource is used to transmit the data to be transmitted.

[0138] The terminal device transmits the MSGA containing the data to be transmitted by using the first RO resource and / or first preamble and the first resource. The specific processing manner has been described in the foregoing embodiments, and will not be repeated here.

[0139] In combination with Figure 5 The scheme provided in the example is explained, assuming that three uplink transmission resources are configured through the first message, which are PUSCH1, 2, and 3 respectively.

[0140] When the terminal device has data data1 to be transmitted, it is determined according to the configured uplink transmission resource that there is a PUSCH2 available uplink transmission resource whose TB size size is greater than the data amount (size) of data1, and in addition, the PUSCH2 is an available resource that meets a preset condition, so the PUSCH2 is used as the first resource to transmit data1.

[0141] Then, when the terminal device has data data2 to be transmitted, at this time, the TBS of the PUSCH1, 2 and 3 configured by the first message is all less than the data amount of data2, so the terminal device does not select any PUSCH resource for the transmission of data2, but transmits data2 after entering the connected state.

[0142] The foregoing scheme of the present example is a scheme description performed by sending a random access request to the network device through the first resource.

[0143] Example 2,

[0144] The difference between the present example and example 1 is that the preset condition is different, specifically:

[0145] The preset condition includes at least one of the following:

[0146] The first available resource in the plurality of available resources, the TB size of the PUSCH resource is not less than the size of the data to be transmitted;

[0147] The available resource in the plurality of available resources, the TB size of the PUSCH resource is not less than the size of the data to be transmitted, and the TB size of the PUSCH resource is the smallest in the plurality of available resources;

[0148] Satisfy the delay requirement of the data to be transmitted.

[0149] The condition of satisfying the delay requirement of the data to be transmitted can be used in combination with the first condition, or can be used in combination with the second condition.

[0150] The present example combines Figure 6 will be described in detail:

[0151] Step 61 is the same as step 41, and will not be described again.

[0152] Step 62, in the case that the terminal device is in an inactive state, the available resource in the plurality of available resources, the TB size of the PUSCH resource is not less than the size of the data to be transmitted, and satisfies the preset condition, is determined as the first resource.

[0153] Specifically, it can be determined whether there is an available resource that meets the delay requirement of the data to be transmitted in the plurality of available resources.

[0154] If there is, determine whether the TB size of the PUSCH resource is not less than the size of the to-be-transmitted data in the available resources that meet the latency requirement of the to-be-transmitted data.

[0155] It should be noted that before performing this step, the terminal device also needs to obtain the latency requirement for the to-be-transmitted data in advance.

[0156] The latency requirement for the to-be-transmitted data can be the packet delay budget (PDB) indicated by the application layer when the data is submitted to the access layer when the UE in the inactive state initiates small data transmission. Of course, the latency requirement can also be preset, which is not enumerated here.

[0157] In this step, the latency requirement of the to-be-transmitted data can be understood as the time length between the arrival of the to-be-transmitted data and the sending time, or can be understood as the to-be-transmitted data needs to be sent within a specified time length after arrival, which can be the latency requirement.

[0158] In this step, the terminal device selects the MsgA resource available within the latency requirement of the to-be-transmitted data (or small data) or the PUSCH TBS size information of the available MsgA resource according to the latency requirement of the to-be-transmitted data, and then determines whether the to-be-transmitted data amount is not greater than the maximum TB size in the available resources.

[0159] Specifically, the terminal device in the inactive state determines whether there is a candidate uplink transmission resource that meets the latency requirement of the to-be-transmitted data in the available resources configured in the first message.

[0160] That is, after the arrival of the to-be-transmitted data of the terminal device, it is determined whether there is a resource that meets the latency requirement (or within the time length corresponding to the latency requirement) in the available resources according to the latency requirement of the to-be-transmitted data. According to the determination result, there can be two processing branches:

[0161] The first processing,

[0162] If there is no available resource that meets the latency requirement of the to-be-transmitted data, the terminal device triggers a radio resource control (RRC) recovery process and enters a connected state to transmit the to-be-transmitted data. The processing of entering the connected state to transmit the to-be-transmitted data is the same as described in Example 1 above, and will not be repeated here.

[0163] The second processing,

[0164] If there is available resource satisfying the latency requirement of the to-be-transmitted data, it is determined whether the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the available resource satisfying the latency requirement of the to-be-transmitted data.

[0165] That is, in the case where there is available resource satisfying the latency requirement, it is further determined whether the TB size of the PUSCH resource in the available resource satisfying the latency requirement is all not greater than the data amount of the to-be-transmitted data.

[0166] In the present processing, according to the determination result, there are the following two cases:

[0167] The first case,

[0168] Step 63, if the data amount of the to-be-transmitted data is greater than the size of the maximum TB in the available resource satisfying the latency requirement, the terminal device triggers a radio resource control (RRC) recovery process, enters a connected state, and then transmits the to-be-transmitted data, and then ends the processing. The processing of the terminal device entering the connected state to transmit the to-be-transmitted data is the same as that in the foregoing example 1, and will not be repeated.

[0169] The second case,

[0170] Step 64, if the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the available resource satisfying the latency requirement, the terminal device selects a first resource from the available resource satisfying the latency requirement of the to-be-transmitted data.

[0171] That is, in this case, if the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the uplink transmission resource configured in the first message, the terminal device remains in the inactive state, and further selects an available resource whose TB size is greater than the data amount of the to-be-transmitted data.

[0172] Further, in combination with a preset condition, the first available resource in the available resource can be selected, or the uplink transmission resource whose TB size is the smallest in the available resource can be selected. The specific processing is the same as that in the foregoing example 1, and will not be repeated.

[0173] That is, the first resource selected based on the present example is the first available resource whose TB size of the PUSCH resource in the available resource satisfying the latency requirement of the to-be-transmitted data is not less than the size of the to-be-transmitted data;

[0174] Or, the first resource selected based on the present example is the available resource whose TB size of the PUSCH resource is the smallest in the multiple available resources whose PUSCH resource is not less than the size of the to-be-transmitted data in the available resource satisfying the latency requirement of the to-be-transmitted data.

[0175] In this case, after selecting the first resource, the corresponding first RO resource and / or first preamble can be determined according to the first mapping relationship and the second mapping relationship, and then step 65 can be further included, that is, the terminal device sends a random access request to the network device on the first resource, and the random access request includes the to-be-transmitted data. The specific processing is the same as the foregoing examples, and will not be described herein again.

[0176] In combination Figure 7 The scheme provided in the present example is described by assuming that three uplink transmission resources are configured through the first message.

[0177] When the to-be-transmitted data data1 arrives at the terminal device, a candidate uplink transmission resource that meets the latency requirement of the data1 is selected from the configured uplink transmission resources according to the latency requirement of the data1, and the candidate uplink transmission resources are PUSCH1, 2, and 3 in the figure.

[0178] Then, it is determined whether the data size of the to-be-transmitted data data1 is not greater than the maximum TBS (TB size) of the candidate uplink transmission resource. Assuming that the TB sizes corresponding to PUSCH1, 2, and 3 are represented as TBS1, 2, and 3 respectively, after the determination, it is determined that the data size of the data1 is greater than TBS1 and less than TBS2 and TBS3.

[0179] Then, the available resources are PUSCH2 and 3. Then, according to the preset condition, the one with the minimum TBS in PUSCH2 and 3 is selected as the first resource, that is, the minimum PUSCH3 that meets the latency requirement and the data size requirement of the data is selected as the first resource, and the data1 is transmitted through the PUSCH3.

[0180] In addition to the above-mentioned manner corresponding to the flow, another processing manner can be included in the selection of the resource in the present example, which is described as follows.

[0181] In the case that the terminal device is in an inactive state, it is determined whether the data size of the to-be-transmitted data is not greater than the maximum TB size in the available resources configured in the first message.

[0182] If the data size of the to-be-transmitted data is not greater than the maximum TB size in the available resources,

[0183] then the terminal device selects, from the available resources, an available resource whose TB size is not less than the data size of the to-be-transmitted data and that meets the latency requirement of the to-be-transmitted data, and then selects the first available resource from the selected available resources as the first resource, or selects the available resource with the minimum TB size from the selected available resources as the first resource.

[0184] Here, if there is no uplink transmission resource satisfying the latency requirement of the to-be-transmitted data, the terminal device triggers a radio resource control (RRC) recovery procedure to enter a connected state and then transmits the to-be-transmitted data.

[0185] Example 3,

[0186] The difference between this example and example 1 is that in this example, a preset condition is added when the first resource is determined, and specifically:

[0187] The preset condition includes at least one of the following:

[0188] The first available resource in which the TB size of the PUSCH resource is not less than the size of the to-be-transmitted data in the plurality of available resources;

[0189] The available resource in which the TB size of the PUSCH resource is the smallest in the plurality of available resources in which the TB size of the PUSCH resource is not less than the size of the to-be-transmitted data;

[0190] Matches an access stratum (AS) configuration parameter.

[0191] This example, in combination with Figure 8 is described, which can include the following steps:

[0192] Step 81 is the same as step 41, and will not be repeated here.

[0193] Then, the terminal device determines, as the first resource, an available resource in which the TB size of the PUSCH resource is not less than the size of the to-be-transmitted data and satisfies the preset condition from the plurality of available resources.

[0194] Specifically, for step 82, in the inactive state, the first resource is determined from the available resources according to the access stratum (AS) configuration parameter corresponding to the to-be-transmitted data and the data amount of the to-be-transmitted data.

[0195] When a terminal device in an inactive state initiates small data transmission, at least one available MSGA resource configuration is determined according to the AS layer (access stratum) configuration parameter corresponding to the small data and the size of the to-be-transmitted data amount.

[0196] Here, the AS configuration parameter includes at least one of the following:

[0197] The logical channel corresponding to the to-be-transmitted data;

[0198] The MSGA resource that can be used by the to-be-transmitted data.

[0199] That is, the AS layer configuration parameter can be a logical channel corresponding to the small data; or, it can also be a special configuration information indicating that the small data can be transmitted on which MSGA resource, and specifically, on which uplink transmission resource in which MSGA.

[0200] The AS configuration parameter can be pre-configured; for example, it can be configured by a network device (such as a base station) to a terminal device when a connection between the terminal device and the network device is released.

[0201] Further, the logical channel corresponding to the to-be-transmitted data has a third mapping relationship with the uplink transmission resource; and / or, the MSGA resource available to the to-be-transmitted data includes at least one uplink transmission resource.

[0202] Specifically, it can include:

[0203] It is judged whether there is an available resource corresponding to the AS configuration parameter in the available resource configured by the first message. If not, the terminal device triggers a radio resource control (RRC) recovery process, transmits the to-be-transmitted data after entering a connected state, and then ends the processing. The processing of the terminal device entering the connected state to transmit the to-be-transmitted data is the same as that in the foregoing example 1, and will not be repeated here.

[0204] If there is, it is further judged whether the size of the maximum TB of the available resource corresponding to the AS configuration parameter is not less than the data amount of the to-be-transmitted data. If less, the terminal device triggers an RRC recovery process, transmits the to-be-transmitted data after entering a connected state, and ends the processing.

[0205] If not less, an available resource with a TB greater than the to-be-transmitted data amount is selected from the available resource corresponding to the AS configuration parameter.

[0206] Alternatively, in the selection of the available resource, the following steps can be included:

[0207] It is judged whether the size of the maximum TB of the available resource configured by the first message is not less than the data amount of the to-be-transmitted data.

[0208] If less, the terminal device triggers an RRC recovery process, transmits the to-be-transmitted data after entering a connected state, and ends the processing.

[0209] If not less, an available resource with a TB not less than the to-be-transmitted data amount is selected from the available resource, and it is judged whether there is an available resource corresponding to the AS configuration parameter in the available resource with a TB not less than the to-be-transmitted data amount.

[0210] If not, the terminal device triggers a radio resource control (RRC) recovery process, enters a connected state, transmits the to-be-transmitted data, and then ends the process.

[0211] If so, the first available resource or the smallest available resource from the available resources corresponding to the AS configuration parameter is selected as the first resource, and the specific description is the same as the foregoing example, which is not repeated here.

[0212] Further, the available resources corresponding to the AS configuration parameter can be determined according to the foregoing third mapping relationship, that is, whether there is an uplink transmission resource matched with a logical channel corresponding to the to-be-transmitted data; or, at least one uplink transmission resource is contained in the MSGA resource that can be used by the to-be-transmitted data in the AS configuration parameter.

[0213] Step 83, a random access request is sent to the network device on the first resource, and the random access request includes the to-be-transmitted data. The specific process is the same as the foregoing example, which is not repeated here.

[0214] It should also be understood that the foregoing examples 2 and 3 can be combined, or the foregoing examples 1, 2, and 3 can be used separately. That is, it can be understood that the foregoing preset conditions can be used in combination, and the preset conditions include:

[0215] The first available resource in which the TB size of the PUSCH resource in the plurality of available resources is not less than the size of the to-be-transmitted data;

[0216] The available resource in which the TB size of the PUSCH resource in the plurality of available resources is not less than the size of the to-be-transmitted data, and the TB size of the PUSCH resource in the available resource is the smallest;

[0217] The delay requirement of the to-be-transmitted data is met;

[0218] The access stratum (AS) configuration parameter is matched.

[0219] If examples 2 and 3 are combined, for example, when determining the resource, the delay requirement of the to-be-transmitted data, the AS configuration parameter, and the data amount of the to-be-transmitted data can be used together to determine the resource.

[0220] Specifically, it can be determined whether there is a first group of uplink transmission resources that meet the delay requirement in the uplink transmission resources configured by the first message. If not, the terminal device enters a connected state to transmit the to-be-transmitted data.

[0221] If so, it is determined whether there is a second group of uplink transmission resources that match the AS configuration parameter in the first group of uplink transmission resources. If not, the terminal device enters a connected state to transmit the to-be-transmitted data.

[0222] If the maximum TB in the second group of uplink transmission resources is not less than the data amount of the data to be transmitted, the method proceeds to the connected state to transmit the data to be transmitted; otherwise, available resources with a TB not less than the data amount of the data to be transmitted are selected from the second group of uplink transmission resources.

[0223] Further, the first available resource is selected as the first resource, or the available resource with the smallest TB size is selected as the first resource.

[0224] Alternatively, it can be determined whether the third group of uplink transmission resources configured by the first message matches the AS configuration parameters, and if not, the method proceeds to the connected state to transmit the data to be transmitted.

[0225] If the third group of uplink transmission resources exists, it is determined whether the fourth group of uplink transmission resources that meet the delay requirement exist in the third group of uplink transmission resources, and if not, the method proceeds to the connected state to transmit the data to be transmitted.

[0226] If the maximum TB in the fourth group of uplink transmission resources is not less than the data amount of the data to be transmitted, the method proceeds to the connected state to transmit the data to be transmitted; otherwise, available resources with a TB not less than the data amount of the data to be transmitted are selected from the second group of uplink transmission resources.

[0227] Further, the first available resource is selected as the first resource, or the available resource with the smallest TB size is selected as the first resource.

[0228] Alternatively, it can be determined whether the maximum TB of the uplink transmission resources configured by the first message is not less than the data amount of the data to be transmitted, and if not, the method proceeds to the connected state to transmit the data to be transmitted.

[0229] Otherwise, the fifth group of uplink transmission resources with a TB not less than the data amount of the data to be transmitted are selected from the uplink transmission resources configured by the first message.

[0230] If the sixth group of uplink transmission resources that match the AS configuration parameters do not exist in the fifth group of uplink transmission resources, the method proceeds to the connected state to transmit the data to be transmitted.

[0231] If the sixth group of uplink transmission resources exists, it is determined whether the uplink transmission resources that meet the delay requirement exist in the sixth group of uplink transmission resources, and if not, the method proceeds to the connected state to transmit the data to be transmitted; if so, the uplink transmission resources that meet the delay requirement are selected as available resources. Further, the first available resource is selected as the first resource, or the available resource with the smallest TB size is selected as the first resource.

[0232] It needs to be understood that the above is only an example, and the processing sequence is not exhausted here. In summary, the first resource that meets the preset condition is finally selected, which is within the protection scope of the present embodiment.

[0233] In the processing of the transmission for the CG, the processing of how to select the first resource is the same as the aforementioned examples 1-3, and the difference is only in the different configuration manner of the first message, which has been explained in the aforementioned embodiments, and will not be repeated here. In addition, the sending of the to-be-transmitted data according to the selected first resource is also different from the aforementioned examples 1-3. In the scenario of CG transmission, the transmission of the to-be-transmitted data is directly performed according to the selected first resource, and there is no processing of the selection of the RO and / or preamble.

[0234] It can be seen that by adopting the above scheme, the first resource can be selected from the available resources for the transmission of the to-be-transmitted data. The above scheme is especially suitable for the processing of small data transmission with two-step random access, and provides a scheme for selecting the uplink transmission resource that best meets the current needs from the available resources, and also provides a scheme for resource selection in the case of multiple available resources.

[0235] In addition, the scheme of selecting the first PUSCH that meets the data amount requirement in the above embodiment is simple to implement. Further, a way of selecting the PUSCH resource with the smallest TBS that meets the data amount requirement according to the delay requirement is provided, which can further save network resources and is beneficial to terminal energy saving.

[0236] The present embodiment provides a terminal device, as shown in the accompanying drawings, comprising: Figure 9

[0237] The first communication unit 91 sends the to-be-transmitted data to the network device on the first resource in the inactive state, wherein the first resource is one of the plurality of available resources.

[0238] Correspondingly, the to-be-transmitted data sent by the terminal device is received at the network device side. A network device, as shown in the accompanying drawings, comprises: Figure 10

[0239] The second communication unit 1001 receives the to-be-transmitted data on the first resource, wherein the first resource is one of the plurality of available resources.

[0240] In the present embodiment, the to-be-transmitted data can be small data (Small Data) and / or connection request data.

[0241] The network device can be a base station on the network side, such as eNB, gNB, etc.

[0242] ​​Before performing the above scheme provided by the embodiment, the first communication unit 91 of the terminal device can further receive configuration information; that is, the second communication unit 1001 of the network device can configure the terminal device.

[0243] The first message is used to indicate the plurality of available resources.

[0244] Each available resource in the plurality of available resources includes an uplink transmission resource. Specifically, each available resource in the plurality of available resources includes a physical uplink shared channel (PUSCH) resource.

[0245] The first resource includes a first PUSCH resource. Moreover, the TB size of the first PUSCH resource is not less than the size of the to-be-transmitted data.

[0246] That is, the first PUSCH resource included in the first resource is a resource whose transport block size (TB Size) is greater than the size of the to-be-transmitted data.

[0247] In one case,

[0248] The first message is a system message. For example, it can be carried by a master information block (MIB) and / or a system information block (SIB), which is not exhaustively listed here.

[0249] The first communication unit 91 of the terminal device transmits a random access request to the network device on the first resource, and the random access request includes the to-be-transmitted data. Correspondingly, the second communication unit 1001 of the network device receives the random access request transmitted by the terminal device on the first resource, and the random access request includes the to-be-transmitted data.

[0250] The random access request includes a message A (msg A);

[0251] In this case, the first resource includes a first random access occasion (RO) resource and the first PUSCH resource.

[0252] The first RO resource is used to transmit a first preamble of the msg A, and the first PUSCH resource is used to transmit the to-be-transmitted data.

[0253] Specifically, the msg A is composed of a preamble and the to-be-transmitted data. The to-be-transmitted data can specifically include the aforementioned application layer data, that is, small data, and / or connection request information, such as a radio resource control (RRC) resume request (Resume Request).

[0254] In this case, each of the plurality of available resources includes an RO resource and a PUSCH resource, and the PUSCH resource and the RO resource have a first mapping relationship; wherein the first RO resource corresponding to the first PUSCH resource is determined based on the first mapping relationship.

[0255] The PUSCH resource and the preamble have a second mapping relationship; wherein the first preamble corresponding to the first PUSCH resource is determined based on the second mapping relationship.

[0256] In another case, the first message is a preconfigured grant message.

[0257] The preconfigured grant message is a radio resource control (RRC) signaling.

[0258] In this case, the first resource is the first PUSCH resource, and the first PUSCH resource is used to transmit the to-be-transmitted data.

[0259] The difference between this case and the previous case is that this case is for a configured grant (CG) scenario. This case is mainly applicable to the scenario of physical uplink shared channel (PUSCH) transmission of the first type of configured grant (configured grantType 1) described above. That is, the first message is an RRC signaling for CG resource configuration, which can include multiple available resources; wherein each available resource includes an uplink transmission resource, specifically each available resource includes a physical uplink shared channel (PUSCH) resource.

[0260] Further, the terminal device further includes a first processing unit 92 that maintains a valid timing advance (TA) value, which is used for uplink synchronization of the terminal device. That is, within a certain period of time, the moving distance of the terminal device is limited, and the TA value within this period of time can be assumed to be constant to achieve uplink synchronization.

[0261] Based on this, the present embodiment illustrates how to determine the first resource in combination with the following multiple examples:

[0262] Example 1,

[0263] The first communication unit 91 of the terminal device receives a first message;

[0264] The first message is a system message.

[0265] The system message includes a Master Information Block (MIB) and / or a System Information Block (SIB).

[0266] The 2-step RACH resource is configured in the system broadcast message, specifically, a MSGA resource of the 2-step RACH resource; wherein, the RO and / or the uplink transmission resource can be included.

[0267] Here, the uplink transmission resource can be a PUSCH resource.

[0268] Further, the uplink transmission resource, that is, the PUSCH resource, can be N sets, wherein, the TB size of each set of PUSCH resources is different.

[0269] In addition, the mapping relationship of the PUSCH resource can be:

[0270] The first mapping relationship includes: M sets of RO resources and N sets of PUSCH resources, which can be one-to-one mapped or not one-to-one mapped, which has been described in the foregoing embodiments and will not be repeated here;

[0271] And / or, the second mapping relationship, which contains a set of RO resources, L preamble (group) and the corresponding relationship of N sets of PUSCH resources; when L and N are the same, the preamble (group) can be one-to-one corresponding to the PUSCH resource, when L and N are different, the preamble and the PUSCH can not be one-to-one corresponding, which has been described in the foregoing embodiments and will not be repeated here.

[0272] In the inactive state, the first processing unit 92 of the terminal device determines the first resource from the plurality of available resources.

[0273] The first processing unit 92 of the terminal device determines the PUSCH resource in the plurality of available resources as the first resource, which satisfies the preset condition and whose TB size is not less than the size of the to-be-transmitted data.

[0274] In this example, the preset condition includes at least one of the following:

[0275] The first available resource in the plurality of available resources, whose TB size of the PUSCH resource is not less than the size of the to-be-transmitted data;

[0276] The available resource in the plurality of available resources, whose TB size of the PUSCH resource is not less than the size of the to-be-transmitted data, and whose TB size of the PUSCH resource is the smallest.

[0277] The first communication unit 91 of the terminal device transmits a random access request to the network device on the first resource, wherein the random access request comprises the to-be-transmitted data.

[0278] The random access request comprises a message A (msg A), the first resource comprises a first random access occasion (RO) resource and the first PUSCH resource, the first RO resource is used for transmitting a first preamble of the msg A, and the first PUSCH resource is used for transmitting the to-be-transmitted data.

[0279] Example 2,

[0280] The difference between the present example and example 1 lies in different preset conditions, specifically:

[0281] The preset conditions comprise at least one of the following:

[0282] The first available resource in the plurality of available resources, wherein the TB size of the PUSCH resource is not less than the size of the to-be-transmitted data;

[0283] The available resource in the plurality of available resources, wherein the TB size of the PUSCH resource is the smallest in the plurality of available resources, and the TB size of the PUSCH resource is not less than the size of the to-be-transmitted data;

[0284] The delay requirement of the to-be-transmitted data is met.

[0285] The delay requirement of the to-be-transmitted data can be used in combination with the first condition, or can be used in combination with the second condition.

[0286] The present example is combined with Figure 6 and will be described in detail.

[0287] In the inactive state, the first processing unit 92 of the terminal device determines the available resource in the plurality of available resources, wherein the TB size of the PUSCH resource is not less than the size of the to-be-transmitted data, and the available resource meets the preset condition, as the first resource.

[0288] Specifically, it can be judged whether the plurality of available resources comprises an available resource meeting the delay requirement of the to-be-transmitted data.

[0289] If yes, it is judged whether the TB size of the PUSCH resource in the available resource meeting the delay requirement of the to-be-transmitted data is not less than the size of the to-be-transmitted data.

[0290] It should be pointed out that before performing the present step, the terminal device also needs to acquire the delay requirement for the to-be-transmitted data in advance.

[0291] The latency requirement of the to-be-transmitted data can be a packet delay budget (PDB) indicated by the application layer when the data is submitted to the access layer when the UE in the inactive state initiates the small data transmission. Of course, the latency requirement can also be preset, which is not listed here.

[0292] In this step, the latency requirement of the to-be-transmitted data can be understood as the time length between the arrival of the to-be-transmitted data and the sending time, or can be understood as the to-be-transmitted data needing to be sent within a specified time length after arrival. The specified time length can be the latency requirement.

[0293] In this step, the terminal device selects MsgA resources available within the latency requirement of the to-be-transmitted data (or small data) or PUSCH TBS size information of these available MsgA resources according to the latency requirement of the to-be-transmitted data, and then judges whether the to-be-transmitted data amount is not greater than the maximum TB size in these available resources.

[0294] Specifically, the terminal device in the inactive state judges whether there is a candidate uplink transmission resource that meets the latency requirement of the to-be-transmitted data in the available resources configured in the first message.

[0295] That is, after the arrival of the to-be-transmitted data of the terminal device, it is judged according to the latency requirement of the to-be-transmitted data whether there is a resource that meets the latency requirement (or within a time length corresponding to the latency requirement) in the available resources. According to the judgment result, there can be two processing branches:

[0296] The first processing,

[0297] If there is no available resource that meets the latency requirement of the to-be-transmitted data, the terminal device triggers a radio resource control (RRC) recovery process and enters a connected state to transmit the to-be-transmitted data. The processing of entering the connected state to transmit the to-be-transmitted data is the same as described in Example 1 above, and will not be repeated here.

[0298] The second processing,

[0299] If there is an available resource that meets the latency requirement of the to-be-transmitted data, it is judged whether the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the available resource that meets the latency requirement of the to-be-transmitted data.

[0300] That is, in the case where there is an available resource that meets the latency requirement, it is further judged whether the TB size of the PUSCH resource in the available resource that meets the latency requirement is not greater than the data amount of the to-be-transmitted data.

[0301] In the process, according to the judgment result, there are the following two cases:

[0302] The first case,

[0303] If the data amount of the to-be-transmitted data is greater than the size of the maximum TB in the available resource that meets the delay requirement, the first processing unit 92 of the terminal device triggers a radio resource control (RRC) recovery process, enters a connected state to transmit the to-be-transmitted data, and then ends the process. Details are not repeated.

[0304] The second case,

[0305] If the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the available resource that meets the delay requirement, the first processing unit 92 of the terminal device selects a first resource from the available resource that meets the delay requirement of the to-be-transmitted data.

[0306] That is, in this case, if the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the uplink transmission resource configured in the first message, the terminal device remains in an inactive state and further selects an available resource whose TB size is greater than the data amount of the to-be-transmitted data.

[0307] Further, in combination with a preset condition, a first available resource in the available resources can be selected, or an uplink transmission resource whose TB size is the smallest in the available resources can be selected. The specific processing is the same as that in the foregoing example 1, and details are not repeated.

[0308] Example 3,

[0309] The difference between this example and example 1 is that in this example, a preset condition is added when the first resource is determined. Specifically:

[0310] The preset condition includes at least one of the following:

[0311] The first available resource whose TB size of the PUSCH resource is not less than the size of the to-be-transmitted data in the plurality of available resources;

[0312] The available resource whose TB size of the PUSCH resource is the smallest in the plurality of available resources whose PUSCH resource is not less than the size of the to-be-transmitted data;

[0313] Matches an access stratum (AS) configuration parameter.

[0314] The first processing unit 92 of the terminal device determines, as the first resource, an available resource in the plurality of available resources whose TB size of the PUSCH resource is not less than the size of the to-be-transmitted data and meets the preset condition.

[0315] Specifically, in the inactive state, the first resource is determined from the available resources according to the access stratum (AS) configuration parameter corresponding to the to-be-transmitted data and the data amount of the to-be-transmitted data.

[0316] The terminal device in the inactive state initiates small data transmission, and determines at least one available MSGA resource configuration according to the AS layer (access stratum) configuration parameter corresponding to the small data and the size of the to-be-transmitted data amount.

[0317] Here, the AS configuration parameter includes at least one of the following:

[0318] The logical channel corresponding to the to-be-transmitted data;

[0319] The MSGA resource available to the to-be-transmitted data.

[0320] That is, the AS layer configuration parameter can be a logical channel corresponding to the small data, or it can also be a special configuration information indicating that the small data can be transmitted on which MSGA resource, and specifically, on which uplink transmission resource in which MSGA.

[0321] The AS configuration parameter can be preconfigured; for example, it can be configured by the network device (such as a base station) to the terminal device when the last connection between the terminal device and the network device is released.

[0322] Further, the logical channel corresponding to the to-be-transmitted data has a third mapping relationship with the uplink transmission resource; and / or the MSGA resource available to the to-be-transmitted data includes at least one uplink transmission resource.

[0323] Specifically, it can include:

[0324] It is judged whether there is an available resource corresponding to the AS configuration parameter in the available resource of the first message configuration. If not, the terminal device triggers a radio resource control (RRC) recovery process, enters a connected state to transmit the to-be-transmitted data, and then ends the processing. The processing of the terminal device entering the connected state to transmit the to-be-transmitted data is the same as the foregoing example 1, and will not be repeated here.

[0325] If there is, it can be further judged whether the size of the maximum TB of the available resource corresponding to the AS configuration parameter is not less than the data amount of the to-be-transmitted data. If it is less than, the terminal device triggers a radio resource control (RRC) recovery process, enters a connected state to transmit the to-be-transmitted data, and ends the processing.

[0326] If not less than, selecting TB greater than the data amount of the to-be-transmitted data from the available resources corresponding to the AS configuration parameters.

[0327] Alternatively, the step of selecting the available resources can include:

[0328] determining whether the size of the maximum TB of the available resources configured by the first message is not less than the data amount of the to-be-transmitted data;

[0329] If less than, the terminal device triggers a radio resource control (RRC) recovery process, enters a connected state, and then transmits the to-be-transmitted data, and ends the processing.

[0330] If not less than, selecting the available resources whose TB is not less than the data amount of the to-be-transmitted data, and determining whether there is an available resource corresponding to the AS configuration parameters in the available resources whose TB is not less than the data amount of the to-be-transmitted data.

[0331] If not, the terminal device triggers a radio resource control (RRC) recovery process, enters a connected state, and then transmits the to-be-transmitted data, and ends the processing.

[0332] If yes, selecting the first available resource or the smallest available resource as the first resource from the available resources corresponding to the AS configuration parameters, and the specific description is the same as the foregoing examples, which will not be repeated here.

[0333] Further, the available resources corresponding to the AS configuration parameters can be determined according to the foregoing third mapping relationship, whether there is an uplink transmission resource matched with the logical channel corresponding to the to-be-transmitted data; alternatively, it can be determined according to the at least one uplink transmission resource included in the MSGA resource available to the to-be-transmitted data in the AS configuration parameters.

[0334] It should be understood that the foregoing examples 2 and 3 can be combined, or the foregoing examples 1, 2, and 3 can be used independently. No further description is given.

[0335] In the processing of the transmission for the CG, the processing of how to select the first resource is the same as the foregoing examples 1-3, and the only difference is the configuration manner of the first message, which has been described in the foregoing embodiments, and will not be repeated here. In addition, the transmission of the to-be-transmitted data according to the selected first resource is also different from the foregoing examples 1-3. In the CG transmission scenario, the to-be-transmitted data can be directly transmitted according to the selected first resource, and there is no processing of the selection of the RO and / or the preamble.

[0336] It can be seen that by using the above scheme, the first resource can be selected from the available resources for transmission of the to-be-transmitted data. The above scheme is especially suitable for processing of small data transmission in two-step random access, and provides selection of uplink transmission resources that best meet current needs from available resources, and also provides a scheme for resource selection in the presence of multiple available resources.

[0337] In addition, the scheme of selecting the first PUSCH that meets the data amount requirement in the above embodiment is simple to implement, and the way of selecting the PUSCH resource that meets the minimum TBS according to the delay requirement is further provided, so that network resources can be further saved, and the terminal can be saved in energy.

[0338] Figure 11 is a schematic structural diagram of a communication device 1400 provided by an embodiment of the application. The communication device in the embodiment can be specifically a terminal device or a network device in the foregoing embodiments. Figure 11 The communication device 1400 shown includes a processor 1410. The processor 1410 can call and run a computer program from a memory to implement the method in the embodiments of the application.

[0339] Optionally, Figure 11 As shown, the communication device 1400 can further include a memory 1420. The processor 1410 can call and run a computer program from the memory 1420 to implement the method in the embodiments of the application.

[0340] The memory 1420 can be a separate device independent of the processor 1410, or can be integrated in the processor 1410.

[0341] Optionally, as Figure 11 As shown, the communication device 1400 can further include a transceiver 1430. The processor 1410 can control the transceiver 1430 to communicate with other devices. Specifically, the transceiver 1430 can send information or data to other devices, or receive information or data sent by other devices.

[0342] The transceiver 1430 can include a transmitter and a receiver. The transceiver 1430 can further include an antenna, and the number of antennas can be one or more.

[0343] Optionally, the communication device 1400 can be specifically a corresponding process implemented by a terminal device or a network device in the embodiments of the application. For brevity, details are not repeated here.

[0344] Figure 12 is a schematic structural diagram of a chip in an embodiment of the application. Figure 12The shown chip 1500 comprises a processor 1510, which can call and run computer programs from a memory to implement the method in the embodiments of the present application.

[0345] Optionally, as shown, the chip 1500 can further comprise a memory 1520. The processor 1510 can call and run computer programs from the memory 1520 to implement the method in the embodiments of the present application. Figure 12

[0346] The memory 1520 can be a separate device independent of the processor 1510, or can be integrated in the processor 1510.

[0347] Optionally, the chip 1500 can further comprise an input interface 1530. The processor 1510 can control the input interface 1530 to communicate with other devices or chips, and specifically, can acquire information or data sent by other devices or chips.

[0348] Optionally, the chip 1500 can further comprise an output interface 1540. The processor 1510 can control the output interface 1540 to communicate with other devices or chips, and specifically, can output information or data to other devices or chips.

[0349] Optionally, the chip can be applied to the corresponding processes implemented by the terminal device or the network device in the embodiments of the present application. For brevity, details are not repeated here.

[0350] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system chip, a system chip, a chip system or a system on chip, etc.

[0351] It should be understood that the processor in the embodiments of the present application can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method embodiments can be completed by integrated logic circuits or instructions in the form of software in the processor. The processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a ready programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0352] ​It is to be understood that the memory in the embodiments of the present application can be a volatile memory or a nonvolatile memory, or can include both volatile and nonvolatile memory. It should be noted that the memory of the system and method described herein is intended to include, but is not limited to, these and any other suitable type of memory.

[0353] It should be understood that the above memory is an example but not a limiting description, for example, the memory in the embodiments of the present application can also be static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and the like. That is, the memory in the embodiments of the present application is intended to include, but not limited to, these and any other suitable type of memory.

[0354] Figure 13 is a schematic block diagram of a communication system 1600 provided by an embodiment of the present application. As shown in the figure, the communication system 1600 includes a network device 1620 and a terminal device 1610. Figure 13

[0355] Wherein, the network device 1620 can be used to implement the corresponding functions in the above method implemented by the communication device, and the terminal device 1610 can be used to implement the corresponding functions in the above method implemented by the terminal. For the sake of brevity, it will not be repeated here.

[0356] The embodiments of the present application also provide a computer readable storage medium for storing a computer program.

[0357] Optionally, the computer readable storage medium can be applied to the network device or satellite or terminal device in the embodiments of the present application, and the computer program makes the computer execute the corresponding processes in the various methods of the embodiments of the present application implemented by the network device. For the sake of brevity, it will not be repeated here.

[0358] The embodiments of the present application also provide a computer program product, including computer program instructions.

[0359] ​Optionally, the computer program product can be applied to the network device or the satellite or the terminal device in the embodiments of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For brevity, details are not repeated here.

[0360] The embodiments of the present application further provide a computer program.

[0361] Optionally, the computer program can be applied to the network device or the satellite or the terminal device in the embodiments of the present application, and when the computer program runs on the computer, causes the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For brevity, details are not repeated here.

[0362] Those skilled in the art can understand that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0363] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, and details are not repeated here.

[0364] In several embodiments provided by the present application, it should be understood that the disclosed system, device and method can be implemented by other means. The units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e. they can be located in one place, or distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0365] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.

[0366] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the parts of the present application that essentially contribute to the prior art or the parts of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0367] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A data transmission method, characterized by, Comprising: A terminal device receives a first message sent by a network device, the first message being used to indicate a plurality of available resources; The terminal device is in an inactive state, and it is determined whether there is a first group of uplink transmission resources in the plurality of available resources configured in the first message that meet the latency requirement of to-be-transmitted data; wherein the to-be-transmitted data is small data (small data). If there is no available resource that meets the latency requirement of the to-be-transmitted data, the terminal device triggers a radio resource control (RRC) resume process and transmits the to-be-transmitted data after entering a connected state. If there is a first group of uplink transmission resources that meet the latency requirement of the to-be-transmitted data, it is determined whether there is a second group of uplink transmission resources that match access stratum (AS) configuration parameters in the first group of uplink transmission resources. If there is no available resource that matches the AS configuration parameters, the terminal device triggers an RRC resume process and transmits the to-be-transmitted data after entering a connected state. If the data volume of the to-be-transmitted data is not greater than the size of the maximum transport block (TB) in the second group of uplink transmission resources, the terminal device determines, from a plurality of available resources in the second group of uplink transmission resources whose TB size of physical uplink shared channel (PUSCH) resources is not less than the size of the to-be-transmitted data, an available resource whose TB size of the PUSCH resource is the smallest as a first resource, and transmits the to-be-transmitted data to the network device on the first resource; wherein the first resource is one of the plurality of available resources. In a case where the first message is a system message, the first resource includes a first random access occasion (RO) resource and a first PUSCH resource, the first RO resource is used to transmit a first preamble of a message A (msg A), and the first PUSCH resource is used to transmit the to-be-transmitted data; each available resource in the plurality of available resources includes an RO resource and a PUSCH resource, the first RO resource corresponding to the first PUSCH resource is determined based on a first mapping relationship, and the first preamble corresponding to the first PUSCH resource is determined based on a second mapping relationship.

2. The method of claim 1, wherein: The system message includes a master information block (MIB) and / or a system information block (SIB). In a case where the first message is the system message, the transmitting the to-be-transmitted data to the network device on the first resource includes: On the first resource, a random access request including the to-be-transmitted data is transmitted to the network device.

3. The method according to claim 1 or 2, characterized in that, The random access request includes the msg A. ​ 4. The method of claim 3, wherein, ​ 5. The method of claim 1, wherein, The first mapping relationship exists between the PUSCH resource and the RO resource.

6. The method of claim 1, wherein, The second mapping relationship exists between the PUSCH resource and a preamble. 7.The method of claim 1, wherein in a case that the first message is a preconfigured grant message, the first resource is the first PUSCH resource, and each of the plurality of available resources comprises a PUSCH resource. 8.The method of claim 7, wherein The preconfigured grant message is RRC signaling.

9. The method of claim 8, wherein, In a case that the first message is the preconfigured grant message, the transmitting, to the network device, the to-be-transmitted data on the first resource comprises: transmitting the to-be-transmitted data based on the first PUSCH resource.

10. The method according to any one of claims 7 to 9, characterized in that, Before the transmitting, to the network device, the to-be-transmitted data on the first resource, the method further comprises: The terminal device maintains a valid timing advance (TA) value, and the valid TA value is used for the terminal device to perform uplink synchronization.

11. A data transmission method, characterized by, comprises: A network device transmits a first message to a terminal device, and the first message is used to indicate a plurality of available resources. If there is no available resource that meets a delay requirement of to-be-transmitted data in the plurality of available resources configured in the first message, the network device receives the to-be-transmitted data after the terminal device triggers a radio resource control (RRC) resume process to enter a connected state, and the to-be-transmitted data is small data. If there is a first group of uplink transmission resources that meet the delay requirement of the to-be-transmitted data in the plurality of available resources configured in the first message, and there is no available resource that matches an AS configuration parameter in the first group of uplink transmission resources, the network device receives the to-be-transmitted data after the terminal device triggers the RRC resume process to enter the connected state. If there is the first group of uplink transmission resources that meet the delay requirement of the to-be-transmitted data in the plurality of available resources configured in the first message, there is a second group of uplink transmission resources that match the AS configuration parameter in the first group of uplink transmission resources, and a data amount of the to-be-transmitted data is greater than a size of a maximum TB in the second group of uplink transmission resources, the network device receives the to-be-transmitted data after the terminal device triggers the RRC resume process to enter the connected state. if there is the first group of uplink transmission resources meeting the latency requirement of the to-be-transmitted data in the plurality of available resources configured in the first message, there is a second group of uplink transmission resources matching the AS configuration parameter in the first group of uplink transmission resources, and the data amount of the to-be-transmitted data is not greater than the size of the maximum TB in the second group of uplink transmission resources, the network device receives the to-be-transmitted data sent by the terminal device in an inactive state on a first resource; wherein the first resource is one of the plurality of available resources; the first resource is determined by the terminal device from the plurality of available resources in which the TB size of the PUSCH resource in the second group of uplink transmission resources is not less than the size of the to-be-transmitted data, and the TB size of the PUSCH resource is the smallest available resource; wherein, in the case that the first message is a system message, the first resource includes a first RO resource and a first PUSCH resource, the first RO resource is used for transmitting a first preamble of a message A msgA, and the first PUSCH resource is used for transmitting the to-be-transmitted data; each available resource in the plurality of available resources includes an RO resource and a PUSCH resource, the first RO resource corresponding to the first PUSCH resource is determined based on a first mapping relationship, and the first preamble corresponding to the first PUSCH resource is determined based on a second mapping relationship.

12. The method of claim 11, wherein the system message includes a master information block MIB and / or a system information block SIB.

13. The method according to claim 11 or 12, characterized in that, In the case that the first message is the system message, the network device receives the to-be-transmitted data on a first resource, including: on the first resource, receiving a random access request sent by the terminal device, the random access request including the to-be-transmitted data.

14. The method of claim 13, wherein, the random access request includes the msg A.

15. The method of claim 11, wherein, the first mapping relationship exists between the PUSCH resource and the RO resource.

16. The method of claim 11, wherein, the second mapping relationship exists between the PUSCH resource and the preamble.

17. The method of claim 11, wherein, In the case that the first message is a preconfigured grant message, the first resource is the first PUSCH resource; each available resource in the plurality of available resources includes a PUSCH resource.

18. The method of claim 17, wherein the preconfigured grant message is RRC signaling.

19. The method of claim 18, wherein, In the case that the first message is the preconfigured grant message, the network device receives the to-be-transmitted data on a first resource, including: transmitting the to-be-transmitted data based on the first PUSCH resource.

20. A terminal device, comprising: including: a first communication unit configured to receive a first message sent by a network device, the first message being used to indicate a plurality of available resources; a first processing unit configured to, in an inactive state, determine whether there is a first group of uplink transmission resources meeting a latency requirement of to-be-transmitted data in a plurality of available resources configured in the first message; wherein the to-be-transmitted data is small data. The first communication unit is further configured to trigger an RRC resume procedure to transmit the to-be-transmitted data in a connected state if there is no available resource that meets the latency requirement of the to-be-transmitted data. The first processing unit is further configured to determine whether there is a second set of uplink transmission resources that matches the AS configuration parameter in the first set of uplink transmission resources if there is the first set of uplink transmission resources that meets the latency requirement of the to-be-transmitted data. The first communication unit is further configured to trigger an RRC resume procedure to transmit the to-be-transmitted data in a connected state if there is no available resource that matches the AS configuration parameter. The first processing unit is further configured to determine whether the data amount of the to-be-transmitted data is not greater than the size of the largest TB in the second set of uplink transmission resources if there is the second set of uplink transmission resources that matches the AS configuration parameter. The first communication unit is further configured to trigger an RRC resume procedure to transmit the to-be-transmitted data in a connected state if the data amount of the to-be-transmitted data is greater than the size of the largest TB in the second set of uplink transmission resources. The first processing unit is further configured to determine, if the data amount of the to-be-transmitted data is not greater than the size of the largest TB in the second set of uplink transmission resources, a PUSCH resource with the smallest TB size in a plurality of available resources of the second set of uplink transmission resources as a first resource, where the first resource is one of the plurality of available resources. The first communication unit is further configured to send the to-be-transmitted data to the network device on the first resource. In a case where the first message is a system message, the first resource includes a first RO resource and a first PUSCH resource, the first RO resource is used for transmitting a first preamble of a message A msgA, and the first PUSCH resource is used for transmitting the to-be-transmitted data; each available resource of the plurality of available resources includes an RO resource and a PUSCH resource, the first PUSCH resource corresponds to the first RO resource based on a first mapping relationship, and the first PUSCH resource corresponds to the first preamble based on a second mapping relationship.

21. The terminal device of claim 20, wherein The system message includes a master information block MIB and / or a system information block SIB.

22. The terminal device according to claim 20 or 21, characterized by In a case where the first message is the system message, the first communication unit is further configured to send a random access request including the to-be-transmitted data to the network device on the first resource.

23. The terminal device of claim 22, wherein, The random access request includes the msg A.

24. The terminal device of claim 20, wherein, The first mapping relationship exists between the PUSCH resource and the RO resource.

25. The terminal device of claim 20, wherein, The second mapping relationship exists between the PUSCH resource and the preamble.

26. The terminal device of claim 20, wherein, In a case that the first message is a preconfigured grant message, the first resource is the first PUSCH resource; each of the plurality of available resources comprises a PUSCH resource. 27.The terminal device of claim 26, wherein, the preconfigured grant message is RRC signaling.

28. The terminal device of claim 27, wherein, In a case that the first message is the preconfigured grant message, the first communication unit is further configured to transmit the to-be-transmitted data based on the first PUSCH resource.

29. The terminal device of any one of claims 26 to 28, wherein, The terminal device further comprises: a first processing unit configured to maintain a valid timing advance (TA) value, the valid TA value being used by the terminal device for uplink synchronization.

30. A network device, comprising: comprises: a second communication unit configured to send a first message to a terminal device, the first message being used to indicate a plurality of available resources; the second communication unit is further configured to, if there is no available resource in the plurality of available resources configured in the first message that meets a latency requirement of to-be-transmitted data, receive the to-be-transmitted data after the terminal device enters a connected state by triggering a RRC resume procedure; wherein the to-be-transmitted data is small data; the second communication unit is further configured to, if there is a first group of uplink transmission resources in the plurality of available resources configured in the first message that meet the latency requirement of the to-be-transmitted data, and there is no available resource in the first group of uplink transmission resources that matches an AS configuration parameter, receive the to-be-transmitted data after the terminal device enters the connected state by triggering the RRC resume procedure; the second communication unit is further configured to, if there is a first group of uplink transmission resources in the plurality of available resources configured in the first message that meet the latency requirement of the to-be-transmitted data, there is a second group of uplink transmission resources in the first group of uplink transmission resources that match the AS configuration parameter, and a data amount of the to-be-transmitted data is greater than a size of a maximum TB in the second group of uplink transmission resources, receive the to-be-transmitted data after the terminal device enters the connected state by triggering the RRC resume procedure; the second communication unit is further configured to, if there is a first group of uplink transmission resources in the plurality of available resources configured in the first message that meet the latency requirement of the to-be-transmitted data, there is a second group of uplink transmission resources in the first group of uplink transmission resources that match the AS configuration parameter, and a data amount of the to-be-transmitted data is not greater than a size of a maximum TB in the second group of uplink transmission resources, receive the to-be-transmitted data sent by the terminal device in an inactivated state on a first resource; wherein the first resource is one of the plurality of available resources; the first resource is determined by the terminal device from a plurality of available resources in the second group of uplink transmission resources, a PUSCH resource in the plurality of available resources having a smallest TB size that is not less than a size of the to-be-transmitted data In a case that the first message is a system message, the first resource includes a first RO resource and a first PUSCH resource, the first RO resource is used for transmitting a first preamble of a message A msgA, and the first PUSCH resource is used for transmitting the to-be-transmitted data; each of the plurality of available resources includes an RO resource and a PUSCH resource, the first PUSCH resource corresponds to the first RO resource based on a first mapping relationship, and the first PUSCH resource corresponds to the first preamble based on a second mapping relationship.

31. The network device of claim 30, wherein, the system message includes a master information block MIB and / or a system information block SIB.

32. The network device of claim 30 or 31, wherein, In a case that the first message is the system message, the second communication unit is further configured to receive, on the first resource, a random access request sent by the terminal device, the random access request including the to-be-transmitted data.

33. The network device of claim 32, wherein, The random access request includes the msg A.

34. The network device of claim 30, wherein, The first mapping relationship exists between the PUSCH resource and the RO resource.

35. The network device of claim 30, wherein, The second mapping relationship exists between the PUSCH resource and the preamble.

36. The network device of claim 30, wherein, In a case that the first message is a preconfigured grant message, the first resource is the first PUSCH resource, and each of the plurality of available resources includes a PUSCH resource.

37. The network device of claim 36, wherein, the preconfigured grant message is RRC signaling.

38. The network device of claim 37, wherein, In a case that the first message is the preconfigured grant message, the second communication unit is further configured to transmit, based on the first PUSCH resource, the to-be-transmitted data.

39. A terminal device comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein the memory is configured to store a computer program, and the processor is configured to invoke and run the computer program stored in the memory to perform the steps of the method according to any one of claims 1-10.

40. A network device comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein the memory is configured to store a computer program, and the processor is configured to invoke and run the computer program stored in the memory to perform the steps of the method according to any one of claims 11-19.

41. A chip comprising: a processor configured to invoke and run a computer program from a memory, so that a device installed with the chip performs the method according to any one of claims 1-10.

42. A chip comprising: a processor configured to invoke and run a computer program from a memory, so that a device installed with the chip performs the method according to any one of claims 11-19.

43. A computer readable storage medium configured to store a computer program, the computer program causing a computer to perform the steps of the method according to any one of claims 1-19.

Citation Information

Patent Citations

  • Method and corresponding device for random access

    CN107889273A

  • Communication control method

    CN110999404A