CN117015046A - Data transmission method, device and terminal - Google Patents
Data transmission method, device and terminal Download PDFInfo
- Publication number
- CN117015046A CN117015046A CN202210440863.5A CN202210440863A CN117015046A CN 117015046 A CN117015046 A CN 117015046A CN 202210440863 A CN202210440863 A CN 202210440863A CN 117015046 A CN117015046 A CN 117015046A
- Authority
- CN
- China
- Prior art keywords
- data
- data transmission
- resources
- random access
- mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 356
- 238000000034 method Methods 0.000 title claims abstract description 88
- 238000011084 recovery Methods 0.000 claims description 29
- 230000008569 process Effects 0.000 claims description 28
- 238000013475 authorization Methods 0.000 claims description 4
- 230000011664 signaling Effects 0.000 abstract description 5
- 230000003044 adaptive effect Effects 0.000 abstract description 4
- 238000012545 processing Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 101100533725 Mus musculus Smr3a gene Proteins 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
- H04W72/1263—Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
- H04W72/1268—Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows of uplink data flows
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
- H04W72/1263—Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
- H04W72/1273—Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows of downlink data flows
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/20—Control channels or signalling for resource management
- H04W72/23—Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及通信技术领域,特别是指一种数据传输方法、装置及终端。The present invention relates to the field of communication technology, and in particular to a data transmission method, device and terminal.
背景技术Background Art
在现有技术中,终端通过基于随机接入的小数据传输或者基于配置授权(Configured grant)的小数据传输进行上行数据或者上行信息上报。由于上行数据的传输和下行数据的传输相对独立,在终端有下行数据业务的同时,终端可能有上行业务到达;同样,终端在进行上行数据传输过程中,终端仍处于无线资源控制(Radio ResourceControl,RRC)非激活状态,可能出现下行数据到达的情况,因此在引入下行传输后,现有的上行数据传输方式不再适用。In the prior art, the terminal reports uplink data or uplink information through small data transmission based on random access or small data transmission based on configured grant. Since the transmission of uplink data and downlink data are relatively independent, the terminal may have uplink services arriving while it has downlink data services; similarly, when the terminal is performing uplink data transmission, the terminal is still in the Radio Resource Control (RRC) inactive state, and downlink data may arrive. Therefore, after the introduction of downlink transmission, the existing uplink data transmission method is no longer applicable.
发明内容Summary of the invention
本发明的目的是提供一种数据传输方法、装置及终端,解决了现有的数据传输方法不适用于上行数据和下行数据同时到达的情况的问题。The object of the present invention is to provide a data transmission method, device and terminal, which solve the problem that the existing data transmission method is not suitable for the situation where uplink data and downlink data arrive at the same time.
为达到上述目的,本发明的实施例提供一种数据传输方法,包括:To achieve the above object, an embodiment of the present invention provides a data transmission method, including:
终端在下行数据和上行数据同时到达的情况下,基于数据传输资源,确定数据传输模式;When downlink data and uplink data arrive at the same time, the terminal determines the data transmission mode based on the data transmission resources;
根据所述数据传输模式,传输所述下行数据和所述上行数据;Transmitting the downlink data and the uplink data according to the data transmission mode;
其中,所述数据传输资源包括:配置授权CG资源、半持续调度(Semi-PersistentScheduling,SPS)资源以及随机接入资源中的至少一项。The data transmission resources include: at least one of configured authorized CG resources, semi-persistent scheduling (Semi-Persistent Scheduling, SPS) resources and random access resources.
可选地,所述基于数据传输资源,确定数据传输模式,包括:Optionally, determining the data transmission mode based on the data transmission resource includes:
根据满足预设条件的数据传输资源,和/或网络侧设备指示的数据传输资源,确定所述数据传输模式。The data transmission mode is determined according to data transmission resources that meet preset conditions and/or data transmission resources indicated by a network side device.
可选地,所述数据传输资源通过寻呼消息指示。Optionally, the data transmission resource is indicated by a paging message.
可选地,所述数据传输模式包括:Optionally, the data transmission mode includes:
模式一:使用CG资源传输上行数据,使用SPS资源接收下行数据;Mode 1: Use CG resources to transmit uplink data and use SPS resources to receive downlink data;
模式二:使用CG资源传输上行数据,使用随机接入资源接收下行数据;Mode 2: Use CG resources to transmit uplink data and use random access resources to receive downlink data;
模式三:使用SPS资源接收下行数据,使用随机接入资源传输上行数据;Mode 3: Use SPS resources to receive downlink data and use random access resources to transmit uplink data;
模式四:使用随机接入资源传输上行数据和下行数据。Mode 4: Use random access resources to transmit uplink data and downlink data.
可选地,所述基于数据传输资源,确定数据传输模式,包括以下至少一项:Optionally, determining the data transmission mode based on the data transmission resource includes at least one of the following:
若所述CG资源和SPS资源均满足预设条件,则确定所述数据传输模式为模式一;If both the CG resource and the SPS resource meet the preset conditions, determining that the data transmission mode is mode 1;
若所述CG资源和所述随机接入资源均满足预设条件,则确定所述数据传输模式为模式二;If both the CG resource and the random access resource meet the preset conditions, determining that the data transmission mode is mode 2;
若所述CG资源满足预设条件,且所述网络侧设备指示使用随机接入资源接收所述下行数据,则确定所述数据传输模式为模式二;If the CG resource meets the preset condition and the network side device indicates to use the random access resource to receive the downlink data, then determining that the data transmission mode is mode 2;
若所述SPS资源满足预设条件,所述CG资源不满足所述预设条件,则确定所述数据传输模式为模式三;If the SPS resource meets the preset condition, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode 3;
若所述网络侧设备指示使用SPS资源接收所述下行数据,且所述CG资源不满足预设条件,则确定所述数据传输模式为模式三;If the network side device indicates to use the SPS resource to receive the downlink data, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode three;
若所述CG资源和所述SPS资源均不满足预设条件,则确定所述数据传输模式为模式四。If neither the CG resources nor the SPS resources meet the preset conditions, the data transmission mode is determined to be mode four.
可选地,所述预设条件包括以下至少一项:Optionally, the preset condition includes at least one of the following:
所述网络侧设备为所述终端配置了所述数据传输资源;The network side device configures the data transmission resource for the terminal;
所述数据传输资源可用;The data transmission resource is available;
所述数据传输资源可承载的数据量大于待传输数据包的数据量;The amount of data that can be carried by the data transmission resource is greater than the amount of data packets to be transmitted;
所述数据传输资源进行数据传输的效率达到第一阈值。The efficiency of the data transmission resource in performing data transmission reaches a first threshold.
可选地,在所述数据传输模式为模式二的情况下,所述根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 2, transmitting the downlink data and the uplink data according to the data transmission mode includes:
在所述CG资源传输上行数据,所述上行数据中携带RRC恢复请求消息,所述RRC恢复请求消息用于指示所述终端传输所述上行数据和所述下行数据的传输需求;Transmitting uplink data on the CG resource, wherein the uplink data carries an RRC recovery request message, and the RRC recovery request message is used to indicate a transmission requirement of the terminal to transmit the uplink data and the downlink data;
基于随机接入流程确定小区无线网络临时标识C-RNTI;Determine the cell radio network temporary identifier C-RNTI based on the random access process;
基于所述C-RNTI,在下行接收窗口内接收所述下行数据。Based on the C-RNTI, the downlink data is received within a downlink receiving window.
可选地,在所述数据传输模式为模式三的情况下,所述根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode three, transmitting the downlink data and the uplink data according to the data transmission mode includes:
在所述SPS资源接收下行数据;Receiving downlink data on the SPS resource;
在所述随机接入资源中的第一随机接入资源满足所述预设条件的情况下,使用所述第一随机接入资源传输所述上行数据;When a first random access resource among the random access resources meets the preset condition, using the first random access resource to transmit the uplink data;
在所述随机接入资源中的第一随机接入资源不满足所述预设条件的情况下,在与所述SPS资源对应的下行控制信息DCI指示的物理上行共享信道PUSCH中传输所述上行数据或者缓存状态报告BSR,所述BSR用于指示所述上行数据的数据量。When the first random access resource in the random access resources does not meet the preset condition, the uplink data or the buffer status report BSR is transmitted in the physical uplink shared channel PUSCH indicated by the downlink control information DCI corresponding to the SPS resource, and the BSR is used to indicate the data amount of the uplink data.
可选地,在所述数据传输模式为模式四的情况下,所述根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 4, transmitting the downlink data and the uplink data according to the data transmission mode includes:
获取网络侧设备配置的通用随机接入参数,所述通用随机接入参数包括随机接入资源;Acquire a general random access parameter configured by a network side device, wherein the general random access parameter includes a random access resource;
使用所述通用随机接入参数指示的随机接入资源,传输所述上行数据和所述下行数据;Transmitting the uplink data and the downlink data using the random access resources indicated by the general random access parameters;
其中,所述通用随机接入参数是所述网络侧设备针对所述上行数据和所述下行数据同时到达的情况配置的。The general random access parameter is configured by the network side device for the situation where the uplink data and the downlink data arrive at the same time.
可选地,在所述数据传输模式为模式四的情况下,所述根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 4, transmitting the downlink data and the uplink data according to the data transmission mode includes:
发起随机接入流程;Initiate a random access procedure;
在所述随机接入流程的执行过程中,使用所述随机接入资源传输所述上行数据和/或所述下行数据;During the execution of the random access procedure, using the random access resource to transmit the uplink data and/or the downlink data;
其中,在所述随机接入流程的第一消息中携带RRC恢复请求消息,所述RRC恢复请求消息包括第一参数,所述第一参数用于指示所述上行数据和所述下行数据同时到达。The first message of the random access procedure carries an RRC recovery request message, and the RRC recovery request message includes a first parameter, and the first parameter is used to indicate that the uplink data and the downlink data arrive at the same time.
为达到上述目的,本发明的实施例提供一种数据传输装置,包括:To achieve the above object, an embodiment of the present invention provides a data transmission device, including:
第一确定模块,用于在下行数据和上行数据同时到达的情况下,基于数据传输资源,确定数据传输模式;A first determination module, configured to determine a data transmission mode based on data transmission resources when downlink data and uplink data arrive at the same time;
第一传输模块,用于根据所述数据传输模式,传输所述下行数据和所述上行数据;A first transmission module, configured to transmit the downlink data and the uplink data according to the data transmission mode;
其中,所述数据传输资源包括:配置授权CG资源、半持续调度SPS资源以及随机接入资源中的至少一项。The data transmission resources include: at least one of configured authorized CG resources, semi-persistent scheduling SPS resources and random access resources.
可选地,所述第一确定模块具体用于:Optionally, the first determining module is specifically configured to:
根据满足预设条件的数据传输资源,和/或网络侧设备指示的数据传输资源,确定所述数据传输模式。The data transmission mode is determined according to data transmission resources that meet preset conditions and/or data transmission resources indicated by a network side device.
可选地,所述数据传输资源通过寻呼消息指示。Optionally, the data transmission resource is indicated by a paging message.
可选地,所述数据传输模式包括:Optionally, the data transmission mode includes:
模式一:使用CG资源传输上行数据,使用SPS资源接收下行数据;Mode 1: Use CG resources to transmit uplink data and use SPS resources to receive downlink data;
模式二:使用CG资源传输上行数据,使用随机接入资源接收下行数据;Mode 2: Use CG resources to transmit uplink data and use random access resources to receive downlink data;
模式三:使用SPS资源接收下行数据,使用随机接入资源传输上行数据;Mode 3: Use SPS resources to receive downlink data and use random access resources to transmit uplink data;
模式四:使用随机接入资源传输上行数据和下行数据。Mode 4: Use random access resources to transmit uplink data and downlink data.
可选地,所述第一确定模块用于执行以下至少一项操作:Optionally, the first determining module is used to perform at least one of the following operations:
若所述CG资源和SPS资源均满足预设条件,则确定所述数据传输模式为模式一;If both the CG resource and the SPS resource meet the preset conditions, determining that the data transmission mode is mode 1;
若所述CG资源和所述随机接入资源均满足预设条件,则确定所述数据传输模式为模式二;If both the CG resource and the random access resource meet the preset conditions, determining that the data transmission mode is mode 2;
若所述CG资源满足预设条件,且所述网络侧设备指示使用随机接入资源接收所述下行数据,则确定所述数据传输模式为模式二;If the CG resource meets the preset condition and the network side device indicates to use the random access resource to receive the downlink data, then determining that the data transmission mode is mode 2;
若所述SPS资源满足预设条件,所述CG资源不满足所述预设条件,则确定所述数据传输模式为模式三;If the SPS resource meets the preset condition, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode 3;
若所述网络侧设备指示使用SPS资源接收所述下行数据,且所述CG资源不满足预设条件,则确定所述数据传输模式为模式三;If the network side device indicates to use the SPS resource to receive the downlink data, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode three;
若所述CG资源和所述SPS资源均不满足预设条件,则确定所述数据传输模式为模式四。If neither the CG resources nor the SPS resources meet the preset conditions, the data transmission mode is determined to be mode four.
可选地,所述预设条件包括以下至少一项:Optionally, the preset condition includes at least one of the following:
所述网络侧设备为所述终端配置了所述数据传输资源;The network side device configures the data transmission resource for the terminal;
所述数据传输资源可用;The data transmission resource is available;
所述数据传输资源可承载的数据量大于待传输数据包的数据量;The amount of data that can be carried by the data transmission resource is greater than the amount of data packets to be transmitted;
所述数据传输资源进行数据传输的效率达到第一阈值。The efficiency of the data transmission resource in performing data transmission reaches a first threshold.
可选地,在所述数据传输模式为模式二的情况下,所述第一传输模块具体用于:Optionally, when the data transmission mode is mode 2, the first transmission module is specifically configured to:
在所述CG资源传输上行数据,所述上行数据中携带RRC恢复请求消息,所述RRC恢复请求消息用于指示所述终端传输所述上行数据和所述下行数据的传输需求;Transmitting uplink data on the CG resource, wherein the uplink data carries an RRC recovery request message, and the RRC recovery request message is used to indicate a transmission requirement of the terminal to transmit the uplink data and the downlink data;
基于随机接入流程确定小区无线网络临时标识(Cell-Radio Network TemporaryIdentifier,C-RNTI);Determine the Cell-Radio Network Temporary Identifier (C-RNTI) based on the random access process;
基于所述C-RNTI,在下行接收窗口内接收所述下行数据。Based on the C-RNTI, the downlink data is received within a downlink receiving window.
可选地,在所述数据传输模式为模式三的情况下,所述第一传输模块具体用于:Optionally, when the data transmission mode is mode three, the first transmission module is specifically configured to:
在所述SPS资源接收下行数据;Receiving downlink data on the SPS resource;
在所述随机接入资源中的第一随机接入资源满足所述预设条件的情况下,使用所述第一随机接入资源传输所述上行数据;When a first random access resource among the random access resources meets the preset condition, using the first random access resource to transmit the uplink data;
在所述随机接入资源中的第一随机接入资源不满足所述预设条件的情况下,在与所述SPS资源对应的下行控制信息(Downlink Control Information,DCI)指示的物理上行共享信道PUSCH中传输所述上行数据或者缓存状态报告(Buffer Status Report,BSR),所述BSR用于指示所述上行数据的数据量。When the first random access resource in the random access resources does not meet the preset condition, the uplink data or the buffer status report (Buffer Status Report, BSR) is transmitted in the physical uplink shared channel PUSCH indicated by the downlink control information (Downlink Control Information, DCI) corresponding to the SPS resource, and the BSR is used to indicate the data amount of the uplink data.
可选地,在所述数据传输模式为模式四的情况下,所述第一传输模块具体用于:Optionally, when the data transmission mode is mode 4, the first transmission module is specifically configured to:
获取网络侧设备配置的通用随机接入参数,所述通用随机接入参数包括随机接入资源;Acquire a general random access parameter configured by a network side device, wherein the general random access parameter includes a random access resource;
使用所述通用随机接入参数指示的随机接入资源,传输所述上行数据和所述下行数据;Transmitting the uplink data and the downlink data using the random access resources indicated by the general random access parameters;
其中,所述通用随机接入参数是所述网络侧设备针对所述上行数据和所述下行数据同时到达的情况配置的。The general random access parameter is configured by the network side device for the situation where the uplink data and the downlink data arrive at the same time.
可选地,在所述数据传输模式为模式四的情况下,所述第一传输模块具体用于:Optionally, when the data transmission mode is mode 4, the first transmission module is specifically configured to:
发起随机接入流程;Initiate a random access procedure;
在所述随机接入流程的执行过程中,使用所述随机接入资源传输所述上行数据和/或所述下行数据;During the execution of the random access procedure, using the random access resource to transmit the uplink data and/or the downlink data;
其中,在所述随机接入流程的第一消息中携带RRC恢复请求消息,所述RRC恢复请求消息包括第一参数,所述第一参数用于指示所述上行数据和所述下行数据同时到达。The first message of the random access procedure carries an RRC recovery request message, and the RRC recovery request message includes a first parameter, and the first parameter is used to indicate that the uplink data and the downlink data arrive at the same time.
为达到上述目的,本发明的实施例提供一种终端,包括:收发器和处理器;To achieve the above object, an embodiment of the present invention provides a terminal, including: a transceiver and a processor;
所述处理器用于:在下行数据和上行数据同时到达的情况下,基于数据传输资源,确定数据传输模式;The processor is used to: determine a data transmission mode based on data transmission resources when downlink data and uplink data arrive at the same time;
所述收发器用于:根据所述数据传输模式,传输所述下行数据和所述上行数据;The transceiver is used to: transmit the downlink data and the uplink data according to the data transmission mode;
其中,所述数据传输资源包括:配置授权CG资源、半持续调度SPS资源以及随机接入资源中的至少一项。The data transmission resources include: at least one of configured authorized CG resources, semi-persistent scheduling SPS resources and random access resources.
可选地,所述处理器基于数据传输资源,确定数据传输模式,包括:Optionally, the processor determines the data transmission mode based on the data transmission resource, including:
根据满足预设条件的数据传输资源,和/或网络侧设备指示的数据传输资源,确定所述数据传输模式。The data transmission mode is determined according to data transmission resources that meet preset conditions and/or data transmission resources indicated by a network side device.
可选地,所述数据传输资源通过寻呼消息指示。Optionally, the data transmission resource is indicated by a paging message.
可选地,所述数据传输模式包括:Optionally, the data transmission mode includes:
模式一:使用CG资源传输上行数据,使用SPS资源接收下行数据;Mode 1: Use CG resources to transmit uplink data and use SPS resources to receive downlink data;
模式二:使用CG资源传输上行数据,使用随机接入资源接收下行数据;Mode 2: Use CG resources to transmit uplink data and use random access resources to receive downlink data;
模式三:使用SPS资源接收下行数据,使用随机接入资源传输上行数据;Mode 3: Use SPS resources to receive downlink data and use random access resources to transmit uplink data;
模式四:使用随机接入资源传输上行数据和下行数据。Mode 4: Use random access resources to transmit uplink data and downlink data.
可选地,所述处理器基于数据传输资源,确定数据传输模式,包括以下至少一项:Optionally, the processor determines the data transmission mode based on the data transmission resource, including at least one of the following:
若所述CG资源和SPS资源均满足预设条件,则确定所述数据传输模式为模式一;If both the CG resource and the SPS resource meet the preset conditions, determining that the data transmission mode is mode 1;
若所述CG资源和所述随机接入资源均满足预设条件,则确定所述数据传输模式为模式二;If both the CG resource and the random access resource meet the preset conditions, determining that the data transmission mode is mode 2;
若所述CG资源满足预设条件,且所述网络侧设备指示使用随机接入资源接收所述下行数据,则确定所述数据传输模式为模式二;If the CG resource meets the preset condition and the network side device indicates to use the random access resource to receive the downlink data, then determining that the data transmission mode is mode 2;
若所述SPS资源满足预设条件,所述CG资源不满足所述预设条件,则确定所述数据传输模式为模式三;If the SPS resource meets the preset condition, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode 3;
若所述网络侧设备指示使用SPS资源接收所述下行数据,且所述CG资源不满足预设条件,则确定所述数据传输模式为模式三;If the network side device indicates to use the SPS resource to receive the downlink data, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode three;
若所述CG资源和所述SPS资源均不满足预设条件,则确定所述数据传输模式为模式四。If neither the CG resources nor the SPS resources meet the preset conditions, the data transmission mode is determined to be mode four.
可选地,所述预设条件包括以下至少一项:Optionally, the preset condition includes at least one of the following:
所述网络侧设备为所述终端配置了所述数据传输资源;The network side device configures the data transmission resource for the terminal;
所述数据传输资源可用;The data transmission resource is available;
所述数据传输资源可承载的数据量大于待传输数据包的数据量;The amount of data that can be carried by the data transmission resource is greater than the amount of data packets to be transmitted;
所述数据传输资源进行数据传输的效率达到第一阈值。The efficiency of the data transmission resource in performing data transmission reaches a first threshold.
可选地,在所述数据传输模式为模式二的情况下,所述收发器根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 2, the transceiver transmits the downlink data and the uplink data according to the data transmission mode, including:
在所述CG资源传输上行数据,所述上行数据中携带RRC恢复请求消息,所述RRC恢复请求消息用于指示所述终端传输所述上行数据和所述下行数据的传输需求;Transmitting uplink data on the CG resource, wherein the uplink data carries an RRC recovery request message, and the RRC recovery request message is used to indicate a transmission requirement of the terminal to transmit the uplink data and the downlink data;
基于随机接入流程确定小区无线网络临时标识C-RNTI;Determine the cell radio network temporary identifier C-RNTI based on the random access process;
基于所述C-RNTI,在下行接收窗口内接收所述下行数据。Based on the C-RNTI, the downlink data is received within a downlink receiving window.
可选地,在所述数据传输模式为模式三的情况下,所述收发器根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode three, the transceiver transmits the downlink data and the uplink data according to the data transmission mode, including:
在所述SPS资源接收下行数据;Receiving downlink data on the SPS resource;
在所述随机接入资源中的第一随机接入资源满足所述预设条件的情况下,使用所述第一随机接入资源传输所述上行数据;When a first random access resource among the random access resources meets the preset condition, using the first random access resource to transmit the uplink data;
在所述随机接入资源中的第一随机接入资源不满足所述预设条件的情况下,在与所述SPS资源对应的下行控制信息DCI指示的物理上行共享信道PUSCH中传输所述上行数据或者缓存状态报告BSR,所述BSR用于指示所述上行数据的数据量。When the first random access resource in the random access resources does not meet the preset condition, the uplink data or the buffer status report BSR is transmitted in the physical uplink shared channel PUSCH indicated by the downlink control information DCI corresponding to the SPS resource, and the BSR is used to indicate the data amount of the uplink data.
可选地,在所述数据传输模式为模式四的情况下,所述收发器根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 4, the transceiver transmits the downlink data and the uplink data according to the data transmission mode, including:
获取网络侧设备配置的通用随机接入参数,所述通用随机接入参数包括随机接入资源;Acquire a general random access parameter configured by a network side device, wherein the general random access parameter includes a random access resource;
使用所述通用随机接入参数指示的随机接入资源,传输所述上行数据和所述下行数据;Transmitting the uplink data and the downlink data using the random access resources indicated by the general random access parameters;
其中,所述通用随机接入参数是所述网络侧设备针对所述上行数据和所述下行数据同时到达的情况配置的。The general random access parameter is configured by the network side device for the situation where the uplink data and the downlink data arrive at the same time.
可选地,在所述数据传输模式为模式四的情况下,所述收发器根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 4, the transceiver transmits the downlink data and the uplink data according to the data transmission mode, including:
发起随机接入流程;Initiate a random access procedure;
在所述随机接入流程的执行过程中,使用所述随机接入资源传输所述上行数据和/或所述下行数据;During the execution of the random access procedure, using the random access resource to transmit the uplink data and/or the downlink data;
其中,在所述随机接入流程的第一消息中携带RRC恢复请求消息,所述RRC恢复请求消息包括第一参数,所述第一参数用于指示所述上行数据和所述下行数据同时到达。The first message of the random access procedure carries an RRC recovery request message, and the RRC recovery request message includes a first parameter, and the first parameter is used to indicate that the uplink data and the downlink data arrive at the same time.
为达到上述目的,本发明的实施例提供一种终端,包括:收发器、处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令;其特征在于,所述处理器执行所述程序或指令时实现上述的数据传输方法。To achieve the above-mentioned purpose, an embodiment of the present invention provides a terminal, comprising: a transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; characterized in that the processor implements the above-mentioned data transmission method when executing the program or instruction.
为达到上述目的,本发明的实施例提供一种可读存储介质,其上存储有程序或指令,所述程序或指令被处理器执行时实现上述的数据传输方法的步骤。To achieve the above object, an embodiment of the present invention provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the above data transmission method are implemented.
本发明的上述技术方案的有益效果如下:The beneficial effects of the above technical solution of the present invention are as follows:
本申请的实施例,在上下行数据同时到达情况下,终端基于当前配置的数据传输资源,包括CG资源、SPS资源和随机接入资源,选择适配的数据传输模式传输上下行数据,对上行数据传输和下行数据传输联合处理,能够降低终端的数据传输时延,降低数据传输的信令开销和传输资源开销,提高传输效率。In an embodiment of the present application, when uplink and downlink data arrive at the same time, the terminal selects an adaptive data transmission mode to transmit the uplink and downlink data based on the currently configured data transmission resources, including CG resources, SPS resources and random access resources, and jointly processes the uplink data transmission and the downlink data transmission, which can reduce the data transmission delay of the terminal, reduce the signaling overhead and transmission resource overhead of the data transmission, and improve the transmission efficiency.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例的数据传输方法的流程示意图之一;FIG1 is a schematic diagram of a data transmission method according to an embodiment of the present invention;
图2为本发明实施例的下行数据传输过程示意图之一;FIG2 is a schematic diagram of a downlink data transmission process according to an embodiment of the present invention;
图3为本发明实施例的下行数据传输过程示意图之二;FIG3 is a second schematic diagram of a downlink data transmission process according to an embodiment of the present invention;
图4为本发明实施例的数据传输方法的流程示意图之二;FIG4 is a second flow chart of a data transmission method according to an embodiment of the present invention;
图5为本发明实施例的数据传输装置的结构示意图;FIG5 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
图6为本发明实施例的终端的结构示意图。FIG. 6 is a schematic diagram of the structure of a terminal according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
在本发明的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
另外,本文中术语“系统”和“网络”在本文中常可互换使用。Additionally, the terms "system" and "network" are often used interchangeably herein.
在本申请所提供的实施例中,应理解,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and/or other information.
如图1所示,本发明实施例提供一种数据传输方法,包括:As shown in FIG1 , an embodiment of the present invention provides a data transmission method, including:
步骤101、终端在下行数据和上行数据同时到达的情况下,基于数据传输资源,确定数据传输模式。其中,所述数据传输资源包括:配置授权CG资源、半持续调度SPS资源以及随机接入资源中的至少一项。Step 101: When downlink data and uplink data arrive at the same time, the terminal determines a data transmission mode based on data transmission resources, wherein the data transmission resources include at least one of configuration authorization CG resources, semi-persistent scheduling SPS resources, and random access resources.
所述下行数据和上行数据同时到达可以是指:所述下行数据和所述上行数据在同一时刻到达;或者,在接收到下行数据到达的指示信息,所述终端还未对该下行数据到达的指示信息进行响应时,终端接收到上行数据到达的指示信息;或者,在接收到上行数据到达的指示信息,所述终端还未对该上行数据到达的指示信息进行响应时,接收到下行数据到达的指示信息。The simultaneous arrival of the downlink data and the uplink data may mean that: the downlink data and the uplink data arrive at the same time; or, when the terminal receives the indication information of the arrival of downlink data and has not yet responded to the indication information of the arrival of the downlink data, the terminal receives the indication information of the arrival of uplink data; or, when the terminal receives the indication information of the arrival of uplink data and has not yet responded to the indication information of the arrival of the uplink data, the terminal receives the indication information of the arrival of downlink data.
所述上行数据可以是指上行数据包,所述下行数据可以是指下行数据包。The uplink data may refer to an uplink data packet, and the downlink data may refer to a downlink data packet.
例如:终端接收到网络侧设备发送的寻呼(paging)消息,该寻呼消息指示有下行数据到达,在终端响应该寻呼消息(例如:终端发送上行前导(preamble)、或者终端发送MsgA、或者物理上行共享信道(Physical Uplink Shared Channel,PUSCH))之前,有上行数据到达,可以认为所述下行数据和上行数据同时到达。如图2所示,为基于随机接入(RandomAccess,RA)的下行数据传输过程中,终端接收到寻呼消息时,有上行数据到达的情况示意图;如图3所示,为基于SPS的下行数据传输过程中,终端接收到寻呼消息时,有上行数据到达的情况示意图。For example: the terminal receives a paging message sent by a network-side device, and the paging message indicates that downlink data has arrived. Before the terminal responds to the paging message (for example: the terminal sends an uplink preamble, or the terminal sends MsgA, or the Physical Uplink Shared Channel (PUSCH)), uplink data has arrived. It can be considered that the downlink data and the uplink data have arrived at the same time. As shown in Figure 2, it is a schematic diagram of the situation in which uplink data arrives when the terminal receives a paging message during downlink data transmission based on random access (RA); as shown in Figure 3, it is a schematic diagram of the situation in which uplink data arrives when the terminal receives a paging message during downlink data transmission based on SPS.
可选地,所述终端处于RRC inactive状态,如图2所示,处于RRC inactive状态的终端在接收到paging消息后,在进行RA流程前,有上行数据(UL data)到达,终端与基站(gNB)之间基于RA流程进行数据传输。其中,终端在RA过程中发送RRC恢复消息(RRC resumemessage);基站向所述终端发送下行数据(DL data;终端传输上行数据或者发送BSR。如图3所示,处于RRC inactive状态的终端在接收到paging消息后,在接收下行数据前,有ULdata到达,之后终端接收基站基于SPS传输的DL data;终端发送UL data。Optionally, the terminal is in an RRC inactive state. As shown in FIG2 , after receiving a paging message, uplink data (UL data) arrives before performing an RA process for the terminal in the RRC inactive state, and data is transmitted between the terminal and the base station (gNB) based on the RA process. The terminal sends an RRC resume message (RRC resumemessage) during the RA process; the base station sends downlink data (DL data) to the terminal; the terminal transmits uplink data or sends a BSR. As shown in FIG3 , after receiving a paging message, before receiving downlink data, UL data arrives for the terminal in the RRC inactive state, and then the terminal receives the DL data transmitted by the base station based on the SPS; the terminal sends UL data.
需要说明的是,本申请实施例中的上行数据和下行数据,可以为小包数据(SmallData Transmission,SDT)。It should be noted that the uplink data and downlink data in the embodiment of the present application may be small data transmission (SDT).
所述数据传输资源包括:配置授权CG资源、半持续调度SPS资源以及随机接入资源中的至少一项。网络侧设备可以为终端配置多种传输资源,终端基于当前配置的数据传输资源,确定所述上行数据和所述下行数据的数据传输模式。所述数据传输模式可以指示传输所述上行数据和所述下行数据所使用的传输资源。The data transmission resources include: at least one of configured authorized CG resources, semi-persistent scheduling SPS resources, and random access resources. The network side device can configure multiple transmission resources for the terminal, and the terminal determines the data transmission mode of the uplink data and the downlink data based on the currently configured data transmission resources. The data transmission mode can indicate the transmission resources used to transmit the uplink data and the downlink data.
步骤102、根据所述数据传输模式,传输所述下行数据和所述上行数据;Step 102: Transmit the downlink data and the uplink data according to the data transmission mode;
该实施例中,所述数据传输模式是根据所述数据传输资源确定的,因此所述数据传输模式是与当前上下行数据同时到达的场景以及当前的传输资源配置情况相匹配的。In this embodiment, the data transmission mode is determined according to the data transmission resources, so the data transmission mode matches the scenario where the current uplink and downlink data arrive simultaneously and the current transmission resource configuration.
可选地,以本申请实施例中的上下行数据均为小包数据为例,如果RRC inactive终端接收到paging指示下行小数据包到达,且上行数据满足数据包大小小于配置阈值(即上行数据也为小包数据),则终端不独立执行上行和下行小包数据传输。对于上行数据传输和下行数据传输可以均基于终端通过RRC resume消息告知网络侧设备数据传输需求或者与网络侧设备建立传输通道,实现对于上下行小包数据的联合处理,能够传输资源的降低判决条件,通过上下行数据并行处理,提高传输效率。Optionally, taking the case where both the uplink and downlink data in the embodiment of the present application are small packet data as an example, if the RRC inactive terminal receives a paging indication indicating the arrival of a small downlink data packet, and the uplink data satisfies the data packet size being less than the configured threshold (i.e., the uplink data is also a small packet data), the terminal does not independently perform uplink and downlink small packet data transmission. For both uplink and downlink data transmission, the terminal can inform the network side device of the data transmission demand through the RRC resume message or establish a transmission channel with the network side device, thereby realizing joint processing of uplink and downlink small packet data, reducing the decision conditions for transmission resources, and improving transmission efficiency through parallel processing of uplink and downlink data.
本申请的实施例,在上下行数据同时到达情况下,终端基于当前配置的数据传输资源,包括CG资源、SPS资源和随机接入资源,选择适配的数据传输模式传输上下行数据,对上行数据传输和下行数据传输联合处理,能够降低终端的数据传输时延,降低数据传输的信令开销和传输资源开销,提高传输效率。In an embodiment of the present application, when uplink and downlink data arrive at the same time, the terminal selects an adaptive data transmission mode to transmit the uplink and downlink data based on the currently configured data transmission resources, including CG resources, SPS resources and random access resources, and jointly processes the uplink data transmission and the downlink data transmission, which can reduce the data transmission delay of the terminal, reduce the signaling overhead and transmission resource overhead of the data transmission, and improve the transmission efficiency.
作为一个可选实施例,所述基于数据传输资源,确定数据传输模式,包括:As an optional embodiment, determining the data transmission mode based on the data transmission resource includes:
根据满足预设条件的数据传输资源,和/或网络侧设备指示的数据传输资源,确定所述数据传输模式。The data transmission mode is determined according to data transmission resources that meet preset conditions and/or data transmission resources indicated by a network side device.
可选地,所述预设条件包括以下至少一项:Optionally, the preset condition includes at least one of the following:
1)所述网络侧设备为所述终端配置了所述数据传输资源;1) The network side device configures the data transmission resource for the terminal;
2)所述数据传输资源可用;所述数据传输资源可用可以包括:该数据传输资源合法、该数据传输资源能够支持小包数据传输、该数据传输资源有效等。2) The data transmission resource is available; the data transmission resource being available may include: the data transmission resource is legal, the data transmission resource can support small packet data transmission, the data transmission resource is valid, etc.
3)所述数据传输资源可承载的数据量大于待传输数据包的数据量;若所述数据传输资源可承载额数据量较小,无法承载待传输的数据包,则可以在该数据传输资源上发送BSR,指示待传输数据的大小。3) The amount of data that the data transmission resource can carry is greater than the amount of data of the data packet to be transmitted; if the amount of data that the data transmission resource can carry is small and cannot carry the data packet to be transmitted, a BSR can be sent on the data transmission resource to indicate the size of the data to be transmitted.
4)所述数据传输资源进行数据传输的效率达到第一阈值,若终端利用所述数据传输资源传输数据时的效率较低,则即使配置了该数据传输资源,所述终端也可以选择不使用。4) The data transmission efficiency of the data transmission resource reaches a first threshold. If the efficiency of the terminal in transmitting data using the data transmission resource is low, the terminal may choose not to use the data transmission resource even if it is configured.
该实施例中,所述终端可以基于所述数据传输资源是否满足所述预设条件,确定进行上下行传输使用的传输资源,例如:所述网络侧设备配置了CG资源,且该CG资源可用时,终端使用该CG资源进行上行数据传输;网络侧设备配置了SPS资源且SPS资源合法可用,且SPS资源足够承载下行数据时,使用该SPS资源接收下行数据。In this embodiment, the terminal can determine the transmission resources used for uplink and downlink transmission based on whether the data transmission resources meet the preset conditions. For example: when the network side device is configured with CG resources and the CG resources are available, the terminal uses the CG resources for uplink data transmission; when the network side device is configured with SPS resources and the SPS resources are legally available, and the SPS resources are sufficient to carry downlink data, the SPS resources are used to receive downlink data.
可选地,所述数据传输资源通过寻呼消息指示。即所述网络侧设备通过寻呼消息,指示传输所述下行数据和/或所述上行数据使用的数据传输资源。Optionally, the data transmission resource is indicated by a paging message, that is, the network side device indicates the data transmission resource used for transmitting the downlink data and/or the uplink data through a paging message.
该实施例中,所述网络侧设备可以在向所述终端发送寻呼消息时,在所述寻呼消息中指示传输上下行数据的传输资源。例如:在所述寻呼消息中,所述网络侧设备指示终端基于随机接入的方式,进行下行数据接收;或者,在所述寻呼消息中,所述网络侧设备指示终端基于SPS的方式进行下行数据接收。In this embodiment, the network side device may indicate the transmission resources for transmitting uplink and downlink data in the paging message when sending the paging message to the terminal. For example: in the paging message, the network side device instructs the terminal to receive downlink data based on random access; or, in the paging message, the network side device instructs the terminal to receive downlink data based on SPS.
需要说明的是,所述网络侧设备还可以通过以其他信息或者单独发送指示信令,指示所述终端传输所述下行数据和/或所述上行数据使用的数据传输资源。It should be noted that the network side device may also instruct the terminal to use the data transmission resources for transmitting the downlink data and/or the uplink data by using other information or sending indication signaling separately.
可选地,所述数据传输模式包括:Optionally, the data transmission mode includes:
模式一:使用CG资源传输上行数据,使用SPS资源接收下行数据;Mode 1: Use CG resources to transmit uplink data and use SPS resources to receive downlink data;
模式二:使用CG资源传输上行数据,使用随机接入资源接收下行数据;Mode 2: Use CG resources to transmit uplink data and use random access resources to receive downlink data;
模式三:使用SPS资源接收下行数据,使用随机接入资源传输上行数据;Mode 3: Use SPS resources to receive downlink data and use random access resources to transmit uplink data;
模式四:使用随机接入资源传输上行数据和下行数据。Mode 4: Use random access resources to transmit uplink data and downlink data.
以所述上行数据和所述下行数据均为小包数据为例,所述数据传输模式如表1所示:Taking the case where both the uplink data and the downlink data are small packet data as an example, the data transmission mode is shown in Table 1:
表1:数据传输模式(Mode)Table 1: Data transmission mode (Mode)
由上述表1可知,在Mode1下,终端基于CG-SDT资源进行上行数据传输,基于SPS-SDT资源进行下行数据传输;在Mode2下,终端基于CG-SDT资源进行上行数据传输,基于RA-SDT资源进行下行数据传输;在Mode3下,终端基于RA-SDT资源进行上行数据传输,基于SPS-SDT资源进行下行数据传输;在Mode4下,终端基于RA-SDT资源进行上行数据传输和下行数据传输。It can be seen from Table 1 above that in Mode 1, the terminal performs uplink data transmission based on CG-SDT resources and performs downlink data transmission based on SPS-SDT resources; in Mode 2, the terminal performs uplink data transmission based on CG-SDT resources and performs downlink data transmission based on RA-SDT resources; in Mode 3, the terminal performs uplink data transmission based on RA-SDT resources and performs downlink data transmission based on SPS-SDT resources; in Mode 4, the terminal performs uplink data transmission and downlink data transmission based on RA-SDT resources.
作为一个可选实施例,所述基于数据传输资源,确定数据传输模式,包括以下至少一项:As an optional embodiment, determining the data transmission mode based on the data transmission resource includes at least one of the following:
(1)若所述CG资源和SPS资源均满足所述预设条件,则确定所述数据传输模式为模式一;(1) If both the CG resource and the SPS resource meet the preset condition, determining that the data transmission mode is mode 1;
该实施例中,以上下行数据均为小包数据为例,上行传输满足CG-SDT条件,下行传输满足SPS-SDT条件,即CG资源和SPS资源均满足传输小包数据的预设条件,则终端使用模式一进行数据传输,其中,所述模式一为:使用CG-SDT资源传输上行数据;使用SPS-SDT资源接收下行数据。In this embodiment, taking the case where both uplink and downlink data are small packet data, the uplink transmission satisfies the CG-SDT condition, and the downlink transmission satisfies the SPS-SDT condition, that is, both the CG resources and the SPS resources meet the preset conditions for transmitting small packet data, then the terminal uses mode one for data transmission, wherein mode one is: using CG-SDT resources to transmit uplink data; using SPS-SDT resources to receive downlink data.
(2)若所述CG资源和所述随机接入资源满足所述预设条件,则确定所述数据传输模式为模式二。(2) If the CG resources and the random access resources meet the preset conditions, the data transmission mode is determined to be mode 2.
该实施例中,如果CG资源满足预设条件,则使用CG资源进行上行数据传输,若SPS资源不满足所述预设条件,终端接收到寻呼消息指示有下行数据到达,则所述终端可以判断随机接入资源是否满足所述预设条件,若所述随机接入资源满足所述预设条件,则基于随机接入的方式,进行下行数据接收。In this embodiment, if the CG resources meet the preset conditions, the CG resources are used for uplink data transmission. If the SPS resources do not meet the preset conditions, and the terminal receives a paging message indicating that downlink data has arrived, the terminal can determine whether the random access resources meet the preset conditions. If the random access resources meet the preset conditions, downlink data reception is performed based on a random access method.
(3)若所述CG资源满足所述预设条件,且所述网络侧设备指示使用随机接入资源接收所述下行数据,则确定所述数据传输模式为模式二。(3) If the CG resources meet the preset conditions and the network side device instructs to use random access resources to receive the downlink data, the data transmission mode is determined to be mode 2.
该实施例中,如果CG资源满足预设条件,则使用CG资源进行上行数据传输,SPS资源不满足所述预设条件,终端接收到寻呼消息指示有下行数据到达,且所述网络侧设备通过所述寻呼消息指示终端使用随机接入的方式进行下行数据接收,则所述终端基于随机接入的方式,进行下行数据接收。In this embodiment, if the CG resources meet the preset conditions, the CG resources are used for uplink data transmission, and the SPS resources do not meet the preset conditions. The terminal receives a paging message indicating that downlink data has arrived, and the network side device instructs the terminal to use random access to receive downlink data through the paging message. Then the terminal receives the downlink data based on random access.
(4)若所述SPS资源满足所述预设条件,所述CG资源不满足所述预设条件,则确定所述数据传输模式为模式三。(4) If the SPS resources meet the preset conditions and the CG resources do not meet the preset conditions, the data transmission mode is determined to be mode three.
该实施例中,终端接收到寻呼消息,该寻呼消息指示有下行数据到达,则终端可以判断SPS资源是否满足预设条件,如果SPS资源满足所述预设条件,则基于SPS大的方式没进行下行数据接收。所述终端判断无法使用CG资源进行上行数据接收,则终端需要基于随机接入的方式,进行上行数据传输。In this embodiment, the terminal receives a paging message indicating that downlink data has arrived, and the terminal can determine whether the SPS resource meets the preset condition. If the SPS resource meets the preset condition, downlink data reception is not performed based on the SPS large method. If the terminal determines that the CG resource cannot be used for uplink data reception, the terminal needs to perform uplink data transmission based on random access.
(5)若所述网络侧设备指示使用SPS资源接收所述下行数据,且所述CG资源不满足所述预设条件,则确定所述数据传输模式为模式三。(5) If the network side device instructs to use SPS resources to receive the downlink data, and the CG resources do not meet the preset conditions, the data transmission mode is determined to be mode three.
该实施例中,终端接收到寻呼消息,该寻呼消息指示有下行数据到达,且网络侧设备通过所述寻呼消息指示终端使用基于SPS的方式进行下行数据接收。所述终端判断无法使用CG资源进行上行数据接收,则终端需要基于随机接入的方式,进行上行数据传输。In this embodiment, the terminal receives a paging message indicating that downlink data has arrived, and the network side device instructs the terminal to use the SPS-based method to receive downlink data through the paging message. If the terminal determines that the CG resource cannot be used for uplink data reception, the terminal needs to perform uplink data transmission based on random access.
(6)若所述CG资源和所述SPS资源均不满足所述预设条件,则确定所述数据传输模式为模式四。(6) If the CG resources and the SPS resources do not meet the preset conditions, the data transmission mode is determined to be mode 4.
该实施例中,若所述CG资源和所述SPS资源均不满足所述预设条件,即CG资源和所述SPS资源均不可用,则所述终端基于随机接入流程进行上行数据传输,并接收下行数据。In this embodiment, if neither the CG resource nor the SPS resource satisfies the preset condition, that is, both the CG resource and the SPS resource are unavailable, the terminal performs uplink data transmission based on a random access process and receives downlink data.
下面针对上述不同的数据传输模式进行数据传输的过程分别说明。The following describes the data transmission process for the above different data transmission modes respectively.
可选地,在所述数据传输模式为模式二的情况下,所述根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 2, transmitting the downlink data and the uplink data according to the data transmission mode includes:
在所述CG资源传输上行数据,所述上行数据中携带RRC恢复请求消息,所述RRC恢复请求消息用于指示所述终端传输所述上行数据和所述下行数据的传输需求;Transmitting uplink data on the CG resource, wherein the uplink data carries an RRC recovery request message, and the RRC recovery request message is used to indicate a transmission requirement of the terminal to transmit the uplink data and the downlink data;
基于随机接入流程确定小区无线网络临时标识C-RNTI;Determine the cell radio network temporary identifier C-RNTI based on the random access process;
基于所述C-RNTI,在下行接收窗口内接收所述下行数据。Based on the C-RNTI, the downlink data is received within a downlink receiving window.
以上行数据和下行数据均为小包数据为例,如果终端满足CG-SDT条件,且终端收到paging指示下行数据到达,终端判断使用基于随机接入的方式,做下行数据接收;或者网络指示终端使用基于随机接入的方式,做下行数据接收;Taking the case where both uplink data and downlink data are small packet data as an example, if the terminal meets the CG-SDT condition and the terminal receives paging indicating that downlink data has arrived, the terminal determines to use a random access-based method to receive downlink data; or the network instructs the terminal to use a random access-based method to receive downlink data;
具体地,终端在CG-SDT资源上传输上行数据,其中携带RRC resume request消息;Specifically, the terminal transmits uplink data on the CG-SDT resource, which carries the RRC resume request message;
如果在随机接入流程中终端没有发送msg1或者MsgA,终端终止RA-DL-SDT初始化流程;If the terminal does not send Msg1 or MsgA during the random access process, the terminal terminates the RA-DL-SDT initialization process;
终端使用CG-SDT资源发送上行数据后,开启下行接收窗,使用C-RNTI监控(monitoring)下行数据;After the terminal uses CG-SDT resources to send uplink data, it opens the downlink receiving window and uses C-RNTI to monitor the downlink data;
网络侧设备接收到CG-SDT资源的数据后,发送下行数据。After receiving the data of the CG-SDT resource, the network side device sends the downlink data.
可选地,在所述数据传输模式为模式三的情况下,所述根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode three, transmitting the downlink data and the uplink data according to the data transmission mode includes:
在所述SPS资源接收下行数据;Receiving downlink data on the SPS resource;
在所述随机接入资源中的第一随机接入资源满足所述预设条件的情况下,使用所述第一随机接入资源传输所述上行数据;When a first random access resource among the random access resources meets the preset condition, using the first random access resource to transmit the uplink data;
在所述随机接入资源中的第一随机接入资源不满足所述预设条件的情况下,在与所述SPS资源对应的下行控制信息DCI指示的物理上行共享信道PUSCH中传输所述上行数据或者缓存状态报告BSR,所述BSR用于指示所述上行数据的数据量。When the first random access resource in the random access resources does not meet the preset condition, the uplink data or the buffer status report BSR is transmitted in the physical uplink shared channel PUSCH indicated by the downlink control information DCI corresponding to the SPS resource, and the BSR is used to indicate the data amount of the uplink data.
该实施例中,以上行数据和下行数据为小包数据为例,终端收到paging指示下行数据到达,终端判断使用基于SPS的方式进行下行数据接收;或者网络侧设备指示终端使用基于SPS的方式进行下行数据接收;且终端判断不能使用CG资源,则:In this embodiment, taking the uplink data and the downlink data as small packet data as an example, the terminal receives a paging indication that downlink data has arrived, and the terminal determines to use an SPS-based method to receive downlink data; or the network side device instructs the terminal to use an SPS-based method to receive downlink data; and the terminal determines that the CG resource cannot be used, then:
终端使用SPS资源接收下行数据;The terminal uses SPS resources to receive downlink data;
终端判断是否有合法的2step RA-UL-SDT资源;如果有,终端发起上行小包传输流程;如果没有2step RA-UL-SDT资源,终端开始接收到下行数据后,在物理下行控制信道(Physical downlink control channel,PDCCH)对应的DCI指示的PUSCH中传输上行数据或者发送BSR,该DCI为SPS资源对应的调度DCI。The terminal determines whether there are legal 2-step RA-UL-SDT resources; if so, the terminal initiates the uplink packet transmission process; if there are no 2-step RA-UL-SDT resources, after the terminal starts to receive downlink data, it transmits uplink data or sends BSR in the PUSCH indicated by the DCI corresponding to the physical downlink control channel (PDCCH), and the DCI is the scheduling DCI corresponding to the SPS resource.
其中,若PDCCH(DCI)指示的PUSCH可以承载上行数据,则直接在该PUSCH上传输上行数据;若该PUSCH不足以承载所述上行数据,则在该PUSCH上传输BSR,指示待传输的上行数据的大小。If the PUSCH indicated by the PDCCH (DCI) can carry uplink data, the uplink data is directly transmitted on the PUSCH; if the PUSCH is not sufficient to carry the uplink data, a BSR is transmitted on the PUSCH to indicate the size of the uplink data to be transmitted.
可选地,在所述数据传输模式为模式四的情况下,所述根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 4, transmitting the downlink data and the uplink data according to the data transmission mode includes:
方案一:获取网络侧设备配置的通用随机接入参数,所述通用随机接入参数包括随机接入资源;Solution 1: Obtaining a general random access parameter configured by a network-side device, wherein the general random access parameter includes a random access resource;
使用所述通用随机接入参数指示的随机接入资源,传输所述上行数据和所述下行数据;Transmitting the uplink data and the downlink data using the random access resources indicated by the general random access parameters;
其中,所述通用随机接入参数是所述网络侧设备针对所述上行数据和所述下行数据同时到达的情况配置的。The general random access parameter is configured by the network side device for the situation where the uplink data and the downlink data arrive at the same time.
该实施例中,所述网络侧设备为终端配置通用随机接入参数,该通用随机接入参数是针对上行数据和下行数据同时到达的情况配置的,即该通用随机接入参数是针对上行数据和下行数据同时到达的情况的专属参数。终端使用该通入随机接入参数进行随机接入流程,发送上下行数据,所述网络侧设备在接收到该通用随机接入资源时,可以得知终端的上下行数据同时到达的执行场景。2步随机接入和4步随机接入都使用该通用随机接入参数。当终端满足触发基于RA的上行数据和下行数据传输时,终端使用上述随机接入资源发起随机接入流程。In this embodiment, the network side device configures a universal random access parameter for the terminal, and the universal random access parameter is configured for the situation where uplink data and downlink data arrive at the same time, that is, the universal random access parameter is a dedicated parameter for the situation where uplink data and downlink data arrive at the same time. The terminal uses the input random access parameter to perform a random access process and send uplink and downlink data. When the network side device receives the universal random access resource, it can know the execution scenario where the uplink and downlink data of the terminal arrive at the same time. Both 2-step random access and 4-step random access use the universal random access parameter. When the terminal meets the conditions for triggering the transmission of uplink and downlink data based on RA, the terminal uses the above-mentioned random access resources to initiate a random access process.
其中,所述通用随机接入参数可以包括:同步信号块(Synchronization Signaland PBCH block,SSB)、RA资源等,所述RA资源例前导码(preamble)、随机接入信道(RandomAccess Channel,RACH)机会(occasion)。The general random access parameters may include: synchronization signal block (Synchronization Signal and PBCH block, SSB), RA resources, etc. The RA resources may include preamble code (preamble), random access channel (Random Access Channel, RACH) opportunity (occasion).
方案二:发起随机接入流程;Solution 2: Initiate a random access process;
在所述随机接入流程的执行过程中,使用所述随机接入资源传输所述上行数据和/或所述下行数据;During the execution of the random access procedure, using the random access resource to transmit the uplink data and/or the downlink data;
其中,在所述随机接入流程的第一消息中携带RRC恢复请求消息,所述RRC恢复请求消息包括第一参数,所述第一参数用于指示所述上行数据和所述下行数据同时到达。The first message of the random access procedure carries an RRC recovery request message, and the RRC recovery request message includes a first parameter, and the first parameter is used to indicate that the uplink data and the downlink data arrive at the same time.
该实施例中,所述终端使用上行或者下行随机接入资源发起随机接入,所述第一消息可为2步随机接入的MSGA或者4步随机接入的msg3。在2步随机接入中MSGA或者4步随机接入msg3中,RRC消息指示上下行小数据包触发RRC resume request;在RRC resumerequest消息中的恢复原因(Resume Cause)中添加参数(即所述第一参数),用于指示上行数据和下行数据同时到达。In this embodiment, the terminal initiates random access using uplink or downlink random access resources, and the first message may be MSGA of 2-step random access or msg3 of 4-step random access. In MSGA of 2-step random access or msg3 of 4-step random access, the RRC message indicates that small uplink and downlink data packets trigger RRC resume request; a parameter (i.e., the first parameter) is added to the resume cause (Resume Cause) in the RRC resume request message to indicate that uplink data and downlink data arrive at the same time.
在方案二中,所述第一参数的设置位置例如:In solution 2, the setting position of the first parameter is, for example:
可选地,本发明的实施例中,以所述上行数据和所述下行数据为小包数据为例,终端基于数据传输资源,确定数据传输模式的执行流程如图4所示:Optionally, in an embodiment of the present invention, taking the uplink data and the downlink data as small packet data as an example, the terminal determines the execution flow of the data transmission mode based on the data transmission resource as shown in FIG4:
终端判断并选择RA-SDT或者CG-SDT;若CG-SDT资源可用,且SPS-SDT资源可用,则使用模式一;若CG-SDT资源可用,RA-SDT资源可用,使用模式二,终端使用CG-SDT资源发送上行数据,携带RRC恢复请求,取消RA-SDT DL流程,并接收PDCCH;若CG-SDT资源不可用,RA-SDT资源可用,且SPS-SDT资源可用,则使用模式三,执行2步随机接入流程,发起2step RA-SDT,或者,执行4步随机接入流程,接收SPS,在PDCCH(DCI)指示的PUSCH中传输上行数据或者发送BSR;若CG-SDT资源不可用且SPS-SDT资源不可用,RA-SDT资源可用,则使用模式四,执行RA-SDT DL流程,为上行数据和下行数据分别确定具体的RA资源。The terminal determines and selects RA-SDT or CG-SDT; if CG-SDT resources are available and SPS-SDT resources are available, mode one is used; if CG-SDT resources are available and RA-SDT resources are available, mode two is used, and the terminal uses CG-SDT resources to send uplink data, carry RRC recovery request, cancel RA-SDT DL process, and receive PDCCH; if CG-SDT resources are not available, RA-SDT resources are available, and SPS-SDT resources are available, mode three is used, a 2-step random access process is executed, a 2-step RA-SDT is initiated, or a 4-step random access process is executed, SPS is received, and uplink data is transmitted or BSR is sent in the PUSCH indicated by PDCCH (DCI); if CG-SDT resources are not available and SPS-SDT resources are not available, and RA-SDT resources are available, mode four is used, the RA-SDT DL process is executed, and specific RA resources are determined for uplink data and downlink data respectively.
本申请的实施例,在上下行数据同时到达情况下,终端基于当前配置的数据传输资源,包括CG资源、SPS资源和随机接入资源,选择适配的数据传输模式传输上下行数据,对上行数据传输和下行数据传输联合处理,能够降低终端的数据传输时延,降低数据传输的信令开销和传输资源开销,提高传输效率。In an embodiment of the present application, when uplink and downlink data arrive at the same time, the terminal selects an adaptive data transmission mode to transmit the uplink and downlink data based on the currently configured data transmission resources, including CG resources, SPS resources and random access resources, and jointly processes the uplink data transmission and the downlink data transmission, which can reduce the data transmission delay of the terminal, reduce the signaling overhead and transmission resource overhead of the data transmission, and improve the transmission efficiency.
如图5所示,本发明实施例还提供一种数据传输装置500,包括:As shown in FIG. 5 , an embodiment of the present invention further provides a data transmission device 500, including:
第一确定模块510,用于在下行数据和上行数据同时到达的情况下,基于数据传输资源,确定数据传输模式;A first determination module 510 is used to determine a data transmission mode based on data transmission resources when downlink data and uplink data arrive at the same time;
第一传输模块520,用于根据所述数据传输模式,传输所述下行数据和所述上行数据;A first transmission module 520, configured to transmit the downlink data and the uplink data according to the data transmission mode;
其中,所述数据传输资源包括:配置授权CG资源、半持续调度SPS资源以及随机接入资源中的至少一项。The data transmission resources include: at least one of configured authorized CG resources, semi-persistent scheduling SPS resources and random access resources.
可选地,所述第一确定模块具体用于:Optionally, the first determining module is specifically configured to:
根据满足预设条件的数据传输资源,和/或网络侧设备指示的数据传输资源,确定所述数据传输模式。The data transmission mode is determined according to data transmission resources that meet preset conditions and/or data transmission resources indicated by a network side device.
可选地,所述数据传输资源通过寻呼消息指示。Optionally, the data transmission resource is indicated by a paging message.
可选地,所述数据传输模式包括:Optionally, the data transmission mode includes:
模式一:使用CG资源传输上行数据,使用SPS资源接收下行数据;Mode 1: Use CG resources to transmit uplink data and use SPS resources to receive downlink data;
模式二:使用CG资源传输上行数据,使用随机接入资源接收下行数据;Mode 2: Use CG resources to transmit uplink data and use random access resources to receive downlink data;
模式三:使用SPS资源接收下行数据,使用随机接入资源传输上行数据;Mode 3: Use SPS resources to receive downlink data and use random access resources to transmit uplink data;
模式四:使用随机接入资源传输上行数据和下行数据。Mode 4: Use random access resources to transmit uplink data and downlink data.
可选地,所述第一确定模块用于执行以下至少一项操作:Optionally, the first determining module is used to perform at least one of the following operations:
若所述CG资源和SPS资源均满足预设条件,则确定所述数据传输模式为模式一;If both the CG resource and the SPS resource meet the preset conditions, determining that the data transmission mode is mode 1;
若所述CG资源和所述随机接入资源均满足预设条件,则确定所述数据传输模式为模式二;If both the CG resource and the random access resource meet the preset conditions, determining that the data transmission mode is mode 2;
若所述CG资源满足预设条件,且所述网络侧设备指示使用随机接入资源接收所述下行数据,则确定所述数据传输模式为模式二;If the CG resource meets the preset condition and the network side device indicates to use the random access resource to receive the downlink data, then determining that the data transmission mode is mode 2;
若所述SPS资源满足预设条件,所述CG资源不满足所述预设条件,则确定所述数据传输模式为模式三;If the SPS resource meets the preset condition, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode 3;
若所述网络侧设备指示使用SPS资源接收所述下行数据,且所述CG资源不满足预设条件,则确定所述数据传输模式为模式三;If the network side device indicates to use the SPS resource to receive the downlink data, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode three;
若所述CG资源和所述SPS资源均不满足预设条件,则确定所述数据传输模式为模式四。If neither the CG resources nor the SPS resources meet the preset conditions, the data transmission mode is determined to be mode four.
可选地,所述预设条件包括以下至少一项:Optionally, the preset condition includes at least one of the following:
所述网络侧设备为所述终端配置了所述数据传输资源;The network side device configures the data transmission resource for the terminal;
所述数据传输资源可用;The data transmission resource is available;
所述数据传输资源可承载的数据量大于待传输数据包的数据量;The amount of data that can be carried by the data transmission resource is greater than the amount of data packets to be transmitted;
所述数据传输资源进行数据传输的效率达到第一阈值。The efficiency of the data transmission resource in performing data transmission reaches a first threshold.
可选地,在所述数据传输模式为模式二的情况下,所述第一传输模块具体用于:Optionally, when the data transmission mode is mode 2, the first transmission module is specifically configured to:
在所述CG资源传输上行数据,所述上行数据中携带RRC恢复请求消息,所述RRC恢复请求消息用于指示所述终端传输所述上行数据和所述下行数据的传输需求;Transmitting uplink data on the CG resource, wherein the uplink data carries an RRC recovery request message, and the RRC recovery request message is used to indicate a transmission requirement of the terminal to transmit the uplink data and the downlink data;
基于随机接入流程确定小区无线网络临时标识C-RNTI;Determine the cell radio network temporary identifier C-RNTI based on the random access process;
基于所述C-RNTI,在下行接收窗口内接收所述下行数据。Based on the C-RNTI, the downlink data is received within a downlink receiving window.
可选地,在所述数据传输模式为模式三的情况下,所述第一传输模块具体用于:Optionally, when the data transmission mode is mode three, the first transmission module is specifically configured to:
在所述SPS资源接收下行数据;Receiving downlink data on the SPS resource;
在所述随机接入资源中的第一随机接入资源满足所述预设条件的情况下,使用所述第一随机接入资源传输所述上行数据;When a first random access resource among the random access resources meets the preset condition, using the first random access resource to transmit the uplink data;
在所述随机接入资源中的第一随机接入资源不满足所述预设条件的情况下,在与所述SPS资源对应的下行控制信息DCI指示的物理上行共享信道PUSCH中传输所述上行数据或者缓存状态报告BSR,所述BSR用于指示所述上行数据的数据量。When the first random access resource in the random access resources does not meet the preset condition, the uplink data or the buffer status report BSR is transmitted in the physical uplink shared channel PUSCH indicated by the downlink control information DCI corresponding to the SPS resource, and the BSR is used to indicate the data amount of the uplink data.
可选地,在所述数据传输模式为模式四的情况下,所述第一传输模块具体用于:Optionally, when the data transmission mode is mode 4, the first transmission module is specifically configured to:
获取网络侧设备配置的通用随机接入参数,所述通用随机接入参数包括随机接入资源;Acquire a general random access parameter configured by a network side device, wherein the general random access parameter includes a random access resource;
使用所述通用随机接入参数指示的随机接入资源,传输所述上行数据和所述下行数据;Transmitting the uplink data and the downlink data using the random access resources indicated by the general random access parameters;
其中,所述通用随机接入参数是所述网络侧设备针对所述上行数据和所述下行数据同时到达的情况配置的。The general random access parameter is configured by the network side device for the situation where the uplink data and the downlink data arrive at the same time.
可选地,在所述数据传输模式为模式四的情况下,所述第一传输模块具体用于:Optionally, when the data transmission mode is mode 4, the first transmission module is specifically configured to:
发起随机接入流程;Initiate a random access procedure;
在所述随机接入流程的执行过程中,使用所述随机接入资源传输所述上行数据和/或所述下行数据;During the execution of the random access procedure, using the random access resource to transmit the uplink data and/or the downlink data;
其中,在所述随机接入流程的第一消息中携带RRC恢复请求消息,所述RRC恢复请求消息包括第一参数,所述第一参数用于指示所述上行数据和所述下行数据同时到达。The first message of the random access procedure carries an RRC recovery request message, and the RRC recovery request message includes a first parameter, and the first parameter is used to indicate that the uplink data and the downlink data arrive at the same time.
在此需要说明的是,本发明实施例提供的装置,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted here that the device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.
如图6所示,本发明实施例的一种终端600,包括处理器610和收发器620,其中,As shown in FIG6 , a terminal 600 according to an embodiment of the present invention includes a processor 610 and a transceiver 620 , wherein:
所述处理器610用于:在下行数据和上行数据同时到达的情况下,基于数据传输资源,确定数据传输模式;The processor 610 is configured to: determine a data transmission mode based on data transmission resources when downlink data and uplink data arrive at the same time;
所述收发器620用于:根据所述数据传输模式,传输所述下行数据和所述上行数据;The transceiver 620 is used to: transmit the downlink data and the uplink data according to the data transmission mode;
其中,所述数据传输资源包括:配置授权CG资源、半持续调度SPS资源以及随机接入资源中的至少一项。The data transmission resources include: at least one of configured authorized CG resources, semi-persistent scheduling SPS resources and random access resources.
可选地,所述处理器基于数据传输资源,确定数据传输模式,包括:Optionally, the processor determines the data transmission mode based on the data transmission resource, including:
根据满足预设条件的数据传输资源,和/或网络侧设备指示的数据传输资源,确定所述数据传输模式。The data transmission mode is determined according to data transmission resources that meet preset conditions and/or data transmission resources indicated by a network side device.
可选地,所述数据传输资源通过寻呼消息指示。Optionally, the data transmission resource is indicated by a paging message.
可选地,所述数据传输模式包括:Optionally, the data transmission mode includes:
模式一:使用CG资源传输上行数据,使用SPS资源接收下行数据;Mode 1: Use CG resources to transmit uplink data and use SPS resources to receive downlink data;
模式二:使用CG资源传输上行数据,使用随机接入资源接收下行数据;Mode 2: Use CG resources to transmit uplink data and use random access resources to receive downlink data;
模式三:使用SPS资源接收下行数据,使用随机接入资源传输上行数据;Mode 3: Use SPS resources to receive downlink data and use random access resources to transmit uplink data;
模式四:使用随机接入资源传输上行数据和下行数据。Mode 4: Use random access resources to transmit uplink data and downlink data.
可选地,所述处理器基于数据传输资源,确定数据传输模式,包括以下至少一项:Optionally, the processor determines the data transmission mode based on the data transmission resource, including at least one of the following:
若所述CG资源和SPS资源均满足预设条件,则确定所述数据传输模式为模式一;If both the CG resource and the SPS resource meet the preset conditions, determining that the data transmission mode is mode 1;
若所述CG资源和所述随机接入资源均满足预设条件,则确定所述数据传输模式为模式二;If both the CG resource and the random access resource meet the preset conditions, determining that the data transmission mode is mode 2;
若所述CG资源满足预设条件,且所述网络侧设备指示使用随机接入资源接收所述下行数据,则确定所述数据传输模式为模式二;If the CG resource meets the preset condition and the network side device indicates to use the random access resource to receive the downlink data, then determining that the data transmission mode is mode 2;
若所述SPS资源满足预设条件,所述CG资源不满足所述预设条件,则确定所述数据传输模式为模式三;If the SPS resource meets the preset condition, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode 3;
若所述网络侧设备指示使用SPS资源接收所述下行数据,且所述CG资源不满足预设条件,则确定所述数据传输模式为模式三;If the network side device indicates to use the SPS resource to receive the downlink data, and the CG resource does not meet the preset condition, determining that the data transmission mode is mode three;
若所述CG资源和所述SPS资源均不满足预设条件,则确定所述数据传输模式为模式四。If neither the CG resources nor the SPS resources meet the preset conditions, the data transmission mode is determined to be mode four.
可选地,所述预设条件包括以下至少一项:Optionally, the preset condition includes at least one of the following:
所述网络侧设备为所述终端配置了所述数据传输资源;The network side device configures the data transmission resource for the terminal;
所述数据传输资源可用;The data transmission resource is available;
所述数据传输资源可承载的数据量大于待传输数据包的数据量;The amount of data that can be carried by the data transmission resource is greater than the amount of data packets to be transmitted;
所述数据传输资源进行数据传输的效率达到第一阈值。The efficiency of the data transmission resource in performing data transmission reaches a first threshold.
可选地,在所述数据传输模式为模式二的情况下,所述收发器根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 2, the transceiver transmits the downlink data and the uplink data according to the data transmission mode, including:
在所述CG资源传输上行数据,所述上行数据中携带RRC恢复请求消息,所述RRC恢复请求消息用于指示所述终端传输所述上行数据和所述下行数据的传输需求;Transmitting uplink data on the CG resource, wherein the uplink data carries an RRC recovery request message, and the RRC recovery request message is used to indicate a transmission requirement of the terminal to transmit the uplink data and the downlink data;
基于随机接入流程确定小区无线网络临时标识C-RNTI;Determine the cell radio network temporary identifier C-RNTI based on the random access process;
基于所述C-RNTI,在下行接收窗口内接收所述下行数据。Based on the C-RNTI, the downlink data is received within a downlink receiving window.
可选地,在所述数据传输模式为模式三的情况下,所述收发器根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode three, the transceiver transmits the downlink data and the uplink data according to the data transmission mode, including:
在所述SPS资源接收下行数据;Receiving downlink data on the SPS resource;
在所述随机接入资源中的第一随机接入资源满足所述预设条件的情况下,使用所述第一随机接入资源传输所述上行数据;When a first random access resource among the random access resources meets the preset condition, using the first random access resource to transmit the uplink data;
在所述随机接入资源中的第一随机接入资源不满足所述预设条件的情况下,在与所述SPS资源对应的下行控制信息DCI指示的物理上行共享信道PUSCH中传输所述上行数据或者缓存状态报告BSR,所述BSR用于指示所述上行数据的数据量。When the first random access resource in the random access resources does not meet the preset condition, the uplink data or the buffer status report BSR is transmitted in the physical uplink shared channel PUSCH indicated by the downlink control information DCI corresponding to the SPS resource, and the BSR is used to indicate the data amount of the uplink data.
可选地,在所述数据传输模式为模式四的情况下,所述收发器根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 4, the transceiver transmits the downlink data and the uplink data according to the data transmission mode, including:
获取网络侧设备配置的通用随机接入参数,所述通用随机接入参数包括随机接入资源;Acquire a general random access parameter configured by a network side device, wherein the general random access parameter includes a random access resource;
使用所述通用随机接入参数指示的随机接入资源,传输所述上行数据和所述下行数据;Transmitting the uplink data and the downlink data using the random access resources indicated by the general random access parameters;
其中,所述通用随机接入参数是所述网络侧设备针对所述上行数据和所述下行数据同时到达的情况配置的。The general random access parameter is configured by the network side device for the situation where the uplink data and the downlink data arrive at the same time.
可选地,在所述数据传输模式为模式四的情况下,所述收发器根据所述数据传输模式,传输所述下行数据和所述上行数据,包括:Optionally, when the data transmission mode is mode 4, the transceiver transmits the downlink data and the uplink data according to the data transmission mode, including:
发起随机接入流程;Initiate a random access procedure;
在所述随机接入流程的执行过程中,使用所述随机接入资源传输所述上行数据和/或所述下行数据;During the execution of the random access procedure, using the random access resource to transmit the uplink data and/or the downlink data;
其中,在所述随机接入流程的第一消息中携带RRC恢复请求消息,所述RRC恢复请求消息包括第一参数,所述第一参数用于指示所述上行数据和所述下行数据同时到达。The first message of the random access procedure carries an RRC recovery request message, and the RRC recovery request message includes a first parameter, and the first parameter is used to indicate that the uplink data and the downlink data arrive at the same time.
需要说明的是,本发明实施例提供的上述终端,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted that the above-mentioned terminal provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
本发明另一实施例的终端,包括收发器、处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令;所述处理器执行所述程序或指令时实现上述数据传输方法。A terminal according to another embodiment of the present invention includes a transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; the above-mentioned data transmission method is implemented when the processor executes the program or instruction.
本发明实施例的一种可读存储介质,其上存储有程序或指令,所述程序或指令被处理器执行时实现如上所述的数据传输方法中的步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。A readable storage medium according to an embodiment of the present invention stores a program or instruction thereon. When the program or instruction is executed by a processor, the steps in the data transmission method described above are implemented and the same technical effect can be achieved. To avoid repetition, it will not be described here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
进一步需要说明的是,此说明书中所描述的电子设备包括但不限于智能手机、平板电脑等,且所描述的许多功能部件都被称为模块,以便更加特别地强调其实现方式的独立性。It should be further explained that the electronic devices described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.
本发明实施例中,模块可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位里上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。In the embodiment of the present invention, the module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.
实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.
在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所以可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成(VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.
上述范例性实施例是参考该些附图来描述的,许多不同的形式和实施例是可行而不偏离本发明精神及教示,因此,本发明不应被建构成为在此所提出范例性实施例的限制。更确切地说,这些范例性实施例被提供以使得本发明会是完善又完整,且会将本发明范围传达给那些熟知此项技术的人士。在该些图式中,组件尺寸及相对尺寸也许基于清晰起见而被夸大。在此所使用的术语只是基于描述特定范例性实施例目的,并无意成为限制用。如在此所使用地,除非该内文清楚地另有所指,否则该单数形式“一”、“一个”和“该”是意欲将该些多个形式也纳入。会进一步了解到该些术语“包含”及/或“包括”在使用于本说明书时,表示所述特征、整数、步骤、操作、构件及/或组件的存在,但不排除一或更多其它特征、整数、步骤、操作、构件、组件及/或其族群的存在或增加。除非另有所示,陈述时,一值范围包含该范围的上下限及其间的任何子范围。The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present invention. Therefore, the present invention should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present invention will be perfect and complete, and the scope of the present invention will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "including" and/or "comprising" when used in this specification indicate the presence of the features, integers, steps, operations, components and/or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and/or their groups. Unless otherwise indicated, when stated, a range of values includes the upper and lower limits of that range and any subranges therebetween.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims (14)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210440863.5A CN117015046A (en) | 2022-04-25 | 2022-04-25 | Data transmission method, device and terminal |
PCT/CN2023/090530 WO2023207955A1 (en) | 2022-04-25 | 2023-04-25 | Data transmission method and apparatus, and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210440863.5A CN117015046A (en) | 2022-04-25 | 2022-04-25 | Data transmission method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117015046A true CN117015046A (en) | 2023-11-07 |
Family
ID=88517725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210440863.5A Pending CN117015046A (en) | 2022-04-25 | 2022-04-25 | Data transmission method, device and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117015046A (en) |
WO (1) | WO2023207955A1 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109728882B (en) * | 2017-10-31 | 2021-08-03 | 普天信息技术有限公司 | Method and device for solving uplink channel resource conflict |
CN112218391A (en) * | 2019-07-12 | 2021-01-12 | 普天信息技术有限公司 | Data transmission method, network side equipment and mobile terminal |
CN113647166A (en) * | 2019-08-09 | 2021-11-12 | Oppo广东移动通信有限公司 | Data transmission method, network equipment and user equipment |
CN114258159B (en) * | 2020-09-21 | 2024-06-25 | 大唐移动通信设备有限公司 | Small data configuration method, device, equipment and storage medium |
-
2022
- 2022-04-25 CN CN202210440863.5A patent/CN117015046A/en active Pending
-
2023
- 2023-04-25 WO PCT/CN2023/090530 patent/WO2023207955A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
WO2023207955A1 (en) | 2023-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11889577B2 (en) | Methods for handling periodic radio access network notification area (RNA) update configuration upon reject | |
EP3445125B1 (en) | Uplink data transmission method and device | |
JP5864617B2 (en) | Method for short message transmission with reduced overhead | |
CN104349308B (en) | Method for distributing wireless network temporary identification in double connection, communication device and network terminal | |
JP6726767B2 (en) | Paging detection window | |
US10869328B2 (en) | Data transmission method, terminal device, and network device | |
CN110859011A (en) | Communication method and related equipment | |
CN110035501B (en) | Communication method and device | |
JP2014204435A (en) | Method and device for enhancing small cell in radio communication system | |
EP3373685A1 (en) | Method and device for sending and receiving feedback | |
CN106488576B (en) | Apparatus and method for handling scheduling request transmission | |
CN104303568B (en) | Method and device for transmitting scheduling signaling | |
CN102316582A (en) | Uplink resource allocation method and system | |
CN101931995A (en) | Method for Optimizing Random Access Channel and Related Communication Device | |
KR20200100107A (en) | Wireless communication method and device | |
CN115665882A (en) | Method and system for transmitting temporary identifier | |
US11297663B2 (en) | Device and method of handling a radio network temporary identifier | |
CN108810927B (en) | Method and system for processing a scheduling request | |
CN107770795B (en) | Method and device for deactivating secondary cell in cross-base-station carrier aggregation system | |
TWI672067B (en) | Device and method of handling a scheduling request | |
CN110710307B (en) | Method for reducing access delay and user equipment thereof | |
CN117015046A (en) | Data transmission method, device and terminal | |
EP3606181B1 (en) | Method for terminal device to access network and terminal device | |
WO2022151239A1 (en) | Method and apparatus for data transmission processing | |
WO2021109041A1 (en) | Random access method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |