Data transmission method, device and terminal

文档序号:118472 发布日期:2021-10-19 浏览:35次 中文

阅读说明:本技术 数据传输方法、装置及终端 (Data transmission method, device and terminal ) 是由 傅婧 梁靖 曾二林 于 2020-04-10 设计创作,主要内容包括:本发明实施例提供一种数据传输方法、装置及终端,该方法包括:判断是否满足使用第一资源传输第一数据的条件;在满足使用第一资源传输第一数据的条件的情况下,使用所述第一资源在非连接态传输所述第一数据;在不满足使用第一资源传输第一数据的条件的情况下,判断是否满足使用第二资源传输第一数据的条件;在满足使用第二资源传输第一数据的条件的情况下,使用所述第二资源在非连接态传输所述第一数据;本发明实施例中终端能够选择合适的资源用于非连接态小数据的传输。(The embodiment of the invention provides a data transmission method, a device and a terminal, wherein the method comprises the following steps: judging whether a condition for transmitting first data by using a first resource is met; transmitting first data in a non-connected state using a first resource if a condition for transmitting the first data using the first resource is satisfied; under the condition that the condition of transmitting the first data by using the first resource is not met, judging whether the condition of transmitting the first data by using the second resource is met or not; transmitting first data in a non-connected state using a second resource if a condition for transmitting the first data using the second resource is satisfied; the terminal in the embodiment of the invention can select proper resources for the transmission of the small data in the non-connection state.)

1. A data transmission method is applied to a terminal, and is characterized by comprising the following steps:

judging whether a condition for transmitting first data by using a first resource is met;

transmitting first data in a non-connected state using a first resource if a condition for transmitting the first data using the first resource is satisfied;

under the condition that the condition of transmitting the first data by using the first resource is not met, judging whether the condition of transmitting the first data by using the second resource is met or not;

and transmitting the first data in a non-connection state by using the second resource under the condition that a condition that the first data is transmitted by using the second resource is met.

2. The method of claim 1, wherein the first resource is a pre-configured Physical Uplink Shared Channel (PUSCH) resource, and wherein the second resource is a random access resource.

3. The method of claim 1, wherein when the first resource is a random access resource, the second resource is a pre-configured Physical Uplink Shared Channel (PUSCH) resource.

4. The method according to claim 2 or 3, wherein the condition for transmitting the first data using the preconfigured PUSCH resource comprises at least one of:

the terminal has the capability of directly transmitting small data by using PUSCH resources in a non-connected state;

the terminal currently has valid PUSCH resources;

the size of the first data to be transmitted is smaller than or equal to a first threshold;

the size of the first data to be transmitted belongs to a first range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a second threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a first data bearer or a first service.

5. A method according to any of claims 2 or 3, wherein the conditions for transmitting the first data using the random access resources comprise at least one of:

the terminal currently has valid random access resources;

the terminal has the capability of directly transmitting small data by using random access resources in a non-connection state;

the size of the first data to be transmitted is smaller than or equal to a third threshold;

the size of the first data to be transmitted belongs to a second range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a fourth threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a second data bearer or a second service.

6. The method according to claim 2 or 3, wherein the random access resource comprises: under the condition of two-step random access resources and four-step random access resources, judging whether the condition of using the random access resources to transmit the first data is met or not, wherein the judging step comprises the following steps:

judging whether a condition for transmitting first data by using two-step random access resources is met;

if the condition that the first data is transmitted by using the two-step random access resources is met, the first data is transmitted in a non-connection state by using the two-step random access resources;

if the condition that the first data is transmitted by using the two-step random access resource is not met, judging whether the condition that the first data is transmitted by using the four-step random access resource is met or not;

and if the condition that the first data is transmitted by using the four-step random access resource is met, transmitting the first data in a non-connection state by using the four-step random access resource.

7. The method according to claim 2 or 3, wherein in the case that the random access resources include contention random access resources and non-contention random access resources, determining whether a condition for transmitting the first data using the random access resources is satisfied comprises:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the second condition of using the non-competitive random access resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met or not;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

8. The method of claim 3, wherein in the case that the random access resources include contention random access resources and non-contention random access resources, determining whether a condition for transmitting the first data using the random access resources is satisfied comprises:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the condition for transmitting the first data by using the non-competitive random access resource is not satisfied, the method further comprises the following steps:

judging whether a condition for transmitting first data by using a pre-configured PUSCH resource is met;

if the condition of using the pre-configured PUSCH resource to transmit the first data is met, using the pre-configured PUSCH resource to transmit the first data in a non-connection state; if the condition of using the pre-configured PUSCH resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

9. A terminal, comprising: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; wherein the transceiver receives and transmits data under control of a processor, the processor being configured to read a program in a memory and perform the following operations:

judging whether a condition for transmitting first data by using a first resource is met;

transmitting first data in a non-connected state using a first resource if a condition for transmitting the first data using the first resource is satisfied;

under the condition that the condition of transmitting the first data by using the first resource is not met, judging whether the condition of transmitting the first data by using the second resource is met or not;

and transmitting the first data in a non-connection state by using the second resource under the condition that a condition that the first data is transmitted by using the second resource is met.

10. The terminal of claim 9, wherein the first resource is a pre-configured Physical Uplink Shared Channel (PUSCH) resource, and wherein the second resource is a random access resource.

11. The terminal of claim 9, wherein when the first resource is a random access resource, the second resource is a pre-configured Physical Uplink Shared Channel (PUSCH) resource.

12. The terminal according to claim 10 or 11, wherein the condition for transmitting the first data using the preconfigured PUSCH resources comprises at least one of:

the terminal has the capability of directly transmitting small data by using PUSCH resources in a non-connected state;

the terminal currently has valid PUSCH resources;

the size of the first data to be transmitted is smaller than or equal to a first threshold;

the size of the first data to be transmitted belongs to a first range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a second threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a first data bearer or a first service.

13. The terminal according to claim 10 or 11, wherein the condition for transmitting the first data using the random access resource comprises at least one of:

the terminal currently has valid random access resources;

the terminal has the capability of directly transmitting small data by using random access resources in a non-connection state;

the size of the first data to be transmitted is smaller than or equal to a third threshold;

the size of the first data to be transmitted belongs to a second range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a fourth threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a second data bearer or a second service.

14. The terminal according to claim 10 or 11, wherein the random access resource comprises: in the case of two-step random access resources and four-step random access resources, the processor is further configured to read a program in the memory, and perform the following operations:

judging whether a condition for transmitting first data by using two-step random access resources is met;

if the condition that the first data is transmitted by using the two-step random access resources is met, the first data is transmitted in a non-connection state by using the two-step random access resources;

if the condition that the first data is transmitted by using the two-step random access resource is not met, judging whether the condition that the first data is transmitted by using the four-step random access resource is met or not;

and if the condition that the first data is transmitted by using the four-step random access resource is met, transmitting the first data in a non-connection state by using the four-step random access resource.

15. The terminal according to claim 10 or 11, wherein in case that the random access resources include contention random access resources and non-contention random access resources, the processor is further configured to read a program in a memory, and perform the following operations:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the second condition of using the non-competitive random access resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met or not;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

16. The terminal of claim 11, wherein in the case that the random access resources include contention random access resources and non-contention random access resources, the processor is further configured to read a program in a memory, and perform the following operations:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the condition for transmitting the first data by using the non-contention random access resource is not satisfied, the processor is further configured to read a program in the memory, and perform the following operations:

judging whether a condition for transmitting first data by using a pre-configured PUSCH resource is met;

if the condition of using the pre-configured PUSCH resource to transmit the first data is met, using the pre-configured PUSCH resource to transmit the first data in a non-connection state; if the condition of using the pre-configured PUSCH resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

17. A data transmission apparatus applied to a terminal, comprising:

the first judging module is used for judging whether the condition of using the first resource to transmit the first data is met;

the device comprises a first transmission module, a second transmission module and a processing module, wherein the first transmission module is used for transmitting first data in a non-connection state by using a first resource under the condition that the first data is transmitted by using the first resource is met;

a second judging module, configured to judge whether a condition for transmitting the first data using the second resource is satisfied, if the condition for transmitting the first data using the first resource is not satisfied;

and the second transmission module is used for transmitting the first data in a non-connection state by using the second resource under the condition that the condition of transmitting the first data by using the second resource is met.

18. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the data transmission method according to one of claims 1 to 8.

Technical Field

The present invention relates to the field of communications technologies, and in particular, to a data transmission method, an apparatus, and a terminal.

Background

A 5G New air interface (New Radio, NR) system designs 3 Radio Resource Control (RRC) states: an IDLE (RRC _ IDLE) state, a CONNECTED (RRC _ CONNECTED) state, and an INACTIVE (RRC _ INACTIVE) state. When in the connection state, the air interface between the terminal and the wireless network is available at any time; but in the idle state, the air interface between the terminal and the wireless network is disconnected; in the inactive state, the air interface between the terminal and the wireless network is suspended and needs to be recovered for use.

The 5G random access procedures are divided into two categories: four-step random access (4-step RACH) with Msg1 (message 1) and two-step random access (2-step RACH) with MsgA (message A). Both types of Random Access indicate Contention-based Random Access (CBRA) and non-Contention Random Access (CFRA).

The terminal selects a random access type based on network configuration when initiating random access (the network does not configure CFRA resources for two-step random access and four-step random access simultaneously on one bandwidth portion BWP; the 2-step CFRA random access procedure is only applicable to handover scenarios):

if the CFRA resources are not configured, the terminal selects two-step random access and four-step random access based on a Reference Signal Receiving Power (RSRP) threshold;

if CFRA resources are configured for the four-step random access, the terminal selects the four-step random access;

if the CFRA resources are configured for the two-step random access, the terminal selects the two-step random access.

When the terminal is in the RRC non-activated state, if the small data transmission is allowed to be directly carried out, the terminal is prevented from frequently entering the RRC connected state, and the signaling overhead can be reduced. In the current candidate scheme, when the terminal directly transmits the uplink small data, what kind of resources are used, and there is no related scheme currently.

Disclosure of Invention

An object of the embodiments of the present invention is to provide a data transmission method, an apparatus, and a terminal, so as to solve the problem in the prior art that what resource is used by the terminal to transmit uplink small data is not specified.

In order to solve the above problem, an embodiment of the present invention provides a data transmission method, which is applied to a terminal, and includes:

judging whether a condition for transmitting first data by using a first resource is met;

transmitting first data in a non-connected state using a first resource if a condition for transmitting the first data using the first resource is satisfied;

under the condition that the condition of transmitting the first data by using the first resource is not met, judging whether the condition of transmitting the first data by using the second resource is met or not;

and transmitting the first data in a non-connection state by using the second resource under the condition that a condition that the first data is transmitted by using the second resource is met.

The first resource is a pre-configured Physical Uplink Shared Channel (PUSCH) resource, and the second resource is a random access resource.

And when the first resource is a random access resource, the second resource is a pre-configured Physical Uplink Shared Channel (PUSCH) resource.

Wherein the condition for transmitting the first data using the preconfigured PUSCH resource comprises at least one of:

the terminal has the capability of directly transmitting small data by using PUSCH resources in a non-connected state;

the terminal currently has valid PUSCH resources;

the size of the first data to be transmitted is smaller than or equal to a first threshold;

the size of the first data to be transmitted belongs to a first range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a second threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a first data bearer or a first service.

Wherein the condition for transmitting the first data using the random access resource includes at least one of:

the terminal currently has valid random access resources;

the terminal has the capability of directly transmitting small data by using random access resources in a non-connection state;

the size of the first data to be transmitted is smaller than or equal to a third threshold;

the size of the first data to be transmitted belongs to a second range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a fourth threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a second data bearer or a second service.

Wherein the random access resource comprises: under the condition of two-step random access resources and four-step random access resources, judging whether the condition of using the random access resources to transmit the first data is met or not, wherein the judging step comprises the following steps:

judging whether a condition for transmitting first data by using two-step random access resources is met;

if the condition that the first data is transmitted by using the two-step random access resources is met, the first data is transmitted in a non-connection state by using the two-step random access resources;

if the condition that the first data is transmitted by using the two-step random access resource is not met, judging whether the condition that the first data is transmitted by using the four-step random access resource is met or not;

and if the condition that the first data is transmitted by using the four-step random access resource is met, transmitting the first data in a non-connection state by using the four-step random access resource.

Wherein, under the condition that the random access resource comprises a competitive random access resource and a non-competitive random access resource, judging whether the condition of using the random access resource to transmit the first data is met comprises the following steps:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the second condition of using the non-competitive random access resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met or not;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

Wherein, under the condition that the random access resource comprises a competitive random access resource and a non-competitive random access resource, judging whether the condition of using the random access resource to transmit the first data is met comprises the following steps:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the condition for transmitting the first data by using the non-competitive random access resource is not satisfied, the method further comprises the following steps:

judging whether a condition for transmitting first data by using a pre-configured PUSCH resource is met;

if the condition of using the pre-configured PUSCH resource to transmit the first data is met, using the pre-configured PUSCH resource to transmit the first data in a non-connection state; if the condition of using the pre-configured PUSCH resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

An embodiment of the present invention further provides a terminal, including: a transceiver, a memory, a processor and a computer program stored on the memory and executable on the processor, the transceiver receiving and transmitting data under the control of the processor, the processor being configured to read the program in the memory and perform the following operations:

judging whether a condition for transmitting first data by using a first resource is met;

transmitting first data in a non-connected state using a first resource if a condition for transmitting the first data using the first resource is satisfied;

under the condition that the condition of transmitting the first data by using the first resource is not met, judging whether the condition of transmitting the first data by using the second resource is met or not;

and transmitting the first data in a non-connection state by using the second resource under the condition that a condition that the first data is transmitted by using the second resource is met.

The first resource is a pre-configured Physical Uplink Shared Channel (PUSCH) resource, and the second resource is a random access resource.

And when the first resource is a random access resource, the second resource is a pre-configured Physical Uplink Shared Channel (PUSCH) resource.

Wherein the condition for transmitting the first data using the preconfigured PUSCH resource comprises at least one of:

the terminal has the capability of directly transmitting small data by using PUSCH resources in a non-connected state;

the terminal currently has valid PUSCH resources;

the size of the first data to be transmitted is smaller than or equal to a first threshold;

the size of the first data to be transmitted belongs to a first range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a second threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a first data bearer or a first service.

Wherein the condition for transmitting the first data using the random access resource includes at least one of:

the terminal currently has valid random access resources;

the terminal has the capability of directly transmitting small data by using random access resources in a non-connection state;

the size of the first data to be transmitted is smaller than or equal to a third threshold;

the size of the first data to be transmitted belongs to a second range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a fourth threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a second data bearer or a second service.

Wherein the random access resource comprises: in the case of two-step random access resources and four-step random access resources, the processor is further configured to read a program in the memory, and perform the following operations:

judging whether a condition for transmitting first data by using two-step random access resources is met;

if the condition that the first data is transmitted by using the two-step random access resources is met, the first data is transmitted in a non-connection state by using the two-step random access resources;

if the condition that the first data is transmitted by using the two-step random access resource is not met, judging whether the condition that the first data is transmitted by using the four-step random access resource is met or not;

and if the condition that the first data is transmitted by using the four-step random access resource is met, transmitting the first data in a non-connection state by using the four-step random access resource.

Wherein, in the case that the random access resource includes a contention random access resource and a non-contention random access resource, the processor is further configured to read a program in a memory, and perform the following operations:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the second condition of using the non-competitive random access resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met or not;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

Wherein, in the case that the random access resource includes a contention random access resource and a non-contention random access resource, the processor is further configured to read a program in a memory, and perform the following operations:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the condition for transmitting the first data by using the non-contention random access resource is not satisfied, the processor is further configured to read a program in the memory, and perform the following operations:

judging whether a condition for transmitting first data by using a pre-configured PUSCH resource is met;

if the condition of using the pre-configured PUSCH resource to transmit the first data is met, using the pre-configured PUSCH resource to transmit the first data in a non-connection state; if the condition of using the pre-configured PUSCH resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

An embodiment of the present invention further provides a data transmission device, which is applied to a terminal, and includes:

the first judging module is used for judging whether the condition of using the first resource to transmit the first data is met;

the device comprises a first transmission module, a second transmission module and a processing module, wherein the first transmission module is used for transmitting first data in a non-connection state by using a first resource under the condition that the first data is transmitted by using the first resource is met;

a second judging module, configured to judge whether a condition for transmitting the first data using the second resource is satisfied, if the condition for transmitting the first data using the first resource is not satisfied;

and the second transmission module is used for transmitting the first data in a non-connection state by using the second resource under the condition that the condition of transmitting the first data by using the second resource is met.

An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the data transmission method described above are implemented.

The technical scheme of the invention at least has the following beneficial effects:

in the data transmission method, the data transmission device and the terminal of the embodiment of the invention, the terminal can select proper resources for transmitting the small data in the non-connection state by judging the condition for transmitting the first data by using the first resources and/or the condition for transmitting the first data by using the second resources.

Drawings

Fig. 1 is a flowchart illustrating steps of a data transmission method according to an embodiment of the present invention;

fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention.

Detailed Description

In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.

As shown in fig. 1, an embodiment of the present invention provides a data transmission method, which is applied to a terminal, and includes:

step 11, judging whether a condition for transmitting first data by using a first resource is met;

step 12, under the condition that the condition of using a first resource to transmit first data is met, using the first resource to transmit the first data in a non-connection state;

step 13, under the condition that the condition of using the first resource to transmit the first data is not satisfied, judging whether the condition of using the second resource to transmit the first data is satisfied;

and 14, under the condition that the condition of transmitting the first data by using the second resource is met, transmitting the first data in a non-connection state by using the second resource.

Optionally, the unconnected state includes an idle state and/or an inactive state; the first data is uplink small data.

As an optional embodiment, the first resource is a preconfigured physical uplink shared channel, PUSCH, resource, and the second resource is a random access resource.

The embodiment of the present invention provides a first method for determining which resource is used to transmit data in a non-connected state, wherein the first method is as follows: when a non-connected terminal needs to directly transmit uplink small data, firstly judging whether the terminal meets the condition of transmitting first data by using a pre-configured Physical Uplink Shared Channel (PUSCH) resource; if the condition of transmitting the first data by using the pre-configured PUSCH resource is met, transmitting the first data in a non-connection state by using the pre-configured PUSCH resource; if the condition of using the pre-configured PUSCH resource to transmit the first data is not met, further judging whether the condition of using the random access resource to transmit the first data is met; transmitting the first data in a non-connected state using a random access resource, in case a condition for transmitting the first data using the random access resource is satisfied.

Optionally, if the condition for transmitting the first data by using the random access resource is not satisfied, the non-connected terminal does not trigger a related process for directly transmitting the uplink small data; if the condition for transmitting the first data by using the random access resource is not satisfied, the process is ended.

As another optional embodiment, when the first resource is a random access resource, the second resource is a preconfigured physical uplink shared channel, PUSCH, resource.

The embodiment of the present invention further provides a second way to determine which resource is used to transmit data in a non-connected state, where the second way is: when a non-connection state terminal needs to directly transmit uplink small data, firstly judging whether the terminal meets the condition of transmitting first data by using random access resources, and if the condition of transmitting the first data by using the random access resources is met, transmitting the first data in a non-connection state by using the random access resources; if the condition for transmitting the first data by using the random access resource is not met, further judging whether the condition for transmitting the first data by using the pre-configured PUSCH resource is met; transmitting the first data in an unconnected state using the preconfigured PUSCH resource if a condition for transmitting the first data using the preconfigured PUSCH resource is satisfied.

Optionally, if the condition of transmitting the first data by using the preconfigured PUSCH resource is not satisfied, the non-connected terminal does not trigger a related process of directly sending the uplink small data; it can also be said that if the condition for transmitting the first data using the preconfigured PUSCH resource is not satisfied, the procedure is ended.

As an optional embodiment, the condition for transmitting the first data using the preconfigured PUSCH resource comprises at least one of:

the terminal has the capability of directly transmitting small data by using PUSCH resources in a non-connected state;

the terminal currently has valid PUSCH resources;

the size of the first data to be transmitted is smaller than or equal to a first threshold; the first threshold is a data packet size threshold supported by using a pre-configured PUSCH resource in a non-connection state to directly transmit uplink small data; the first threshold can be configured by the network, or predefined, or implicitly derived by the terminal according to the preconfigured PUSCH resource;

the size of the first data to be transmitted belongs to a first range; the first range may be network configuration, or predefined, or implicitly derived by the terminal according to preconfigured PUSCH resources;

the first data to be transmitted is terminal originating data (MO data) or small data (small data);

the signal quality of the serving cell of the terminal is greater than a second threshold;

the first data to be transmitted is in a non-acknowledged (UM) mode;

the first data to be transmitted corresponds to a first data bearer or a first service; the first data bearing DRB is a specific DRB, and the first service is a specific service; and is not particularly limited herein.

As yet another alternative embodiment, the condition for transmitting the first data using the random access resource includes at least one of:

the terminal currently has valid random access resources;

the terminal has the capability of directly transmitting small data by using random access resources in a non-connection state;

the size of the first data to be transmitted is smaller than or equal to a third threshold; the third threshold may be configured by the network, may also be predefined, and may also be implicitly derived by the terminal according to the random access resource;

the size of the first data to be transmitted belongs to a second range; the second range may be network configuration, or predefined, or implicitly derived by the terminal according to the random access resource;

the first data to be transmitted is terminal originating data (MO data) or small data (small data);

the signal quality of the serving cell of the terminal is greater than a fourth threshold;

the first data to be transmitted is in a non-acknowledged (UM) mode;

the first data to be transmitted corresponds to a second data bearer or a second service; the second data bearing DRB is a specific DRB, and the second service is a specific service; and is not particularly limited herein.

Preferably, the specific values of the first threshold and the third threshold are different; and/or the specific values of the second threshold and the fourth threshold are different; and/or the specific values of the first range and the second range are different; and/or the first data bearer and the second data bearer are different; and/or the first service and the second service are different.

Optionally, in the foregoing embodiment of the present invention, the random access resource includes at least one of:

two-step random access resources (comprising two-step contention random access resources and/or two-step non-contention random access resources);

four-step random access resources (including four-step competitive random access resources and/or four-step non-competitive random access resources);

contention random access resources (including two-step contention random access resources and/or four-step contention random access resources);

non-contention random access resources (including two-step non-contention random access resources and/or four-step non-contention random access resources).

As an alternative embodiment, in the case that the random access resource includes any two items, that is, in the case that the random access resource includes: under the condition of two-step random access resources and four-step random access resources, in the embodiment of the invention, judging whether the condition of using the random access resources to transmit the first data is met comprises the following steps:

judging whether a condition for transmitting first data by using two-step random access resources is met;

if the condition that the first data is transmitted by using the two-step random access resources is met, the first data is transmitted in a non-connection state by using the two-step random access resources;

if the condition that the first data is transmitted by using the two-step random access resource is not met, judging whether the condition that the first data is transmitted by using the four-step random access resource is met or not;

and if the condition that the first data is transmitted by using the four-step random access resource is met, transmitting the first data in a non-connection state by using the four-step random access resource.

Optionally, for the first mode, when the random access resource includes both two-step random access resources and four-step random access resources, the terminal sequentially determines whether the preconfigured PUSCH resource- > two-step random access resource- > four-step random access resources satisfy a condition for transmitting the first data in the non-connected state.

Optionally, for the second mode, when the random access resource includes two steps of random access resources and four steps of random access resources at the same time, the terminal sequentially determines whether the two steps of random access resources- > four steps of random access resources- > preconfigured PUSCH resources satisfy the condition for transmitting the first data in the non-connected state.

As another optional embodiment, in a case that the random access resource includes any two of the above items, that is, in a case that the random access resource includes a contention random access resource and a non-contention random access resource, the determining whether a condition for transmitting the first data using the random access resource is satisfied includes:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the second condition of using the non-competitive random access resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met or not;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

Optionally, in a first manner, when the random access resource includes a contention random access resource and a non-contention random access resource at the same time, the terminal sequentially determines whether the preconfigured PUSCH resource- > non-contention random access resource- > contention random access resource meets a condition for transmitting the first data in the non-connected state.

Optionally, for the second mode, when the random access resource includes both a contention random access resource and a non-contention random access resource, the terminal sequentially determines whether the non-contention random access resource- > preconfigured PUSCH resource meets a condition for transmitting the first data in the non-connected state.

As an optional embodiment, in a case that the random access resource includes any two items above, that is, in a case that the random access resource includes a contention random access resource and a non-contention random access resource, the determining whether a condition for transmitting the first data using the random access resource is satisfied includes:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the condition for transmitting the first data by using the non-competitive random access resource is not satisfied, the method further comprises the following steps:

judging whether a condition for transmitting first data by using a pre-configured PUSCH resource is met;

if the condition of using the pre-configured PUSCH resource to transmit the first data is met, using the pre-configured PUSCH resource to transmit the first data in a non-connection state; if the condition of using the pre-configured PUSCH resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

Optionally, for the second mode, when the random access resource includes both a contention random access resource and a non-contention random access resource, the terminal sequentially determines whether the non-contention random access resource- > the preconfigured PUSCH resource- > the contention random access resource satisfies a condition for transmitting the first data in the non-connection state.

It should be noted that, in the embodiments of the present invention, each of the conditions for transmitting first data using two-step random access resources, the conditions for transmitting first data using four-step random access resources, the conditions for transmitting first data using two-step non-contention random access resources, the conditions for transmitting first data using four-step non-contention random access resources, the conditions for transmitting first data using two-step contention random access resources, the conditions for transmitting first data using four-step contention random access resources, the conditions for transmitting first data using non-contention random access resources, and the conditions for transmitting first data using contention random access resources may be collectively referred to as "conditions for transmitting first data using random access resources", where, in particular, the above conditions include contents and/or parameters of the contents that are not exactly the same, for example, the third thresholds are different; the second range is different; and/or, the fourth threshold is different; and/or the second data bearer is different; and/or the second service is different, and is not limited in this respect.

In the embodiment of the invention, the random access resource comprises at least one of the following items: two-step competition random access resources, two-step non-competition random access resources, four-step competition random access resources and four-step non-competition random access resources.

For example, when the network simultaneously configures a two-step contention random access (2-step CBRA) resource and a four-step contention random access (4-step CBRA) resource, the terminal may perform any one of the following manners:

1) firstly, judging whether the condition of directly transmitting the uplink small data in an inactive state by using a 2-step CBRA resource is met; if so, directly transmitting the uplink small data in the non-activated state by using the 2-step CBRA resource; if not, judging whether the condition of directly transmitting the uplink small data in the non-activated state by using the 4-step CBRA resource is met; and if so, directly transmitting the uplink small data in the non-activated state by using the 4-step CBRA resource.

2) Firstly, judging whether the condition of using competitive random access resources to directly transmit uplink small data in an inactive state is met; if the resource is satisfied, the MAC layer of the terminal selects the 2-step CBRA resource and the 4-step CBRA resource based on the Reference Signal Receiving Power (RSRP) threshold; or if so, the terminal may randomly select whether to use the 2-step CFRA resource or the 4-step CFRA resource.

Wherein:

the conditions for directly transmitting the uplink small data in the inactive state by using the 2-step CBRA resource may be as follows: 1) the terminal currently has effective 2-step CB RACH resources; 2) the terminal has the capacity of directly transmitting the uplink small data by using the 2-step CB RACH resource or the RACH resource in the non-connection state; 3) the size of the (total) uplink data packet required to be sent is less than or equal to a certain threshold 1, or belongs to a certain range 1; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a certain threshold 1; 6) the uplink small data packet to be transmitted corresponds to a specific DRB1 or a specific service 1, etc.

The conditions for directly transmitting the uplink small data in the inactive state by using the 4-step CBRA resource may be as follows: 1) the terminal currently has effective 4-step CB RACH resources; 2) the terminal has the capacity of directly transmitting the uplink small data by using the 4-step CB RACH resource or the RACH resource in the non-connection state; 3) the size of the (total) uplink data packet to be sent is less than or equal to a certain threshold 2, or belongs to a certain range 2; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a certain threshold 2; 6) the uplink small data packet to be transmitted corresponds to a specific DRB2 or a specific service 2, etc.

For another example, when the network simultaneously configures two-step non-contention random access (2-step CFRA) resources and four-step non-contention random access (4-step CFRA) resources, the terminal may perform any one of the following manners:

1) firstly, judging whether the condition of directly transmitting uplink small data in an inactive state by using 2-step CFRA resources is met; if so, directly transmitting uplink small data in an inactive state by using the 2-step CFRA resource; if not, judging whether the condition of directly transmitting the uplink small data in the non-activated state by using the 4-step CFRA resource is met; and if so, directly transmitting the uplink small data in the inactive state by using the 4-step CFRA resources.

2) Firstly, judging whether the condition of using non-competitive random access resources to directly transmit uplink small data in an inactive state is met; if so, the terminal can randomly select whether to use the 2-step CFRA resource or the 4-step CFRA resource to directly send the uplink small data in a non-connection state; or the MAC layer of the terminal selects the 2-step CFRA resource and the 4-step CFRA resource based on the RSRP threshold.

Wherein:

the conditions for directly transmitting the uplink small data in the inactive state by using the 2-step CFRA resource may be as follows: 1) the terminal currently has an effective 2-step CF RACH resource; 2) the terminal has the capability of directly transmitting the uplink small data by using the 2-step CF RACH resource or the RACH resource in a non-connection state; 3) the size of the (total) uplink data packet required to be sent is less than or equal to a certain threshold 3, or belongs to a certain range 3; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a certain threshold 3; 6) the uplink small data packet to be transmitted corresponds to a specific DRB3 or a specific service 3, etc.

The conditions for directly transmitting the uplink small data in the inactive state by using the 4-step CFRA resource may be as follows: 1) the terminal currently has effective 4-step CF RACH resources; 2) the terminal has the capability of directly transmitting the uplink small data by using the 4-step CF RACH resource or the RACH resource in a non-connection state; 3) the size of the (total) uplink data packet to be transmitted is less than or equal to a certain threshold 4, or falls within a certain range 4; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a certain threshold 4; 6) the uplink small data packet to be transmitted corresponds to a specific DRB4 or a specific service 4, etc.

In order to more clearly describe the data transmission method provided by the embodiment of the present invention, the following description is made in detail with reference to several examples.

Example 1

The network side pre-configures PUSCH resources and contention random access resources (namely CB RACH resources) for uplink small data transmission. And the network side allocates a pre-configured PUSCH resource for directly sending uplink small data transmission in a non-connection state to a certain terminal through a special signaling. In addition, the network side can also configure the CB RACH resources for directly sending uplink small data transmission in a non-connected state through a broadcast or dedicated signaling manner. The CB RACH resource can comprise one or two of a 2-step CBRA resource and a 4-step CBRA resource.

When a non-connected terminal needs to trigger to directly send uplink small data, whether the condition of using a pre-configured PUSCH resource to transmit the uplink small data is met or not is judged; if so, directly transmitting the uplink small data in a non-connection state by using the pre-configured PUSCH resource; if not, the terminal further judges whether the condition of using the CB RACH resource to transmit the uplink small data is met; if so, directly transmitting uplink small data in a non-connection state by using the CB RACH resource; optionally, if the condition is not satisfied yet, the unconnected terminal does not trigger the correlation process of directly sending the uplink small data. Wherein:

the condition for directly transmitting the uplink small data in the non-connected state by using the pre-configured PUSCH resource comprises one or more of the following conditions: 1) the terminal has the capability of directly transmitting the uplink small data in a non-connection state; 2) the terminal currently has effective PUSCH resources; 3) the size of the (total) uplink data packet required to be sent is smaller than or equal to a first threshold; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a second threshold; 6) the uplink small data to be sent is in UM mode; 7) the uplink small data packet to be sent corresponds to a specific DRB or a specific service and the like.

The method for judging whether the terminal has the valid PUSCH resources currently comprises one or more of the following steps: 1) after the terminal receives the pre-configured PUSCH resource, TA (Timing Advance) is not changed; 2) after the terminal receives the pre-configured PUSCH resource, the serving cell or the serving RAN node or the serving CU (central unit) node is not changed; 3) the terminal receives the pre-configured PUSCH resource which comprises effective time and is currently in the effective time; 4) the terminal receives the pre-configured PUSCH resource which comprises the effective area range and is currently in the effective area range.

The conditions for transmitting the uplink small data by using the CB RACH resource comprise one or more of the following conditions: 1) the terminal currently has effective CB RACH resources; 2) the terminal has the capacity of directly transmitting the uplink small data by using the CB RACH resource or the RACH resource in a non-connection state; 3) the size of the (total) uplink data packet required to be sent is smaller than or equal to a certain threshold or belongs to a certain range; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a certain threshold; 6) the uplink small data packet to be sent corresponds to a specific DRB or a specific service and the like.

The CB RACH resource may refer to a 2-step CBRA resource or a 4-step CBRA resource, or may refer to a CB RACH resource in a broad sense (i.e., including a 2-step CBRA resource and a 4-step CBRA resource).

Example two

The network side pre-configures PUSCH resources and non-contention random access resources (namely CF RACH resources) for uplink small data transmission. And the network side allocates a pre-configured PUSCH resource for directly sending uplink small data transmission in a non-connection state to a certain terminal through a special signaling. In addition, the network side configures the CF RACH resources for directly sending the uplink small data transmission in the non-connection state through a special signaling mode. The CF RACH resource can comprise one or two of a 2-step CFRA resource and a 4-step CFRA resource.

When a non-connected terminal wants to trigger direct sending of uplink small data, whether a condition of using a pre-configured PUSCH resource to transmit the uplink small data is met is judged; if so, directly transmitting the uplink small data in a non-connection state by using the pre-configured PUSCH resource; if not, the terminal further judges whether the condition of using the CF RACH resource to transmit the uplink small data is met; if yes, the CF RACH resource is used for directly transmitting uplink small data in a non-connection state; optionally, if the condition is not satisfied yet, the unconnected terminal does not trigger the correlation process of directly sending the uplink small data. Wherein:

the condition for transmitting the uplink small data by using the CF RACH resource comprises one or more of the following conditions: 1) the terminal currently has effective CF RACH resources; 2) the terminal has the capability of directly transmitting the uplink small data by using the CF RACH resource in a non-connection state; 3) the size of the (total) uplink data packet required to be sent is smaller than or equal to a certain threshold or belongs to a certain range; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a certain threshold; 6) the uplink small data packet to be sent corresponds to a specific DRB or a specific service; 7) the uplink small data to be sent is in an UM mode.

The CF RACH resource may refer to a 2-step CFRA resource or a 4-step CFRA resource, or may refer to a CF RACH resource in a broad sense (i.e., including a 2-step CFRA resource and a 4-step CFRA resource).

Example three

The network side pre-configures PUSCH resources, CF RACH resources and CB RACH resources for uplink small data transmission. And the network side allocates a pre-configured PUSCH resource for directly sending uplink small data transmission in a non-connection state to a certain terminal through a special signaling. In addition, the network side configures the CF RACH resources for directly sending the uplink small data transmission in the non-connection state through a special signaling mode. The CF RACH resource can comprise one or two of a 2-step CFRA resource and a 4-step CFRA resource. The network side configures the CB RACH resources for directly sending the uplink small data transmission in the non-connection state through a broadcasting or special signaling mode. The CB RACH resource can comprise one or two of a 2-step CBRA resource and a 4-step CBRA resource.

When a non-connected terminal needs to trigger direct sending of uplink small data, whether the condition of using a pre-configured PUSCH resource to transmit the uplink small data is met or not is judged; if so, directly transmitting the uplink small data in a non-connection state by using the pre-configured PUSCH resource; if not, the terminal further judges whether the condition of using the CF RACH resource to transmit the uplink small data is met; if yes, the CF RACH resource is used for directly transmitting uplink small data in a non-connection state; if not, the terminal further judges whether the condition of using the CB RACH resource to transmit the uplink small data is met; if so, directly transmitting uplink small data in a non-connection state by using the CB RACH resource; optionally, if the condition is not satisfied yet, the non-connected terminal does not trigger a related process of directly sending the uplink small data. Wherein the content of the first and second substances,

the condition for directly transmitting the uplink small data in the non-connected state by using the pre-configured PUSCH resource is as described in example one; the condition for directly transmitting the uplink small data in the non-connected state by using the CF RACH resource is as described in example two; the condition for directly transmitting the uplink small data in the non-connected state by using the CB RACH resource is as described in example one, and is not repeated herein.

Example four

The network side pre-configures PUSCH resources and contention random access resources (namely CB RACH resources) for uplink small data transmission. And the network side allocates a pre-configured PUSCH resource for directly sending uplink small data transmission in a non-connection state to a certain terminal through a special signaling. In addition, the network side can also configure the CB RACH resources for directly sending uplink small data transmission in a non-connected state through a broadcast or dedicated signaling manner. The CB RACH resource can comprise one or two of a 2-step CBRA resource and a 4-step CBRA resource.

When a non-connection state terminal needs to trigger to directly send uplink small data, judging whether the condition of using CB RACH resources to transmit the uplink small data is met or not; if so, directly transmitting uplink small data in a non-connection state by using the CB RACH resource; if not, the terminal further judges whether the condition of using the pre-configured PUSCH resource to transmit the uplink small data is met; if so, directly transmitting the uplink small data in a non-connection state by using the pre-configured PUSCH resource; optionally, if the condition is not satisfied yet, the unconnected terminal does not trigger the correlation process of directly sending the uplink small data. Wherein:

the conditions for transmitting the uplink small data by using the CB RACH resource comprise one or more of the following conditions: 1) the terminal currently has effective CB RACH resources; 2) the terminal has the capability of directly transmitting the uplink small data by using the CB RACH resource in a non-connection state; 3) the size of the (total) uplink data packet required to be sent is smaller than or equal to a certain threshold or belongs to a certain range; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a certain threshold; 6) the uplink small data packet to be sent corresponds to a specific DRB or a specific service and the like.

The CB RACH resource may refer to a 2-step CBRA resource or a 4-step CBRA resource, or may refer to a CB RACH resource in a broad sense (i.e., including a 2-step CBRA resource and a 4-step CBRA resource).

The condition for directly transmitting the uplink small data in the non-connected state by using the pre-configured PUSCH resource comprises one or more of the following conditions: 1) the terminal has the capability of directly transmitting the uplink small data in a non-connection state; 2) the terminal currently has effective PUSCH resources; 3) the size of the (total) uplink data packet required to be sent is smaller than or equal to a first threshold or belongs to a certain range; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a second threshold; 6) the uplink small data to be sent is in UM mode; 7) the uplink small data packet to be sent corresponds to a specific DRB or a specific service and the like.

Example five

The network side pre-configures PUSCH resources and non-contention random access resources (namely CF RACH resources) for uplink small data transmission. And the network side allocates a pre-configured PUSCH resource for directly sending uplink small data transmission in a non-connection state to a certain terminal through a special signaling. In addition, the network side configures the CF RACH resources for directly sending the uplink small data transmission in the non-connection state through a special signaling mode. The CF RACH resource can comprise one or two of a 2-step CFRA resource and a 4-step CFRA resource.

When a non-connected terminal wants to trigger direct transmission of small uplink data, whether the condition of using CF RACH resources to transmit small uplink data is met is judged; if yes, the CF RACH resource is used for directly transmitting uplink small data in a non-connection state; if not, the terminal further judges whether the condition of using the pre-configured PUSCH resource to transmit the uplink small data is met; if so, directly transmitting the uplink small data in a non-connection state by using the pre-configured PUSCH resource; optionally, if the condition is not satisfied yet, the unconnected terminal does not trigger the correlation process of directly sending the uplink small data. Wherein:

the condition for transmitting the uplink small data by using the CF RACH resource comprises one or more of the following conditions: 1) the terminal currently has effective CF RACH resources; 2) the terminal has the capability of directly transmitting the uplink small data by using the CF RACH resource in a non-connection state; 3) the size of the (total) uplink data packet required to be sent is smaller than or equal to a certain threshold or belongs to a certain range; 4) the uplink data/establishment cause can be MO data or small data; 5) the signal quality of the current serving cell is greater than a certain threshold; 6) the uplink small data packet to be sent corresponds to a specific DRB or a specific service; 7) the uplink small data to be sent is in an UM mode.

The CF RACH resource may refer to a 2-step CFRA resource or a 4-step CFRA resource, or may refer to a CF RACH resource in a broad sense (i.e., including a 2-step CFRA resource and a 4-step CFRA resource).

Example six

The network side pre-configures PUSCH resources, CF RACH resources and CB RACH resources for uplink small data transmission. And the network side allocates a pre-configured PUSCH resource for directly sending uplink small data transmission in a non-connection state to a certain terminal through a special signaling. In addition, the network side configures the CF RACH resources for directly sending the uplink small data transmission in the non-connection state through a special signaling mode. The CF RACH resource can comprise one or two of a 2-step CFRA resource and a 4-step CFRA resource. The network side configures the CB RACH resources for directly sending the uplink small data transmission in the non-connection state through a broadcasting or special signaling mode. The CB RACH resource can comprise one or two of a 2-step CBRA resource and a 4-step CBRA resource.

When a non-connection state terminal needs to trigger direct transmission of small uplink data, firstly judging whether a condition of using a CF RACH resource to transmit the small uplink data is met; if yes, the CF RACH resource is used for directly transmitting uplink small data in a non-connection state; if not, adopting any one of the following modes:

1) judging whether the condition of using CB RACH resources to transmit uplink small data is met; if so, directly transmitting uplink small data in a non-connection state by using the CB RACH resource; if not, the terminal further judges whether the condition of using the pre-configured PUSCH resource to transmit the uplink small data is met; if so, directly transmitting the uplink small data in a non-connection state by using the pre-configured PUSCH resource; optionally, if the condition is not satisfied yet, the non-connected terminal does not trigger a related process of directly sending the uplink small data.

2) Judging whether a condition of using a pre-configured PUSCH resource to transmit uplink small data is met; if so, directly transmitting the uplink small data in a non-connection state by using the pre-configured PUSCH resource; if not, the terminal further judges whether the condition of using the CB RACH resource to transmit the uplink small data is met; if so, directly transmitting uplink small data in a non-connection state by using the CB RACH resource; optionally, if the condition is not satisfied yet, the non-connected terminal does not trigger a related process of directly sending the uplink small data.

The condition for directly transmitting UL small data in the non-connected state using the CF RACH resource is as described in example five; the condition for directly transmitting UL small data in the unconnected state using the CB RACH resource is as described in example four; the condition for directly transmitting UL small data in the non-connected state using the preconfigured PUSCH resource is as described in example four; and will not be repeated herein.

In summary, in the embodiment of the present invention, the terminal can select an appropriate resource for the transmission of the non-connection-state small data by determining the first condition and/or the second condition.

As shown in fig. 2, an embodiment of the present invention further provides a terminal, including: a transceiver 220, a memory 210, a processor 200 and a computer program stored on the memory 210 and executable on the processor 200, the transceiver 220 receiving and transmitting data under the control of the processor 200, the processor 200 reading the program in the memory and performing the following operations:

judging whether a condition for transmitting first data by using a first resource is met;

transmitting first data in a non-connected state using a first resource if a condition for transmitting the first data using the first resource is satisfied;

under the condition that the condition of transmitting the first data by using the first resource is not met, judging whether the condition of transmitting the first data by using the second resource is met or not;

and transmitting the first data in a non-connection state by using the second resource under the condition that a condition that the first data is transmitted by using the second resource is met.

Optionally, in the embodiment of the present invention, the first resource is a preconfigured physical uplink shared channel, PUSCH, resource, and the second resource is a random access resource.

Optionally, in the embodiment of the present invention, when the first resource is a random access resource, the second resource is a preconfigured physical uplink shared channel, PUSCH, resource.

Optionally, in the foregoing embodiment of the present invention, the condition for transmitting the first data using the preconfigured PUSCH resource includes at least one of:

the terminal has the capability of directly transmitting small data by using PUSCH resources in a non-connected state;

the terminal currently has valid PUSCH resources;

the size of the first data to be transmitted is smaller than or equal to a first threshold;

the size of the first data to be transmitted belongs to a first range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a second threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a first data bearer or a first service.

Optionally, in the above embodiment of the present invention, the condition for transmitting the first data using the random access resource includes at least one of:

the terminal currently has valid random access resources;

the terminal has the capability of directly transmitting small data by using random access resources in a non-connection state;

the size of the first data to be transmitted is smaller than or equal to a third threshold;

the size of the first data to be transmitted belongs to a second range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a fourth threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a second data bearer or a second service.

Optionally, in the foregoing embodiment of the present invention, the random access resource includes: in the case of two-step random access resources and four-step random access resources, the processor 200 is further configured to read a program in the memory, and perform the following operations:

judging whether a condition for transmitting first data by using two-step random access resources is met;

if the condition that the first data is transmitted by using the two-step random access resources is met, the first data is transmitted in a non-connection state by using the two-step random access resources;

if the condition that the first data is transmitted by using the two-step random access resource is not met, judging whether the condition that the first data is transmitted by using the four-step random access resource is met or not;

and if the condition that the first data is transmitted by using the four-step random access resource is met, transmitting the first data in a non-connection state by using the four-step random access resource.

Optionally, in the foregoing embodiment of the present invention, in a case that the random access resource includes a contention random access resource and a non-contention random access resource, the processor 200 is further configured to read a program in a memory, and perform the following operations:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the second condition of using the non-competitive random access resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met or not;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

Optionally, in the foregoing embodiment of the present invention, in a case that the random access resource includes a contention random access resource and a non-contention random access resource, the processor 200 is further configured to read a program in a memory, and perform the following operations:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the condition for transmitting the first data using the non-contention random access resource is not satisfied, the processor 200 is further configured to read a program in a memory and perform the following operations:

judging whether a condition for transmitting first data by using a pre-configured PUSCH resource is met;

if the condition of using the pre-configured PUSCH resource to transmit the first data is met, using the pre-configured PUSCH resource to transmit the first data in a non-connection state; if the condition of using the pre-configured PUSCH resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

In the embodiment of the invention, the terminal can select a proper resource for the transmission of the small data in the non-connection state by judging the condition for transmitting the first data by using the first resource and/or the condition for transmitting the first data by using the second resource.

Because the principle of the terminal provided by the embodiment of the present invention for solving the problem is similar to the data transmission method in the embodiment of the present invention, the implementation of the terminal may refer to the implementation of the method, and the repeated parts are not described again.

As shown in fig. 3, an embodiment of the present invention further provides a data transmission apparatus, which is applied to a terminal, and includes:

a first determining module 31, configured to determine whether a condition for transmitting the first data using the first resource is satisfied;

a first transmission module 32, configured to transmit first data in a non-connected state using a first resource if a condition for transmitting the first data using the first resource is satisfied;

a second judging module 33, configured to judge whether a condition for transmitting the first data using the second resource is satisfied, if the condition for transmitting the first data using the first resource is not satisfied;

a second transmission module 34, configured to transmit the first data in a non-connected state using the second resource if a condition for transmitting the first data using the second resource is satisfied.

Optionally, in the embodiment of the present invention, the first resource is a preconfigured physical uplink shared channel, PUSCH, resource, and the second resource is a random access resource.

Optionally, in the embodiment of the present invention, when the first resource is a random access resource, the second resource is a preconfigured physical uplink shared channel, PUSCH, resource.

Optionally, in the foregoing embodiment of the present invention, the condition for transmitting the first data using the preconfigured PUSCH resource includes at least one of:

the terminal has the capability of directly transmitting small data by using PUSCH resources in a non-connected state;

the terminal currently has valid PUSCH resources;

the size of the first data to be transmitted is smaller than or equal to a first threshold;

the size of the first data to be transmitted belongs to a first range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a second threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a first data bearer or a first service.

Optionally, in the above embodiment of the present invention, the condition for transmitting the first data using the random access resource includes at least one of:

the terminal currently has valid random access resources;

the terminal has the capability of directly transmitting small data by using random access resources in a non-connection state;

the size of the first data to be transmitted is smaller than or equal to a third threshold;

the size of the first data to be transmitted belongs to a second range;

the first data to be transmitted is terminal originating data or small data;

the signal quality of the serving cell of the terminal is greater than a fourth threshold;

the first data to be transmitted is in a non-confirmation mode;

the first data to be transmitted corresponds to a second data bearer or a second service.

Optionally, in the foregoing embodiment of the present invention, the random access resource includes: under the condition of the two-step random access resource and the four-step random access resource, the first judging module or the second judging module is further configured to:

judging whether a condition for transmitting first data by using two-step random access resources is met;

if the condition that the first data is transmitted by using the two-step random access resources is met, the first data is transmitted in a non-connection state by using the two-step random access resources;

if the condition that the first data is transmitted by using the two-step random access resource is not met, judging whether the condition that the first data is transmitted by using the four-step random access resource is met or not;

and if the condition that the first data is transmitted by using the four-step random access resource is met, transmitting the first data in a non-connection state by using the four-step random access resource.

Optionally, in the above embodiment of the present invention, in a case that the random access resource includes a contention random access resource and a non-contention random access resource, the first determining module or the second determining module is further configured to:

judging whether a condition for transmitting first data by using non-competitive random access resources is met;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the second condition of using the non-competitive random access resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met or not;

and if the condition that the first data is transmitted by using the competitive random access resource is met, the first data is transmitted in a non-connection state by using the competitive random access resource.

Optionally, in the above embodiment of the present invention, in a case that the random access resource includes a contention random access resource and a non-contention random access resource, the first determining module or the second determining module is further configured to:

judging whether the terminal meets a second condition of using non-competitive random access resources to transmit first data;

if the condition of using the non-competitive random access resource to transmit the first data is met, using the non-competitive random access resource to transmit the first data in a non-connection state;

if the condition for transmitting the first data by using the non-contention random access resource is not satisfied, the apparatus further comprises:

a fourth judging module, configured to judge whether a condition for transmitting the first data using the preconfigured PUSCH resource is satisfied;

a fifth determining module, configured to transmit the first data in a non-connected state by using a preconfigured PUSCH resource if a condition for transmitting the first data by using the preconfigured PUSCH resource is met; if the condition of using the pre-configured PUSCH resource to transmit the first data is not met, judging whether the condition of using the competitive random access resource to transmit the first data is met;

and a fifth transmission module, configured to transmit the first data in a non-connection state by using the contention random access resource if a condition that the contention random access resource is used to transmit the first data is met.

In the embodiment of the invention, the terminal can select a proper resource for the transmission of the small data in the non-connection state by judging the condition for transmitting the first data by using the first resource and/or the condition for transmitting the first data by using the second resource.

Because the principle of solving the problem of the data transmission device provided by the embodiment of the invention is similar to that of the data transmission method in the embodiment of the invention, the implementation of the data transmission device can be referred to the implementation of the method, and repeated parts are not described again.

An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the data transmission method embodiment described above, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.

While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于确定配置的方法和设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!